mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/prelink: drop old versions
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST prelink-20110511.tar.bz2 924501 SHA256 038725b6e3125dc163bca6c6bd348958ca117510d6d2603f06431fee59b4e0fe SHA512 4ae8a8a9fc29c98954e43eb606bef5e4d6eeca6ea9cec855f13e640e1090dd99543c60da240bc8f68b01e1ec94a6860863772378b1b13191faf42912fb8d51ec WHIRLPOOL 8e8dc9247bfd9425527f7246aa2e61ff351a7701729c22f04bddce46ac37fe109a2c777cc880a40a55a28a0072337e5e8f8e410616b537180486c757f2dad161
|
||||
DIST prelink-20111012.tar.bz2 926500 SHA256 b86df2e6c051176da711a85982b80d87c8ce8e053e04bd0ffb2f9ba817f62aaf SHA512 51e57337b528728e916a69c2fc6a21503882d43317d927c1c3990193b929e7d0a91e04411647fd798f4f2467a87dc5482a8f8f95650546bb2336d42e563e66cf WHIRLPOOL e4c0b2ec05694ea56dd365b725f19d8b263a6392426ac47d4cefa49326a32b6174026416b98acb5a56a2644c2094db6f4c4c3523de3b74d33c09ac42e235ae66
|
||||
DIST prelink-20120628.tar.bz2 917485 SHA256 46548d655e9d764260b735ecdd1c8b0673756224f5fd9a4f14fef1cdb6bad44d SHA512 ee45d0c916fe8dd8e358ba1bae2ea0af41f7ae45a77b2c126236f93035bd335797834714fd9d7841a3e6987855a12adf5c8c954c72155e51319786ac21ed42ef WHIRLPOOL 06f34a15363924576bfa8c54180a78993589c3fd51c6a4cd7a58c823c4a5738591bc9332173e3312a557b1af4c1c71bc1f02982145fd9af5ad1f7063be58a205
|
||||
DIST prelink-20130503.tar.bz2 928040 SHA256 6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0 SHA512 69138a695e3e535deacd8224f6f8364ff64b8868b87b516d1f3392d9df968f77265177e9fede09c38f16aa878f9fd57a9ec39f0d9deabc0c9c01609b11156ba3 WHIRLPOOL 51b4234009c6ac6e6f45f09e3513feb5efe1dbf9d705b55f88d0443fe386bacbe04fa4a4e5d60caf40ef0a98a5557eb2e9f3a11549ec01c0200c324cb948ab34
|
||||
|
||||
@@ -1,75 +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
|
||||
|
||||
# older GCCs don't support this flag
|
||||
# sed it from the Makefile then add it back to CFLAGS so we can use
|
||||
# strip-unsupported-flags
|
||||
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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools 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 on jakub's dev space extract the distfile with rpm2tarbz2 from
|
||||
# https://mirrors.kernel.org/fedora/development/rawhide/source/SRPMS/prelink-[ver].src.rpm
|
||||
#
|
||||
# track http://pkgs.fedoraproject.org/cgit/prelink.git/ for updates
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="selinux"
|
||||
|
||||
DEPEND=">=dev-libs/elfutils-0.100[static-libs(+)]
|
||||
selinux? ( sys-libs/libselinux[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:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #469126
|
||||
|
||||
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.am
|
||||
|
||||
# older GCCs don't support this flag
|
||||
sed -i -e 's:-Wno-pointer-sign::' src/Makefile.am #325269
|
||||
append-cflags -Wno-pointer-sign
|
||||
strip-unsupported-flags
|
||||
|
||||
has_version 'dev-libs/elfutils[threads]' && append-ldflags -pthread
|
||||
|
||||
eautoreconf # prevent maintainer mode
|
||||
|
||||
# have to do this after eautoreconf or automake barfs on the trailing
|
||||
# backslash of the previous line
|
||||
sed -i -e 's:undosyslibs.sh::' testsuite/Makefile.in # 254201
|
||||
|
||||
export ac_cv_{header_selinux_selinux_h,lib_selinux_is_selinux_enabled}=$(usex selinux)
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user