summaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-11 05:25:48 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-11 05:25:48 -0600
commit2a61540aa5868f89b962e3d443c6e30635b134f4 (patch)
tree9e7bfa2b73f8fff9db54363f765e19bc0372b4d7 /main/linux-grsec/APKBUILD
parent15126fceda8ef9a920cd84a52ec607e8caa98092 (diff)
downloadaports-2a61540aa5868f89b962e3d443c6e30635b134f4.tar.bz2
aports-2a61540aa5868f89b962e3d443c6e30635b134f4.tar.xz
main/linux-grsec: do not use this as a firmware source
Diffstat (limited to 'main/linux-grsec/APKBUILD')
-rw-r--r--main/linux-grsec/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 9a8bf7df3..61d41ae14 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -4,7 +4,7 @@ _flavor=grsec
pkgname=linux-${_flavor}
pkgver=2.6.37.2
_kernver=2.6.37
-pkgrel=3
+pkgrel=4
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
@@ -85,6 +85,8 @@ package() {
rm -f "$pkgdir"/lib/modules/${_abi_release}/build \
"$pkgdir"/lib/modules/${_abi_release}/source
+ rm -rf "$pkgdir"/lib/firmware
+
install -D include/config/kernel.release \
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}
@@ -135,13 +137,6 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
-firmware() {
- pkgdesc="Firmware for linux kernel"
- replaces="linux-grsec linux-vserver"
- mkdir -p "$subpkgdir"/lib
- mv "$pkgdir"/lib/firmware "$subpkgdir"/lib/
-}
-
md5sums="c8ee37b4fdccdb651e0603d35350b434 linux-2.6.37.tar.bz2
bb5798f2a2a5af13219d1a250c4dad11 patch-2.6.37.2.bz2
023faa02aded5827539e7ed7653dc133 grsecurity-2.2.1-2.6.37.2-201103021740.patch