diff options
author | Brian Jackson <iggy@gentoo.org> | 2003-09-19 21:57:40 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2003-09-19 21:57:40 +0000 |
commit | 4a0c3b47f6641e2b8f34e9fb08ae0e0a1bd96f7a (patch) | |
tree | f14e892b9f68f0798a3ed62669007b693836b9fa /sys-kernel/pfeifer-sources | |
parent | 2.4.22 based pfeifer-sources (diff) | |
download | historical-4a0c3b47f6641e2b8f34e9fb08ae0e0a1bd96f7a.tar.gz historical-4a0c3b47f6641e2b8f34e9fb08ae0e0a1bd96f7a.tar.bz2 historical-4a0c3b47f6641e2b8f34e9fb08ae0e0a1bd96f7a.zip |
2.4.22 based pfeifer-sources
Diffstat (limited to 'sys-kernel/pfeifer-sources')
-rw-r--r-- | sys-kernel/pfeifer-sources/Manifest | 5 | ||||
-rw-r--r-- | sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r0 | 2 | ||||
-rw-r--r-- | sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r0.ebuild | 51 |
3 files changed, 55 insertions, 3 deletions
diff --git a/sys-kernel/pfeifer-sources/Manifest b/sys-kernel/pfeifer-sources/Manifest index e6ec066968c2..0f38ecc42fea 100644 --- a/sys-kernel/pfeifer-sources/Manifest +++ b/sys-kernel/pfeifer-sources/Manifest @@ -1,10 +1,9 @@ MD5 2fea3b7ccf1d56ddb8ce7432a44a8f40 pfeifer-sources-2.4.21.1_pre4.ebuild 4399 MD5 d39ceae0278f2748f4a225878fa72368 pfeifer-sources-2.4.20.1_pre12.ebuild 4601 -MD5 7803fa2818a7c44b23fc3c9e68875fa7 pfeifer-sources-2.4.22-r0.ebuild 1600 +MD5 9852f85bb5350cc26480175972d5c6fb pfeifer-sources-2.4.22-r0.ebuild 1597 MD5 a82db960e7732543dceeed6610e35453 pfeifer-sources-2.4.20.1_pre11.ebuild 4562 -MD5 0eb8a52077cff94d5a323a26ec7890b3 ChangeLog 6458 +MD5 aef66b17f8681bc6e7833cc5453030a7 ChangeLog 6718 MD5 1ada6b5466d035f65ce80c2cd3ed060e files/digest-pfeifer-sources-2.4.20.1_pre11 152 MD5 31a37f6216dd3d883c38e0701ccf686e files/digest-pfeifer-sources-2.4.20.1_pre12 152 MD5 a99cf43863da90ebcf117de912c70ee6 files/digest-pfeifer-sources-2.4.21.1_pre4 151 MD5 635c1543550e413d92e83fffb210f810 files/digest-pfeifer-sources-2.4.22-r0 135 -MD5 9b8d16a3156516545c6ced128957d011 files/digest-pfeifer-sources-2.4.22 134 diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r0 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r0 new file mode 100644 index 000000000000..5bf220219063 --- /dev/null +++ b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r0 @@ -0,0 +1,2 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 b245b3d71619293ab911f24480050375 pfeifer-2.4.22.tar.bz2 1770633 diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r0.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r0.ebuild new file mode 100644 index 000000000000..cdb8a9ad3426 --- /dev/null +++ b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r0.ebuild @@ -0,0 +1,51 @@ +# 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.22-r0.ebuild,v 1.1 2003/09/19 21:57:38 iggy Exp $ + +IUSE="build" + +# OKV=original kernel version, KV=patched kernel version. + +ETYPE="sources" + +inherit kernel || die + +OKV="2.4.22" +KV="pfeifer-r${PR/r/}" +S="${WORKDIR}/linux-${OKV}" + +EXTRAVERSION="`echo ${KV}|sed -e 's:[^-]*\(-.*$\):\1:'`" +BASE="`echo ${KV}|sed -e s:${EXTRAVERSION}::`" + +DESCRIPTION="Full sources for the prerelease vanilla Linux kernel" +SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + http://dev.gentoo.org/~iggy/pfeifer-${OKV}.tar.bz2" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" + +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +SLOT="${KV}" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + unpack pfeifer-${OKV}.tar.bz2 + mv linux-${OKV} linux-${OKV}-${KV} + cd ${WORKDIR}/linux-${OKV}-${KV} + echo "patching kernel with gentoo voodoo magic!" + + for i in ../kernelfiles/* ; do + #echo "applying patch ${i}" + patch -p1 -s <${i} || die "Failed to apply ${i}" + done + + OLDVER="EXTRAVERSION =" + NEWVER="EXTRAVERSION =-${KV}" + sed "s/$OLDVER/$NEWVER/g" Makefile > Makefile.new + mv Makefile.new Makefile + + if [ "`find ${WORKDIR}/linux-${OKV}-${KV}/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then + ewarn "Reject files found. Please -contact- the Gentoo Kernel Team before using this kernel!!" + return 1; + fi + + find ${WORKDIR}/linux-${OKV}-${KV}/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \; +} |