diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-11 03:53:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-11 03:53:16 +0000 |
commit | 03bf2cdb0e27f65559d05d1b6e9cd93cf5347a4e (patch) | |
tree | 6c29b7db04824c33be0f24676d674cba09551c02 /dev-util/debugedit | |
parent | Retroactively add credits for bug I've missed. (diff) | |
download | historical-03bf2cdb0e27f65559d05d1b6e9cd93cf5347a4e.tar.gz historical-03bf2cdb0e27f65559d05d1b6e9cd93cf5347a4e.tar.bz2 historical-03bf2cdb0e27f65559d05d1b6e9cd93cf5347a4e.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha65/cvs/Linux x86_64
Diffstat (limited to 'dev-util/debugedit')
-rw-r--r-- | dev-util/debugedit/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/debugedit/Manifest | 16 | ||||
-rw-r--r-- | dev-util/debugedit/debugedit-5.3.5.ebuild | 35 | ||||
-rw-r--r-- | dev-util/debugedit/files/Makefile | 11 | ||||
-rwxr-xr-x | dev-util/debugedit/files/update.sh | 71 |
5 files changed, 135 insertions, 8 deletions
diff --git a/dev-util/debugedit/ChangeLog b/dev-util/debugedit/ChangeLog index 3dd038043824..3576450f0a67 100644 --- a/dev-util/debugedit/ChangeLog +++ b/dev-util/debugedit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/debugedit -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/debugedit/ChangeLog,v 1.22 2009/11/14 09:14:33 swegener Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/debugedit/ChangeLog,v 1.23 2011/10/11 03:53:15 vapier Exp $ + +*debugedit-5.3.5 (11 Oct 2011) + + 11 Oct 2011; Mike Frysinger <vapier@gentoo.org> +debugedit-5.3.5.ebuild, + +files/Makefile, +files/update.sh: + Version bump. *debugedit-5.1.9 (14 Nov 2009) diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest index fbf8317924b8..fb0d9153f799 100644 --- a/dev-util/debugedit/Manifest +++ b/dev-util/debugedit/Manifest @@ -1,22 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 +AUX Makefile 143 RMD160 c1df745f249089b6aa065267262025435b1cfcd7 SHA1 37d69678ec655a876c6cdea80a7b0058620a7c9f SHA256 36e9d1c153b6dea6f2b337f0aa2749e207f38e4cf438d144f38b01e1e500719a AUX debugedit-4.4.6-busted-paths-with-O0.patch 1218 RMD160 603fdb3c1c29330cc48b62a6f9fe43a43883e1ff SHA1 6dc49656a7256ec379aa78f2a344c6ba37b95991 SHA256 c531944294a74cd9cca78c1373344d94cc060b144f61569a09b614c158449226 AUX debugedit-4.4.6-update.patch 18333 RMD160 85da8ca03e345ea85c4b894d0d7a534e3c1675ed SHA1 bbb0bff7e02a58ef70cb059b14ec71e032d84076 SHA256 455c4eb382aaf738ffd6e20c4e1f870610e3b8150f22d18fe068bbb30d3c21ec AUX debugedit-5.1.9-DWARF-3.patch 4564 RMD160 ace4e5097d5ed332f844e24dfa72f62f85dd9960 SHA1 426f10a6c5642f43b7635070b016405c15ca27ce SHA256 05c8a110fbb068c9c38f72e07b6a47f31734a6d0ae21e06d01db1d2f1508e7bd AUX debugedit-5.1.9-cleanup.patch 834 RMD160 abf2b20352793f16bbc2096d65e7950bfd6dd9d6 SHA1 fb30cb317964def716406a74fd058bb205c89c4b SHA256 07d83524702c0ead29231034c139a738da813c53d14cc0cca14610bad25b0528 +AUX update.sh 1347 RMD160 002b51e0b64e8bd31138ae5f6e185af9b8f0b026 SHA1 4e13874e1ab0916ef719a7cc221f61b5093fc132 SHA256 f016dceb61db33afec000ccc7330f6765bd9bdebb9a6bf8d90be7ad5e1ef2772 DIST debugedit-4.4.6.tar.bz2 12924 RMD160 9007f16ed6a0052b5d2b29869a5ba1284f0e8520 SHA1 2700cd510b3a662e57b8ab15514cd63deeea1aa0 SHA256 33700d88de1dce201bcded9b43789bc352b9edce1c020ada0ac417bf88c3acb4 DIST debugedit-5.1.9.tar.bz2 14682 RMD160 5df8e5f0720ba1090043cb42e50897b5f600fca4 SHA1 0707bfbf58d1f0df2510499b7904ac2c81fa5982 SHA256 36336b7f6b7eec442d62ac44f902c9367311e32ecc53c6627af0f07069416537 +DIST debugedit-5.3.5.tar.bz2 27799 RMD160 a825120585eb1e0ccdd2f80a7523d9e996e38939 SHA1 996ebe379c694bef79bb0b73b30dc374c596a9aa SHA256 150461508dfd7791c9408c33248e5271e837167fdfa11d69d6fb51cc16d90663 EBUILD debugedit-4.4.6-r1.ebuild 730 RMD160 fc54ce7926d77bef4d8b46ff27ead33b1f795b6b SHA1 3e6c00006d795464e289354204a753be2f2d9661 SHA256 c06e354b78cb9da3b855ee73e88fedd57012e5cea502a447fd6b417563597cc9 EBUILD debugedit-4.4.6-r2.ebuild 778 RMD160 64a07c3c09f4dbd2d9f3ce91677710053ad0b07e SHA1 a8cc68e7205122ff32d5d46939e1459edd6e8a8b SHA256 abb917529aa53d519ade4c416260956bd058d7c8b2bf1dc03a4c0ea518d018b2 EBUILD debugedit-4.4.6.ebuild 614 RMD160 6a4bedeca8b83d7d25f1f6a8c35abfdc9b325535 SHA1 74b700ba0e88037b8daf6e4c012931f2e34b3099 SHA256 0ccd415632c9dee64e8013a68817c56f717b09ff75e3bb0355057ea3ff66d7f0 EBUILD debugedit-5.1.9.ebuild 885 RMD160 d0a042ac2c4a8a8d2a2f6981cc037202a5e5801d SHA1 ef818850c0717b347bfe9aab63a334bf77cb2141 SHA256 36bc32c0e604cb19b854373bd6d42893ca2169883c90cec505bf8cc324407eea -MISC ChangeLog 3357 RMD160 7bcc65c72e9acd5c5be8a9723ea953b91b7e35c1 SHA1 3b12a616fc6dba3a39fafaa2c667f63c54269d29 SHA256 d912b8b1e5b3f7df43ecd68a96e4fbe7b42437301b38ae4e1c9d8843003b21a8 +EBUILD debugedit-5.3.5.ebuild 861 RMD160 b80ebe89c8e447356283b39e3fc2e67f9c788a50 SHA1 f0ee6d9ef08f2e20273c0706b52d44c870069130 SHA256 b26b2e37c320d2450e11253ae1e0b1ddaa24c35ef8bd9a7593b896d405726194 +MISC ChangeLog 3516 RMD160 ca9948e29e46c9351d61e769176384d19d2d22cd SHA1 211c1174d87916025db786d175806bd2b2658f71 SHA256 3daf4c95f5190d973696ee523808022355ba5dc14a63c148bdd3c43cf33312a2 MISC metadata.xml 226 RMD160 b2192c6ce03b28834b099510aaae7ada4dcdbb1b SHA1 829c58e565bc35aa8038f2d80cde2e6f59004115 SHA256 f7c1a9de82faf914b31af5c151f57cf187f0a2cc751527dcdac278440825c3ea -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAksHYfcACgkQlPl3HsVfCDo3kQCfRTzHIiyCNFSGa7tBd+qI1F9E -t4EAn2HG4CGL0EzipMiKZNlActacSkxb -=42Ql +iF4EAREIAAYFAk6TvbMACgkQaC/OocHi7JZpqAEAjynm6LQl7ejs+VKNRtCStp+V +mwrz9Yqahn1n1RzAneAA/2AYB2DSNX06MrFqmCK8RY54fXkkQ6uiEuusO3CQCBPR +=ofVb -----END PGP SIGNATURE----- diff --git a/dev-util/debugedit/debugedit-5.3.5.ebuild b/dev-util/debugedit/debugedit-5.3.5.ebuild new file mode 100644 index 000000000000..1fa1cdae4ee0 --- /dev/null +++ b/dev-util/debugedit/debugedit-5.3.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/debugedit/debugedit-5.3.5.ebuild,v 1.1 2011/10/11 03:53:15 vapier Exp $ + +# To recreate this tarball, just grab latest rpm5 release: +# http://rpm5.org/files/rpm/ +# The files are in tools/ +# Or see $FILESDIR/update.sh + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="standalone debugedit taken from rpm" +HOMEPAGE="http://www.rpm5.org/" +SRC_URI="http://dev.gentoo.org/~swegener/distfiles/${P}.tar.bz2 + http://dev.gentoo.org/~vapier/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-libs/popt + dev-libs/elfutils + dev-libs/beecrypt" +RDEPEND="${DEPEND}" + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin debugedit || die +} diff --git a/dev-util/debugedit/files/Makefile b/dev-util/debugedit/files/Makefile new file mode 100644 index 000000000000..946a12865f64 --- /dev/null +++ b/dev-util/debugedit/files/Makefile @@ -0,0 +1,11 @@ +CPPFLAGS += -I. +LDLIBS = -lelf -lpopt -lbeecrypt + +all: debugedit + +debugedit: debugedit.o hashtab.o + +clean: + rm -f *.o debugedit + +.PHONY: clean diff --git a/dev-util/debugedit/files/update.sh b/dev-util/debugedit/files/update.sh new file mode 100755 index 000000000000..db5495d41eb2 --- /dev/null +++ b/dev-util/debugedit/files/update.sh @@ -0,0 +1,71 @@ +#!/bin/bash + +DISTDIR=/usr/portage/distfiles +PN=debugedit + +. /etc/init.d/functions.sh + +set -e + +einfo "Getting updated index" +rm -f index.html +wget -q http://rpm5.org/ + +PV=$(sed -n '/Production:/{n;s:.*RPM ::;s:<.*::;p;q}' index.html) +einfo "Latest upstream version: ${PV}" +rm -f index.html + +P="${PN}-${PV}" +A=${P}.tar.bz2 + +e=${P}.ebuild +if [[ -e ../${e} ]] ; then + einfo "All up to date" + exit 0 +fi + +#tf=${DISTDIR}/${A} +#if [[ ! -e ${tf} ]] ; then +# einfo "Cannot find ${tf}" +# exit 0 +#fi + +einfo "Fetching latest rpm tarball" +r=rpm-${PV} +wget -nv http://rpm5.org/files/rpm/rpm-${PV%.*}/${r}.tar.gz -P ${DISTDIR} -c + +einfo "Unpacking ${r}" +rm -rf ${r} +tar xf ${DISTDIR}/${r}.tar.gz + +einfo "Creating ${P}" +rm -rf ${P} +mkdir ${P} +cp Makefile ${r}/tools/{hashtab.?,debugedit.c} ${P}/ +pushd ${P} >/dev/null +more=true +while ${more} ; do + more=false + for h in $(grep '#include' *.[ch] | awk '{print $NF}' | sed 's:[<>"]::g') ; do + [[ ${h} == */* ]] && continue + rh=$(find ../${r} -name ${h##*/}) + if [[ -n ${rh} ]] && [[ ! -e ${rh##*/} ]] ; then + # don't copy glibc includes + if ! grep -qs 'This file is part of the GNU C Library' ${rh} ; then + cp ${rh} ./ + more=true + fi + fi + done +done +popd >/dev/null +tar jcf ${A} ${P} + +einfo "Testing build" +pushd ${P} >/dev/null +make -s +popd >/dev/null + +einfo "Cleaning up" +rm -rf ${P} ${r} +du -b ${A} |