summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Pfeifer <pfeifer@gentoo.org>2003-05-08 21:24:18 +0000
committerJay Pfeifer <pfeifer@gentoo.org>2003-05-08 21:24:18 +0000
commitc5aec40d0b0c7bf4219364a18d0aac17334e566c (patch)
treec83f2b017392e7fdb651456f8c637aa9e794f422 /sys-kernel/pfeifer-sources
parentClean-up of old ebuilds. (diff)
downloadgentoo-2-c5aec40d0b0c7bf4219364a18d0aac17334e566c.tar.gz
gentoo-2-c5aec40d0b0c7bf4219364a18d0aac17334e566c.tar.bz2
gentoo-2-c5aec40d0b0c7bf4219364a18d0aac17334e566c.zip
Clean-up of old ebuilds.
Diffstat (limited to 'sys-kernel/pfeifer-sources')
-rw-r--r--sys-kernel/pfeifer-sources/ChangeLog4
-rw-r--r--sys-kernel/pfeifer-sources/Manifest4
-rw-r--r--sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre12
-rw-r--r--sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre72
-rw-r--r--sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre82
-rw-r--r--sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre92
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre1.ebuild82
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild4
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre7.ebuild126
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre8.ebuild136
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre9.ebuild136
11 files changed, 6 insertions, 494 deletions
diff --git a/sys-kernel/pfeifer-sources/ChangeLog b/sys-kernel/pfeifer-sources/ChangeLog
index b6db3b210386..2a9ad16e9519 100644
--- a/sys-kernel/pfeifer-sources/ChangeLog
+++ b/sys-kernel/pfeifer-sources/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for sys-kernel/pfeifer-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/ChangeLog,v 1.6 2003/05/08 16:00:29 pfeifer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/ChangeLog,v 1.7 2003/05/08 21:24:02 pfeifer Exp $
TODO:
better ide chipset support (ie. CSB6)
@@ -13,7 +13,7 @@
*pfeifer-sources-2.4.20.1_pre11 (08 May 2003)
-04 May 2003: Jay Pfeifer <pfeifer@gentoo-.org> pfeifer-sources-2.4.20._pre11.ebuild
+08 May 2003: Jay Pfeifer <pfeifer@gentoo-.org> pfeifer-sources-2.4.20._pre11.ebuild
Changes:
* Added support for ipvs
* Added support for usbvision
diff --git a/sys-kernel/pfeifer-sources/Manifest b/sys-kernel/pfeifer-sources/Manifest
index fc1142e8b709..559656a36205 100644
--- a/sys-kernel/pfeifer-sources/Manifest
+++ b/sys-kernel/pfeifer-sources/Manifest
@@ -1,5 +1,5 @@
MD5 4883734a02bdc69645efe96dbd31367b pfeifer-sources-2.4.20.1_pre10.ebuild 4480
-MD5 a8c1f01829f2777f7695f35f8f5e3b87 pfeifer-sources-2.4.20.1_pre11.ebuild 4570
-MD5 218e2afbaeddee2f934e350e1ec490b7 ChangeLog 4270
+MD5 5d33c8ebfbf4d0694ccd5b289b802e0f pfeifer-sources-2.4.20.1_pre11.ebuild 4570
+MD5 0857d051c2f6863b4e4aced614de39de ChangeLog 4270
MD5 bd89ec02d8177ccbe69947e0810b5060 files/digest-pfeifer-sources-2.4.20.1_pre10 152
MD5 1ada6b5466d035f65ce80c2cd3ed060e files/digest-pfeifer-sources-2.4.20.1_pre11 152
diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre1 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre1
deleted file mode 100644
index a8e16ff8810c..000000000000
--- a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 7b86ef301a47fd2d7f6337d8ef399096 patches-2.4.20-pfeifer-r1_pre1.tar.bz2 2520695
diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre7 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre7
deleted file mode 100644
index cd1a0d7492b1..000000000000
--- a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre7
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 432e1030e8eec8c7658dfa99f749b450 patches-2.4.20-pfeifer-r1_pre7.tar.bz2 3835847
diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre8 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre8
deleted file mode 100644
index 9da10b45f905..000000000000
--- a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre8
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 cd0c2797e1493bdcfeef0c0b45a52058 patches-2.4.20-pfeifer-r1_pre8.tar.bz2 4024343
diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre9 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre9
deleted file mode 100644
index 2eafe6a2812f..000000000000
--- a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.20.1_pre9
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 4d7e032e6c0ccb507a2be262ef745587 patches-2.4.20-pfeifer-r1_pre9.tar.bz2 4039856
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre1.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre1.ebuild
deleted file mode 100644
index 8110ac9c7514..000000000000
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre1.ebuild
+++ /dev/null
@@ -1,82 +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/pfeifer-sources/pfeifer-sources-2.4.20.1_pre1.ebuild,v 1.5 2003/03/21 20:40:17 pfeifer Exp $
-
-IUSE="build crypt"
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-# Kernel ebuilds using the kernel.eclass can remove any patch that you
-# do not want to apply by simply setting the KERNEL_EXCLUDE shell
-# variable to the string you want to exclude (for instance
-# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
-# *evms*). Kernels are only tested in the default configuration, but
-# this may be useful if you know that a particular patch is causing a
-# conflict with a patch you personally want to apply, or some other
-# similar situation.
-
-ETYPE="sources"
-
-inherit kernel || die
-OKV="2.4.20"
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/pfeifer-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the experimental Gentoo Kernel. Patches from here may move into sys-kernel/gentoo-sources"
-SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://gentoo/patches-${KV}.tar.bz2"
-HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
-LICENSE="GPL-2"
-KEYWORDS="x86 -ppc -sparc -alpha -hppa -mips -arm"
-SLOT="${KV}"
-
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd ${KV}
- # Kill patches we aren't suppposed to use, don't worry about
- # failures, if they aren't there that is a good thing!
- # If the compiler isn't gcc3 drop the gcc3 patches
- if [[ "${COMPILER}" == "gcc3" ]];then
- einfo "You are using gcc3.x"
- einfo "Enabling gcc>31 processor optimizations."
- einfo "To use, choose the processor family labelled with (gcc>31) in"
- einfo "Processor type and features -> Processor Family"
- else
- einfo "Your compiler is not gcc3, dropping patches..."
- for file in *gcc3*;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the ratified crypt USE flag, enables IPSEC & USAGI
- if [ -z "`use crypt`" ]; then
- einfo "No Cryptographic support, dropping patches..."
- for file in 6* 7* 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Cryptographic support enabled..."
- fi
-
- kernel_src_unpack
-}
-
-pkg_postinst() {
-
- kernel_pkg_postinst
-
- ewarn "There is no xfs support in this kernel."
- ewarn "If you need xfs support, emerge xfs-sources."
- echo
- einfo "Please be warned, you have just installed a untested"
- einfo "patchset of the Gentoo Linux kernel sources."
- einfo "This set contains the ptrace patch."
- einfo "If there are issues with it, please report them"
- einfo "by assigning bugs on bugs.gentoo.org to"
- einfo "x86-kernel@gentoo.org"
-}
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild
index ebb1b6aa0d9c..0102235faf3a 100644
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild
+++ b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild,v 1.1 2003/05/08 16:00:29 pfeifer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre11.ebuild,v 1.2 2003/05/08 21:24:02 pfeifer Exp $
IUSE="build crypt evms2 aavm usagi"
@@ -27,7 +27,7 @@ SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
mirror://gentoo/patches-${KV}.tar.bz2"
HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
LICENSE="GPL-2"
-KEYWORDS="~x86 -ppc -sparc -alpha -hppa -mips -arm"
+KEYWORDS="x86 -ppc -sparc -alpha -hppa -mips -arm"
SLOT="${KV}"
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre7.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre7.ebuild
deleted file mode 100644
index 65875410602b..000000000000
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre7.ebuild
+++ /dev/null
@@ -1,126 +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/pfeifer-sources/pfeifer-sources-2.4.20.1_pre7.ebuild,v 1.1 2003/04/15 20:56:14 pfeifer Exp $
-
-IUSE="build crypt evms2 aavm"
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-# Kernel ebuilds using the kernel.eclass can remove any patch that you
-# do not want to apply by simply setting the KERNEL_EXCLUDE shell
-# variable to the string you want to exclude (for instance
-# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
-# *evms*). Kernels are only tested in the default configuration, but
-# this may be useful if you know that a particular patch is causing a
-# conflict with a patch you personally want to apply, or some other
-# similar situation.
-
-ETYPE="sources"
-
-inherit kernel || die
-OKV="2.4.20"
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/pfeifer-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the experimental Gentoo Kernel. Patches from here may move into sys-kernel/gentoo-sources"
-SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://gentoo/patches-${KV}.tar.bz2"
-HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
-LICENSE="GPL-2"
-KEYWORDS="~x86 -ppc -sparc -alpha -hppa -mips -arm"
-SLOT="${KV}"
-
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
-
- cd ${WORKDIR}/${KV}/jfs || die "${WORKDIR}/${KV}/jfs does not exist"
- tar xzf jfs-2.4-1.1.1.tar.gz || die "Failed to unpack jfs files."
- cp -a Documentation ${S} || die "Failed to copy jfs docs to kernel tree."
- cp -a fs ${S} || die "Failed to copy jfs source to kernel tree."
-
- cd ${WORKDIR}/${KV}
-
- # This is the *ratified* aavm USE flag, enables aavm support in this kernel
- if [ -z "`use aavm`" ]; then
- einfo "Setting up kernel for rmap support(default)."
- for file in *.aavm ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for aavm support."
- for file in *.rmap ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # If the compiler isn't gcc>3.1 drop the gcc>3.1 patches
- if [[ "${COMPILER}" == "gcc3" ]];then
- einfo "You are using gcc>3.1"
- einfo "Enabling gcc>3.1 processor optimizations."
- einfo "To use, choose the processor family labelled with (gcc>31) in"
- einfo "Processor type and features -> Processor Family"
- else
- einfo "Your compiler is not gcc3, dropping patches..."
- for file in *gcc3*;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the *ratified* evms2 USE flag, enables evms2 support
- if [ -z "`use evms2`" ]; then
- einfo "Setting up kernel for EVMS 1.2.1 support(default)."
- echo
- for file in 2* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for EVMS 2.0 support."
- ewarn "This is very beta. Please read the 'evms2' doc provided with this kernel."
- ewarn "It is the install doc from the evms 2.0 tarball."
- echo
- for file in 1* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the crypt USE flag, enables IPSEC & USAGI
- if [ -z "`use crypt`" ]; then
- einfo "No Cryptographic support, dropping patches..."
- for file in 6* 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Cryptographic support enabled..."
- fi
-
- kernel_src_unpack
-}
-
-pkg_postinst() {
-
- kernel_pkg_postinst
-
- ewarn "There is no xfs support in this kernel."
- ewarn "If you need xfs support, emerge xfs-sources."
- echo
- ewarn "If iptables/netfilter behaves abnormally, such as 'Invalid Argument',"
- ewarn "you will need to re-emerge iptables to restore proper functionality."
- echo
- einfo "Please be warned, you have just installed an unstable"
- einfo "patchset of the Gentoo Linux kernel sources."
- einfo "This set contains the ptrace patch as part of grsecurity."
- echo
- einfo "If there are issues with it, please report them"
- einfo "by assigning bugs on bugs.gentoo.org to"
- einfo "x86-kernel@gentoo.org"
- echo
- einfo "Please read the changelog and associated docs for more information."
-}
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre8.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre8.ebuild
deleted file mode 100644
index 6d8adf89b098..000000000000
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre8.ebuild
+++ /dev/null
@@ -1,136 +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/pfeifer-sources/pfeifer-sources-2.4.20.1_pre8.ebuild,v 1.1 2003/05/03 15:19:34 pfeifer Exp $
-
-IUSE="build crypt evms2 aavm usagi"
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-# Kernel ebuilds using the kernel.eclass can remove any patch that you
-# do not want to apply by simply setting the KERNEL_EXCLUDE shell
-# variable to the string you want to exclude (for instance
-# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
-# *evms*). Kernels are only tested in the default configuration, but
-# this may be useful if you know that a particular patch is causing a
-# conflict with a patch you personally want to apply, or some other
-# similar situation.
-
-ETYPE="sources"
-
-inherit kernel || die
-OKV="2.4.20"
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/pfeifer-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the experimental Gentoo Kernel. Patches from here may move into sys-kernel/gentoo-sources"
-SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://gentoo/patches-${KV}.tar.bz2"
-HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
-LICENSE="GPL-2"
-KEYWORDS="~x86 -ppc -sparc -alpha -hppa -mips -arm"
-SLOT="${KV}"
-
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
-
- cd ${WORKDIR}/${KV}
-
- # This is the *ratified* aavm USE flag, enables aavm support in this kernel
- if [ -z "`use aavm`" ]; then
- einfo "Setting up kernel for rmap support(default)."
- for file in *.aavm ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for aavm support."
- for file in *.rmap ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # If the compiler isn't gcc>3.1 drop the gcc>3.1 patches
- if [[ "${COMPILER}" == "gcc3" ]];then
- einfo "You are using gcc>3.1"
- einfo "Enabling gcc>3.1 processor optimizations."
- einfo "To use, choose the processor family labelled with (gcc>31) in"
- einfo "Processor type and features -> Processor Family"
- else
- einfo "Your compiler is not gcc3, dropping patches..."
- for file in *gcc3*;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the *ratified* evms2 USE flag, enables evms2 support
- if [ -z "`use evms2`" ]; then
- einfo "Setting up kernel for EVMS 1.2.1 support(default)."
- for file in 2* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for EVMS 2.0 support."
- ewarn "This is very beta. Please read the 'evms2' doc provided with this kernel."
- ewarn "It is the install doc from the evms 2.0 tarball."
- echo
- for file in 1* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the crypt USE flag, keeps {USAGI/superfreeswan/patch-int/loop-jari}
- if [ -z "`use crypt`" ]; then
- einfo "No Cryptographic support, dropping patches..."
- for file in 6* 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Cryptographic patches will be applied"
- fi
-
- # This is the usagi USE flag, keeps USAGI, drops {superfreeswan/patch-int/loop-jari}
- # Using USAGI will also cause you to drop all iptables ipv6 patches
- if [ -z "`use usagi`" ]; then
- einfo "Keeping {superfreeswan/patch-int/loop-jari} patches, dropping USAGI"
- for file in 6* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Keeping USAGI patch, dropping {superfreeswan/patch-int/loop-jari}"
- for file in *.ipv6 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- kernel_src_unpack
-}
-
-pkg_postinst() {
-
- kernel_pkg_postinst
-
- ewarn "There is no xfs support in this kernel."
- ewarn "If you need xfs support, emerge xfs-sources."
- echo
- ewarn "If iptables/netfilter behaves abnormally, such as 'Invalid Argument',"
- ewarn "you will need to re-emerge iptables to restore proper functionality."
- echo
- einfo "Please be warned, you have just installed an unstable"
- einfo "patchset of the Gentoo Linux kernel sources."
- einfo "This set contains the ptrace patch as part of grsecurity."
- echo
- einfo "If there are issues with it, please report them"
- einfo "by assigning bugs on bugs.gentoo.org to"
- einfo "x86-kernel@gentoo.org"
- echo
- einfo "Please read the changelog and associated docs for more information."
-}
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre9.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre9.ebuild
deleted file mode 100644
index b51f01715abb..000000000000
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.20.1_pre9.ebuild
+++ /dev/null
@@ -1,136 +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/pfeifer-sources/pfeifer-sources-2.4.20.1_pre9.ebuild,v 1.1 2003/05/03 21:23:50 pfeifer Exp $
-
-IUSE="build crypt evms2 aavm usagi"
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-# Kernel ebuilds using the kernel.eclass can remove any patch that you
-# do not want to apply by simply setting the KERNEL_EXCLUDE shell
-# variable to the string you want to exclude (for instance
-# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
-# *evms*). Kernels are only tested in the default configuration, but
-# this may be useful if you know that a particular patch is causing a
-# conflict with a patch you personally want to apply, or some other
-# similar situation.
-
-ETYPE="sources"
-
-inherit kernel || die
-OKV="2.4.20"
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/pfeifer-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the experimental Gentoo Kernel. Patches from here may move into sys-kernel/gentoo-sources"
-SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://gentoo/patches-${KV}.tar.bz2"
-HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
-LICENSE="GPL-2"
-KEYWORDS="~x86 -ppc -sparc -alpha -hppa -mips -arm"
-SLOT="${KV}"
-
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
-
- cd ${WORKDIR}/${KV}
-
- # This is the *ratified* aavm USE flag, enables aavm support in this kernel
- if [ -z "`use aavm`" ]; then
- einfo "Setting up kernel for rmap support(default)."
- for file in *.aavm ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for aavm support."
- for file in *.rmap ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # If the compiler isn't gcc>3.1 drop the gcc>3.1 patches
- if [[ "${COMPILER}" == "gcc3" ]];then
- einfo "You are using gcc>3.1"
- einfo "Enabling gcc>3.1 processor optimizations."
- einfo "To use, choose the processor family labelled with (gcc>31) in"
- einfo "Processor type and features -> Processor Family"
- else
- einfo "Your compiler is not gcc3, dropping patches..."
- for file in *gcc3*;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the *ratified* evms2 USE flag, enables evms2 support
- if [ -z "`use evms2`" ]; then
- einfo "Setting up kernel for EVMS 1.2.1 support(default)."
- for file in 2* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for EVMS 2.0 support."
- ewarn "This is very beta. Please read the 'evms2' doc provided with this kernel."
- ewarn "It is the install doc from the evms 2.0 tarball."
- echo
- for file in 1* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the crypt USE flag, keeps {USAGI/superfreeswan/patch-int/loop-jari}
- if [ -z "`use crypt`" ]; then
- einfo "No Cryptographic support, dropping patches..."
- for file in 6* 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Cryptographic patches will be applied"
- fi
-
- # This is the usagi USE flag, keeps USAGI, drops {superfreeswan/patch-int/loop-jari}
- # Using USAGI will also cause you to drop all iptables ipv6 patches
- if [ -z "`use usagi`" ]; then
- einfo "Keeping {superfreeswan/patch-int/loop-jari} patches, dropping USAGI"
- for file in 6* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Keeping USAGI patch, dropping {superfreeswan/patch-int/loop-jari}"
- for file in *.ipv6 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- kernel_src_unpack
-}
-
-pkg_postinst() {
-
- kernel_pkg_postinst
-
- ewarn "There is no xfs support in this kernel."
- ewarn "If you need xfs support, emerge xfs-sources."
- echo
- ewarn "If iptables/netfilter behaves abnormally, such as 'Invalid Argument',"
- ewarn "you will need to re-emerge iptables to restore proper functionality."
- echo
- einfo "Please be warned, you have just installed an unstable"
- einfo "patchset of the Gentoo Linux kernel sources."
- einfo "This set contains the ptrace patch as part of grsecurity."
- echo
- einfo "If there are issues with it, please report them"
- einfo "by assigning bugs on bugs.gentoo.org to"
- einfo "x86-kernel@gentoo.org"
- echo
- einfo "Please read the changelog and associated docs for more information."
-}