summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/c1pher-sources/c1pher-sources-2.6.38.ebuild')
-rw-r--r--sys-kernel/c1pher-sources/c1pher-sources-2.6.38.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-kernel/c1pher-sources/c1pher-sources-2.6.38.ebuild b/sys-kernel/c1pher-sources/c1pher-sources-2.6.38.ebuild
new file mode 100644
index 0000000..bb3ff8a
--- /dev/null
+++ b/sys-kernel/c1pher-sources/c1pher-sources-2.6.38.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/tuxonice-sources/tuxonice-sources-2.6.38.ebuild,v 1.1 2011/05/07 22:48:56 nelchael Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="5"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="TuxOnIce + Gentoo patchset sources + Hardened patchset"
+HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net \
+http://gentoo.org/proj/en/hardened/"
+IUSE=""
+
+HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-4"
+HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
+
+TUXONICE_SNAPSHOT=""
+TUXONICE_VERSION="3.2"
+TUXONICE_TARGET="2.6.38"
+
+if [[ -n "${TUXONICE_SNAPSHOT}" ]]; then
+ TUXONICE_SRC="current-tuxonice-for-${TUXONICE_TARGET}.patch_${TUXONICE_SNAPSHOT}"
+else
+ TUXONICE_SRC="tuxonice-${TUXONICE_VERSION}-for-${TUXONICE_TARGET}.patch"
+fi
+
+TUXONICE_URI="http://www.tuxonice.net/files/${TUXONICE_SRC}.bz2"
+
+UNIPATCH_LIST="${DISTDIR}/hardened-patches-${HGPV}.extras.tar.bz2 ${DISTDIR}/${TUXONICE_SRC}.bz2"
+UNIPATCH_EXCLUDE="4200_fbcondecor-0.9.6.patch"
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI} ${HGPV_URI}"
+
+KEYWORDS=""
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-1.0
+ || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
+
+K_EXTRAELOG="This is a custom kernel. Do not use."
+K_SECURITY_UNSUPPORTED="1"