From 12ba446294f73d2b8cb0379d498de0caeae66fd4 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Tue, 25 Jul 2006 11:57:09 +0000 Subject: Update version. (Portage version: 2.1.1_pre3-r4) --- sys-devel/prelink/ChangeLog | 8 ++- sys-devel/prelink/files/digest-prelink-20050314 | 2 + sys-devel/prelink/files/digest-prelink-20050610 | 2 + sys-devel/prelink/files/digest-prelink-20050901 | 2 + sys-devel/prelink/files/digest-prelink-20060712 | 3 + sys-devel/prelink/prelink-20060712.ebuild | 85 +++++++++++++++++++++++++ 6 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 sys-devel/prelink/files/digest-prelink-20060712 create mode 100644 sys-devel/prelink/prelink-20060712.ebuild diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog index 67b720bbc938..49a18ce3f53b 100644 --- a/sys-devel/prelink/ChangeLog +++ b/sys-devel/prelink/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/prelink # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.44 2006/04/11 21:33:09 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.45 2006/07/25 11:57:09 azarah Exp $ + +*prelink-20060712 (25 Jul 2006) + + 25 Jul 2006; Martin Schlemmer + +prelink-20060712.ebuild: + Update version. *prelink-20060213 (11 Apr 2006) diff --git a/sys-devel/prelink/files/digest-prelink-20050314 b/sys-devel/prelink/files/digest-prelink-20050314 index 5b8ba4223ee0..d9b99dda3d18 100644 --- a/sys-devel/prelink/files/digest-prelink-20050314 +++ b/sys-devel/prelink/files/digest-prelink-20050314 @@ -1 +1,3 @@ MD5 571991a3fdf2535a67c82d170ac37171 prelink-20050314.tar.bz2 905343 +RMD160 27cb5aa9d9ad889fe301dd8b76b4fcbd7c2af51e prelink-20050314.tar.bz2 905343 +SHA256 5e175ab84f01cf3b8214f4d47c5246df4ff490bc140bac7ad858f4967bafc116 prelink-20050314.tar.bz2 905343 diff --git a/sys-devel/prelink/files/digest-prelink-20050610 b/sys-devel/prelink/files/digest-prelink-20050610 index a606c3917dfd..6798fe1ad5d5 100644 --- a/sys-devel/prelink/files/digest-prelink-20050610 +++ b/sys-devel/prelink/files/digest-prelink-20050610 @@ -1 +1,3 @@ MD5 1c24413eda902a8cfd581a84372b02ab prelink-20050610.tar.bz2 905388 +RMD160 bf1657536497a15fc144ca9c8a0d0e616f7a218f prelink-20050610.tar.bz2 905388 +SHA256 354fbbd6e98985b644038bc871df8a5c90da9244bf1b8594552d4925f1ae50e6 prelink-20050610.tar.bz2 905388 diff --git a/sys-devel/prelink/files/digest-prelink-20050901 b/sys-devel/prelink/files/digest-prelink-20050901 index c9f7578d17a0..c5382510d0bf 100644 --- a/sys-devel/prelink/files/digest-prelink-20050901 +++ b/sys-devel/prelink/files/digest-prelink-20050901 @@ -1 +1,3 @@ MD5 9d1f6617a90e797f6c21f238afe97eba prelink-20050901.tar.bz2 905959 +RMD160 cfe15d86a38b7a2a375ed0d28b6c6218306ecf3c prelink-20050901.tar.bz2 905959 +SHA256 d8fec0a1dcde1fbcca43fe8ca3f9429127b39a7c4fd1753ca69932af379476f8 prelink-20050901.tar.bz2 905959 diff --git a/sys-devel/prelink/files/digest-prelink-20060712 b/sys-devel/prelink/files/digest-prelink-20060712 new file mode 100644 index 000000000000..611b852cac19 --- /dev/null +++ b/sys-devel/prelink/files/digest-prelink-20060712 @@ -0,0 +1,3 @@ +MD5 6f72c7b02da18b121e0018b827476763 prelink-20060712.tar.bz2 907705 +RMD160 bcac775a3e56f3c9253851d728c246c4921fcb08 prelink-20060712.tar.bz2 907705 +SHA256 64f360159f8204dff5534475b1e2b200c2a9971e674c9276d0b4c2650b369779 prelink-20060712.tar.bz2 907705 diff --git a/sys-devel/prelink/prelink-20060712.ebuild b/sys-devel/prelink/prelink-20060712.ebuild new file mode 100644 index 000000000000..33877ac4175e --- /dev/null +++ b/sys-devel/prelink/prelink-20060712.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20060712.ebuild,v 1.1 2006/07/25 11:57:09 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.4 + >=sys-devel/binutils-2.15.90.0.1" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-20040707-init.patch + epatch ${FILESDIR}/${PN}-20060213-symloop.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 + + exeinto /etc/cron.daily + newexe "${FILESDIR}"/prelink.cron prelink + newconfd "${FILESDIR}"/prelink.confd prelink + + dodir /var/{lib/misc,log} + touch "${D}/var/lib/misc/prelink.full" + touch "${D}/var/lib/misc/prelink.quick" + touch "${D}/var/lib/misc/prelink.force" + touch "${D}/var/log/prelink.log" + + + 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" + einfo "Added cron job at /etc/cron.daily/prelink" + einfo "Edit /etc/conf.d/prelink to enable / configure" + echo + touch "${ROOT}/var/lib/misc/prelink.force" +} -- cgit v1.2.3-65-gdbad