1 |
Summary: Automatically restart SSH sessions and tunnels |
2 |
Name: autossh |
3 |
Version: 1.4c |
4 |
Release: %mkrel 3 |
5 |
License: BSD |
6 |
Group: Networking/Other |
7 |
URL: http://www.harding.motd.ca/autossh/ |
8 |
Source: %{name}-%{version}.tar.bz2 |
9 |
BuildRequires: openssh-clients |
10 |
Requires: openssh |
11 |
BuildRoot: %{_tmppath}/%{name}-root |
12 |
|
13 |
%description |
14 |
autossh is a program to start a copy of ssh and monitor it, |
15 |
restarting it as necessary should it die or stop passing |
16 |
traffic. The idea and the mechanism are from rstunnel |
17 |
(Reliable SSH Tunnel), but implemented in C. |
18 |
|
19 |
%prep |
20 |
%setup -q |
21 |
|
22 |
%build |
23 |
chmod 644 autossh.host rscreen |
24 |
%configure2_5x |
25 |
%make |
26 |
|
27 |
%install |
28 |
rm -rf %{buildroot} |
29 |
|
30 |
install -d %{buildroot}%{_bindir} |
31 |
install -d %{buildroot}%{_mandir}/man1 |
32 |
install -m755 autossh %{buildroot}%{_bindir}/ |
33 |
install -m644 autossh.1 %{buildroot}%{_mandir}/man1/ |
34 |
|
35 |
%clean |
36 |
rm -rf %{buildroot} |
37 |
|
38 |
%files |
39 |
%defattr (-,root,root) |
40 |
%doc CHANGES README autossh.host rscreen |
41 |
%{_bindir}/autossh |
42 |
%{_mandir}/man1/autossh.1* |