From 50716c59fb698e5947856c3ae92dc23faac64c4d Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Tue, 6 Mar 2007 09:25:07 +0000 Subject: Bumping gentoo-sources to 2.6.18.8. (Portage version: 2.1.2.1) --- .../gentoo-sources/gentoo-sources-2.6.18-r7.ebuild | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild (limited to 'sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild') diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild new file mode 100644 index 000000000000..283964a4dcf7 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.18-r7.ebuild,v 1.1 2007/03/06 09:25:07 phreak Exp $ + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="10" +IUSE="ultra1" +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches" + +DESCRIPTION="Full sources including the gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" + +pkg_setup() { + if use sparc; then + # hme lockup hack on ultra1 + use ultra1 || UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1705_sparc-U1-hme-lockup.patch" + fi +} + +pkg_postinst() { + postinst_sources + + echo + + if [ "${ARCH}" = "sparc" ]; then + if [ x"`cat /proc/openprom/name 2>/dev/null`" \ + = x"'SUNW,Ultra-1'" ]; then + einfo "For users with an Enterprise model Ultra 1 using the HME" + einfo "network interface, please emerge the kernel using the" + einfo "following command: USE=ultra1 emerge ${PN}" + fi + fi + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} -- cgit v1.2.3-65-gdbad