mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-devel/prelink: version bump #575586
This commit is contained in:
@@ -1 +1,3 @@
|
||||
DIST prelink-20130503.tar.bz2 928040 SHA256 6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0 SHA512 69138a695e3e535deacd8224f6f8364ff64b8868b87b516d1f3392d9df968f77265177e9fede09c38f16aa878f9fd57a9ec39f0d9deabc0c9c01609b11156ba3 WHIRLPOOL 51b4234009c6ac6e6f45f09e3513feb5efe1dbf9d705b55f88d0443fe386bacbe04fa4a4e5d60caf40ef0a98a5557eb2e9f3a11549ec01c0200c324cb948ab34
|
||||
DIST prelink-cross-20151030.tar.bz2 701337 SHA256 c87a8c4f0805d80d6b48b63a430537f58e8eeae721972d6e19af5b3cc92fec0f SHA512 75edd8617b95ae5bd3bfc968732ee142c968855c97c5b2b93784d3476a9724e0fd9a4eb7af681a5356616a4f023e24d5c5a2e75fb57e2a25b142cc901d9bfcaf WHIRLPOOL d40ad1d9e39e1c3b4027c83db2399579f133796d77f72a9d162ffb5c60b887c01110110e5feb9377373b21e72889518a0cebacdb442798e1d9ff08be2f115972
|
||||
DIST prelink.pdf 474129 SHA256 83e62795c59cb0dec683585a97b8777c8756a555ff056725425bfdf21e6d5baf SHA512 86b7163fcf6f43d1764183b3dfc30aad8de99ce198b2721af276c81fc361e9f5fd8f4aea1e8e0c653f0566e8346dff4b4ba72909359167aa92c094f5561d2e1e WHIRLPOOL b497b07c073fd883735e34db46d050b036356f680e3df3299ae361a4dc8d5ba4190aa193662ff4f917d3b5e875846170025583c07ec281f05b2520ec6fc1418f
|
||||
|
||||
67
sys-devel/prelink/prelink-20151030.ebuild
Normal file
67
sys-devel/prelink/prelink-20151030.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_PN="${PN}-cross"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times"
|
||||
HOMEPAGE="https://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/ https://people.redhat.com/jakub/prelink"
|
||||
SRC_URI="https://git.yoctoproject.org/cgit/cgit.cgi/${MY_PN}/snapshot/${MY_P}.tar.bz2
|
||||
doc? ( https://people.redhat.com/jakub/prelink/prelink.pdf )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc selinux"
|
||||
|
||||
DEPEND=">=dev-libs/elfutils-0.100[static-libs(+)]
|
||||
selinux? ( sys-libs/libselinux[static-libs(+)] )
|
||||
!dev-libs/libelf
|
||||
sys-libs/binutils-libs
|
||||
>=sys-libs/glibc-2.8"
|
||||
RDEPEND="${DEPEND}
|
||||
>=sys-devel/binutils-2.18"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-20130503-prelink-conf.patch
|
||||
epatch "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch
|
||||
|
||||
sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147
|
||||
|
||||
has_version 'dev-libs/elfutils[threads]' && append-ldflags -pthread
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable selinux)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc "${WORKDIR}"/prelink.pdf
|
||||
|
||||
insinto /etc
|
||||
doins doc/prelink.conf
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}"/prelink.cron prelink
|
||||
newconfd "${FILESDIR}"/prelink.confd prelink
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -z "${REPLACING_VERSIONS}" ] ; then
|
||||
elog "You may wish to read the Gentoo Linux Prelink Guide, which can be"
|
||||
elog "found online at:"
|
||||
elog " https://wiki.gentoo.org/wiki/Prelink"
|
||||
elog "Please edit /etc/conf.d/prelink to enable and configure prelink"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user