1 |
matsuu 08/11/24 04:10:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libsafe-2.0_p16-r2.ebuild |
5 |
Log: |
6 |
Fixed CFLAGS issue, bug #242034. Removed prelude USE flag, bug #248428. |
7 |
(Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r2 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 sys-libs/libsafe/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsafe/ChangeLog?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsafe/ChangeLog?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsafe/ChangeLog?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- ChangeLog 14 May 2007 06:20:09 -0000 1.8 |
23 |
+++ ChangeLog 24 Nov 2008 04:10:22 -0000 1.9 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-libs/libsafe |
26 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.8 2007/05/14 06:20:09 bangert Exp $ |
28 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.9 2008/11/24 04:10:22 matsuu Exp $ |
30 |
+ |
31 |
+*libsafe-2.0_p16-r2 (24 Nov 2008) |
32 |
+ |
33 |
+ 24 Nov 2008; MATSUU Takuto <matsuu@g.o> +libsafe-2.0_p16-r2.ebuild: |
34 |
+ Fixed CFLAGS issue, bug #242034. Removed prelude USE flag, bug #248428. |
35 |
|
36 |
14 May 2007; Thilo Bangert <bangert@g.o> metadata.xml: |
37 |
add <herd>no-herd</herd> |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsafe/libsafe-2.0_p16-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libsafe-2.0_p16-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $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 $ |
51 |
|
52 |
inherit flag-o-matic toolchain-funcs multilib |
53 |
|
54 |
MY_P="${P/_p/-}" |
55 |
DESCRIPTION="Protection against buffer overflow vulnerabilities" |
56 |
HOMEPAGE="http://www.research.avayalabs.com/gcm/usa/en-us/initiatives/all/nsr.htm&Filter=ProjectTitle:Libsafe&Wrapper=LabsProjectDetails&View=LabsProjectDetails" |
57 |
SRC_URI="http://www.research.avayalabs.com/project/libsafe/src/${MY_P}.tgz" |
58 |
|
59 |
LICENSE="LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="~x86 ~amd64" |
62 |
IUSE="" |
63 |
|
64 |
S="${WORKDIR}/${MY_P}" |
65 |
|
66 |
src_unpack() { |
67 |
unpack ${A} |
68 |
cd "${S}" |
69 |
|
70 |
filter-flags -fomit-frame-pointer |
71 |
|
72 |
sed -i \ |
73 |
-e "s:gcc:$(tc-getCC):" \ |
74 |
-e "/^CCFLAGS/s:-O2:${CFLAGS}:" \ |
75 |
-e "/^LDFLAGS/s:= := ${LDFALGS}:" \ |
76 |
-e "s:\$(LIBPRELUDE_CFLAGS)::" \ |
77 |
-e "s:\$(LIBPRELUDE_LIBS)::" \ |
78 |
src/Makefile || die |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
emake libsafe || die |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
# libsafe stuff |
87 |
into / |
88 |
dolib.so src/libsafe.so.${PV/_p/.} || die |
89 |
# dodir /lib |
90 |
dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so || die |
91 |
dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so.${PV%%.*} || die |
92 |
|
93 |
# Documentation |
94 |
doman doc/libsafe.8 |
95 |
dohtml doc/libsafe.8.html |
96 |
|
97 |
dodoc README |
98 |
# use prelude && dodoc LIBPRELUDE |
99 |
# use mta && dodoc EMAIL_NOTIFICATION |
100 |
} |
101 |
|
102 |
pkg_postinst() { |
103 |
einfo |
104 |
einfo "To use this you have to put the library as one of the variables" |
105 |
einfo "in LD_PRELOAD." |
106 |
einfo "Example in bash:" |
107 |
einfo "export LD_PRELOAD=libsafe.so.${PV%%.*}" |
108 |
einfo |
109 |
} |