Browse files

Remove sys-kernel/genkernel and sys-libs/libmd

Changes in the main tree render these obsolete.
  • Loading branch information...
1 parent 2102820 commit d8947ec38101d005cd659d3e4194e45d9c371d19 @ryao committed Jul 21, 2012
View
11 sys-kernel/genkernel/Manifest
@@ -1,11 +0,0 @@
-DIST LVM2.2.02.88.tgz 1029151 RMD160 a5918c6dfef8300b8ad9ab53e913ab487a051436 SHA1 05a4fb09cb5e3d680ad1b268c941968853fb1979 SHA256 a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432
-DIST busybox-1.19.3.tar.bz2 2167188 RMD160 f8df020b47a363b1b308e852d2034758e42d16a9 SHA1 692754db46b129c70921ffb84eaef679061c0952 SHA256 a1a9a35732c719ef384f02b6e357c324d8be25bc154af91a48c4264b1e6038f0
-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
-DIST dropbear-2012.55.tar.bz2 1581421 RMD160 05eb2909b666ec11f849c7e7fa699214bb462dfb SHA1 261d033c28031faa34b92390ad5278feb20c6efc SHA256 04982af2a10b220fa940f9f72f276d612c9bb643cfbb5ee1416e5a0f00de9b0f
-DIST e2fsprogs-1.42.tar.gz 5709827 RMD160 91136a82c35f86f54f6573f9788d32da66b972cb SHA1 e69bc63bc319e4d1e4242cc278bfd442a60646e6 SHA256 55b46db0cec3e2eb0e5de14494a88b01ff6c0500edf8ca8927cad6da7b5e4a46
-DIST fuse-2.8.6.tar.gz 505334 RMD160 df66df0256a677c50f2fc94fef6f34b2d598386c SHA1 c2c0f9fff8bfee217da200888123e5abb5b498f2 SHA256 1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6
-DIST gnupg-1.4.11.tar.bz2 3407075 RMD160 9daf2dedfd4c6211fc13b8cdee8f08b8f5925378 SHA1 78e22f5cca88514ee71034aafff539c33f3c6676 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6
-DIST mdadm-3.1.5.tar.bz2 292709 RMD160 e0542c4556988cae551b3399f0f0d27e42b68bda SHA1 e71859f16e1184df2c033a9e24a6f3f262bbf9a5 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3
-DIST open-iscsi-2.0-872.tar.gz 900081 RMD160 4eacb8a94cf7712f936b52a961fa7f11774dde67 SHA1 96880185791177ba7b8970742572b46ebfe901cd SHA256 37753697a170223ac02a292b3a23a315a3c747b490c42480e4057b676c9f8d4f
-DIST unionfs-fuse-0.24.tar.bz2 30381 RMD160 27934c23472f6e9d71e622f13aa9fd51a1f8018e SHA1 26f281e4e5f1e82194b430956b94cd7745d5bd97 SHA256 d8abc855eb618ac356b1e716599c82f8f0f74dbaee36d4062edc707567121937
View
73 sys-kernel/genkernel/files/genkernel.bash
@@ -1,73 +0,0 @@
-# genkernel (8) completion
-# Copyright 2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# Written by Aron Griffis <agriffis@gentoo.org>
-
-_genkernel()
-{
- declare cur prev genkernel_help actions params
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- prev=${COMP_WORDS[COMP_CWORD-1]}
-
- # extract initial list of params/actions from genkernel --help
- genkernel_help=$(command genkernel --help)
- actions=( $(<<<"$genkernel_help" sed -n \
- '/^Available Actions:/,/^$/s/^[[:space:]]\+\([^[:space:]]\+\).*/\1/p') )
- params=( $(<<<"$genkernel_help" egrep -oe '--[^[:space:]]{2,}') )
-
- # attempt to complete the current parameter based on the list
- COMPREPLY=($(compgen -W "${params[*]/=*/=} ${actions[*]}" -- "$cur"))
-
- # if we don't have a rhs to complete
- if [[ ${#COMPREPLY[@]} -gt 1 ]]; then
- return
- elif [[ ${#COMPREPLY[@]} -eq 0 && $cur != --*=* ]]; then
- return
- elif [[ ${#COMPREPLY[@]} -eq 1 && $COMPREPLY != --*= ]]; then
- # using nospace completion, add an explicit space
- COMPREPLY="${COMPREPLY} "
- return
- fi
-
- # we have a unique lhs and need to complete the rhs
- declare args lhs rhs
- if [[ ${#COMPREPLY[@]} -eq 1 ]]; then
- lhs=$COMPREPLY
- else
- lhs=${cur%%=*}=
- rhs=${cur#*=}
- fi
-
- # genkernel's help gives clues as to what belongs on the rhs.
- # extract the clue for the current parameter
- args=" ${params[*]} "
- args="${args##* $lhs}"
- args="${args%% *}"
-
- # generate a list of completions for the argument; this replaces args with
- # an array of results
- args=( $(case $args in
- ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;;
- ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;;
- ('<dir>') compgen -A directory -S / -- "$rhs" ;;
- ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;;
- (*) compgen -o bashdefault -- "$rhs" ;; # punt
- esac) )
-
- # we're using nospace completion to prevent spaces after paths that aren't
- # "done" yet. So do some hacking to the args to add spaces after
- # non-directories.
- declare slash=/
- args=( "${args[@]/%/ }" ) # add space to all
- args=( "${args[@]/%$slash /$slash}" ) # remove space from dirs
-
- # recreate COMPREPLY
- if [[ $cur == "$lhs"* ]]; then
- COMPREPLY=( "${args[@]}" )
- elif [[ ${#args[@]} -gt 0 ]]; then
- COMPREPLY=( "${args[@]/#/$lhs}" )
- fi
-}
-
-complete -o nospace -F _genkernel genkernel
View
158 sys-kernel/genkernel/genkernel-9999.ebuild
@@ -1,158 +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.29 2012/01/15 00:35:11 sping Exp $
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-VERSION_BUSYBOX='1.19.3'
-VERSION_DMAP='1.02.22'
-VERSION_DMRAID='1.0.0.rc14'
-VERSION_DROPBEAR='2012.55'
-VERSION_MDADM='3.1.5'
-VERSION_E2FSPROGS='1.42'
-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'
-
-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
- http://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- http://matt.ucc.asn.au/dropbear/testing/dropbear-${VERSION_DROPBEAR}.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
- ${RH_HOME}/dm/device-mapper.${VERSION_DMAP}.tgz
- ${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
- ${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"
-
-if [[ ${PV} == 9999* ]]
-then
- EGIT_REPO_URI="git://github.com/ryao/genkernel-zfs.git"
- inherit git-2 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"
-
-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_DMAP:$VERSION_DMAP:" \
- -e "s:VERSION_DROPBEAR:$VERSION_DROPBEAR:" \
- -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_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}"/dropbear-${VERSION_DROPBEAR}.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}"/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
8 sys-kernel/genkernel/metadata.xml
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
-<maintainer>
- <email>genkernel@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
View
5 sys-libs/libmd/Manifest
@@ -1,5 +0,0 @@
-AUX libmd-0.3-fix-header.patch 1136 RMD160 7505899b2b9c692b71208f1ab4325bd1691ae689 SHA1 018c50da1a0945f65a362f332d73ab6698f7b842 SHA256 edd19d080073f1fa5eee398dd767de47de16c413393939c170d6f90ba4d2ef3e
-AUX libmd-0.3-fix-make.patch 1897 RMD160 81b3f251dffec866a905df67ead96f9887da2c7f SHA1 30e3b2902c0568b7fcbab17dfec6060dc4e41582 SHA256 8704c99e978b0b158f5903559506a530f9f1ab8da1ecd2e78f84dc6944f957c0
-DIST libmd-0.3.tar.bz2 153798 RMD160 3a58bb98049616808f8da3a29ccc2ce26d013056 SHA1 cae4815cd0eff38de800a2cb36de20dcaaad37f7 SHA256 78f2a4b9eaeaa841257aca5c3d80d5f90453ddbf1e9f93c7f049e4b45cbb1790
-EBUILD libmd-0.3.ebuild 758 RMD160 d9e418af8302725a7cc900a5baba8da5fc202aab SHA1 a18a63b6fa328dcdd5c28db70d69f3db6091ed7d SHA256 9e07141fc48fbdf2aded48495e2bd377af945599c22d2d60ae14bf785774ac1f
-MISC metadata.xml 228 RMD160 7f4566d402fa232a1d2bb22589d7fe8cc72a241c SHA1 9a2f59b4e342ac0f1e064255f59b0bdec32ab1a9 SHA256 a317cd066ed83c5b5acf9d49869cb2f153499bb90cee389334bee9781534f5e8
View
34 sys-libs/libmd/files/libmd-0.3-fix-header.patch
@@ -1,34 +0,0 @@
-diff --git a/.rmd160.c.swp b/.rmd160.c.swp
-deleted file mode 100644
-index 7b0d774..0000000
-Binary files a/.rmd160.c.swp and /dev/null differ
-diff --git a/.rmd160.h.swp b/.rmd160.h.swp
-deleted file mode 100644
-index 0bcc8ea..0000000
-Binary files a/.rmd160.h.swp and /dev/null differ
-diff --git a/rmd160.c b/rmd160.c
-index a1d10e7..dd42e69 100644
---- a/rmd160.c
-+++ b/rmd160.c
-@@ -378,7 +378,7 @@ RMD160Init (RMD160_CTX * ctx)
- Update the RIPEMD-160 hash state for a block of data.
- */
- void
--RMD160Update (RMD160_CTX * ctx, u_int8_t const *buf, size_t len)
-+RMD160Update (RMD160_CTX * ctx, const unsigned char *buf, size_t len)
- {
- unsigned i;
-
-diff --git a/rmd160.h b/rmd160.h
-index 0dd0867..7ecb62a 100644
---- a/rmd160.h
-+++ b/rmd160.h
-@@ -31,7 +31,7 @@ typedef struct RMD160Context {
-
- __BEGIN_DECLS
- void RMD160Init(RMD160_CTX *);
--void RMD160Update(RMD160_CTX *, const unsigned char *, unsigned int);
-+void RMD160Update(RMD160_CTX *, const unsigned char *, size_t);
- void RMD160Final(unsigned char [RMD160_HASHBYTES], RMD160_CTX *);
- char * RMD160End(RMD160_CTX *, char *);
- char * RMD160File(const char *, char *);
View
61 sys-libs/libmd/files/libmd-0.3-fix-make.patch
@@ -1,61 +0,0 @@
-diff --git a/Makefile.in b/Makefile.in
-index e692405..7451745 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -3,7 +3,7 @@ SRC = md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c\
- OBJ = $(SRC:.c=.o)
-
- CC = @CC@
--CFLAGS = -O3 -fPIC -I.
-+CFLAGS += -fPIC -I.
- RANLIB = @RANLIB@
- AR = ar
- LN_S = @LN_S@
-@@ -31,18 +31,18 @@ docs:
- test: mddriver
- ./mddriver
-
--install: libmd.so.1.0 libmd.so.1 libmd.so
-+install: libmd.so.1.0
- mkdir -p $(BUILDROOT)/usr/include
- mkdir -p $(BUILDROOT)/usr/lib
- mkdir -p $(BUILDROOT)/usr/man/man3
-- $(INSTALL) -g root -o root -m 644 md2.h md4.h md5.h sha.h rmd160.h \
-+ $(INSTALL) -m 644 md2.h md4.h md5.h sha.h rmd160.h \
- $(BUILDROOT)/usr/include
-- $(INSTALL) -g root -o root -m 644 md2.3 md4.3 md5.3 \
-+ $(INSTALL) -m 644 md2.3 md4.3 md5.3 \
- $(BUILDROOT)/usr/man/man3
-- $(INSTALL) -g root -o root -m 755 libmd.so.1.0 $(BUILDROOT)/usr/lib
-- $(INSTALL) -g root -o root -m 755 libmd.so.1 $(BUILDROOT)/usr/lib
-- $(INSTALL) -g root -o root -m 755 libmd.so $(BUILDROOT)/usr/lib
-- $(INSTALL) -g root -o root -m 755 libmd.a $(BUILDROOT)/usr/lib
-+ $(INSTALL) -m 755 libmd.a $(BUILDROOT)/usr/lib
-+ $(INSTALL) -m 755 libmd.so.1.0 $(BUILDROOT)/usr/lib
-+ $(LN_S) libmd.so.1.0 $(BUILDROOT)/usr/lib/libmd.so.1
-+ $(LN_S) libmd.so.1.0 $(BUILDROOT)/usr/lib/libmd.so
-
- binary: install
- @echo Creating binary .tar.bz2 in directory $(OUTDIR)/
-@@ -54,12 +54,6 @@ tarball: mrproper
- cd .. && tar cf $(OUTDIR)/libmd-$(VERS).tar libmd-$(VERS)/
- bzip2 -9f $(OUTDIR)/libmd-$(VERS).tar
-
--libmd.so.1:
-- $(LN_S) libmd.so.1.0 libmd.so.1
--
--libmd.so:
-- $(LN_S) libmd.so.1.0 libmd.so
--
- md2hl.c: mdXhl.c
- sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' $? > $@
-
-@@ -88,7 +82,7 @@ md5.3: mdX.3
- cat md5.copyright >> $@
-
- libmd.so.1.0: $(OBJ)
-- $(CC) -shared -o libmd.so.1.0 $(OBJ)
-+ $(CC) -Wl,-soname,libmd.so.1 -shared -o libmd.so.1.0 $(OBJ)
-
- libmd.a: $(OBJ)
- rm -f libmd.a
View
30 sys-libs/libmd/libmd-0.3.ebuild
@@ -1,30 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils
-
-DESCRIPTION="Cryptographic message digest library from FreeBSD"
-HOMEPAGE="http://martin.hinner.info/libmd/"
-SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/libmd/libmd-0.3.tar.bz2"
-
-LICENSE="MIT public-domain RSA-MD4 RSA-MD5"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-fix-header.patch"
- epatch "${FILESDIR}/${P}-fix-make.patch"
- sed -i "s:\$(BUILDROOT)/usr/lib:\$(BUILDROOT)/usr/$(get_libdir):" "${S}/Makefile.in"
- sed -i "s:\$(BUILDROOT)/usr/man:\$(BUILDROOT)/usr/share/man:" "${S}/Makefile.in"
-}
-
-src_install() {
- emake BUILDROOT="${ED}" install
-}
View
8 sys-libs/libmd/metadata.xml
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>ryao@gentoo.org</email>
- <name>Richard Yao</name>
- </maintainer>
-</pkgmetadata>

0 comments on commit d8947ec

Please sign in to comment.