diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-10-20 09:32:16 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-10-20 09:32:16 +0000 |
commit | 6f7dbe91f01850caa1b7c15820db97ef4ab42266 (patch) | |
tree | 102aa38b95b7d7f7860c86628ebd17a4c1ed4710 /sys-kernel/genkernel-next | |
parent | Correct the keyword declaration (diff) | |
download | gentoo-2-6f7dbe91f01850caa1b7c15820db97ef4ab42266.tar.gz gentoo-2-6f7dbe91f01850caa1b7c15820db97ef4ab42266.tar.bz2 gentoo-2-6f7dbe91f01850caa1b7c15820db97ef4ab42266.zip |
version bump, drop old 24-r1 ebuild, keep 35 for stabilization
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'sys-kernel/genkernel-next')
-rw-r--r-- | sys-kernel/genkernel-next/ChangeLog | 8 | ||||
-rw-r--r-- | sys-kernel/genkernel-next/genkernel-next-24-r1.ebuild | 104 | ||||
-rw-r--r-- | sys-kernel/genkernel-next/genkernel-next-37.ebuild | 61 |
3 files changed, 68 insertions, 105 deletions
diff --git a/sys-kernel/genkernel-next/ChangeLog b/sys-kernel/genkernel-next/ChangeLog index e1cc68166ee1..60561d7eefde 100644 --- a/sys-kernel/genkernel-next/ChangeLog +++ b/sys-kernel/genkernel-next/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/genkernel-next # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/ChangeLog,v 1.21 2013/10/14 16:05:41 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/ChangeLog,v 1.22 2013/10/20 09:32:16 lxnay Exp $ + +*genkernel-next-37 (20 Oct 2013) + + 20 Oct 2013; Fabio Erculiani <lxnay@gentoo.org> -genkernel-next-24-r1.ebuild, + +genkernel-next-37.ebuild: + version bump, drop old 24-r1 ebuild, keep 35 for stabilization *genkernel-next-35 (14 Oct 2013) diff --git a/sys-kernel/genkernel-next/genkernel-next-24-r1.ebuild b/sys-kernel/genkernel-next/genkernel-next-24-r1.ebuild deleted file mode 100644 index 1f815ccc052d..000000000000 --- a/sys-kernel/genkernel-next/genkernel-next-24-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/genkernel-next-24-r1.ebuild,v 1.2 2013/10/07 08:40:47 lxnay Exp $ - -EAPI=5 - -if [[ "${PV}" != "9999" ]]; then - SRC_URI="http://dev.gentoo.org/~lxnay/genkernel-next/${P}.tar.xz" -else - EGIT_COMMIT="v${PV}" - EGIT_REPO_URI="git://github.com/Sabayon/genkernel-next.git" - inherit git-2 -fi -inherit bash-completion-r1 eutils - -VERSION_BUSYBOX="1.20.2" - -SRC_URI="${SRC_URI} http://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2" -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="" -else - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="Gentoo automatic kernel building scripts ('next' branch)" -HOMEPAGE="http://www.gentoo.org" - -LICENSE="GPL-2" -SLOT="0" -RESTRICT="" -IUSE="crypt cryptsetup dmraid gpg ibm iscsi plymouth selinux" # Keep 'crypt' in to keep 'use crypt' below working! - -DEPEND="app-text/asciidoc - sys-fs/e2fsprogs - 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-block/thin-provisioning-tools - sys-fs/lvm2" - -src_prepare() { - use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh - - # Update software.sh - sed -i \ - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ - "${S}"/defaults/software.sh \ - || die "Could not adjust versions" - - sed -i "/^GK_V=/ s:GK_V=.*:GK_V=${PV}:g" "${S}/genkernel" || \ - die "Could not setup release" -} - -src_install() { - insinto /etc - doins "${S}"/genkernel.conf || die "doins genkernel.conf" - - doman genkernel.8 || die "doman" - dodoc AUTHORS README TODO || die "dodoc" - - dobin genkernel || die "dobin genkernel" - - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf - - insinto /usr/share/genkernel - doins -r "${S}"/* || die "doins" - use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \ - cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6 - - # Copy files to /var/cache/genkernel/src - elog "Copying files to /var/cache/genkernel/src..." - mkdir -p "${D}"/var/cache/genkernel/src - cp -f \ - "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ - "${D}"/var/cache/genkernel/src || die "Copying distfiles..." - - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" - insinto /etc - doins "${FILESDIR}"/initramfs.mounts -} - -pkg_postinst() { - elog 'You are using an EXPERIMENTAL version of genkernel called genkernel-next' - elog 'Actually, it is supposed to be more polished and reliable' - echo - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." - echo - if use crypt && ! use cryptsetup ; then - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." - ewarn "Please set flag 'cryptsetup' for this very package if you would like" - ewarn "to have genkernel create an initramfs with LUKS support." - echo - fi -} diff --git a/sys-kernel/genkernel-next/genkernel-next-37.ebuild b/sys-kernel/genkernel-next/genkernel-next-37.ebuild new file mode 100644 index 000000000000..36372ae73a48 --- /dev/null +++ b/sys-kernel/genkernel-next/genkernel-next-37.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel-next/genkernel-next-37.ebuild,v 1.1 2013/10/20 09:32:16 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/Sabayon/genkernel-next.git" + inherit git-2 +fi +inherit bash-completion-r1 eutils + +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64 ~arm ~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 + 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 "${PN}" +} |