diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2003-12-30 01:02:44 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2003-12-30 01:02:44 +0000 |
commit | 204cbb1b71ebaf6e660dceaedef2f57a6e4da93c (patch) | |
tree | efa7f6853943cba4443f8a83584371746508dfae /sys-kernel/win4lin-sources | |
parent | Version bump; closes bug #36747. (diff) | |
download | historical-204cbb1b71ebaf6e660dceaedef2f57a6e4da93c.tar.gz historical-204cbb1b71ebaf6e660dceaedef2f57a6e4da93c.tar.bz2 historical-204cbb1b71ebaf6e660dceaedef2f57a6e4da93c.zip |
Version bump; closes bug #36747.
Diffstat (limited to 'sys-kernel/win4lin-sources')
-rw-r--r-- | sys-kernel/win4lin-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/win4lin-sources/files/digest-win4lin-sources-2.6.0 | 3 | ||||
-rw-r--r-- | sys-kernel/win4lin-sources/win4lin-sources-2.6.0.ebuild | 88 |
3 files changed, 93 insertions, 2 deletions
diff --git a/sys-kernel/win4lin-sources/Manifest b/sys-kernel/win4lin-sources/Manifest index e639bb71e50f..183a7379ae31 100644 --- a/sys-kernel/win4lin-sources/Manifest +++ b/sys-kernel/win4lin-sources/Manifest @@ -1,9 +1,9 @@ -MD5 69bed2cd470aade86e1d43ba93cca511 ChangeLog 1777 +MD5 fbd80aeaa11895575b4f417db55e86c7 ChangeLog 1777 MD5 d2facb4fa69fac3bd8f57a1282e248ad win4lin-sources-2.4.23.ebuild 1089 MD5 608fe99985244b0445f76cee44c9ae14 metadata.xml 290 MD5 0deeef013192d80cc8456e31e09c419c win4lin-sources-2.4.22.ebuild 1168 MD5 2dd30f7c7931a79d0d46ec0e2590fc14 win4lin-sources-2.4.20-r1.ebuild 1364 -MD5 8d386e8348939fbe51b59cb0a397e3ed win4lin-sources-2.6.0.ebuild 2854 +MD5 eb8994bf4c655d0a2b49ab37f983200f win4lin-sources-2.6.0.ebuild 2846 MD5 6a326a3a66a6d310eaaf77ff2868eeae files/digest-win4lin-sources-2.4.23 201 MD5 a3ac6282b407aaef5e22644f04ce59ee files/digest-win4lin-sources-2.4.22 201 MD5 ec72e31e51b6973ced56cfac1c6f0878 files/digest-win4lin-sources-2.4.20-r1 201 diff --git a/sys-kernel/win4lin-sources/files/digest-win4lin-sources-2.6.0 b/sys-kernel/win4lin-sources/files/digest-win4lin-sources-2.6.0 new file mode 100644 index 000000000000..a276a12a67b4 --- /dev/null +++ b/sys-kernel/win4lin-sources/files/digest-win4lin-sources-2.6.0 @@ -0,0 +1,3 @@ +MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 +MD5 5ad006f074e11ed9c650d3b99b166830 mki-adapter26_1_3_3.patch 126268 +MD5 a04de354fb5bc4fd22e5829512706e95 Kernel-Win4Lin3-2.6.0.patch 26736 diff --git a/sys-kernel/win4lin-sources/win4lin-sources-2.6.0.ebuild b/sys-kernel/win4lin-sources/win4lin-sources-2.6.0.ebuild new file mode 100644 index 000000000000..761b6bc7f9d1 --- /dev/null +++ b/sys-kernel/win4lin-sources/win4lin-sources-2.6.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/win4lin-sources/win4lin-sources-2.6.0.ebuild,v 1.1 2003/12/30 01:02:29 plasmaroo Exp $ +# OKV=original kernel version, KV=patched kernel version. They can be the same. + +OKV=${PV} +KV=${PV}-win4lin +S=${WORKDIR}/linux-${OKV} + +ETYPE="sources" +DESCRIPTION="Full sources for the Development Branch of the Linux kernel" + +SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 + http://www.netraverse.com/member/downloads/files/mki-adapter26_1_3_3.patch + http://www.netraverse.com/member/downloads/files/Kernel-Win4Lin3-${OKV}.patch" + +HOMEPAGE="http://www.kernel.org/ http://www.netraverse.com/" +LICENSE="GPL-2" +SLOT="${KV}" +KEYWORDS="~x86" +PROVIDE="virtual/linux-sources virtual/alsa" + +if [ $ETYPE = "sources" ] && [ -z "`use build`" ] +then + 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 + + cd ${S} + + epatch ${DISTDIR}/Kernel-Win4Lin3-${OKV}.patch || die "Error: Failed to appky Win4Lin3 patch!" + ebegin "Applying mki-adapter26_1_3_3.patch" + patch -Np1 -i ${DISTDIR}/mki-adapter26_1_3_3.patch > /dev/null 2>&1 || die "Error: Failed to apply mki-adapter patch!" + eend $? + + 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_install() { + + dodir /usr/src + echo ">>> Copying sources..." + mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} + mv ${WORKDIR}/* ${D}/usr/src + +} + +pkg_postinst() { + + [ ! -e "${ROOT}usr/src/linux-beta" ] && ln -sf linux-${OKV} ${ROOT}/usr/src/linux-beta + [ ! -e "${ROOT}usr/src/linux" ] && ln -sf linux-${OKV} ${ROOT}/usr/src/linux + mkdir -p ${ROOT}sys + + 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 + echo + +} |