summaryrefslogtreecommitdiff
path: root/community/autossh
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/autossh
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/autossh')
-rw-r--r--community/autossh/LICENSE16
-rw-r--r--community/autossh/PKGBUILD33
2 files changed, 49 insertions, 0 deletions
diff --git a/community/autossh/LICENSE b/community/autossh/LICENSE
new file mode 100644
index 000000000..df9212c49
--- /dev/null
+++ b/community/autossh/LICENSE
@@ -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.
diff --git a/community/autossh/PKGBUILD b/community/autossh/PKGBUILD
new file mode 100644
index 000000000..c15c56ad8
--- /dev/null
+++ b/community/autossh/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Ian Taylor <ian at lorf dot orgs>
+
+pkgname=autossh
+pkgver=1.4b
+pkgrel=2
+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=('8f9aa006f6f69e912d3c2f504622d6f7'
+ '5d65ce1eff3f2c72546a8343b18d67bf')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ msg "Configuring"
+ ./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var || return 1
+
+ msg "Building"
+ make || return 1
+
+ msg "Creating package"
+ install -D -m755 autossh $pkgdir/usr/bin/autossh || return 1
+ install -D -m644 CHANGES $pkgdir/usr/share/doc/autossh/CHANGES || return 1
+ install -D -m644 README $pkgdir/usr/share/doc/autossh/README || return 1
+ install -D -m644 autossh.host $pkgdir/usr/share/autossh/examples/autossh.host || return 1
+ install -D -m644 rscreen $pkgdir/usr/share/autossh/examples/rscreen || return 1
+ install -D -m644 autossh.1 $pkgdir/usr/share/man/man1/autossh.1 || return 1
+ install -D -m644 ${startdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+}