Commit f9f70558 authored by Natanael Copa's avatar Natanael Copa

main/linux-grsec: fix linux-virtgrsec-dev

parent 9582332f
...@@ -7,7 +7,7 @@ case $pkgver in ...@@ -7,7 +7,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};; *.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=${pkgver};; *.*) _kernver=${pkgver};;
esac esac
pkgrel=3 pkgrel=4
pkgdesc="Linux kernel with grsecurity" pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net url=http://grsecurity.net
depends="mkinitfs" depends="mkinitfs"
...@@ -30,7 +30,7 @@ source="http://ftp.kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz ...@@ -30,7 +30,7 @@ source="http://ftp.kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz
config-virtgrsec.x86 config-virtgrsec.x86
config-virtgrsec.x86_64 config-virtgrsec.x86_64
" "
subpackages="$pkgname-dev linux-virtgrsec-dev" subpackages="$pkgname-dev:_dev linux-virtgrsec-dev:_dev"
_flavors= _flavors=
for _i in $source; do for _i in $source; do
case $_i in case $_i in
...@@ -152,7 +152,7 @@ virtgrsec() { ...@@ -152,7 +152,7 @@ virtgrsec() {
} }
_dev() { _dev() {
local _flavor="$1" local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g')
local _abi_release=${pkgver}-${pkgrel}-$_flavor local _abi_release=${pkgver}-${pkgrel}-$_flavor
# copy the only the parts that we really need for build 3rd party # copy the only the parts that we really need for build 3rd party
# kernel modules and install those as /usr/src/linux-headers, # kernel modules and install those as /usr/src/linux-headers,
...@@ -202,14 +202,6 @@ _dev() { ...@@ -202,14 +202,6 @@ _dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build "$subpkgdir"/lib/modules/${_abi_release}/build
} }
dev() {
_dev grsec
}
virtgrsec_dev() {
_dev virtgrsec
}
md5sums="9a78fa2eb6c68ca5a40ed5af08142599 linux-4.4.tar.xz md5sums="9a78fa2eb6c68ca5a40ed5af08142599 linux-4.4.tar.xz
62185f1a06241fca5cd94109f3dada4b patch-4.4.39.xz 62185f1a06241fca5cd94109f3dada4b patch-4.4.39.xz
1500a9b416762414c7043aa7974a59df grsecurity-3.1-4.4.39-201604252206-alpine.patch 1500a9b416762414c7043aa7974a59df grsecurity-3.1-4.4.39-201604252206-alpine.patch
......
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