Group :: Rede/Acesso Remoto
RPM: autossh
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: autossh
Version: 1.4a
Release: alt1
Summary: Automatically restart SSH sessions and tunnels
License: BSD-style
Group: Networking/Remote access
Url: http://www.harding.motd.ca/autossh
Packager: Dmitry V. Levin <ldv at altlinux.org>
# %url/autossh-%version.tar.bz2
Source: autossh-%version.tar
Patch: autossh-1.4a-alt-setproctitle.patch
Requires: openssh-clients
BuildRequires: setproctitle-devel
%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. The idea and the
mechanism are from rstunnel (Reliable SSH Tunnel), but implemented in C.
%prep
%setup -q
%patch -p1
chmod -x autossh.host rscreen
%build
export LIBS=-lsetproctitle
export ac_cv_path_ssh=ssh
%add_optflags -D_GNU_SOURCE -DHAVE_SETPROCTITLE_H
%configure
%make_build
%install
install -pD -m755 autossh %buildroot%_bindir/autossh
install -pD -m644 autossh.1 %buildroot%_man1dir/autossh.1
%files
%doc CHANGES README autossh.host rscreen
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.4a
Release: alt1
Summary: Automatically restart SSH sessions and tunnels
License: BSD-style
Group: Networking/Remote access
Url: http://www.harding.motd.ca/autossh
Packager: Dmitry V. Levin <ldv at altlinux.org>
# %url/autossh-%version.tar.bz2
Source: autossh-%version.tar
Patch: autossh-1.4a-alt-setproctitle.patch
Requires: openssh-clients
BuildRequires: setproctitle-devel
%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. The idea and the
mechanism are from rstunnel (Reliable SSH Tunnel), but implemented in C.
%prep
%setup -q
%patch -p1
chmod -x autossh.host rscreen
%build
export LIBS=-lsetproctitle
export ac_cv_path_ssh=ssh
%add_optflags -D_GNU_SOURCE -DHAVE_SETPROCTITLE_H
%configure
%make_build
%install
install -pD -m755 autossh %buildroot%_bindir/autossh
install -pD -m644 autossh.1 %buildroot%_man1dir/autossh.1
%files
%doc CHANGES README autossh.host rscreen
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui