Chris Ricker ffd46c
Summary: Utility to autorestart SSH tunnels
Chris Ricker ffd46c
Name: autossh
Chris Ricker ffd46c
Version: 1.3
Chris Ricker ad4970
Release: 3%{?dist}
Chris Ricker ffd46c
License: BSD
Chris Ricker ffd46c
Group: Applications/Internet
Chris Ricker ffd46c
URL: http://www.harding.motd.ca/autossh/index.html
Chris Ricker ffd46c
Source0: http://www.harding.motd.ca/autossh/autossh-1.3.tgz
Chris Ricker ffd46c
Patch0: autossh-Makefile.patch
Chris Ricker ffd46c
Requires: /usr/bin/ssh
Chris Ricker ffd46c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Chris Ricker ffd46c
Chris Ricker ffd46c
%description
Chris Ricker ffd46c
autossh is a utility to start and monitor an ssh tunnel. If the tunnel
Chris Ricker ffd46c
dies or stops passing traffic, autossh will automatically restart it.
Chris Ricker ffd46c
Chris Ricker ffd46c
%prep
Chris Ricker ffd46c
%setup -q
Chris Ricker ffd46c
%patch0 -p1 -b .mk
Chris Ricker ffd46c
Chris Ricker ffd46c
%build
Chris Ricker ffd46c
make -f Makefile.linux
Chris Ricker ffd46c
Chris Ricker ffd46c
%install
Chris Ricker ffd46c
rm -rf $RPM_BUILD_ROOT
Chris Ricker ffd46c
Chris Ricker ffd46c
mkdir -p $RPM_BUILD_ROOT%{_bindir}
Chris Ricker ffd46c
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
Chris Ricker ffd46c
mkdir -p examples
Chris Ricker ffd46c
Chris Ricker ffd46c
cp -p autossh.host rscreen examples
Chris Ricker ffd46c
chmod 0644 examples/*
Chris Ricker ffd46c
Chris Ricker ffd46c
install -m 0755 -p autossh $RPM_BUILD_ROOT%{_bindir}
Chris Ricker ffd46c
cp -p autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
Chris Ricker ffd46c
Chris Ricker ffd46c
%clean
Chris Ricker ffd46c
rm -rf $RPM_BUILD_ROOT
Chris Ricker ffd46c
Chris Ricker ffd46c
%files
Chris Ricker ffd46c
%defattr(-, root, root)
Chris Ricker ffd46c
%doc CHANGES README
Chris Ricker ffd46c
%doc examples
Chris Ricker ffd46c
%{_bindir}/*
Chris Ricker ffd46c
%{_mandir}/man1/*
Chris Ricker ffd46c
Chris Ricker ffd46c
%changelog
Chris Ricker ad4970
* Tue Feb 14 2006 Chris Ricker <kaboom@oobleck.net> 1.3-3
Chris Ricker ad4970
- Bump and rebuild
Chris Ricker ad4970
Chris Ricker fc3fda
* Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2%{?dist}
Chris Ricker fc3fda
- Add dist tag
Chris Ricker fc3fda
Chris Ricker ffd46c
* Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2
Chris Ricker ffd46c
- Changes from Ville Skyttä (use mkdir -p, remove extraneous attr)
Chris Ricker ffd46c
Chris Ricker ffd46c
* Tue Apr 26 2005 Chris Ricker <kaboom@oobleck.net> 1.3-1
Chris Ricker ffd46c
- Initial package