summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-04-06 22:22:30 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-04-06 22:22:30 +0000
commit1e9bfde778ff99a6979360a89d865f3add94a3ea (patch)
tree38e325b86997390046b0391bd6d00ef14e165937 /sys-kernel/genkernel
parentRevision bump, with some code refactoring. Raise the number of possible windo... (diff)
downloadgentoo-2-1e9bfde778ff99a6979360a89d865f3add94a3ea.tar.gz
gentoo-2-1e9bfde778ff99a6979360a89d865f3add94a3ea.tar.bz2
gentoo-2-1e9bfde778ff99a6979360a89d865f3add94a3ea.zip
Fix #128806.
(Portage version: 2.1_pre7)
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r--sys-kernel/genkernel/ChangeLog7
-rw-r--r--sys-kernel/genkernel/files/digest-genkernel-3.3.11a27
-rw-r--r--sys-kernel/genkernel/genkernel-3.3.11a.ebuild96
3 files changed, 129 insertions, 1 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog
index 000acb893dc0..bd385f2c796f 100644
--- a/sys-kernel/genkernel/ChangeLog
+++ b/sys-kernel/genkernel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/genkernel
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.133 2006/03/14 23:06:56 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.134 2006/04/06 22:22:30 plasmaroo Exp $
+
+*genkernel-3.3.11a (06 Apr 2006)
+
+ 06 Apr 2006; <plasmaroo@gentoo.org> +genkernel-3.3.11a.ebuild:
+ Fix #128806.
14 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
genkernel-3.3.11.ebuild:
diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.3.11a b/sys-kernel/genkernel/files/digest-genkernel-3.3.11a
new file mode 100644
index 000000000000..2dbb8164c3b5
--- /dev/null
+++ b/sys-kernel/genkernel/files/digest-genkernel-3.3.11a
@@ -0,0 +1,27 @@
+MD5 287ed36505eca25ceda7c48c3dfed42c LVM2.2.00.25.tgz 427445
+RMD160 9a43dd3fa3e7d293986b51aaba4e5b7a8ee07977 LVM2.2.00.25.tgz 427445
+SHA256 4f3364edd8958b2a194d78c2c2fbe0c37541a7f2b1ce1bd830f34417cec3738d LVM2.2.00.25.tgz 427445
+MD5 b74bb5fa232c77bf74f87eac2f53e1e4 device-mapper.1.00.17.tgz 637694
+RMD160 890c0c9af98548eae40e2546b2aa378ac521acea device-mapper.1.00.17.tgz 637694
+SHA256 79eacac2ee583fb14171be5be447d59fe62a28bbf847bd63b58c204c95358756 device-mapper.1.00.17.tgz 637694
+MD5 668fd3d35e66b3ee0d9ca00c5fb63149 dmraid-1.0.0.rc9.tar.bz2 132423
+RMD160 85cf24dcea1d572964b43118fd875d200bf019d9 dmraid-1.0.0.rc9.tar.bz2 132423
+SHA256 785ef7165f547872fea8bcaa6657f2b3999e34474ef4f61b37bf32f51bf22630 dmraid-1.0.0.rc9.tar.bz2 132423
+MD5 d774d4412bfb80d12cf3a4fdfd59de5a e2fsprogs-1.38.tar.gz 3621193
+RMD160 492071c29e9a0adc1bed0762e795efb6b29a692c e2fsprogs-1.38.tar.gz 3621193
+SHA256 c4e482687d0cff240d02a70fcf423cc14296b6a7869cd8dd42d5404d098e0bb7 e2fsprogs-1.38.tar.gz 3621193
+MD5 ef09596052c7a7f1d3248a35b319ed7f genkernel-3.3.11a.tar.bz2 142491
+RMD160 5cb4611a6162a41807836c403574163f3c1943aa genkernel-3.3.11a.tar.bz2 142491
+SHA256 d7463bcf2bc27b55c09eb3975f5e29b2d770cfb8f688dcf019503027406133f0 genkernel-3.3.11a.tar.bz2 142491
+MD5 cbbbb085a9dcbc30a7424d6fce406d1a genkernel-pkg-3.3.11a.tar.bz2 1535685
+RMD160 9e592f45b53098dff4110d66fd51da6d88d9d607 genkernel-pkg-3.3.11a.tar.bz2 1535685
+SHA256 96c7d1cd1422f0cadffe35f9a8785c5ec75cc439c229e74fd08339bc3882fa66 genkernel-pkg-3.3.11a.tar.bz2 1535685
+MD5 80b85e84306695ed61049720008dd409 klibc-1.1.16.tar.bz2 451284
+RMD160 869ed4a53f86bf33b12e5abfa8d343b70da5f8b6 klibc-1.1.16.tar.bz2 451284
+SHA256 3e7a6f303a7aca1fe938f860c9ee9c93ff7937644b9158bec07df7b1217e8d8b klibc-1.1.16.tar.bz2 451284
+MD5 61ec646daf7795e9777e8f33975408fe udev-077.tar.bz2 222315
+RMD160 c686cc3996bd6fdff53d78c6cbeda46568c4bc11 udev-077.tar.bz2 222315
+SHA256 e9f05ebcf6f5cd07336704803016c9550e587d63d8f645ad3f3e4226d1709ae3 udev-077.tar.bz2 222315
+MD5 7fd4922cf9d5be9ee4301aae14827a3e unionfs-1.1.1.tar.gz 144244
+RMD160 efb384c20201e440b37e0aff90f00e70967abed9 unionfs-1.1.1.tar.gz 144244
+SHA256 40639e3a7d2ea1ee37e7af4247c32534f849071ed0e08dfab8de46676dd4d55f unionfs-1.1.1.tar.gz 144244
diff --git a/sys-kernel/genkernel/genkernel-3.3.11a.ebuild b/sys-kernel/genkernel/genkernel-3.3.11a.ebuild
new file mode 100644
index 000000000000..d9667d803151
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.3.11a.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.3.11a.ebuild,v 1.1 2006/04/06 22:22:30 plasmaroo Exp $
+
+VERSION_DMAP='1.00.17'
+VERSION_DMRAID='1.0.0.rc9'
+VERSION_E2FSPROGS='1.38'
+VERSION_LVM2='2.00.25'
+VERSION_PKG='3.3.11a'
+VERSION_UNIONFS='1.1.1'
+VERSION_UDEV="077"
+VERSION_KLIBC="1.1.16"
+
+DESCRIPTION="Gentoo autokernel script"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~plasmaroo/patches/kernel/genkernel/${P}.tar.bz2
+ http://dev.gentoo.org/~plasmaroo/patches/kernel/genkernel/genkernel-pkg-${VERSION_PKG}.tar.bz2
+ http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
+ ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz
+ ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz
+ ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-${VERSION_UNIONFS}.tar.gz
+ mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz
+ mirror://kernel/linux/utils/kernel/hotplug/udev-${VERSION_UDEV}.tar.bz2
+ http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-${VERSION_KLIBC}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bootsplash ibm"
+
+DEPEND="sys-fs/e2fsprogs
+ x86? ( bootsplash? ( media-gfx/bootsplash ) )
+ amd64? ( bootsplash? ( media-gfx/bootsplash ) )"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ cd ${S}
+ unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2
+}
+
+src_install() {
+ dodir /etc
+ cp ${S}/genkernel.conf ${D}/etc
+ # This block updates genkernel.conf
+ sed -i -e "s:VERSION_DMAP:$VERSION_DMAP:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \
+ -e "s:VERSION_LVM2:$VERSION_LVM2:" \
+ -e "s:VERSION_UNIONFS:$VERSION_UNIONFS:" \
+ -e "s:VERSION_UDEV:$VERSION_UDEV:" \
+ -e "s:VERSION_KLIBC:$VERSION_KLIBC:" \
+ ${D}/etc/genkernel.conf || die "Could not adjust versions"
+
+ # This is because I switched to using the bzip2 for klibc
+ sed -i -e 's:KLIBC_VER}.tar.gz:KLIBC_VER}.tar.bz2:' \
+ ${D}/etc/genkernel.conf || die "Could not adjust klibc tarball"
+ sed -i -e 's:tar zxpf "${KLIBC_SRCTAR}":tar jxpf "${KLIBC_SRCTAR}":' \
+ ${S}/gen_compile.sh || die "sed gen_compile.sh"
+
+ dodir /usr/share/genkernel
+ use ibm && cp ${S}/ppc64/kernel-2.6-pSeries ${S}/ppc64/kernel-2.6 || cp ${S}/ppc64/kernel-2.6.g5 ${S}/ppc64/kernel-2.6
+ cp -Rp ${S}/* ${D}/usr/share/genkernel
+
+ dodir /usr/bin
+ dosym /usr/share/genkernel/genkernel /usr/bin/genkernel
+
+ rm ${D}/usr/share/genkernel/genkernel.conf
+ dodoc README
+
+ doman genkernel.8
+ rm genkernel.8
+
+ cp ${DISTDIR}/dmraid-${VERSION_DMRAID}.tar.bz2 \
+ ${DISTDIR}/LVM2.${VERSION_LVM2}.tgz \
+ ${DISTDIR}/device-mapper.${VERSION_DMAP}.tgz \
+ ${DISTDIR}/unionfs-${VERSION_UNIONFS}.tar.gz \
+ ${DISTDIR}/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \
+ ${DISTDIR}/klibc-${VERSION_KLIBC}.tar.bz2 \
+ ${DISTDIR}/udev-${VERSION_UDEV}.tar.bz2 \
+ ${D}/usr/share/genkernel/pkg
+}
+
+pkg_postinst() {
+ echo
+ einfo 'Documentation is available in the genkernel manual page'
+ einfo 'as well as the following URL:'
+ echo
+ einfo '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
+}