summaryrefslogtreecommitdiff
path: root/community/paxd/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-23 04:12:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-23 04:12:16 +0000
commit87d17fa2b4ad3761b9235da7280a51ba768102c6 (patch)
tree48846a0145a417176f52d5bf82990a78c7886adb /community/paxd/PKGBUILD
parentef10ee9c3c1ff0f85ad53ccc313248f51a2fa69e (diff)
Fri May 23 04:06:37 UTC 2014
Diffstat (limited to 'community/paxd/PKGBUILD')
-rw-r--r--community/paxd/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/paxd/PKGBUILD b/community/paxd/PKGBUILD
new file mode 100644
index 000000000..35e1ed7de
--- /dev/null
+++ b/community/paxd/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+pkgname=paxd
+pkgver=2
+pkgrel=1
+pkgdesc='PaX exception daemon'
+arch=(i686 x86_64)
+url='https://github.com/thestinger/paxd/'
+license=(MIT)
+depends=(glibc)
+makedepends=(git)
+source=(git://github.com/thestinger/paxd#tag=$pkgver 10-enable-pax.conf)
+md5sums=('SKIP'
+ 'a40677d2cd39ada4c2560927c67e0ea2')
+backup=(etc/paxd.conf)
+
+build() {
+ cd $pkgname
+ make CC=gcc
+}
+
+package() {
+ cd $pkgname
+ mkdir -p "$pkgdir/usr/lib/systemd/system/sysinit.target.wants"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../10-enable-pax.conf "$pkgdir/etc/sysctl.d/10-enable-pax.conf"
+}