blob: b8ac414d76a72b4a630294ba4cd939f2af98bf69 (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=paxctl
pkgver=0.5
pkgrel=0
pkgdesc="Manage PaX releated program header flags"
url="http://pax.grsecurity.net"
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"
|