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