summaryrefslogtreecommitdiffstats
path: root/textproc/libxml2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-01-12 01:51:34 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-01-12 01:51:34 +0800
commit2f836c64a2940e1460834c4085ba6d418001bf17 (patch)
tree81909a3bce2caf57600151b32c8dcb1e7735c28c /textproc/libxml2
parent262752d178a4a70c9cd941f23ee5052d0e8968d9 (diff)
downloadmarcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar.gz
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar.bz2
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar.lz
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar.xz
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.tar.zst
marcuscom-ports-2f836c64a2940e1460834c4085ba6d418001bf17.zip
Remove these ports now that they have been merged into the FreeBSD ports
tree. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11869 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile80
-rw-r--r--textproc/libxml2/distinfo3
-rw-r--r--textproc/libxml2/files/patch-CVE-2008-422526
-rw-r--r--textproc/libxml2/files/patch-CVE-2008-422638
-rw-r--r--textproc/libxml2/files/patch-aa47
-rw-r--r--textproc/libxml2/files/patch-config.h.in11
-rw-r--r--textproc/libxml2/files/patch-configure16
-rw-r--r--textproc/libxml2/files/patch-doc_devhelp_Makefile.in11
-rw-r--r--textproc/libxml2/files/patch-python::Makefile.in20
-rw-r--r--textproc/libxml2/files/patch-python::tests::Makefile.in11
-rw-r--r--textproc/libxml2/files/patch-xml2Conf.sh.in18
-rw-r--r--textproc/libxml2/pkg-descr6
-rw-r--r--textproc/libxml2/pkg-plist59
13 files changed, 0 insertions, 346 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
deleted file mode 100644
index 55d2ead37..000000000
--- a/textproc/libxml2/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# New ports collection makefile for: libxml2
-# Date created: 28 September 1998
-# Whom: Yukihiro Nakai <Nakai@technologist.com>
-#
-# $FreeBSD$
-#
-# WITH_THREADS_BREAK enable pthread support (WILL BREAK OTHER PORTS!)
-# WITHOUT_SCHEMA disable XML schema support
-# WITH_MEM_DEBUG enable memory debugging (DEVELOPERS ONLY!)
-# WITH_XMLLINT_HIST enable history for xmllint
-# WITH_THREAD_ALLOC enable per-thread memory (DEVELOPERS ONLY!)
-#
-
-PORTNAME= libxml2
-PORTVERSION= 2.7.2
-PORTREVISION?= 1
-CATEGORIES?= textproc gnome
-MASTER_SITES= ftp://fr.rpmfind.net/pub/libxml/ \
- ftp://gd.tuwien.ac.at/pub/libxml/ \
- ftp://xmlsoft.org/libxml2/
-DIST_SUBDIR= gnome2
-
-MAINTAINER?= gnome@FreeBSD.org
-COMMENT?= XML parser library for GNOME
-
-.if !defined(REFERENCE_PORT)
-
-USE_GMAKE= yes
-USE_ICONV= yes
-GNU_CONFIGURE= yes
-USE_GNOME?= gnomehack gnometarget pkgconfig
-USE_LDCONFIG= yes
-CONFIGURE_ARGS?= --with-iconv=${LOCALBASE} \
- --with-html-dir=${PREFIX}/share/doc \
- --with-html-subdir=${PORTNAME} \
- --without-python
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-.if !defined(MASTERDIR)
-MAN1= xml2-config.1 xmllint.1 xmlcatalog.1
-MAN3= libxml.3
-.endif
-
-.if defined(WITH_THREADS_BREAK)
-CONFIGURE_ARGS+= --with-threads
-.else
-CONFIGURE_ARGS+= --without-threads
-.endif
-
-.if defined(WITHOUT_SCHEMA)
-CONFIGURE_ARGS+= --without-schemas
-.endif
-
-.if defined(WITH_MEM_DEBUG)
-CONFIGURE_ARGS+= --with-mem-debug
-.endif
-
-.if defined(WITH_XMLLINT_HIST)
-CONFIGURE_ARGS+= --with-history
-.endif
-
-.if defined(WITH_THREAD_ALLOC)
-CONFIGURE_ARGS+= --with-thread-alloc
-.endif
-
-post-patch:
-.for d in . doc doc/devhelp doc/examples
- @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
- ${WRKSRC}/${d}/Makefile.in
-.endfor
-.for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1
- @${REINPLACE_CMD} -e \
- 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \
- s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' ${WRKSRC}/${f}
-.endfor
-
-.include <bsd.port.mk>
-
-.endif
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo
deleted file mode 100644
index dee3d9317..000000000
--- a/textproc/libxml2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (gnome2/libxml2-2.7.2.tar.gz) = dc43ff7ae6aded45f578c87b7b0c8766
-SHA256 (gnome2/libxml2-2.7.2.tar.gz) = c01bd621f771cdee349877f55cc841a1bdfb206b2cf5c9aa62aa6a9680e61980
-SIZE (gnome2/libxml2-2.7.2.tar.gz) = 4790639
diff --git a/textproc/libxml2/files/patch-CVE-2008-4225 b/textproc/libxml2/files/patch-CVE-2008-4225
deleted file mode 100644
index 0666795c6..000000000
--- a/textproc/libxml2/files/patch-CVE-2008-4225
+++ /dev/null
@@ -1,26 +0,0 @@
---- tree.c.orig 2008-10-31 18:14:00.000000000 -0700
-+++ tree.c 2008-10-31 18:14:35.000000000 -0700
-@@ -14,7 +14,7 @@
- #include "libxml.h"
-
- #include <string.h> /* for memset() only ! */
--
-+#include <limits.h>
- #ifdef HAVE_CTYPE_H
- #include <ctype.h>
- #endif
-@@ -6996,7 +6996,13 @@
- case XML_BUFFER_ALLOC_DOUBLEIT:
- /*take care of empty case*/
- newSize = (buf->size ? buf->size*2 : size + 10);
-- while (size > newSize) newSize *= 2;
-+ while (size > newSize) {
-+ if (newSize > UINT_MAX / 2) {
-+ xmlTreeErrMemory("growing buffer");
-+ return 0;
-+ }
-+ newSize *= 2;
-+ }
- break;
- case XML_BUFFER_ALLOC_EXACT:
- newSize = size+10;
diff --git a/textproc/libxml2/files/patch-CVE-2008-4226 b/textproc/libxml2/files/patch-CVE-2008-4226
deleted file mode 100644
index 79e808b40..000000000
--- a/textproc/libxml2/files/patch-CVE-2008-4226
+++ /dev/null
@@ -1,38 +0,0 @@
---- SAX2.c.orig 2008-01-25 08:10:04.000000000 -0500
-+++ SAX2.c 2008-11-07 05:07:34.000000000 -0500
-@@ -11,6 +11,7 @@
- #include "libxml.h"
- #include <stdlib.h>
- #include <string.h>
-+#include <limits.h>
- #include <libxml/xmlmemory.h>
- #include <libxml/tree.h>
- #include <libxml/parser.h>
-@@ -26,6 +27,11 @@
- #include <libxml/HTMLtree.h>
- #include <libxml/globals.h>
-
-+/* Define SIZE_T_MAX unless defined through <limits.h>. */
-+#ifndef SIZE_T_MAX
-+# define SIZE_T_MAX ((size_t)-1)
-+#endif /* !SIZE_T_MAX */
-+
- /* #define DEBUG_SAX2 */
- /* #define DEBUG_SAX2_TREE */
-
-@@ -2445,9 +2451,14 @@
- (xmlDictOwns(ctxt->dict, lastChild->content))) {
- lastChild->content = xmlStrdup(lastChild->content);
- }
-+ if ((size_t)ctxt->nodelen > SIZE_T_MAX - (size_t)len ||
-+ (size_t)ctxt->nodemem + (size_t)len > SIZE_T_MAX / 2) {
-+ xmlSAX2ErrMemory(ctxt, "xmlSAX2Characters overflow prevented");
-+ return;
-+ }
- if (ctxt->nodelen + len >= ctxt->nodemem) {
- xmlChar *newbuf;
-- int size;
-+ size_t size;
-
- size = ctxt->nodemem + len;
- size *= 2;
diff --git a/textproc/libxml2/files/patch-aa b/textproc/libxml2/files/patch-aa
deleted file mode 100644
index c8b294955..000000000
--- a/textproc/libxml2/files/patch-aa
+++ /dev/null
@@ -1,47 +0,0 @@
---- Makefile.in.orig 2008-10-05 07:36:15.299141562 -0400
-+++ Makefile.in 2008-10-05 07:41:11.883687363 -0400
-@@ -513,13 +513,13 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
-+SUBDIRS = include . doc example xstc @WITH_PYTHON_TRUE@ @PYTHON_SUBDIR@
- DIST_SUBDIRS = include . doc example python xstc
- INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
- bin_SCRIPTS = xml2-config
- lib_LTLIBRARIES = libxml2.la
- libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
--libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info @LIBXML_VERSION_INFO@ @MODULE_PLATFORM_LIBS@
-+libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info 5:0:0 @MODULE_PLATFORM_LIBS@
- @WITH_TRIO_SOURCES_FALSE@libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
- @WITH_TRIO_SOURCES_FALSE@ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
- @WITH_TRIO_SOURCES_FALSE@ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
-@@ -633,7 +633,7 @@
- runxmlconf_DEPENDENCIES = $(DEPS)
- runxmlconf_LDADD = $(LDADDS)
- CLEANFILES = xml2Conf.sh *.gcda *.gcno
--confexecdir = $(libdir)
-+confexecdir = $(sysconfdir)
- confexec_DATA = xml2Conf.sh
- CVS_EXTRA_DIST =
- EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
-@@ -656,8 +656,8 @@
- # Install the tests program sources as examples
- #
- BASE_DIR = $(datadir)/doc
--DOC_MODULE = libxml2-$(VERSION)
--EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
-+DOC_MODULE = libxml2
-+EXAMPLES_DIR = $(datadir)/examples/libxml2
-
- #
- # Coverage support, largely borrowed from libvirt
-@@ -1414,7 +1414,7 @@
- exit 1; } >&2
- check-am: all-am
- check: check-recursive
--all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
-+all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \
- config.h
- install-binPROGRAMS: install-libLTLIBRARIES
-
diff --git a/textproc/libxml2/files/patch-config.h.in b/textproc/libxml2/files/patch-config.h.in
deleted file mode 100644
index e86bbf40e..000000000
--- a/textproc/libxml2/files/patch-config.h.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.h.in.orig Sun Nov 3 16:55:05 2002
-+++ config.h.in Tue Nov 19 00:06:05 2002
-@@ -1,4 +1,8 @@
- /* config.h.in. Generated from configure.in by autoheader. */
-+
-+/* XXX */
-+#define HAVE_VFSCANF
-+
- #undef PACKAGE
- #undef VERSION
- #undef HAVE_LIBZ
diff --git a/textproc/libxml2/files/patch-configure b/textproc/libxml2/files/patch-configure
deleted file mode 100644
index 82e883f0f..000000000
--- a/textproc/libxml2/files/patch-configure
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.orig 2008-05-24 00:14:51.000000000 -0500
-+++ configure 2008-05-24 00:17:51.000000000 -0500
-@@ -27275,11 +27275,12 @@
- fi
- if test "$PYTHON_VERSION" != ""
- then
-+ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
- if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
- -d $with_python/lib/python$PYTHON_VERSION/site-packages
- then
- PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
-- PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
-+ PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
- else
- if test -r $prefix/include/python$PYTHON_VERSION/Python.h
- then
diff --git a/textproc/libxml2/files/patch-doc_devhelp_Makefile.in b/textproc/libxml2/files/patch-doc_devhelp_Makefile.in
deleted file mode 100644
index d7581357d..000000000
--- a/textproc/libxml2/files/patch-doc_devhelp_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/devhelp/Makefile.in.orig 2008-01-22 15:49:34.000000000 -0500
-+++ doc/devhelp/Makefile.in 2008-01-22 15:49:58.000000000 -0500
-@@ -259,7 +259,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--DEVHELP_DIR = $(datadir)/gtk-doc/html/libxml2
-+DEVHELP_DIR = $(datadir)/doc/libxml2/html
- HTML_FILES = index.html general.html $(HTML_MODULES)
- HTML_MODULES = \
- libxml2-c14n.html \
diff --git a/textproc/libxml2/files/patch-python::Makefile.in b/textproc/libxml2/files/patch-python::Makefile.in
deleted file mode 100644
index 37a01dce1..000000000
--- a/textproc/libxml2/files/patch-python::Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- python/Makefile.in.orig 2008-05-23 22:39:11.000000000 -0500
-+++ python/Makefile.in 2008-05-23 22:40:42.000000000 -0500
-@@ -322,7 +322,7 @@
- -I$(top_builddir)/include \
- -I$(top_builddir)/$(subdir)
-
--docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
-+docsdir = $(datadir)/doc/py-libxml2
- # libxml2class.txt is generated
- dist_docs_DATA = TODO
- EXTRA_DIST = \
-@@ -335,7 +335,7 @@
-
- libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version
- @WITH_PYTHON_TRUE@mylibs = \
--@WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
-+@WITH_PYTHON_TRUE@ -lxml2
-
- @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
- @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c
diff --git a/textproc/libxml2/files/patch-python::tests::Makefile.in b/textproc/libxml2/files/patch-python::tests::Makefile.in
deleted file mode 100644
index 405539d86..000000000
--- a/textproc/libxml2/files/patch-python::tests::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- python/tests/Makefile.in.orig 2008-05-23 22:41:49.000000000 -0500
-+++ python/tests/Makefile.in 2008-05-23 22:42:12.000000000 -0500
-@@ -270,7 +270,7 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
-+exampledir = $(datadir)/examples/py-libxml2
- dist_example_DATA = $(PYTESTS) $(XMLS)
- PYTESTS = \
- build.py \
diff --git a/textproc/libxml2/files/patch-xml2Conf.sh.in b/textproc/libxml2/files/patch-xml2Conf.sh.in
deleted file mode 100644
index fc820680f..000000000
--- a/textproc/libxml2/files/patch-xml2Conf.sh.in
+++ /dev/null
@@ -1,18 +0,0 @@
-
-$FreeBSD: ports/textproc/libxml2/files/patch-xml2Conf.sh.in,v 1.2 2003/09/18 06:49:34 marcus Exp $
-
---- xml2Conf.sh.in 2001/05/19 19:57:43 1.1
-+++ xml2Conf.sh.in 2001/05/19 19:59:40
-@@ -1,6 +1,12 @@
- #
- # Configuration file for using the XML library in GNOME applications
- #
-+
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+includedir=@includedir@
-+libdir=@libdir@
-+
- XML2_LIBDIR="@XML_LIBDIR@"
- XML2_LIBS="@XML_LIBS@"
- XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
diff --git a/textproc/libxml2/pkg-descr b/textproc/libxml2/pkg-descr
deleted file mode 100644
index c64953cf9..000000000
--- a/textproc/libxml2/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Libxml2 is the XML C parser and toolkit developed for the Gnome project (but
-usable outside of the Gnome platform). XML itself is a metalanguage to design
-markup languages, i.e. text language where semantic and structure are added to
-the content using extra "markup" information enclosed between angle brackets.
-
-WWW: http://xmlsoft.org/
diff --git a/textproc/libxml2/pkg-plist b/textproc/libxml2/pkg-plist
deleted file mode 100644
index c1e7fae18..000000000
--- a/textproc/libxml2/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-bin/xml2-config
-bin/xmlcatalog
-bin/xmllint
-etc/xml2Conf.sh
-include/libxml2/libxml/DOCBparser.h
-include/libxml2/libxml/HTMLparser.h
-include/libxml2/libxml/HTMLtree.h
-include/libxml2/libxml/SAX.h
-include/libxml2/libxml/SAX2.h
-include/libxml2/libxml/c14n.h
-include/libxml2/libxml/catalog.h
-include/libxml2/libxml/chvalid.h
-include/libxml2/libxml/debugXML.h
-include/libxml2/libxml/dict.h
-include/libxml2/libxml/encoding.h
-include/libxml2/libxml/entities.h
-include/libxml2/libxml/globals.h
-include/libxml2/libxml/hash.h
-include/libxml2/libxml/list.h
-include/libxml2/libxml/nanoftp.h
-include/libxml2/libxml/nanohttp.h
-include/libxml2/libxml/parser.h
-include/libxml2/libxml/parserInternals.h
-include/libxml2/libxml/pattern.h
-include/libxml2/libxml/relaxng.h
-include/libxml2/libxml/schemasInternals.h
-include/libxml2/libxml/schematron.h
-include/libxml2/libxml/threads.h
-include/libxml2/libxml/tree.h
-include/libxml2/libxml/uri.h
-include/libxml2/libxml/valid.h
-include/libxml2/libxml/xinclude.h
-include/libxml2/libxml/xlink.h
-include/libxml2/libxml/xmlIO.h
-include/libxml2/libxml/xmlautomata.h
-include/libxml2/libxml/xmlerror.h
-include/libxml2/libxml/xmlexports.h
-include/libxml2/libxml/xmlmemory.h
-include/libxml2/libxml/xmlmodule.h
-include/libxml2/libxml/xmlreader.h
-include/libxml2/libxml/xmlregexp.h
-include/libxml2/libxml/xmlsave.h
-include/libxml2/libxml/xmlschemas.h
-include/libxml2/libxml/xmlschemastypes.h
-include/libxml2/libxml/xmlstring.h
-include/libxml2/libxml/xmlunicode.h
-include/libxml2/libxml/xmlversion.h
-include/libxml2/libxml/xmlwriter.h
-include/libxml2/libxml/xpath.h
-include/libxml2/libxml/xpathInternals.h
-include/libxml2/libxml/xpointer.h
-lib/libxml2.a
-lib/libxml2.la
-lib/libxml2.so
-lib/libxml2.so.5
-libdata/pkgconfig/libxml-2.0.pc
-share/aclocal/libxml.m4
-@dirrm include/libxml2/libxml
-@dirrm include/libxml2