diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-07-07 17:20:33 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-07-07 17:20:33 +0000 |
commit | 463180c08dce051bda788f1cbc241e8dd02b6e5a (patch) | |
tree | 999b0d6bd7a5efece4e671bcfbf1e49557359abd /sys-kernel | |
parent | bump (diff) | |
download | historical-463180c08dce051bda788f1cbc241e8dd02b6e5a.tar.gz historical-463180c08dce051bda788f1cbc241e8dd02b6e5a.tar.bz2 historical-463180c08dce051bda788f1cbc241e8dd02b6e5a.zip |
bump
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/ac-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/ac-sources/ac-sources-2.4.22_pre3-r1.ebuild | 64 | ||||
-rw-r--r-- | sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_pre3-r1 | 3 |
3 files changed, 69 insertions, 2 deletions
diff --git a/sys-kernel/ac-sources/Manifest b/sys-kernel/ac-sources/Manifest index 0179f9117600..e7c03627355c 100644 --- a/sys-kernel/ac-sources/Manifest +++ b/sys-kernel/ac-sources/Manifest @@ -3,10 +3,10 @@ MD5 cf43ce06cd33f28adf23bf3e59f5eff9 ac-sources-2.4.21-r2.ebuild 2080 MD5 ab627ee13ca5e4846f8fd69d4edf7513 ac-sources-2.4.21_rc4-r1.ebuild 1135 MD5 a4e7fb4cf5389659b2857e1f24d25a11 ac-sources-2.4.21-r4.ebuild 2080 MD5 31638d92ed9a9efaa8c982b1a9b95591 ac-sources-2.4.21_rc6-r2.ebuild 1135 -MD5 a4e7fb4cf5389659b2857e1f24d25a11 ac-sources-2.4.22_pre3-r1.ebuild 2080 +MD5 f657c27aa94aff6675e82c5b1a8232e9 ac-sources-2.4.22_pre3-r1.ebuild 2085 MD5 b8e6d5b4203b7efd7f5fdf7297fc6d8b ac-sources-2.4.21_rc7-r1.ebuild 1135 MD5 3052f8c9b352aa0fcfd0d4e17dfd7cb0 ac-sources-2.4.21-r1.ebuild 2080 -MD5 21c3755ab7c7b760f22918551395334d ChangeLog 3466 +MD5 14caa6b8bb3126dfd938993dc46e8829 ChangeLog 3602 MD5 87327fa2c5b00497e2b6ab670c36218f ac-sources-2.4.21-r3.ebuild 2080 MD5 0c0a3f16d05ddcc0d8c9b9c1460e11c0 files/digest-ac-sources-2.4.21-r1 133 MD5 6778f2b1e8bcf6653828be79365fa447 files/digest-ac-sources-2.4.21-r2 133 diff --git a/sys-kernel/ac-sources/ac-sources-2.4.22_pre3-r1.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.22_pre3-r1.ebuild new file mode 100644 index 000000000000..bf922a4891bb --- /dev/null +++ b/sys-kernel/ac-sources/ac-sources-2.4.22_pre3-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ac-sources/ac-sources-2.4.22_pre3-r1.ebuild,v 1.1 2003/07/07 17:20:28 lostlogic Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel || die + +# ACV=alan cox release version +ACV=ac${PR/r/} +# KV=patched kernel version +KV="${PV/_/-}-${ACV}" +# OKV=original kernel version as provided by ebuild +OKV="`echo ${KV} | cut -d- -f1`" +# OKVLAST=(working) last digit of OKV +OKVLAST="`echo ${OKV} | cut -d. -f3`" +# OKVLASTPR=the previous kernel version (for a marcelo pre/rc release) +OKVLASTPR="`expr ${OKVLAST} - 1`" +# If _ isn't there, then it's a stable+ac, otherwise last-stable+pre/rc+ac +PRERC="`echo ${PV}|grep \_`" + +# Other working variables +S=${WORKDIR}/linux-${KV} +EXTRAVERSION="`echo ${KV}|sed -e 's:[^-]*\(-.*$\):\1:'`" +BASE="`echo ${KV}|sed -e s:${EXTRAVERSION}::`" + +DESCRIPTION="Full sources for Alan Cox's Linux kernel" + +# If it's a last-stable+pre/rc+ac (marcelo), we need to handle it differently +# ourkernel is the stable kernel we'll be working with (previous or current) +if [ ${PRERC} ]; then +OURKERNEL="2.4.${OKVLASTPR}" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2 +http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.4/${BASE}/patch-${KV}.bz2 +http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2" +else +OURKERNEL="2.4.${OKVLAST}" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2 +http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.4/${BASE}/patch-${KV}.bz2" +fi + +KEYWORDS="x86" +SLOT="${KV}" + +src_unpack() { + sleep 1 + unpack linux-${OURKERNEL}.tar.bz2 + mv linux-${OURKERNEL} linux-${KV} || die + + cd linux-${KV} + + # if we need a pre/rc patch, then use it + if [ ${PRERC} ]; then + bzcat ${DISTDIR}/patch-${PV/_/-}.bz2|patch -p1 || die "-marcelo patch failed" + fi + + bzcat ${DISTDIR}/patch-${KV}.bz2|patch -p1 || die "-ac patch failed" + + kernel_universal_unpack +} diff --git a/sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_pre3-r1 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_pre3-r1 new file mode 100644 index 000000000000..a6eb13585f96 --- /dev/null +++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_pre3-r1 @@ -0,0 +1,3 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 97c05ff504e9df164408f83909be4fd3 patch-2.4.22-pre3-ac1.bz2 1370391 +MD5 54150e0bfb9e61fd4d218ff3de417938 patch-2.4.22-pre3.bz2 3273726 |