Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs In directory vz-cvs-3.sog:/tmp/cvs-serv9991/10.7/stable/main/finkinfo/libs
Added Files: gdbm.info libxml2.info libxml2.patch libxslt.info libxslt.patch Log Message: to 10.7 --- NEW FILE: libxml2.info --- Package: libxml2 Version: 2.7.8 Revision: 102 Distribution: 10.5, 10.6, 10.7 Maintainer: The Gnome Core Team <fink-gnome-c...@lists.sourceforge.net> Depends: %N-bin (= %v-%r), %N-shlibs (= %v-%r), pkgconfig (>= 0.23) BuildDepends: << fink (>= 0.24.12-1), fink-package-precedence, libiconv-dev, libncurses5 (>= 5.4-20041023-1006), readline5 (>= 5.0-1004) << #Source: mirror:gnome:sources/%n/2.6/%n-%v.tar.bz2 Source: http://xmlsoft.org/sources/%n-%v.tar.gz Source-MD5: 8127a65e8c3b08856093099b52599c86 PatchFile: %n.patch PatchFile-MD5: 51675f66115d7ab64a5bf04ffbc455f7 PatchScript: << #!/bin/sh -ev sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1 perl -pi -e 's|/etc|%p/etc|g' catalog.c doc/catalog.html doc/guidelines.html doc/xml.html doc/xmlcatalog.1 doc/xmlcatalog_man.html doc/xmlcatalog_man.xml doc/xmllint.1 doc/xmllint.html runtest.c xmlcatalog.c doc/xmllint.xml perl -pi -e 's/MAKEFLAGS\+=--silent//' `find . -name Makefile.in` rm test/ebcdic_566012.xml << SetLDFLAGS: -no-undefined ConfigureParams: --mandir=%p/share/man --with-iconv=%p --without-python --enable-dependency-tracking --with-html-dir=%p/share/doc --with-html-subdir=%n --with-history CompileScript: << ## Work around a missing xhtml-dtd in catalog ## which obviously cannot be in ## and xmllint --nonet to rebuild the doc which ## makes vanish index.html cp doc/index.html doc/index1.html XMLLINT=/usr/bin/true XSLTPROC=/usr/bin/true ./configure %c make rm -f doc/index.html mv doc/index1.html doc/index.html fink-package-precedence --prohibit-bdep=%n . << InfoTest: TestScript: make check || exit 2 InstallScript: << make install DESTDIR=%d DOC_MODULE=%n mkdir -p %i/etc/xml/catalog.d mkdir -p %i/etc/sgml/catalog.d mkdir -p %i/sbin install -c -m 755 update-xml-catalog %i/sbin/ install -c -m 755 update-sgml-catalog %i/sbin/ << DocFiles: AUTHORS ChangeLog COPYING Copyright NEWS README TODO TODO_SCHEMAS BuildDependsOnly: True SplitOff: << Package: %N-shlibs Depends: libiconv Replaces: libxml2 (<< 2.4.18-2) Suggests: %N-bin Files: lib/libxml2.2.dylib Shlibs: %p/lib/libxml2.2.dylib 10.0.0 %n (>= 2.7.7-1) DocFiles: Copyright README << SplitOff2: << Package: %N-bin Depends: %N-shlibs (>= %v-%r), libncurses5-shlibs (>= 5.4-20041023-1006), readline5-shlibs (>= 5.0-1004) Replaces: libxml2 (<< 2.4.18-2) Files: bin/xmlcatalog bin/xmllint sbin share/man/man1/xmlcatalog.1 share/man/man1/xmllint.1 etc/xml DocFiles: Copyright README RuntimeVars: << SGML_CATALOG_FILES: %p/etc/sgml/catalog XML_CATALOG_FILES: %p/etc/xml/catalog << PostInstScript: << case "$1" in configure) export SGML_CATALOG_FILES=%p/etc/sgml/catalog export XML_CATALOG_FILES=%p/etc/xml/catalog %p/sbin/update-xml-catalog %p/sbin/update-sgml-catalog ;; esac << PostRmScript: << case "$1" in abort-install|purge|remove) rm -f %p/etc/xml/catalog rm -f %p/etc/sgml/catalog ;; esac << << Description: XML parsing library, version 2 DescDetail: << This set of packages does *not* contain the python bindings. Those are in libxml2-pyXX for various pythonX.X versions. << DescPort: << Hide xmllint and xsltproc executables from ./configure to avoid circular dependencies (on libxml2-bin (build here) and libxslt-bin (depends on libxml2)) and network access during build. Fortunately, these executables are only used to build docs that already come prebuilt (we patch the targets instead of patching sources and rebuilding). Packages prior to 2.6.22-1 did not use --with-history, so they did not need readline or ncurses. Now it does, but these libs are only used for the -bin programs not the -shlibs libs. So no new flags in .la or .pc, so no dependency and rebuilding nightmare for dependent packages. Hooray! Rebuild the doc/examples/index.html not present in the tarball Changed the installation to avoid examples overriding top level of doc. << DescPackaging: << libxml2 uses XML/SGML super catalog to know location of DTDs installed on local system. They are managed by update-xml-catalog and update-sgml-catalog script. Each package that provides DTDs should also provide configuration file(s) for these script and call them within Pre/PostInstScript. When update-xml-catalog is called, it reads every configuration file belongs to %p/etc/xml/catalog.d/. Each line of them contain 3 fields, TYPE, ORIG and REPLACE, correspond to arguments of `xmlcatalog --add'. See xmlcatalog(1) for detail. Also, update-sgml-catalog reads every configuration file belongs to %p/etc/ sgml/catalog.d/ when it is called. Each line of them contain only 1 field, reference to other SGML catalog file. Previous versions by Christoph Pfisterer <chr...@users.sourceforge.net> disable the self-test of ebcdic handling because GNU libiconv doesn't support ebcdic. See: https://bugzilla.gnome.org/show_bug.cgi?id=603432 << License: BSD Homepage: http://www.xmlsoft.org/ --- NEW FILE: libxslt.patch --- diff -Nurd -x'*~' libxslt-1.1.26.orig/doc/Makefile.in libxslt-1.1.26/doc/Makefile.in --- libxslt-1.1.26.orig/doc/Makefile.in 2009-09-24 10:43:14.000000000 -0400 +++ libxslt-1.1.26/doc/Makefile.in 2011-03-10 00:21:41.000000000 -0500 @@ -670,13 +670,18 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(HTML_DIR) -@INSTALL@ -m 0644 $(srcdir)/*.html $(DESTDIR)$(HTML_DIR) + -@INSTALL@ -m 0644 $(srcdir)/*.xml $(DESTDIR)$(HTML_DIR) + -@INSTALL@ -m 0644 $(srcdir)/*.xsl $(DESTDIR)$(HTML_DIR) -@INSTALL@ -m 0644 $(srcdir)/*.gif $(DESTDIR)$(HTML_DIR) $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/html -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html - -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(HTML_DIR)/html $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/EXSLT -@INSTALL@ -m 0644 $(srcdir)/EXSLT/*.html $(DESTDIR)$(HTML_DIR)/EXSLT + -@INSTALL@ -m 0644 $(srcdir)/EXSLT/*.xml $(DESTDIR)$(HTML_DIR)/EXSLT + $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/EXSLT/html + -@INSTALL@ -m 0644 $(srcdir)/EXSLT/html/*.html $(DESTDIR)$(HTML_DIR)/EXSLT/html + -@INSTALL@ -m 0644 $(srcdir)/EXSLT/html/*.png $(DESTDIR)$(HTML_DIR)/EXSLT/html $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial -@INSTALL@ -m 0644 $(srcdir)/tutorial/* $(DESTDIR)$(HTML_DIR)/tutorial $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial2 diff -Nurd -x'*~' libxslt-1.1.26.orig/libexslt/date.c libxslt-1.1.26/libexslt/date.c --- libxslt-1.1.26.orig/libexslt/date.c 2009-09-17 10:51:10.000000000 -0400 +++ libxslt-1.1.26/libexslt/date.c 2011-03-10 00:19:04.000000000 -0500 @@ -28,11 +28,6 @@ #include "config.h" #endif -#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ -#ifndef _AIX51 /* but on AIX we're not using gnu libc */ -#define _POSIX_SOURCE -#endif -#endif #include <libxml/tree.h> #include <libxml/xpath.h> --- NEW FILE: libxslt.info --- Package: libxslt Version: 1.1.26 Revision: 1 BuildDependsOnly: true Maintainer: The Gnome Core Team <fink-gnome-c...@lists.sourceforge.net> BuildDepends: << fink (>= 0.24.12-1), fink-package-precedence, gdbm3, libiconv-dev, libxml2 (>= 2.7.8-1) << Depends: %N-bin (= %v-%r), %N-shlibs (= %v-%r) #Source: mirror:gnome:sources/%n/1.1/%n-%v.tar.bz2 Source: http://xmlsoft.org/sources/%n-%v.tar.gz Source-MD5: e61d0364a30146aaa3001296f853b2b9 PatchFile: %n.patch PatchFile-MD5: 9fc15862f6cf8a228ee5c2005803f03c PatchScript: << %{default_script} perl -pi -e 's,/etc,%p/etc,g' doc/*.html doc/*.1 xsltproc/xsltproc.c perl -pi -e 's/MAKEFLAGS\+=--silent//' `find . -name Makefile.in` << SetLDFLAGS: -no-undefined ConfigureParams: --mandir=%p/share/man --without-python --without-crypto --enable-dependency-tracking --with-html-subdir=libxslt XSLTPROC=/usr/bin/xsltproc CompileScript: << ./configure %c make fink-package-precedence --prohibit-bdep=%n . << InfoTest: TestScript: make check || exit 2 InstallScript: << make install DESTDIR=%d << DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO SplitOff: << Package: %N-shlibs Replaces: %N (<< 1.0.15-2) Depends: << libiconv, libxml2-shlibs (>= 2.7.8-1) << Description: XML stylsheet transformation shared libraries Files: lib/libexslt.0*.dylib lib/libxslt.1*.dylib lib/libxslt-plugins Shlibs: << %p/lib/libexslt.0.dylib 9.0.0 %n (>= 1.1.0-1) %p/lib/libxslt.1.dylib 3.0.0 %n (>= 1.1.0-1) << DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO << SplitOff2: << Package: %N-bin Replaces: %N (<= 1.1.8-1) Depends: << %N-shlibs (= %v-%r), libiconv, libxml2-shlibs (>= 2.7.8-1) << Description: XML stylsheet transformation utility (xsltproc) Files: bin/xsltproc share/man/man1/xsltproc.1 DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO << Description: XML stylesheet transformation library DescDetail: << This set of packages does *not* contain the python bindings. << DescPackaging: << xsltproc moved from %N in 1.1.8-1 to %N-bin in 1.1.8-2 because pkgs need it at runtime but %N is the headers and is BuildDepensOnly:true so cannot be listed in a Depends. Added %N:Depends:%N-bin so that pkgs that depended on %N because they need xsltproc don't have to be changed. All crypto support in libexslt is disabled to avoid needing libgcrypt, so that libxslt can remain out of Section:crypto. See: http://bugzilla.gnome.org/show_bug.cgi?id=538358 Avoid circular dependency with xsltproc: use system's at compile-time (for building included docs) << DescPort: << Patching Makefile in doc to install it correctly Patch libexslt/date.c to allow <time.h> to declare some functions. See: http://bugzilla.gnome.org/show_bug.cgi?id=340590 Ignoring two regession tests for now (look like long-standing problems?). See: http://bugzilla.gnome.org/show_bug.cgi?id=551838 http://bugzilla.gnome.org/show_bug.cgi?id=551839 << License: BSD Homepage: http://www.xmlsoft.org/XSLT/ --- NEW FILE: gdbm.info --- Package: gdbm Version: 1.8.0 Revision: 8 Source: gnu Source-MD5: cd543862287f55ad66e62cc9d82cc906 Depends: %N-shlibs (= %v-%r) BuildDepends: fink (>= 0.24.12-1) Conflicts: gdbm3 Replaces: gdbm3 UpdateConfigGuess: true UpdateLibtool: true NoSetCPPFlags: true PatchFile: %n.patch PatchFile-MD5: d3b15bb797319ffec2066bde90bff0b2 CompileScript: << ./configure %c make prefix=%p << InstallScript: << make install prefix=%i man3dir=%i/share/man/man3 infodir=%i/share/info make install-compat prefix=%i man3dir=%i/share/man/man3 infodir=%i/share/info << DocFiles: COPYING README NEWS InfoDocs: gdbm.info BuildDependsOnly: True SplitOff: << Package: %N-shlibs Replaces: gdbm (<< 1.8.0-5) Files: lib/libgdbm.2.0.0.dylib lib/libgdbm.2.dylib Shlibs: %p/lib/libgdbm.2.dylib 3.0.0 %n (>= 1.8.0-6) Description: Shared libraries for gdbm package DocFiles: COPYING README NEWS << Description: GNU dbm library DescDetail: << gdbm is the GNU implementation of the dbm database API. << DescPackaging: << The Makefile doesn't get the prefix, so it must be set manually in the compile step. The Makefile also tries to set some special file owners and groups. Disabled by a patch. Previous versions by Christoph Pfisterer. << License: GPL Maintainer: Dave Morrison <d...@finkproject.org> Homepage: http://www.gnu.org/software/gdbm/ --- NEW FILE: libxml2.patch --- diff -Nurd -x'*~' libxml2-2.7.8.orig/doc/Makefile.in libxml2-2.7.8/doc/Makefile.in --- libxml2-2.7.8.orig/doc/Makefile.in 2010-11-04 13:28:16.000000000 -0400 +++ libxml2-2.7.8/doc/Makefile.in 2010-11-04 22:30:04.000000000 -0400 @@ -849,7 +849,7 @@ install-data-local: @MKDIR_P@ $(DESTDIR)$(HTML_DIR) - -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(HTML_DIR) + -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.gif $(srcdir)/*.png $(srcdir)/libxml2-api.xml $(DESTDIR)$(HTML_DIR) @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/html -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html diff -Nurd -x'*~' libxml2-2.7.8.orig/doc/examples/Makefile.in libxml2-2.7.8/doc/examples/Makefile.in --- libxml2-2.7.8.orig/doc/examples/Makefile.in 2010-11-04 13:28:16.000000000 -0400 +++ libxml2-2.7.8/doc/examples/Makefile.in 2011-01-04 11:52:34.000000000 -0500 @@ -781,17 +781,19 @@ tags uninstall uninstall-am +all: rebuild + rebuild: examples.xml index.html examples.xml: index.py *.c -@($(srcdir)/index.py) index.html: examples.xml examples.xsl - -@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && xmllint --valid --noout index.html) + -@(xsltproc --nonet examples.xsl examples.xml && echo "Rebuilt web page") install-data-local: - @MKDIR_P@ $(DESTDIR)$(HTML_DIR) - -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR) + @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/examples + -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)/examples valgrind: $(MAKE) CHECKER='valgrind' tests diff -Nurd -x'*~' libxml2-2.7.8.orig/update-sgml-catalog libxml2-2.7.8/update-sgml-catalog --- libxml2-2.7.8.orig/update-sgml-catalog 1969-12-31 19:00:00.000000000 -0500 +++ libxml2-2.7.8/update-sgml-catalog 2010-11-04 22:31:15.000000000 -0400 @@ -0,0 +1,28 @@ +#!/bin/sh -e +# +# update-sgml-catalog +# see DescPackaging field of libxml2 .info file for usage. +# + +CATALOG=@PREFIX@/etc/sgml/catalog +CATALOG_D=@PREFIX@/etc/sgml/catalog.d + +mkdir -p ${CATALOG_D} + +TMPFILE=`tempfile` + +if [ "`echo ${CATALOG_D}/*`" != "${CATALOG_D}/*" ]; then + cat ${CATALOG_D}/* | sed 's/#.*$//g' | { + while read cat; do + if [ -z "${cat}" ]; then + continue + fi + echo CATALOG ${cat} >>${TMPFILE} + done + } +fi + +mv -f ${TMPFILE} ${CATALOG} +chmod 0644 ${CATALOG} + +exit 0 diff -Nurd -x'*~' libxml2-2.7.8.orig/update-xml-catalog libxml2-2.7.8/update-xml-catalog --- libxml2-2.7.8.orig/update-xml-catalog 1969-12-31 19:00:00.000000000 -0500 +++ libxml2-2.7.8/update-xml-catalog 2010-11-04 22:31:15.000000000 -0400 @@ -0,0 +1,29 @@ +#!/bin/sh -e +# +# update-xml-catalog +# see DescPackaging field of libxml2 .info file for usage. +# + +CATALOG=@PREFIX@/etc/xml/catalog +CATALOG_D=@PREFIX@/etc/xml/catalog.d + +mkdir -p ${CATALOG_D} + +TMPFILE=`tempfile` +xmlcatalog --create >>${TMPFILE} + +if [ "`echo ${CATALOG_D}/*`" != "${CATALOG_D}/*" ]; then + cat ${CATALOG_D}/* | sed 's/#.*$//g' | { + while read type orig replace; do + if [ -z "${type}" -o -z "${orig}" -o -z "${replace}" ]; then + continue + fi + eval xmlcatalog --noout --add ${type} ${orig} ${replace} ${TMPFILE} + done + } +fi + +mv -f ${TMPFILE} ${CATALOG} +chmod 0644 ${CATALOG} + +exit 0 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs