ABF is currently being migrated to new servers. Pull requests should be working.
avatar
Rosa has added 52bdd3132e
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libxml2-2.7.8.tar.gz": 859dd535edbb851cc15b64740ee06551a7a17d40
view file @ 52bdd3132e
... ... --- /dev/null
... ... +++ b/libxml2-2.7.8-CVE-2010-4494.diff
... ... @@ -0,0 +1,27 @@
1
2
http://git.gnome.org/browse/libxml2/commit/?id=df83c17e5a2646bd923f75e5e507bc80d73c9722
3
http://git.gnome.org/browse/libxml2/commit/?id=fec31bcd452e77c10579467ca87a785b41115de6
4
5
--- xpath.c	2010-11-03 20:18:27.000000000 +0100
6
+++ xpath.c.oden	2010-12-29 17:48:20.978868869 +0100
7
@@ -11763,11 +11763,16 @@ xmlXPathCompOpEvalPositionalPredicate(xm
8
 
9
 	    if ((ctxt->error != XPATH_EXPRESSION_OK) || (res == -1)) {
10
 	        xmlXPathObjectPtr tmp;
11
-		/* pop the result */
12
+		/* pop the result if any */
13
 		tmp = valuePop(ctxt);
14
-		xmlXPathReleaseObject(xpctxt, tmp);
15
-		/* then pop off contextObj, which will be freed later */
16
-		valuePop(ctxt);
17
+                if (tmp != contextObj) {
18
+                    /*
19
+                     * Free up the result
20
+                     * then pop off contextObj, which will be freed later
21
+                     */
22
+                    xmlXPathReleaseObject(xpctxt, tmp);
23
+                    valuePop(ctxt);
24
+                }
25
 		goto evaluation_error;
26
 	    }
27
 
view file @ 52bdd3132e
... ... --- /dev/null
... ... +++ b/libxml2-2.7.8-CVE-2011-1944.diff
... ... @@ -0,0 +1,89 @@
1
2
http://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4
3
4
--- xpath.c	2011-10-09 13:11:58.000000000 +0000
5
+++ xpath.c.oden	2011-10-09 13:11:33.000000000 +0000
6
@@ -3522,13 +3522,13 @@ xmlXPathNodeSetAddNs(xmlNodeSetPtr cur,
7
     } else if (cur->nodeNr == cur->nodeMax) {
8
         xmlNodePtr *temp;
9
 
10
-        cur->nodeMax *= 2;
11
-	temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax *
12
+	temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 *
13
 				      sizeof(xmlNodePtr));
14
 	if (temp == NULL) {
15
 	    xmlXPathErrMemory(NULL, "growing nodeset\n");
16
 	    return;
17
 	}
18
+        cur->nodeMax *= 2;
19
 	cur->nodeTab = temp;
20
     }
21
     cur->nodeTab[cur->nodeNr++] = xmlXPathNodeSetDupNs(node, ns);
22
@@ -3627,14 +3627,14 @@ xmlXPathNodeSetAddUnique(xmlNodeSetPtr c
23
     } else if (cur->nodeNr == cur->nodeMax) {
24
         xmlNodePtr *temp;
25
 
26
-        cur->nodeMax *= 2;
27
-	temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax *
28
+	temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 *
29
 				      sizeof(xmlNodePtr));
30
 	if (temp == NULL) {
31
 	    xmlXPathErrMemory(NULL, "growing nodeset\n");
32
 	    return;
33
 	}
34
 	cur->nodeTab = temp;
35
+        cur->nodeMax *= 2;
36
     }
37
     if (val->type == XML_NAMESPACE_DECL) {
38
 	xmlNsPtr ns = (xmlNsPtr) val;
39
@@ -3738,14 +3738,14 @@ xmlXPathNodeSetMerge(xmlNodeSetPtr val1,
40
 	} else if (val1->nodeNr == val1->nodeMax) {
41
 	    xmlNodePtr *temp;
42
 
43
-	    val1->nodeMax *= 2;
44
-	    temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax *
45
+	    temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * 2 *
46
 					     sizeof(xmlNodePtr));
47
 	    if (temp == NULL) {
48
 	        xmlXPathErrMemory(NULL, "merging nodeset\n");
49
 		return(NULL);
50
 	    }
51
 	    val1->nodeTab = temp;
52
+	    val1->nodeMax *= 2;
53
 	}
54
 	if (n2->type == XML_NAMESPACE_DECL) {
55
 	    xmlNsPtr ns = (xmlNsPtr) n2;
56
@@ -3907,14 +3907,14 @@ xmlXPathNodeSetMergeAndClear(xmlNodeSetP
57
 	    } else if (set1->nodeNr >= set1->nodeMax) {
58
 		xmlNodePtr *temp;
59
 
60
-		set1->nodeMax *= 2;
61
 		temp = (xmlNodePtr *) xmlRealloc(
62
-		    set1->nodeTab, set1->nodeMax * sizeof(xmlNodePtr));
63
+		    set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr));
64
 		if (temp == NULL) {
65
 		    xmlXPathErrMemory(NULL, "merging nodeset\n");
66
 		    return(NULL);
67
 		}
68
 		set1->nodeTab = temp;
69
+		set1->nodeMax *= 2;
70
 	    }
71
 	    if (n2->type == XML_NAMESPACE_DECL) {
72
 		xmlNsPtr ns = (xmlNsPtr) n2;
73
@@ -3991,14 +3991,14 @@ xmlXPathNodeSetMergeAndClearNoDupls(xmlN
74
 	    } else if (set1->nodeNr >= set1->nodeMax) {
75
 		xmlNodePtr *temp;
76
 
77
-		set1->nodeMax *= 2;
78
 		temp = (xmlNodePtr *) xmlRealloc(
79
-		    set1->nodeTab, set1->nodeMax * sizeof(xmlNodePtr));
80
+		    set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr));
81
 		if (temp == NULL) {
82
 		    xmlXPathErrMemory(NULL, "merging nodeset\n");
83
 		    return(NULL);
84
 		}
85
 		set1->nodeTab = temp;
86
+		set1->nodeMax *= 2;
87
 	    }
88
 	    set1->nodeTab[set1->nodeNr++] = n2;
89
 	}
view file @ 52bdd3132e
... ... --- /dev/null
... ... +++ b/libxml2-2.7.8-CVE-2011-2821,2834.diff
... ... @@ -0,0 +1,213 @@
1
2
http://git.gnome.org/browse/libxml2/commit/?id=f5048b3e71fc30ad096970b8df6e7af073bae4cb
3
4
diff -Naurp libxml2-2.7.8/include/libxml/xpath.h libxml2-2.7.8.oden/include/libxml/xpath.h
5
--- libxml2-2.7.8/include/libxml/xpath.h	2010-10-12 06:25:32.000000000 +0000
6
+++ libxml2-2.7.8.oden/include/libxml/xpath.h	2011-10-09 13:01:09.000000000 +0000
7
@@ -68,7 +68,8 @@ typedef enum {
8
     XPATH_UNDEF_PREFIX_ERROR,
9
     XPATH_ENCODING_ERROR,
10
     XPATH_INVALID_CHAR_ERROR,
11
-    XPATH_INVALID_CTXT
12
+    XPATH_INVALID_CTXT,
13
+    XPATH_STACK_ERROR
14
 } xmlXPathError;
15
 
16
 /*
17
@@ -380,6 +381,8 @@ struct _xmlXPathParserContext {
18
     xmlXPathCompExprPtr comp;		/* the precompiled expression */
19
     int xptr;				/* it this an XPointer expression */
20
     xmlNodePtr         ancestor;	/* used for walking preceding axis */
21
+
22
+    int              valueFrame;        /* used to limit Pop on the stack */
23
 };
24
 
25
 /************************************************************************
26
diff -Naurp libxml2-2.7.8/xpath.c libxml2-2.7.8.oden/xpath.c
27
--- libxml2-2.7.8/xpath.c	2011-10-09 13:01:47.000000000 +0000
28
+++ libxml2-2.7.8.oden/xpath.c	2011-10-09 13:01:09.000000000 +0000
29
@@ -252,6 +252,7 @@ static const char *xmlXPathErrorMessages
30
     "Encoding error\n",
31
     "Char out of XML range\n",
32
     "Invalid or incomplete context\n",
33
+    "Stack usage errror\n",
34
     "?? Unknown error ??\n"	/* Must be last in the list! */
35
 };
36
 #define MAXERRNO ((int)(sizeof(xmlXPathErrorMessages) /	\
37
@@ -2398,6 +2399,42 @@ xmlXPathCacheConvertNumber(xmlXPathConte
38
  ************************************************************************/
39
 
40
 /**
41
+ * xmlXPathSetFrame:
42
+ * @ctxt: an XPath parser context
43
+ *
44
+ * Set the callee evaluation frame
45
+ *
46
+ * Returns the previous frame value to be restored once done
47
+ */
48
+static int
49
+xmlXPathSetFrame(xmlXPathParserContextPtr ctxt) {
50
+    int ret;
51
+
52
+    if (ctxt == NULL)
53
+        return(0);
54
+    ret = ctxt->valueFrame;
55
+    ctxt->valueFrame = ctxt->valueNr;
56
+    return(ret);
57
+}
58
+
59
+/**
60
+ * xmlXPathPopFrame:
61
+ * @ctxt: an XPath parser context
62
+ * @frame: the previous frame value
63
+ *
64
+ * Remove the callee evaluation frame
65
+ */
66
+static void
67
+xmlXPathPopFrame(xmlXPathParserContextPtr ctxt, int frame) {
68
+    if (ctxt == NULL)
69
+        return;
70
+    if (ctxt->valueNr < ctxt->valueFrame) {
71
+        xmlXPatherror(ctxt, __FILE__, __LINE__, XPATH_STACK_ERROR);
72
+    }
73
+    ctxt->valueFrame = frame;
74
+}
75
+
76
+/**
77
  * valuePop:
78
  * @ctxt: an XPath evaluation context
79
  *
80
@@ -2412,6 +2449,12 @@ valuePop(xmlXPathParserContextPtr ctxt)
81
 
82
     if ((ctxt == NULL) || (ctxt->valueNr <= 0))
83
         return (NULL);
84
+
85
+    if (ctxt->valueNr <= ctxt->valueFrame) {
86
+        xmlXPatherror(ctxt, __FILE__, __LINE__, XPATH_STACK_ERROR);
87
+        return (NULL);
88
+    }
89
+
90
     ctxt->valueNr--;
91
     if (ctxt->valueNr > 0)
92
         ctxt->value = ctxt->valueTab[ctxt->valueNr - 1];
93
@@ -6154,6 +6197,7 @@ xmlXPathCompParserContext(xmlXPathCompEx
94
     ret->valueNr = 0;
95
     ret->valueMax = 10;
96
     ret->value = NULL;
97
+    ret->valueFrame = 0;
98
 
99
     ret->context = ctxt;
100
     ret->comp = comp;
101
@@ -11712,6 +11756,7 @@ xmlXPathCompOpEvalPositionalPredicate(xm
102
 	xmlXPathObjectPtr contextObj = NULL, exprRes = NULL;
103
 	xmlNodePtr oldContextNode, contextNode = NULL;
104
 	xmlXPathContextPtr xpctxt = ctxt->context;
105
+        int frame;
106
 
107
 #ifdef LIBXML_XPTR_ENABLED
108
 	    /*
109
@@ -11731,6 +11776,8 @@ xmlXPathCompOpEvalPositionalPredicate(xm
110
 	*/
111
 	exprOp = &ctxt->comp->steps[op->ch2];
112
 	for (i = 0; i < set->nodeNr; i++) {
113
+            xmlXPathObjectPtr tmp;
114
+
115
 	    if (set->nodeTab[i] == NULL)
116
 		continue;
117
 
118
@@ -11758,23 +11805,25 @@ xmlXPathCompOpEvalPositionalPredicate(xm
119
 		xmlXPathNodeSetAddUnique(contextObj->nodesetval,
120
 		    contextNode);
121
 
122
+            frame = xmlXPathSetFrame(ctxt);
123
 	    valuePush(ctxt, contextObj);
124
 	    res = xmlXPathCompOpEvalToBoolean(ctxt, exprOp, 1);
125
+            tmp = valuePop(ctxt);
126
+            xmlXPathPopFrame(ctxt, frame);
127
 
128
 	    if ((ctxt->error != XPATH_EXPRESSION_OK) || (res == -1)) {
129
-	        xmlXPathObjectPtr tmp;
130
-		/* pop the result if any */
131
-		tmp = valuePop(ctxt);
132
-                if (tmp != contextObj) {
133
+                while (tmp != contextObj) {
134
                     /*
135
                      * Free up the result
136
                      * then pop off contextObj, which will be freed later
137
                      */
138
                     xmlXPathReleaseObject(xpctxt, tmp);
139
-                    valuePop(ctxt);
140
+                    tmp = valuePop(ctxt);
141
                 }
142
 		goto evaluation_error;
143
 	    }
144
+            /* push the result back onto the stack */
145
+            valuePush(ctxt, tmp);
146
 
147
 	    if (res)
148
 		pos++;
149
@@ -13378,7 +13427,9 @@ xmlXPathCompOpEval(xmlXPathParserContext
150
                 xmlXPathFunction func;
151
                 const xmlChar *oldFunc, *oldFuncURI;
152
 		int i;
153
+                int frame;
154
 
155
+                frame = xmlXPathSetFrame(ctxt);
156
                 if (op->ch1 != -1)
157
                     total +=
158
                         xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
159
@@ -13386,15 +13437,18 @@ xmlXPathCompOpEval(xmlXPathParserContext
160
 		    xmlGenericError(xmlGenericErrorContext,
161
 			    "xmlXPathCompOpEval: parameter error\n");
162
 		    ctxt->error = XPATH_INVALID_OPERAND;
163
+                    xmlXPathPopFrame(ctxt, frame);
164
 		    return (total);
165
 		}
166
-		for (i = 0; i < op->value; i++)
167
+		for (i = 0; i < op->value; i++) {
168
 		    if (ctxt->valueTab[(ctxt->valueNr - 1) - i] == NULL) {
169
 			xmlGenericError(xmlGenericErrorContext,
170
 				"xmlXPathCompOpEval: parameter error\n");
171
 			ctxt->error = XPATH_INVALID_OPERAND;
172
+                        xmlXPathPopFrame(ctxt, frame);
173
 			return (total);
174
 		    }
175
+                }
176
                 if (op->cache != NULL)
177
                     XML_CAST_FPTR(func) = op->cache;
178
                 else {
179
@@ -13410,6 +13464,7 @@ xmlXPathCompOpEval(xmlXPathParserContext
180
                             xmlGenericError(xmlGenericErrorContext,
181
             "xmlXPathCompOpEval: function %s bound to undefined prefix %s\n",
182
                                     (char *)op->value4, (char *)op->value5);
183
+                            xmlXPathPopFrame(ctxt, frame);
184
                             return (total);
185
                         }
186
                         func = xmlXPathFunctionLookupNS(ctxt->context,
187
@@ -13431,6 +13486,7 @@ xmlXPathCompOpEval(xmlXPathParserContext
188
                 func(ctxt, op->value);
189
                 ctxt->context->function = oldFunc;
190
                 ctxt->context->functionURI = oldFuncURI;
191
+                xmlXPathPopFrame(ctxt, frame);
192
                 return (total);
193
             }
194
         case XPATH_OP_ARG:
195
@@ -14334,6 +14390,7 @@ xmlXPathRunEval(xmlXPathParserContextPtr
196
 	ctxt->valueNr = 0;
197
 	ctxt->valueMax = 10;
198
 	ctxt->value = NULL;
199
+        ctxt->valueFrame = 0;
200
     }
201
 #ifdef XPATH_STREAMING
202
     if (ctxt->comp->stream) {
203
diff -Naurp libxml2-2.7.8/xpointer.c libxml2-2.7.8.oden/xpointer.c
204
--- libxml2-2.7.8/xpointer.c	2010-10-12 06:25:33.000000000 +0000
205
+++ libxml2-2.7.8.oden/xpointer.c	2011-10-09 13:01:09.000000000 +0000
206
@@ -1269,6 +1269,7 @@ xmlXPtrEvalXPointer(xmlXPathParserContex
207
 	ctxt->valueNr = 0;
208
 	ctxt->valueMax = 10;
209
 	ctxt->value = NULL;
210
+	ctxt->valueFrame = 0;
211
     }
212
     SKIP_BLANKS;
213
     if (CUR == '/') {
view file @ 52bdd3132e
... ... --- /dev/null
... ... +++ b/libxml2-2.7.8-reenable-version-script.patch
... ... @@ -0,0 +1,21 @@
1
From 00819877651b87842ed878898ba17dba489820f0 Mon Sep 17 00:00:00 2001
2
From: Daniel Veillard <veillard@redhat.com>
3
Date: Thu, 04 Nov 2010 20:53:14 +0000
4
Subject: Reactivate the shared library versionning script
5
6
---
7
diff --git a/configure.in b/configure.in
8
index 59d0629..a1d2c89 100644
9
--- a/configure.in
10
+++ b/configure.in
11
@@ -84,7 +84,7 @@ else
12
   esac
13
 fi
14
 AC_SUBST(VERSION_SCRIPT_FLAGS)
15
-AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -z "$VERSION_SCRIPT_FLAGS"])
16
+AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
17
 
18
 dnl
19
 dnl We process the AC_ARG_WITH first so that later we can modify
20
--
21
cgit v0.8.3.1
... ... --- /dev/null
... ... +++ b/libxml2.spec
... ... @@ -0,0 +1,444 @@
1
%define major		2
2
%define libname		%mklibname xml2_ %{major}
3
%define develname	%mklibname xml2 -d
4
5
Summary:	Library providing XML and HTML support
6
Name:		libxml2
7
Version:	2.7.8
8
%define subrel 2
9
Release:	%mkrel 6
10
License:	MIT
11
Group: 		System/Libraries
12
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
13
URL:		http://www.xmlsoft.org/
14
Source0:	ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
15
Patch0:		libxml2-2.7.8-reenable-version-script.patch
16
Patch1:		libxml2-2.7.8-CVE-2010-4494.diff
17
Patch2:		libxml2-2.7.8-CVE-2011-1944.diff
18
Patch3:		libxml2-2.7.8-CVE-2011-2821,2834.diff
19
BuildRequires:	gtk-doc
20
BuildRequires:	python-devel
21
BuildRequires:	readline-devel
22
BuildRequires:	zlib-devel
23
24
%description
25
This library allows you to manipulate XML files. It includes support 
26
for reading, modifying and writing XML and HTML files. There is DTDs 
27
support: this includes parsing and validation even with complex DtDs, 
28
either at parse time or later once the document has been modified. The
29
output can be a simple SAX stream or and in-memory DOM-like 
30
representations. In this case one can use the built-in XPath and 
31
XPointer implementation to select subnodes or ranges. A flexible 
32
Input/Output mechanism is available, with existing HTTP and FTP modules
33
and combined to a URI library.
34
35
%package -n %{libname}
36
Summary:	Shared libraries providing XML and HTML support
37
Group: 		System/Libraries
38
Obsoletes:	%{mklibname xml 2}
39
Provides:	%{name} = %{version}-%{release}
40
41
%description -n %{libname}
42
This library allows you to manipulate XML files. It includes support 
43
for reading, modifying and writing XML and HTML files. There is DTDs 
44
support: this includes parsing and validation even with complex DtDs, 
45
either at parse time or later once the document has been modified.
46
47
%package utils
48
Summary: Utilities to manipulate XML files
49
Group: System/Libraries
50
Requires: %{libname} >= %{version}-%{release}
51
52
%description utils
53
This packages contains utils to manipulate XML files.
54
55
%package python
56
Summary: Python bindings for the libxml2 library
57
Group: Development/Python
58
Requires: %{libname} >= %{version}-%{release}
59
Requires: python >= %{pyver}
60
Provides: python-%{name} = %{version}-%{release}
61
%if "%{_lib}" != "lib"
62
Obsoletes: %{_lib}xml2-python < 2.6.29-4
63
%endif
64
65
%description python
66
The libxml2-python package contains a module that permits applications
67
written in the Python programming language to use the interface
68
supplied by the libxml2 library to manipulate XML files.
69
70
This library allows you to manipulate XML files. It includes support 
71
for reading, modifying and writing XML and HTML files. There is DTDs 
72
support: this includes parsing and validation even with complex DtDs, 
73
either at parse time or later once the document has been modified.
74
75
%package -n %{develname}
76
Summary: Libraries, includes, etc. to develop XML and HTML applications
77
Group: Development/C
78
Requires: %{libname} = %{version}-%{release}
79
Requires: zlib-devel
80
Provides: %{name}-devel = %{version}-%{release}
81
82
%description -n %{develname}
83
Libraries, include files, etc you can use to develop XML applications.
84
This library allows you to manipulate XML files. It includes support 
85
for reading, modifying and writing XML and HTML files. There is DTDs 
86
support: this includes parsing and validation even with complex DtDs, 
87
either at parse time or later once the document has been modified. 
88
89
%prep
90
%setup -q
91
%patch0 -p1
92
%patch1 -p0 -b .CVE-2010-4494
93
%patch2 -p0 -b .CVE-2011-1944
94
%patch3 -p1 -b .CVE-2011-2821,2834
95
96
%build
97
autoreconf -fi
98
%configure2_5x
99
%make
100
101
%install
102
rm -rf $RPM_BUILD_ROOT
103
104
%makeinstall_std
105
106
#only do it here if check aren't done
107
if [ %{_with check} -eq 0 ]; then 
108
  # clean before packaging documentation
109
  (cd doc/examples ; make clean ; rm -rf .deps Makefile)
110
  gzip -9 doc/libxml2-api.xml
111
fi
112
113
114
# multiarch policy
115
%multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/xml2-config
116
117
# remove unpackaged files
118
rm -rf	$RPM_BUILD_ROOT%{_prefix}/doc \
119
 	$RPM_BUILD_ROOT%{_datadir}/doc \
120
	$RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages/*.{la,a} \
121
122
%check
123
# all tests must pass
124
# use TARBALLURL_2="" TARBALLURL="" TESTDIRS="" to disable xstc test which are using remote tarball
125
make TARBALLURL_2="" TARBALLURL="" TESTDIRS="" check
126
127
#need to do that after check otherwise it will fail
128
# clean before packaging documentation
129
(cd doc/examples ; make clean ; rm -rf .deps Makefile)
130
gzip -9 doc/libxml2-api.xml
131
132
%clean
133
rm -rf $RPM_BUILD_ROOT
134
135
%if %mdkversion < 200900
136
%post -n %{libname} -p /sbin/ldconfig
137
%endif
138
%if %mdkversion < 200900
139
%postun -n %{libname} -p /sbin/ldconfig
140
%endif
141
142
%files -n %{libname}
143
%defattr(-, root, root)
144
%{_libdir}/lib*.so.*
145
146
%files utils
147
%defattr(-, root, root)
148
%doc AUTHORS README Copyright TODO 
149
%{_bindir}/xmlcatalog
150
%{_bindir}/xmllint
151
%{_mandir}/man1/xmlcatalog*
152
%{_mandir}/man1/xmllint*
153
154
%files python
155
%defattr(-, root, root)
156
%doc AUTHORS README Copyright TODO 
157
%doc doc/*.py doc/python.html
158
%doc python/TODO
159
%doc python/libxml2class.txt
160
%doc python/tests/*.py
161
%{_libdir}/python%{pyver}/site-packages/*.so
162
%{_libdir}/python%{pyver}/site-packages/*.py
163
164
%files -n %{develname}
165
%defattr(-, root, root)
166
%doc AUTHORS ChangeLog README Copyright TODO 
167
%doc doc/*.html doc/*.gif doc/*.png doc/html doc/examples doc/tutorial
168
%doc doc/libxml2-api.xml.gz
169
%doc %{_datadir}/gtk-doc/html/*
170
%{_bindir}/xml2-config
171
%{multiarch_bindir}/xml2-config
172
%{_libdir}/*a
173
%{_libdir}/*.so
174
%{_libdir}/*.sh
175
%{_libdir}/pkgconfig/*
176
%{_mandir}/man1/xml2-config*
177
%{_mandir}/man3/*
178
%{_includedir}/*
179
%{_datadir}/aclocal/*
180
181
182
%changelog
183
* Sun Oct 09 2011 Oden Eriksson <oeriksson@mandriva.com> 2.7.8-6.2
184
- P3: security fix for CVE-2011-2821,2834 (upstream)
185
186
* Sun Oct 09 2011 Oden Eriksson <oeriksson@mandriva.com> 2.7.8-6.1
187
- P2: security fix for CVE-2011-1944 (upstream)
188
189
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 2.7.8-6mdv2011.0
190
+ Revision: 661450
191
- multiarch fixes
192
193
* Wed Dec 29 2010 Oden Eriksson <oeriksson@mandriva.com> 2.7.8-5mdv2011.0
194
+ Revision: 626025
195
- P1: security fix for CVE-2010-4494 (upstream)
196
197
* Tue Dec 28 2010 Funda Wang <fwang@mandriva.org> 2.7.8-4mdv2011.0
198
+ Revision: 625595
199
- more specific requires
200
201
* Tue Dec 28 2010 Funda Wang <fwang@mandriva.org> 2.7.8-3mdv2011.0
202
+ Revision: 625494
203
- revert version script per upstream
204
205
* Mon Dec 27 2010 Funda Wang <fwang@mandriva.org> 2.7.8-2mdv2011.0
206
+ Revision: 625370
207
- rebuild
208
209
  + Oden Eriksson <oeriksson@mandriva.com>
210
    - 2.7.8
211
212
* Wed Mar 17 2010 Frederic Crozat <fcrozat@mandriva.com> 2.7.7-1mdv2011.0
213
+ Revision: 524077
214
- Release 2.7.7
215
216
* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 2.7.6-2mdv2010.1
217
+ Revision: 519031
218
- rebuild
219
220
* Mon Oct 12 2009 Frederic Crozat <fcrozat@mandriva.com> 2.7.6-1mdv2010.0
221
+ Revision: 456837
222
- Release 2.7.6
223
- Remove patches 3 & 4 (merged upstream)
224
225
* Tue Sep 15 2009 Frederic Crozat <fcrozat@mandriva.com> 2.7.4-2mdv2010.0
226
+ Revision: 443121
227
- Patch4 (GIT): fix inkscape crash (GNOME bug #566012)
228
229
* Fri Sep 11 2009 Frederic Crozat <fcrozat@mandriva.com> 2.7.4-1mdv2010.0
230
+ Revision: 438471
231
- Remove the old trick of generating optimisation at build time
232
- Release 2.7.4
233
- Remove patches 2, 4 (merged upstream)
234
- Regenerate patch3
235
- Change the way examples are cleaned to be nice with check pass
236
237
* Wed Aug 12 2009 Oden Eriksson <oeriksson@mandriva.com> 2.7.3-3mdv2010.0
238
+ Revision: 415502
239
- P4: security fix for CVE-2009-2414 and CVE-2009-2416
240
241
* Mon Jan 26 2009 Funda Wang <fwang@mandriva.org> 2.7.3-2mdv2009.1
242
+ Revision: 333661
243
- fix linkage of python module
244
245
* Tue Jan 20 2009 Götz Waschk <waschk@mandriva.org> 2.7.3-1mdv2009.1
246
+ Revision: 331728
247
- update the patch again
248
- update patch 2
249
- new version
250
- drop patches 0,1
251
252
* Thu Dec 25 2008 Funda Wang <fwang@mandriva.org> 2.7.2-4mdv2009.1
253
+ Revision: 318621
254
- rebuild for new python
255
256
* Thu Dec 18 2008 Oden Eriksson <oeriksson@mandriva.com> 2.7.2-3mdv2009.1
257
+ Revision: 315644
258
- added P2 to fix build with -Werror=format-security
259
260
* Thu Nov 27 2008 Frederic Crozat <fcrozat@mandriva.com> 2.7.2-2mdv2009.1
261
+ Revision: 307285
262
- Patches 0, 1 (SVN) : security fixes CVE-2008-4225, CVE-2008-4226
263
264
* Sun Oct 12 2008 Funda Wang <fwang@mandriva.org> 2.7.2-1mdv2009.1
265
+ Revision: 292782
266
- New version 2.7.2
267
268
* Mon Sep 01 2008 Frederic Crozat <fcrozat@mandriva.com> 2.7.1-1mdv2009.0
269
+ Revision: 278458
270
- Release 2.7.1
271
- Remove patch0 (merged upstream)
272
273
* Tue Aug 26 2008 Frederic Crozat <fcrozat@mandriva.com> 2.6.32-3mdv2009.0
274
+ Revision: 276261
275
- Patch0 (SVN): fix CVE-2008-3281
276
277
* Wed Aug 06 2008 Thierry Vignaud <tv@mandriva.org> 2.6.32-2mdv2009.0
278
+ Revision: 265004
279
- rebuild early 2009.0 package (before pixel changes)
280
281
  + Pixel <pixel@mandriva.com>
282
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
283
284
* Thu Apr 10 2008 Götz Waschk <waschk@mandriva.org> 2.6.32-1mdv2009.0
285
+ Revision: 192542
286
- new version
287
288
* Mon Jan 28 2008 Adam Williamson <awilliamson@mandriva.org> 2.6.31-1mdv2008.1
289
+ Revision: 158960
290
- drop patch (merged upstream)
291
- new release 2.6.31
292
293
* Fri Jan 04 2008 Stefan van der Eijk <stefan@mandriva.org> 2.6.30-3mdv2008.1
294
+ Revision: 144924
295
- rebuild to fix error: unpacking of archive failed on file /usr/share/doc/lib64xml2-devel/libxml2-api.xml.gz;477e5e00: cpio: read
296
297
  + Olivier Blin <oblin@mandriva.com>
298
    - restore BuildRoot
299
300
  + Thierry Vignaud <tv@mandriva.org>
301
    - kill re-definition of %%buildroot on Pixel's request
302
303
* Thu Nov 15 2007 Frederic Crozat <fcrozat@mandriva.com> 2.6.30-2mdv2008.1
304
+ Revision: 108908
305
- Update tarball with official version
306
- Update patch0 with improved version for upstream integration (GNOME bug #497012)
307
- Fix url for source0
308
309
* Tue Sep 18 2007 Götz Waschk <waschk@mandriva.org> 2.6.30-1mdv2008.0
310
+ Revision: 89538
311
- new version
312
313
* Wed Aug 15 2007 Anssi Hannula <anssi@mandriva.org> 2.6.29-4mdv2008.0
314
+ Revision: 63684
315
- obsolete renamed python bindings on lib64 archs
316
317
* Wed Aug 15 2007 Adam Williamson <awilliamson@mandriva.org> 2.6.29-3mdv2008.0
318
+ Revision: 63593
319
- lib package provides libxml2 for now, think about it later
320
- drop docs from library package
321
- use autoreconf instead of calling bits of it manually
322
- clean up descriptions
323
- python package should follow %%name, not %%libname
324
- new devel policy
325
- correct libification (libxml2_2 is the correct name for the lib package)
326
- clean up a bunch of conditionals for really old versions, no longer needed
327
328
* Fri Jul 06 2007 Frederic Crozat <fcrozat@mandriva.com> 2.6.29-1mdv2008.0
329
+ Revision: 49147
330
- Release 2.6.29
331
332
* Mon Apr 23 2007 Olivier Blin <oblin@mandriva.com> 2.6.28-1mdv2008.0
333
+ Revision: 17345
334
- 2.6.28 (and rebuild for missing devel package on x86_64)
335
336
337
* Mon Mar 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 2.6.27-3mdv2007.1
338
+ Revision: 146578
339
- do not package big ChangeLog in -python
340
341
  + Helio Chissini de Castro <helio@mandriva.com>
342
    - Remove old source
343
344
* Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 2.6.27-2mdv2007.1
345
+ Revision: 88048
346
- rebuild
347
348
* Sat Oct 28 2006 Götz Waschk <waschk@mandriva.org> 2.6.27-1mdv2007.1
349
+ Revision: 73543
350
- new version
351
- fix source URL
352
353
  + Oden Eriksson <oeriksson@mandriva.com>
354
    - bzip2 cleanup
355
    - rebuild
356
    - bunzip patches
357
    - Import libxml2
358
359
* Wed Jun 21 2006 Frederic Crozat <fcrozat@mandriva.com> 2.6.26-2mdv2007.0
360
- Fix doc (Mdv bug #19007)
361
362
* Thu Jun 08 2006 Frederic Crozat <fcrozat@mandriva.com> 2.6.26-1mdv2007.0
363
- Release 2.6.26
364
365
* Wed Jun 07 2006 Götz Waschk <waschk@mandriva.org> 2.6.25-1mdv2007.0
366
- New release 2.6.25
367
368
* Sat Apr 29 2006 Götz Waschk <waschk@mandriva.org> 2.6.24-1mdk
369
- New release 2.6.24
370
371
* Thu Jan 05 2006 Götz Waschk <waschk@mandriva.org> 2.6.23-1mdk
372
- New release 2.6.23
373
- use mkrel
374
375
* Wed Nov 16 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.22-2mdk
376
- Rebuild to get debug package
377
378
* Wed Oct 05 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.22-1mdk
379
- Release 2.6.22
380
- Remove patch2 (merged upstream)
381
382
* Wed Sep 14 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.21-3mdk 
383
- Update patch2 to fix clash with expat headers
384
385
* Tue Sep 13 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.21-2mdk 
386
- Patch2 (CVS): various fixes
387
388
* Tue Sep 06 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.21-1mdk 
389
- Release 2.6.21
390
391
* Thu Aug 25 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.20-3mdk 
392
- Remove changelog from main package to reduce its size
393
394
* Thu Aug 25 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.20-2mdk 
395
- Move api documentation to devel package
396
397
* Wed Jul 20 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.20-1mdk 
398
- New release 2.6.20
399
- Disable profiling, it doesn't work with gcc 4
400
401
* Tue Apr 19 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.19-1mdk 
402
- Release 2.6.19
403
404
* Thu Feb 24 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.6.17-2mdk
405
- multiarch for xml2-config --libtool-libs
406
407
* Tue Jan 18 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.17-1mdk
408
- New release 2.6.17
409
410
* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 2.6.16-2mdk
411
- Rebuild for new python
412
413
* Wed Nov 10 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.16-1mdk
414
- New release 2.6.16
415
416
* Tue Oct 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.14-1mdk
417
- New release 2.6.14
418
- Drop support for Mdk version < 9.2
419
- Remove patch 2 (no longer needed)
420
421
* Wed Sep 01 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.13-1mdk
422
- New release 2.6.13
423
424
* Tue Aug 24 2004 Gtz Waschk <waschk@linux-mandrake.com> 2.6.12-1mdk
425
- patch 2 fixes the build
426
- New release 2.6.12
427
428
* Fri Jul 09 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.11-2mdk
429
- Integrate profiling stuff from Fedora (please report any problem)
430
431
* Wed Jul 07 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.11-1mdk
432
- New release 2.6.11
433
434
* Wed Jun 02 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.6.10-1mdk
435
- new version
436
437
* Tue Apr 20 2004 Gtz Waschk <waschk@linux-mandrake.com> 2.6.9-1mdk
438
- drop patch 2 (merged)
439
- new version
440
441
* Sat Apr 03 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.8-1mdk
442
- Release 2.6.8
443
- Patch2 (CVS): fix python tests
444

Comments