diff options
Diffstat (limited to 'libre/paxd-libre/PKGBUILD')
-rw-r--r-- | libre/paxd-libre/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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" +} |