summaryrefslogtreecommitdiff
path: root/libre/paxd-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-04 08:41:28 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-04 08:42:27 -0200
commit5ef254976cf05a4af0bf5293c95680052838ef25 (patch)
tree0ed5cc62d4e9d54f6abd850638f46420df77decf /libre/paxd-libre/PKGBUILD
parent01d23141eeff22d86f888838428df5dd8365ec9c (diff)
paxd-libre: fix paxd compatibility
Diffstat (limited to 'libre/paxd-libre/PKGBUILD')
-rw-r--r--libre/paxd-libre/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/paxd-libre/PKGBUILD b/libre/paxd-libre/PKGBUILD
index 41792771e..145575240 100644
--- a/libre/paxd-libre/PKGBUILD
+++ b/libre/paxd-libre/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=paxd
pkgname=paxd-libre
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc='PaX exception daemon (a libre fork of paxd)'
arch=(i686 x86_64)
url='https://github.com/g4jc/paxd-libre/'
@@ -31,5 +31,7 @@ package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 ../10-enable-pax.conf "$pkgdir/usr/lib/sysctl.d/10-enable-pax.conf"
ln -s paxd-libre.conf "$pkgdir/etc/paxd.conf"
- ln -s ../paxd-libre.service "$pkgdir/usr/lib/systemd/system/sysinit.target.wants/paxd.service"
+ install -Dm644 "$pkgdir/usr/lib/systemd/system/paxd-libre.service" "$pkgdir/usr/lib/systemd/system/paxd.service"
+ ln -s ../paxd.service "$pkgdir/usr/lib/systemd/system/sysinit.target.wants/paxd.service"
+ install -Dm644 "$pkgdir/usr/lib/systemd/user/paxd-libre.service" "$pkgdir/usr/lib/systemd/user/paxd.service"
}