summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-03-15 13:15:00 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-03-15 13:15:00 +0000
commit59ed2108ec863ea02c199b442f1609fc4ed6124d (patch)
tree857bb9ee1d5a7246af86eee5657a8df9c5a56ea3 /sys-libs
parentRespect AR, wrt bug #456150. Thanks to Agostino Sarubbo for discovering this ... (diff)
downloadhistorical-59ed2108ec863ea02c199b442f1609fc4ed6124d.tar.gz
historical-59ed2108ec863ea02c199b442f1609fc4ed6124d.tar.bz2
historical-59ed2108ec863ea02c199b442f1609fc4ed6124d.zip
Revision bump: EAPI 5, epatch_user, use readme.gentoo eclass, respect LDFLAGS, wrt bug #338209
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libsafe/ChangeLog8
-rw-r--r--sys-libs/libsafe/Manifest15
-rw-r--r--sys-libs/libsafe/libsafe-2.0_p16-r3.ebuild60
3 files changed, 77 insertions, 6 deletions
diff --git a/sys-libs/libsafe/ChangeLog b/sys-libs/libsafe/ChangeLog
index 3717dc76c763..9f5b188a80ef 100644
--- a/sys-libs/libsafe/ChangeLog
+++ b/sys-libs/libsafe/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libsafe
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.11 2013/02/03 12:44:39 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.12 2013/03/15 13:14:59 pinkbyte Exp $
+
+*libsafe-2.0_p16-r3 (15 Mar 2013)
+
+ 15 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +libsafe-2.0_p16-r3.ebuild:
+ Revision bump: EAPI 5, epatch_user, use readme.gentoo eclass, respect
+ LDFLAGS, wrt bug #338209
03 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due #22900
diff --git a/sys-libs/libsafe/Manifest b/sys-libs/libsafe/Manifest
index 0a741d352eef..397abe5a39b8 100644
--- a/sys-libs/libsafe/Manifest
+++ b/sys-libs/libsafe/Manifest
@@ -1,14 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST libsafe-2.0-16.tgz 360508 SHA256 e0d78b636628d5ae8cdc05a94492bad7b182e643612f460cb449a81e7171c0b5
+DIST libsafe-2.0-16.tgz 360508 SHA256 e0d78b636628d5ae8cdc05a94492bad7b182e643612f460cb449a81e7171c0b5 SHA512 1741f6dcdc0d6b3fd9388cced97acce5dadb5ea81ec02b3c57059e7d42e8a0bde5326051f1e725bbccaa1f158cfb052776c2f11630cc8ce72db433fb734d769e WHIRLPOOL 81d2ad98d29f925ccaff50dcfa12303796186bb6397fa81562e06ebd8db16dfdbe187fc6d13a2aa7add75390b24e66d3ba6d0fab763eccd685dafa9b2e9b58eb
EBUILD libsafe-2.0_p16-r2.ebuild 1596 SHA256 76fff17c211ec46533fb3813de83e45b380a0aaaad668c002113cc3dd9a1da06 SHA512 0a70dbb7e6583600c1afb9c1049a4fa0c31743f2b53b2943d458849d8313db3965444d65133408a610d1e443765bffbfa1ec96c566445d1f84c939ee57f53eb7 WHIRLPOOL d74da5fbfb44306e5719aa5d90cd4f95ea89b7be10e8f062ba4e301da34618f85c65f37859ba65eaf7198d44e9a0f8adc3ec4e62aa84b61ba6dcf3d64423293a
-MISC ChangeLog 1513 SHA256 e3b1c1b72f2cada64759fd80e0b7a47514aa09773e4c258ff03a04986b74bf3b SHA512 da42afc5d380bf2648b571515fb834aba0a37d526e3a8a60f4303e09a74e094427626e7d74c8d8465a3738e29e02a4ae5e7c755885d4d4b2d48477dd8fcfb332 WHIRLPOOL 896ee55b5bd8db0eee18e14d5f60b7c7f49891476b8f698aaf8b46dbf46e0d7ca12717ef748837ce9b66f6ab1754abfb33f9f0b0ff57cc74ba7f409f3e0091db
+EBUILD libsafe-2.0_p16-r3.ebuild 1573 SHA256 aae5916dcb87f431fadbef65a2c61a3269b2c0d6a625a3c6b12b28e08bfaaada SHA512 314caf0d4c1f539ee183610b21b0127a332223cbb0a1859958e86ce0334efc22a9f8750fc7bfeb9133fd44f1e21d7ab59e16ffe1159c1c3f458b5238e09e6e6a WHIRLPOOL 50f1bf3d8372672116bccdedc6c62c6278b9c423def011c438d8965b800af87a1e37012f45dd60cd4c2e5c1deac644b507520018fcbc2d1ec1ee0b4b021bcd41
+MISC ChangeLog 1729 SHA256 81ea391662b60e553aa69fd80e9474ce7dfb17db2a795c67a8d7e31f3e1b9d8b SHA512 49644d8b100c72cfcdadf447b10e261e11de6e7eb74a1d6e8580690229cdeb2dd2a034c462f36d14417701f53897c747e6fe099bfddc83ed2e83e251faec7897 WHIRLPOOL 78866cb29453ae593d637456f55515f9bd224f6d9c83b4f51cc4b5cf1ae2412d5b0862eae888517a3ab8f2076c3187303f5c16371e2ca49d222b19ea453cd857
MISC metadata.xml 529 SHA256 14d66634c67beef03f11df21a04ba1d925b9615a6b35ada82d145fa5e3dc84b1 SHA512 082ae7be9a7fe339cd7ea272f437696842e50214f79032148da6b19cd7e5b3c91d6a13e2eba1d7a80a80a5156bf251b0638fd9234092c2609590e779c3d22ede WHIRLPOOL a01237df6218b1eff5c874cc519102fd72e393820b07dd883221faa9bfa164861f73dbbfe8b84ef17be1aec5dd2a1608c1fcb092160f34bdf6f4282165a5a59d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlEOW7gACgkQCaWpQKGI+9SYZgCdHxmru/1F7iuHUWAeHjLVaFVN
-DRUAnR1nsj6fDgUl8uHJqhTxs1erXn+o
-=x3GX
+iQEcBAEBCAAGBQJRQx7VAAoJECo/aRed92676gEH/2Ei9IIJm/dzKAYZZX2OKUmK
+G037g69R0t1G3dzHwqD8ZueiRuAch8ZmZjID218M69kbSXpqM0JxKXrwAlr7WTRo
+ozsY+n6gtk0aeZoRgaGpEljbyw3DvUDrnjhpxDyE7BwpHdY/OdQqhGTkiICA8HEp
+LYPRGoT6v1hJ6rf2Nzt/86rtNMcIHzbNYHWepNESK6n62+ZXOYSisRT/dfvJgEsz
+cX+UEeXGg8Zc5EevVJgnDeK1RZ68ZN9Nr3D58lN1Vb9hR9X5KPig8iSucwPNw78Q
+gciuCJ8LEFLY3bpeYdMikBCNI85Pt36r64sviwY+y+bglXYInHtezSKERlNA6JQ=
+=1ry7
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libsafe/libsafe-2.0_p16-r3.ebuild b/sys-libs/libsafe/libsafe-2.0_p16-r3.ebuild
new file mode 100644
index 000000000000..685bf2859245
--- /dev/null
+++ b/sys-libs/libsafe/libsafe-2.0_p16-r3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/libsafe-2.0_p16-r3.ebuild,v 1.1 2013/03/15 13:14:59 pinkbyte Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib readme.gentoo toolchain-funcs
+
+MY_P="${P/_p/-}"
+DESCRIPTION="Protection against buffer overflow vulnerabilities"
+HOMEPAGE="http://www.research.avayalabs.com/gcm/usa/en-us/initiatives/all/nsr.htm&Filter=ProjectTitle:Libsafe&Wrapper=LabsProjectDetails&View=LabsProjectDetails"
+SRC_URI="http://www.research.avayalabs.com/project/libsafe/src/${MY_P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="To use this you have to put the library
+as one of the variables in LD_PRELOAD.
+Example in bash:
+export LD_PRELOAD=libsafe.so.${PV%%.*}"
+
+src_prepare() {
+ filter-flags -fomit-frame-pointer
+
+ sed -i \
+ -e 's:gcc:$(CC):' \
+ -e "/^CCFLAGS/s:= -O2:= ${CFLAGS}:" \
+ -e "/^LDFLAGS/s:=:+=:" \
+ -e "s:\$(LIBPRELUDE_CFLAGS)::" \
+ -e "s:\$(LIBPRELUDE_LIBS)::" \
+ src/Makefile || die
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" libsafe
+}
+
+src_install() {
+ # libsafe stuff
+ into /
+ dolib.so src/libsafe.so.${PV/_p/.}
+ dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so
+ dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so.${PV%%.*}
+
+ # Documentation
+ doman doc/libsafe.8
+ dohtml doc/libsafe.8.html
+
+ dodoc README
+ readme.gentoo_create_doc
+ # use prelude && dodoc LIBPRELUDE
+ # use mta && dodoc EMAIL_NOTIFICATION
+}