2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: bir vpn uygulaması
|
2017-05-24 01:56:50 +02:00
|
|
|
|
# URL: http://www.tinc-vpn.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-05-24 01:56:50 +02:00
|
|
|
|
|
|
|
|
|
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 {} +
|
|
|
|
|
}
|