From 52cc248bab3d2478ef7e4e04dc9d3b8a0370311c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 29 May 2014 23:42:18 -0300 Subject: add paxd-libre to [libre] and remove pax-flags-libre from [kernels] --- libre/paxd-libre/10-enable-pax.conf | 2 ++ libre/paxd-libre/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 libre/paxd-libre/10-enable-pax.conf create mode 100644 libre/paxd-libre/PKGBUILD (limited to 'libre') 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 +# Maintainer: André Silva +# Contributor: Gaming4JC + +_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" +} -- cgit v1.2.3