diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-06-28 03:55:27 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-06-28 03:55:27 +0000 |
commit | 0c554c9f5e0eedf0f94993a1b80c5d122b14a8d7 (patch) | |
tree | 6c73580c38651175ba66b6cd565454aa3fa50632 /sys-kernel/ac-sources | |
parent | Bump (diff) | |
download | gentoo-2-0c554c9f5e0eedf0f94993a1b80c5d122b14a8d7.tar.gz gentoo-2-0c554c9f5e0eedf0f94993a1b80c5d122b14a8d7.tar.bz2 gentoo-2-0c554c9f5e0eedf0f94993a1b80c5d122b14a8d7.zip |
Bump
Diffstat (limited to 'sys-kernel/ac-sources')
-rw-r--r-- | sys-kernel/ac-sources/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/ac-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/ac-sources/ac-sources-2.4.21-r4.ebuild | 64 | ||||
-rw-r--r-- | sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r4 | 2 |
4 files changed, 74 insertions, 3 deletions
diff --git a/sys-kernel/ac-sources/ChangeLog b/sys-kernel/ac-sources/ChangeLog index f2519c7814db..8d3f9ecb4e24 100644 --- a/sys-kernel/ac-sources/ChangeLog +++ b/sys-kernel/ac-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/ac-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ac-sources/ChangeLog,v 1.21 2003/06/25 20:46:28 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ac-sources/ChangeLog,v 1.22 2003/06/28 03:55:24 lostlogic Exp $ + +*ac-sources-2.4.21-r4 (27 Jun 2003) + + 27 Jun 2003; Brandon Low <lostlogic@gentoo.org> ac-sources-2.4.21-r4.ebuild: + Bump *ac-sources-2.4.21-r3 (25 Jun 2003) diff --git a/sys-kernel/ac-sources/Manifest b/sys-kernel/ac-sources/Manifest index b55f30d91c41..663885e9495d 100644 --- a/sys-kernel/ac-sources/Manifest +++ b/sys-kernel/ac-sources/Manifest @@ -1,11 +1,11 @@ MD5 80957859a97f99eaa8edb7653f5f1a0c ac-sources-2.4.21_rc6-r1.ebuild 1135 MD5 cf43ce06cd33f28adf23bf3e59f5eff9 ac-sources-2.4.21-r2.ebuild 2080 MD5 ab627ee13ca5e4846f8fd69d4edf7513 ac-sources-2.4.21_rc4-r1.ebuild 1135 -MD5 87327fa2c5b00497e2b6ab670c36218f ac-sources-2.4.21-r4.ebuild 2080 +MD5 a4e7fb4cf5389659b2857e1f24d25a11 ac-sources-2.4.21-r4.ebuild 2080 MD5 31638d92ed9a9efaa8c982b1a9b95591 ac-sources-2.4.21_rc6-r2.ebuild 1135 MD5 b8e6d5b4203b7efd7f5fdf7297fc6d8b ac-sources-2.4.21_rc7-r1.ebuild 1135 MD5 3052f8c9b352aa0fcfd0d4e17dfd7cb0 ac-sources-2.4.21-r1.ebuild 2080 -MD5 7396b073f99eafc1d3a3a79dd8cb8bad ChangeLog 3342 +MD5 21c3755ab7c7b760f22918551395334d ChangeLog 3466 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.21-r4.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.21-r4.ebuild new file mode 100644 index 000000000000..88bbc8780e88 --- /dev/null +++ b/sys-kernel/ac-sources/ac-sources-2.4.21-r4.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.21-r4.ebuild,v 1.1 2003/06/28 03:55:24 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.21-r4 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r4 new file mode 100644 index 000000000000..1c22278892b0 --- /dev/null +++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r4 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 af0a3f7ea887d8d62ef2adef5fba2710 patch-2.4.21-ac4.bz2 2436550 |