summaryrefslogtreecommitdiff
path: root/pcr/librevpn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/librevpn/PKGBUILD')
-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