aports/community/paxctl/APKBUILD
2022-10-24 15:54:52 +02:00

23 lines
654 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=paxctl
pkgver=0.9
pkgrel=2
pkgdesc="Manage PaX related program header flags"
url="http://pax.grsecurity.net"
arch="all"
license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="https://pax.grsecurity.net/$pkgname-$pkgver.tar.gz"
options="!check" # no testsuite
build() {
sed -i -e 's:--owner:-o:g; s:--group:-g:g; s:--mode:-m:g' Makefile
make CFLAGS="$CFLAGS" LDFLASG="$LDFLAGS"
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="4048544bd05ed6eb37866034ade8482b8d017110ed9a639f220e8d2e32bb3dfb6c913a986c8fd41829e88efa793f7552eaa2a6d6b2af533c44a5754a5ab8650f paxctl-0.9.tar.gz"