1 |
hoffie 08/02/02 21:54:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icu-3.8.1-r1.ebuild |
5 |
Log: |
6 |
adding patch for CVE-2007-{4770,4771} per bug #208001, thanks to jakub |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.68 dev-libs/icu/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.68&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.68&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.67&r2=1.68 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v |
19 |
retrieving revision 1.67 |
20 |
retrieving revision 1.68 |
21 |
diff -u -r1.67 -r1.68 |
22 |
--- ChangeLog 4 Jan 2008 13:34:10 -0000 1.67 |
23 |
+++ ChangeLog 2 Feb 2008 21:54:58 -0000 1.68 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-libs/icu |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.67 2008/01/04 13:34:10 jokey Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.68 2008/02/02 21:54:58 hoffie Exp $ |
29 |
+ |
30 |
+*icu-3.8.1-r1 (02 Feb 2008) |
31 |
+ |
32 |
+ 02 Feb 2008; Christian Hoffmann <hoffie@g.o> |
33 |
+ +files/icu-3.8-regexp-CVE-2007-4770+4771.diff, +icu-3.8.1-r1.ebuild: |
34 |
+ adding patch for CVE-2007-{4770,4771} per bug #208001, thanks to jakub |
35 |
|
36 |
*icu-3.8.1 (04 Jan 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/icu/icu-3.8.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/icu/icu-3.8.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/icu/icu-3.8.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: icu-3.8.1-r1.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/dev-libs/icu/icu-3.8.1-r1.ebuild,v 1.1 2008/02/02 21:54:58 hoffie Exp $ |
51 |
|
52 |
inherit eutils versionator |
53 |
|
54 |
DESCRIPTION="International Components for Unicode" |
55 |
HOMEPAGE="http://www.icu-project.org/ http://ibm.com/software/globalization/icu/" |
56 |
|
57 |
BASEURI="http://download.icu-project.org/files/${PN}4c/${PV}" |
58 |
DOCS_PV="$(get_version_component_range 1-2)" |
59 |
DOCS_BASEURI="http://download.icu-project.org/files/${PN}4c/${DOCS_PV}" |
60 |
DOCS_PV="${DOCS_PV/./_}" |
61 |
SRCPKG="${PN}4c-${PV//./_}-src.tgz" |
62 |
USERGUIDE="${PN}-${DOCS_PV}-userguide.zip" |
63 |
APIDOCS="${PN}4c-${DOCS_PV}-docs.zip" |
64 |
|
65 |
SRC_URI="${BASEURI}/${SRCPKG} |
66 |
doc? ( ${DOCS_BASEURI}/${USERGUIDE} |
67 |
${DOCS_BASEURI}/${APIDOCS} )" |
68 |
|
69 |
LICENSE="BSD" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
72 |
IUSE="debug doc examples" |
73 |
|
74 |
DEPEND="doc? ( app-arch/unzip )" |
75 |
RDEPEND="" |
76 |
|
77 |
S=${WORKDIR}/${PN}/source |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${SRCPKG} |
81 |
if use doc ; then |
82 |
mkdir userguide |
83 |
pushd ./userguide > /dev/null |
84 |
unpack ${USERGUIDE} |
85 |
popd |
86 |
|
87 |
mkdir apidocs |
88 |
pushd ./apidocs > /dev/null |
89 |
unpack ${APIDOCS} |
90 |
popd |
91 |
fi |
92 |
|
93 |
# See http://qa.openoffice.org/issues/show_bug.cgi?id=83146 |
94 |
# and http://bugs.icu-project.org/trac/ticket/5498 for details |
95 |
cd "${S}" |
96 |
epatch "${FILESDIR}"/${PN}-3.8-setBreakType-public.diff |
97 |
|
98 |
# Bug 208001 |
99 |
epatch "${FILESDIR}"/${PN}-3.8-regexp-CVE-2007-4770+4771.diff |
100 |
|
101 |
# do not hardcode used CFLAGS, LDFLAGS etc. into icu-config |
102 |
# Bug 202059 |
103 |
# http://bugs.icu-project.org/trac/ticket/6102 |
104 |
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do |
105 |
sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in || die "sed failed" |
106 |
done |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
econf \ |
111 |
--enable-static \ |
112 |
$(use_enable debug) \ |
113 |
$(use_enable examples samples) |
114 |
|
115 |
emake -j1 || die "emake failed" |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake DESTDIR="${D}" install || die "emake install failed" |
120 |
|
121 |
dohtml ../readme.html |
122 |
dodoc ../unicode-license.txt |
123 |
if use doc ; then |
124 |
insinto /usr/share/doc/${PF}/html/userguide |
125 |
doins -r "${WORKDIR}"/userguide/* |
126 |
|
127 |
insinto /usr/share/doc/${PF}/html/apidocs |
128 |
doins -r "${WORKDIR}"/apidocs/* |
129 |
fi |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
gentoo-commits@l.g.o mailing list |