libs/libxslt: CVE-2008-2935
authoryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Thu, 7 Aug 2008 06:24:12 +0000 (06:24 +0000)
committeryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Thu, 7 Aug 2008 06:24:12 +0000 (06:24 +0000)
git-svn-id: https://cygwin-ports.svn.sourceforge.net/svnroot/cygwin-ports/ports/trunk@4161 e127d73d-b18e-4ae1-a744-a22e6a3ccd30

1.1.24-no-undefined.patch [moved from libxslt-1.1.24-1.src.patch with 79% similarity]
README
libxslt-1.1.24-2.cygport [moved from libxslt-1.1.24-1.cygport with 64% similarity]

similarity index 79%
rename from libxslt-1.1.24-1.src.patch
rename to 1.1.24-no-undefined.patch
index d3b756b694768559e5e8f6cb4396b8a55a46a555..f1514e9dab3dbc49b0462adf59e758e4c6ee9904 100644 (file)
  
  all-local: libxslt.py
  
-@@ -38,12 +40,12 @@
- libxsltmod_la_SOURCES = libxslt.c types.c libxslt-py.c
- libxsltmod_la_LIBADD = $(mylibs) 
-+python_PYTHON = libxslt.py
-+
- libxslt.py: $(srcdir)/libxsl.py $(srcdir)/libxsltclass.py
-       cat $(srcdir)/libxsl.py $(srcdir)/libxsltclass.py > libxslt.py
- install-data-local:
--      $(mkinstalldirs) $(DESTDIR)$(pythondir)
--      @INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(pythondir)
-       $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
-       @(for doc in $(DOCS) ; \
-          do @INSTALL@ -m 0644 $(srcdir)/$$doc $(DESTDIR)$(DOCS_DIR) ; done)
diff --git a/README b/README
index 7bfbed9de2e932bde5e5ece7368ee249c9699460..70b4da02068ab8bb1cd8f7f76fb9135aeda03ef3 100644 (file)
--- a/README
+++ b/README
@@ -19,7 +19,7 @@ Build requirements:
 (besides corresponding devel packages)
   autoconf2.5-2.61-1
   automake1.10-1.10.1-1
-  binutils-20060817-1
+  binutils-20080523-2
   cygport-0.3.12-1
   gawk-3.1.6-1
   gcc-core-3.4.4-3
@@ -211,6 +211,9 @@ Files included in the binary packages:
 
 Port Notes:
 
+----- version 1.1.24-2 -----
+Gentoo patch for CVE-2008-2935.
+
 ----- version 1.1.24-1 -----
 Version bump for CVE-2008-1767.
 
similarity index 64%
rename from libxslt-1.1.24-1.cygport
rename to libxslt-1.1.24-2.cygport
index 35c7d9858a127e5df94b5e5939e865921a2c4158..210b88bbc89550f1b4381f251442b3128a0415b7 100644 (file)
@@ -3,24 +3,32 @@ inherit python gnome2
 DESCRIPTION="GNOME XSLT library"
 HOMEPAGE="http://xmlsoft.org/XSLT/"
 SRC_URI="ftp://xmlsoft.org/libxml2/${P}.tar.gz"
-
-CYGCONF_ARGS="--with-python --with-crypto"
+PATCH_URI="
+       mirror://portage/dev-libs/${PN}/files/libxslt.m4-${PN}-1.1.8.patch
+       mirror://portage/dev-libs/${PN}/files/${PN}-1.1.23-parallel-install.patch
+       mirror://portage/dev-libs/${PN}/files/${P}-exslt_crypt.patch
+       1.1.24-no-undefined.patch
+"
 
 PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
 PKG_HINTS="setup devel doc python"
 PKG_CONTENTS[0]="--exclude=*-config* usr/bin/ usr/share/doc/Cygwin \
-       usr/share/doc/${P}/[A-Z]* usr/share/man/"
+                 usr/share/doc/${P}/[A-Z]* usr/share/man/"
 PKG_CONTENTS[1]="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
-       usr/share/aclocal/"
+                 usr/share/aclocal/"
 PKG_CONTENTS[2]="usr/share/doc/${P}/html usr/share/doc/${PN}-python-${PV}"
 PKG_CONTENTS[3]="${PYTHON_SITELIB#/}"
 
 DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
 
+CYGCONF_ARGS="--with-debugger --with-python --with-crypto"
+
 src_install() {
        cd ${B}
        cyginstall
 
        mv ${D}${PYTHON_SITELIB}/${PN/lib/cyg}mod.dll ${D}${PYTHON_SITELIB}/${PN}mod.dll
        sed -i -e "s:${PN/lib/cyg}mod:${PN}mod:g" ${D}${PYTHON_SITELIB}/${PN}mod.la
+
+       python_optimize
 }
This page took 0.025543 seconds and 5 git commands to generate.