From 4eef7256369ed08ea80dc4407b79ab1fcf70bb0c Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Wed, 20 Jul 2005 17:50:00 +0000 Subject: Update version, bug #99389. (Portage version: 2.0.51.22-r2) --- sys-devel/prelink/ChangeLog | 8 ++- sys-devel/prelink/Manifest | 7 ++- sys-devel/prelink/files/digest-prelink-20050610 | 1 + sys-devel/prelink/prelink-20050610.ebuild | 70 +++++++++++++++++++++++++ 4 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 sys-devel/prelink/files/digest-prelink-20050610 create mode 100644 sys-devel/prelink/prelink-20050610.ebuild (limited to 'sys-devel/prelink') diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog index c16e1e79a507..a43e72272ad4 100644 --- a/sys-devel/prelink/ChangeLog +++ b/sys-devel/prelink/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/prelink # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.41 2005/05/19 22:51:14 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.42 2005/07/20 17:50:00 azarah Exp $ + +*prelink-20050610 (20 Jul 2005) + + 20 Jul 2005; Martin Schlemmer + +prelink-20050610.ebuild: + Update version, bug #99389. *prelink-20050314 (19 May 2005) diff --git a/sys-devel/prelink/Manifest b/sys-devel/prelink/Manifest index c5ee98b52f16..2c4448450921 100644 --- a/sys-devel/prelink/Manifest +++ b/sys-devel/prelink/Manifest @@ -1,6 +1,9 @@ MD5 47b7b741ab3aa2749cfdad8aeb69c358 prelink-20050314.ebuild 1849 +MD5 1c32eeb9f8857c59bf322930f98faabb prelink-20050610.ebuild 1859 MD5 167e578ffb7afdad1216fe26de3a3e2a ChangeLog 4429 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 e7b084a6fd6b4ef980a0d67d79ee8733 files/prelink-20050314-amd64-gcc4.patch 6816 -MD5 e044ee8e67c7ef50523a1ccd4dd08e90 files/digest-prelink-20050314 69 +MD5 50692efd326c9057af63a705a87c9377 .prelink-20050610.ebuild.swp 12288 MD5 23dd82792b9637171b3f2fffc51eeea9 files/prelink-20040707-init.patch 1471 +MD5 e044ee8e67c7ef50523a1ccd4dd08e90 files/digest-prelink-20050314 69 +MD5 f624545fb4e6fe08e8fb45d9ace1d32f files/digest-prelink-20050610 69 +MD5 e7b084a6fd6b4ef980a0d67d79ee8733 files/prelink-20050314-amd64-gcc4.patch 6816 diff --git a/sys-devel/prelink/files/digest-prelink-20050610 b/sys-devel/prelink/files/digest-prelink-20050610 new file mode 100644 index 000000000000..a606c3917dfd --- /dev/null +++ b/sys-devel/prelink/files/digest-prelink-20050610 @@ -0,0 +1 @@ +MD5 1c24413eda902a8cfd581a84372b02ab prelink-20050610.tar.bz2 905388 diff --git a/sys-devel/prelink/prelink-20050610.ebuild b/sys-devel/prelink/prelink-20050610.ebuild new file mode 100644 index 000000000000..4aa8852fc644 --- /dev/null +++ b/sys-devel/prelink/prelink-20050610.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20050610.ebuild,v 1.1 2005/07/20 17:50:00 azarah Exp $ + +inherit eutils + +DESCRIPTION="Modifies executables so runtime libraries load faster" +HOMEPAGE="ftp://people.redhat.com/jakub/prelink" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~azarah/prelink/${P}.tar.bz2 + ftp://people.redhat.com/jakub/prelink/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=dev-libs/elfutils-0.100 + !dev-libs/libelf + >=sys-libs/glibc-2.3.2-r9 + >=sys-devel/binutils-2.13.90.0.10" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-20040707-init.patch + + # Build our /etc/env.d/60prelink + cat > "${S}/60prelink" <<-EOF + $( + # Need to initialize PRELINK_PATH_MASK so that we can + # just add ':${x}' below. + PRELINK_PATH_MASK="/lib/modules" + # Ok, now add the rest + for x in /usr/$(get_libdir)/locale \ + /usr/$(get_libdir)/wine \ + /usr/$(get_libdir)/valgrind \ + "*.la" "*.png" "*.py" "*.pl" "*.pm" \ + "*.sh" "*.xml" "*.xslt" "*.a" "*.js" ; do + PRELINK_PATH_MASK="${PRELINK_PATH_MASK}:${x}" + done + # Now add it quoted + echo PRELINK_PATH_MASK="\"${PRELINK_PATH_MASK}\"" + ) + PRELINK_PATH="" + EOF +} + +src_compile() { + econf || die "Configure failed" + emake || die "Make Failed" +} + +src_install() { + einstall || die "Install Failed" + + doenvd ${S}/60prelink + + dodoc INSTALL TODO ChangeLog THANKS COPYING README AUTHORS NEWS +} + +pkg_postinst() { + echo + einfo "You may wish to read the Gentoo Linux Prelink Guide, which can be" + einfo "found online at:" + einfo " http://www.gentoo.org/doc/en/prelink-howto.xml" + echo +} -- cgit v1.2.3-65-gdbad