From 46b40a7a20cb08e8a1a794bd8702adea2752b81c Mon Sep 17 00:00:00 2001 From: milisarge Date: Wed, 24 May 2017 02:56:50 +0300 Subject: [PATCH] tinc.paketlendi --- talimatname/genel/tinc/talimat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 talimatname/genel/tinc/talimat diff --git a/talimatname/genel/tinc/talimat b/talimatname/genel/tinc/talimat new file mode 100644 index 000000000..593a272f4 --- /dev/null +++ b/talimatname/genel/tinc/talimat @@ -0,0 +1,23 @@ +# Description: bir vpn uygulaması +# URL: http://www.tinc-vpn.org +# Packager: milisarge +# Depends on: + +name=tinc +version=1.0.31 +release=1 +source=(https://github.com/gsliepen/tinc/archive/release-$version.tar.gz) + +build() { + cd $name-release-$version + autoreconf -fsi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin + make + make DESTDIR=$PKG install + install -d "$PKG"/etc/tinc/ + install -dm755 "$PKG"/usr/share/tinc/examples + cp -r doc/sample-config $PKG/usr/share/tinc/examples + cp doc/sample-config/tinc.conf "$PKG"/etc/tinc/ + find "$PKG"/usr/share/tinc/examples -type f -exec chmod 644 {} + + find "$PKG"/usr/share/tinc/examples -type d -exec chmod 755 {} + +}