aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vserver/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-08 06:08:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-08 11:53:02 +0000
commit9f1962e5b670dece0c31d8431df013dbe87c4a60 (patch)
tree774367878f757012f91ed93840f79522d25d521e /main/linux-vserver/APKBUILD
parent6c766e5ff6c39b3aec114091920f330076d9bc4b (diff)
downloadaports-9f1962e5b670dece0c31d8431df013dbe87c4a60.tar.bz2
aports-9f1962e5b670dece0c31d8431df013dbe87c4a60.tar.xz
main/linux-vserver: upgrade to 2.6.38.2-vs2.3.0.37-rc10
Diffstat (limited to 'main/linux-vserver/APKBUILD')
-rw-r--r--main/linux-vserver/APKBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/main/linux-vserver/APKBUILD b/main/linux-vserver/APKBUILD
index 22fbda59b2..803d6783f7 100644
--- a/main/linux-vserver/APKBUILD
+++ b/main/linux-vserver/APKBUILD
@@ -2,9 +2,14 @@
_flavor=vserver
pkgname=linux-${_flavor}
-pkgver=2.6.35.11
+pkgver=2.6.38.2
+
+if [ "${pkgver##*.*.*.*}" = "$pkgver" ]; then
+ _kernver=$pkgver
+else
+ _kernver=${pkgver%.*}
+fi
-_kernver=2.6.35
pkgrel=1
pkgdesc="Linux kernel with vserver"
url="http://linux-vserver.org/"
@@ -13,12 +18,9 @@ makedepends="perl installkernel"
options="!strip"
_config=${config:-kernelconfig.${CARCH}}
install=
-source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
- http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v${pkgver%.*}/patch-$pkgver.bz2
- 0001-Staging-hv-fix-sleeping-while-atomic-issue.patch
- 0004-staging-hv-fix-netvsc-sleeping-while-atomic.patch
- patch-$pkgver-vs2.3.0.36.33.diff
- setlocalversion.patch
+source="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
+ http://www.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
+ http://vserver.13thfloor.at/Experimental/patch-$pkgver-vs2.3.0.37-rc10.diff
kernelconfig.x86
kernelconfig.x86_64
"
@@ -127,11 +129,8 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
-md5sums="091abeb4684ce03d1d936851618687b6 linux-2.6.35.tar.bz2
-573170b7d56d30d06d26b705d4794615 patch-2.6.35.11.bz2
-648d8b477248f233c318a3b7a961febf 0001-Staging-hv-fix-sleeping-while-atomic-issue.patch
-7cae2d1e1947fa57d7aaaf31c649471c 0004-staging-hv-fix-netvsc-sleeping-while-atomic.patch
-728a192104cbcc3a52547eef10f87823 patch-2.6.35.11-vs2.3.0.36.33.diff
-8c224ba0cdf0aa572c7eb50379435be4 setlocalversion.patch
-483a66358c9e8edd589f1217eac5babd kernelconfig.x86
-eb4575ed7a9e76f1dabebfcd982982b5 kernelconfig.x86_64"
+md5sums="7d471477bfa67546f902da62227fa976 linux-2.6.38.tar.bz2
+599badab31c4920d4122133208c810d7 patch-2.6.38.2.bz2
+71bf897a897f86d1e4754abc64cd4a7a patch-2.6.38.2-vs2.3.0.37-rc10.diff
+7ff3cb48fb5b43ca3df47d5bc36a0a38 kernelconfig.x86
+d9f5bc667cb6b6b33e7208b87492b9db kernelconfig.x86_64"