diff options
Diffstat (limited to 'main/linux-grsec')
-rw-r--r-- | main/linux-grsec/APKBUILD | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD index d4192f7ea3..a26d355cb4 100644 --- a/main/linux-grsec/APKBUILD +++ b/main/linux-grsec/APKBUILD @@ -7,7 +7,7 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=${pkgver};; esac -pkgrel=3 +pkgrel=4 pkgdesc="Linux kernel with grsecurity" url=http://grsecurity.net depends="mkinitfs" @@ -30,7 +30,7 @@ source="http://ftp.kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz config-virtgrsec.x86 config-virtgrsec.x86_64 " -subpackages="$pkgname-dev linux-virtgrsec-dev" +subpackages="$pkgname-dev:_dev linux-virtgrsec-dev:_dev" _flavors= for _i in $source; do case $_i in @@ -152,7 +152,7 @@ virtgrsec() { } _dev() { - local _flavor="$1" + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') local _abi_release=${pkgver}-${pkgrel}-$_flavor # copy the only the parts that we really need for build 3rd party # kernel modules and install those as /usr/src/linux-headers, @@ -202,14 +202,6 @@ _dev() { "$subpkgdir"/lib/modules/${_abi_release}/build } -dev() { - _dev grsec -} - -virtgrsec_dev() { - _dev virtgrsec -} - md5sums="9a78fa2eb6c68ca5a40ed5af08142599 linux-4.4.tar.xz 62185f1a06241fca5cd94109f3dada4b patch-4.4.39.xz 1500a9b416762414c7043aa7974a59df grsecurity-3.1-4.4.39-201604252206-alpine.patch |