summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-12-06 21:31:25 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-12-06 21:31:25 +0000
commitd2aeb4a37ec95ca2fe7f2e57d1a35d9167afab43 (patch)
tree71462b935ab2b03a5739ff161a0684dbf81c4bde /sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild
parentStable on amd64. Bug #114363. (diff)
downloadhistorical-d2aeb4a37ec95ca2fe7f2e57d1a35d9167afab43.tar.gz
historical-d2aeb4a37ec95ca2fe7f2e57d1a35d9167afab43.tar.bz2
historical-d2aeb4a37ec95ca2fe7f2e57d1a35d9167afab43.zip
Revision bump to include various bug fixes from upstream.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild')
-rw-r--r--sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild64
1 files changed, 64 insertions, 0 deletions
diff --git a/sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild b/sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild
new file mode 100644
index 000000000000..28636be4e54f
--- /dev/null
+++ b/sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/suspend2-sources/suspend2-sources-2.6.14-r7.ebuild,v 1.1 2005/12/06 21:31:25 brix Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="5"
+
+inherit eutils kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Software Suspend 2 + Gentoo patchset sources"
+HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://www.suspend2.net"
+
+SUSPEND2_VERSION="2.2-rc14"
+SUSPEND2_TARGET="${PV}"
+SUSPEND2_SRC="suspend2-${SUSPEND2_VERSION}-for-${SUSPEND2_TARGET}"
+SUSPEND2_URI="http://www.suspend2.net/downloads/all/${SUSPEND2_SRC}.tar.bz2"
+
+UNIPATCH_LIST="${DISTDIR}/${SUSPEND2_SRC}.tar.bz2
+${FILESDIR}/suspend2-2.2-rc14-do-correct-init-routine.patch
+${FILESDIR}/suspend2-2.2-rc14-freeze-fses-in-reverse-mount-order.patch
+${FILESDIR}/suspend2-2.2-rc14-remove-pfn_to_kaddr.patch
+${FILESDIR}/suspend2-2.2-rc14-select-hotplug-cpu-instead-of-depending-on.patch
+${FILESDIR}/suspend2-2.2-rc14-test-filewriter.patch"
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_DOCS="${WORKDIR}/patches/${SUSPEND2_SRC}/Changelog.txt
+${WORKDIR}/patches/${SUSPEND2_SRC}/ToDo"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SUSPEND2_URI}"
+
+KEYWORDS="~x86"
+
+IUSE="ultra1"
+RDEPEND="${RDEPEND}
+ >=sys-apps/suspend2-userui-0.6.1
+ >=sys-power/hibernate-script-1.12"
+
+K_EXTRAEINFO="If there are issues with this kernel, please direct any
+queries to the suspend2-users mailing list:
+http://lists.suspend2.net/mailman/listinfo/suspend2-users/"
+
+pkg_setup() {
+ if use sparc; then
+ # hme lockup hack on ultra1
+ use ultra1 || UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1399_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
+}