aboutsummaryrefslogtreecommitdiffstats
path: root/core/linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-16 18:57:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-16 18:57:03 +0000
commit1d865cd7811a8fda8878b1a6e3a89d66ff686545 (patch)
tree7a2a34900c67d992c5b4ddb8ee1c116967660d5a /core/linux-grsec/APKBUILD
parente0bb26315a4ac2199c791e310c1fdace1929e556 (diff)
downloadaports-1d865cd7811a8fda8878b1a6e3a89d66ff686545.tar.gz
aports-1d865cd7811a8fda8878b1a6e3a89d66ff686545.tar.bz2
aports-1d865cd7811a8fda8878b1a6e3a89d66ff686545.tar.xz
core/linux-grsec: upgrade to 2.6.28.5
enable SMP and large devices
Diffstat (limited to 'core/linux-grsec/APKBUILD')
-rw-r--r--core/linux-grsec/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/core/linux-grsec/APKBUILD b/core/linux-grsec/APKBUILD
index 03cbd11210..678bf97364 100644
--- a/core/linux-grsec/APKBUILD
+++ b/core/linux-grsec/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linux-grsec
-pkgver=2.6.26.8
-pkgrel=2
+pkgver=2.6.28.5
+pkgrel=0
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
arch=i486
makedepends="$pkgname-sources perl"
source="kernelconfig"
-subpackages="$pkgname-mod"
+subpackages="$pkgname-mod $pkgname-dev"
license=GPL-2
build() {
@@ -21,7 +21,14 @@ build() {
make modules_install install \
INSTALL_MOD_PATH=$pkgdir \
INSTALL_PATH=$pkgdir/boot
- mv "$pkgdir"/boot/vmlinuz "$pkgdir"/boot/${pkgname#linux-}
+ cd "$pkgdir"/boot
+ mv vmlinuz ${pkgname#linux-}
+ mv System.map System-${pkgname#linux-}.map
}
-md5sums="7bff4dd7b5f8ef83e6a3c2e2e5d5fbec kernelconfig"
+dev() {
+ install -Dm644 "$srcdir/kernelconfig" \
+ "$subpkgdir"/usr/share/$pkgname/config
+}
+
+md5sums="ce38feed44b24776e7befb92eedbe959 kernelconfig"