Gentoo Archives: gentoo-commits

From: "Stefan Briesenick (sbriesen)" <sbriesen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/exiv2: ChangeLog exiv2-0.15-r1.ebuild exiv2-0.13-r1.ebuild
Date: Sun, 16 Dec 2007 01:20:24
Message-Id: E1J3iAw-00027p-Fz@stork.gentoo.org
1 sbriesen 07/12/16 01:20:14
2
3 Modified: ChangeLog
4 Added: exiv2-0.15-r1.ebuild exiv2-0.13-r1.ebuild
5 Log:
6 added patch against integer overflow (see bug #202351).
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.31 media-gfx/exiv2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 16 Dec 2007 01:04:50 -0000 1.30
23 +++ ChangeLog 16 Dec 2007 01:20:13 -0000 1.31
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-gfx/exiv2
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.30 2007/12/16 01:04:50 sbriesen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.31 2007/12/16 01:20:13 sbriesen Exp $
29 +
30 +*exiv2-0.15-r1 (16 Dec 2007)
31 +*exiv2-0.13-r1 (16 Dec 2007)
32 +
33 + 16 Dec 2007; Stefan Briesenick <sbriesen@g.o>
34 + +files/CVE-2007-6353.diff, +exiv2-0.13-r1.ebuild, +exiv2-0.15-r1.ebuild:
35 + added patch against integer overflow (see bug #202351).
36
37 16 Dec 2007; Stefan Briesenick <sbriesen@g.o> -exiv2-0.14.ebuild:
38 removed old version
39
40
41
42 1.1 media-gfx/exiv2/exiv2-0.15-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.15-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.15-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: exiv2-0.15-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.15-r1.ebuild,v 1.1 2007/12/16 01:20:13 sbriesen Exp $
52
53 inherit eutils
54
55 DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility"
56 HOMEPAGE="http://www.exiv2.org/"
57 SRC_URI="http://www.exiv2.org/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
62
63 IUSE="doc nls zlib unicode"
64 IUSE_LINGUAS="de es fi fr pl ru"
65
66 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
67
68 RDEPEND="zlib? ( sys-libs/zlib )
69 nls? ( virtual/libintl )
70 virtual/libiconv"
71
72 DEPEND="${RDEPEND}
73 doc? ( app-doc/doxygen )
74 nls? ( sys-devel/gettext )"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79
80 # see bug #202351
81 epatch "${FILESDIR}/CVE-2007-6353.diff"
82
83 if use unicode; then
84 for i in doc/cmd.txt; do
85 echo ">>> Converting "${i}" to UTF-8"
86 iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~"
87 done
88 fi
89
90 if use doc; then
91 echo ">>> Updating doxygen config"
92 doxygen &>/dev/null -u config/Doxyfile
93 fi
94 }
95
96 src_compile() {
97 local myconf="$(use_enable nls)"
98 use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails
99 econf ${myconf} || die "econf failed"
100 emake || die "emake failed"
101 if use doc; then
102 emake doc || die "emake doc failed"
103 fi
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install || die "emake install failed"
108 dodoc README doc/{ChangeLog,cmd.txt}
109 use doc && dohtml -r doc/html/.
110 }
111
112 pkg_postinst() {
113 ewarn
114 ewarn "PLEASE PLEASE take note of this:"
115 ewarn "Please make *sure* to run revdep-rebuild now"
116 ewarn "Certain things on your system may have linked against a"
117 ewarn "different version of exiv2 -- those things need to be"
118 ewarn "recompiled. Sorry for the inconvenience!"
119 ewarn
120 }
121
122
123
124 1.1 media-gfx/exiv2/exiv2-0.13-r1.ebuild
125
126 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.13-r1.ebuild?rev=1.1&view=markup
127 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.13-r1.ebuild?rev=1.1&content-type=text/plain
128
129 Index: exiv2-0.13-r1.ebuild
130 ===================================================================
131 # Copyright 1999-2007 Gentoo Foundation
132 # Distributed under the terms of the GNU General Public License v2
133 # $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.13-r1.ebuild,v 1.1 2007/12/16 01:20:13 sbriesen Exp $
134
135 inherit eutils
136
137 DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility"
138 HOMEPAGE="http://www.exiv2.org/"
139 SRC_URI="http://www.exiv2.org/${P}.tar.gz"
140
141 LICENSE="GPL-2"
142 SLOT="0"
143 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
144
145 IUSE="doc nls zlib unicode"
146 IUSE_LINGUAS="de es fi fr pl ru"
147
148 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
149
150 RDEPEND="zlib? ( sys-libs/zlib )
151 nls? ( virtual/libintl )
152 virtual/libiconv"
153
154 DEPEND="${RDEPEND}
155 nls? ( sys-devel/gettext )"
156
157 src_unpack() {
158 unpack ${A}
159 cd "${S}"
160
161 # see bug #202351
162 epatch "${FILESDIR}/CVE-2007-6353.diff"
163
164 if use unicode; then
165 einfo "Converting docs to UTF-8"
166 for i in doc/cmd.txt; do
167 iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~"
168 done
169 fi
170 }
171
172 src_compile() {
173 local myconf="$(use_enable nls)"
174 use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails
175 econf ${myconf} || die "econf failed"
176 emake || die "emake failed"
177 }
178
179 src_install() {
180 make DESTDIR="${D}" install || die "make install failed"
181 dodoc README doc/{ChangeLog,cmd.txt}
182 use doc && dohtml doc/html/*
183 }
184
185 pkg_postinst() {
186 ewarn
187 ewarn "PLEASE PLEASE take note of this:"
188 ewarn "Please make *sure* to run revdep-rebuild now"
189 ewarn "Certain things on your system may have linked against a"
190 ewarn "different version of exiv2 -- those things need to be"
191 ewarn "recompiled. Sorry for the inconvenience!"
192 ewarn
193 }
194
195
196
197 --
198 gentoo-commits@g.o mailing list