diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-24 04:10:22 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-24 04:10:22 +0000 |
commit | ef8a2ab521e7d84544ab302ad466838a02ea970b (patch) | |
tree | 9105f416b465f1ccb623c73522e4705ac8399c6c /sys-libs/libsafe | |
parent | Bump virt-manager to 0.6.0 (diff) | |
download | historical-ef8a2ab521e7d84544ab302ad466838a02ea970b.tar.gz historical-ef8a2ab521e7d84544ab302ad466838a02ea970b.tar.bz2 historical-ef8a2ab521e7d84544ab302ad466838a02ea970b.zip |
Fixed CFLAGS issue, bug #242034. Removed prelude USE flag, bug #248428.
Package-Manager: portage-2.2_rc15/cvs/Linux 2.6.27-gentoo-r2 x86_64
Diffstat (limited to 'sys-libs/libsafe')
-rw-r--r-- | sys-libs/libsafe/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/libsafe/Manifest | 3 | ||||
-rw-r--r-- | sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild | 62 |
3 files changed, 71 insertions, 3 deletions
diff --git a/sys-libs/libsafe/ChangeLog b/sys-libs/libsafe/ChangeLog index d09dd8c07709..97e90aa5ab98 100644 --- a/sys-libs/libsafe/ChangeLog +++ b/sys-libs/libsafe/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libsafe -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.8 2007/05/14 06:20:09 bangert Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.9 2008/11/24 04:10:22 matsuu Exp $ + +*libsafe-2.0_p16-r2 (24 Nov 2008) + + 24 Nov 2008; MATSUU Takuto <matsuu@gentoo.org> +libsafe-2.0_p16-r2.ebuild: + Fixed CFLAGS issue, bug #242034. Removed prelude USE flag, bug #248428. 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/sys-libs/libsafe/Manifest b/sys-libs/libsafe/Manifest index 12fd130d4a16..d4f6da49c20b 100644 --- a/sys-libs/libsafe/Manifest +++ b/sys-libs/libsafe/Manifest @@ -1,4 +1,5 @@ DIST libsafe-2.0-16.tgz 360508 RMD160 ca604eaf45eeb83f776e59ebf42351b19a873443 SHA1 bb56aeb9b55be1be9a16da026c0f94211197771d SHA256 e0d78b636628d5ae8cdc05a94492bad7b182e643612f460cb449a81e7171c0b5 EBUILD libsafe-2.0_p16-r1.ebuild 1897 RMD160 9c68daea4b416358a3884fac7c43ebd2833c8d10 SHA1 0e47bb165527982befd8754678ca69a152d6a88d SHA256 73e8fae0afba65de92d15c7b9fc637a4841650473a359835c4a2b39514a294f7 -MISC ChangeLog 1146 RMD160 2e7f4ef3111631facdda555ea1492baa38843a2c SHA1 13b8db01262a54d2d5d18f3f72b96357432e3d2d SHA256 d6f5deab985783341ec15a4aec70a48178772383e4494e04fc09b7a38a742e9b +EBUILD libsafe-2.0_p16-r2.ebuild 1594 RMD160 937f9f52c7cd7b69567b09cbf6638b7d5d14c146 SHA1 975d7f839b12ca7b29dbf55aeeb30b60aa06e32c SHA256 6d8e6afbfbef9339a33374035b2fcaa52c6444a9d5384d2a5df470fa83df6992 +MISC ChangeLog 1332 RMD160 77e2d1d241a7fb16439370ee4a59b9b5b5440415 SHA1 8b31d888b7643f0a7cd2ef228da05437764c9c26 SHA256 bf2d5818a41ba62599d51c752c77a2cb067c17f99be45463a260ad34bb9912ae MISC metadata.xml 541 RMD160 3e9839eff6b579efa1cbfe719bea6c3a6f4789dc SHA1 4a179db95255cde047ffd45fed12e15a956beca7 SHA256 aa44ee6c7467a200cf842244c6c35b2734e77b373da712607d90f7ebb843553b diff --git a/sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild b/sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild new file mode 100644 index 000000000000..821ab9fdefe4 --- /dev/null +++ b/sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 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-r2.ebuild,v 1.1 2008/11/24 04:10:22 matsuu Exp $ + +inherit flag-o-matic toolchain-funcs multilib + +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="~x86 ~amd64" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + filter-flags -fomit-frame-pointer + + sed -i \ + -e "s:gcc:$(tc-getCC):" \ + -e "/^CCFLAGS/s:-O2:${CFLAGS}:" \ + -e "/^LDFLAGS/s:= := ${LDFALGS}:" \ + -e "s:\$(LIBPRELUDE_CFLAGS)::" \ + -e "s:\$(LIBPRELUDE_LIBS)::" \ + src/Makefile || die +} + +src_compile() { + emake libsafe || die +} + +src_install() { + # libsafe stuff + into / + dolib.so src/libsafe.so.${PV/_p/.} || die + # dodir /lib + dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so || die + dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so.${PV%%.*} || die + + # Documentation + doman doc/libsafe.8 + dohtml doc/libsafe.8.html + + dodoc README + # use prelude && dodoc LIBPRELUDE + # use mta && dodoc EMAIL_NOTIFICATION +} + +pkg_postinst() { + einfo + einfo "To use this you have to put the library as one of the variables" + einfo "in LD_PRELOAD." + einfo "Example in bash:" + einfo "export LD_PRELOAD=libsafe.so.${PV%%.*}" + einfo +} |