head 1.2; access; symbols netbsd-11-0-RC6:1.1.1.2.48.1 netbsd-11-0-RC5:1.1.1.2.48.1 netbsd-11-0-RC4:1.1.1.2 netbsd-11-0-RC3:1.1.1.2 netbsd-11-0-RC2:1.1.1.2 netbsd-11-0-RC1:1.1.1.2 perseant-exfatfs-base-20250801:1.1.1.2 netbsd-11:1.1.1.2.0.48 netbsd-11-base:1.1.1.2 expat-2-7-1:1.1.1.2 expat-2-7-0:1.1.1.2 netbsd-10-1-RELEASE:1.1.1.2 perseant-exfatfs-base-20240630:1.1.1.2 perseant-exfatfs:1.1.1.2.0.46 perseant-exfatfs-base:1.1.1.2 netbsd-8-3-RELEASE:1.1.1.2 netbsd-9-4-RELEASE:1.1.1.2 netbsd-10-0-RELEASE:1.1.1.2 netbsd-10-0-RC6:1.1.1.2 netbsd-10-0-RC5:1.1.1.2 netbsd-10-0-RC4:1.1.1.2 netbsd-10-0-RC3:1.1.1.2 netbsd-10-0-RC2:1.1.1.2 netbsd-10-0-RC1:1.1.1.2 netbsd-10:1.1.1.2.0.44 netbsd-10-base:1.1.1.2 netbsd-9-3-RELEASE:1.1.1.2 expat-2-4-6:1.1.1.2 cjep_sun2x-base1:1.1.1.2 cjep_sun2x:1.1.1.2.0.42 cjep_sun2x-base:1.1.1.2 cjep_staticlib_x-base1:1.1.1.2 netbsd-9-2-RELEASE:1.1.1.2 cjep_staticlib_x:1.1.1.2.0.40 cjep_staticlib_x-base:1.1.1.2 netbsd-9-1-RELEASE:1.1.1.2 phil-wifi-20200421:1.1.1.2 phil-wifi-20200411:1.1.1.2 is-mlppp:1.1.1.2.0.38 is-mlppp-base:1.1.1.2 phil-wifi-20200406:1.1.1.2 netbsd-8-2-RELEASE:1.1.1.2 netbsd-9-0-RELEASE:1.1.1.2 netbsd-9-0-RC2:1.1.1.2 netbsd-9-0-RC1:1.1.1.2 phil-wifi-20191119:1.1.1.2 expat-2-2-8:1.1.1.2 netbsd-9:1.1.1.2.0.36 netbsd-9-base:1.1.1.2 phil-wifi-20190609:1.1.1.2 netbsd-8-1-RELEASE:1.1.1.2 netbsd-8-1-RC1:1.1.1.2 pgoyette-compat-merge-20190127:1.1.1.2 pgoyette-compat-20190127:1.1.1.2 pgoyette-compat-20190118:1.1.1.2 pgoyette-compat-1226:1.1.1.2 pgoyette-compat-1126:1.1.1.2 pgoyette-compat-1020:1.1.1.2 pgoyette-compat-0930:1.1.1.2 pgoyette-compat-0906:1.1.1.2 netbsd-7-2-RELEASE:1.1.1.2 pgoyette-compat-0728:1.1.1.2 netbsd-8-0-RELEASE:1.1.1.2 phil-wifi:1.1.1.2.0.34 phil-wifi-base:1.1.1.2 pgoyette-compat-0625:1.1.1.2 netbsd-8-0-RC2:1.1.1.2 pgoyette-compat-0521:1.1.1.2 pgoyette-compat-0502:1.1.1.2 pgoyette-compat-0422:1.1.1.2 netbsd-8-0-RC1:1.1.1.2 pgoyette-compat-0415:1.1.1.2 pgoyette-compat-0407:1.1.1.2 pgoyette-compat-0330:1.1.1.2 pgoyette-compat-0322:1.1.1.2 pgoyette-compat-0315:1.1.1.2 netbsd-7-1-2-RELEASE:1.1.1.2 pgoyette-compat:1.1.1.2.0.32 pgoyette-compat-base:1.1.1.2 netbsd-7-1-1-RELEASE:1.1.1.2 matt-nb8-mediatek:1.1.1.2.0.30 matt-nb8-mediatek-base:1.1.1.2 perseant-stdc-iso10646:1.1.1.2.0.28 perseant-stdc-iso10646-base:1.1.1.2 expat-2-2-1:1.1.1.2 netbsd-8:1.1.1.2.0.26 netbsd-8-base:1.1.1.2 prg-localcount2-base3:1.1.1.2 prg-localcount2-base2:1.1.1.2 prg-localcount2-base1:1.1.1.2 prg-localcount2:1.1.1.2.0.24 prg-localcount2-base:1.1.1.2 pgoyette-localcount-20170426:1.1.1.2 bouyer-socketcan-base1:1.1.1.2 pgoyette-localcount-20170320:1.1.1.2 netbsd-7-1:1.1.1.2.0.22 netbsd-7-1-RELEASE:1.1.1.2 netbsd-7-1-RC2:1.1.1.2 expat-2-2-0:1.1.1.2 netbsd-7-nhusb-base-20170116:1.1.1.2 bouyer-socketcan:1.1.1.2.0.20 bouyer-socketcan-base:1.1.1.2 pgoyette-localcount-20170107:1.1.1.2 netbsd-7-1-RC1:1.1.1.2 pgoyette-localcount-20161104:1.1.1.2 netbsd-7-0-2-RELEASE:1.1.1.2 localcount-20160914:1.1.1.2 netbsd-7-nhusb:1.1.1.2.0.18 netbsd-7-nhusb-base:1.1.1.2 pgoyette-localcount-20160806:1.1.1.2 pgoyette-localcount-20160726:1.1.1.2 pgoyette-localcount:1.1.1.2.0.16 pgoyette-localcount-base:1.1.1.2 netbsd-7-0-1-RELEASE:1.1.1.2 expat-2-1-1:1.1.1.2 netbsd-7-0:1.1.1.2.0.14 netbsd-7-0-RELEASE:1.1.1.2 netbsd-7-0-RC3:1.1.1.2 netbsd-7-0-RC2:1.1.1.2 netbsd-7-0-RC1:1.1.1.2 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.2.0.12 netbsd-7-base:1.1.1.2 yamt-pagecache-base9:1.1.1.2 yamt-pagecache-tag8:1.1.1.2.2.2 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 tls-earlyentropy:1.1.1.2.0.10 tls-earlyentropy-base:1.1.1.2 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.2 riastradh-drm2-base3:1.1.1.2 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 riastradh-drm2-base2:1.1.1.2 riastradh-drm2-base1:1.1.1.2 riastradh-drm2:1.1.1.2.0.6 riastradh-drm2-base:1.1.1.2 netbsd-6-1:1.1.1.1.0.8 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 agc-symver:1.1.1.2.0.8 agc-symver-base:1.1.1.2 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 yamt-pagecache-base8:1.1.1.2 netbsd-6-0-1-RELEASE:1.1.1.1 yamt-pagecache-base7:1.1.1.2 matt-nb6-plus-nbase:1.1.1.1 yamt-pagecache-base6:1.1.1.2 netbsd-6-0:1.1.1.1.0.6 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 tls-maxphys:1.1.1.2.0.4 tls-maxphys-base:1.1.1.2 matt-nb6-plus:1.1.1.1.0.4 matt-nb6-plus-base:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 yamt-pagecache-base5:1.1.1.2 yamt-pagecache:1.1.1.2.0.2 yamt-pagecache-base4:1.1.1.2 expat-2-1-0:1.1.1.2 netbsd-6:1.1.1.1.0.2 netbsd-6-base:1.1.1.1 expat-2-0-1:1.1.1.1 expat:1.1.1; locks; strict; comment @# @; 1.2 date 2026.06.13.16.50.53; author jdc; state dead; branches; next 1.1; commitid Fg5Ae2fwu3t5TEJG; 1.1 date 2012.02.11.18.18.23; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.02.11.18.18.23; author tron; state Exp; branches 1.1.1.1.2.1 1.1.1.1.6.1 1.1.1.1.8.1; next 1.1.1.2; 1.1.1.2 date 2012.04.06.10.23.13; author spz; state Exp; branches 1.1.1.2.2.1 1.1.1.2.48.1; next ; 1.1.1.1.2.1 date 2016.05.18.10.49.23; author snj; state Exp; branches; next ; commitid rBQKbLw2qANU6X6z; 1.1.1.1.6.1 date 2016.05.18.10.40.42; author snj; state Exp; branches; next ; commitid sn3ewMlOwSnM3X6z; 1.1.1.1.8.1 date 2016.05.18.10.45.13; author snj; state Exp; branches; next ; commitid 5xlzCAOqLNUu5X6z; 1.1.1.2.2.1 date 2012.04.06.10.23.13; author yamt; state dead; branches; next 1.1.1.2.2.2; 1.1.1.2.2.2 date 2012.04.17.00.04.41; author yamt; state Exp; branches; next ; 1.1.1.2.48.1 date 2026.06.16.08.23.20; author martin; state dead; branches; next ; commitid CEh2BY99NRqLYZJG; desc @@ 1.2 log @Merge expat 2.8.1 @ text @dnl Check if --with-expat[=PREFIX] is specified and dnl Expat >= 1.95.0 is installed in the system. dnl If yes, substitute EXPAT_CFLAGS, EXPAT_LIBS with regard to dnl the specified PREFIX and set with_expat to PREFIX, or 'yes' if PREFIX dnl has not been specified. Also HAVE_LIBEXPAT, HAVE_EXPAT_H are defined. dnl If --with-expat has not been specified, set with_expat to 'no'. dnl In addition, an Automake conditional EXPAT_INSTALLED is set accordingly. dnl This is necessary to adapt a whole lot of packages that have expat dnl bundled as a static library. AC_DEFUN(AM_WITH_EXPAT, [ AC_ARG_WITH(expat, [ --with-expat=PREFIX Use system Expat library], , with_expat=no) AM_CONDITIONAL(EXPAT_INSTALLED, test $with_expat != no) EXPAT_CFLAGS= EXPAT_LIBS= if test $with_expat != no; then if test $with_expat != yes; then EXPAT_CFLAGS="-I$with_expat/include" EXPAT_LIBS="-L$with_expat/lib" fi AC_CHECK_LIB(expat, XML_ParserCreate, [ EXPAT_LIBS="$EXPAT_LIBS -lexpat" expat_found=yes ], [ expat_found=no ], "$EXPAT_LIBS") if test $expat_found = no; then AC_MSG_ERROR([Could not find the Expat library]) fi expat_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $EXPAT_CFLAGS" AC_CHECK_HEADERS(expat.h, , expat_found=no) if test $expat_found = no; then AC_MSG_ERROR([Could not find expat.h]) fi CFLAGS="$expat_save_CFLAGS" fi AC_SUBST(EXPAT_CFLAGS) AC_SUBST(EXPAT_LIBS) ]) @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Initial import of "expat" 2.0.1 into base: This is James Clark's expat XML parser library in C. It is a stream oriented parser that requires setting handlers to deal with the structure that the parser discovers in the document. This is the first part of the fix for PR lib/40346. @ text @@ 1.1.1.1.2.1 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @d10 1 a10 1 AC_DEFUN([AM_WITH_EXPAT], @ 1.1.1.1.8.1 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @d10 1 a10 1 AC_DEFUN([AM_WITH_EXPAT], @ 1.1.1.1.6.1 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @d10 1 a10 1 AC_DEFUN([AM_WITH_EXPAT], @ 1.1.1.2 log @import of expat 2.1.0 Fixes CVE-2012-1147, CVE-2012-1148 and CVE-2012-0876 (other security issues have been previously fixed in our tree) relevant Changes: Release 2.1.0 Sat March 24 2012 - Bug Fixes: #1742315: Harmful XML_ParserCreateNS suggestion. #2895533: CVE-2012-1147 - Resource leak in readfilemap.c. #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3. #1983953, 2517952, 2517962, 2649838: Build modifications using autoreconf instead of buildconf.sh. #2815947, #2884086: OBJEXT and EXEEXT support while building. #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences. #2517938: xmlwf should return non-zero exit status if not well-formed. #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml. #2855609: Dangling positionPtr after error. #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8(). #2958794: CVE-2012-1148 - Memory leak in poolGrow. #2990652: CMake support. #3010819: UNEXPECTED_STATE with a trailing "%" in entity value. #3206497: Unitialized memory returned from XML_Parse. #3287849: make check fails on mingw-w64. #3496608: CVE-2012-0876 - Hash DOS attack. - Patches: #1749198: pkg-config support. #3010222: Fix for bug #3010819. #3312568: CMake support. #3446384: Report byte offsets for attr names and values. - New Features / API changes: Added new API member XML_SetHashSalt() that allows setting an intial value (salt) for hash calculations. This is part of the fix for bug #3496608 to randomize hash parameters. When compiled with XML_ATTR_INFO defined, adds new API member XML_GetAttributeInfo() that allows retrieving the byte offsets for attribute names and values (patch #3446384). Added CMake build system. See bug #2990652 and patch #3312568. Added run-benchmark target to Makefile.in - relies on testdata module present in the same relative location as in the repository. @ text @d10 1 a10 1 AC_DEFUN([AM_WITH_EXPAT], @ 1.1.1.2.48.1 log @Pull up the following revisions, requested by jdc in ticket #311: external/mit/expat/dist/lib/libexpat.map.in up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random.c up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random.h up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random_buf.c up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random_buf.h up to 1.1.1.1 external/mit/expat/dist/lib/random_dev_urandom.c up to 1.1.1.1 external/mit/expat/dist/lib/random_dev_urandom.h up to 1.1.1.1 external/mit/expat/dist/lib/random_getentropy.c up to 1.1.1.1 external/mit/expat/dist/lib/random_getentropy.h up to 1.1.1.1 external/mit/expat/dist/lib/random_getrandom.c up to 1.1.1.1 external/mit/expat/dist/lib/random_getrandom.h up to 1.1.1.1 external/mit/expat/dist/lib/random_rand_s.c up to 1.1.1.1 external/mit/expat/dist/lib/random_rand_s.h up to 1.1.1.1 external/mit/expat/dist/coverage.sh up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__linux.cmake.in up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__macos.cmake.in up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__windows.cmake.in up to 1.1.1.1 external/mit/expat/dist/qa.sh up to 1.1.1.1 external/mit/expat/dist/gennmtab/gennmtab.c up to 1.1.1.1 external/mit/expat/dist/.clang-format up to 1.1.1.1 external/mit/expat/dist/apply-clang-format.sh up to 1.1.1.1 external/mit/expat/dist/apply-clang-tidy.sh up to 1.1.1.1 external/mit/expat/dist/clean_coverage.sh up to 1.1.1.1 external/mit/expat/dist/configure-ac-style.md up to 1.1.1.1 external/mit/expat/dist/distribute.sh up to 1.1.1.1 external/mit/expat/dist/memory-sanitizer-blacklist.txt up to 1.1.1.1 external/mit/expat/dist/Makefile.in delete external/mit/expat/dist/aclocal.m4 delete external/mit/expat/dist/configure delete external/mit/expat/dist/expat_config.h.in delete external/mit/expat/dist/cmake/autotools/expat.cmake delete external/mit/expat/dist/conftools/compile delete external/mit/expat/dist/conftools/ar-lib delete external/mit/expat/dist/conftools/config.guess delete external/mit/expat/dist/conftools/config.sub delete external/mit/expat/dist/conftools/depcomp delete external/mit/expat/dist/conftools/expat.m4 delete external/mit/expat/dist/conftools/missing delete external/mit/expat/dist/conftools/install-sh delete external/mit/expat/dist/conftools/ltmain.sh delete external/mit/expat/dist/conftools/test-driver delete external/mit/expat/dist/doc/Makefile.in delete external/mit/expat/dist/doc/xmlwf.1 delete external/mit/expat/dist/examples/Makefile.in delete external/mit/expat/dist/lib/Makefile.in delete external/mit/expat/dist/m4/libtool.m4 delete external/mit/expat/dist/m4/ltoptions.m4 delete external/mit/expat/dist/m4/ltsugar.m4 delete external/mit/expat/dist/m4/ltversion.m4 delete external/mit/expat/dist/m4/lt~obsolete.m4 delete external/mit/expat/dist/tests/benchmark/Makefile.in delete external/mit/expat/dist/tests/Makefile.in delete external/mit/expat/dist/tests/acc_tests_cxx.cpp delete external/mit/expat/dist/tests/alloc_tests_cxx.cpp delete external/mit/expat/dist/tests/basic_tests_cxx.cpp delete external/mit/expat/dist/tests/chardata_cxx.cpp delete external/mit/expat/dist/tests/common_cxx.cpp delete external/mit/expat/dist/tests/dummy_cxx.cpp delete external/mit/expat/dist/tests/handlers_cxx.cpp delete external/mit/expat/dist/tests/memcheck_cxx.cpp delete external/mit/expat/dist/tests/minicheck_cxx.cpp delete external/mit/expat/dist/tests/misc_tests_cxx.cpp delete external/mit/expat/dist/tests/ns_tests_cxx.cpp delete external/mit/expat/dist/tests/nsalloc_tests_cxx.cpp delete external/mit/expat/dist/tests/runtests_cxx.cpp delete external/mit/expat/dist/tests/structdata_cxx.cpp delete external/mit/expat/dist/xmlwf/Makefile.in delete external/mit/expat/dist/CMake.README up to 1.1.1.9 external/mit/expat/dist/CMakeLists.txt up to 1.1.1.9 external/mit/expat/dist/Changes up to 1.1.1.10 external/mit/expat/dist/ConfigureChecks.cmake up to 1.1.1.5 external/mit/expat/dist/Makefile.am up to 1.1.1.5 external/mit/expat/dist/README.md up to 1.1.1.5 external/mit/expat/dist/configure.ac up to 1.1.1.8 external/mit/expat/dist/expat_config.h.cmake up to 1.1.1.4 external/mit/expat/dist/fix-xmltest-log.sh up to 1.1.1.4 external/mit/expat/dist/doc/reference.html up to 1.1.1.9 external/mit/expat/dist/doc/xmlwf.xml up to 1.1.1.6 external/mit/expat/dist/examples/element_declarations.c up to 1.1.1.2 external/mit/expat/dist/fuzz/xml_lpm_fuzzer.cpp up to 1.1.1.2 external/mit/expat/dist/fuzz/xml_parse_fuzzer.c up to 1.1.1.3 external/mit/expat/dist/fuzz/xml_parsebuffer_fuzzer.c up to 1.1.1.3 external/mit/expat/dist/lib/Makefile.am up to 1.1.1.4 external/mit/expat/dist/lib/expat.h up to 1.1.1.10 external/mit/expat/dist/lib/expat_external.h up to 1.1.1.6 external/mit/expat/dist/lib/internal.h up to 1.1.1.7 external/mit/expat/dist/lib/libexpat.def.cmake up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c up to 1.12 external/mit/expat/dist/lib/xmlrole.c up to 1.1.1.8 external/mit/expat/dist/lib/xmlrole.h up to 1.1.1.5 external/mit/expat/dist/lib/xmltok.c up to 1.8 external/mit/expat/dist/lib/xmltok.h up to 1.6 external/mit/expat/dist/lib/xmltok_ns.c up to 1.1.1.4 external/mit/expat/dist/tests/Makefile.am up to 1.1.1.4 external/mit/expat/dist/tests/alloc_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/basic_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/common.c up to 1.1.1.3 external/mit/expat/dist/tests/handlers.c up to 1.1.1.2 external/mit/expat/dist/tests/handlers.h up to 1.1.1.2 external/mit/expat/dist/tests/memcheck.c up to 1.1.1.5 external/mit/expat/dist/tests/minicheck.c up to 1.1.1.7 external/mit/expat/dist/tests/minicheck.h up to 1.1.1.8 external/mit/expat/dist/tests/misc_tests.c up to 1.1.1.3 external/mit/expat/dist/tests/nsalloc_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/structdata.c up to 1.1.1.4 external/mit/expat/dist/tests/xmltest.sh up to 1.7 external/mit/expat/dist/win32/README.txt up to 1.1.1.7 external/mit/expat/dist/win32/build_expat_iss.bat up to 1.1.1.4 external/mit/expat/dist/win32/expat.iss up to 1.1.1.10 external/mit/expat/dist/xmlwf/unixfilemap.c up to 1.1.1.6 external/mit/expat/dist/xmlwf/xmlfile.c up to 1.1.1.7 external/mit/expat/dist/xmlwf/xmlwf.c up to 1.1.1.9 external/mit/expat/dist/xmlwf/xmlwf_helpgen.py up to 1.1.1.4 Import expat 2.8.1 as expat-2-8-1 Merge expat 2.8.1 @ text @@ 1.1.1.2.2.1 log @file expat.m4 was added on branch yamt-pagecache on 2012-04-17 00:04:41 +0000 @ text @d1 43 @ 1.1.1.2.2.2 log @sync with head @ text @a0 43 dnl Check if --with-expat[=PREFIX] is specified and dnl Expat >= 1.95.0 is installed in the system. dnl If yes, substitute EXPAT_CFLAGS, EXPAT_LIBS with regard to dnl the specified PREFIX and set with_expat to PREFIX, or 'yes' if PREFIX dnl has not been specified. Also HAVE_LIBEXPAT, HAVE_EXPAT_H are defined. dnl If --with-expat has not been specified, set with_expat to 'no'. dnl In addition, an Automake conditional EXPAT_INSTALLED is set accordingly. dnl This is necessary to adapt a whole lot of packages that have expat dnl bundled as a static library. AC_DEFUN([AM_WITH_EXPAT], [ AC_ARG_WITH(expat, [ --with-expat=PREFIX Use system Expat library], , with_expat=no) AM_CONDITIONAL(EXPAT_INSTALLED, test $with_expat != no) EXPAT_CFLAGS= EXPAT_LIBS= if test $with_expat != no; then if test $with_expat != yes; then EXPAT_CFLAGS="-I$with_expat/include" EXPAT_LIBS="-L$with_expat/lib" fi AC_CHECK_LIB(expat, XML_ParserCreate, [ EXPAT_LIBS="$EXPAT_LIBS -lexpat" expat_found=yes ], [ expat_found=no ], "$EXPAT_LIBS") if test $expat_found = no; then AC_MSG_ERROR([Could not find the Expat library]) fi expat_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $EXPAT_CFLAGS" AC_CHECK_HEADERS(expat.h, , expat_found=no) if test $expat_found = no; then AC_MSG_ERROR([Could not find expat.h]) fi CFLAGS="$expat_save_CFLAGS" fi AC_SUBST(EXPAT_CFLAGS) AC_SUBST(EXPAT_LIBS) ]) @