summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ac-sources')
-rw-r--r--sys-kernel/ac-sources/ChangeLog8
-rw-r--r--sys-kernel/ac-sources/Manifest4
-rw-r--r--sys-kernel/ac-sources/ac-sources-2.4.22_rc2-r1.ebuild64
-rw-r--r--sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_rc2-r13
4 files changed, 76 insertions, 3 deletions
diff --git a/sys-kernel/ac-sources/ChangeLog b/sys-kernel/ac-sources/ChangeLog
index 51fcbacdada4..43f1527a5531 100644
--- a/sys-kernel/ac-sources/ChangeLog
+++ b/sys-kernel/ac-sources/ChangeLog
@@ -1,6 +1,12 @@
# 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.25 2003/08/02 03:05:23 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ac-sources/ChangeLog,v 1.26 2003/08/12 17:35:32 lostlogic Exp $
+
+*ac-sources-2.4.22_rc2-r1 (12 Aug 2003)
+
+ 12 Aug 2003; Brandon Low <lostlogic@gentoo.org>
+ ac-sources-2.4.22_rc2-r1.ebuild:
+ Bump
*ac-sources-2.4.22_pre10-r1 (01 Aug 2003)
diff --git a/sys-kernel/ac-sources/Manifest b/sys-kernel/ac-sources/Manifest
index ef7b885f58cd..3f0304617d57 100644
--- a/sys-kernel/ac-sources/Manifest
+++ b/sys-kernel/ac-sources/Manifest
@@ -1,10 +1,10 @@
-MD5 440a9cfa3413996f7aaaa851a860d365 ac-sources-2.4.22_rc2-r1.ebuild 2079
+MD5 3a7490fd6d5cd63b00b6bb0c985db422 ac-sources-2.4.22_rc2-r1.ebuild 2077
MD5 e22186d01af0ffdfc980a8962b4db24b ac-sources-2.4.21-r2.ebuild 2070
MD5 440a9cfa3413996f7aaaa851a860d365 ac-sources-2.4.22_pre10-r1.ebuild 2079
MD5 c5ebf6755c06004887fe0d82716a8d9f ac-sources-2.4.21-r4.ebuild 2070
MD5 d3c43bec08d18b939a2e8740787b1680 ac-sources-2.4.22_pre3-r1.ebuild 2075
MD5 438147ed523a09d25a188a5118b25b93 ac-sources-2.4.21-r1.ebuild 2070
-MD5 82bcf1ffd06e39b9b53825fd9a3ae895 ChangeLog 4028
+MD5 93bbaf3cdd78f5200f34320eafb23edb ChangeLog 4162
MD5 9bbfb1b11de6cdb240b9d695dae36815 ac-sources-2.4.22_pre6-r1.ebuild 2075
MD5 25b7a6edafe6a3d21ee0ffb4dcca352b ac-sources-2.4.21-r3.ebuild 2070
MD5 83ef187b663618880026c077b7cc354f files/digest-ac-sources-2.4.22_pre10-r1 207
diff --git a/sys-kernel/ac-sources/ac-sources-2.4.22_rc2-r1.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.22_rc2-r1.ebuild
new file mode 100644
index 000000000000..5f551a9d63ec
--- /dev/null
+++ b/sys-kernel/ac-sources/ac-sources-2.4.22_rc2-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_rc2-r1.ebuild,v 1.1 2003/08/12 17:35:32 lostlogic Exp $
+
+IUSE="build"
+
+# OKV=original kernel version, KV=patched kernel version.
+
+ETYPE="sources"
+
+inherit kernel
+
+# 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_rc2-r1 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_rc2-r1
new file mode 100644
index 000000000000..3298d2e19334
--- /dev/null
+++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.22_rc2-r1
@@ -0,0 +1,3 @@
+MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
+MD5 922d71e90bc6d8fa3214204c5e7751e7 patch-2.4.22-rc2-ac1.bz2 1201153
+MD5 141f00e759d6aa30cc0b2a25f1f0d60e patch-2.4.22-rc2.bz2 4290549