[arch-commits] Commit in (5 files)
Daniel Micay
thestinger at nymeria.archlinux.org
Thu May 22 09:00:25 UTC 2014
Date: Thursday, May 22, 2014 @ 11:00:24
Author: thestinger
Revision: 111656
add paxd (Arch-specific package for linux-grsec)
Added:
paxd/
paxd/repos/
paxd/trunk/
paxd/trunk/10-enable-pax.conf
paxd/trunk/PKGBUILD
--------------------+
10-enable-pax.conf | 2 ++
PKGBUILD | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
Added: paxd/trunk/10-enable-pax.conf
===================================================================
--- paxd/trunk/10-enable-pax.conf (rev 0)
+++ paxd/trunk/10-enable-pax.conf 2014-05-22 09:00:24 UTC (rev 111656)
@@ -0,0 +1,2 @@
+# Disable PaX soft mode (set earlier by 05-grsecurity.conf)
+kernel.pax.softmode = 0
Added: paxd/trunk/PKGBUILD
===================================================================
--- paxd/trunk/PKGBUILD (rev 0)
+++ paxd/trunk/PKGBUILD 2014-05-22 09:00:24 UTC (rev 111656)
@@ -0,0 +1,27 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+pkgname=paxd
+pkgver=1
+pkgrel=1
+pkgdesc='PaX exception daemon'
+arch=(i686 x86_64)
+url='https://github.com/thestinger/paxd/'
+license=(MIT)
+depends=(linux-grsec)
+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"
+}
More information about the arch-commits
mailing list