summaryrefslogtreecommitdiff
path: root/kernels/paxctl
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-06 00:36:04 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-06 00:36:04 -0500
commit462bbf7f306f0c1c3f4da24e15747a088d71be42 (patch)
tree562fff2ce7123e656e7bad03149156a3ff576363 /kernels/paxctl
parent66c00a074b8c7de57a75dc683b00d29391bdf3a9 (diff)
parent993cb8ec3fd807471035038106825b4c915a33a8 (diff)
downloadabslibre-462bbf7f306f0c1c3f4da24e15747a088d71be42.tar.gz
abslibre-462bbf7f306f0c1c3f4da24e15747a088d71be42.tar.bz2
abslibre-462bbf7f306f0c1c3f4da24e15747a088d71be42.zip
Merge branch 'master' of https://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'kernels/paxctl')
-rw-r--r--kernels/paxctl/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
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 <mee@sh0.org>
+# s1gma <s1gma@mindslicer.com>
+# henning mueller <henning@orgizm.net>
+
+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')