summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-12-03 23:51:34 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-12-03 23:51:34 +0000
commitb538da8a9fbf8f0157c20dceef9da26da4136268 (patch)
tree623c7dfbee6692c73d76c5b2c98acae5808c5135 /sys-kernel
parentadded missing perl modul (diff)
downloadgentoo-2-b538da8a9fbf8f0157c20dceef9da26da4136268.tar.gz
gentoo-2-b538da8a9fbf8f0157c20dceef9da26da4136268.tar.bz2
gentoo-2-b538da8a9fbf8f0157c20dceef9da26da4136268.zip
Version bump to 3.4.9_pre11 for testing.
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/genkernel/ChangeLog9
-rw-r--r--sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre11 (renamed from sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre7)12
-rw-r--r--sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre821
-rw-r--r--sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre921
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.9_pre11.ebuild (renamed from sys-kernel/genkernel/genkernel-3.4.9_pre8.ebuild)15
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.9_pre7.ebuild102
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.9_pre9.ebuild102
7 files changed, 22 insertions, 260 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog
index e09892dd2688..c5007807e3f9 100644
--- a/sys-kernel/genkernel/ChangeLog
+++ b/sys-kernel/genkernel/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-kernel/genkernel
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.184 2007/11/28 22:49:20 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.185 2007/12/03 23:51:34 wolf31o2 Exp $
+
+*genkernel-3.4.9_pre11 (03 Dec 2007)
+
+ 03 Dec 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ -genkernel-3.4.9_pre7.ebuild, -genkernel-3.4.9_pre8.ebuild,
+ -genkernel-3.4.9_pre9.ebuild, +genkernel-3.4.9_pre11.ebuild:
+ Version bump to 3.4.9_pre11 for testing.
*genkernel-3.4.9_pre10 (28 Nov 2007)
diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre7 b/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre11
index d5e4763ed37c..802dcd2953b1 100644
--- a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre7
+++ b/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre11
@@ -10,12 +10,12 @@ SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec dmraid-1
MD5 06f7806782e357797fad1d34b7ced0c6 e2fsprogs-1.39.tar.gz 3695111
RMD160 67e77a7cbf0e719fa8b5a8ac6285b334e1c3481b e2fsprogs-1.39.tar.gz 3695111
SHA256 dc2033447e69a1612881151f6f163e8a3b80e51d16f5e8b3576f3f8ccb325ea3 e2fsprogs-1.39.tar.gz 3695111
-MD5 129be0ee64f9b8d83c80d8258cfaf2dc genkernel-3.4.9_pre7.tar.bz2 178005
-RMD160 d1f97cf7ca66d0532a122c43bf6f38b5c0185ca5 genkernel-3.4.9_pre7.tar.bz2 178005
-SHA256 2acb491c1ba670a78e63d7a40bd73537c02fa78cc3505b3be56bf3e9edd06440 genkernel-3.4.9_pre7.tar.bz2 178005
-MD5 8c8d2237555602e9feba657025a12aef genkernel-pkg-3.4-r2.tar.bz2 1909178
-RMD160 49e0fc62c07cfd2f91868087a6703004cd7e1c3f genkernel-pkg-3.4-r2.tar.bz2 1909178
-SHA256 322b840786316a811cb1f4c4f9c589283081205fb0e911e2469ac5cd9682ace5 genkernel-pkg-3.4-r2.tar.bz2 1909178
+MD5 27b11a51d609d943ff6377f019f2946f genkernel-3.4.9_pre11.tar.bz2 180097
+RMD160 cac6d3d031b6d3d26d3daabd5cad0828f5296a07 genkernel-3.4.9_pre11.tar.bz2 180097
+SHA256 fd53ed1f61ccb5ac2f80b569d6930e6e89ac2dd1d479514f6242e2eb19952cdc genkernel-3.4.9_pre11.tar.bz2 180097
+MD5 0ec223ba6b159b4588bbdf9784725f18 genkernel-pkg-3.4-r3.tar.bz2 1915282
+RMD160 8424628e94c51d500f7b28532901ad0c5e53ee38 genkernel-pkg-3.4-r3.tar.bz2 1915282
+SHA256 0681579b34705de7fc7ec7a08154cea9dc21142b612f4b7d904a4b588e3de684 genkernel-pkg-3.4-r3.tar.bz2 1915282
MD5 89d736859e5547db1384229160ad5410 unionfs-1.5pre-cvs200701042308.tar.gz 163418
RMD160 6d54be6db26a562dd943df2de9cf0e0138c45c6f unionfs-1.5pre-cvs200701042308.tar.gz 163418
SHA256 d1925eee22517df72828a7c75890c20a54335e135f6ed04ea43f8771c9b1c271 unionfs-1.5pre-cvs200701042308.tar.gz 163418
diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre8 b/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre8
deleted file mode 100644
index c76acfac7b5a..000000000000
--- a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre8
+++ /dev/null
@@ -1,21 +0,0 @@
-MD5 940a882a71cae84f6befc8069a260ad1 LVM2.2.02.28.tgz 531905
-RMD160 bf6f25db6e34bf362353ae9557691a7f01962502 LVM2.2.02.28.tgz 531905
-SHA256 2d8d7b123e427d0bfb7471d7c17dfd88890eb98257ca22ea3be5d7307e83aceb LVM2.2.02.28.tgz 531905
-MD5 6b94db57cdc9022af1583b3f2acb91cd device-mapper.1.02.22.tgz 189726
-RMD160 8bf9986536c49f53c398d6a2180e21e1235bea18 device-mapper.1.02.22.tgz 189726
-SHA256 ff833a6cd6246686f5b3f5692fd6597f1ffbc60f08929e5fe68304cdafb61595 device-mapper.1.02.22.tgz 189726
-MD5 a0e7d0bb5394e15c878ac86afd72c08e dmraid-1.0.0.rc14.tar.bz2 164234
-RMD160 9cd238a981cfef9c5c1f2f1d6466b70c95ec9c7c dmraid-1.0.0.rc14.tar.bz2 164234
-SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec dmraid-1.0.0.rc14.tar.bz2 164234
-MD5 06f7806782e357797fad1d34b7ced0c6 e2fsprogs-1.39.tar.gz 3695111
-RMD160 67e77a7cbf0e719fa8b5a8ac6285b334e1c3481b e2fsprogs-1.39.tar.gz 3695111
-SHA256 dc2033447e69a1612881151f6f163e8a3b80e51d16f5e8b3576f3f8ccb325ea3 e2fsprogs-1.39.tar.gz 3695111
-MD5 6869f483ed76414e26c25408c46c63b7 genkernel-3.4.9_pre8.tar.bz2 179546
-RMD160 245b6dd7983ce8349e91c1c1b274fd5e9307e424 genkernel-3.4.9_pre8.tar.bz2 179546
-SHA256 b13f5930cb9fe390e7c398391e4194f72c3bbb1bb390cc9651392de02a7bef16 genkernel-3.4.9_pre8.tar.bz2 179546
-MD5 8c8d2237555602e9feba657025a12aef genkernel-pkg-3.4-r2.tar.bz2 1909178
-RMD160 49e0fc62c07cfd2f91868087a6703004cd7e1c3f genkernel-pkg-3.4-r2.tar.bz2 1909178
-SHA256 322b840786316a811cb1f4c4f9c589283081205fb0e911e2469ac5cd9682ace5 genkernel-pkg-3.4-r2.tar.bz2 1909178
-MD5 89d736859e5547db1384229160ad5410 unionfs-1.5pre-cvs200701042308.tar.gz 163418
-RMD160 6d54be6db26a562dd943df2de9cf0e0138c45c6f unionfs-1.5pre-cvs200701042308.tar.gz 163418
-SHA256 d1925eee22517df72828a7c75890c20a54335e135f6ed04ea43f8771c9b1c271 unionfs-1.5pre-cvs200701042308.tar.gz 163418
diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre9 b/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre9
deleted file mode 100644
index 9e6a430eb7a7..000000000000
--- a/sys-kernel/genkernel/files/digest-genkernel-3.4.9_pre9
+++ /dev/null
@@ -1,21 +0,0 @@
-MD5 940a882a71cae84f6befc8069a260ad1 LVM2.2.02.28.tgz 531905
-RMD160 bf6f25db6e34bf362353ae9557691a7f01962502 LVM2.2.02.28.tgz 531905
-SHA256 2d8d7b123e427d0bfb7471d7c17dfd88890eb98257ca22ea3be5d7307e83aceb LVM2.2.02.28.tgz 531905
-MD5 6b94db57cdc9022af1583b3f2acb91cd device-mapper.1.02.22.tgz 189726
-RMD160 8bf9986536c49f53c398d6a2180e21e1235bea18 device-mapper.1.02.22.tgz 189726
-SHA256 ff833a6cd6246686f5b3f5692fd6597f1ffbc60f08929e5fe68304cdafb61595 device-mapper.1.02.22.tgz 189726
-MD5 a0e7d0bb5394e15c878ac86afd72c08e dmraid-1.0.0.rc14.tar.bz2 164234
-RMD160 9cd238a981cfef9c5c1f2f1d6466b70c95ec9c7c dmraid-1.0.0.rc14.tar.bz2 164234
-SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec dmraid-1.0.0.rc14.tar.bz2 164234
-MD5 06f7806782e357797fad1d34b7ced0c6 e2fsprogs-1.39.tar.gz 3695111
-RMD160 67e77a7cbf0e719fa8b5a8ac6285b334e1c3481b e2fsprogs-1.39.tar.gz 3695111
-SHA256 dc2033447e69a1612881151f6f163e8a3b80e51d16f5e8b3576f3f8ccb325ea3 e2fsprogs-1.39.tar.gz 3695111
-MD5 6cbdec361b41c4a940155daf4386d932 genkernel-3.4.9_pre9.tar.bz2 179620
-RMD160 d871d3db7399de30fb660644aaa2b63dd71afee3 genkernel-3.4.9_pre9.tar.bz2 179620
-SHA256 0f6c8c8f04d165c9bbe196081075be7c405e17d6f3af05d75a9111d92bafbd3c genkernel-3.4.9_pre9.tar.bz2 179620
-MD5 8c8d2237555602e9feba657025a12aef genkernel-pkg-3.4-r2.tar.bz2 1909178
-RMD160 49e0fc62c07cfd2f91868087a6703004cd7e1c3f genkernel-pkg-3.4-r2.tar.bz2 1909178
-SHA256 322b840786316a811cb1f4c4f9c589283081205fb0e911e2469ac5cd9682ace5 genkernel-pkg-3.4-r2.tar.bz2 1909178
-MD5 89d736859e5547db1384229160ad5410 unionfs-1.5pre-cvs200701042308.tar.gz 163418
-RMD160 6d54be6db26a562dd943df2de9cf0e0138c45c6f unionfs-1.5pre-cvs200701042308.tar.gz 163418
-SHA256 d1925eee22517df72828a7c75890c20a54335e135f6ed04ea43f8771c9b1c271 unionfs-1.5pre-cvs200701042308.tar.gz 163418
diff --git a/sys-kernel/genkernel/genkernel-3.4.9_pre8.ebuild b/sys-kernel/genkernel/genkernel-3.4.9_pre11.ebuild
index 1e1239e3e540..dd079e2e1067 100644
--- a/sys-kernel/genkernel/genkernel-3.4.9_pre8.ebuild
+++ b/sys-kernel/genkernel/genkernel-3.4.9_pre11.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.9_pre8.ebuild,v 1.1 2007/11/07 21:50:39 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.9_pre11.ebuild,v 1.1 2007/12/03 23:51:34 wolf31o2 Exp $
inherit bash-completion eutils
VERSION_DMAP='1.02.22'
VERSION_DMRAID='1.0.0.rc14'
VERSION_E2FSPROGS='1.39'
-VERSION_LVM2='2.02.28'
-VERSION_PKG='3.4-r2'
+VERSION_LVM='2.02.28'
+VERSION_PKG='3.4-r3'
VERSION_UNIONFS='1.5pre-cvs200701042308'
DESCRIPTION="Gentoo automatic kernel building scripts"
@@ -19,8 +19,8 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-pkg-${VERSION_PKG}.tar.bz2
http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
http://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${VERSION_DMRAID}.tar.bz2
- ftp://sources.redhat.com/pub/lvm2/LVM2.${VERSION_LVM2}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz
+ ftp://sources.redhat.com/pub/lvm2/LVM2.${VERSION_LVM}.tgz
+ ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM}.tgz
ftp://sources.redhat.com/pub/dm/device-mapper.${VERSION_DMAP}.tgz
ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz
ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-1.x/snapshots/unionfs-${VERSION_UNIONFS}.tar.gz
@@ -44,6 +44,7 @@ src_unpack() {
cd "${S}"
unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2
use selinux && sed -i 's/###//g' gen_compile.sh
+# epatch "${FILESDIR}"/${P}-lvm2fix.patch
}
src_install() {
@@ -53,7 +54,7 @@ src_install() {
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_LVM:$VERSION_LVM:" \
-e "s:VERSION_UNIONFS:$VERSION_UNIONFS:" \
"${D}"/etc/genkernel.conf || die "Could not adjust versions"
@@ -72,7 +73,7 @@ src_install() {
rm genkernel.8
cp "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \
- "${DISTDIR}"/LVM2.${VERSION_LVM2}.tgz \
+ "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \
"${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \
"${DISTDIR}"/unionfs-${VERSION_UNIONFS}.tar.gz \
"${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \
diff --git a/sys-kernel/genkernel/genkernel-3.4.9_pre7.ebuild b/sys-kernel/genkernel/genkernel-3.4.9_pre7.ebuild
deleted file mode 100644
index fea085ffd176..000000000000
--- a/sys-kernel/genkernel/genkernel-3.4.9_pre7.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.9_pre7.ebuild,v 1.1 2007/11/07 21:02:11 wolf31o2 Exp $
-
-inherit bash-completion eutils
-
-VERSION_DMAP='1.02.22'
-VERSION_DMRAID='1.0.0.rc14'
-VERSION_E2FSPROGS='1.39'
-VERSION_LVM2='2.02.28'
-VERSION_PKG='3.4-r2'
-VERSION_UNIONFS='1.5pre-cvs200701042308'
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/${PN}-pkg-${VERSION_PKG}.tar.bz2
- http://dev.gentoo.org/~wolf31o2/${P}.tar.bz2
- http://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-pkg-${VERSION_PKG}.tar.bz2
- http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- http://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${VERSION_DMRAID}.tar.bz2
- ftp://sources.redhat.com/pub/lvm2/LVM2.${VERSION_LVM2}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz
- ftp://sources.redhat.com/pub/dm/device-mapper.${VERSION_DMAP}.tgz
- ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-1.x/snapshots/unionfs-${VERSION_UNIONFS}.tar.gz
- mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-# 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"
-#KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
-IUSE="ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio"
-
-src_unpack() {
- unpack ${P}.tar.bz2
- cd "${S}"
- unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2
- use selinux && sed -i 's/###//g' gen_compile.sh
-}
-
-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:" \
- "${D}"/etc/genkernel.conf || die "Could not adjust versions"
-
- 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 -f "${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 \
- "${D}"/usr/share/genkernel/pkg
-
- 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
-}
diff --git a/sys-kernel/genkernel/genkernel-3.4.9_pre9.ebuild b/sys-kernel/genkernel/genkernel-3.4.9_pre9.ebuild
deleted file mode 100644
index b2177c106ff3..000000000000
--- a/sys-kernel/genkernel/genkernel-3.4.9_pre9.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.9_pre9.ebuild,v 1.1 2007/11/14 01:47:07 wolf31o2 Exp $
-
-inherit bash-completion eutils
-
-VERSION_DMAP='1.02.22'
-VERSION_DMRAID='1.0.0.rc14'
-VERSION_E2FSPROGS='1.39'
-VERSION_LVM2='2.02.28'
-VERSION_PKG='3.4-r2'
-VERSION_UNIONFS='1.5pre-cvs200701042308'
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/${PN}-pkg-${VERSION_PKG}.tar.bz2
- http://dev.gentoo.org/~wolf31o2/${P}.tar.bz2
- http://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-pkg-${VERSION_PKG}.tar.bz2
- http://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- http://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${VERSION_DMRAID}.tar.bz2
- ftp://sources.redhat.com/pub/lvm2/LVM2.${VERSION_LVM2}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz
- ftp://sources.redhat.com/pub/dm/device-mapper.${VERSION_DMAP}.tgz
- ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-1.x/snapshots/unionfs-${VERSION_UNIONFS}.tar.gz
- mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-# 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"
-#KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
-IUSE="ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio"
-
-src_unpack() {
- unpack ${P}.tar.bz2
- cd "${S}"
- unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2
- use selinux && sed -i 's/###//g' gen_compile.sh
-}
-
-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:" \
- "${D}"/etc/genkernel.conf || die "Could not adjust versions"
-
- 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 -f "${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 \
- "${D}"/usr/share/genkernel/pkg
-
- 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
-}