summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@c1pher.net>2014-12-12 19:31:05 -0500
committerDane Smith <c1pher@c1pher.net>2014-12-12 19:31:05 -0500
commit644cfce518d8539438dbeb0cc64b8c218a41d56d (patch)
treeaf6a2967243222c7ab4c5a3e602c2eb6de8ce279 /sys-kernel
parentDrop AMD license (diff)
downloadc1pher-644cfce518d8539438dbeb0cc64b8c218a41d56d.tar.gz
c1pher-644cfce518d8539438dbeb0cc64b8c218a41d56d.tar.bz2
c1pher-644cfce518d8539438dbeb0cc64b8c218a41d56d.zip
Add my version of genkernel-next which has support for LUKS headers.
Package-Manager: portage-2.2.14 Manifest-Sign-Key: E27104B3
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/genkernel-next/Manifest2
-rw-r--r--sys-kernel/genkernel-next/genkernel-next-9999.ebuild62
-rw-r--r--sys-kernel/genkernel-next/metadata.xml15
3 files changed, 79 insertions, 0 deletions
diff --git a/sys-kernel/genkernel-next/Manifest b/sys-kernel/genkernel-next/Manifest
new file mode 100644
index 0000000..02a7938
--- /dev/null
+++ b/sys-kernel/genkernel-next/Manifest
@@ -0,0 +1,2 @@
+EBUILD genkernel-next-9999.ebuild 1559 SHA256 47c58abe00208bc46f30c9c4cbc848ec3f2582257cd6a8626e3b5f397a8f56cd SHA512 a044e05b4d74ca49d2e1631698a41028f4d5274f62d900acddefdeaa151a8e0e282d4c8be16c9fe9d2473bc772508a676f3684c2033c93d95d5d9116d3fff6eb WHIRLPOOL 1896aecd470962f67a5c95dc6e6e889b59e3e4e48676889b5ce15b83fc1cbfdd237969eb1defdaa5b015eed0a568645e2df1455cf9258f4a7d8e56563c94da9c
+MISC metadata.xml 655 SHA256 07dbd03e73afd956d53428de24db8cc3169d8a76ffd83cecb72771fb2e8a11a6 SHA512 3aa03d1564afd651e85f040daa5a11c0cf290b1e4c54504c48aa5d01a211b2b59db63a3e16cc774a0db5d2f96d5cfc389ac9a74865f133797f23c87bcca6b181 WHIRLPOOL 7b02731b1e6c0e8803069e1ed3096945b155346c96885da77130f34d42cfe95f655b87572755e7c16d2024bd21c5f2c20b087f0aa7800f001aef8c8c36ee1188
diff --git a/sys-kernel/genkernel-next/genkernel-next-9999.ebuild b/sys-kernel/genkernel-next/genkernel-next-9999.ebuild
new file mode 100644
index 0000000..1e57c6c
--- /dev/null
+++ b/sys-kernel/genkernel-next/genkernel-next-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/genkernel-next-59.ebuild,v 1.1 2014/12/07 15:47:50 lxnay Exp $
+
+EAPI=5
+
+if [[ "${PV}" != "9999" ]]; then
+ SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz"
+else
+ EGIT_REPO_URI="git://github.com/c1pherx/genkernel-next.git"
+ inherit git-2
+fi
+inherit bash-completion-r1 eutils
+
+if [[ "${PV}" == "9999" ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts, reloaded"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="cryptsetup dmraid gpg iscsi plymouth selinux"
+
+DEPEND="app-text/asciidoc
+ sys-fs/e2fsprogs
+ !sys-fs/eudev[-kmod,modutils]
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ !sys-kernel/genkernel
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? ( >=sys-fs/dmraid-1.0.0_rc16 )
+ gpg? ( app-crypt/gnupg )
+ iscsi? ( sys-block/open-iscsi )
+ plymouth? ( sys-boot/plymouth )
+ app-portage/portage-utils
+ app-arch/cpio
+ >=app-misc/pax-utils-0.6
+ !<sys-apps/openrc-0.9.9
+ sys-apps/util-linux
+ sys-block/thin-provisioning-tools
+ sys-fs/lvm2"
+
+src_prepare() {
+ sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \
+ die "Could not setup release"
+
+ epatch_user
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ doman "${S}"/genkernel.8 || die "doman"
+ dodoc "${S}"/AUTHORS || die "dodoc"
+
+ newbashcomp "${S}"/genkernel.bash genkernel
+}
diff --git a/sys-kernel/genkernel-next/metadata.xml b/sys-kernel/genkernel-next/metadata.xml
new file mode 100644
index 0000000..853e24c
--- /dev/null
+++ b/sys-kernel/genkernel-next/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<maintainer>
+ <email>c1pher@c1pher.net</email>
+</maintainer>
+<use>
+ <flag name='cryptsetup'>Enable support for Luks disk enrcyption using <pkg>sys-fs/cryptsetup</pkg></flag>
+ <flag name='dmraid'>Enable support for DMRAID (include dmraid dependency)</flag>
+ <flag name='gpg'>Enable support for GPG (include gnupg dependency)</flag>
+ <flag name='iscsi'>Enable support for open-iscsi (include open-iscsi dependency)</flag>
+ <flag name='plymouth'>Enable support for Plymouth (include Plymouth dependency)</flag>
+</use>
+</pkgmetadata>