sys-kernel/genkernel: 3.4.22
authorSebastian Pipping <sping@gentoo.org>
Sun, 8 Jan 2012 02:07:56 +0000 (02:07 +0000)
committerSebastian Pipping <sping@gentoo.org>
Sun, 8 Jan 2012 02:07:56 +0000 (02:07 +0000)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64

sys-kernel/genkernel/ChangeLog
sys-kernel/genkernel/Manifest
sys-kernel/genkernel/genkernel-3.4.22.ebuild [new file with mode: 0644]

index 38ac62ce2bae46e3ea7199d6f9fada59ba135c5a..1ececbe993f6b1b03aa9c31f31dbd17c5c7f07a5 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-kernel/genkernel
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.269 2012/01/06 05:05:18 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.270 2012/01/08 02:07:56 sping Exp $
+
+*genkernel-3.4.22 (08 Jan 2012)
+
+  08 Jan 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.22.ebuild:
+  Bump to 3.4.22
 
   06 Jan 2012; Robin H. Johnson <robbat2@gentoo.org> Manifest:
   Force redigest
index d8bd1710fc0075a256c699a47df99eec787cba05..bfe92ffdb8aaeb38c8b254a13cc5923a593b2109 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX busybox-1.7.4-make-3.82.patch 1287 RMD160 c75fc032e11ed780bc949bedb89a230f253faa66 SHA1 a6053a3d8ae1ed5dc3808f4aab8807ea6c483c12 SHA256 3ac639a80426018c77e7c1fe0ab9df4aa771332d3673ceb61fad0c26d8c4184f
 AUX genkernel.bash 2438 RMD160 b3d8e4436d8768c07d18c5aaff9c14fc16641729 SHA1 e15a9c6ef506aa6872a6a97d26751246dedded04 SHA256 e7de9771ba79ef878e2c9a21a1c1720f092c6047d3cc7d4a49ff6b90e7e2c248
 DIST LVM2.2.02.28.tgz 531905 RMD160 bf6f25db6e34bf362353ae9557691a7f01962502 SHA1 6eb2f6e1228b017ad23d0b7f2bb12fd113f96616 SHA256 2d8d7b123e427d0bfb7471d7c17dfd88890eb98257ca22ea3be5d7307e83aceb
@@ -23,6 +26,7 @@ DIST genkernel-3.4.18.tar.bz2 207295 RMD160 241670f902721c2c22d89ae23471bd2450d7
 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.2.tar.bz2 183704 RMD160 37403b2f316ed4175ebbfc22998ebfaf2769b12d SHA1 785719291521158515ce4f79fc0a40d488f6eb64 SHA256 19649c55a8c7d64a53898e2e697744c07ec3d05ff576f85908f9aceabef5a06a
+DIST genkernel-3.4.22.tar.bz2 207131 RMD160 0bf1b7a47f0e336b89e2d04bdcb417c7300060e1 SHA1 694e259452a2f8f1779f1387ad7aada2bf009545 SHA256 c7d4ac8b070821edd61a89c3ac8b971ffb366aaf6088528fa4e583404110b2c8
 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
@@ -43,6 +47,14 @@ EBUILD genkernel-3.4.18.ebuild 5220 RMD160 ccb57183dbab7f58078192808ea2d60292e79
 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.2.ebuild 5224 RMD160 3bb6c5f390beb6cdf3abc1c3b8ba69b5759268d9 SHA1 2c8857cf12c50559fc680454ce1b35efb601be34 SHA256 3a90e64248c39051d2af0a4eabb5ee5bf897c503b61f48eb20ff6195219fdbc6
+EBUILD genkernel-3.4.22.ebuild 5220 RMD160 c0e3e54ee2827dc6214ecb4435c173ad7b5fddab SHA1 117314ea47cc5a621506a94cc88b2278d7d9363a SHA256 a34a6a74b960f59cb9267c2d5eee6fa665c313ab59b02d5424448222634857d7
 EBUILD genkernel-9999.ebuild 5220 RMD160 2604a3ab55ec68f37ad5ee639e802b0da894a184 SHA1 ed3790576f8586168a09393b64bf72464c37893d SHA256 0bf783f7853ad49373a0f5b74be6851a86c3a6c1764db764c875acaa2a55b9f3
-MISC ChangeLog 50445 RMD160 3bb382a1d9c36b3875848c157c5b0af6bc5b45c4 SHA1 5de5a1d7e85bf9b7d10a6a56dabb27e0f184f9f4 SHA256 62266dd866b8aa808e5a0af224f536286b9dd733c4c0dc5b7e79fe9faa53da90
+MISC ChangeLog 50572 RMD160 d12e6f9f0d4437eca7d8b108d68e882be2d5834f SHA1 0a86956a38cec8268c55fdb636a5a548d4875024 SHA256 963663998ced3e17d9e66aca92787a621749f35e4905b6dabda3f16832ff324c
 MISC metadata.xml 205 RMD160 4acb9018c91945d9782cfb80cef7ee98787e7672 SHA1 ead70f12ee5717a53646361197f53f55adb8b25a SHA256 00ad951be56555b432a47451bbf11dd4830ed56aa377d1bc06cbf431525315a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk8I+mwACgkQsAvGakAaFgCpFgCgwyiNSzbcDnNNXorxzYLfD/ga
+Zz4AoKrlrSz8Y4W1xflGcB+ANuo7AEYr
+=7cW7
+-----END PGP SIGNATURE-----
diff --git a/sys-kernel/genkernel/genkernel-3.4.22.ebuild b/sys-kernel/genkernel/genkernel-3.4.22.ebuild
new file mode 100644 (file)
index 0000000..bca887d
--- /dev/null
@@ -0,0 +1,154 @@
+# 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.22.ebuild,v 1.1 2012/01/08 02:07:56 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
+}