diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-09 21:47:09 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-09 21:47:09 -0200 |
commit | a851915f28923b2cd1979471c64d75e527f117cf (patch) | |
tree | a0cd3a72cfe2657d16a0275fe67e3745577cb9d5 /pcr/tinc/PKGBUILD | |
parent | 5b9506770ce84ac053de4d3500b56a1da84b1694 (diff) | |
parent | 39e7daddb73f205693ff52cae7f77601a1eaea00 (diff) | |
download | abslibre-a851915f28923b2cd1979471c64d75e527f117cf.tar.gz abslibre-a851915f28923b2cd1979471c64d75e527f117cf.tar.bz2 abslibre-a851915f28923b2cd1979471c64d75e527f117cf.zip |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/tinc/PKGBUILD')
-rw-r--r-- | pcr/tinc/PKGBUILD | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/pcr/tinc/PKGBUILD b/pcr/tinc/PKGBUILD index 87d3415e9..3612d8814 100644 --- a/pcr/tinc/PKGBUILD +++ b/pcr/tinc/PKGBUILD @@ -1,33 +1,39 @@ +# $Id: PKGBUILD 116886 2014-08-05 08:18:32Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: helios +# Contributor: Lothar Gesslein +# Contributor: Dominik George <nik@naturalnet.de> + pkgname=tinc -pkgver=1.0.16 -pkgrel=3 +pkgver=1.0.24 +pkgrel=2 pkgdesc="VPN (Virtual Private Network) daemon" -arch=(i686 x86_64 mips64el) +arch=('i686' 'x86_64' 'mips64el') url="http://www.tinc-vpn.org/" license=('GPL') -depends=('lzo2' 'zlib' 'openssl') -backup=(etc/conf.d/tincd.conf) -source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz - tincd.conf - tincd.rcd) -md5sums=('f1c7ed94878725fb2cf4efb02bf160da' - 'd4a42b4a474448c64dc8f5100480f569' - '89a91a80c1dee4b365958bd9e6242d5a') +depends=('lzo' 'openssl') +install=tinc.install +source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig} + tincd@.service) +md5sums=('14a91eb2e85bdc0451a815612521b708' + 'SKIP' + '112327da32fdb56ab779fe004712235f') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin make } package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - install -d $pkgdir/etc/{tinc,rc.d,conf.d} + make DESTDIR="$pkgdir/" install + install -dm755 "$pkgdir"/usr/share/tinc/examples + tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples + find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} + + find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} + - install -Dm755 $srcdir/tincd.rcd $pkgdir/etc/rc.d/tincd - install -Dm755 $srcdir/tincd.conf $pkgdir/etc/conf.d/tincd.conf + install -Dm644 "$srcdir/tincd@.service" "$pkgdir/usr/lib/systemd/system/tincd@.service" } |