summaryrefslogtreecommitdiff
path: root/kernels/paxctl/PKGBUILD
blob: b3277e92cf4678418283c6edc313e7dc45e9a7ab (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
28
29
30
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')