core/linux-grsec-sources: added patch for ip_gre strict binding

This commit is contained in:
Natanael Copa 2009-01-10 11:14:13 +00:00
parent 3b285d8d21
commit c874bbcf60

View File

@ -1,16 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_suff=grsec
pkgname=linux-$_suff-sources
pkgver=2.6.26.8
pkgdesc="Linux kernel sources with grsecurity patch"
_kernver=2.6.26
_grsecver=2.1.12-2.6.26.6-200810131006
pkgrel=1
pkgrel=2
arch=i486
license=GPL-2
url=http://kernel.org
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
http://www.grsecurity.net/test/grsecurity-$_grsecver.patch
linux-2.6.26.8-ipgre-strict-binding.diff
"
build() {
@ -20,6 +22,7 @@ build() {
fi
patch -p1 < ../grsecurity-$_grsecver.patch || return 1
patch -p1 < ../linux-2.6.26.8-ipgre-strict-binding.diff || return 1
mkdir -p "$pkgdir/usr/src"
cd "$srcdir"
@ -28,4 +31,5 @@ build() {
md5sums="5169d01c405bc3f866c59338e217968c linux-2.6.26.tar.bz2
e27c07bb82e02532e874758980141281 patch-2.6.26.8.bz2
5398417243c0abbcd8d94f5e52eff4bc grsecurity-2.1.12-2.6.26.6-200810131006.patch"
5398417243c0abbcd8d94f5e52eff4bc grsecurity-2.1.12-2.6.26.6-200810131006.patch
b83b352e8718c5c60accfb562482727f linux-2.6.26.8-ipgre-strict-binding.diff"