From d8c4c1c13a07342a03cdde998a5c3857a4c64320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 4 Jan 2014 16:16:20 -0200 Subject: paxctl: add new package to kernels repo --- kernels/paxctl/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 kernels/paxctl/PKGBUILD (limited to 'kernels/paxctl') diff --git a/kernels/paxctl/PKGBUILD b/kernels/paxctl/PKGBUILD new file mode 100644 index 000000000..b3277e92c --- /dev/null +++ b/kernels/paxctl/PKGBUILD @@ -0,0 +1,31 @@ +# Contributors: +# sh0 +# s1gma +# henning mueller + +pkgname='paxctl' +pkgver='0.7' +pkgrel=3 +pkgdesc='Manages various PaX related program header flags for Elf32, Elf64, binaries' +url=http://pax.grsecurity.net +arch=(i686 x86_64 mips64el) +license=(GPL) +depends=() +source=(http://pax.grsecurity.net/$pkgname-$pkgver.tar.bz2) + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's:/sbin:/usr/bin:' Makefile +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +sha256sums=('f7077784ca5695bf74061e6f66b86db855e0dcaa1fc94e6251f6ecd0b879cdc8') -- cgit v1.2.3-2-g168b