summaryrefslogtreecommitdiff
path: root/social/tinc
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
committerroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
commitbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (patch)
treec05f121bc450e6f4528e13b4eef371f3b0d2bc0f /social/tinc
parentd2f2d3b5c845807249680c275031f94047f9e762 (diff)
Mon May 9 22:34:00 UTC 2011
Diffstat (limited to 'social/tinc')
-rw-r--r--social/tinc/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD
new file mode 100644
index 000000000..8c56c0fc2
--- /dev/null
+++ b/social/tinc/PKGBUILD
@@ -0,0 +1,21 @@
+pkgname=tinc
+pkgver=1.0.13
+pkgrel=2
+pkgdesc="VPN (Virtual Private Network) daemon"
+arch=(i686 x86_64)
+url="http://www.tinc-vpn.org/"
+license=('GPL')
+depends=('lzo2' 'zlib' 'openssl')
+source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz)
+md5sums=('86263994d38c750431efd17e9a91a248')
+
+build() {
+ cd "$startdir/src/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make || return 1
+ make DESTDIR="$startdir/pkg" install
+
+ mkdir -p $startdir/pkg/etc/tinc/
+ tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/
+}