adding new app autossh

This commit is contained in:
abveritas 2012-05-17 19:44:12 +00:00
parent 5ff410bd65
commit 3e5f14a52c
2 changed files with 53 additions and 0 deletions

16
autossh/LICENSE Normal file
View File

@ -0,0 +1,16 @@
Copyright (c) Carson Harding, 2002-2008.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are freely permitted.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

37
autossh/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=autossh
pkgver=1.4.1
_pkgver=1.4c
pkgrel=1
pkgdesc="Automatically restart SSH sessions and tunnels"
arch=('i686' 'x86_64')
url="http://www.harding.motd.ca/autossh/"
license=('custom')
depends=('openssh')
source=("http://www.harding.motd.ca/autossh/$pkgname-$_pkgver.tgz"
"LICENSE")
md5sums=('26520eea934f296be0783dabe7fcfd28'
'5d65ce1eff3f2c72546a8343b18d67bf')
build() {
cd $srcdir/$pkgname-$_pkgver
msg "Configuring"
./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var
msg "Building"
make
msg "Creating package"
install -D -m755 autossh $pkgdir/usr/bin/autossh
install -D -m644 CHANGES $pkgdir/usr/share/doc/autossh/CHANGES
install -D -m644 README $pkgdir/usr/share/doc/autossh/README
install -D -m644 autossh.host $pkgdir/usr/share/autossh/examples/autossh.host
install -D -m644 rscreen $pkgdir/usr/share/autossh/examples/rscreen
install -D -m644 autossh.1 $pkgdir/usr/share/man/man1/autossh.1
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}