diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-04-16 22:44:48 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-04-16 22:44:48 +0000 |
commit | 7bed8e3b48369791bc6a48f6145d7f23874f3a20 (patch) | |
tree | cb3cd7bc1837fad465a65ababf564f39e3ac9422 /sys-kernel | |
parent | Version bump. (diff) | |
download | historical-7bed8e3b48369791bc6a48f6145d7f23874f3a20.tar.gz historical-7bed8e3b48369791bc6a48f6145d7f23874f3a20.tar.bz2 historical-7bed8e3b48369791bc6a48f6145d7f23874f3a20.zip |
cleaned out old ebuilds
Diffstat (limited to 'sys-kernel')
17 files changed, 6 insertions, 961 deletions
diff --git a/sys-kernel/openmosix-sources/ChangeLog b/sys-kernel/openmosix-sources/ChangeLog index 205c5ad77622..cfd7dff89d0a 100644 --- a/sys-kernel/openmosix-sources/ChangeLog +++ b/sys-kernel/openmosix-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/openmosix-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.17 2003/02/12 09:17:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.18 2003/04/16 22:44:48 tantive Exp $ + +*openmosix-sources-2.4.20-r3 (18 Apr 2003) + + 18 Apr 2003; Michael Imhof <tantive@gentoo.org> + Version bumped, including vanilla sources and openmosix-2.4.20-2 *openmosix-sources-2.4.20-r2 (26 Jan 2003) @@ -17,77 +22,3 @@ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords -*openmosix-sources-2.4.19-r8 (19 Nov 2002) - - 19 Nov 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: New openmosix-2.4.19-7 should fix problems with ext3 - and is 100% gcc3 compatible. - -*openmosix-sources-2.4.19-r7 (18 Oct 2002) - - 18 Oct 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-6 and evms 1.2.0 (and the gcc3 compile patch). - This revision should fix most of the known issues. - -*openmosix-sources-2.4.19-r6 (05 Oct 2002) - - 05 Oct 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-4 and evms 1.2.0 (and the gcc3 compile patch). - -*openmosix-sources-2.4.19-r5 (18 Sep 2002) - - 18 Sep 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-4 and evms 1.1.0 (and the gcc3 compile patch). - -*openmosix-sources-2.4.18-r5 (16 Sep 2002) - - 16 Sep 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.18-4 and evms 1.1.0 - -*openmosix-sources-2.4.19-r4 (08 Sep 2002) - - 08 Sep 2002; Michael Imhof <tantive@gentoo.org> - Added a patch to compile using gcc3. - -*openmosix-sources-2.4.19-r3 (02 Sep 2002) - - 02 Sep 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-3 and evms 1.1.0 - - 03 Sep 2002; Michael Imhof <tantive@gentoo.org> - Verified that this kernel compiles on gcc-3.2 systems, - removed DEPEND="<sys-devel/gcc-3" - -*openmosix-sources-2.4.19-r2 (27 Aug 2002) - - 27 Aug 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-2 and evms 1.1.0 - -*openmosix-sources-2.4.19-r1 (27 Aug 2002) - - 27 Aug 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: Including openmosix-2.4.19-1 and evms 1.1.0 - -*openmosix-sources-2.4.18-r4 (16 Aug 2002) - - 16 Aug 2002; Michael Imhof <tantive@gentoo.org> - Version bumped: This kernel now includes openmosix-2.4.18-3 and evms 1.1.0 - -*openmosix-sources-2.4.18-r3 (08 Aug 2002) - - 08 Aug 2002; Michael Imhof <tantive@gentoo.org> - Added evms-1.1.0 patches. - This kernel now contains openmosix and evms. - -*openmosix-sources-2.4.18-r2 (07 Aug 2002) - - 07 Aug 2002; Michael Imhof <tantive@gentoo.org> - Updated to newer kernel version (2.4.18) - -*openmosix-sources-2.4.17-r2 (09 Jul 2002) - - 15 Jul 2002; Mark Guertin <gerk@gentoo.org> - Added arch keywords (-ppc -sparc -sparc64) - - 09 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> ChangeLog : - Added ChangeLog. diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r1 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r1 deleted file mode 100644 index 45ab604c474f..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 c57357aae101e0bff1adaa3c4f0efda6 linux-gentoo-2.4.19-openmosix-r1.patch.bz2 459552 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r2 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r2 deleted file mode 100644 index 1eb1210b8ad5..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 b91bb39a84e41a8b951a7752ed6a2d41 linux-gentoo-2.4.19-openmosix-r2.patch.bz2 461073 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r3 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r3 deleted file mode 100644 index 0f20fd3d30f0..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 333bd20d1c0424c703164e758225e244 linux-gentoo-2.4.19-openmosix-r3.patch.bz2 462412 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r4 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r4 deleted file mode 100644 index 4fbbd2ffa457..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 333bd20d1c0424c703164e758225e244 linux-gentoo-2.4.19-openmosix-r4.patch.bz2 462412 -MD5 2d91247ccae3dffe0aefb053c5f60183 linux-gentoo-2.4.19-openmosix-r4-gcc3.patch.bz2 322 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r5 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r5 deleted file mode 100644 index c29cdbbe4307..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 b8b8ee122914c5f874ef811b56f91c28 linux-gentoo-2.4.19-openmosix-r5.patch.bz2 463057 -MD5 deeb285ed6754146306564fbdca65ddc linux-gentoo-2.4.19-openmosix-r5-gcc3.patch.bz2 362 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r6 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r6 deleted file mode 100644 index 4a3f3e96e71d..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 4200d7cf567fa7c3ee525d8ec4baf39a linux-gentoo-2.4.19-openmosix-r6.patch.bz2 461967 -MD5 deeb285ed6754146306564fbdca65ddc linux-gentoo-2.4.19-openmosix-r6-gcc3.patch.bz2 362 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r7 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r7 deleted file mode 100644 index 38b0c57681ac..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 6e9f84f0f620fe355f6f7cde49e25d4f linux-gentoo-2.4.19-openmosix-r7.patch.bz2 453071 -MD5 deeb285ed6754146306564fbdca65ddc linux-gentoo-2.4.19-openmosix-r7-gcc3.patch.bz2 362 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r8 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r8 deleted file mode 100644 index 9f6e13a41955..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.19-r8 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494 -MD5 f75afeec151fada7a79650bef50124b3 linux-gentoo-2.4.19-openmosix-r8.patch.bz2 458727 diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r1.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r1.ebuild deleted file mode 100644 index 849e6116213f..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r1.ebuild +++ /dev/null @@ -1,104 +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/openmosix-sources/openmosix-sources-2.4.19-r1.ebuild,v 1.9 2003/03/24 23:34:01 drobbins 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=2.4.19 -KV=2.4.19-openmosix-r1 -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-1 -# 2.4.19 evms-1.1.0 (evms-linux-2.4.19-common-files, evms-1.1.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" -DEPEND="<sys-devel/gcc-3" - -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 virtual/modutils 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 - mv linux-${OKV} linux-{KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r2.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r2.ebuild deleted file mode 100644 index 0b70cca028e9..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r2.ebuild +++ /dev/null @@ -1,105 +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/openmosix-sources/openmosix-sources-2.4.19-r2.ebuild,v 1.9 2003/03/24 23:34:01 drobbins 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=2.4.19 -KV=2.4.19-openmosix-r2 -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-2 -# 2.4.19 evms-1.1.0 (evms-linux-2.4.19-common-files, evms-1.1.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" -DEPEND="<sys-devel/gcc-3" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r3.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r3.ebuild deleted file mode 100644 index 79e2d59b9b7c..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r3.ebuild +++ /dev/null @@ -1,104 +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/openmosix-sources/openmosix-sources-2.4.19-r3.ebuild,v 1.10 2003/03/24 23:34:01 drobbins 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=2.4.19 -KV=2.4.19-openmosix-r3 -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-3 -# 2.4.19 evms-1.1.0 (evms-linux-2.4.19-common-files, evms-1.1.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" -DEPEND="<sys-devel/gcc-3" - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r4.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r4.ebuild deleted file mode 100644 index 862a010bcbb5..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r4.ebuild +++ /dev/null @@ -1,110 +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/openmosix-sources/openmosix-sources-2.4.19-r4.ebuild,v 1.10 2003/03/24 23:34:01 drobbins 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=2.4.19 -KV=2.4.19-openmosix-r4 -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-3 -# 2.4.19 evms-1.1.0 (evms-linux-2.4.19-common-files, evms-1.1.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) -# for gcc3 there is a patch applied that let's you compile this kernel with gcc3. - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}-gcc3.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #if the used gcc is gcc3 there is a seperate patch applied. - if [ `gcc -dumpversion | cut -d. -f1` == 3 ]; then - cat ${DISTDIR}/linux-gentoo-${KV}-gcc3.patch.bz2 | bzip2 -d | patch -p1 || die - fi - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - Makefile.orig >Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r5.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r5.ebuild deleted file mode 100644 index 803ce262485d..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r5.ebuild +++ /dev/null @@ -1,113 +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/openmosix-sources/openmosix-sources-2.4.19-r5.ebuild,v 1.11 2003/03/24 23:34:01 drobbins 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=2.4.19 -#KV=2.4.19-openmosix-r5 -[ "${PR}" == "r0" ] && KV=${OKV}-openmosix || KV=${OKV}-openmosix-${PR} -EXTRAVERSION="`echo ${KV}|sed -e 's:[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\):\1:'`" -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-4 -# 2.4.19 evms-1.1.0 (evms-linux-2.4.19-common-files, evms-1.1.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) -# for gcc3 there is a patch applied that let's you compile this kernel with gcc3. - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}-gcc3.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #if the used gcc is gcc3 there is a seperate patch applied. - if [ `gcc -dumpversion | cut -d. -f1` == 3 ]; then - cat ${DISTDIR}/linux-gentoo-${KV}-gcc3.patch.bz2 | bzip2 -d | patch -p1 || die - fi - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \ - Makefile.orig > Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r6.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r6.ebuild deleted file mode 100644 index ab2220e22e60..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r6.ebuild +++ /dev/null @@ -1,112 +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/openmosix-sources/openmosix-sources-2.4.19-r6.ebuild,v 1.9 2003/03/24 23:34:01 drobbins 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=2.4.19 -[ "${PR}" == "r0" ] && KV=${OKV}-openmosix || KV=${OKV}-openmosix-${PR} -EXTRAVERSION="`echo ${KV}|sed -e 's:[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\):\1:'`" -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-4 -# 2.4.19 evms-1.2.0 (evms-linux-2.4.19-common-files, evms-1.2.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) -# for gcc3 there is a patch applied that helps you compiling this kernel using gcc3. - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}-gcc3.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #if the used gcc is gcc3 there is a seperate patch applied. - if [ `gcc -dumpversion | cut -d. -f1` == 3 ]; then - cat ${DISTDIR}/linux-gentoo-${KV}-gcc3.patch.bz2 | bzip2 -d | patch -p1 || die - fi - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \ - Makefile.orig > Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r7.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r7.ebuild deleted file mode 100644 index b190cf4e885d..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r7.ebuild +++ /dev/null @@ -1,112 +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/openmosix-sources/openmosix-sources-2.4.19-r7.ebuild,v 1.8 2003/03/24 23:34:01 drobbins 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=2.4.19 -[ "${PR}" == "r0" ] && KV=${OKV}-openmosix || KV=${OKV}-openmosix-${PR} -EXTRAVERSION="`echo ${KV}|sed -e 's:[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\):\1:'`" -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-6 -# 2.4.19 evms-1.2.0 (evms-linux-2.4.19-common-files, evms-1.2.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) -# for gcc3 there is a patch applied that helps you compiling this kernel using gcc3. - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}-gcc3.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #if the used gcc is gcc3 there is a seperate patch applied. - if [ `gcc -dumpversion | cut -d. -f1` == 3 ]; then - cat ${DISTDIR}/linux-gentoo-${KV}-gcc3.patch.bz2 | bzip2 -d | patch -p1 || die - fi - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \ - Makefile.orig > Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r8.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r8.ebuild deleted file mode 100644 index 6797625e2e19..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.19-r8.ebuild +++ /dev/null @@ -1,106 +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/openmosix-sources/openmosix-sources-2.4.19-r8.ebuild,v 1.8 2003/03/24 23:34:01 drobbins 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=2.4.19 -[ "${PR}" == "r0" ] && KV=${OKV}-openmosix || KV=${OKV}-openmosix-${PR} -EXTRAVERSION="`echo ${KV}|sed -e 's:[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\):\1:'`" -S=${WORKDIR}/linux-${KV} -ETYPE="sources" - -# What's in this kernel? - -# INCLUDED: -# 2.4.19, plus: -# 2.4.19 openmosix-2.4.19-7 -# 2.4.19 evms-1.2.0 (evms-linux-2.4.19-common-files, evms-1.2.0-linux-2.4.patch, linux-2.4.19.VFS-lock.patch) - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-${KV}.patch.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 -ppc -sparc -alpha" - - -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 virtual/modutils 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 - mv linux-${OKV} linux-${KV} || die - cd ${S} - cat ${DISTDIR}/linux-gentoo-${KV}.patch.bz2 | bzip2 -d | patch -p1 || die - - #sometimes we have icky kernel symbols; this seems to get rid of them - make mrproper || die - - #this file is required for other things to build properly, so we autogenerate it - make include/linux/version.h || die - - #fix silly permissions in tarball - cd ${WORKDIR} - chown -R 0.0 * - chmod -R a+r-w+X,u+w * - - # Gentoo Linux uses /boot, so fix 'make install' to work properly - cd ${S} - mv Makefile Makefile.orig - sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ - -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \ - Makefile.orig > Makefile || die # test, remove me if Makefile ok - rm Makefile.orig -} - -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 ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} |