Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libxml2: ChangeLog libxml2-2.7.2-r1.ebuild libxml2-2.7.2-r2.ebuild libxml2-2.6.31.ebuild libxml2-2.7.2.ebuild libxml2-2.7.1.ebuild libxml2-2.6.32-r1.ebuild libxml2-2.6.32.ebuild libxml2-2.6.30-r1.ebuild
Date: Mon, 26 Jan 2009 00:34:47
Message-Id: E1LRFR7-0001nQ-Ji@stork.gentoo.org
1 eva 09/01/26 00:34:45
2
3 Modified: ChangeLog libxml2-2.7.2-r1.ebuild
4 libxml2-2.7.2-r2.ebuild
5 Removed: libxml2-2.6.31.ebuild libxml2-2.7.2.ebuild
6 libxml2-2.7.1.ebuild libxml2-2.6.32-r1.ebuild
7 libxml2-2.6.32.ebuild libxml2-2.6.30-r1.ebuild
8 Log:
9 Clean up old security flawed revisions. Make sure python bindings are optimized, bug #251550.
10 (Portage version: 2.2_rc22/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
11
12 Revision Changes Path
13 1.251 dev-libs/libxml2/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?rev=1.251&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?rev=1.251&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?r1=1.250&r2=1.251
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v
22 retrieving revision 1.250
23 retrieving revision 1.251
24 diff -u -r1.250 -r1.251
25 --- ChangeLog 25 Jan 2009 15:18:36 -0000 1.250
26 +++ ChangeLog 26 Jan 2009 00:34:45 -0000 1.251
27 @@ -1,6 +1,15 @@
28 # ChangeLog for dev-libs/libxml2
29 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.250 2009/01/25 15:18:36 maekke Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.251 2009/01/26 00:34:45 eva Exp $
32 +
33 + 26 Jan 2009; Gilles Dartiguelongue <eva@g.o>
34 + -files/libxml2-2.6.30-CVE-2007-6284.patch,
35 + -files/libxml2-2.6.32-CVE-2008-422x.patch, -libxml2-2.6.30-r1.ebuild,
36 + -libxml2-2.6.31.ebuild, -libxml2-2.6.32.ebuild, -libxml2-2.6.32-r1.ebuild,
37 + -libxml2-2.7.1.ebuild, -libxml2-2.7.2.ebuild, libxml2-2.7.2-r1.ebuild,
38 + libxml2-2.7.2-r2.ebuild:
39 + Clean up old security flawed revisions. Make sure python bindings are
40 + optimized, bug #251550.
41
42 25 Jan 2009; Markus Meier <maekke@g.o> libxml2-2.7.2-r2.ebuild:
43 x86 stable, bug #249703
44
45
46
47 1.10 dev-libs/libxml2/libxml2-2.7.2-r1.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild?rev=1.10&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild?rev=1.10&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild?r1=1.9&r2=1.10
52
53 Index: libxml2-2.7.2-r1.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild,v
56 retrieving revision 1.9
57 retrieving revision 1.10
58 diff -u -r1.9 -r1.10
59 --- libxml2-2.7.2-r1.ebuild 7 Dec 2008 12:03:34 -0000 1.9
60 +++ libxml2-2.7.2-r1.ebuild 26 Jan 2009 00:34:45 -0000 1.10
61 @@ -1,8 +1,8 @@
62 -# Copyright 1999-2008 Gentoo Foundation
63 +# Copyright 1999-2009 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild,v 1.9 2008/12/07 12:03:34 vapier Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r1.ebuild,v 1.10 2009/01/26 00:34:45 eva Exp $
67
68 -inherit libtool flag-o-matic eutils
69 +inherit libtool flag-o-matic eutils python
70
71 DESCRIPTION="Version 2 of the library to manipulate XML files"
72 HOMEPAGE="http://www.xmlsoft.org/"
73 @@ -103,6 +103,11 @@
74 }
75
76 pkg_postinst() {
77 + if use python; then
78 + python_version
79 + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
80 + fi
81 +
82 # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
83 # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
84 if [[ "${ROOT}" != "/" ]]
85 @@ -122,3 +127,7 @@
86 fi
87 fi
88 }
89 +
90 +pkg_postrm() {
91 + use python && python_mod_cleanup
92 +}
93
94
95
96 1.7 dev-libs/libxml2/libxml2-2.7.2-r2.ebuild
97
98 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild?rev=1.7&view=markup
99 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild?rev=1.7&content-type=text/plain
100 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild?r1=1.6&r2=1.7
101
102 Index: libxml2-2.7.2-r2.ebuild
103 ===================================================================
104 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild,v
105 retrieving revision 1.6
106 retrieving revision 1.7
107 diff -u -r1.6 -r1.7
108 --- libxml2-2.7.2-r2.ebuild 25 Jan 2009 15:18:36 -0000 1.6
109 +++ libxml2-2.7.2-r2.ebuild 26 Jan 2009 00:34:45 -0000 1.7
110 @@ -1,8 +1,8 @@
111 # Copyright 1999-2009 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild,v 1.6 2009/01/25 15:18:36 maekke Exp $
114 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.2-r2.ebuild,v 1.7 2009/01/26 00:34:45 eva Exp $
115
116 -inherit libtool flag-o-matic eutils
117 +inherit libtool flag-o-matic eutils python
118
119 DESCRIPTION="Version 2 of the library to manipulate XML files"
120 HOMEPAGE="http://www.xmlsoft.org/"
121 @@ -110,6 +110,11 @@
122 }
123
124 pkg_postinst() {
125 + if use python; then
126 + python_version
127 + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
128 + fi
129 +
130 # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
131 # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
132 if [[ "${ROOT}" != "/" ]]
133 @@ -129,3 +134,7 @@
134 fi
135 fi
136 }
137 +
138 +pkg_postrm() {
139 + use python && python_mod_cleanup
140 +}