diff options
author | Andrea Luzzardi <scox@gentoo.org> | 2003-12-05 08:56:59 +0000 |
---|---|---|
committer | Andrea Luzzardi <scox@gentoo.org> | 2003-12-05 08:56:59 +0000 |
commit | 570f7a8f62cdcd6a77735e384f87a05ced1d5f5b (patch) | |
tree | 6ba495a8c6cf709cd279823a74102168eb270707 /sys-kernel/aa-sources | |
parent | bump to -aa1 (diff) | |
download | gentoo-2-570f7a8f62cdcd6a77735e384f87a05ced1d5f5b.tar.gz gentoo-2-570f7a8f62cdcd6a77735e384f87a05ced1d5f5b.tar.bz2 gentoo-2-570f7a8f62cdcd6a77735e384f87a05ced1d5f5b.zip |
bump to -aa1
Diffstat (limited to 'sys-kernel/aa-sources')
-rw-r--r-- | sys-kernel/aa-sources/ChangeLog | 5 | ||||
-rw-r--r-- | sys-kernel/aa-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild | 64 | ||||
-rw-r--r-- | sys-kernel/aa-sources/files/digest-aa-sources-2.4.23-r1 | 2 |
4 files changed, 72 insertions, 3 deletions
diff --git a/sys-kernel/aa-sources/ChangeLog b/sys-kernel/aa-sources/ChangeLog index 1fe39ea4f6d0..4220c4536528 100644 --- a/sys-kernel/aa-sources/ChangeLog +++ b/sys-kernel/aa-sources/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-kernel/aa-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/ChangeLog,v 1.20 2003/12/04 22:31:24 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/ChangeLog,v 1.21 2003/12/05 08:56:44 scox Exp $ + + 05 Dec 2003; Andrea Luzzardi <scox@gentoo.org> aa-sources-2.4.23-r1.ebuild: + Bump to -aa1 02 Dec 2003; Brian Jackson <iggy@gentoo.org> aa-sources-2.4.23_pre6-r3.ebuild: diff --git a/sys-kernel/aa-sources/Manifest b/sys-kernel/aa-sources/Manifest index 7a6103e0ba90..893dac31a281 100644 --- a/sys-kernel/aa-sources/Manifest +++ b/sys-kernel/aa-sources/Manifest @@ -1,7 +1,7 @@ -MD5 fe27c5f6973319dfc1d6fad0dba5767e aa-sources-2.4.23-r1.ebuild 1917 +MD5 b25a279f222de1c5270bea425f645401 aa-sources-2.4.23-r1.ebuild 2027 MD5 f52db1359783589e6bff683234f18ebf aa-sources-2.4.22-r1.ebuild 2195 MD5 890152c8c910a763918bcdd83076ab23 aa-sources-2.4.23_pre6-r3.ebuild 2292 -MD5 f869f34a1066fb9fbaa562b9cbcd814e ChangeLog 3281 +MD5 c1ac755cdfdf4128f64ad1f48dccadc1 ChangeLog 3276 MD5 399eb7607b8f1f3f597e93566b1bda7c metadata.xml 453 MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242 MD5 fcfb3fc100621b77d191f86b66dd810a files/aa-sources-2.4.22-ide-scsi-missing-sym-fix.patch 465 diff --git a/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild b/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild new file mode 100644 index 000000000000..0eb12a0839ed --- /dev/null +++ b/sys-kernel/aa-sources/aa-sources-2.4.23-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/aa-sources/aa-sources-2.4.23-r1.ebuild,v 1.1 2003/12/05 08:56:44 scox Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel + +# AAV=andrea arcangeli release version +AAV=aa${PR/r/} +# KV=patched kernel version +KV="${PV/_/-}-${AAV}" +# 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}::`" + +# If it's a last-stable+pre/rc+aa (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="mirror://kernel/linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2 + mirror://kernel/linux/kernel/people/andrea/kernels/v2.4/${KV/-}.bz2 + mirror://kernel/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2" +else + OURKERNEL="2.4.${OKVLAST}" + SRC_URI="mirror://kernel//linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2 + mirror://kernel/linux/kernel/people/andrea/kernels/v2.4/${KV/-}.bz2" +fi + + +DESCRIPTION="Full sources for Andrea Arcangeli's Linux kernel" +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}/${KV/-}.bz2|patch -p1 || die "-aa patch failed" + + kernel_universal_unpack +} diff --git a/sys-kernel/aa-sources/files/digest-aa-sources-2.4.23-r1 b/sys-kernel/aa-sources/files/digest-aa-sources-2.4.23-r1 new file mode 100644 index 000000000000..5a77611ee6f6 --- /dev/null +++ b/sys-kernel/aa-sources/files/digest-aa-sources-2.4.23-r1 @@ -0,0 +1,2 @@ +MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 +MD5 35041e6df8e211764bc9540b34660357 2.4.23aa1.bz2 2027644 |