diff options
author | Seth Chandler <sethbc@gentoo.org> | 2003-03-18 16:30:56 +0000 |
---|---|---|
committer | Seth Chandler <sethbc@gentoo.org> | 2003-03-18 16:30:56 +0000 |
commit | 129cc9a531f7d21a4f4d1e34e4d959c261dfbc48 (patch) | |
tree | 7f8f931b7c04982b805b9a94a4be26ea87fbe471 /sys-kernel | |
parent | Added ~sparc to keywords. (diff) | |
download | gentoo-2-129cc9a531f7d21a4f4d1e34e4d959c261dfbc48.tar.gz gentoo-2-129cc9a531f7d21a4f4d1e34e4d959c261dfbc48.tar.bz2 gentoo-2-129cc9a531f7d21a4f4d1e34e4d959c261dfbc48.zip |
added 2.5.65 to portage...
Diffstat (limited to 'sys-kernel')
3 files changed, 98 insertions, 1 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog index 1bc0f8a138eb..0e16c55fe1e5 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.11 2003/03/05 16:03:08 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.12 2003/03/18 16:30:56 sethbc Exp $ + +*development-sources-2.5.65 (18 Mar 2003) + + 18 Mar 2003; Seth Chandler <sethbc@gentoo.org>; + development-sources-2.5.65.ebuild: + added 2.5.65 to portage *development-sources-2.5.64 (05 Mar 2003) diff --git a/sys-kernel/development-sources/development-sources-2.5.65.ebuild b/sys-kernel/development-sources/development-sources-2.5.65.ebuild new file mode 100644 index 000000000000..d37b15b1cbb3 --- /dev/null +++ b/sys-kernel/development-sources/development-sources-2.5.65.ebuild @@ -0,0 +1,90 @@ +# 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.5.65.ebuild,v 1.1 2003/03/18 16:30:56 sethbc Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +OKV=${PV} +KV=${PV} +S=${WORKDIR}/linux-${KV} +ETYPE="sources" + +# What's in this kernel? + +# INCLUDED: +# beta 2.5.59 kernel sources with the -mm1 patch. + +DESCRIPTION="Full sources for the Gentoo Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.5/linux-${OKV}.tar.bz2 ${PATCH_URI}" +PROVIDE="virtual/linux-sources" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" +LICENSE="GPL-2" +SLOT="${KV}" +KEYWORDS="x86 ppc" + +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" +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 + + cd ${S} + + #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 +} diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.5.65 b/sys-kernel/development-sources/files/digest-development-sources-2.5.65 new file mode 100644 index 000000000000..38521ed6c067 --- /dev/null +++ b/sys-kernel/development-sources/files/digest-development-sources-2.5.65 @@ -0,0 +1 @@ +MD5 c02c665d7951788426d350ab7fab279b linux-2.5.65.tar.bz2 31889910 |