diff options
author | Brian Jackson <iggy@gentoo.org> | 2003-09-20 23:05:10 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2003-09-20 23:05:10 +0000 |
commit | bf29562b1811993ced3addda079630bf769b1e67 (patch) | |
tree | c2d7bbcaa1611d6bf0690489be783106a2efc47f /sys-kernel | |
parent | some ck badness, updated the ck patch, thnx tribunal (diff) | |
download | historical-bf29562b1811993ced3addda079630bf769b1e67.tar.gz historical-bf29562b1811993ced3addda079630bf769b1e67.tar.bz2 historical-bf29562b1811993ced3addda079630bf769b1e67.zip |
some ck badness, updated the ck patch, thnx tribunal
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/pfeifer-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r1 | 2 | ||||
-rw-r--r-- | sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r1.ebuild | 51 |
3 files changed, 55 insertions, 2 deletions
diff --git a/sys-kernel/pfeifer-sources/Manifest b/sys-kernel/pfeifer-sources/Manifest index eee1c55f147a..8a66cb2adf85 100644 --- a/sys-kernel/pfeifer-sources/Manifest +++ b/sys-kernel/pfeifer-sources/Manifest @@ -1,9 +1,9 @@ MD5 2fea3b7ccf1d56ddb8ce7432a44a8f40 pfeifer-sources-2.4.21.1_pre4.ebuild 4399 -MD5 82eebf3c9049416226e92d98b106813f pfeifer-sources-2.4.22-r1.ebuild 1600 +MD5 83b3f4b175422a4fca57e0965ed5d75c pfeifer-sources-2.4.22-r1.ebuild 1603 MD5 d39ceae0278f2748f4a225878fa72368 pfeifer-sources-2.4.20.1_pre12.ebuild 4601 MD5 9852f85bb5350cc26480175972d5c6fb pfeifer-sources-2.4.22-r0.ebuild 1597 MD5 a82db960e7732543dceeed6610e35453 pfeifer-sources-2.4.20.1_pre11.ebuild 4562 -MD5 aef66b17f8681bc6e7833cc5453030a7 ChangeLog 6718 +MD5 40ca801f955a8fa07c4774d1918fe4e7 ChangeLog 6850 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 diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r1 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r1 new file mode 100644 index 000000000000..7188688616c5 --- /dev/null +++ b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.22-r1 @@ -0,0 +1,2 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 b245b3d71619293ab911f24480050375 pfeifer-2.4.22-r1.tar.bz2 1770633 diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r1.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r1.ebuild new file mode 100644 index 000000000000..71734aa3ced2 --- /dev/null +++ b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.22-r1.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-r1.ebuild,v 1.1 2003/09/20 23:05:07 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}-r1.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}-r1.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 {} \; +} |