summaryrefslogtreecommitdiff
path: root/pcr/librevpn
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-01-31 15:03:02 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2018-01-31 15:03:02 -0500
commit0771e4d37530a28ba149ba4f86fe9e7efdc416c0 (patch)
treebc5554aad8b3fe5338bbcd2725fb55ee8facf09d /pcr/librevpn
parent492e722dd76bdeeee538f769ed25d49c3834f396 (diff)
downloadabslibre-0771e4d37530a28ba149ba4f86fe9e7efdc416c0.tar.gz
abslibre-0771e4d37530a28ba149ba4f86fe9e7efdc416c0.tar.bz2
abslibre-0771e4d37530a28ba149ba4f86fe9e7efdc416c0.zip
pcr/librevpn: borrow things from pcr/librevpn-git
Diffstat (limited to 'pcr/librevpn')
-rw-r--r--pcr/librevpn/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/pcr/librevpn/PKGBUILD b/pcr/librevpn/PKGBUILD
index 49189831a..87fd49eb3 100644
--- a/pcr/librevpn/PKGBUILD
+++ b/pcr/librevpn/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=librevpn
pkgver=1.0.0rc
-pkgrel=1
+pkgrel=2
pkgdesc='Free Tinc-based Virtual Private Network'
url=http://$pkgname.org.ar/
license=('AGPL3' 'MIT') # AGPL3+, but the vendored generate-ipv6-address is MIT
@@ -35,6 +35,8 @@ prepare() {
# remove other generated files
find doc -name '*.1' -delete
rm lvpn
+
+ sed -i '/BEADLE/s/HOSTS/BEADLE/' lvpn.in
}
build() (
@@ -51,7 +53,9 @@ package() (
make PREFIX=/usr TARGET="$pkgdir" install
install -Dm644 etc/generate-ipv6-address-0.1/generate-ipv6-address.man "$pkgdir"/usr/share/man/man8/generate-ipv6-address.8
+ install -d "$pkgdir"/etc/logrotate.d
install -d "$pkgdir"/etc/NetworkManager/dispatcher.d
+ ln -sT hosts $pkgdir/usr/share/lvpn/beadle
local cmd
for cmd in avahi-publish-alias graph tinc2dot; do