diff options
-rw-r--r-- | libre/paxd-libre/PKGBUILD | 18 | ||||
-rw-r--r-- | libre/paxd-libre/fix_issues.patch | 10 |
2 files changed, 22 insertions, 6 deletions
diff --git a/libre/paxd-libre/PKGBUILD b/libre/paxd-libre/PKGBUILD index 8ea929122..9f1ee1f74 100644 --- a/libre/paxd-libre/PKGBUILD +++ b/libre/paxd-libre/PKGBUILD @@ -4,8 +4,8 @@ _pkgname=paxd pkgname=paxd-libre -pkgver=1.5 -pkgrel=3 +pkgver=1.7 +pkgrel=1 pkgdesc='PaX exception daemon (a libre fork of paxd)' arch=(i686 x86_64) url='https://github.com/g4jc/paxd-libre/' @@ -14,11 +14,18 @@ replaces=($_pkgname linux-pax-flags) conflicts=($_pkgname linux-pax-flags) provides=($_pkgname linux-pax-flags) depends=(glib2) -source=(https://github.com/g4jc/paxd-libre/archive/$pkgver.tar.gz 10-enable-pax.conf) -sha1sums=('b25b021658bc8e92f8f738cd6e9d2311d0177db2' - '8ee73dd288bc32438078e032dfc50a2f8ea6a5f2') +source=(https://github.com/g4jc/paxd-libre/archive/$pkgver.tar.gz 10-enable-pax.conf + fix_issues.patch) +sha1sums=('5285d848993e2169f5c002495ea4e32e5f9ce0c9' + '8ee73dd288bc32438078e032dfc50a2f8ea6a5f2' + '443769c8ab37c04f06ca9d622914899dd5069e44') backup=(etc/paxd-libre.conf) +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i "$srcdir/fix_issues.patch" +} + build() { cd $pkgname-$pkgver make CC=gcc @@ -30,5 +37,4 @@ package() { make PREFIX=/usr DESTDIR="$pkgdir" install 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" } diff --git a/libre/paxd-libre/fix_issues.patch b/libre/paxd-libre/fix_issues.patch new file mode 100644 index 000000000..e61f1e0b3 --- /dev/null +++ b/libre/paxd-libre/fix_issues.patch @@ -0,0 +1,10 @@ +--- paxd-libre-1.7.orig/Makefile 2015-01-11 23:21:54.000000000 -0200 ++++ paxd-libre-1.7/Makefile 2015-01-12 04:30:41.102819259 -0200 +@@ -26,6 +26,6 @@ + install -Dm644 user.service $(DESTDIR)/usr/lib/systemd/user/paxd-libre.service + mkdir -p $(DESTDIR)/usr/lib/systemd/system/sysinit.target.wants + ln -t $(DESTDIR)/usr/lib/systemd/system/sysinit.target.wants -sf ../paxd-libre.service +- ln -sf $(DESTDIR)/etc/paxd-libre.conf $(DESTDIR)/etc/paxd.conf ++ ln -sf paxd-libre.conf $(DESTDIR)/etc/paxd.conf + + .PHONY: all clean install |