Summary: Utility to autorestart SSH tunnels Name: autossh Version: 1.4e Release: 1 License: BSD Group: Applications/Internet URL: http://www.harding.motd.ca/autossh/index.html Source0: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz Source1: http://www.harding.motd.ca/autossh/%{name}-%{version}.cksums Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description autossh is a utility to start and monitor an ssh tunnel. If the tunnel dies or stops passing traffic, autossh will automatically restart it. %prep %setup -q %patch0 %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 mkdir -p examples cp -p autossh.host rscreen examples chmod 0644 examples/* cp autossh ${RPM_BUILD_ROOT}%{_bindir} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cp -p autossh.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc CHANGES README %doc examples %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Wed Aug 26 2015 Michael Perzl - 1.4e-1 - updated to version 1.4e * Mon Nov 10 2014 Michael Perzl - 1.4d-2 - fixed wrong dependency on package '/usr/bin/ssh' * Thu Sep 18 2014 Michael Perzl - 1.4d-1 - updated to version 1.4d * Sun Oct 16 2011 Michael Perzl - 1.4c-1 - first version for AIX V5.1 and higher