blob: 820c2ec6c6cbf5b7772aebdf40e0eb8404ad30a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=paxctl
pkgver=0.5
pkgrel=2
pkgdesc="Manage PaX releated program header flags"
url="http://pax.grsecurity.net"
arch="all"
license="GPL-2"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://pax.grsecurity.net/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i -e 's:--owner:-o:g; s:--group:-g:g; s:--mode:-m:g' Makefile
make CFLAGS="$CFLAGS" LDFLASG="$LDFLAGS" || return 1
make DESTDIR="$pkgdir" install
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="6ec138522977dc7654d33ddbe32755f0 paxctl-0.5.tar.gz"
|