Fix for CVE-2011-3970
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 6 Mar 2012 03:12:28 +0000 (21:12 -0600)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 6 Mar 2012 03:12:28 +0000 (21:12 -0600)
1.1.26-no-undefined.patch [deleted file]
libxslt-1.1.26-3.cygport [moved from libxslt-1.1.26-2.cygport with 87% similarity]

diff --git a/1.1.26-no-undefined.patch b/1.1.26-no-undefined.patch
deleted file mode 100644 (file)
index 6cd2f28..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---- origsrc/libxslt-1.1.26/configure.in        2009-09-24 09:27:30.000000000 -0500
-+++ src/libxslt-1.1.26/configure.in    2009-12-19 23:18:57.134830100 -0600
-@@ -625,6 +625,10 @@ WIN32_EXTRA_LDFLAGS=
- case "$host" in
-  *-*-cygwin*)
-  WIN32_EXTRA_LDFLAGS="-no-undefined"
-+ if test -n "${PYTHON}"
-+ then
-+   CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
-+ fi
-  ;;
-  *-*-mingw*)
-  WIN32_EXTRA_LIBADD="-lwsock32"
-@@ -636,6 +640,7 @@ case "$host" in
- esac
- AC_SUBST(WIN32_EXTRA_LIBADD)
- AC_SUBST(WIN32_EXTRA_LDFLAGS)
-+AC_SUBST(CYGWIN_EXTRA_PYTHON_LIBADD)
- AC_SUBST(XSLTPROCDV)
---- origsrc/libxslt-1.1.26/python/Makefile.am  2009-12-19 22:22:05.066671000 -0600
-+++ src/libxslt-1.1.26/python/Makefile.am      2009-12-19 22:30:48.333600200 -0600
-@@ -29,7 +29,8 @@ libxsltmod_la_LDFLAGS =  $(WIN32_EXTRA_L
- if WITH_PYTHON
- mylibs = \
-       $(top_builddir)/libxslt/libxslt.la \
--      $(top_builddir)/libexslt/libexslt.la
-+      $(top_builddir)/libexslt/libexslt.la \
-+      $(CYGWIN_EXTRA_PYTHON_LIBADD)
- all-local: libxslt.py
similarity index 87%
rename from libxslt-1.1.26-2.cygport
rename to libxslt-1.1.26-3.cygport
index 90857c9a0dcc3fd96d964bc406ffdb9315bb20a0..37e563e848c0f0ea9fac9fca20bb43a356250800 100644 (file)
@@ -6,7 +6,8 @@ SRC_URI="ftp://xmlsoft.org/libxml2/${P}.tar.gz"
 PATCH_URI="
        mirror://portage/dev-libs/${PN}/files/libxslt.m4-${PN}-1.1.26.patch
        mirror://portage/dev-libs/${PN}/files/${PN}-1.1.23-parallel-install.patch
-       1.1.26-no-undefined.patch
+       mirror://portage/dev-libs/${PN}/files/${PN}-1.1.26-undefined.patch
+       mirror://portage/dev-libs/${PN}/files/${PN}-1.1.26-pattern-out-of-bounds-read.patch
 "
 
 PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
@@ -38,3 +39,5 @@ src_install() {
 
        mv ${D}/usr/share/doc/libxslt-python-${PV} ${D}/usr/share/doc/python-libxslt
 }
+
+KEEP_LA_FILES="shared"
This page took 0.023661 seconds and 5 git commands to generate.