From: areq Date: Thu, 21 Nov 2002 12:52:11 +0000 (+0000) Subject: - init PLD spec X-Git-Tag: auto/th/autossh-1_4b-1~16 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?p=packages%2Fautossh.git;a=commitdiff_plain;h=6170e6df121fd6179b48819dd0ee9ab1f8aa4e0c - init PLD spec Changed files: autossh.spec -> 1.1 --- 6170e6df121fd6179b48819dd0ee9ab1f8aa4e0c diff --git a/autossh.spec b/autossh.spec new file mode 100644 index 0000000..2b15dfc --- /dev/null +++ b/autossh.spec @@ -0,0 +1,43 @@ +Summary: Automatically restart SSH sessions and tunnels +Summary(pl): Automatyczny restart sesji i tuneli SSH +Name: autossh +Version: 1.2b +Release: 1 +License: GPL +Group: Applications/Networking +Vendor: Carson Harding +Source0: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz +URL: http://www.harding.motd.ca/autossh/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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. The author's view is that it is not as fiddly as rstunnel to get +to work. Connection monitoring using a loop of port forwardings. Backs +off on rate of connection attempts when experiencing rapid failures +such as connection refused. Compiled and tested on OpenBSD, Linux, and +Solaris; should work fine on other BSDs (except Mac OS 10). + +%prep +%setup -q -n %{name}-%{version} + +%build +%{__make} -f Makefile.linux + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install autossh $RPM_BUILD_ROOT%{_bindir} +install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README CHANGES autossh.host rscreen +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*