From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 71B6B59CAF for ; Sun, 3 Apr 2016 01:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACA0921C014; Sun, 3 Apr 2016 01:26:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 321BE21C014 for ; Sun, 3 Apr 2016 01:26:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 690D8340DCA for ; Sun, 3 Apr 2016 01:26:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D4A680 for ; Sun, 3 Apr 2016 01:26:52 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1459646771.63e6d2abd96c1f878cc7b0633fce1ce3ce98d032.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/prelink/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/prelink/Manifest sys-devel/prelink/prelink-20151030.ebuild X-VCS-Directories: sys-devel/prelink/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 63e6d2abd96c1f878cc7b0633fce1ce3ce98d032 X-VCS-Branch: master Date: Sun, 3 Apr 2016 01:26:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b58954c3-d46f-4571-95eb-fa10208b7886 X-Archives-Hash: 39e7504543482a1a41843af2c56a6c82 commit: 63e6d2abd96c1f878cc7b0633fce1ce3ce98d032 Author: Mike Frysinger gentoo org> AuthorDate: Sun Apr 3 01:26:11 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Apr 3 01:26:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e6d2ab sys-devel/prelink: version bump #575586 sys-devel/prelink/Manifest | 2 + sys-devel/prelink/prelink-20151030.ebuild | 67 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sys-devel/prelink/Manifest b/sys-devel/prelink/Manifest index 54c581f..6fb3e02 100644 --- a/sys-devel/prelink/Manifest +++ b/sys-devel/prelink/Manifest @@ -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 diff --git a/sys-devel/prelink/prelink-20151030.ebuild b/sys-devel/prelink/prelink-20151030.ebuild new file mode 100644 index 0000000..4ecbc75 --- /dev/null +++ b/sys-devel/prelink/prelink-20151030.ebuild @@ -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 +}