summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-01-02 02:56:12 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-01-02 02:56:12 +0000
commit3d6c8ef1d234bed327f13ec780af652878d4794d (patch)
treed869990d0616fb6e0b60386bf67d9d5b6e678a1d /sys-devel/prelink
parentdo not install with elfutils present (diff)
downloadhistorical-3d6c8ef1d234bed327f13ec780af652878d4794d.tar.gz
historical-3d6c8ef1d234bed327f13ec780af652878d4794d.tar.bz2
historical-3d6c8ef1d234bed327f13ec780af652878d4794d.zip
new version
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r--sys-devel/prelink/ChangeLog10
-rw-r--r--sys-devel/prelink/files/digest-prelink-200212131
-rw-r--r--sys-devel/prelink/files/prelink-20021213-no-undosyslibs-test.patch13
-rw-r--r--sys-devel/prelink/prelink-20021213.ebuild52
4 files changed, 74 insertions, 2 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index b483ec8fea57..5e611e1e85d6 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,10 +1,16 @@
# ChangeLog for sys-devel/prelink
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.6 2002/12/22 04:44:16 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.7 2003/01/02 02:56:12 azarah Exp $
+
+*prelink-20021213 (02 Jan 2003):
+
+ 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org> prelink-20021213.ebuild :
+ Update version.
*prelink-20021002-r1 (05 Dec 2002):
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> :
+ Changed sparc ~sparc keywords.
05 Dec 2002; Martin Schlemmer <azarah@gentoo.org> prelink-20021002-r1.ebuild :
Do not run the undosyslibs.sh test, as it always fails if glibc is prelinked.
diff --git a/sys-devel/prelink/files/digest-prelink-20021213 b/sys-devel/prelink/files/digest-prelink-20021213
new file mode 100644
index 000000000000..81d961b9a3ae
--- /dev/null
+++ b/sys-devel/prelink/files/digest-prelink-20021213
@@ -0,0 +1 @@
+MD5 7e4e9d0aa40e2036f1d51ae5c731069a prelink-20021213.tar.bz2 272917
diff --git a/sys-devel/prelink/files/prelink-20021213-no-undosyslibs-test.patch b/sys-devel/prelink/files/prelink-20021213-no-undosyslibs-test.patch
new file mode 100644
index 000000000000..50bef3da1630
--- /dev/null
+++ b/sys-devel/prelink/files/prelink-20021213-no-undosyslibs-test.patch
@@ -0,0 +1,13 @@
+--- prelink/testsuite/Makefile.in.orig 2003-01-02 04:24:17.000000000 +0200
++++ prelink/testsuite/Makefile.in 2003-01-02 04:24:30.000000000 +0200
+@@ -97,8 +97,8 @@
+ reloc1.sh reloc2.sh reloc3.sh reloc4.sh reloc5.sh reloc6.sh \
+ reloc7.sh reloc8.sh reloc9.sh \
+ shuffle1.sh shuffle2.sh shuffle3.sh shuffle4.sh shuffle5.sh \
+- layout1.sh layout2.sh tls1.sh tls2.sh tls3.sh \
+- undosyslibs.sh
++ layout1.sh layout2.sh tls1.sh tls2.sh tls3.sh
++# undosyslibs.sh
+
+ TESTS_ENVIRONMENT = \
+ PRELINK="../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`" \
diff --git a/sys-devel/prelink/prelink-20021213.ebuild b/sys-devel/prelink/prelink-20021213.ebuild
new file mode 100644
index 000000000000..11f96a1a1162
--- /dev/null
+++ b/sys-devel/prelink/prelink-20021213.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20021213.ebuild,v 1.1 2003/01/02 02:56:12 azarah Exp $
+
+IUSE=""
+
+inherit eutils
+
+S="${WORKDIR}/${PN}"
+DESCRIPTION="Modifies executables so runtime libraries load faster"
+SRC_URI="ftp://people.redhat.com/jakub/prelink/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2
+ http://cvs.gentoo.org/~azarah/${P}.tar.bz2"
+HOMEPAGE="ftp://people.redhat.com/jakub/prelink"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+
+DEPEND=">=dev-libs/elfutils-0.72
+ !dev-libs/libelf
+ >=sys-libs/glibc-2.3.1
+ >=sys-devel/binutils-2.13.90.0.10"
+
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}; epatch ${FILESDIR}/${P}-no-undosyslibs-test.patch
+}
+
+src_compile() {
+
+ econf || die "Configure failed"
+
+ emake || die "Make Failed"
+
+ LD_PRELOAD_SAVE=${LD_PRELOAD}
+ unset LD_PRELOAD
+ make check || die "make check failed"
+ export LD_PRELOAD=${LD_PRELOAD_SAVE}
+}
+
+src_install() {
+ einstall || die "Install Failed"
+
+ dodoc INSTALL TODO ChangeLog THANKS COPYING README AUTHORS NEWS
+
+ insinto /etc
+ doins ${S}/doc/prelink.conf
+}
+