]> git.pld-linux.org Git - packages/autossh.git/blob - autossh.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/autossh.git] / autossh.spec
1 Summary:        Automatically restart SSH sessions and tunnels
2 Summary(pl):    Automatyczny restart sesji i tuneli SSH
3 Name:           autossh
4 Version:        1.2d
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 %description -l pl
24 autossh jest programem uruchamiaj±cym kopiê ssh i monitoruj±cym j±,
25 restartuj±c w miarê potrzeby, je¶li umrze lub przestanie przekazywaæ
26 ruch. Idea i mechanizm pochodz± z rstunnela (Reliable SSH Tunnel), ale
27 zaimplementowano je w C. Wed³ug autora nie trzeba siê tak patyczkowaæ,
28 jak z rstunnelem, aby go uruchomiæ. Monitorowanie po³±czenia u¿ywa
29 pêtli przekazywania portów. Czêstotliwo¶æ prób po³±czeñ jest
30 zmniejszana w przypadku napotkania nag³ych awarii, takich jak
31 odrzucenie po³±czenia. Program skompilowano i sprawdzono na OpenBSD,
32 Linuksie i Solarisie; powinien dzia³aæ tak¿e na innych BSD (oprócz
33 MacOS 10).
34
35 %prep
36 %setup -q -n %{name}-%{version}
37
38 %build
39 %{__make} -f Makefile.linux
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
44
45 install autossh $RPM_BUILD_ROOT%{_bindir}
46 install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README CHANGES autossh.host rscreen
54 %attr(755,root,root) %{_bindir}/*
55 %{_mandir}/man1/*
This page took 0.101746 seconds and 3 git commands to generate.