# 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.79 2006/12/22 23:07:00 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/suspend2-sources/ChangeLog,v 1.80 2006/12/27 16:52:19 alonbl Exp $
+
+*suspend2-sources-2.6.18-r3 (27 Dec 2006)
+
+ 27 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org>
+ -suspend2-sources-2.6.18-r2.ebuild, +suspend2-sources-2.6.18-r3.ebuild:
+ Revision bump, bug#157186 CVE-2006-6333 (again)
22 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org>
-suspend2-sources-2.6.16-r8.ebuild, -suspend2-sources-2.6.16-r12.ebuild,
--- /dev/null
+MD5 65e0ac78c740fd7e70cdd2fcab6d89ad genpatches-2.6.18-8.base.tar.bz2 108656
+RMD160 b0d604f8a1f476e34f6a3a4143e07a24dbcab6e8 genpatches-2.6.18-8.base.tar.bz2 108656
+SHA256 3ac24ea4b287429719de0b2828594e84eecbedb05f66300632363d3a60c185d0 genpatches-2.6.18-8.base.tar.bz2 108656
+MD5 ca69018bf551b7325537769427f1799c genpatches-2.6.18-8.extras.tar.bz2 144793
+RMD160 53860f130d63345d3084447fefd74f0d581b3520 genpatches-2.6.18-8.extras.tar.bz2 144793
+SHA256 36b736f6a96379ae975fcfa8b21784113423baae363953f35414aeeca74d1c62 genpatches-2.6.18-8.extras.tar.bz2 144793
+MD5 296a6d150d260144639c3664d127d174 linux-2.6.18.tar.bz2 41863580
+RMD160 f92283f956880676bfb1f1d5288325461e4e02e7 linux-2.6.18.tar.bz2 41863580
+SHA256 c95280ff6c5d2a17788f7cc582d23ae8a9a7ba3f202ec6e4238eaadfce7c163d linux-2.6.18.tar.bz2 41863580
+MD5 8c4fe8e338051954623f9fb0c5ecc274 suspend2-2.2.9-for-2.6.18.3.patch.bz2 100843
+RMD160 be5e16c5f94c86421e449a17b48cd3e37dcbd4cb suspend2-2.2.9-for-2.6.18.3.patch.bz2 100843
+SHA256 c9e777abed291db0b85dea73b0582fdf04dffd5b81ee0be8bd870e90877be364 suspend2-2.2.9-for-2.6.18.3.patch.bz2 100843
--- /dev/null
+# 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.18-r3.ebuild,v 1.1 2006/12/27 16:52:19 alonbl Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="8"
+
+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.18.3"
+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"
+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.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} 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
+}