diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/genkernel/ChangeLog | 11 | ||||
-rw-r--r-- | sys-kernel/genkernel/Manifest | 8 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.10.908.ebuild | 11 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-9999.ebuild | 11 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-99999.ebuild | 137 |
5 files changed, 161 insertions, 17 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog index ac95ef24eae8..0715db048318 100644 --- a/sys-kernel/genkernel/ChangeLog +++ b/sys-kernel/genkernel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/genkernel -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.225 2010/12/25 00:29:24 sping Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.226 2011/01/07 03:22:42 sping Exp $ + +*genkernel-99999 (07 Jan 2011) + + 07 Jan 2011; Sebastian Pipping <sping@gentoo.org> + genkernel-3.4.10.908.ebuild, genkernel-9999.ebuild, +genkernel-99999.ebuild: + Remove traces of svn, add 99999er ebuild to enable people to test our + experimental branch *genkernel-3.4.10.908 (25 Dec 2010) diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest index c25fefa7e433..23c5851133c6 100644 --- a/sys-kernel/genkernel/Manifest +++ b/sys-kernel/genkernel/Manifest @@ -1,6 +1,7 @@ AUX busybox-1.7.4-make-3.82.patch 1287 RMD160 c75fc032e11ed780bc949bedb89a230f253faa66 SHA1 a6053a3d8ae1ed5dc3808f4aab8807ea6c483c12 SHA256 3ac639a80426018c77e7c1fe0ab9df4aa771332d3673ceb61fad0c26d8c4184f AUX genkernel.bash 2438 RMD160 b3d8e4436d8768c07d18c5aaff9c14fc16641729 SHA1 e15a9c6ef506aa6872a6a97d26751246dedded04 SHA256 e7de9771ba79ef878e2c9a21a1c1720f092c6047d3cc7d4a49ff6b90e7e2c248 DIST LVM2.2.02.28.tgz 531905 RMD160 bf6f25db6e34bf362353ae9557691a7f01962502 SHA1 6eb2f6e1228b017ad23d0b7f2bb12fd113f96616 SHA256 2d8d7b123e427d0bfb7471d7c17dfd88890eb98257ca22ea3be5d7307e83aceb +DIST busybox-1.18.1.tar.bz2 2129404 RMD160 fb40d19103945eb1cd785a6041e5545f4055b8f6 SHA1 83b86858599870e46236da8d370d335d48cee77e SHA256 33eb25ea7b20c727c3af769256b21408a1ac1f927ff9f89a1f1e3767c18c9967 DIST busybox-1.7.4.tar.bz2 1727940 RMD160 a4b71a246449f88a59acda6ecf019f66b9b7c19b SHA1 e5dcaa25525ca63663c3d4e7027897fed54a4f95 SHA256 8480a7c1b9ac0fddff55e8daae807ccf0a47aa292137fa8c9f97cf0733b459c7 DIST device-mapper.1.02.22.tgz 189726 RMD160 8bf9986536c49f53c398d6a2180e21e1235bea18 SHA1 a4533872c32951a1b549bb9207a13b7e4dae0701 SHA256 ff833a6cd6246686f5b3f5692fd6597f1ffbc60f08929e5fe68304cdafb61595 DIST dmraid-1.0.0.rc14.tar.bz2 164234 RMD160 9cd238a981cfef9c5c1f2f1d6466b70c95ec9c7c SHA1 2b3284db46a995967d88993ae5ae36b57c513bc4 SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec @@ -18,7 +19,8 @@ EBUILD genkernel-3.4.10-r2.ebuild 4236 RMD160 2fc33a6a34ffb26128c7b439ab5d6db009 EBUILD genkernel-3.4.10.906.ebuild 4618 RMD160 67df63ffca231d2c1f66c0cf37b94e5f39765299 SHA1 e43602387aecf820f5f8e7361eedcfc2c54138ac SHA256 48f20fdfabff528462f6d678a6b84ecc2380a34b6705c19a05b6b5a003a8e785 EBUILD genkernel-3.4.10.907-r1.ebuild 5045 RMD160 303cbb92c3e98b29fed9b9ea5016a3e1028da235 SHA1 6c4bedf63b6e1f4291967fb45e2f58c88aa68c31 SHA256 16171f5f55c96c178179bdaac48518f0af158ebd464fa0f48014085157882ee7 EBUILD genkernel-3.4.10.907.ebuild 4830 RMD160 2f031f6e3e76a5fd907dfc76ba04eab3fb5bdac1 SHA1 4c4cb2358e3e391428e4e42460e3057b14c80e6b SHA256 530c4b62a8f4527a1d9742af3daafd65ef84ca44924002626535b4591793df4f -EBUILD genkernel-3.4.10.908.ebuild 4764 RMD160 bc6b1413f6b92e93a42760b4bee4f8059c8edf23 SHA1 b7ac4d32b2ece78ca82fba79a61e91f975aac21e SHA256 6934a15f8695eb5c5028333e24eefb3f911809d8b4759eb8283b9bb6292b97b2 -EBUILD genkernel-9999.ebuild 4759 RMD160 daec5d2e7986068238baf130727250cbbf26688a SHA1 0ec4d4343894b431924df07e7727b618c6f24532 SHA256 fbbb1c8e27ef06c9a14ee2d1131304785f2e182e1a740c3a4bcd754e9c2b4c94 -MISC ChangeLog 43148 RMD160 c51c67dbd5403dfd858ab54105824e24d8134c08 SHA1 b38e9c73997fa7f059a71a9015a1193fa7644e5c SHA256 96d74365980c9e9ec0a8a28a4a5ecfc401891d3525592b7f72ad01cd5b24f0de +EBUILD genkernel-3.4.10.908.ebuild 4750 RMD160 fee486ed4f4abd0499de80ec3731ba6022a48fd7 SHA1 faaa80b2c2d5a4d24f7119fb51612307ff483916 SHA256 27487f0f35a52224379570922d0f152e89ff4df64b17f0979d9f645bebedf507 +EBUILD genkernel-9999.ebuild 4745 RMD160 2d543f26061cc62208a96ef0f825ef324eefee15 SHA1 664cb3205d27cae5cb45fa0101f4ac2cd3794caa SHA256 67b49bef6918a2f06892804d137753bb9ad1c01decd358f79bd082d19af0d695 +EBUILD genkernel-99999.ebuild 4746 RMD160 07cd5b944f37b0f87df9df827cb640d7d603f235 SHA1 5c5e5c9d60b6dd77f0aadc353b5533420a011b36 SHA256 a26b5237689c3949c45bdc0726982418cdf0b09f1594fdc82ed85113ca70994a +MISC ChangeLog 43406 RMD160 0653c365836bab2e4e59acc204a28c08aa246ccc SHA1 bd0d765873df0376b488c2f4ba66d6223d444375 SHA256 dd076d3690409f3b31f140c16284117ebe13b3082cc36302a72559f22ef5bd7b MISC metadata.xml 226 RMD160 8c8b08effbb307ff307346f319d8e7ec6baddd6e SHA1 33172dd797d80d11d35a2b1855e54cd2a737548d SHA256 b7b060498e250d9de733cf433899caf8e8607fac9fa648f84f5c0512a89d794b diff --git a/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild b/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild index 9d1d9cfa9bcf..41457f695dfc 100644 --- a/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild +++ b/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild,v 1.1 2010/12/25 00:29:24 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.10.908.ebuild,v 1.2 2011/01/07 03:22:42 sping Exp $ -# genkernel-9999 -> latest SVN -# genkernel-9999.REV -> use SVN REV +# genkernel-9999 -> latest Git master +# genkernel-99999 -> latest Git experimental # genkernel-VERSION -> normal genkernel release VERSION_BUSYBOX='1.7.4' @@ -34,9 +34,8 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 if [[ ${PV} == 9999* ]] then - [[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}" EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/genkernel.git" - #EGIT_BRANCH='' + [[ ${PV} == 99999* ]] && EGIT_BRANCH=experimental inherit git bash-completion eutils S="${WORKDIR}/${PN}" SRC_URI="${COMMON_URI}" diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index 101fba3359d4..912b7ba29873 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 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.18 2010/12/25 00:29:24 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-9999.ebuild,v 1.19 2011/01/07 03:22:42 sping Exp $ -# genkernel-9999 -> latest SVN -# genkernel-9999.REV -> use SVN REV +# genkernel-9999 -> latest Git master +# genkernel-99999 -> latest Git experimental # genkernel-VERSION -> normal genkernel release VERSION_BUSYBOX='1.7.4' @@ -34,9 +34,8 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 if [[ ${PV} == 9999* ]] then - [[ ${PV} == 9999.* ]] && ESVN_UPDATE_CMD="svn up -r ${PV/9999./}" EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/genkernel.git" - #EGIT_BRANCH='' + [[ ${PV} == 99999* ]] && EGIT_BRANCH=experimental inherit git bash-completion eutils S="${WORKDIR}/${PN}" SRC_URI="${COMMON_URI}" diff --git a/sys-kernel/genkernel/genkernel-99999.ebuild b/sys-kernel/genkernel/genkernel-99999.ebuild new file mode 100644 index 000000000000..4f26e1fb2865 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-99999.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-99999.ebuild,v 1.1 2011/01/07 03:22:42 sping Exp $ + +# genkernel-9999 -> latest Git master +# genkernel-99999 -> latest Git experimental +# genkernel-VERSION -> normal genkernel release + +VERSION_BUSYBOX='1.18.1' +VERSION_DMAP='1.02.22' +VERSION_DMRAID='1.0.0.rc14' +VERSION_E2FSPROGS='1.40.9' +VERSION_FUSE='2.7.4' +VERSION_ISCSI='2.0-871' +VERSION_LVM='2.02.28' +VERSION_UNIONFS_FUSE='0.22' + +MY_HOME="http://wolf31o2.org" +RH_HOME="ftp://sources.redhat.com/pub" +DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="http://www.busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/dm/device-mapper.${VERSION_DMAP}.tgz + ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + 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" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/genkernel.git" + [[ ${PV} == 99999* ]] && EGIT_BRANCH=experimental + inherit git bash-completion eutils + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" + KEYWORDS="" +else + inherit bash-completion eutils + SRC_URI="mirror://gentoo/${P}.tar.bz2 + ${MY_HOME}/sources/genkernel/${P}.tar.bz2 + ${COMMON_URI}" + # Please don't touch individual KEYWORDS. Since this is maintained/tested by + # Release Engineering, it's easier for us to deal with all arches at once. + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="ibm selinux" + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} app-arch/cpio" + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + git_src_unpack + else + unpack ${P}.tar.bz2 + fi + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh +} + +src_install() { + # This block updates genkernel.conf + sed \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_DMAP:$VERSION_DMAP:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + "${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}"/dmraid-${VERSION_DMRAID}.tar.bz2 \ + "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \ + "${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \ + "${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \ + "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \ + "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \ + "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \ + "${DISTDIR}"/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 +} |