summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-12-11 06:18:21 +0000
committerRyan Hill <rhill@gentoo.org>2010-12-11 06:18:21 +0000
commit8d882de051a638ef8e6a8afbd0ab968ff4325edd (patch)
tree9a15601edfb3c57e525f412ce8f846d04e0a27d6 /sys-devel
parentadded ~sparc (bug 348218) (diff)
downloadhistorical-8d882de051a638ef8e6a8afbd0ab968ff4325edd.tar.gz
historical-8d882de051a638ef8e6a8afbd0ab968ff4325edd.tar.bz2
historical-8d882de051a638ef8e6a8afbd0ab968ff4325edd.zip
Version bump. Adds support for copying over extended attributes such as
file-based capabilities. Package-Manager: portage-2.2.0_alpha7/cvs/Linux x86_64
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/prelink/ChangeLog8
-rw-r--r--sys-devel/prelink/Manifest10
-rw-r--r--sys-devel/prelink/prelink-20101123.ebuild72
3 files changed, 85 insertions, 5 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index 1d70286be2c0..c747eee86ff4 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/prelink
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.78 2010/09/19 09:16:52 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.79 2010/12/11 06:18:21 dirtyepic Exp $
+
+*prelink-20101123 (11 Dec 2010)
+
+ 11 Dec 2010; Ryan Hill <dirtyepic@gentoo.org> +prelink-20101123.ebuild:
+ Version bump. Adds support for copying over extended attributes such as
+ file-based capabilities.
19 Sep 2010; Ryan Hill <dirtyepic@gentoo.org>
-files/prelink-20040707-init.patch,
diff --git a/sys-devel/prelink/Manifest b/sys-devel/prelink/Manifest
index f0c8c05b16f2..cdbfaac0b6d4 100644
--- a/sys-devel/prelink/Manifest
+++ b/sys-devel/prelink/Manifest
@@ -6,14 +6,16 @@ AUX prelink.confd 1677 RMD160 ccd7324c07917039566f4e58d6f0fc73e70c99d9 SHA1 6c09
AUX prelink.cron 2424 RMD160 b338a5634cc848e7de3c4987c9ce86f94c253654 SHA1 72b9e589d066eaf0a72a8d2541d9c28787c5c318 SHA256 6258d94475db9f58902c1e13ef0f3abe1422f0c955d6e385455a4c7e8f63957c
DIST prelink-20100106.tar.bz2 920275 RMD160 991a7497737ff64f250226805c28592a832ac90c SHA1 9d63429d59cf7b56816db7bbe6602188032ffbc1 SHA256 6aea85b672f2689b52a75e36a5e06fdc9b338e8d2935692dbb0fc61c83491125
DIST prelink-20100714.tar.bz2 922627 RMD160 533d4b9f724421d12ccd70030721d66c3701b075 SHA1 7b96d52b006cfc2b367f5dc45806ed48f2f26f76 SHA256 1164e45cf5589327227ea372ec567e52fe631564504a9b7079bbf281931b3b1c
+DIST prelink-20101123.tar.bz2 923416 RMD160 fbd9069a26eec9b332cd2667a87a47cf1d1dc9f4 SHA1 de04ba2a4af0a3bc38eb435035417b40ef2f9712 SHA256 e76dccf3b2e3bb075a44f1d10ede55a7aa6f7f065e01fd6a9db1318e0c51e71b
EBUILD prelink-20100106.ebuild 2035 RMD160 75db5e14e2d4dab09cbc88bbec637d41af06c04a SHA1 8d2f4d62a5176918456803c39cc9bd50096f37a9 SHA256 cb3ffb19b8c714bbd69129fedb8320ccf3ff1de0b3d8063e7df7eaf25556068e
EBUILD prelink-20100714.ebuild 2072 RMD160 6345cb7f26ad5afe155d1a73e6deccf68e48fe10 SHA1 073ac818ba4db7226b8adcdbb95e4b5a7d9aa1d4 SHA256 d5d498a6f0ce5ee888ef4a343ea06923c586add2e3155f7701341c1c2f9b9d02
-MISC ChangeLog 10119 RMD160 ebb7c07c58e50ba53b409404bee8f944ec0beb19 SHA1 208d2cf168654984fe4204dea6d5df1af311c617 SHA256 e26a7809d382a7063d2a4998bfe0690f504fdee80afaa819d630140b14f7d004
+EBUILD prelink-20101123.ebuild 2145 RMD160 734be43a9a9f5ee0b5ba129483c8ac6b5dd529a2 SHA1 2aedc2a1cf233283a2fd8a118d49bcf22515c66b SHA256 0598cec1e938df4e0797efdeb341bda21e0e7d035fa80d4fc3f2df63242a49bc
+MISC ChangeLog 10328 RMD160 cfe1941442f899151f5f6a1c3f668cf9e02cabcb SHA1 46afc9760d0660e72accdb8b81273baa071c4510 SHA256 7cc95a99cf393ccabf03b5ab20ad0f6600c0cbb9ba7ee979c48ad7a8f3b8696f
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkyV1hcACgkQiqiDRvmkBmKvCACbBpcHuCRKzkW4Fhc0z0Tm/XMB
-7SUAoNbILaDFLuno080KKkCICsJb9GWF
-=ZRPS
+iEYEARECAAYFAk0DGOYACgkQiqiDRvmkBmK2dgCeMsmWepnVpRB4C93EHNPta/p5
+SRcAnitqtA91jzKPBNcH/SM7wxXQN9Ks
+=kXPn
-----END PGP SIGNATURE-----
diff --git a/sys-devel/prelink/prelink-20101123.ebuild b/sys-devel/prelink/prelink-20101123.ebuild
new file mode 100644
index 000000000000..2bf0ca1688b0
--- /dev/null
+++ b/sys-devel/prelink/prelink-20101123.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20101123.ebuild,v 1.1 2010/12/11 06:18:21 dirtyepic Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times"
+HOMEPAGE="http://people.redhat.com/jakub/prelink"
+#SRC_URI="http://people.redhat.com/jakub/prelink/${P}.tar.bz2"
+# if not on http://people.redhat.com/jakub/prelink/, releases can usually be ripped from
+# http://mirrors.kernel.org/fedora/development/source/SRPMS/prelink-<blah>.src.rpm
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/elfutils-0.100
+ !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() {
+ emake DESTDIR="${D}" install || die "Install Failed"
+
+ insinto /etc
+ doins doc/prelink.conf || die
+
+ 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"
+
+ dodoc TODO ChangeLog
+}
+
+pkg_postinst() {
+ echo
+ elog "You may wish to read the Gentoo Linux Prelink Guide, which can be"
+ elog "found online at:"
+ elog
+ elog " http://www.gentoo.org/doc/en/prelink-howto.xml"
+ elog
+ elog "Please edit /etc/conf.d/prelink to enable and configure prelink"
+ echo
+ touch "${ROOT}/var/lib/misc/prelink.force"
+}