summaryrefslogtreecommitdiff
path: root/social/tinc
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-11-11 17:08:11 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-11-11 17:08:11 -0300
commitc3ecdc92717258a8ef37ca56e2b43f79470ba482 (patch)
tree8bb9831f37b6461c374cde50a5393266513c2cb8 /social/tinc
parent5b7ccb1a4f8718509930b1e8266e446f59f31714 (diff)
downloadabslibre-c3ecdc92717258a8ef37ca56e2b43f79470ba482.tar.gz
abslibre-c3ecdc92717258a8ef37ca56e2b43f79470ba482.tar.bz2
abslibre-c3ecdc92717258a8ef37ca56e2b43f79470ba482.zip
social/tinc-1.0.16-2
* Fixed typo on tinc.conf install * Added security flags
Diffstat (limited to 'social/tinc')
-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