summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-12-09 10:45:22 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-12-09 10:48:46 -0800
commit03be34c376c979a2fe055aec14b674afd63780b5 (patch)
tree093fbb81e07f25f70d79d736b39b997f2986bed2 /sys-kernel/genkernel
parentdev-util/bless: remove glade-sharp dependency (bug 640310) (diff)
downloadgentoo-03be34c376c979a2fe055aec14b674afd63780b5.tar.gz
gentoo-03be34c376c979a2fe055aec14b674afd63780b5.tar.bz2
gentoo-03be34c376c979a2fe055aec14b674afd63780b5.zip
sys-kernel/genkernel: cleanup.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r--sys-kernel/genkernel/Manifest3
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.49.2.ebuild171
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.0.8.ebuild164
-rw-r--r--sys-kernel/genkernel/genkernel-3.5.1.0.ebuild164
-rw-r--r--sys-kernel/genkernel/metadata.xml1
5 files changed, 0 insertions, 503 deletions
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index 5749fb152be4..df0ad4fc285f 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -5,11 +5,8 @@ DIST busybox-1.26.0.tar.bz2 2143958 BLAKE2B 3a4a227a4308d9d5e00c00fc5e90ee9a1d63
DIST busybox-1.27.2.tar.bz2 2216527 BLAKE2B 77b8fa325b9ba691c0ac944537efdf5d87011b1a87c1c244588136f78055be9f2a71c77eea5edf1d20cfe50e59b15527511b14160930c946ed4e82c9608cb991 SHA512 d99e86b652562ebe1a5d50e1ba3877a1d1612997c17cb8d8e4212da181211a9b741a881cb051f14cb3ee8aea40226cf2cde80a076baed265d3bc0a4e96a5031c
DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 BLAKE2B 290c5bb7f1b12ac48627d8afcc346327b2fcce31b1015d5974c956d94f607b297e383158cd8741f03a770cdeb3f42c3e6341ebfcbc2220e122d89c2603eee512 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e
DIST fuse-2.8.6.tar.gz 505334 BLAKE2B c44533625ead8acc5a16f61064635492c54aa91780018e3895baf18abe3ca00c9ec7f6606183a4f986037201db79697c07d03adf57c5a87e7888b8823d83aa8a SHA512 03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd
-DIST genkernel-3.4.49.2.tar.bz2 266427 BLAKE2B d8a467ddd0b9fac4961c10168be6c5e6a5f3c8d4435989c84d0b3ca1fec3fd88ebc5db3df40266dab970dfa83c5c544ccc5e7a53f47d4c53a49f868c49d584fb SHA512 f66b0107438d420a16de546ee28e2a2f09281fcf21c2ffc26c94438ba4c7467e607bf296081954e90d01a92e7db7642091267bade458b837758041a64b0b97ea
DIST genkernel-3.4.52.3.tar.xz 282976 BLAKE2B 69eb6a964c5c20ee32ea6143b576a85090dfb50c011c641ae8415fba1cb99e7f239f4ba7fdc450b7c0eb93a248610c47e751f3993b8fff6e51b9602c37145af9 SHA512 a68b0149b9a69f59ab3e8d772f35f12643b9500c0c684d4824ca1f3c669b0ea01989a55643cd5b413f35d6fff284cd5ede7183971e202b3788caeb399259191f
DIST genkernel-3.4.52.4.tar.xz 284064 BLAKE2B bc9c37f4bc7ab6c5eb8b4a0fe964843cf2554806d2dedd22feb2c9eae4935d9c432c8608916dece5b48cdd5dbf30aaa04fac6e279392f63c6854c2fbef956b1a SHA512 2dcdf2acb19c868ea7bfd5a0f9c7c3b179ac0f9f31b74306641dd8a1e8b076f5122e60a96c006e20f634e9e540d51723ef94bf91d8e28217dbb2159ff4d896dc
-DIST genkernel-3.5.0.8.tar.xz 287876 BLAKE2B 16463477447e9f4f5b0aeca2f34d3b030bfb9758994bf2a32bda5f0f7f0d32569158d4fb052e70f42278d043d42f8f43ab67ae4a6940d0e40d52e393da8d2069 SHA512 92014ef2af4e52b20647fee344eecd91c943750e0095a552615367229eff875ee6fd70c6bf256d79a8c04cab6f6ade7b669f1cca435cd5a0faacdccd524ac648
-DIST genkernel-3.5.1.0.tar.xz 292388 BLAKE2B 627e98e7764709782e624689a16b3227bae3fbbec5621cac9812b9e1175a981e980d964091b0857c40314a72cb271168eedca9973af11231a842f6d5414116fb SHA512 a4b13101b1bc6e3bc24077b2ac67e0e973f65b95a663ef848888e48f5ecc293d1f3895c0c7ef30b0686dbb6fdc8a50a2a5f1a347f28aa0b536912ac194c8bc28
DIST genkernel-3.5.1.1.tar.xz 292864 BLAKE2B 43bc7838e53ac3bbd3b36fb999e36c3a62da6aa5e4d62606aca9988aff135cc3ab0777fb7e60e2da9de807d059b3393cb686aad06f0bec22d6710f5978d05f27 SHA512 ff564e00bed2c7c211a0c7e73425169a6d354366737b8a561751557980f866dcd071baee5de3b089221cf6cb3ffd61d26ddd7d2f6f7e18d0c0df19ad94da1678
DIST genkernel-3.5.2.0.tar.xz 291956 BLAKE2B 4719cca00084a513984c9e569650c58948a8aef58f69ab1bf0cb3c7c80b6b9095e82421fbc3fc9e726c8e449f2cca701b383386aff451fdbfa1752b6b4b81cc8 SHA512 3ac1c06dcde4008b5bad4441347e278717b7bc8560c300567f4d2ecf0603249845dacc19aa29483a0801eac073c8150d6d11b4b4edb80fc7cd5cf44745f75045
DIST genkernel-3.5.2.1.tar.xz 293680 BLAKE2B 22531495514c1ff0e3354ba4d04687aa672dda1889ac04f5924c7c843c4db24a73a113b138300f40d47cdfc4b3b45654fdc284e8b88f55071b1395d0293aab55 SHA512 94dd1e4b09578b1563db5152af1f651022196b05492ef69cd7330fb05eb3c950d71b6b5c5e228c8316ced5130cb7cd9d4a24ce31c5ada093e173c9f67f309789
diff --git a/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild b/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild
deleted file mode 100644
index fbe29c326358..000000000000
--- a/sys-kernel/genkernel/genkernel-3.4.49.2.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.2'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_LVM='2.02.88'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-RH_HOME="ftp://sourceware.org/pub"
-DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
-BB_HOME="https://busybox.net/downloads"
-
-COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
- ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
- mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
- ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
- ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
- mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
- http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
-
-if [[ ${PV} == 9999* ]]
-then
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
- https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-2 bash-completion-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
-else
- inherit bash-completion-r1 eutils
- SRC_URI="mirror://gentoo/${P}.tar.bz2
- ${COMMON_URI}"
- KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working!
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- app-arch/cpio
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- unpack ${P}.tar.bz2
- fi
-}
-
-src_prepare() {
- if [[ ${PV} == 9999* ]] ; then
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -e "s:VERSION_MDADM:$VERSION_MDADM:" \
- -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
- -e "s:VERSION_FUSE:$VERSION_FUSE:" \
- -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
- -e "s:VERSION_LVM:$VERSION_LVM:" \
- -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
- -e "s:VERSION_GPG:$VERSION_GPG:" \
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-
- # sparc doesn't need crosscompiler anymore
- # remove this after >3.4.51.2
- sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \
- "${S}"/arch/sparc64/config.sh \
- || die "Could not remove sparc64 crosscompiler config"
-
- epatch_user
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- emake || die
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf || die "doins genkernel.conf"
-
- doman genkernel.8 || die "doman"
- dodoc AUTHORS ChangeLog 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}"/mdadm-${VERSION_MDADM}.tar.bz2 \
- "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \
- "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \
- "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \
- "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \
- "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \
- "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \
- "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
- "${D}"/var/cache/genkernel/src || die "Copying distfiles..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-pkg_postinst() {
- echo
- elog 'Documentation is available in the genkernel manual page'
- elog 'as well as the following URL:'
- echo
- elog 'https://wiki.gentoo.org/wiki/Genkernel'
- echo
- ewarn "This package is known to not work with reiser4. If you are running"
- ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
- ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
- ewarn "broken in this regard. Try using a sane filesystem like ext3 or"
- ewarn "even reiser3."
- 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."
- ewarn "Sorry for the inconvenience."
- echo
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild b/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild
deleted file mode 100644
index fac2636cee77..000000000000
--- a/sys-kernel/genkernel/genkernel-3.5.0.8.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
-
-VERSION_BUSYBOX='1.26.0'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_LVM='2.02.88'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-RH_HOME="ftp://sourceware.org/pub"
-DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
-BB_HOME="https://busybox.net/downloads"
-
-COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
- ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
- mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
- ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
- ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
- mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
- http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
-
-if [[ ${PV} == 9999* ]]
-then
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
- https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-2 bash-completion-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
-else
- inherit bash-completion-r1 eutils
- SRC_URI="mirror://gentoo/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="cryptsetup ibm +firmware selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- app-arch/cpio
- >=app-misc/pax-utils-1.2.2
- firmware? ( sys-kernel/linux-firmware )
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-pkg_pretend() {
- if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; 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."
- ewarn "Sorry for the inconvenience."
- echo
- fi
-}
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- unpack ${P}.tar.xz
- fi
-}
-
-src_prepare() {
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
- if use selinux ; then
- sed -i 's/###//g' "${S}"/gen_compile.sh || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -e "s:VERSION_MDADM:$VERSION_MDADM:" \
- -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
- -e "s:VERSION_FUSE:$VERSION_FUSE:" \
- -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
- -e "s:VERSION_LVM:$VERSION_LVM:" \
- -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
- -e "s:VERSION_GPG:$VERSION_GPG:" \
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-
- epatch_user
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- cd "${DISTDIR}"
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
-}
-
-pkg_postinst() {
- echo
- elog 'Documentation is available in the genkernel manual page'
- elog 'as well as the following URL:'
- echo
- elog 'https://wiki.gentoo.org/wiki/Genkernel'
- echo
- ewarn "This package is known to not work with reiser4. If you are running"
- ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
- ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
- ewarn "broken in this regard. Try using a sane filesystem like ext4."
- 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
-}
diff --git a/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild b/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild
deleted file mode 100644
index fac2636cee77..000000000000
--- a/sys-kernel/genkernel/genkernel-3.5.1.0.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
-
-VERSION_BUSYBOX='1.26.0'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_LVM='2.02.88'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-RH_HOME="ftp://sourceware.org/pub"
-DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
-BB_HOME="https://busybox.net/downloads"
-
-COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
- ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
- mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
- ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
- ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
- mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
- http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
-
-if [[ ${PV} == 9999* ]]
-then
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
- https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-2 bash-completion-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
-else
- inherit bash-completion-r1 eutils
- SRC_URI="mirror://gentoo/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="cryptsetup ibm +firmware selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- app-arch/cpio
- >=app-misc/pax-utils-1.2.2
- firmware? ( sys-kernel/linux-firmware )
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-pkg_pretend() {
- if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; 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."
- ewarn "Sorry for the inconvenience."
- echo
- fi
-}
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- unpack ${P}.tar.xz
- fi
-}
-
-src_prepare() {
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
- if use selinux ; then
- sed -i 's/###//g' "${S}"/gen_compile.sh || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -e "s:VERSION_MDADM:$VERSION_MDADM:" \
- -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
- -e "s:VERSION_FUSE:$VERSION_FUSE:" \
- -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
- -e "s:VERSION_LVM:$VERSION_LVM:" \
- -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
- -e "s:VERSION_GPG:$VERSION_GPG:" \
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-
- epatch_user
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]]; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- cd "${DISTDIR}"
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
-}
-
-pkg_postinst() {
- echo
- elog 'Documentation is available in the genkernel manual page'
- elog 'as well as the following URL:'
- echo
- elog 'https://wiki.gentoo.org/wiki/Genkernel'
- echo
- ewarn "This package is known to not work with reiser4. If you are running"
- ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
- ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
- ewarn "broken in this regard. Try using a sane filesystem like ext4."
- 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
-}
diff --git a/sys-kernel/genkernel/metadata.xml b/sys-kernel/genkernel/metadata.xml
index c058b58cd9e7..fca8c03fc36d 100644
--- a/sys-kernel/genkernel/metadata.xml
+++ b/sys-kernel/genkernel/metadata.xml
@@ -5,7 +5,6 @@
<email>genkernel@gentoo.org</email>
</maintainer>
<use>
- <flag name="crypt">Obsolete USE flag. Use cryptsetup for LUKS support. (bug ##414523)</flag>
<flag name="cryptsetup">Enable support for Luks disk encryption using <pkg>sys-fs/cryptsetup</pkg></flag>
<flag name="firmware">Prefer system firmware <pkg>sys-kernel/linux-firmware</pkg> over local copy.</flag>
</use>