summaryrefslogtreecommitdiff
path: root/social/tinc
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-15 11:36:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-15 11:36:24 -0300
commit7caeeae33fd491dbea5044168bbc50197963118c (patch)
tree2ceec96ef9e1897d921d05f2fc5c5dda2ad893e9 /social/tinc
parent2f39e56def6dadf0746b6e96e756518f1af9396b (diff)
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ginac/PKGBUILD community/gnash/PKGBUILD community/haskell-tar/PKGBUILD community/libdlna/PKGBUILD community/mplayer2/PKGBUILD community/musescore/PKGBUILD community/open-vm-tools-modules/PKGBUILD community/paraview/PKGBUILD community/picard/PKGBUILD core/idnkit/PKGBUILD core/ifenslave/PKGBUILD extra/audacious/PKGBUILD extra/avidemux/PKGBUILD extra/ffmpeg/PKGBUILD extra/graphite/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/k3b/PKGBUILD extra/kdemultimedia/PKGBUILD extra/koffice/PKGBUILD extra/kradio/PKGBUILD extra/libreoffice/PKGBUILD extra/mediastreamer/PKGBUILD extra/poppler/PKGBUILD extra/vlc/PKGBUILD libre/texlive-bin-libre/PKGBUILD
Diffstat (limited to 'social/tinc')
-rw-r--r--social/tinc/PKGBUILD10
-rw-r--r--social/tinc/tincd.conf1
-rw-r--r--social/tinc/tincd.rcd1
3 files changed, 7 insertions, 5 deletions
diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD
index fdf89a41c..d91909319 100644
--- a/social/tinc/PKGBUILD
+++ b/social/tinc/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=tinc
pkgver=1.0.16
-pkgrel=1
+pkgrel=2
pkgdesc="VPN (Virtual Private Network) daemon"
arch=(i686 x86_64 mips64el)
url="http://www.tinc-vpn.org/"
@@ -9,9 +9,6 @@ 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