Commit 9f191d28 authored by Natanael Copa's avatar Natanael Copa

main/linux-grsec: upgrade to grsecurity-2.9-3.3.2-201204172135

parent bfff42b1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
_flavor=grsec _flavor=grsec
pkgname=linux-${_flavor} pkgname=linux-${_flavor}
pkgver=3.3.0 pkgver=3.3.2
_kernver=3.3 _kernver=3.3
pkgrel=0 pkgrel=0
pkgdesc="Linux kernel with grsecurity" pkgdesc="Linux kernel with grsecurity"
...@@ -13,7 +13,8 @@ options="!strip" ...@@ -13,7 +13,8 @@ options="!strip"
_config=${config:-kernelconfig.${CARCH}} _config=${config:-kernelconfig.${CARCH}}
install= install=
source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz 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 0004-arp-flush-arp-cache-on-device-change.patch
...@@ -29,7 +30,8 @@ _abi_release=${pkgver}-${_flavor} ...@@ -29,7 +30,8 @@ _abi_release=${pkgver}-${_flavor}
prepare() { prepare() {
local _patch_failed= local _patch_failed=
cd "$srcdir"/linux-$_kernver 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 unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N || return 1
fi fi
...@@ -136,7 +138,8 @@ dev() { ...@@ -136,7 +138,8 @@ dev() {
} }
md5sums="7133f5a2086a7d7ef97abac610c094f5 linux-3.3.tar.xz 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 776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
51458d030e02ea7bc134df4f37557cb0 kernelconfig.x86 5d2818cb5329aec600ee8ffc3896a728 kernelconfig.x86
ae652877225cb3e3b8a3705b3a411d71 kernelconfig.x86_64" 39552b468a33a04678113c12ec6c1a91 kernelconfig.x86_64"
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/i386 3.3.0 Kernel Configuration # Linux/i386 3.3.2 Kernel Configuration
# #
# CONFIG_64BIT is not set # CONFIG_64BIT is not set
CONFIG_X86_32=y CONFIG_X86_32=y
...@@ -5284,6 +5284,7 @@ CONFIG_PAX_RANDMMAP=y ...@@ -5284,6 +5284,7 @@ CONFIG_PAX_RANDMMAP=y
CONFIG_PAX_MEMORY_UDEREF=y CONFIG_PAX_MEMORY_UDEREF=y
CONFIG_PAX_REFCOUNT=y CONFIG_PAX_REFCOUNT=y
# CONFIG_PAX_USERCOPY is not set # CONFIG_PAX_USERCOPY is not set
# CONFIG_PAX_SIZE_OVERFLOW is not set
CONFIG_KEYS=y CONFIG_KEYS=y
CONFIG_TRUSTED_KEYS=m CONFIG_TRUSTED_KEYS=m
CONFIG_ENCRYPTED_KEYS=m CONFIG_ENCRYPTED_KEYS=m
......
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.3.0 Kernel Configuration # Linux/x86_64 3.3.2 Kernel Configuration
# #
CONFIG_64BIT=y CONFIG_64BIT=y
# CONFIG_X86_32 is not set # CONFIG_X86_32 is not set
...@@ -5256,6 +5256,7 @@ CONFIG_PAX_RANDMMAP=y ...@@ -5256,6 +5256,7 @@ CONFIG_PAX_RANDMMAP=y
# CONFIG_PAX_MEMORY_STACKLEAK is not set # CONFIG_PAX_MEMORY_STACKLEAK is not set
CONFIG_PAX_REFCOUNT=y CONFIG_PAX_REFCOUNT=y
# CONFIG_PAX_USERCOPY is not set # CONFIG_PAX_USERCOPY is not set
# CONFIG_PAX_SIZE_OVERFLOW is not set
CONFIG_KEYS=y CONFIG_KEYS=y
CONFIG_TRUSTED_KEYS=m CONFIG_TRUSTED_KEYS=m
CONFIG_ENCRYPTED_KEYS=m CONFIG_ENCRYPTED_KEYS=m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment