diff options
author | Seth Chandler <sethbc@gentoo.org> | 2003-04-14 20:27:33 +0000 |
---|---|---|
committer | Seth Chandler <sethbc@gentoo.org> | 2003-04-14 20:27:33 +0000 |
commit | aadba17ce972d63720d159eeb107341c5abdf5b0 (patch) | |
tree | ff44a02db0fbbe65c96c7e51f5d6065edee34a7f /sys-kernel | |
parent | bumpage (diff) | |
download | historical-aadba17ce972d63720d159eeb107341c5abdf5b0.tar.gz historical-aadba17ce972d63720d159eeb107341c5abdf5b0.tar.bz2 historical-aadba17ce972d63720d159eeb107341c5abdf5b0.zip |
bumpage
Diffstat (limited to 'sys-kernel')
16 files changed, 7 insertions, 644 deletions
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index c30f3150f881..7ec7266a1d1e 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -1,5 +1,5 @@ MD5 80597a889e6bfb432f4fbea5e29432c1 mm-sources-2.5.67-r1.ebuild 2715 -MD5 fea0d32c6d1c20bff8a76f6272228be8 mm-sources-2.5.67-r3.ebuild 2717 +MD5 49ee09d2c4a812b469e1cbe8af971903 mm-sources-2.5.67-r3.ebuild 2714 MD5 6cd51351cf445d62101302a911d98d3b ChangeLog 3080 MD5 fea0d32c6d1c20bff8a76f6272228be8 mm-sources-2.5.67-r2.ebuild 2717 MD5 55b8a1259a616f53ed21063358d67c3c files/digest-mm-sources-2.5.67-r1 196 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r1 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r1 deleted file mode 100644 index 10c41ee550d6..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c02c665d7951788426d350ab7fab279b linux-2.5.65.tar.bz2 31889910 -MD5 878220975677a7e3058b5868854bd975 2.5.65-mm1.gz 795469 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r2 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r2 deleted file mode 100644 index a80d8cbdd718..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c02c665d7951788426d350ab7fab279b linux-2.5.65.tar.bz2 31889910 -MD5 8b196b8088e5c72f4bbfab320ecdefb4 2.5.65-mm2.gz 816558 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r3 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r3 deleted file mode 100644 index f20c5a809c51..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c02c665d7951788426d350ab7fab279b linux-2.5.65.tar.bz2 31889910 -MD5 65f3bcf8b32a8c3db706e79834ddeed1 2.5.65-mm3.gz 848725 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r4 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r4 deleted file mode 100644 index 574dff46de14..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.65-r4 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 813c6b895c7fefd84d71cd61e22bf10f /files/digest-mm-sources-2.5.65-r1 125 -MD5 455d5eee7a730bcd0830040cc901ae54 /files/digest-mm-sources-2.5.65-r2 125 -MD5 696e7de08fd4948375c772ae4b1cb780 /files/digest-mm-sources-2.5.65-r3 125 -MD5 e5841e0ad76d40b0663e929958a732f2 /files/CVS/Root 36 -MD5 4b35761b97b2071da09240fa40855972 /files/CVS/Repository 39 -MD5 d6cb9b6b74ea9873a2c62d852d7306b8 /files/CVS/Entries 182 -MD5 60b80849f1365289a3332b95fac27989 /mm-sources-2.5.65-r4.ebuild 2755 -MD5 c02c665d7951788426d350ab7fab279b linux-2.5.65.tar.bz2 31889910 -MD5 7a13b63e9b2c28aa1a8a2607cacd36a5 2.5.65-mm4.gz 2005762 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r1 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r1 deleted file mode 100644 index c43f9cb220b4..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 63887a72122e8e8cf37ff69c0f2c7266 linux-2.5.66.tar.bz2 31948134 -MD5 b6d494dad0c7552b4c0ca7bd409361da 2.5.66-mm1.gz 881286 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r2 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r2 deleted file mode 100644 index aa7f5f28c669..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 63887a72122e8e8cf37ff69c0f2c7266 linux-2.5.66.tar.bz2 31948134 -MD5 02aff6b39293fde34786f7708357d434 2.5.66-mm2-1.gz 1290086 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r3 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r3 deleted file mode 100644 index 45027a53b0e3..000000000000 --- a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.66-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f6a7bc316944f5f093696d5b2509033b /mm-sources-2.5.66-r3.ebuild 2758 -MD5 63887a72122e8e8cf37ff69c0f2c7266 linux-2.5.66.tar.bz2 31948134 -MD5 ab1e30b7db28e0178a6f047ececc25f4 2.5.66-mm3.gz 1431108 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.67-r3 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.67-r3 new file mode 100644 index 000000000000..cc7604c2d678 --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.67-r3 @@ -0,0 +1,2 @@ +MD5 8d626f9c2e1234d140012aa5f8fdebd2 linux-2.5.67.tar.bz2 32009373 +MD5 0f11d4e504aaef0d3bc71dcd963e7ebe 2.5.67-mm3.gz 2136398 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.65-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.65-r1.ebuild deleted file mode 100644 index c3ee47da2f98..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.65-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.65-r1.ebuild,v 1.1 2003/03/19 06:17:09 lostlogic Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/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: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.65-r2.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.65-r2.ebuild deleted file mode 100644 index 353ec480193d..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.65-r2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.65-r2.ebuild,v 1.1 2003/03/20 02:17:54 lostlogic Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/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: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.65-r3.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.65-r3.ebuild deleted file mode 100644 index 4556bc12c144..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.65-r3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.65-r3.ebuild,v 1.1 2003/03/21 08:18:48 sethbc Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/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: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.65-r4.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.65-r4.ebuild deleted file mode 100644 index 649ecd37746e..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.65-r4.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.65-r4.ebuild,v 1.1 2003/03/23 10:16:04 sethbc Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/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: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.66-r2.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.66-r2.ebuild deleted file mode 100644 index 137fdb053742..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.66-r2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.66-r2.ebuild,v 1.1 2003/04/01 10:28:59 sethbc Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/${PV}/${PVR/r/mm}/${PVR/r/mm}-1.gz" -fi -KV=${PVR/r/mm} -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.66-r3.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.66-r3.ebuild deleted file mode 100644 index 20a3a4610443..000000000000 --- a/sys-kernel/mm-sources/mm-sources-2.5.66-r3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.66-r3.ebuild,v 1.1 2003/04/03 16:20:29 lostlogic Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -OKV=${PV} -if [ "${PR}" != "r0" ]; then - PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/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: -# The development branch of the linux kernel with Andrew Morton's patch - -DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset" -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 dev-lang/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/mm-sources/mm-sources-2.5.66-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.67-r3.ebuild index bb91f53ee844..ff7bfcb9b7db 100644 --- a/sys-kernel/mm-sources/mm-sources-2.5.66-r1.ebuild +++ b/sys-kernel/mm-sources/mm-sources-2.5.67-r3.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.66-r1.ebuild,v 1.1 2003/03/26 15:31:14 sethbc Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.5.67-r3.ebuild,v 1.1 2003/04/14 20:27:28 sethbc Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. +inherit eutils + OKV=${PV} if [ "${PR}" != "r0" ]; then PATCH_URI="http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/${PV}/${PVR/r/mm}/${PVR/r/mm}.gz" @@ -41,8 +43,7 @@ src_unpack() { 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" + epatch ${DISTDIR}/${PVR/r/mm}.gz sed -e "s:^EXTRAVERSION.*$:EXTRAVERSION = -${PR/r/mm}:" \ Makefile > Makefile.new mv Makefile.new Makefile |