aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vserver/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-18 07:39:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-18 07:39:20 +0000
commitc29302654325f1066bdfc9fd246034c94882edee (patch)
tree79e84bbc641ec902ae064bc4b7550a26232eb2b4 /main/linux-vserver/APKBUILD
parent9a86ee7541bd57d92a996858afcba46da2ac3f13 (diff)
downloadaports-c29302654325f1066bdfc9fd246034c94882edee.tar.bz2
aports-c29302654325f1066bdfc9fd246034c94882edee.tar.xz
main/linux-vserver: upgrade to 3.3.2-vs2.3.3.2
Diffstat (limited to 'main/linux-vserver/APKBUILD')
-rw-r--r--main/linux-vserver/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/main/linux-vserver/APKBUILD b/main/linux-vserver/APKBUILD
index 3c9a5599c0..6f16933faa 100644
--- a/main/linux-vserver/APKBUILD
+++ b/main/linux-vserver/APKBUILD
@@ -2,9 +2,9 @@
_flavor=vserver
pkgname=linux-${_flavor}
-pkgver=3.2.11
+pkgver=3.3.2
pkgrel=0
-_vsver=vs2.3.2.8
+_vsver=vs2.3.3.2
if [ "${pkgver##*.*.*}" = "$pkgver" ]; then
_kernver=$pkgver
@@ -19,8 +19,8 @@ makedepends="perl installkernel"
options="!strip"
_config=${config:-kernelconfig.${CARCH}}
install=
-source="http://www.kernel.org/pub/linux/kernel/v3.0/linux-$_kernver.tar.bz2
- http://www.kernel.org/pub/linux/kernel/v3.0/patch-$pkgver.bz2
+source="http://www.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.xz
http://vserver.13thfloor.at/Experimental/patch-$pkgver-$_vsver.diff
kernelconfig.x86
kernelconfig.x86_64
@@ -33,8 +33,9 @@ _abi_release=${pkgver}-${_vsver}
prepare() {
cd "$srcdir"/linux-$_kernver
- if [ "$_kernver" != "$pkgver" ]; then
- bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 -N || return 1
+ if [ "${pkgver%.0}" = "$pkgver" ]; then
+ msg "Applying $i"
+ unxz -c < ../patch-$pkgver.xz | patch -p1 -N || return 1
fi
# first apply patches in specified order
@@ -131,8 +132,8 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
-md5sums="7ceb61f87c097fc17509844b71268935 linux-3.2.tar.bz2
-a4c2531ee383dfd429e105816b4d2ccc patch-3.2.11.bz2
-e4d453b06eabec327f86151bc1009691 patch-3.2.11-vs2.3.2.8.diff
-24c055d468597b01a8ee5f641673b4cd kernelconfig.x86
-4a99db0ace4870387dc14382d916c44a kernelconfig.x86_64"
+md5sums="7133f5a2086a7d7ef97abac610c094f5 linux-3.3.tar.xz
+68907107b0f62a19608588bdb6b29e20 patch-3.3.2.xz
+e976389f84e4743c08627bb6fd0c9914 patch-3.3.2-vs2.3.3.2.diff
+4b8d805a0eec790472432a39be02f453 kernelconfig.x86
+94555ed5003cd2fc61f7d0e8d6ceb558 kernelconfig.x86_64"