diff options
author | John Mylchreest <johnm@gentoo.org> | 2004-01-11 23:03:40 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2004-01-11 23:03:40 +0000 |
commit | 7ed0cfb22858601a6bbff9184e671ce992dac86b (patch) | |
tree | d299561d381a34b0e86957d827c2ae368a010dee /sys-kernel | |
parent | Marked stable on hppa. (diff) | |
download | historical-7ed0cfb22858601a6bbff9184e671ce992dac86b.tar.gz historical-7ed0cfb22858601a6bbff9184e671ce992dac86b.tar.bz2 historical-7ed0cfb22858601a6bbff9184e671ce992dac86b.zip |
might actually help if i deleted the files eh?
Diffstat (limited to 'sys-kernel')
10 files changed, 0 insertions, 658 deletions
diff --git a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0 b/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0 deleted file mode 100644 index 26eeecbcebfe..000000000000 --- a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 8d87ca955f4ef2dca114bfb73c689934 genpatches-2.6-0.9.tar.bz2 337422 diff --git a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r1 b/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r1 deleted file mode 100644 index 2a08d210b4bd..000000000000 --- a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 2a7f8fdad02299d9457d3dafed66c5e4 genpatches-2.6-0.10.tar.bz2 504119 diff --git a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r2 b/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r2 deleted file mode 100644 index db800e84d4de..000000000000 --- a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.0-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 a882443feae9e80ba0e0cab2b6fc9a5b genpatches-2.6-0.10.5.tar.bz2 504373 diff --git a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1 b/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1 deleted file mode 100644 index 59e713763fa0..000000000000 --- a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 c3d3c57560c53b86709477f38621d9d5 patch-2.6.1-rc1.bz2 726490 -MD5 9d48ab85c8e7a4af8fa70633d24e5d7a genpatches-2.6-1.12.tar.bz2 495009 diff --git a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1-r1 b/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1-r1 deleted file mode 100644 index 121ede24f9cc..000000000000 --- a/sys-kernel/gentoo-dev-sources/files/digest-gentoo-dev-sources-2.6.1_rc1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 c3d3c57560c53b86709477f38621d9d5 patch-2.6.1-rc1.bz2 726490 -MD5 b6bdef2164000d85481811a8da5b2f53 genpatches-2.6-1.13.tar.bz2 523724 diff --git a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r1.ebuild b/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r1.ebuild deleted file mode 100644 index 305507cb656b..000000000000 --- a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r1.ebuild,v 1.2 2004/01/05 21:43:49 brad_mssw Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel - -#Original Kernel Version before Patches -# eg: 2.6.0-test8 -OKV=${PV/_beta/-test} -OKV=${OKV/-r*//} - -#version of gentoo patchset -GPV=0.10 - -[ ${PR} == "r0" ] && EXTRAVERSION="-gentoo" || EXTRAVERSION="-gentoo-${PR}" -KV=${OKV}${EXTRAVERSION} - -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the development branch of the Linux kernel (2.6)" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" -GPV_SRC="http://dev.gentoo.org/~brad_mssw/kernel_patches/2.6.0/genpatches-2.6-${GPV}.tar.bz2" -#GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" -SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 - ${GPV_SRC}" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* ~x86 ~amd64 ~mips ~hppa ~sparc ~alpha" -PROVIDE="virtual/linux-sources virtual/alsa" - -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 - sys-apps/module-init-tools" -fi - -src_unpack() { - cd ${WORKDIR} - unpack genpatches-2.6-${GPV}.tar.bz2 - unpack linux-${OKV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die "Unable to move source tree to ${KV}." - cd ${S} - - # apply gentoo patches - # epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 - PATCHES=`find ${WORKDIR}/genpatches-${GPV} -type f -name *.patch | sort` - for file in ${PATCHES} - do - epatch $file - done - - # Our EXTRAVERSION needs to be appended to the end for the Makefile - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:EXTRAVERSION \(=.*\):EXTRAVERSION \1${EXTRAVERSION}:" Makefile > Makefile.new - -# rm -f Makefile -# mv Makefile.new Makefile - - kernel_universal_unpack - - # Working around a bug in kernel.eclass, move the .new file after universal_unpack - rm -f Makefile - mv Makefile.new Makefile -} - -pkg_install() { - kernel_src_install -} - -pkg_postinst() { - kernel_pkg_postinst - - if [ ! -h "/usr/src/linux-beta" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux-beta - fi - - if [ ! -h "/usr/src/linux" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux - fi - - # Don't forget to make directory for sysfs - if [ ! -d "/sys" ] - then - mkdir /sys - fi - - echo - eerror "IMPORTANT:" - eerror "ptyfs support has now been dropped from devfs and as a" - eerror "result you are now required to compile this support into" - eerror "the kernel. You can do so by enabling the following option" - eerror " File systems -> Pseudo filesystems -> /dev/pts filesystem." - echo - eerror "To prevent the problem while uncompressing the kernel image" - eerror "you should also enable:" - eerror " Input Devices (Input Device Support -> Input Devices)," - eerror " Virtual Terminal (Character Devices -> Virtual Terminal)," - eerror " vga_console (Graphics Support -> Console... -> VGA Text Console)" - eerror " vt_console (Character Devices -> Support for Console...)." - echo -} diff --git a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r2.ebuild b/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r2.ebuild deleted file mode 100644 index 6bba9d8d6533..000000000000 --- a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0-r2.ebuild,v 1.4 2004/01/05 22:00:49 johnm Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel - -#Original Kernel Version before Patches -# eg: 2.6.0-test8 -OKV=${PV/_beta/-test} -OKV=${OKV/-r*//} - -#version of gentoo patchset -GPV=0.10.5 - -[ ${PR} == "r0" ] && EXTRAVERSION="-gentoo" || EXTRAVERSION="-gentoo-${PR}" -KV=${OKV}${EXTRAVERSION} - -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the development branch of the Linux kernel (2.6)" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" -GPV_SRC="http://dev.gentoo.org/~brad_mssw/kernel_patches/DO_NOT_UPLOAD_TO_MIRRORS_WITHOUT_ASKING_ME_FIRST/genpatches-2.6-${GPV}.tar.bz2" -#GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" -SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 - ${GPV_SRC}" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 amd64 ~mips ~hppa ~sparc ~alpha" -PROVIDE="virtual/linux-sources virtual/alsa" -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 - sys-apps/module-init-tools" -fi - -src_unpack() { - cd ${WORKDIR} - unpack genpatches-2.6-${GPV}.tar.bz2 - unpack linux-${OKV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die "Unable to move source tree to ${KV}." - cd ${S} - - # apply gentoo patches - # epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 - PATCHES=`find ${WORKDIR}/genpatches-${GPV} -type f -name *.patch | sort` - for file in ${PATCHES} - do - epatch $file - done - - # Our EXTRAVERSION needs to be appended to the end for the Makefile - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:EXTRAVERSION \(=.*\):EXTRAVERSION \1${EXTRAVERSION}:" Makefile > Makefile.new - -# rm -f Makefile -# mv Makefile.new Makefile - - kernel_universal_unpack - - # Working around a bug in kernel.eclass, move the .new file after universal_unpack - rm -f Makefile - mv Makefile.new Makefile -} - -pkg_install() { - kernel_src_install -} - -pkg_postinst() { - kernel_pkg_postinst - - if [ ! -h "/usr/src/linux-beta" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux-beta - fi - - if [ ! -h "/usr/src/linux" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux - fi - - # Don't forget to make directory for sysfs - if [ ! -d "/sys" ] - then - mkdir /sys - fi - - echo - ewarn "Please note that ptyfs support has been removed from devfs" - ewarn "and you have to compile it in now, or else you will get" - ewarn "errors when trying to open a pty. The options are:" - ewarn "Device Drivers -> Character devices -> Unix98 PTY support and" - ewarn "File systems -> Pseudo filesystems -> /dev/pts filesystem." - echo - ewarn "Also, note that you must compile in support for" - ewarn "input devices (Input device support->Input devices)," - ewarn "the virtual terminal (Character Devices->Virtual terminal)," - ewarn "vga_console (Graphics Support->Console...->VGA text console)" - ewarn "and the vt_console (Character Devices->Support for console...)." - ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\"" - ewarn "error." - echo -} diff --git a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0.ebuild b/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0.ebuild deleted file mode 100644 index eeb7a0a5455d..000000000000 --- a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.0.ebuild,v 1.4 2004/01/05 21:43:49 brad_mssw Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel - -#Original Kernel Version before Patches -# eg: 2.6.0-test8 -OKV=${PV/_beta/-test} -OKV=${OKV/-r*//} - -#version of gentoo patchset -GPV=0.9 - -[ ${PR} == "r0" ] && EXTRAVERSION="-gentoo" || EXTRAVERSION="-gentoo-${PR}" -KV=${OKV}${EXTRAVERSION} - -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the development branch of the Linux kernel (2.6)" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" -GPV_SRC="http://dev.gentoo.org/~brad_mssw/kernel_patches/2.6.0/genpatches-2.6-${GPV}.tar.bz2" -#GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" -SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 - ${GPV_SRC}" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* x86 amd64 ~mips ~hppa ~sparc ~alpha" -PROVIDE="virtual/linux-sources virtual/alsa" - -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 - sys-apps/module-init-tools" -fi - -src_unpack() { - cd ${WORKDIR} - unpack genpatches-2.6-${GPV}.tar.bz2 - unpack linux-${OKV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die "Unable to move source tree to ${KV}." - cd ${S} - - # apply gentoo patches - # epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 - PATCHES=`find ${WORKDIR}/genpatches-${GPV} -type f -name *.patch | sort` - for file in ${PATCHES} - do - epatch $file - done - - # Our EXTRAVERSION needs to be appended to the end for the Makefile - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:EXTRAVERSION \(=.*\):EXTRAVERSION \1${EXTRAVERSION}:" Makefile > Makefile.new - -# rm -f Makefile -# mv Makefile.new Makefile - - kernel_universal_unpack - - # Working around a bug in kernel.eclass, move the .new file after universal_unpack - rm -f Makefile - mv Makefile.new Makefile -} - -pkg_install() { - kernel_src_install -} - -pkg_postinst() { - kernel_pkg_postinst - - if [ ! -h "/usr/src/linux-beta" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux-beta - fi - - if [ ! -h "/usr/src/linux" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux - fi - - # Don't forget to make directory for sysfs - if [ ! -d "/sys" ] - then - mkdir /sys - fi - - echo - eerror "IMPORTANT:" - eerror "ptyfs support has now been dropped from devfs and as a" - eerror "result you are now required to compile this support into" - eerror "the kernel. You can do so by enabling the following option" - eerror " File systems -> Pseudo filesystems -> /dev/pts filesystem." - echo - eerror "To prevent the problem while uncompressing the kernel image" - eerror "you should also enable:" - eerror " Input Devices (Input Device Support -> Input Devices)," - eerror " Virtual Terminal (Character Devices -> Virtual Terminal)," - eerror " vga_console (Graphics Support -> Console... -> VGA Text Console)" - eerror " vt_console (Character Devices -> Support for Console...)." - echo -} diff --git a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1-r1.ebuild b/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1-r1.ebuild deleted file mode 100644 index 0de194e21a14..000000000000 --- a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1-r1.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1-r1.ebuild,v 1.1 2004/01/06 14:04:32 brad_mssw Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel - -# Kernel Version before Gentoo Patches -TKV=${PV/-r*/} -OKV=${TKV/_rc/-rc} -OKV=${OKV/_pre/-bk} - -KVONLY=${OKV/-*/} -KEXT=${TKV/${KVONLY}/} -KMAJ=`echo ${KVONLY} | cut -d. -f1` -KMIN=`echo ${KVONLY} | cut -d. -f2` -KREL=`echo ${KVONLY} | cut -d. -f3` - -# Kernel Version before official Patches -if [ "${KEXT}" = "" ] -then - OFFICIAL_KV=${KVONLY} -else - OFFICIAL_KV="${KMAJ}.${KMIN}.`expr ${KREL} - 1`" -fi - -#version of gentoo patchset -# set to 0 for no patchset -GPV=1.13 - -[ ${PR} == "r0" ] && EXTRAVERSION="-gentoo" || EXTRAVERSION="-gentoo-${PR}" -KV=${OKV}${EXTRAVERSION} - -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the development branch of the Linux kernel (2.6)" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -if [ "${GPV}" != "0" ] -then - GPV_SRC="http://dev.gentoo.org/~brad_mssw/kernel_patches/DO_NOT_UPLOAD_TO_MIRRORS_WITHOUT_ASKING_ME_FIRST/genpatches-2.6-${GPV}.tar.bz2" -# GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" -fi -if [ "${KEXT}" != "" ] -then - KP_SRC="mirror://kernel/linux/kernel/v2.6/testing/patch-${OKV}.bz2" -fi - -SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OFFICIAL_KV}.tar.bz2 - ${KP_SRC} - ${GPV_SRC}" -LICENSE="GPL-2" -SLOT="${KV}" -#KEYWORDS="-*" -KEYWORDS="-* ~x86 ~amd64 ~mips ~hppa ~sparc ~alpha" -PROVIDE="virtual/linux-sources virtual/alsa" -#RESTRICT="nomirror" - -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 - sys-apps/module-init-tools" -fi - -src_unpack() { - if [ "${KEYWORDS}" = "-*" ] - then - ewarn "------------------READ THIS BEFORE CONTINUING!!!!!---------------------" - ewarn "This ebuild is KEYWORDED -*. This usually means it is in developement," - ewarn "and may be missing important files, patches, etc. It is NOT for general" - ewarn "use and you MUST NOT report bugs on this because you should not be using" - ewarn "ebuilds KEYWORDED -*. I strongly suggest you reconsider testing this" - ewarn "ebuild. brad_mssw will kill you if you report bugs on errors with this" - ewarn "ebuild. YOU HAVE BEEN WARNED!" - ewarn "-----------------------------------------------------------------------" - sleep 10 - fi - - cd ${WORKDIR} - - if [ "${GPV}" != "0" ] - then - unpack genpatches-2.6-${GPV}.tar.bz2 - fi - unpack linux-${OFFICIAL_KV}.tar.bz2 - mv linux-${OFFICIAL_KV} linux-${KV} || die "Unable to move source tree to ${KV}." - cd ${S} - - if [ "${KEXT}" != "" ] - then - epatch "${DISTDIR}/patch-${OKV}.bz2" - fi - - if [ "${GPV}" != "0" ] - then - # apply gentoo patches - # epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 - PATCHES=`find ${WORKDIR}/genpatches-2.6-${GPV} -type f -name *.patch | sort` - for file in ${PATCHES} - do - epatch $file - done - fi - - # Our EXTRAVERSION needs to be appended to the end for the Makefile - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:EXTRAVERSION \(=.*\):EXTRAVERSION \1${EXTRAVERSION}:" Makefile > Makefile.new - -# rm -f Makefile -# mv Makefile.new Makefile - - kernel_universal_unpack - - # Working around a bug in kernel.eclass, move the .new file after universal_unpack - rm -f Makefile - mv Makefile.new Makefile -} - -pkg_install() { - kernel_src_install -} - -pkg_postinst() { - kernel_pkg_postinst - - if [ ! -h "/usr/src/linux-beta" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux-beta - fi - - if [ ! -h "/usr/src/linux" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux - fi - - # Don't forget to make directory for sysfs - if [ ! -d "/sys" ] - then - mkdir /sys - fi - - echo - ewarn "Please note that ptyfs support has been removed from devfs" - ewarn "and you have to compile it in now, or else you will get" - ewarn "errors when trying to open a pty. The options are:" - ewarn "Device Drivers -> Character devices -> Unix98 PTY support and" - ewarn "File systems -> Pseudo filesystems -> /dev/pts filesystem." - echo - ewarn "Also, note that you must compile in support for" - ewarn "input devices (Input device support->Input devices)," - ewarn "the virtual terminal (Character Devices->Virtual terminal)," - ewarn "vga_console (Graphics Support->Console...->VGA text console)" - ewarn "and the vt_console (Character Devices->Support for console...)." - ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\"" - ewarn "error." - echo -} diff --git a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1.ebuild b/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1.ebuild deleted file mode 100644 index c66110aabd2d..000000000000 --- a/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.1_rc1.ebuild,v 1.8 2004/01/05 22:00:49 johnm Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel - -# Kernel Version before Gentoo Patches -TKV=${PV/-r*/} -OKV=${TKV/_rc/-rc} -OKV=${OKV/_pre/-bk} - -KVONLY=${OKV/-*/} -KEXT=${TKV/${KVONLY}/} -KMAJ=`echo ${KVONLY} | cut -d. -f1` -KMIN=`echo ${KVONLY} | cut -d. -f2` -KREL=`echo ${KVONLY} | cut -d. -f3` - -# Kernel Version before official Patches -if [ "${KEXT}" = "" ] -then - OFFICIAL_KV=${KVONLY} -else - OFFICIAL_KV="${KMAJ}.${KMIN}.`expr ${KREL} - 1`" -fi - -#version of gentoo patchset -# set to 0 for no patchset -GPV=1.12 - -[ ${PR} == "r0" ] && EXTRAVERSION="-gentoo" || EXTRAVERSION="-gentoo-${PR}" -KV=${OKV}${EXTRAVERSION} - -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the development branch of the Linux kernel (2.6)" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" - -if [ "${GPV}" != "0" ] -then - GPV_SRC="http://dev.gentoo.org/~brad_mssw/kernel_patches/DO_NOT_UPLOAD_TO_MIRRORS_WITHOUT_ASKING_ME_FIRST/genpatches-2.6-${GPV}.tar.bz2" -# GPV_SRC="mirror://gentoo/genpatches-2.6-${GPV}.tar.bz2" -fi -if [ "${KEXT}" != "" ] -then - KP_SRC="mirror://kernel/linux/kernel/v2.6/testing/patch-${OKV}.bz2" -fi - -SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OFFICIAL_KV}.tar.bz2 - ${KP_SRC} - ${GPV_SRC}" -LICENSE="GPL-2" -SLOT="${KV}" -#KEYWORDS="-*" -KEYWORDS="-* ~x86 ~amd64 ~mips ~hppa ~sparc ~alpha" -PROVIDE="virtual/linux-sources virtual/alsa" -#RESTRICT="nomirror" - -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 - sys-apps/module-init-tools" -fi - -src_unpack() { - if [ "${KEYWORDS}" = "-*" ] - then - ewarn "------------------READ THIS BEFORE CONTINUING!!!!!---------------------" - ewarn "This ebuild is KEYWORDED -*. This usually means it is in developement," - ewarn "and may be missing important files, patches, etc. It is NOT for general" - ewarn "use and you MUST NOT report bugs on this because you should not be using" - ewarn "ebuilds KEYWORDED -*. I strongly suggest you reconsider testing this" - ewarn "ebuild. brad_mssw will kill you if you report bugs on errors with this" - ewarn "ebuild. YOU HAVE BEEN WARNED!" - ewarn "-----------------------------------------------------------------------" - sleep 10 - fi - - cd ${WORKDIR} - - if [ "${GPV}" != "0" ] - then - unpack genpatches-2.6-${GPV}.tar.bz2 - fi - unpack linux-${OFFICIAL_KV}.tar.bz2 - mv linux-${OFFICIAL_KV} linux-${KV} || die "Unable to move source tree to ${KV}." - cd ${S} - - if [ "${KEXT}" != "" ] - then - epatch "${DISTDIR}/patch-${OKV}.bz2" - fi - - if [ "${GPV}" != "0" ] - then - # apply gentoo patches - # epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 - PATCHES=`find ${WORKDIR}/genpatches-2.6-${GPV} -type f -name *.patch | sort` - for file in ${PATCHES} - do - epatch $file - done - fi - - # Our EXTRAVERSION needs to be appended to the end for the Makefile - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:EXTRAVERSION \(=.*\):EXTRAVERSION \1${EXTRAVERSION}:" Makefile > Makefile.new - -# rm -f Makefile -# mv Makefile.new Makefile - - kernel_universal_unpack - - # Working around a bug in kernel.eclass, move the .new file after universal_unpack - rm -f Makefile - mv Makefile.new Makefile -} - -pkg_install() { - kernel_src_install -} - -pkg_postinst() { - kernel_pkg_postinst - - if [ ! -h "/usr/src/linux-beta" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux-beta - fi - - if [ ! -h "/usr/src/linux" ] - then - ln -sf /usr/src/linux-${KV} ${ROOT}/usr/src/linux - fi - - # Don't forget to make directory for sysfs - if [ ! -d "/sys" ] - then - mkdir /sys - fi - - echo - ewarn "Please note that ptyfs support has been removed from devfs" - ewarn "and you have to compile it in now, or else you will get" - ewarn "errors when trying to open a pty. The options are:" - ewarn "Device Drivers -> Character devices -> Unix98 PTY support and" - ewarn "File systems -> Pseudo filesystems -> /dev/pts filesystem." - echo - ewarn "Also, note that you must compile in support for" - ewarn "input devices (Input device support->Input devices)," - ewarn "the virtual terminal (Character Devices->Virtual terminal)," - ewarn "vga_console (Graphics Support->Console...->VGA text console)" - ewarn "and the vt_console (Character Devices->Support for console...)." - ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\"" - ewarn "error." - echo -} |