summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-04 22:51:43 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-04 22:51:43 +0000
commit46dbf32802937d406e584ca09f23d9762dbf4f7d (patch)
tree72f3f3195b541cf6f2abcb2a2cdb3eb8bc8d1bf7 /sys-devel/prelink
parentclean up ebuild (diff)
downloadgentoo-2-46dbf32802937d406e584ca09f23d9762dbf4f7d.tar.gz
gentoo-2-46dbf32802937d406e584ca09f23d9762dbf4f7d.tar.bz2
gentoo-2-46dbf32802937d406e584ca09f23d9762dbf4f7d.zip
dont run last test
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r--sys-devel/prelink/ChangeLog12
-rw-r--r--sys-devel/prelink/files/digest-prelink-20021002-r11
-rw-r--r--sys-devel/prelink/files/prelink-no-undosyslibs-test.patch13
-rw-r--r--sys-devel/prelink/prelink-20021002-r1.ebuild50
4 files changed, 73 insertions, 3 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index c4b453b26ba9..e3cd702bc0a7 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,8 +1,14 @@
# 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.2 2002/11/27 19:13:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.3 2002/12/04 22:51:43 azarah Exp $
+
+*prelink-20021002-r1 (05 Dec 2002):
+
+ 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.
+ Thanks to Stefan Jones <cretin@gentoo.org> for this info/fix.
*prelink-20021002 (15 Nov 2002):
- 15 Nov 2002; Stefan Jones <cretin@gentoo.org> prelink-20021002.ebuild :
- Initial masked ebuild you your hacking and breaking pleasure!
+ 15 Nov 2002; Stefan Jones <cretin@gentoo.org> prelink-20021002.ebuild :
+ Initial masked ebuild you your hacking and breaking pleasure!
diff --git a/sys-devel/prelink/files/digest-prelink-20021002-r1 b/sys-devel/prelink/files/digest-prelink-20021002-r1
new file mode 100644
index 000000000000..c32773ce2c71
--- /dev/null
+++ b/sys-devel/prelink/files/digest-prelink-20021002-r1
@@ -0,0 +1 @@
+MD5 f6c8692c309009838ba45c6da38c8684 prelink-20021002.tar.bz2 243701
diff --git a/sys-devel/prelink/files/prelink-no-undosyslibs-test.patch b/sys-devel/prelink/files/prelink-no-undosyslibs-test.patch
new file mode 100644
index 000000000000..f074b34fc27e
--- /dev/null
+++ b/sys-devel/prelink/files/prelink-no-undosyslibs-test.patch
@@ -0,0 +1,13 @@
+--- prelink/testsuite/Makefile.in.orig 2002-12-05 00:08:03.000000000 +0200
++++ prelink/testsuite/Makefile.in 2002-12-05 00:08:16.000000000 +0200
+@@ -88,8 +88,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 \
+- undosyslibs.sh
++ layout1.sh layout2.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-20021002-r1.ebuild b/sys-devel/prelink/prelink-20021002-r1.ebuild
new file mode 100644
index 000000000000..d55339b7a0e5
--- /dev/null
+++ b/sys-devel/prelink/prelink-20021002-r1.ebuild
@@ -0,0 +1,50 @@
+# 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-20021002-r1.ebuild,v 1.1 2002/12/04 22:51:43 azarah Exp $
+
+IUSE=""
+
+inherit eutils
+
+S="${WORKDIR}/prelink"
+DESCRIPTION="Modifies executables so runtime libraries load faster"
+SRC_URI="ftp://people.redhat.com/jakub/prelink/${P}.tar.bz2"
+HOMEPAGE="ftp://people.redhat.com/jakub/prelink"
+
+LICENSE="GPL2"
+SLOT="0"
+KEYWORDS="x86 sparc sparc64 ppc alpha"
+
+DEPEND=">=dev-libs/libelf-0.8
+ >=sys-libs/glibc-2.3.1
+ >=sys-devel/binutils-2.13.90.0.10"
+
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}; epatch ${FILESDIR}/${PN}-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
+}
+