DIST genkernel-3.4.18.tar.bz2 207295 RMD160 241670f902721c2c22d89ae23471bd2450d72fba SHA1 ae4d7ef718accea8e9d6532c38fe1ffd9d72f662 SHA256 acbba62ffdfeb243f8d67b0d33f88fa0ecf2b59b8e646156705f18d34b45a86d
DIST genkernel-3.4.19.tar.bz2 205695 RMD160 5899f47daa6210f2a649a20984cc1d2454cc117f SHA1 50badc2ec6ae52380ddaa46cf29a5a6f88bf13a5 SHA256 7f052490e91ad7f07cae28d8b36e1660c367166b1d1529f80af5707e70993f03
DIST genkernel-3.4.20.tar.bz2 205764 RMD160 65cb935e84bb3f8c6c50eea561b89cd6ca714ddf SHA1 04bfce748ef0227f35f6be79f2ac0c82ee53c4bb SHA256 ee677be9d19cddbf2ebfd9dd434f65dd83f1d66d113659c1994faf300074561a
+DIST genkernel-3.4.21.1.tar.bz2 206781 RMD160 abcd695799a71e534daf9a2333625183ab9a9626 SHA1 e8e35237aaad3c1dd7a272a79a21dc692e84e7e3 SHA256 20047eee3294ac7d7e2248c3816731a7fb2c7867ed59ddd8f7227f3a7a47e681
DIST gnupg-1.4.11.tar.bz2 3407075 RMD160 9daf2dedfd4c6211fc13b8cdee8f08b8f5925378 SHA1 78e22f5cca88514ee71034aafff539c33f3c6676 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6
DIST mdadm-3.1.4.tar.bz2 288578 RMD160 f41a2be4158efac08dbe2e95f1c6812609475fad SHA1 4ee43922d38b15a930daaaa026ef1b4efacdbc8a SHA256 849ad0ad4ad3c1d2d8806a16b30e1f59ab2daf313cb103807207f7cba889ea63
DIST open-iscsi-2.0-871.tar.gz 330514 RMD160 f996d9145bc3727394f1a4999f430bd5ea5c2a0d SHA1 968baf16d4094fb9842bc04b0fe8109103356252 SHA256 bcea8746ae82f2ada7bc05d2aa59bcda1ca0d5197f05f2e16744aae59f0a7dcb
EBUILD genkernel-3.4.18.ebuild 5220 RMD160 ccb57183dbab7f58078192808ea2d60292e79d2e SHA1 f641f3265ff3cb24e9fdcf02cbe3518733dae01e SHA256 d85aad2ac91c04547eb21bd6ad856b4f6f5f22e88f8fdf7b53cb771a04047fdd
EBUILD genkernel-3.4.19.ebuild 5220 RMD160 5c2469b7ffe9f1032ab96d41745eb023999149dd SHA1 1604a5f802b2b81ec057135939963a989a6221ca SHA256 1965b19a7019f6385d4c010fcd7947835a68032b6ba0d2c9fe8821d80cc18f46
EBUILD genkernel-3.4.20.ebuild 5220 RMD160 b7a7b3cc635842266ac97e1deedafdfbc66d26fb SHA1 3c11aa7b7e4572f59edb096c4aef4c116c92cb3c SHA256 9ab0ad20415d6f5258cbcdb608e800541a40d222b0a135a27668a21eff5cc1d7
+EBUILD genkernel-3.4.21.1.ebuild 5222 RMD160 267ea0eee4fac9f5374d2b38707b5f6922a82034 SHA1 8018a1ba942ae06dd8d0b43e8a4829257a009c40 SHA256 760d190d8e3867463a0f61c4aa6556e2a14009652449a69829393566f98e2805
EBUILD genkernel-9999.ebuild 5220 RMD160 2604a3ab55ec68f37ad5ee639e802b0da894a184 SHA1 ed3790576f8586168a09393b64bf72464c37893d SHA256 0bf783f7853ad49373a0f5b74be6851a86c3a6c1764db764c875acaa2a55b9f3
-MISC ChangeLog 49956 RMD160 4bc6eddb2f9289b87106987d8e400b19863194fb SHA1 1063a7aa060781214dbe4ae9fe24867ca8f99df3 SHA256 342f5dd05d6edd650361c702cddb2424b2b332ffd9837e40795b4a63d5a5d4df
+MISC ChangeLog 50091 RMD160 6f795683db8cbb45cca3f27a0c00c30b6c1674ab SHA1 32f194b94837d00200b05176af92f358a3fd8202 SHA256 f5d0685801dff05409881797a1ac4f4ce2596881a535a17e9cfbf8597e5dbd40
MISC metadata.xml 205 RMD160 4acb9018c91945d9782cfb80cef7ee98787e7672 SHA1 ead70f12ee5717a53646361197f53f55adb8b25a SHA256 00ad951be56555b432a47451bbf11dd4830ed56aa377d1bc06cbf431525315a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk65Zd4ACgkQsAvGakAaFgBRtACdFIPve9vm0dMgxC0sBzIjJidW
-rawAoLAvFv39bgng914NS/rrmLmawGzA
-=1Gmg
+iEYEARECAAYFAk8GCpIACgkQsAvGakAaFgBioQCgoTcXEBi7ZZwuKHssrVS/ivHg
+Z/oAnRasUH5SnuhUL2R6my1+1Tk3NR6P
+=TkDC
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.21.1.ebuild,v 1.1 2012/01/05 20:40:02 sping Exp $
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+VERSION_BUSYBOX='1.18.1'
+VERSION_DMAP='1.02.22'
+VERSION_DMRAID='1.0.0.rc14'
+VERSION_MDADM='3.1.4'
+VERSION_E2FSPROGS='1.41.14'
+VERSION_FUSE='2.7.4'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.74'
+VERSION_UNIONFS_FUSE='0.22'
+VERSION_GPG='1.4.11'
+
+MY_HOME="http://wolf31o2.org"
+RH_HOME="ftp://sources.redhat.com/pub"
+DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="http://www.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
+ ${RH_HOME}/dm/device-mapper.${VERSION_DMAP}.tgz
+ ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ mirror://kernel/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.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://git.overlays.gentoo.org/proj/${PN}.git
+ http://git.overlays.gentoo.org/gitroot/proj/${PN}.git"
+ inherit git-2 bash-completion eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+ KEYWORDS=""
+else
+ inherit bash-completion eutils
+ SRC_URI="mirror://gentoo/${P}.tar.bz2
+ ${MY_HOME}/sources/genkernel/${P}.tar.bz2
+ ${COMMON_URI}"
+ # Please don't touch individual KEYWORDS. Since this is maintained/tested by
+ # Release Engineering, it's easier for us to deal with all arches at once.
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="ibm selinux"
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND} app-arch/cpio"
+
+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
+ use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake || die
+ fi
+}
+
+src_install() {
+ # This block updates genkernel.conf
+ sed \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_DMAP:$VERSION_DMAP:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \
+ -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}"/genkernel.conf > "${T}"/genkernel.conf \
+ || die "Could not adjust versions"
+ insinto /etc
+ doins "${T}"/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}"/device-mapper.${VERSION_DMAP}.tgz \
+ "${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \
+ "${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..."
+
+ dobashcompletion "${FILESDIR}"/genkernel.bash
+}
+
+pkg_postinst() {
+ echo
+ elog 'Documentation is available in the genkernel manual page'
+ elog 'as well as the following URL:'
+ echo
+ elog 'http://www.gentoo.org/doc/en/genkernel.xml'
+ 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
+
+ bash-completion_pkg_postinst
+}