]> git.pld-linux.org Git - packages/autossh.git/blob - autossh.spec
- tabs in preamble
[packages/autossh.git] / autossh.spec
1 Summary:        Automatically restart SSH sessions and tunnels
2 Summary(pl.UTF-8):      Automatyczny restart sesji i tuneli SSH
3 Name:           autossh
4 Version:        1.4a
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 # Source0-md5:  a5497938986f0c179926f1ebba603767
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
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
34 MacOS 10).
35
36 %prep
37 %setup -q
38
39 %build
40 %configure
41 %{__make} 
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/*
This page took 0.063524 seconds and 3 git commands to generate.