diff options
author | John Mylchreest <johnm@gentoo.org> | 2003-08-09 00:35:09 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2003-08-09 00:35:09 +0000 |
commit | 0e19a7790f657e223fab96204aee2863a9f241ec (patch) | |
tree | 0478fea7d580860258bbf29cd6b825e0282c0959 /sys-kernel/development-sources | |
parent | Updated ebuild version, and added RETRICT="fetch". (diff) | |
download | gentoo-2-0e19a7790f657e223fab96204aee2863a9f241ec.tar.gz gentoo-2-0e19a7790f657e223fab96204aee2863a9f241ec.tar.bz2 gentoo-2-0e19a7790f657e223fab96204aee2863a9f241ec.zip |
bk update
Diffstat (limited to 'sys-kernel/development-sources')
4 files changed, 128 insertions, 2 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog index 145645d50fa9..db0e16f1f5ec 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.26 2003/08/07 23:37:53 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.27 2003/08/09 00:34:57 johnm Exp $ + +*development-sources-2.6.0_beta2-r8 (09 Aug 2003) + + 09 Aug 2003; John Mylchreest <johnm@gentoo.org>; + development-sources-2.6.0_beta2-r8.ebuild: + bk update *development-sources-2.6.0_beta2-r7 (08 Aug 2003) diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest index d1b157947cb2..0e0bd5d0ff19 100644 --- a/sys-kernel/development-sources/Manifest +++ b/sys-kernel/development-sources/Manifest @@ -1,3 +1,4 @@ +MD5 0bcb73da7246db171c91d2ae0ac66638 development-sources-2.6.0_beta2-r8.ebuild 3413 MD5 6d632e62671d155990e9cd1f7a1a0186 development-sources-2.5.73.ebuild 2289 MD5 b9db8e6603cf1cfa4b29458b18cefa0a development-sources-2.6.0_beta2.ebuild 3238 MD5 5a70677f65fd2a93317d1ddd80be4617 development-sources-2.5.75.ebuild 2999 @@ -6,11 +7,12 @@ MD5 b02c2e973c722c1322126f654f91dd83 development-sources-2.6.0_beta2-r7.ebuild 3 MD5 6e830d34afaae68cc353396e71cc377b development-sources-2.5.72.ebuild 2289 MD5 92b11c6baf9d49c1da03f6fcf65063ae development-sources-2.6.0_beta1.ebuild 3231 MD5 3ff4c9fa386bf6cf0601def62b8d60b2 development-sources-2.5.74.ebuild 2289 -MD5 96f0f268703c216194dae23dbd58f140 ChangeLog 4568 +MD5 65c3a35169a9702287f79c330200554d ChangeLog 4728 MD5 a864e78ffa9b2cf2297607f964a9ee92 development-sources-2.5.71.ebuild 2289 MD5 0bfa6b0284b3999e5d8738aeae713f82 files/digest-development-sources-2.6.0_beta1 72 MD5 a6fe6a426a514c3316fc36aa52b0b67b files/digest-development-sources-2.6.0_beta2 72 MD5 a6fe6a426a514c3316fc36aa52b0b67b files/digest-development-sources-2.6.0_beta2-r7 72 +MD5 9160b1678070923fe5417335ce90ca96 files/digest-development-sources-2.6.0_beta2-r8 143 MD5 a1867ed6ed9737f050a335953e36b414 files/digest-development-sources-2.5.70 67 MD5 77d97aec24091542f58bd398c9aeb709 files/digest-development-sources-2.5.71 67 MD5 227f2c2422f5382be32230d29f265b8a files/digest-development-sources-2.5.72 67 diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta2-r8.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta2-r8.ebuild new file mode 100644 index 000000000000..61957f48adc8 --- /dev/null +++ b/sys-kernel/development-sources/development-sources-2.6.0_beta2-r8.ebuild @@ -0,0 +1,116 @@ +# 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_beta2-r8.ebuild,v 1.1 2003/08/09 00:34:57 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-${KV} ${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 + einfo "Consult http://www.codemonkey.org.uk/post-halloween-2.5.txt" + einfo "for more info about the development series." + echo +} diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta2-r8 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta2-r8 new file mode 100644 index 000000000000..b529cd03714e --- /dev/null +++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta2-r8 @@ -0,0 +1,2 @@ +MD5 7d274d5fcd3d86a8d95c2749a702f830 linux-2.6.0-test2.tar.bz2 32969193 +MD5 9facdd04ed872f6014427a804d6986d4 patch-2.6.0-test2-bk8.bz2 1591404 |