diff options
author | John Mylchreest <johnm@gentoo.org> | 2003-10-12 13:03:39 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2003-10-12 13:03:39 +0000 |
commit | c20c540f6ad0b0414de0503e03410e269ad3402f (patch) | |
tree | 8b47d315013a983445ca30231223724f31c32e2d /sys-kernel | |
parent | Added I18N patch and cjk, ssl, truetype and nls IUSE flags. (diff) | |
download | historical-c20c540f6ad0b0414de0503e03410e269ad3402f.tar.gz historical-c20c540f6ad0b0414de0503e03410e269ad3402f.tar.bz2 historical-c20c540f6ad0b0414de0503e03410e269ad3402f.zip |
bk bump. fixes oss-direct-device errors.
Diffstat (limited to 'sys-kernel')
4 files changed, 125 insertions, 2 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog index e009a79026b0..251cdd2e003b 100644 --- a/sys-kernel/development-sources/ChangeLog +++ b/sys-kernel/development-sources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/development-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.46 2003/10/10 19:40:41 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.47 2003/10/12 13:03:34 johnm Exp $ + +*development-sources-2.6.0_beta7-r3 (12 Oct 2003) + + 12 Oct 2003; John Mylchreest <johnm@gentoo.org>; + development-sources-2.6.0_beta7-r3.ebuild: + bumping, this fixes any oss direct-device errors *development-sources-2.6.0_beta7-r2 (10 Oct 2003) diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest index 8951a5baf71a..d4baf8bc8777 100644 --- a/sys-kernel/development-sources/Manifest +++ b/sys-kernel/development-sources/Manifest @@ -4,8 +4,9 @@ MD5 b70a2cbcbf26e33cead87fdf1fc70c5a development-sources-2.6.0_beta5-r8.ebuild 3 MD5 38ec83edc9400529007d5c5d86c6e0c0 development-sources-2.6.0_beta5-r14.ebuild 3225 MD5 1fe98a28c5428850e6942a4b27119e7b development-sources-2.6.0_beta6.ebuild 3271 MD5 be7649bf774006a2aa26ef41d3bdaf0e development-sources-2.6.0_beta5-r11.ebuild 3282 +MD5 06f2893907e8728d6c6891df493dc091 development-sources-2.6.0_beta7-r3.ebuild 3281 MD5 4dee4ca002d6c693a7b363214489f722 development-sources-2.6.0_beta5-r4.ebuild 3281 -MD5 bf7b8860c09345e51a3fe4cd3e775c7a ChangeLog 8589 +MD5 5422146d682e45876948bc745a8fd497 ChangeLog 8788 MD5 854abf2bdb617fe8c7de18312a60bb85 metadata.xml 442 MD5 e421bbb9407ad8bf1297bb4288803afe development-sources-2.6.0_beta5.ebuild 3276 MD5 e5d5a5e2b394beef81edaf719d97c4f8 development-sources-2.6.0_beta6-r8.ebuild 3281 @@ -18,3 +19,4 @@ MD5 ac0156283d35a79514bca201eb496aff files/digest-development-sources-2.6.0_beta MD5 d7cc2b7bf8c192ef0cd02b110d9ab5c2 files/digest-development-sources-2.6.0_beta5-r8 142 MD5 ec63477483db3225e2b51c813d1bf9f9 files/digest-development-sources-2.6.0_beta6-r8 142 MD5 ce48c553976e08231fcdb58faa02517d files/digest-development-sources-2.6.0_beta7-r2 141 +MD5 eed41ceb58615452740b71330342ab0d files/digest-development-sources-2.6.0_beta7-r3 142 diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta7-r3.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta7-r3.ebuild new file mode 100644 index 000000000000..791e69bb4772 --- /dev/null +++ b/sys-kernel/development-sources/development-sources-2.6.0_beta7-r3.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.0_beta7-r3.ebuild,v 1.1 2003/10/12 13:03:34 johnm Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +OKV=${PV/_beta/-test} + +PKV=${PF/_beta/-test} +PKV=${PKV/-r/-bk} +PKV=${PKV//${PN}-} + +KV=${PV/_beta/-test} + +S=${WORKDIR}/linux-${PKV} +ETYPE="sources" + +IUSE="alsa" +DESCRIPTION="Full sources for the Development Branch of the Linux kernel" +PATCH_URI="http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${PKV}.bz2" +SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 ${PATCH_URI}" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" +LICENSE="GPL-2" +SLOT="${PKV}" +KEYWORDS="-* ~x86" +PROVIDE="virtual/linux-sources" +[ -n "$(use alsa)" ] && PROVIDE="${PROVIDE} 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 + +[ -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-${PKV} + cd ${S} + epatch ${DISTDIR}/patch-${PKV}.bz2 + + unset ARCH + #sometimes we have icky kernel symbols; this seems to get rid of them + make mrproper || die + + #fix silly permissions in tarball + cd ${WORKDIR} + chown -R 0.0 * + chmod -R a+r-w+X,u+w * +} + +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-beta ] + then + + ln -sf linux-${PKV} ${ROOT}/usr/src/linux-beta + fi + + echo + ewarn "Please note that ptyfs support has been removed from devfs" + ewarn "in the later 2.5.x kernels, and you have to compile it in now," + ewarn "or else you will get errors when trying to open a pty." + ewarn "The option is File systems->Pseudo filesystems->/dev/pts" + ewarn "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/development-sources/files/digest-development-sources-2.6.0_beta7-r3 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta7-r3 new file mode 100644 index 000000000000..bb03c837bcda --- /dev/null +++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta7-r3 @@ -0,0 +1,2 @@ +MD5 a5418d065d8669c5ce9924eb4cf49024 linux-2.6.0-test7.tar.bz2 33139549 +MD5 792038f0f521f676d997e44bab5514e6 patch-2.6.0-test7-bk3.bz2 103266 |