]>
Commit | Line | Data |
---|---|---|
6170e6df | 1 | Summary: Automatically restart SSH sessions and tunnels |
b5c992f4 | 2 | Summary(pl.UTF-8): Automatyczny restart sesji i tuneli SSH |
6170e6df | 3 | Name: autossh |
3a9f4958 | 4 | Version: 1.4b |
6170e6df | 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 | |
3a9f4958 | 10 | # Source0-md5: 8f9aa006f6f69e912d3c2f504622d6f7 |
6170e6df | 11 | URL: http://www.harding.motd.ca/autossh/ |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Autossh is a program to start a copy of ssh and monitor it, restarting | |
16 | it as necessary should it die or stop passing traffic. The idea and | |
17 | the mechanism are from rstunnel (Reliable SSH Tunnel), but implemented | |
18 | in C. The author's view is that it is not as fiddly as rstunnel to get | |
19 | to work. Connection monitoring using a loop of port forwardings. Backs | |
20 | off on rate of connection attempts when experiencing rapid failures | |
21 | such as connection refused. Compiled and tested on OpenBSD, Linux, and | |
22 | Solaris; should work fine on other BSDs (except Mac OS 10). | |
23 | ||
71ce230d JR |
24 | %description -l pl.UTF-8 |
25 | autossh jest programem uruchamiającym kopię ssh i monitorującym ją, | |
26 | restartując w miarę potrzeby, jeśli umrze lub przestanie przekazywać | |
27 | ruch. Idea i mechanizm pochodzą z rstunnela (Reliable SSH Tunnel), ale | |
28 | zaimplementowano je w C. Według autora nie trzeba się tak patyczkować, | |
29 | jak z rstunnelem, aby go uruchomić. Monitorowanie połączenia używa | |
30 | pętli przekazywania portów. Częstotliwość prób połączeń jest | |
31 | zmniejszana w przypadku napotkania nagłych awarii, takich jak | |
32 | odrzucenie połączenia. Program skompilowano i sprawdzono na OpenBSD, | |
33 | Linuksie i Solarisie; powinien działać także na innych BSD (oprócz | |
a6e1aeab JB |
34 | MacOS 10). |
35 | ||
6170e6df | 36 | %prep |
3f2dfd94 | 37 | %setup -q |
6170e6df | 38 | |
39 | %build | |
498f604c RT |
40 | %configure |
41 | %{__make} | |
6170e6df | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
46 | ||
47 | install autossh $RPM_BUILD_ROOT%{_bindir} | |
48 | install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc README CHANGES autossh.host rscreen | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %{_mandir}/man1/* |