-
Notifications
You must be signed in to change notification settings - Fork 2
/
autossh.spec
51 lines (39 loc) · 1.16 KB
/
autossh.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Summary: Automatically restart SSH sessions and tunnels
Name: autossh
Version: 1.4b
Release: 1
License: Distributable
Group: Applications/Networking
Vendor: Carson Harding <[email protected]>
URL: http://www.harding.motd.ca/autossh/
Source0: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
autossh is a program to start a copy of ssh and monitor it, restarting
it as necessary should it die or stop passing traffic.
%prep
%setup -q
%build
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
install autossh $RPM_BUILD_ROOT%{_bindir}
install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README CHANGES autossh.host rscreen
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%changelog
* Fri Mar 28 2008 Carson Harding <[email protected]>
- update to 1.4b
* Sat May 20 2006 Carson Harding <[email protected]>
- update to 1.4 and use autoconf
* Wed Feb 02 2005 Carson Harding <[email protected]>
- very minor changes to spec file
* Thu Oct 21 2004 Ron Yorston <[email protected]> 1.3-1
- Original version