diff options
author | Brad House <brad_mssw@gentoo.org> | 2003-11-24 20:15:04 +0000 |
---|---|---|
committer | Brad House <brad_mssw@gentoo.org> | 2003-11-24 20:15:04 +0000 |
commit | 1d8324ed078f7dbea90ba2c18f767d66fb44b134 (patch) | |
tree | e5ffe0f900f9e64e423fda1086804a9f4429b987 /sys-kernel | |
parent | stable on alpha and ia64 (diff) | |
download | historical-1d8324ed078f7dbea90ba2c18f767d66fb44b134.tar.gz historical-1d8324ed078f7dbea90ba2c18f767d66fb44b134.tar.bz2 historical-1d8324ed078f7dbea90ba2c18f767d66fb44b134.zip |
version bump
Diffstat (limited to 'sys-kernel')
4 files changed, 157 insertions, 8 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog index 352574d847f6..c51a1e104356 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.57 2003/11/02 18:18:00 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.58 2003/11/24 20:15:01 brad_mssw Exp $ + +*development-sources-2.6.0_beta10 (24 Nov 2003) + + 24 Nov 2003; Brad House <brad_mssw@gentoo.org> + development-sources-2.6.0_beta10.ebuild: + version bump 02 Nov 2003; Brad House <brad_mssw@gentoo.org> development-sources-2.6.0_beta9.ebuild: diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest index 5c20712bbd16..52130986eb12 100644 --- a/sys-kernel/development-sources/Manifest +++ b/sys-kernel/development-sources/Manifest @@ -1,14 +1,16 @@ -MD5 a79f43549eb6f6cda8715e772281b29b ChangeLog 10857 +MD5 854abf2bdb617fe8c7de18312a60bb85 metadata.xml 442 +MD5 604d42c212f50361df9694448b7a3bdb development-sources-2.6.0_beta7-r5.ebuild 3533 MD5 f900f573cbb274ee4774d696a3081364 development-sources-2.6.0_beta7-r2.ebuild 3281 MD5 06f2893907e8728d6c6891df493dc091 development-sources-2.6.0_beta7-r3.ebuild 3281 -MD5 604d42c212f50361df9694448b7a3bdb development-sources-2.6.0_beta7-r5.ebuild 3533 -MD5 8c452d7b6c23332d3dbfd10fdf3d28a8 development-sources-2.6.0_beta7.ebuild 3277 -MD5 fd51ed408069086c547feaed84757e94 development-sources-2.6.0_beta8.ebuild 4047 MD5 e8f7ef9b4384ad2c26066eafdd7bfece development-sources-2.6.0_beta9.ebuild 3703 -MD5 854abf2bdb617fe8c7de18312a60bb85 metadata.xml 442 -MD5 c89934022d76ba15351646073fa260b8 files/digest-development-sources-2.6.0_beta7 72 -MD5 ce48c553976e08231fcdb58faa02517d files/digest-development-sources-2.6.0_beta7-r2 141 +MD5 6b5e59a4f144dc9cb21774286bdc41d6 development-sources-2.6.0_beta10.ebuild 3968 +MD5 fd51ed408069086c547feaed84757e94 development-sources-2.6.0_beta8.ebuild 4047 +MD5 8c452d7b6c23332d3dbfd10fdf3d28a8 development-sources-2.6.0_beta7.ebuild 3277 +MD5 251ff594eaa2d0e00363ae5f255e626a ChangeLog 11014 MD5 eed41ceb58615452740b71330342ab0d files/digest-development-sources-2.6.0_beta7-r3 142 MD5 9824da01b9169b0253ec532e1169b430 files/digest-development-sources-2.6.0_beta7-r5 218 +MD5 28de27c6363e120e0c1b0fd9994acfab files/digest-development-sources-2.6.0_beta10 73 MD5 159bd39720276be321a3e23ad6a53a6e files/digest-development-sources-2.6.0_beta8 142 +MD5 c89934022d76ba15351646073fa260b8 files/digest-development-sources-2.6.0_beta7 72 MD5 1e74dae3e6fdb1fdf45dae97e8344654 files/digest-development-sources-2.6.0_beta9 72 +MD5 ce48c553976e08231fcdb58faa02517d files/digest-development-sources-2.6.0_beta7-r2 141 diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta10.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta10.ebuild new file mode 100644 index 000000000000..a6bb8edfe90f --- /dev/null +++ b/sys-kernel/development-sources/development-sources-2.6.0_beta10.ebuild @@ -0,0 +1,140 @@ +# 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_beta10.ebuild,v 1.1 2003/11/24 20:15:01 brad_mssw Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +#Original Kernel Version before Patches +# eg: 2.6.0-test8 +OKV=${PV/_beta/-test} +OKV=${OKV/-r*//} + +#Kernel version after patches +# eg: 2.6.0-test8-bk1 +KV=${PF/_beta/-test} +KV=${KV/-r/-bk} +KV=${KV//${PN}-} + +#version of gentoo patchset +# This should always be zero now, as this is back to vanilla +GPV=0 + +S=${WORKDIR}/linux-${OKV} +ETYPE="sources" + +DESCRIPTION="Full sources for the Development Branch of the Linux kernel" + +[ ! ${GPV} == 0 ] && GPATCH_URI="mirror://gentoo/distfiles/genpatches-2.6-${GPV}.tar.bz2" +[ -z ${KV/*-bk*/} ] && PATCH_URI="http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${KV}.bz2" + +SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 ${PATCH_URI} ${GPATCH_URI}" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" +LICENSE="GPL-2" +SLOT="${KV}" +KEYWORDS="-* x86 amd64" +PROVIDE="virtual/linux-sources 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 + + # apply bk pulls + if [ -z ${KV/*-bk*/} ] + then + cd ${S} + epatch ${DISTDIR}/patch-${KV}.bz2 + cd ${WORKDIR} + fi + + # apply gentoo patches + if [ ! ${GPV} == 0 ] + then + cd ${S} + epatch ${DISTDIR}/genpatches-2.6-${GPV}.tar.bz2 + KV="${KV}-patchset-${GPV}" + cd ${WORKDIR} + fi + + # move to appropriate src dir + if [ ! ${KV} == ${OKV} ] + then + mv linux-${OKV} linux-${KV} + S=${WORKDIR}/linux-${KV} + fi + + cd ${S} + 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 + [ ! ${GPV} == 0 ] && KV="${KV}-patchset-${GPV}" + [ ! -e ${ROOT}usr/src/linux-beta ] && ln -sf linux-${KV} ${ROOT}/usr/src/linux-beta + + echo + ewarn "Please note that ptyfs support has been removed from devfs" + ewarn "and you have to compile it in now, or else you will get" + ewarn "errors when trying to open a pty. The option is:" + ewarn "File systems -> Pseudo filesystems -> /dev/pts 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 + ewarn "PLEASE NOTE THIS IS NOT OFFICIALLY SUPPORTED BY GENTOO." + sleep 5 +} diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta10 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta10 new file mode 100644 index 000000000000..1a9d07a5ef15 --- /dev/null +++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta10 @@ -0,0 +1 @@ +MD5 61828549d38189bdece85f5107a507ca linux-2.6.0-test10.tar.bz2 33240118 |