diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2006-12-17 20:00:28 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2006-12-17 20:00:28 +0000 |
commit | ea8e6f60bd3e2b0075670b39d78b45895f945400 (patch) | |
tree | 8553d1c59cd8a6cfa121846df16a6a810c0cdcef /sys-kernel | |
parent | Marked ~ppc (diff) | |
download | gentoo-2-ea8e6f60bd3e2b0075670b39d78b45895f945400.tar.gz gentoo-2-ea8e6f60bd3e2b0075670b39d78b45895f945400.tar.bz2 gentoo-2-ea8e6f60bd3e2b0075670b39d78b45895f945400.zip |
Revbump + vesafb patch, closes bug#157705, thanks to Christian Schlotter
(Portage version: 2.1.1-r2)
Diffstat (limited to 'sys-kernel')
4 files changed, 90 insertions, 1 deletions
diff --git a/sys-kernel/suspend2-sources/ChangeLog b/sys-kernel/suspend2-sources/ChangeLog index 6d1d50dbcbd7..379a0f733855 100644 --- a/sys-kernel/suspend2-sources/ChangeLog +++ b/sys-kernel/suspend2-sources/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/suspend2-sources # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/suspend2-sources/ChangeLog,v 1.75 2006/12/16 21:26:16 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/suspend2-sources/ChangeLog,v 1.76 2006/12/17 20:00:28 alonbl Exp $ + +*suspend2-sources-2.6.19-r1 (17 Dec 2006) + + 17 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> + +files/suspend2-sources-2.6.19-vesafb.patch, + +suspend2-sources-2.6.19-r1.ebuild: + Revbump + vesafb patch, closes bug#157705, thanks to Christian Schlotter 16 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml: Modify maintainer diff --git a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.19-r1 b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.19-r1 new file mode 100644 index 000000000000..68a040464e36 --- /dev/null +++ b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.19-r1 @@ -0,0 +1,12 @@ +MD5 8b778c527e7eb4cffc7cac6106163e63 genpatches-2.6.19-3.base.tar.bz2 15941 +RMD160 44db8c27990e978fe9116a49388eda610a473977 genpatches-2.6.19-3.base.tar.bz2 15941 +SHA256 6af4f94b8cea0c86bda44ae9666a23f6e6666f1fc353f7fd0801c6cb5837b762 genpatches-2.6.19-3.base.tar.bz2 15941 +MD5 a6180931d7b566aa514d532dff0c07f1 genpatches-2.6.19-3.extras.tar.bz2 139459 +RMD160 9b3dd25b781854feab0d325cc4327e7035fef60b genpatches-2.6.19-3.extras.tar.bz2 139459 +SHA256 9900288ef68f9c9f93fab4659a4eb2c50d3a3b0ee64e457d9aafee642cd7be19 genpatches-2.6.19-3.extras.tar.bz2 139459 +MD5 443c265b57e87eadc0c677c3acc37e20 linux-2.6.19.tar.bz2 42733268 +RMD160 75dc65b15cf9cdb359b1abe7084907982c19088b linux-2.6.19.tar.bz2 42733268 +SHA256 c2fd6bcd2b7c1b3d37d64e4d1825703792a75474830a3db7d2dc603a8d392d58 linux-2.6.19.tar.bz2 42733268 +MD5 ce94df22b93c74f1637d2429c1093ec7 suspend2-2.2.9-for-2.6.19-rc6.patch.bz2 100596 +RMD160 7c27f1d1514a30a410b779c61c8ffad7fe231369 suspend2-2.2.9-for-2.6.19-rc6.patch.bz2 100596 +SHA256 3321c0004016fcb4b1e490fd42f98f6855c475baa8bcb21917481dadc1af638a suspend2-2.2.9-for-2.6.19-rc6.patch.bz2 100596 diff --git a/sys-kernel/suspend2-sources/files/suspend2-sources-2.6.19-vesafb.patch b/sys-kernel/suspend2-sources/files/suspend2-sources-2.6.19-vesafb.patch new file mode 100644 index 000000000000..e8f0433cd2a1 --- /dev/null +++ b/sys-kernel/suspend2-sources/files/suspend2-sources-2.6.19-vesafb.patch @@ -0,0 +1,12 @@ +--- drivers/video/vesafb-thread.c~ 2006-12-11 +23:30:31.000000000 +0100 ++++ drivers/video/vesafb-thread.c 2006-12-11 +23:39:07.000000000 +0100 +@@ -12,6 +12,7 @@ + #include <linux/module.h> + #include <linux/kernel.h> + #include <linux/errno.h> ++#include <linux/freezer.h> + #include <linux/mm.h> + #include <linux/delay.h> + #include <linux/signal.h> diff --git a/sys-kernel/suspend2-sources/suspend2-sources-2.6.19-r1.ebuild b/sys-kernel/suspend2-sources/suspend2-sources-2.6.19-r1.ebuild new file mode 100644 index 000000000000..90b9fbe665af --- /dev/null +++ b/sys-kernel/suspend2-sources/suspend2-sources-2.6.19-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 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.19-r1.ebuild,v 1.1 2006/12/17 20:00:28 alonbl Exp $ + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="3" + +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.9" +SUSPEND2_TARGET="2.6.19-rc6" +SUSPEND2_SRC="suspend2-${SUSPEND2_VERSION}-for-${SUSPEND2_TARGET}" +SUSPEND2_URI="http://www.suspend2.net/downloads/all/${SUSPEND2_SRC}.patch.bz2" + +UNIPATCH_LIST="${DISTDIR}/${SUSPEND2_SRC}.patch.bz2 + ${FILESDIR}/${P}-vesafb.patch" +UNIPATCH_STRICTORDER="yes" + +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SUSPEND2_URI}" + +KEYWORDS="~amd64 ~x86" + +IUSE="ultra1" +RDEPEND="${RDEPEND} + >=sys-apps/suspend2-userui-0.6.1 + >=sys-power/hibernate-script-1.93-r6" + +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} 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 +} |