Permalink
Browse files

FL-432: FL-391: FL-527: FL-407: FL-473: genkernel-3.4.40.2 release

  • Loading branch information...
1 parent 9b8370c commit de460bae346cf35f2abd52cb8f2ee8c2201b64b0 @danielrobbins danielrobbins committed Apr 27, 2013
View
20 sys-kernel/genkernel/Manifest
@@ -1,27 +1,9 @@
-DIST LVM2.2.02.88.tgz 1029151 SHA256 a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432 SHA512 5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b WHIRLPOOL b30a1f2403e71ff6fb381ec82291018632e1d10258dd615efae4e39077a304a66271013247793390f57c26886599d8bad8f4b896d230f3e4f846e74c12282f71
-DIST busybox-1.18.1.tar.bz2 2129404 SHA256 33eb25ea7b20c727c3af769256b21408a1ac1f927ff9f89a1f1e3767c18c9967
-DIST busybox-1.19.3.tar.bz2 2167188 SHA256 a1a9a35732c719ef384f02b6e357c324d8be25bc154af91a48c4264b1e6038f0 SHA512 a7072c45ad395d0cd4e84427e06b35bfae93e695a0f7edc39087ff8f9cb08c53550c74446839617db4dd177530a04b2aaabf188732193a2d73eed737debf3bd3 WHIRLPOOL d436a6bd329c99a9e01e2a0dfdb1577067dd4e4288ed3de72e2d94bc6923d3a0eb4dc53f726520222285137672b0d5337c334acd4afe5e4c665cde9d1422e53c
DIST busybox-1.20.1.tar.bz2 2190170 SHA256 3e515d8abefd8583ebabffdcfccecb3b8deacf2cef7c69ab1d8755a012ec68c9 SHA512 9ad2af7216ae79c2c8cf246654a2c591983d347d22bfe4cd54ae41eaee0ea17f7bf8d6834add3f1f843494d6980707e0443aaf663075fda6e4e7e29728606c53 WHIRLPOOL 07ce28698c63a38ce2c6d71bfbfe1f920f07a76d471db9b9b1a7260ef1bf493551bae67d9b9dc2be41783f1ce0cf56935c44eb7af2a1bc865807afaa87eaabec
-DIST device-mapper.1.02.22.tgz 189726 SHA256 ff833a6cd6246686f5b3f5692fd6597f1ffbc60f08929e5fe68304cdafb61595
-DIST dmraid-1.0.0.rc14.tar.bz2 164234 SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec
DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 SHA256 93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e WHIRLPOOL 87915ea0013766da8a9722b437bfe146b4b2c7560a7814ac6caab92054ddc3b4b59ceb4d413609d5eaab92b5cee67886ade7924455f1dba19f1b8dabc25d3498
-DIST e2fsprogs-1.41.14.tar.gz 4512157 SHA256 3f8ac1fedd7c4bec480afcbe4acabdd4ac59ec0446a0fd50c8975cd0aad7b176
DIST e2fsprogs-1.42.tar.gz 5709827 SHA256 55b46db0cec3e2eb0e5de14494a88b01ff6c0500edf8ca8927cad6da7b5e4a46 SHA512 4db3d59187ff31d4d8e1f2b355fcba5dd2e60343f759b41a02545bb3aedc50ab079e21bf15240208442a1f6192e420ef391ccb9f20690f5f19d37b6fdb6f15c5 WHIRLPOOL d01a58e2c3cb653694f13033fc22256823ab4d0b9f39f626652d29b804b7e7d33efd76a3c640dd8c15e45e619d0c977611ef0271cfe78363b677f5efae6d501a
-DIST fuse-2.7.4.tar.gz 506658 SHA256 c8b070ece5d4e09bd06eea6c28818c718f803d93a4b85bacb9982deb8ded49e6
DIST fuse-2.8.6.tar.gz 505334 SHA256 1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6 SHA512 03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd WHIRLPOOL 668c01f5ae9742f3e70248d6d2b57cbeaa0decf93d5f7987550fe54d4ebdb6e445ff841e8d36a60a4824c114651b8a93b118e15b8a00ac30ddc813e583fa2b51
-DIST genkernel-v3.4.18-r1-funtoo.tar.gz 280327 SHA256 7ffe3676dc7e74d9598b8a77a87692d6404e787c5564ef368c7f2531de0ead7f
-DIST genkernel-v3.4.18-r2-funtoo.tar.gz 279472 SHA256 e0786c0920ec052a04bc91639e538fe0eee4d49a3a5db1e4cb75ea7e55ad4695
-DIST genkernel-v3.4.18-r3-funtoo.tar.gz 279499 SHA256 469abc673d15c65ed012eec7733f44e744e12c3001eb72e62e47b869f29c7c59
-DIST genkernel-v3.4.30_beta1-funtoo.tar.gz 290790 SHA256 52bbd68408406a60dc36ddc8b8e338b785582f409f05e13f3626e34dfc4059f1
-DIST genkernel-v3.4.30_beta2-funtoo.tar.gz 290774 SHA256 130e3e6a257dc46fd8d09d147f3158a5a12693091150e00a0a1eb8c294b07ace SHA512 c62341a91f16f93a2da14a7d1184468685126c2717f65fd1f0f9d2fdffec423a4cc3ff6ee0eb4b9cc0643237daea47a9595a8a2acbaccb1343b2ed20e38763d8 WHIRLPOOL 4a47d29fc8b78096fd55c42be755bfd7aade9f6a721b815a7982df011ea0a4fba14d23892153ca393b4a56b81c1b180ad71aa27cf89cacf2125a672f0c087276
-DIST genkernel-v3.4.30_beta3-funtoo.tar.gz 290814 SHA256 11ad9d851cb5d0a4a00e2984b7ce157fdf442031a7611b746b7e391a488fff5f
-DIST genkernel-v3.4.40-funtoo.tar.gz 292973 SHA256 c94b4df5d9dd8809a9098a23669e9220882c5559bffa575c990f89991135ad00
-DIST genkernel-v3.4.40-r1-funtoo.tar.gz 292978 SHA256 a5e6f851e492d62045f534973e045f21fa6fd02c7e0d959b43a014b28f1b944b SHA512 97f97be0a800fab5491956fc3b36ebc67f2967e115c06992117286b4408219b81cd5823790ba483f88b6344dca207463b3fea413245c849cd5f473dafd640a36 WHIRLPOOL 1c90a58fadd78d79617f23fb11c62ac9331189ba340d3d9fb4cd9929ffa388a3c7ab6a679b49341be9a5177dca11dd4e792a0e503e87efbbf06e1c19ada44787
-DIST genkernel-v3.4.40-r2-funtoo.tar.gz 293109 SHA256 b261234e6072603e11e7bfeaea8820c8d06fc7f0fa9ce29b5ebc2df69ef88cf0 SHA512 2053f5b41d03a555eaa7f38109a0baa3283b081c573d58d70f2bd0d3af34d6fdbd6615a6bf455f1639da91aa3e7ce6e7324ca000ab00cff242b963b1f6565162 WHIRLPOOL 9617d17e684e8ae66cd7a4975b755ce0e6e9d2d0b6f8498ca8cf15c4091a0106a0e4dc462933e32f7e64b25800b660ad07b569a1e580939bb1b2aa68035b0ff5
DIST genkernel-v3.4.40.1-funtoo.tar.gz 292775 SHA256 8fd49125f0e195b0f4eed3db5cfb3f3ac7d66f25d54299af2d716d70cdf2f757 SHA512 437ea9ac6e2e5e6244e4d129e35a57bcce33bbd380f461cd02b5a1b7f426c6b305f1298335a07146305102dea36cbfe607251a9a95f678ac973a26cf5aa75f0a WHIRLPOOL 8039a6cd749380affa19bf274d29253a1e4a4724e2948f4334691a21ed09867cac88a7e25efaa929c54e5e00260209647ea5b7a437f3b7c7b2a3aba2ef6ce4ba
+DIST genkernel-v3.4.40.2-funtoo.tar.gz 292922 SHA256 0e8b3a86d91714a6bbce618c254625eb24f1b8ecf5f9c3352ff4c7248bc9644c SHA512 87a84db2b70bb01fe4c2c9849a341bc578dc45a47cfb91c6ccd5870a36ea889f2cf945736754dbe7807ccc7439d86cb3c78f126e48f415ce6992537bdeaf1905 WHIRLPOOL 3ca78b07dd1fd93059cb826a1d68a5cb6b7aff37de3a2f07df58e4e0fc3a4cbccd853f3c1a4393f573e918de13609ab18541f6ec5606ed1d63723fc9de2dab91
DIST gnupg-1.4.11.tar.bz2 3407075 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6 SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae WHIRLPOOL 6f914627e2f527f6616e1f99d2ae06942b734f839d03a45ffa45bf67516a81d58f89e6a85612cf8e5fd83be04ab0b6bc2da8f81114143dad7523e5fcea62366b
-DIST mdadm-3.1.4.tar.bz2 288578 SHA256 849ad0ad4ad3c1d2d8806a16b30e1f59ab2daf313cb103807207f7cba889ea63
-DIST mdadm-3.1.5.tar.bz2 292709 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3 SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d WHIRLPOOL 003595a1338b3a95ccc176b07a31f26dd5fda9460f2c4d3513b9ca09cdab1c91dab05f8914f2354047fccff42c4dcfc6131a383c84467c2838ac7b1af2f9bef8
DIST open-iscsi-2.0-872.tar.gz 900081 SHA256 37753697a170223ac02a292b3a23a315a3c747b490c42480e4057b676c9f8d4f SHA512 d26c87772b0b1d13a8bd2eea9db86b3c61af83efbb788116c01ab6a914ff3de634a7b1bff56c1161b28965315543edbfc2735b6c7fbd3f7797471fde63b69cc0 WHIRLPOOL 4b04c8481c6c5f094ca6f7761828006a84eda7a22a6b3a4d65e7b3e4b39e73ef839ec710b491e7ca731b047fa8c74a9c03a17e85519a62dfbeb95222cfbdd935
-DIST unionfs-fuse-0.22.tar.bz2 27355 SHA256 fa0c494a8ce63f235601fcc35e3a96527831169d6d5921ee49faccf3b25feb78
DIST unionfs-fuse-0.24.tar.bz2 30381 SHA256 d8abc855eb618ac356b1e716599c82f8f0f74dbaee36d4062edc707567121937 SHA512 e0e414f4edbf641ec9d0135a8723e43fc75412359b482f7aedd66fe8245e4df03943c5ecb6f8de4fdbd97f0346033c691e766cc4f4a755f5b43748e1441d3fbd WHIRLPOOL dc132086d9614895961dc8b498c435145b4390fc80331e0575ee8420faea0201325ab2394b9090d8f721c602ef1f93e150573b1b88b77ee4f7be4a262103b986
View
131 sys-kernel/genkernel/genkernel-3.4.18-r1.ebuild
@@ -1,131 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-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_UNIONFS_FUSE='0.22'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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}/dm/device-mapper.${VERSION_DMAP}.tgz
- ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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}"/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
-}
View
131 sys-kernel/genkernel/genkernel-3.4.18-r2.ebuild
@@ -1,131 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-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_UNIONFS_FUSE='0.22'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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}/dm/device-mapper.${VERSION_DMAP}.tgz
- ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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}"/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
-}
View
131 sys-kernel/genkernel/genkernel-3.4.18-r3.ebuild
@@ -1,131 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-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_UNIONFS_FUSE='0.22'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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}/dm/device-mapper.${VERSION_DMAP}.tgz
- ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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}"/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
-}
View
128 sys-kernel/genkernel/genkernel-3.4.30_beta1.ebuild
@@ -1,128 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-VERSION_BUSYBOX='1.19.3'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="crypt ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2 crypt? ( sys-fs/cryptsetup ) app-misc/pax-utils"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-src_install() {
- # This block updates genkernel.conf
- sed \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -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_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}"/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
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
128 sys-kernel/genkernel/genkernel-3.4.30_beta2.ebuild
@@ -1,128 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-VERSION_BUSYBOX='1.19.3'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="crypt ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2 crypt? ( sys-fs/cryptsetup ) app-misc/pax-utils"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-src_install() {
- # This block updates genkernel.conf
- sed \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -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_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}"/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
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
128 sys-kernel/genkernel/genkernel-3.4.30_beta3.ebuild
@@ -1,128 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest SVN
-# genkernel-9999.REV -> use SVN REV
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="2"
-
-inherit bash-completion eutils
-
-VERSION_BUSYBOX='1.19.3'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-SRC_URI="${COMMON_URI} https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-KEYWORDS="*"
-IUSE="crypt ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND} app-arch/cpio sys-fs/lvm2 crypt? ( sys-fs/cryptsetup ) app-misc/pax-utils"
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-src_install() {
- # This block updates genkernel.conf
- sed \
- -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
- -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_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}"/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
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
162 sys-kernel/genkernel/genkernel-3.4.40-r1.ebuild
@@ -1,162 +0,0 @@
-# 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.40.ebuild,v 1.1 2012/07/27 23:41:01 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.1'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-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-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
- KEYWORDS=""
-else
- inherit bash-completion-r1 eutils
- SRC_URI="https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz
- ${COMMON_URI}"
- KEYWORDS="*"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="+cryptsetup ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- sys-fs/lvm2
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-# cpio is part of Funtoo @system set
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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_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}"/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..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
163 sys-kernel/genkernel/genkernel-3.4.40-r2.ebuild
@@ -1,163 +0,0 @@
-# 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.40.ebuild,v 1.1 2012/07/27 23:41:01 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.1'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-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-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
- KEYWORDS=""
-else
- inherit bash-completion-r1 eutils
- SRC_URI="https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz
- ${COMMON_URI}"
- KEYWORDS="*"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="+cryptsetup ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- sys-fs/lvm2
- sys-fs/mdadm
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-# cpio is part of Funtoo @system set
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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_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}"/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..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
163 sys-kernel/genkernel/genkernel-3.4.40-r3.ebuild
@@ -1,163 +0,0 @@
-# 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.40.ebuild,v 1.1 2012/07/27 23:41:01 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.1'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v3.4.40-r2-funtoo"
-
-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-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
- KEYWORDS=""
-else
- inherit bash-completion-r1 eutils
- SRC_URI="https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz
- ${COMMON_URI}"
- KEYWORDS="*"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="+cryptsetup ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- sys-fs/lvm2
- sys-fs/mdadm
- <=app-misc/pax-utils-0.5
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-# cpio is part of Funtoo @system set
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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_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}"/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..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
162 sys-kernel/genkernel/genkernel-3.4.40.ebuild
@@ -1,162 +0,0 @@
-# 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.40.ebuild,v 1.1 2012/07/27 23:41:01 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.1'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-MY_HOME="http://www.funtoo.org/archive/${PN}"
-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
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/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"
-
-GITHUB_REPO="${PN}"
-GITHUB_USER="funtoo"
-GITHUB_TAG="v${PVR}-funtoo"
-
-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-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
- KEYWORDS=""
-else
- inherit bash-completion-r1 eutils
- SRC_URI="https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz
- ${COMMON_URI}"
- KEYWORDS="*"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="http://www.gentoo.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-RESTRICT=""
-IUSE="+cryptsetup ibm selinux"
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- sys-fs/lvm2
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-# cpio is part of Funtoo @system set
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-src_unpack() {
- if [[ ${PV} == 9999* ]] ; then
- git-2_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- cd "${WORKDIR}"/${GITHUB_USER}-${PN}-*
- S="$(pwd)"
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
-}
-
-src_compile() {
- return
-}
-
-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_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_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}"/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..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
-}
View
155 sys-kernel/genkernel/genkernel-9999.ebuild
@@ -1,155 +0,0 @@
-# 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-9999.ebuild,v 1.40 2012/07/26 20:39:22 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="3"
-
-VERSION_BUSYBOX='1.20.1'
-VERSION_DMRAID='1.0.0.rc16-3'
-VERSION_MDADM='3.1.5'
-VERSION_FUSE='2.8.6'
-VERSION_ISCSI='2.0-872'
-VERSION_LVM='2.02.88'
-VERSION_UNIONFS_FUSE='0.24'
-VERSION_GPG='1.4.11'
-
-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
- ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
- http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.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="http://git.funtoo.org/${PN}"
- EGIT_BRANCH="beta"
- inherit git-2 bash-completion-r1 eutils
- S="${WORKDIR}/${PN}"
- SRC_URI="${COMMON_URI}"
- KEYWORDS=""
-else
- inherit bash-completion-r1 eutils
- SRC_URI="mirror://gentoo/${P}.tar.bz2
- ${COMMON_URI}"
- 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="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working!
-
-DEPEND="sys-fs/e2fsprogs
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- app-arch/cpio
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
-
-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_MDADM:$VERSION_MDADM:" \
- -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
- -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}"/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..."
-
- newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-}
-
-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
- if use crypt && ! use cryptsetup ; then
- ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
- ewarn "Please set flag 'cryptsetup' for this very package if you would like"
- ewarn "to have genkernel create an initramfs with LUKS support."
- ewarn "Sorry for the inconvenience."
- echo
- fi
-}

0 comments on commit de460ba

Please sign in to comment.