mirror of
https://abf.rosa.ru/djam/autossh.git
synced 2025-02-23 10:33:02 +00:00
Automatic import for version 1.4c-2.el6
This commit is contained in:
commit
ca9d2b5583
3 changed files with 96 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
"autossh-1.4c.tgz": d9a1d5a2987e7e5a444b00e63d6590936da1e1f2
|
12
autossh-1.4c-ldflags.patch
Normal file
12
autossh-1.4c-ldflags.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -up autossh-1.4c/Makefile.in~ autossh-1.4c/Makefile.in
|
||||||
|
--- autossh-1.4c/Makefile.in~ 2011-10-12 23:30:40.000000000 +0300
|
||||||
|
+++ autossh-1.4c/Makefile.in 2011-10-30 21:57:35.554395846 +0200
|
||||||
|
@@ -31,7 +31,7 @@ all: $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
$(TARGET): $(OFILES)
|
||||||
|
- $(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
|
||||||
|
+ $(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
- /bin/rm -f *.o *.a *.core *~
|
82
autossh.spec
Normal file
82
autossh.spec
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
Summary: Utility to autorestart SSH tunnels
|
||||||
|
Name: autossh
|
||||||
|
Version: 1.4c
|
||||||
|
Release: 2%{?dist}
|
||||||
|
License: BSD
|
||||||
|
Group: Applications/Internet
|
||||||
|
URL: http://www.harding.motd.ca/autossh/index.html
|
||||||
|
Source0: http://www.harding.motd.ca/autossh/autossh-1.4c.tgz
|
||||||
|
# Sent upstream 2011-10-30
|
||||||
|
Patch0: autossh-1.4c-ldflags.patch
|
||||||
|
BuildRequires: /usr/bin/ssh
|
||||||
|
Requires: /usr/bin/ssh
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%description
|
||||||
|
autossh is a utility to start and monitor an ssh tunnel. If the tunnel
|
||||||
|
dies or stops passing traffic, autossh will automatically restart it.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
mkdir -p examples
|
||||||
|
|
||||||
|
cp -p autossh.host rscreen examples
|
||||||
|
chmod 0644 examples/*
|
||||||
|
|
||||||
|
install -m 0755 -p autossh $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
cp -p autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc CHANGES README
|
||||||
|
%doc examples
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 14 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.4c-2
|
||||||
|
- Patch build to honor $LDFLAGS.
|
||||||
|
|
||||||
|
* Sun Oct 30 2011 Alexander Boström <abo@root.snowtree.se> - 1.4c-1
|
||||||
|
- Upgrade to 1.4c
|
||||||
|
|
||||||
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 15 2008 Chris Ricker <kaboom@oobleck.net> 1.4a-1
|
||||||
|
- new version
|
||||||
|
|
||||||
|
* Mon Sep 11 2006 Chris Ricker <kaboom@oobleck.net> 1.3-4
|
||||||
|
- Bump and rebuild
|
||||||
|
|
||||||
|
* Tue Feb 14 2006 Chris Ricker <kaboom@oobleck.net> 1.3-3
|
||||||
|
- Bump and rebuild
|
||||||
|
|
||||||
|
* Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2%{?dist}
|
||||||
|
- Add dist tag
|
||||||
|
|
||||||
|
* Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2
|
||||||
|
- Changes from Ville Skyttä (use mkdir -p, remove extraneous attr)
|
||||||
|
|
||||||
|
* Tue Apr 26 2005 Chris Ricker <kaboom@oobleck.net> 1.3-1
|
||||||
|
- Initial package
|
Loading…
Add table
Reference in a new issue