diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-06-25 20:46:32 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-06-25 20:46:32 +0000 |
commit | 9f6b4d465699c8ff2b67403e324c5deac223dda4 (patch) | |
tree | 8a8466b164f8342cee40dcae5f70425d860ef441 /sys-kernel | |
parent | Version bumped. Closes #19017. (diff) | |
download | historical-9f6b4d465699c8ff2b67403e324c5deac223dda4.tar.gz historical-9f6b4d465699c8ff2b67403e324c5deac223dda4.tar.bz2 historical-9f6b4d465699c8ff2b67403e324c5deac223dda4.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.21-r3.ebuild | 64 | ||||
-rw-r--r-- | sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r3 | 2 |
3 files changed, 68 insertions, 2 deletions
diff --git a/sys-kernel/ac-sources/Manifest b/sys-kernel/ac-sources/Manifest index 81621bdd8e0b..076a1edc83b3 100644 --- a/sys-kernel/ac-sources/Manifest +++ b/sys-kernel/ac-sources/Manifest @@ -4,8 +4,8 @@ MD5 ab627ee13ca5e4846f8fd69d4edf7513 ac-sources-2.4.21_rc4-r1.ebuild 1135 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 7a41a80cbdd41555f2ceb5210f341164 ChangeLog 3218 -MD5 cf43ce06cd33f28adf23bf3e59f5eff9 ac-sources-2.4.21-r3.ebuild 2080 +MD5 7396b073f99eafc1d3a3a79dd8cb8bad ChangeLog 3342 +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 MD5 f1920a944ef04d36695bd6b3cf3dc43c files/digest-ac-sources-2.4.21-r3 133 diff --git a/sys-kernel/ac-sources/ac-sources-2.4.21-r3.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.21-r3.ebuild new file mode 100644 index 000000000000..7a329057cd45 --- /dev/null +++ b/sys-kernel/ac-sources/ac-sources-2.4.21-r3.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-r3.ebuild,v 1.1 2003/06/25 20:46: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.21-r3 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r3 new file mode 100644 index 000000000000..1d8cdaff526c --- /dev/null +++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21-r3 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 bb5147b9a1a4ca9fe069114ac54e2eb5 patch-2.4.21-ac3.bz2 2289334 |