diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-02-01 00:27:51 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-02-01 00:27:51 +0000 |
commit | 61fbd7e47c79534c894d4d1b33f3ba8b7e792b1d (patch) | |
tree | 31d4273c184efb7d899133580221aedc26907fda /sys-kernel | |
parent | added oooqs to portage (diff) | |
download | gentoo-2-61fbd7e47c79534c894d4d1b33f3ba8b7e792b1d.tar.gz gentoo-2-61fbd7e47c79534c894d4d1b33f3ba8b7e792b1d.tar.bz2 gentoo-2-61fbd7e47c79534c894d4d1b33f3ba8b7e792b1d.zip |
various bumps
Diffstat (limited to 'sys-kernel')
8 files changed, 232 insertions, 0 deletions
diff --git a/sys-kernel/aa-sources/aa-sources-2.4.21_pre4-r1.ebuild b/sys-kernel/aa-sources/aa-sources-2.4.21_pre4-r1.ebuild new file mode 100644 index 000000000000..410a7997707d --- /dev/null +++ b/sys-kernel/aa-sources/aa-sources-2.4.21_pre4-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2002 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.21_pre4-r1.ebuild,v 1.1 2003/02/01 00:27:51 lostlogic Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel || die + +OKV="2.4.20" +AAV=aa${PR/r/} +KV="${PV/_/-}-${AAV}" +S=${WORKDIR}/linux-${KV} + +EXTRAVERSION="`echo ${KV}|sed -e 's:[^-]*\(-.*$\):\1:'`" +BASE="`echo ${KV}|sed -e s:${EXTRAVERSION}::`" + +DESCRIPTION="Full sources for Andrea Arcangeli's Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 +http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2 +http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/${KV//-/}.bz2" + +KEYWORDS="x86" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv linux-${OKV} linux-${KV} || die + + cd linux-${KV} + + bzcat ${DISTDIR}/patch-${PV/_/-}.bz2|patch -p1 || die "-marcelo patch failed" + 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.21_pre4-r1 b/sys-kernel/aa-sources/files/digest-aa-sources-2.4.21_pre4-r1 new file mode 100644 index 000000000000..59f4376db54f --- /dev/null +++ b/sys-kernel/aa-sources/files/digest-aa-sources-2.4.21_pre4-r1 @@ -0,0 +1,3 @@ +MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 +MD5 2785b6bd5e775ab881af507b7ece236d patch-2.4.21-pre4.bz2 1863302 +MD5 0b237ab2203db6ecd289deae0421ec65 2.4.21pre4aa1.bz2 1797536 diff --git a/sys-kernel/ac-sources/ac-sources-2.4.21_pre3-r5.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.21_pre3-r5.ebuild new file mode 100644 index 000000000000..c186d055f460 --- /dev/null +++ b/sys-kernel/ac-sources/ac-sources-2.4.21_pre3-r5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 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_pre3-r5.ebuild,v 1.1 2003/02/01 00:27:51 lostlogic Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel || die + +OKV="2.4.20" +ACV=ac${PR/r/} +KV="${PV/_/-}-${ACV}" +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" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.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" + +KEYWORDS="x86" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv linux-${OKV} linux-${KV} || die + + cd linux-${KV} + bzcat ${DISTDIR}/patch-${PV/_/-}.bz2|patch -p1 || die "-marcelo patch failed" + bzcat ${DISTDIR}/patch-${KV}.bz2|patch -p1 || die "-ac patch failed" + + kernel_universal_unpack +} diff --git a/sys-kernel/ac-sources/ac-sources-2.4.21_pre4-r1.ebuild b/sys-kernel/ac-sources/ac-sources-2.4.21_pre4-r1.ebuild new file mode 100644 index 000000000000..aa6a7b5c1177 --- /dev/null +++ b/sys-kernel/ac-sources/ac-sources-2.4.21_pre4-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 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_pre4-r1.ebuild,v 1.1 2003/02/01 00:27:51 lostlogic Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel || die + +OKV="2.4.20" +ACV=ac${PR/r/} +KV="${PV/_/-}-${ACV}" +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" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.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" + +KEYWORDS="x86" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv linux-${OKV} linux-${KV} || die + + cd linux-${KV} + bzcat ${DISTDIR}/patch-${PV/_/-}.bz2|patch -p1 || die "-marcelo patch failed" + 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_pre3-r5 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21_pre3-r5 new file mode 100644 index 000000000000..70d2453020ba --- /dev/null +++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21_pre3-r5 @@ -0,0 +1,3 @@ +MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 +MD5 05e88403988c2fe9e5be32028fbe2004 patch-2.4.21-pre3-ac5.bz2 612352 +MD5 02036738125ace04fe4341da267a47af patch-2.4.21-pre3.bz2 1363656 diff --git a/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21_pre4-r1 b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21_pre4-r1 new file mode 100644 index 000000000000..b1b32c70e1e8 --- /dev/null +++ b/sys-kernel/ac-sources/files/digest-ac-sources-2.4.21_pre4-r1 @@ -0,0 +1,3 @@ +MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 +MD5 a335ede3527c9ffc5a3d8abf1809acd1 patch-2.4.21-pre4-ac1.bz2 568155 +MD5 2785b6bd5e775ab881af507b7ece236d patch-2.4.21-pre4.bz2 1863302 diff --git a/sys-kernel/development-sources/development-sources-2.5.59-r7.ebuild b/sys-kernel/development-sources/development-sources-2.5.59-r7.ebuild new file mode 100644 index 000000000000..cf9b287c7804 --- /dev/null +++ b/sys-kernel/development-sources/development-sources-2.5.59-r7.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.5.59-r7.ebuild,v 1.1 2003/02/01 00:27:51 lostlogic Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +#we use this next variable to avoid duplicating stuff on cvs +GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files +OKV=${PV} +if [ "${PR}" != "r0" ]; then + PATCH_URI="http://www.zipworld.com.au/~akpm/linux/patches/2.5/${PV}/${PVR/r/mm}/${PVR/r/mm}.gz" +fi +KV=${PVR/r/mm} +S=${WORKDIR}/linux-${KV} +ETYPE="sources" + +# What's in this kernel? + +# INCLUDED: +# beta 2.5.59 kernel sources with the -mm1 patch. + +DESCRIPTION="Full sources for the Gentoo Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.5/linux-${OKV}.tar.bz2 ${PATCH_URI}" +PROVIDE="virtual/linux-sources" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" +LICENSE="GPL-2" +SLOT="${KV}" +KEYWORDS="x86 ppc" + +if [ $ETYPE = "sources" ] && [ -z "`use build`" ] +then + #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. + DEPEND=">=sys-devel/binutils-2.11.90.0.31" + RDEPEND=">=sys-libs/ncurses-5.2 sys-devel/perl + sys-devel/make" +fi + +[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include" + +src_unpack() { + cd ${WORKDIR} + unpack linux-${OKV}.tar.bz2 + + if [ "${PATCH_URI}" ]; then + mv linux-${OKV} linux-${KV} + cd ${S} + zcat ${DISTDIR}/${PVR/r/mm}.gz | patch -p1 -l || \ + die "akpm patch application failure" + sed -e "s:^EXTRAVERSION.*$:EXTRAVERSION = -${PR/r/mm}:" \ + Makefile > Makefile.new + mv Makefile.new Makefile + else + cd ${S} + fi + + #sometimes we have icky kernel symbols; this seems to get rid of them + make mrproper || die + + #fix silly permissions in tarball + cd ${WORKDIR} + chown -R 0.0 * + chmod -R a+r-w+X,u+w * + +} + +src_compile() { + if [ "$ETYPE" = "headers" ] + then + yes "" | make oldconfig + echo "Ignore any errors from the yes command above." + fi +} + +src_install() { + if [ "$ETYPE" = "sources" ] + then + dodir /usr/src + echo ">>> Copying sources..." + mv ${WORKDIR}/* ${D}/usr/src + else + #linux-headers + dodir /usr/include/linux + cp -ax ${S}/include/linux/* ${D}/usr/include/linux + rm -rf ${D}/usr/include/linux/modules + dodir /usr/include/asm + cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm + fi +} + +pkg_preinst() { + if [ "$ETYPE" = "headers" ] + then + [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux + [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm + true + fi +} + +pkg_postinst() { + [ "$ETYPE" = "headers" ] && return + if [ ! -e ${ROOT}usr/src/linux-beta ] + then + + ln -sf linux-${KV} ${ROOT}/usr/src/linux-beta + fi +} diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.5.59-r7 b/sys-kernel/development-sources/files/digest-development-sources-2.5.59-r7 new file mode 100644 index 000000000000..53f03851a7cb --- /dev/null +++ b/sys-kernel/development-sources/files/digest-development-sources-2.5.59-r7 @@ -0,0 +1,2 @@ +MD5 f574000bfc8b602d0b618629ad3b001d linux-2.5.59.tar.bz2 31683004 +MD5 53767994de226a6f91eb5e8b1f78019a 2.5.59-mm7.gz 197031 |