diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-14 01:30:02 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-14 01:30:02 +0000 |
commit | 73cbf84bc29a174ba94e473ad6557a41e96876d8 (patch) | |
tree | f98e3d2f6adf964f1617a27182f8cc4157523d6e /sys-kernel/genkernel | |
parent | old (diff) | |
download | gentoo-2-73cbf84bc29a174ba94e473ad6557a41e96876d8.tar.gz gentoo-2-73cbf84bc29a174ba94e473ad6557a41e96876d8.tar.bz2 gentoo-2-73cbf84bc29a174ba94e473ad6557a41e96876d8.zip |
Removing older unused versions.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/genkernel/files/digest-genkernel-3.4.5-r1 | 21 | ||||
-rw-r--r-- | sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre3 | 24 | ||||
-rw-r--r-- | sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre4 | 24 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.5-r1.ebuild | 92 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.7_pre3.ebuild | 101 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.7_pre4.ebuild | 101 |
7 files changed, 6 insertions, 364 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog index 5077a9a765c3..a40ce8c89db7 100644 --- a/sys-kernel/genkernel/ChangeLog +++ b/sys-kernel/genkernel/ChangeLog @@ -1,6 +1,11 @@ # 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.165 2007/03/14 01:27:30 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.166 2007/03/14 01:30:02 wolf31o2 Exp $ + + 14 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> + -genkernel-3.4.5-r1.ebuild, -genkernel-3.4.7_pre3.ebuild, + -genkernel-3.4.7_pre4.ebuild: + Removing older unused versions. *genkernel-3.4.7_pre5 (14 Mar 2007) diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.4.5-r1 b/sys-kernel/genkernel/files/digest-genkernel-3.4.5-r1 deleted file mode 100644 index 982c3b3a546b..000000000000 --- a/sys-kernel/genkernel/files/digest-genkernel-3.4.5-r1 +++ /dev/null @@ -1,21 +0,0 @@ -MD5 87d8615a655b9a6c1a0e234eab2485bf LVM2.2.02.05.tgz 473621 -RMD160 7295f14e64dc25035d46e3512db6cae1b2be5f9b LVM2.2.02.05.tgz 473621 -SHA256 707c596c7a2f11cc08d3b1099995be2a4a3859a5454ed5af1a6c5361a821a402 LVM2.2.02.05.tgz 473621 -MD5 460cc211b03af4048ec90c0de2ecd8f7 device-mapper.1.02.07.tgz 923923 -RMD160 517dd7bde6935235f8c22149ef6e0cb80e6c925b device-mapper.1.02.07.tgz 923923 -SHA256 1e9c16e8f7bcf87bec03103dda63c0d11cdc739f432488b026b4614fd3cabf40 device-mapper.1.02.07.tgz 923923 -MD5 a2a8948de7717e2e76a1291fc1daf9d1 dmraid-1.0.0.rc13.tar.bz2 170497 -RMD160 9b95d68c2177c3bb7c74227c375780d3b4936ef7 dmraid-1.0.0.rc13.tar.bz2 170497 -SHA256 8497196528d50203053de0f733917b1d85aae416d2136c695a07aee5632b12b9 dmraid-1.0.0.rc13.tar.bz2 170497 -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 2cc4f6f0807b9031b7438d86bd4f384d genkernel-3.4.5.tar.bz2 164968 -RMD160 0d0bbb4a6aea100d526c86f5fe3db80d8eb5c4e7 genkernel-3.4.5.tar.bz2 164968 -SHA256 8d0e10a07e8edd143f35a40e73a594061d5d67761ac0fa9c46c21943a8b50108 genkernel-3.4.5.tar.bz2 164968 -MD5 2fa8384b099d53f878a1f8ef49214493 genkernel-pkg-3.4.tar.bz2 1848904 -RMD160 09e1baed7e3703b2f6c304656a81a12ba4594083 genkernel-pkg-3.4.tar.bz2 1848904 -SHA256 2345a16a3b377e3ffde2f0cca7e82cf3566e03e8bb2098db69210f505a989af3 genkernel-pkg-3.4.tar.bz2 1848904 -MD5 38ed4d9e41c20cf398018928d2c62700 unionfs-1.4.tar.gz 164696 -RMD160 5a19ccfd6edf25f55c48ba1b820347572353c7ba unionfs-1.4.tar.gz 164696 -SHA256 3ff105782aba722b1f263e408fac638245d302a9c8d0f37ac09e5a80caf0126b unionfs-1.4.tar.gz 164696 diff --git a/sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre3 b/sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre3 deleted file mode 100644 index 8c3d49b1c098..000000000000 --- a/sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre3 +++ /dev/null @@ -1,24 +0,0 @@ -MD5 87d8615a655b9a6c1a0e234eab2485bf LVM2.2.02.05.tgz 473621 -RMD160 7295f14e64dc25035d46e3512db6cae1b2be5f9b LVM2.2.02.05.tgz 473621 -SHA256 707c596c7a2f11cc08d3b1099995be2a4a3859a5454ed5af1a6c5361a821a402 LVM2.2.02.05.tgz 473621 -MD5 460cc211b03af4048ec90c0de2ecd8f7 device-mapper.1.02.07.tgz 923923 -RMD160 517dd7bde6935235f8c22149ef6e0cb80e6c925b device-mapper.1.02.07.tgz 923923 -SHA256 1e9c16e8f7bcf87bec03103dda63c0d11cdc739f432488b026b4614fd3cabf40 device-mapper.1.02.07.tgz 923923 -MD5 a2a8948de7717e2e76a1291fc1daf9d1 dmraid-1.0.0.rc13.tar.bz2 170497 -RMD160 9b95d68c2177c3bb7c74227c375780d3b4936ef7 dmraid-1.0.0.rc13.tar.bz2 170497 -SHA256 8497196528d50203053de0f733917b1d85aae416d2136c695a07aee5632b12b9 dmraid-1.0.0.rc13.tar.bz2 170497 -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 bb77c428815f75254d613cba1f9b5a41 genkernel-3.4.7_pre3.tar.bz2 172527 -RMD160 28872b0bd11048838452526bf972c61067837142 genkernel-3.4.7_pre3.tar.bz2 172527 -SHA256 ef64798ef6fe7ad33d48de55d39409c84a3923ee63355daae3a62d1bafd1e7ee genkernel-3.4.7_pre3.tar.bz2 172527 -MD5 2fa8384b099d53f878a1f8ef49214493 genkernel-pkg-3.4.tar.bz2 1848904 -RMD160 09e1baed7e3703b2f6c304656a81a12ba4594083 genkernel-pkg-3.4.tar.bz2 1848904 -SHA256 2345a16a3b377e3ffde2f0cca7e82cf3566e03e8bb2098db69210f505a989af3 genkernel-pkg-3.4.tar.bz2 1848904 -MD5 c0a89e47eeaf14ec68f9114f74b16d09 suspend-0.5.tar.gz 163148 -RMD160 8b38fcb18c7f860b4c292a4329f268bce6dc177a suspend-0.5.tar.gz 163148 -SHA256 ab87f1ee097dab98b4d56f98c95779a47a859de81512292743213e6bd5a352f1 suspend-0.5.tar.gz 163148 -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.7_pre4 b/sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre4 deleted file mode 100644 index b26db3d3834f..000000000000 --- a/sys-kernel/genkernel/files/digest-genkernel-3.4.7_pre4 +++ /dev/null @@ -1,24 +0,0 @@ -MD5 87d8615a655b9a6c1a0e234eab2485bf LVM2.2.02.05.tgz 473621 -RMD160 7295f14e64dc25035d46e3512db6cae1b2be5f9b LVM2.2.02.05.tgz 473621 -SHA256 707c596c7a2f11cc08d3b1099995be2a4a3859a5454ed5af1a6c5361a821a402 LVM2.2.02.05.tgz 473621 -MD5 460cc211b03af4048ec90c0de2ecd8f7 device-mapper.1.02.07.tgz 923923 -RMD160 517dd7bde6935235f8c22149ef6e0cb80e6c925b device-mapper.1.02.07.tgz 923923 -SHA256 1e9c16e8f7bcf87bec03103dda63c0d11cdc739f432488b026b4614fd3cabf40 device-mapper.1.02.07.tgz 923923 -MD5 a2a8948de7717e2e76a1291fc1daf9d1 dmraid-1.0.0.rc13.tar.bz2 170497 -RMD160 9b95d68c2177c3bb7c74227c375780d3b4936ef7 dmraid-1.0.0.rc13.tar.bz2 170497 -SHA256 8497196528d50203053de0f733917b1d85aae416d2136c695a07aee5632b12b9 dmraid-1.0.0.rc13.tar.bz2 170497 -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 d6f8a0cf86064cadc7b89bdf5598c6f8 genkernel-3.4.7_pre4.tar.bz2 176392 -RMD160 a75d404c8c162829a3d53060b208f856a138d91d genkernel-3.4.7_pre4.tar.bz2 176392 -SHA256 3393e4707ee66d34d6aab430533ae478806705d39623bba206c04eec97c2df55 genkernel-3.4.7_pre4.tar.bz2 176392 -MD5 b100c516c1f17cfe68eb88e0840cf6d7 genkernel-pkg-3.4-r1.tar.bz2 1865353 -RMD160 56e85293937122aa2e42d70d02f15e2f5a99d62b genkernel-pkg-3.4-r1.tar.bz2 1865353 -SHA256 e3ed36492a76c95ddc928fe3d871117707eb0625c50448596939f5b761ce6bcc genkernel-pkg-3.4-r1.tar.bz2 1865353 -MD5 c0a89e47eeaf14ec68f9114f74b16d09 suspend-0.5.tar.gz 163148 -RMD160 8b38fcb18c7f860b4c292a4329f268bce6dc177a suspend-0.5.tar.gz 163148 -SHA256 ab87f1ee097dab98b4d56f98c95779a47a859de81512292743213e6bd5a352f1 suspend-0.5.tar.gz 163148 -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.5-r1.ebuild b/sys-kernel/genkernel/genkernel-3.4.5-r1.ebuild deleted file mode 100644 index 2c04ab71fbc9..000000000000 --- a/sys-kernel/genkernel/genkernel-3.4.5-r1.ebuild +++ /dev/null @@ -1,92 +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.5-r1.ebuild,v 1.2 2007/01/04 17:53:37 wolf31o2 Exp $ - -inherit bash-completion eutils - -VERSION_DMAP='1.02.07' -VERSION_DMRAID='1.0.0.rc13' -VERSION_E2FSPROGS='1.38' -VERSION_LVM2='2.02.05' -VERSION_PKG='3.4' -VERSION_UNIONFS='1.4' - -DESCRIPTION="Gentoo autokernel script" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="http://dev.gentoo.org/~wolf31o2/sources/genkernel/${P}.tar.bz2 - http://dev.gentoo.org/~wolf31o2/sources/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" - -LICENSE="GPL-2" -SLOT="0" -#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" - -DEPEND="sys-fs/e2fsprogs" -RDEPEND="${DEPEND} app-arch/cpio" - -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:" \ - ${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 ${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.7_pre3.ebuild b/sys-kernel/genkernel/genkernel-3.4.7_pre3.ebuild deleted file mode 100644 index 8e4c1cb8a5c7..000000000000 --- a/sys-kernel/genkernel/genkernel-3.4.7_pre3.ebuild +++ /dev/null @@ -1,101 +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.7_pre3.ebuild,v 1.1 2007/02/14 22:01:09 wolf31o2 Exp $ - -inherit bash-completion eutils - -VERSION_DMAP='1.02.07' -VERSION_DMRAID='1.0.0.rc13' -VERSION_E2FSPROGS='1.38' -VERSION_LVM2='2.02.05' -VERSION_PKG='3.4' -VERSION_SUSPEND='0.5' -VERSION_UNIONFS='1.5pre-cvs200701042308' - -DESCRIPTION="Gentoo autokernel script" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="http://dev.gentoo.org/~wolf31o2/${P}.tar.bz2 - http://dev.gentoo.org/~wolf31o2/sources/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-1.x/snapshots/unionfs-${VERSION_UNIONFS}.tar.gz - mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz - mirror://sourceforge/suspend/suspend-${VERSION_SUSPEND}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -# 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 - cp ${FILESDIR}/suspend-0.5-Makefile.patch pkg - 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:" \ - -e "s:VERSION_SUSPEND:$VERSION_SUSPEND:" \ - ${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 ${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}"/suspend-${VERSION_SUSPEND}.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.7_pre4.ebuild b/sys-kernel/genkernel/genkernel-3.4.7_pre4.ebuild deleted file mode 100644 index 4adf8c67cb3c..000000000000 --- a/sys-kernel/genkernel/genkernel-3.4.7_pre4.ebuild +++ /dev/null @@ -1,101 +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.7_pre4.ebuild,v 1.2 2007/03/10 21:30:16 wolf31o2 Exp $ - -inherit bash-completion eutils - -VERSION_DMAP='1.02.07' -VERSION_DMRAID='1.0.0.rc13' -VERSION_E2FSPROGS='1.38' -VERSION_LVM2='2.02.05' -VERSION_PKG='3.4-r1' -VERSION_SUSPEND='0.5' -VERSION_UNIONFS='1.5pre-cvs200701042308' - -DESCRIPTION="Gentoo autokernel script" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="http://dev.gentoo.org/~wolf31o2/${P}.tar.bz2 - http://dev.gentoo.org/~wolf31o2/sources/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-1.x/snapshots/unionfs-${VERSION_UNIONFS}.tar.gz - mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz - mirror://sourceforge/suspend/suspend-${VERSION_SUSPEND}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -# 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 - cp ${FILESDIR}/suspend-0.5-Makefile.patch pkg - 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:" \ - -e "s:VERSION_SUSPEND:$VERSION_SUSPEND:" \ - ${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 ${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}"/suspend-${VERSION_SUSPEND}.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 -} |