summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-07 12:39:46 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-07 12:46:45 -0500
commite09220bd85905f31e16786d36ad27d79eafbe4b8 (patch)
treede7ab4007cd507bc63b379f1277b4ff98c41444d /sys-devel/prelink/prelink-20111012.ebuild
parentapp-emulation/qemu: force C locale for sorting to workaround glibc bug #564936 (diff)
downloadgentoo-e09220bd85905f31e16786d36ad27d79eafbe4b8.tar.gz
gentoo-e09220bd85905f31e16786d36ad27d79eafbe4b8.tar.bz2
gentoo-e09220bd85905f31e16786d36ad27d79eafbe4b8.zip
sys-devel/prelink: drop old versions
Diffstat (limited to 'sys-devel/prelink/prelink-20111012.ebuild')
-rw-r--r--sys-devel/prelink/prelink-20111012.ebuild81
1 files changed, 0 insertions, 81 deletions
diff --git a/sys-devel/prelink/prelink-20111012.ebuild b/sys-devel/prelink/prelink-20111012.ebuild
deleted file mode 100644
index e56ff8acfd1..00000000000
--- a/sys-devel/prelink/prelink-20111012.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times"
-HOMEPAGE="https://people.redhat.com/jakub/prelink"
-
-#SRC_URI="mirror://gentoo/${P}.tar.bz2"
-SRC_URI="https://people.redhat.com/jakub/prelink/${P}.tar.bz2"
-#
-# if not available rip the distfile with rpm2targz from
-# https://mirrors.kernel.org/fedora/development/rawhide/source/SRPMS/prelink-[ver].src.rpm
-
-# track http://pkgs.fedoraproject.org/gitweb/?p=prelink.git;a=summary for
-# version bumps
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 -arm ~ppc ~ppc64 ~x86"
-IUSE=""
-
-DEPEND=">=dev-libs/elfutils-0.100[static-libs(+)]
- !dev-libs/libelf
- >=sys-libs/glibc-2.8"
-RDEPEND="${DEPEND}
- >=sys-devel/binutils-2.18"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-20061201-prelink-conf.patch
-
- sed -i -e 's:undosyslibs.sh::' testsuite/Makefile.in #254201
- sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147
- # >=binutils-2.22 --no-copy-dt-needed-entries is the default
- # --copy-dt-needed-entries was renamed from --add-needed in 2.21, use the
- # former so we don't have to bump the dep
- sed -i \
- -e '/CCLINK=/s:\(CCLINK="$(CC)\):\1 -Wl,--add-needed :' \
- -e '/CXXLINK=/s:\(CXXLINK="$(CXX)\):\1 -Wl,--add-needed :' \
- testsuite/Makefile.in
-
- has_version 'dev-libs/elfutils[threads]' && append-ldflags -pthread
- # older GCCs don't support this flag
- sed -i -e 's:-Wno-pointer-sign::' src/Makefile.in #325269
- append-cflags -Wno-pointer-sign
- strip-unsupported-flags
-}
-
-src_install() {
- default
-
- insinto /etc
- doins doc/prelink.conf
-
- 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"
-}
-
-pkg_postinst() {
- echo
- elog "You may wish to read the Gentoo Linux Prelink Guide, which can be"
- elog "found online at:"
- elog
- elog " https://wiki.gentoo.org/wiki/Prelink"
- elog
- elog "Please edit /etc/conf.d/prelink to enable and configure prelink"
- echo
- touch "${ROOT}/var/lib/misc/prelink.force"
-}