]>
Commit | Line | Data |
---|---|---|
6170e6df | 1 | Summary: Automatically restart SSH sessions and tunnels |
2 | Summary(pl): Automatyczny restart sesji i tuneli SSH | |
3 | Name: autossh | |
4 | Version: 1.2b | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Networking | |
8 | Vendor: Carson Harding <carson.harding@shaw.ca> | |
9 | Source0: http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz | |
10 | URL: http://www.harding.motd.ca/autossh/ | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Autossh is a program to start a copy of ssh and monitor it, restarting | |
15 | it as necessary should it die or stop passing traffic. The idea and | |
16 | the mechanism are from rstunnel (Reliable SSH Tunnel), but implemented | |
17 | in C. The author's view is that it is not as fiddly as rstunnel to get | |
18 | to work. Connection monitoring using a loop of port forwardings. Backs | |
19 | off on rate of connection attempts when experiencing rapid failures | |
20 | such as connection refused. Compiled and tested on OpenBSD, Linux, and | |
21 | Solaris; should work fine on other BSDs (except Mac OS 10). | |
22 | ||
23 | %prep | |
24 | %setup -q -n %{name}-%{version} | |
25 | ||
26 | %build | |
27 | %{__make} -f Makefile.linux | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
32 | ||
33 | install autossh $RPM_BUILD_ROOT%{_bindir} | |
34 | install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc README CHANGES autossh.host rscreen | |
42 | %attr(755,root,root) %{_bindir}/* | |
43 | %{_mandir}/man1/* |