Hello community, here is the log from the commit of package autossh for openSUSE:Factory checked in at 2019-03-29 20:42:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autossh (Old) and /work/SRC/openSUSE:Factory/.autossh.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autossh" Fri Mar 29 20:42:48 2019 rev:15 rq:689491 version:1.4g Changes: -------- --- /work/SRC/openSUSE:Factory/autossh/autossh.changes 2018-10-17 08:42:37.409793569 +0200 +++ /work/SRC/openSUSE:Factory/.autossh.new.25356/autossh.changes 2019-03-29 20:42:49.610677948 +0100 @@ -1,0 +2,14 @@ +Thu Mar 28 21:29:41 UTC 2019 - Greg Freemyer <[email protected]> + +- Update to version 1.4g + + most notably addresses a bug that could see an alarm signal occur + without a handler, causing autossh to exit inappropriately. + +------------------------------------------------------------------- +Sun Mar 17 14:12:50 UTC 2019 - Jan Engelhardt <[email protected]> + +- Remove pre-12.2 parts from build recipe +- Reduce hard dependency on systemd +- Replace old $RPM_* shell vars and %__-type macro indirections. + +------------------------------------------------------------------- Old: ---- autossh-1.4f.tgz New: ---- autossh-1.4g.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autossh.spec ++++++ --- /var/tmp/diff_new_pack.MMR0aD/_old 2019-03-29 20:42:50.218677930 +0100 +++ /var/tmp/diff_new_pack.MMR0aD/_new 2019-03-29 20:42:50.222677929 +0100 @@ -1,7 +1,7 @@ # # spec file for package autossh # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,21 +21,17 @@ %define _fillupdir /var/adm/fillup-templates %endif -%if 0%{?suse_version} > 1220 %define with_systemd 1 -%else -%define with_systemd 0 -%endif Summary: Automatically restart SSH sessions and tunnels License: BSD-3-Clause Group: Productivity/Networking/SSH Name: autossh -Version: 1.4f +Version: 1.4g Release: 0 -Url: http://www.harding.motd.ca/autossh/ -Source: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz +URL: https://www.harding.motd.ca/autossh/ +Source: https://www.harding.motd.ca/autossh/%{name}-%{version}.tgz Source1: autossh.init Source2: autossh.conf Source3: autossh.service @@ -46,12 +42,8 @@ # configure checks is the ssh client exists BuildRequires: openssh Requires: openssh -%if %{with_systemd} -BuildRequires: systemd -%{?systemd_requires} -%else -Requires(pre): %fillup_prereq %insserv_prereq -%endif +BuildRequires: systemd-rpm-macros +%{?systemd_ordering} %description Autossh is a program to start a copy of ssh and monitor it, restarting @@ -69,55 +61,34 @@ %build %configure -%__make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install %makeinstall -%__mkdir_p %{buildroot}%{_sbindir} -%if %{with_systemd} -%__install -D -m 444 %{S:3} %{buildroot}%{_unitdir}/[email protected] -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcautossh -%else -%__install -D -m 755 %{S:1} %{buildroot}%{_initrddir}/autossh -%__ln_s -f %{_initrddir}/autossh %{buildroot}%{_sbindir}/rcautossh -%__install -D -m 644 %{S:2} %{buildroot}%{_fillupdir}/sysconfig.autossh -%endif -%__rm "$RPM_BUILD_ROOT/usr/share/doc/autossh"/{CHANGES,README} -%__rm -rf "%{buildroot}%{_datadir}/examples" +mkdir -p %{buildroot}/%{_sbindir} +install -D -m 444 %{S:3} %{buildroot}/%{_unitdir}/[email protected] +ln -s /usr/sbin/service %{buildroot}/%{_sbindir}/rcautossh +rm "%buildroot/%{_datadir}/doc/autossh"/{CHANGES,README} +rm -rf "%{buildroot}/%{_datadir}/examples" -%if %{with_systemd} %pre %service_add_pre %{name}.service %preun %service_del_preun %{name}.service -%endif %post -%if %{with_systemd} %service_add_post %{name}.service -%else -%fillup_only -%endif %postun -%if %{with_systemd} %service_del_postun %{name}.service -%else -%insserv_cleanup -%endif %files %defattr(-, root, root, 0755) %doc CHANGES README README.SUSE.md my.conf %doc autossh.host rscreen %{_bindir}/autossh -%if %{with_systemd} %{_unitdir}/%{name}@.service -%else -%{_initrddir}/autossh -%{_fillupdir}/sysconfig.autossh -%endif %{_sbindir}/rcautossh %doc %{_mandir}/man1/autossh.1*
