summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-11 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2011-11-11 23:15:00 +0000
commite0f64ccb05c467785eaf68b42c3e302c44aa3324 (patch)
treee6cdb653ce50a1a2e3fd5ac74a46c1bbc33441bc /social
parent4141f5b04aab597f88a617a82649a404c773469a (diff)
Fri Nov 11 23:15:00 UTC 2011
Diffstat (limited to 'social')
-rw-r--r--social/tinc/PKGBUILD12
-rw-r--r--social/tinc/tincd.conf1
-rw-r--r--social/tinc/tincd.rcd1
3 files changed, 8 insertions, 6 deletions
diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD
index 72c1a8186..d91909319 100644
--- a/social/tinc/PKGBUILD
+++ b/social/tinc/PKGBUILD
@@ -1,17 +1,14 @@
pkgname=tinc
pkgver=1.0.16
-pkgrel=1
+pkgrel=2
pkgdesc="VPN (Virtual Private Network) daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.tinc-vpn.org/"
license=('GPL')
depends=('lzo2' 'zlib' 'openssl')
source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz
tincd.conf
tincd.rcd)
-md5sums=('f1c7ed94878725fb2cf4efb02bf160da'
- '9b40646cd898709e90ae3c32baecb075'
- '75516d05803ee6c6b22516e10129ad99')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,5 +25,8 @@ package() {
install -d $pkgdir/etc/{tinc,rc.d,conf.d}
install -Dm755 $srcdir/tincd.rcd $pkgdir/etc/rc.d/tincd
- install -Dm755 $srcdir/tincd.conf $pkgdir/etc/conf.d/tincd
+ install -Dm755 $srcdir/tincd.conf $pkgdir/etc/conf.d/tincd.conf
}
+md5sums=('f1c7ed94878725fb2cf4efb02bf160da'
+ 'b1b0c4a37c007aa8703128269ea9a3e8'
+ '89a91a80c1dee4b365958bd9e6242d5a')
diff --git a/social/tinc/tincd.conf b/social/tinc/tincd.conf
index 84547936c..3b8a867be 100644
--- a/social/tinc/tincd.conf
+++ b/social/tinc/tincd.conf
@@ -1 +1,2 @@
NETNAME=yournetname
+OPTIONS="-R -U nobody"
diff --git a/social/tinc/tincd.rcd b/social/tinc/tincd.rcd
index f0a456e17..d790ef86f 100644
--- a/social/tinc/tincd.rcd
+++ b/social/tinc/tincd.rcd
@@ -13,6 +13,7 @@ case "$1" in
stat_busy "Starting ${daemon_name}"
[ -z "$PID" ] && \
/usr/sbin/tincd -n ${NETNAME} \
+ ${OPTIONS} \
--pidfile=/var/run/tinc.${NETNAME} &> /dev/null
if [ $? -gt 0 ]; then