summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-29 23:42:18 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-29 23:42:18 -0300
commit52cc248bab3d2478ef7e4e04dc9d3b8a0370311c (patch)
treea62c8c8ac23b5605d6ab320b00f1b791064b9570 /libre
parentb41d1250002b20994265253093a78b8e64031c4c (diff)
downloadabslibre-52cc248bab3d2478ef7e4e04dc9d3b8a0370311c.tar.gz
abslibre-52cc248bab3d2478ef7e4e04dc9d3b8a0370311c.tar.bz2
abslibre-52cc248bab3d2478ef7e4e04dc9d3b8a0370311c.zip
add paxd-libre to [libre] and remove pax-flags-libre from [kernels]
Diffstat (limited to 'libre')
-rw-r--r--libre/paxd-libre/10-enable-pax.conf2
-rw-r--r--libre/paxd-libre/PKGBUILD34
2 files changed, 36 insertions, 0 deletions
diff --git a/libre/paxd-libre/10-enable-pax.conf b/libre/paxd-libre/10-enable-pax.conf
new file mode 100644
index 000000000..77e51d87c
--- /dev/null
+++ b/libre/paxd-libre/10-enable-pax.conf
@@ -0,0 +1,2 @@
+# Disable PaX soft mode (set earlier by 05-grsecurity.conf)
+kernel.pax.softmode = 0
diff --git a/libre/paxd-libre/PKGBUILD b/libre/paxd-libre/PKGBUILD
new file mode 100644
index 000000000..924010bcf
--- /dev/null
+++ b/libre/paxd-libre/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (Arch): Daniel Micay <danielmicay@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Gaming4JC <gaming4jc2@yahoo.com>
+
+_pkgname=paxd
+pkgname=paxd-libre
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='PaX exception daemon, without nonfree software support'
+arch=(i686 x86_64)
+url='https://github.com/g4jc/paxd-libre/'
+license=(MIT)
+replaces=($_pkgname linux-pax-flags)
+conflicts=($_pkgname linux-pax-flags)
+provides=($_pkgname linux-pax-flags)
+depends=(glibc)
+makedepends=(git)
+source=(git://github.com/g4jc/paxd-libre#tag=$pkgver 10-enable-pax.conf)
+md5sums=('SKIP'
+ 'a40677d2cd39ada4c2560927c67e0ea2')
+backup=(etc/paxd-libre.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"
+}