Accepting request 642238 from security

- Update to version 1.4f
  + Change behavior when ssh exits on signal.
  + Fix order of arguments to kill().
  + Ignore SIGPIPE. 
  + Should accept the default -1 with AUTOSSH_MAXSTART
  + memset() sigaction structure before use
- autossh-makefile-destdir.patch: dropped

OBS-URL: https://build.opensuse.org/request/show/642238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autossh?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-10-17 06:41:38 +00:00 committed by Git OBS Bridge
commit f66c9c3a1a
5 changed files with 16 additions and 44 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e8e10a59d7619176f4b986e256f776097a364d1be012781ea52e08d04679156
size 65852

3
autossh-1.4f.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0172e5e1bea40c642e0ef025334be3aadd4ff3b4d62c0b177ed88a8384e2f8f2
size 67128

View File

@ -1,37 +0,0 @@
diff -ur autossh-1.4b.old//Makefile.in autossh-1.4b/Makefile.in
--- autossh-1.4b.old//Makefile.in 2008-04-11 22:47:46.000000000 +0200
+++ autossh-1.4b/Makefile.in 2009-02-17 07:52:31.288053336 +0100
@@ -45,18 +45,18 @@
- /bin/rm -f Makefile
install: $(TARGET)
- mkdir -p -m 755 $(bindir)
- mkdir -p -m 755 $(prefix)/share/doc/autossh
- mkdir -p -m 755 $(datadir)/examples/autossh
- mkdir -p -m 755 $(mandir)/man1
- cp $(TARGET) $(bindir)
- cp CHANGES README $(datadir)/doc/autossh
- cp autossh.host $(datadir)/examples/autossh
- cp rscreen $(datadir)/examples/autossh
- cp autossh.1 $(mandir)/man1
- chmod 755 $(bindir)/$(TARGET)
- chmod 644 $(datadir)/doc/autossh/CHANGES
- chmod 644 $(datadir)/doc/autossh/README
- chmod 644 $(datadir)/examples/autossh/autossh.host
- chmod 644 $(datadir)/examples/autossh/rscreen
- chmod 644 $(mandir)/man1/autossh.1
+ mkdir -p -m 755 $(DESTDIR)$(bindir)
+ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
+ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
+ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
+ cp $(TARGET) $(DESTDIR)$(bindir)
+ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
+ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
+ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
+ cp autossh.1 $(DESTDIR)$(mandir)/man1
+ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
+ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
+ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
+ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
+ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
+ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 15 02:59:43 UTC 2018 - sean@suspend.net
- Update to version 1.4f
+ Change behavior when ssh exits on signal.
+ Fix order of arguments to kill().
+ Ignore SIGPIPE.
+ Should accept the default -1 with AUTOSSH_MAXSTART
+ memset() sigaction structure before use
- autossh-makefile-destdir.patch: dropped
-------------------------------------------------------------------
Thu Nov 23 13:44:07 UTC 2017 - rbrown@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package autossh
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -32,7 +32,7 @@ License: BSD-3-Clause
Group: Productivity/Networking/SSH
Name: autossh
Version: 1.4e
Version: 1.4f
Release: 0
Url: http://www.harding.motd.ca/autossh/
Source: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz
@ -41,7 +41,6 @@ Source2: autossh.conf
Source3: autossh.service
Source4: my.conf
Source5: README.SUSE.md
Patch0: autossh-makefile-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# configure checks is the ssh client exists
@ -65,7 +64,6 @@ such as connection refused.
%prep
%setup
%patch0 -p1
cp %{S:4} .
cp %{S:5} .