summaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-18 06:07:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-18 06:07:22 +0000
commit9f191d28d896b832900a34c405538a5ecacf14c2 (patch)
treebbd26a269164ea669c8c1d9c349ac6b7e2833418 /main/linux-grsec/APKBUILD
parentbfff42b14b7730e08065085c252384ca561d1514 (diff)
downloadaports-9f191d28d896b832900a34c405538a5ecacf14c2.tar.bz2
aports-9f191d28d896b832900a34c405538a5ecacf14c2.tar.xz
main/linux-grsec: upgrade to grsecurity-2.9-3.3.2-201204172135
Diffstat (limited to 'main/linux-grsec/APKBUILD')
-rw-r--r--main/linux-grsec/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 9e9028165..eea3d28fd 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -2,7 +2,7 @@
_flavor=grsec
pkgname=linux-${_flavor}
-pkgver=3.3.0
+pkgver=3.3.2
_kernver=3.3
pkgrel=0
pkgdesc="Linux kernel with grsecurity"
@@ -13,7 +13,8 @@ options="!strip"
_config=${config:-kernelconfig.${CARCH}}
install=
source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz
- grsecurity-2.9-3.3.0-201204010912.patch
+ http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.xz
+ grsecurity-2.9-3.3.2-201204172135.patch
0004-arp-flush-arp-cache-on-device-change.patch
@@ -29,7 +30,8 @@ _abi_release=${pkgver}-${_flavor}
prepare() {
local _patch_failed=
cd "$srcdir"/linux-$_kernver
- if [ "${pkgver%.0}" != "$pkgver" ]; then
+ if [ "${pkgver%.0}" = "$pkgver" ]; then
+ msg "Applying patch-$pkgver.xz"
unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N || return 1
fi
@@ -136,7 +138,8 @@ dev() {
}
md5sums="7133f5a2086a7d7ef97abac610c094f5 linux-3.3.tar.xz
-4a84e775da56db17d11945991029482c grsecurity-2.9-3.3.0-201204010912.patch
+68907107b0f62a19608588bdb6b29e20 patch-3.3.2.xz
+8449f14948e6a7bc0de34f404d48a88d grsecurity-2.9-3.3.2-201204172135.patch
776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
-51458d030e02ea7bc134df4f37557cb0 kernelconfig.x86
-ae652877225cb3e3b8a3705b3a411d71 kernelconfig.x86_64"
+5d2818cb5329aec600ee8ffc3896a728 kernelconfig.x86
+39552b468a33a04678113c12ec6c1a91 kernelconfig.x86_64"