%define subrel 1 Summary: Automatically restart SSH sessions and tunnels Name: autossh Version: 1.4b Release: %mkrel 4 License: BSD Group: Networking/Other URL: http://www.harding.motd.ca/autossh/ Source: %{name}-%{version}.tar.bz2 BuildRequires: openssh-clients Requires: openssh BuildRoot: %{_tmppath}/%{name}-root %description autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The idea and the mechanism are from rstunnel (Reliable SSH Tunnel), but implemented in C. %prep %setup -q %build chmod 644 autossh.host rscreen %configure2_5x %make %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -m755 autossh %{buildroot}%{_bindir}/ install -m644 autossh.1 %{buildroot}%{_mandir}/man1/ %clean rm -rf %{buildroot} %files %defattr (-,root,root) %doc CHANGES README autossh.host rscreen %{_bindir}/autossh %{_mandir}/man1/autossh.1* %changelog * Tue Dec 20 2011 shlomif <shlomif> 1.4b-4.1.mga1 + Revision: 184770 - Convert to rel4-subrel1 instead of rel5 (stable update) - Making autossh a Mageia 1 update per mgabug #1049 . Apparently, the version on MDV-2010.2 is higher. * Wed Jun 15 2011 kharec <kharec> 1.4b-5.mga2 + Revision: 107970 - fix https://bugs.mageia.org/show_bug.cgi?id=1049#c3 * Wed Jun 15 2011 kharec <kharec> 1.4b-1.mga2 + Revision: 107704 - imported package autossh