head 1.94; access; symbols pkgsrc-2023Q4:1.92.0.2 pkgsrc-2023Q4-base:1.92 pkgsrc-2023Q3:1.88.0.2 pkgsrc-2023Q3-base:1.88 pkgsrc-2023Q2:1.87.0.2 pkgsrc-2023Q2-base:1.87 pkgsrc-2023Q1:1.84.0.2 pkgsrc-2023Q1-base:1.84 pkgsrc-2022Q4:1.82.0.2 pkgsrc-2022Q4-base:1.82 pkgsrc-2022Q3:1.81.0.4 pkgsrc-2022Q3-base:1.81 pkgsrc-2022Q2:1.81.0.2 pkgsrc-2022Q2-base:1.81 pkgsrc-2022Q1:1.79.0.2 pkgsrc-2022Q1-base:1.79 pkgsrc-2021Q4:1.70.0.2 pkgsrc-2021Q4-base:1.70 pkgsrc-2021Q3:1.69.0.4 pkgsrc-2021Q3-base:1.69 pkgsrc-2021Q2:1.69.0.2 pkgsrc-2021Q2-base:1.69 pkgsrc-2021Q1:1.66.0.4 pkgsrc-2021Q1-base:1.66 pkgsrc-2020Q4:1.66.0.2 pkgsrc-2020Q4-base:1.66 pkgsrc-2020Q3:1.65.0.4 pkgsrc-2020Q3-base:1.65 pkgsrc-2020Q2:1.65.0.2 pkgsrc-2020Q2-base:1.65 pkgsrc-2020Q1:1.64.0.8 pkgsrc-2020Q1-base:1.64 pkgsrc-2019Q4:1.64.0.10 pkgsrc-2019Q4-base:1.64 pkgsrc-2019Q3:1.64.0.6 pkgsrc-2019Q3-base:1.64 pkgsrc-2019Q2:1.64.0.4 pkgsrc-2019Q2-base:1.64 pkgsrc-2019Q1:1.64.0.2 pkgsrc-2019Q1-base:1.64 pkgsrc-2018Q4:1.62.0.4 pkgsrc-2018Q4-base:1.62 pkgsrc-2018Q3:1.62.0.2 pkgsrc-2018Q3-base:1.62 pkgsrc-2018Q2:1.61.0.4 pkgsrc-2018Q2-base:1.61 pkgsrc-2018Q1:1.61.0.2 pkgsrc-2018Q1-base:1.61 pkgsrc-2017Q4:1.60.0.2 pkgsrc-2017Q4-base:1.60 pkgsrc-2017Q3:1.56.0.4 pkgsrc-2017Q3-base:1.56 pkgsrc-2017Q2:1.55.0.2 pkgsrc-2017Q2-base:1.55 pkgsrc-2017Q1:1.54.0.2 pkgsrc-2017Q1-base:1.54 pkgsrc-2016Q4:1.53.0.6 pkgsrc-2016Q4-base:1.53 pkgsrc-2016Q3:1.53.0.4 pkgsrc-2016Q3-base:1.53 pkgsrc-2016Q2:1.53.0.2 pkgsrc-2016Q2-base:1.53 pkgsrc-2016Q1:1.51.0.4 pkgsrc-2016Q1-base:1.51 pkgsrc-2015Q4:1.51.0.2 pkgsrc-2015Q4-base:1.51 pkgsrc-2015Q3:1.50.0.8 pkgsrc-2015Q3-base:1.50 pkgsrc-2015Q2:1.50.0.6 pkgsrc-2015Q2-base:1.50 pkgsrc-2015Q1:1.50.0.4 pkgsrc-2015Q1-base:1.50 pkgsrc-2014Q4:1.50.0.2 pkgsrc-2014Q4-base:1.50 pkgsrc-2014Q3:1.49.0.6 pkgsrc-2014Q3-base:1.49 pkgsrc-2014Q2:1.49.0.4 pkgsrc-2014Q2-base:1.49 pkgsrc-2014Q1:1.49.0.2 pkgsrc-2014Q1-base:1.49 pkgsrc-2013Q4:1.47.0.2 pkgsrc-2013Q4-base:1.47 pkgsrc-2013Q3:1.46.0.4 pkgsrc-2013Q3-base:1.46 pkgsrc-2013Q2:1.46.0.2 pkgsrc-2013Q2-base:1.46 pkgsrc-2013Q1:1.44.0.4 pkgsrc-2013Q1-base:1.44 pkgsrc-2012Q4:1.44.0.2 pkgsrc-2012Q4-base:1.44 pkgsrc-2012Q3:1.42.0.2 pkgsrc-2012Q3-base:1.42 pkgsrc-2012Q2:1.41.0.2 pkgsrc-2012Q2-base:1.41 pkgsrc-2012Q1:1.40.0.2 pkgsrc-2012Q1-base:1.40 pkgsrc-2011Q4:1.39.0.2 pkgsrc-2011Q4-base:1.39 pkgsrc-2011Q3:1.37.0.8 pkgsrc-2011Q3-base:1.37 pkgsrc-2011Q2:1.37.0.6 pkgsrc-2011Q2-base:1.37 pkgsrc-2011Q1:1.37.0.4 pkgsrc-2011Q1-base:1.37 pkgsrc-2010Q4:1.37.0.2 pkgsrc-2010Q4-base:1.37 pkgsrc-2010Q3:1.36.0.4 pkgsrc-2010Q3-base:1.36 pkgsrc-2010Q2:1.36.0.2 pkgsrc-2010Q2-base:1.36 pkgsrc-2010Q1:1.34.0.4 pkgsrc-2010Q1-base:1.34 pkgsrc-2009Q4:1.34.0.2 pkgsrc-2009Q4-base:1.34 pkgsrc-2009Q3:1.33.0.6 pkgsrc-2009Q3-base:1.33 pkgsrc-2009Q2:1.33.0.4 pkgsrc-2009Q2-base:1.33 pkgsrc-2009Q1:1.33.0.2 pkgsrc-2009Q1-base:1.33 pkgsrc-2008Q4:1.31.0.2 pkgsrc-2008Q4-base:1.31 pkgsrc-2008Q3:1.30.0.8 pkgsrc-2008Q3-base:1.30 cube-native-xorg:1.30.0.6 cube-native-xorg-base:1.30 pkgsrc-2008Q2:1.30.0.4 pkgsrc-2008Q2-base:1.30 cwrapper:1.30.0.2 pkgsrc-2008Q1:1.29.0.4 pkgsrc-2008Q1-base:1.29 pkgsrc-2007Q4:1.29.0.2 pkgsrc-2007Q4-base:1.29 pkgsrc-2007Q3:1.28.0.2 pkgsrc-2007Q3-base:1.28 pkgsrc-2007Q2:1.26.0.6 pkgsrc-2007Q2-base:1.26 pkgsrc-2007Q1:1.26.0.4 pkgsrc-2007Q1-base:1.26 pkgsrc-2006Q4:1.26.0.2 pkgsrc-2006Q4-base:1.26 pkgsrc-2006Q3:1.24.0.4 pkgsrc-2006Q3-base:1.24 pkgsrc-2006Q2:1.24.0.2 pkgsrc-2006Q2-base:1.24 pkgsrc-2006Q1:1.19.0.2 pkgsrc-2006Q1-base:1.19 pkgsrc-2005Q4:1.17.0.2 pkgsrc-2005Q4-base:1.17 pkgsrc-2005Q3:1.16.0.2 pkgsrc-2005Q3-base:1.16 pkgsrc-2005Q2:1.15.0.2 pkgsrc-2005Q2-base:1.15 pkgsrc-2005Q1:1.13.0.4 pkgsrc-2005Q1-base:1.13 pkgsrc-2004Q4:1.13.0.2 pkgsrc-2004Q4-base:1.13 pkgsrc-2004Q3:1.10.0.2 pkgsrc-2004Q3-base:1.10 pkgsrc-2004Q2:1.7.0.2 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.94 date 2024.01.27.10.07.46; author wiz; state Exp; branches; next 1.93; commitid fC2hwODKtIUHy4WE; 1.93 date 2024.01.27.10.06.41; author wiz; state Exp; branches; next 1.92; commitid SCkLSbuXx3l6y4WE; 1.92 date 2023.12.18.16.09.47; author wiz; state Exp; branches; next 1.91; commitid jK9CWzes6y9BQXQE; 1.91 date 2023.12.18.16.08.32; author thor; state Exp; branches; next 1.90; commitid a70Fs80LYAWTPXQE; 1.90 date 2023.11.08.13.21.08; author wiz; state Exp; branches; next 1.89; commitid PsuHTklAIsF4bOLE; 1.89 date 2023.10.23.06.37.54; author wiz; state Exp; branches; next 1.88; commitid 4YdPmMYgk9hutIJE; 1.88 date 2023.09.18.13.21.40; author gdt; state Exp; branches; next 1.87; commitid 68Azb1zybvEjQfFE; 1.87 date 2023.06.06.12.42.33; author riastradh; state Exp; branches; next 1.86; commitid xhspr6Z8JLQOWSrE; 1.86 date 2023.04.19.08.11.39; author adam; state Exp; branches; next 1.85; commitid B8gCWhWtMX9vZGlE; 1.85 date 2023.04.15.13.06.21; author gutteridge; state Exp; branches; next 1.84; commitid r7Dz9kMcpNmDLclE; 1.84 date 2023.01.27.14.52.53; author jperkin; state Exp; branches 1.84.2.1; next 1.83; commitid FSQiL8OfHMZFRbbE; 1.83 date 2023.01.22.10.30.22; author wiz; state Exp; branches; next 1.82; commitid lu7LBMhR4WAOzwaE; 1.82 date 2022.11.23.16.21.13; author adam; state Exp; branches 1.82.2.1; next 1.81; commitid ju2K3LUYlTJKqQ2E; 1.81 date 2022.05.06.00.55.55; author gutteridge; state Exp; branches; next 1.80; commitid MHFX05c35NwCMVCD; 1.80 date 2022.04.18.19.12.11; author adam; state Exp; branches; next 1.79; commitid eC9Na3jrfOOUpIAD; 1.79 date 2022.03.15.03.21.20; author gutteridge; state Exp; branches; next 1.78; commitid m02dSzxQyvSsfgwD; 1.78 date 2022.03.12.07.33.22; author kim; state Exp; branches; next 1.77; commitid 3Bqh0LWyc66gKTvD; 1.77 date 2022.01.14.14.12.03; author tnn; state Exp; branches; next 1.76; commitid qn8pHUMZMyd2NBoD; 1.76 date 2022.01.09.11.58.16; author wiz; state Exp; branches; next 1.75; commitid rxxqjQhfXtIQcXnD; 1.75 date 2022.01.07.11.46.58; author tnn; state Exp; branches; next 1.74; commitid PP2prOP3c56hdHnD; 1.74 date 2022.01.04.20.54.58; author wiz; state Exp; branches; next 1.73; commitid CYyhdK9qtoffkmnD; 1.73 date 2022.01.01.21.21.14; author wiz; state Exp; branches; next 1.72; commitid 5QwRuuX7dVOlAYmD; 1.72 date 2021.12.31.15.18.37; author tnn; state Exp; branches; next 1.71; commitid 7EtoWzt0GRXWBOmD; 1.71 date 2021.12.30.21.32.38; author wiz; state Exp; branches; next 1.70; commitid RPMEirwrhildIImD; 1.70 date 2021.12.08.16.06.45; author adam; state Exp; branches; next 1.69; commitid 2PyWjHx5T8rqARjD; 1.69 date 2021.06.12.17.02.51; author gutteridge; state Exp; branches; next 1.68; commitid oLbjqRnfWH8RFRWC; 1.68 date 2021.05.23.19.31.47; author nia; state Exp; branches; next 1.67; commitid SgZ0MCnPCq839jUC; 1.67 date 2021.04.21.11.42.48; author adam; state Exp; branches; next 1.66; commitid fph0Axs0eT3az9QC; 1.66 date 2020.11.05.09.09.14; author ryoon; state Exp; branches 1.66.4.1; next 1.65; commitid VqGaBtHnBBcd5GuC; 1.65 date 2020.06.02.08.24.51; author adam; state Exp; branches; next 1.64; commitid nisovMpvvZm3RCaC; 1.64 date 2019.01.09.19.09.03; author adam; state Exp; branches; next 1.63; commitid LaGInNPEhzCJO87B; 1.63 date 2019.01.09.13.40.51; author wiz; state Exp; branches; next 1.62; commitid NNSp3qCsCVRg077B; 1.62 date 2018.07.13.11.31.58; author jperkin; state Exp; branches 1.62.4.1; next 1.61; commitid CUGcoYp7SiMb5YJA; 1.61 date 2018.03.11.17.49.53; author wiz; state Exp; branches; next 1.60; commitid i8vfbpZN4xrS94uA; 1.60 date 2017.11.08.22.51.54; author prlw1; state Exp; branches; next 1.59; commitid gMHdJcb29LyCMheA; 1.59 date 2017.11.06.16.16.53; author prlw1; state Exp; branches; next 1.58; commitid DBJHeWTSZCS9EZdA; 1.58 date 2017.11.06.16.02.00; author prlw1; state Exp; branches; next 1.57; commitid tGRJKjg4vnarzZdA; 1.57 date 2017.10.31.13.15.44; author fhajny; state Exp; branches; next 1.56; commitid o0VaumEqA6yyPcdA; 1.56 date 2017.09.10.20.50.07; author wiz; state Exp; branches; next 1.55; commitid AAx9kaxiXBou0H6A; 1.55 date 2017.07.01.16.23.19; author schmonz; state Exp; branches; next 1.54; commitid 8NfWGHcDNaYvOxXz; 1.54 date 2016.12.30.02.17.49; author dholland; state Exp; branches; next 1.53; commitid 3d0v7nPjgB211Xzz; 1.53 date 2016.05.27.23.52.05; author pgoyette; state Exp; branches; next 1.52; commitid v1ECGfc1xWrv9b8z; 1.52 date 2016.05.27.10.37.18; author pgoyette; state Exp; branches; next 1.51; commitid 29eVKAw2hV3QK68z; 1.51 date 2015.11.23.00.01.06; author wiz; state Exp; branches; next 1.50; commitid 6ZVoPTvlAVVnd9Ky; 1.50 date 2014.10.20.19.11.23; author drochner; state Exp; branches; next 1.49; commitid MxG1cM7mhLi5pYUx; 1.49 date 2014.03.13.11.08.52; author jperkin; state Exp; branches 1.49.6.1; next 1.48; commitid KxozNJIlfZNkPwsx; 1.48 date 2014.01.25.10.30.24; author wiz; state Exp; branches; next 1.47; commitid VOWgk3vYhVXj8umx; 1.47 date 2013.10.03.07.52.32; author prlw1; state Exp; branches; next 1.46; commitid EbiKGSsWImZwVO7x; 1.46 date 2013.05.26.09.33.16; author adam; state Exp; branches; next 1.45; commitid 9oobSdLDuoedF7Rw; 1.45 date 2013.04.06.21.07.36; author rodent; state Exp; branches; next 1.44; 1.44 date 2012.10.25.06.56.50; author asau; state Exp; branches; next 1.43; 1.43 date 2012.10.10.16.07.19; author wiz; state Exp; branches; next 1.42; 1.42 date 2012.07.01.14.26.32; author wiz; state Exp; branches; next 1.41; 1.41 date 2012.06.14.07.45.30; author sbd; state Exp; branches; next 1.40; 1.40 date 2012.02.07.11.21.51; author obache; state Exp; branches; next 1.39; 1.39 date 2011.12.02.13.19.59; author joerg; state Exp; branches; next 1.38; 1.38 date 2011.11.29.19.32.59; author minskim; state Exp; branches; next 1.37; 1.37 date 2010.11.26.17.52.10; author drochner; state Exp; branches; next 1.36; 1.36 date 2010.04.15.11.49.28; author jmcneill; state Exp; branches; next 1.35; 1.35 date 2010.04.13.16.05.01; author drochner; state Exp; branches; next 1.34; 1.34 date 2009.10.31.03.05.47; author wiz; state Exp; branches; next 1.33; 1.33 date 2009.03.05.18.51.32; author joerg; state Exp; branches; next 1.32; 1.32 date 2009.02.21.14.06.09; author wiz; state Exp; branches; next 1.31; 1.31 date 2008.10.16.13.32.49; author drochner; state Exp; branches; next 1.30; 1.30 date 2008.04.28.17.05.42; author drochner; state Exp; branches; next 1.29; 1.29 date 2007.10.24.14.39.59; author joerg; state Exp; branches; next 1.28; 1.28 date 2007.08.31.17.29.51; author drochner; state Exp; branches; next 1.27; 1.27 date 2007.07.09.14.53.23; author drochner; state Exp; branches; next 1.26; 1.26 date 2006.12.01.11.02.50; author joerg; state Exp; branches; next 1.25; 1.25 date 2006.10.30.20.59.10; author drochner; state Exp; branches; next 1.24; 1.24 date 2006.06.09.21.16.39; author drochner; state Exp; branches; next 1.23; 1.23 date 2006.05.03.11.03.29; author drochner; state Exp; branches; next 1.22; 1.22 date 2006.04.22.09.22.15; author rillig; state Exp; branches; next 1.21; 1.21 date 2006.04.17.14.43.47; author minskim; state Exp; branches; next 1.20; 1.20 date 2006.04.06.06.22.51; author reed; state Exp; branches; next 1.19; 1.19 date 2006.02.07.20.58.07; author drochner; state Exp; branches; next 1.18; 1.18 date 2006.02.05.23.11.07; author joerg; state Exp; branches; next 1.17; 1.17 date 2005.10.07.15.42.30; author drochner; state Exp; branches; next 1.16; 1.16 date 2005.07.13.09.53.31; author drochner; state Exp; branches; next 1.15; 1.15 date 2005.05.13.11.13.11; author drochner; state Exp; branches; next 1.14; 1.14 date 2005.04.11.21.47.42; author tv; state Exp; branches; next 1.13; 1.13 date 2004.11.25.18.37.43; author minskim; state Exp; branches; next 1.12; 1.12 date 2004.11.03.16.41.56; author minskim; state Exp; branches; next 1.11; 1.11 date 2004.10.03.00.18.20; author tv; state Exp; branches; next 1.10; 1.10 date 2004.08.24.11.43.32; author drochner; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 2004.07.22.09.16.02; author recht; state Exp; branches; next 1.8; 1.8 date 2004.07.06.16.43.01; author recht; state Exp; branches; next 1.7; 1.7 date 2004.04.19.15.30.41; author minskim; state Exp; branches; next 1.6; 1.6 date 2004.04.10.08.58.45; author minskim; state Exp; branches; next 1.5; 1.5 date 2004.02.12.16.19.58; author minskim; state Exp; branches; next 1.4; 1.4 date 2004.01.31.22.19.06; author xtraeme; state Exp; branches; next 1.3; 1.3 date 2004.01.23.21.50.49; author jmmv; state Exp; branches; next 1.2; 1.2 date 2004.01.20.12.26.50; author agc; state Exp; branches; next 1.1; 1.1 date 2004.01.04.11.47.17; author recht; state Exp; branches 1.1.1.1; next ; 1.84.2.1 date 2023.04.16.14.52.36; author bsiegert; state Exp; branches; next ; commitid nkIk711mJulpkllE; 1.82.2.1 date 2023.03.08.21.02.02; author spz; state Exp; branches; next ; commitid ec1sL1aHYE2FBmgE; 1.66.4.1 date 2021.05.25.14.44.14; author bsiegert; state Exp; branches; next ; commitid hpkp0bmISlZCuxUC; 1.62.4.1 date 2019.02.18.14.05.52; author bsiegert; state Exp; branches; next ; commitid EEDBDfVeUgPARfcB; 1.49.6.1 date 2014.11.03.19.39.08; author tron; state Exp; branches; next ; commitid ToRe6fvmovhN6MWx; 1.10.2.1 date 2004.11.30.00.04.43; author salo; state Exp; branches; next ; 1.1.1.1 date 2004.01.04.11.47.17; author recht; state Exp; branches; next ; desc @@ 1.94 log @py-libxml2: remove trailing whitespace @ text @# $NetBSD: Makefile,v 1.93 2024/01/27 10:06:41 wiz Exp $ .include "../../textproc/libxml2/Makefile.common" PKGNAME= ${PYPKGPREFIX}-${DISTNAME} COMMENT= Python wrapper for libxml2 LICENSE= modified-bsd USE_GCC_RUNTIME= yes PYSETUPSUBDIR= python GNU_CONFIGURE= YES USE_TOOLS+= pkg-config # python/setup.py looks in various places for libxml2 and libiconv, # including (usually incorrectly) in /usr/include, /usr/local/include # and /opt/include, and finally (usually correctly) in # $prefix/include. This can result in finding an old system libxml2, # which is problematic in general, but can result in enabling legacy # functions e.g. xmlCleanupPredefinedEntities which will then fail at # import time. # # The following attempts to patch around this, but it is not good # enough with pkgsrc xml2 and native iconv because the iconv include # path is first. This can happen on old macOS. # # \todo Patch setup.py.in to have @@LIBXML2_PREFIX@@ and @@ICONV_PREFIX@@ # (in order) and then substite those, or at least ensure that the # iconv prefix is afterwwards. # SUBST_CLASSES+= setup SUBST_MESSAGE.setup= Fixing hardcoded paths. SUBST_STAGE.setup= pre-build SUBST_FILES.setup= python/setup.py SUBST_NOOP_OK.setup= yes # PREFIX may be /usr/local SUBST_SED.setup= -e "/ROOT/s,'/usr/local','${BUILDLINK_PREFIX.libxml2}',g" SUBST_SED.setup+= -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" SUBST_SED.setup+= -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g" BUILDLINK_TRANSFORM.Darwin+= opt:-bundle:-dynamiclib .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" post-install: fix-darwin-install-name .PHONY: fix-darwin-install-name fix-darwin-install-name: install_name_tool -id ${PREFIX}/${PYSITELIB}/libxml2mod.so \ ${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so .endif EGG_NAME= ${DISTNAME:S/-/_python-/} .include "../../lang/python/batteries-included.mk" .include "../../lang/python/egg.mk" .include "../../converters/libiconv/buildlink3.mk" BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION_NOREV} .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.93 log @*libxml2: update to 2.12.4 v2.12.4: Jan 15 2024 ### Regressions - parser: Fix regression parsing standalone declarations - autotools: Readd --with-xptr-locs configuration option - parser: Fix build --without-output - parser: Don't grow or shrink pull parser memory buffers - io: Fix memory lifetime issue with input buffers v2.12.3: Dec 12 2023 ### Regressions - parser: Fix namespaces redefined from default attributes ### Build fixes - include: Rename XML_EMPTY helper macro - include: Move declaration of xmlInitGlobals - include: Add missing includes - include: Move globals from xmlsave.h to parser.h - include: Readd circular dependency between tree.h and parser.h v2.12.2: Dec 5 2023 ### Regressions - parser: Fix invalid free in xmlParseBalancedChunkMemoryRecover - globals: Disable TLS in static Windows builds - html: Reenable buggy detection of XML declarations - tree: Fix regression when copying DTDs - parser: Make CRLF increment line number ### Build fixes - build: Disable compiler TLS by default - cmake: Update config.h.cmake.in - tests: Fix tests --with-valid --without-xinclude v2.12.1: Nov 23 2023 ### Regressions - hash: Fix deletion of entries during scan - parser: Only enable SAX2 if there are SAX2 element handlers ### Build fixes - autotools: Stop checking for snprintf - dict: Fix '__thread' before 'static' - fix: pthread weak references in globals.c (Mike Dalessio) - tests: Fix build with older MSVC v2.12.0: Nov 16 2023 ### Major changes Most of the known issues leading to quadratic behavior in the XML parser were fixed. Internal hash tables were rewritten to reduce memory consumption. Starting with this release, it should be enough to add the --with-legacy configuration option to provide maximum ABI compatibility. For example, if a code module was removed from the default configuration, the option will add stubs for the removed symbols. libxml2 will now store global variables in thread-local storage if supported by the compiler. This avoids allocating the data lazily which can result in a fatal error condition. A new API function xmlCheckThreadLocalStorage was added so the allocation can be checked earlier if compiler TLS is not supported. To prepare for future improvements, some API functions now expect or return a const xmlError struct. Several cyclic dependencies in public header files were fixed. As a result, certain headers won't include other headers as before. Refactoring of the encoding code has been mostly completed. Calling xmlSwitchEncoding from client code is now fully supported, for example to override the encoding for the push parser. When parsing data from memory, libxml2 will now stream data chunk by chunk instead of copying the whole buffer (possibly twice with encodings), reducing peak memory consumption considerably. A new API function xmlCtxtSetMaxAmplification was added to allow parsing of files that would otherwise trigger the billion laughs protection. Several bugs in the regex determinism checks were fixed. Invalid XML Schemas which previous versions erroneously accepted will now be rejected. ### Deprecations - globals: Deprecate xmlLastError - parser: Deprecate global parser options - win32: Deprecate old Windows build system ### Bug fixes - parser: Stop switching to ISO-8859-1 on encoding errors - parser: Support encoded external PEs in entity values - string: Fix UTF-8 validation in xmlGetUTF8Char - SAX2: Allow multiple top-level elements - parser: Update line number after coalescing text nodes - parser: Check for truncated multi-byte sequences ### Improvements - error: Make more xmlError structs constant - parser: Remove redundant IS_CHAR check in xmlCurrentChar - parser: Fix stack handling in xmlParseTryOrFinish - parser: Protect against quadratic default attribute expansion - parser: Missing checks for disableSAX - entities: Make xmlFreeEntity public - examples: Don't use sprintf - encoding: Suppress -Wcast-align warnings - parser: Use hash tables to avoid quadratic behavior - parser: Don't skip CR in xmlCurrentChar - dict: Rewrite dictionary hash table code - hash: Rewrite hash table code - malloc-fail: Report malloc failure in xmlFARegExec - malloc-fail: Report malloc failure in xmlRegEpxFromParse - parser: Simplify xmlStringCurrentChar - regexp: Fix status codes and handle invalid UTF-8 - error: Make xmlGetLastError return a const error - html: Fix logic in htmlAutoClose - globals: Move globals back to correct header files - globals: Use thread-local storage if available - globals: Rework global state destruction on Windows - globals: Define globals using macros - globals: Introduce xmlCheckThreadLocalStorage - globals: Make xmlGlobalState private - threads: Move library initialization code to threads.c - debug: Remove debugging code - globals: Move code from threads.c to globals.c - parser: Avoid undefined behavior in xmlParseStartTag2 - schemas: Fix memory leak of annotations in notations - dict: Update hash function - dict: Use thread-local storage for PRNG state - dict: Use xoroshiro64** as PRNG - xmllint: Fix error messages - parser: Fix detection of null bytes - parser: Improve error handling in push parser - parser: Don't check inputNr in xmlParseTryOrFinish - parser: Remove push parser debugging code - tree: Fix copying of DTDs - legacy: Add stubs for disabled modules - parser: Allow to set maximum amplification factor - entities: Don't change doc when encoding entities - parser: Never use UTF-8 encoding handler - encoding: Remove debugging code - malloc-fail: Fix unsigned integer overflow in xmlTextReaderPushData - html: Remove encoding hack in htmlCreateFileParserCtxt - parser: Decode all data in xmlCharEncInput - parser: Stream data when reading from memory - parser: Optimize xmlLoadEntityContent - parser: Don't overwrite EOF parser state - parser: Simplify input pointer updates - parser: Don't reinitialize parser input members - encoding: Move rawconsumed accounting to xmlCharEncInput - parser: Rework encoding detection - parser: Always create UTF-8 in xmlParseReference - html: Remove some debugging code in htmlParseTryOrFinish - malloc-fail: Fix memory leak in xmlCompileAttributeTest - parser: Recover more input from encoding errors - malloc-fail: Handle malloc failures in xmlAddEncodingAlias - malloc-fail: Fix null-deref with xmllint --copy - xpath: Ignore entity ref nodes when computing node hash - malloc-fail: Fix null deref after xmlXIncludeNewRef - SAX: Always validate xml:ids - Stop using sprintf - Fix compiler warning on GCC < 8 - regexp: Fix determinism checks - regexp: Fix checks for eliminated transitions - regexp: Simplify xmlFAReduceEpsilonTransitions - regexp: Fix cycle check in xmlFAReduceEpsilonTransitions - schemas: Fix filename in xmlSchemaValidateFile - schemas: Fix line numbers in streaming validation - writer: Add error check in xmlTextWriterEndDocument - encoding: Stop calling xmlEncodingErr - xmlIO: Remove some calls to xmlIOErr - parser: Improve handling of encoding and IO errors - parser: Move xmlFatalErr to parserInternals.c - encoding: Rework error codes - .gitignore: Split up and rearrange .gitignore files - .gitignore: Add runsuite.log - Stop calling xmlMemoryDump - examples: Don't call xmlCleanupParser and xmlMemoryDump - xpath: Remove remaining references to valueFrame ### Portability - python: Make it compatible with python3.12 (Daniel Garcia Moreno) ### Build systems - cmake: Check whether static linking dependencies found in config files (James Le Cuirot) - autotools: Make --with-minimum disable lzma support - build: Remove some GCC warnings - Handle NOCONFIG case when setting locations from CMake target properties (Markus Rickert) - cmake: Generate better pkg-config file for SYSROOT builds under CMake (James Le Cuirot) - autoconf: Include non-pkg-config dependency flags in the pkg-config file (James Le Cuirot) - autoconf: Don't bake build time CFLAGS into pkg-config file (James Le Cuirot) - build: Generate better pkg-config files for static-only builds (James Le Cuirot) - build: Generate better pkg-config file for SYSROOT builds (James Le Cuirot) - autoconf: Allow custom --with-icu configure option ### Tests - tests: Also test xmlNextChar in testchar.c - tests: Start with testparser.c for extra tests - fuzz: Raise rss_limit_mb - fuzz: Test xmlTextReaderRead after EOF or failure - fuzz: Test XML_PARSE_XINCLUDE | XML_PARSE_VALID - tests: Handle entities in SAX tests - fuzz: Disable XML_PARSE_SAX1 option in xml fuzzer - tests: Add more tests for redefined attributes - hash: Add hash table tests - tests: Add ATTRIBUTE_NO_SANITIZE_INTEGER macro - fuzz: Allow to fuzz without push, reader or output modules - gitlab-ci: Add a "medium" config build - python: Fix tests on MinGW - test: Add push parser test with overridden encoding - testapi: test_xmlSAXDefaultVersion() leaves xmlSAX2DefaultVersionValue set to 1 with LIBXML_SAX1_ENABLED (David Kilzer) - gitlab-ci: Lower _XOPEN_SOURCE value - testapi: Don't set http_proxy environment variable - test: Add push parser tests for split UTF-8 sequences - xinclude: Lower initial table size when fuzzing - tests: Test streaming schema validation - runtest: Skip element name in schema error messages ### Documentation - doc: Add notes about runtest to MAINTAINERS.md - doc: Don't document internal macros in xmlversion.h - doc: Allow 'unsigned' without 'int' - doc: Improve documentation of configuration options v2.11.6: Nov 16 2023 ### Regressions - threads: Fix --with-thread-alloc - xinclude: Fix 'last' pointer in xmlXIncludeCopyNode ### Bug fixes - parser: Fix potential use-after-free in xmlParseCharDataInternal v2.11.5: Aug 9 2023 ### Regressions - parser: Make xmlSwitchEncoding always skip the BOM - autotools: Improve iconv check ### Bug fixes - valid: Fix c1->parent pointer in xmlCopyDocElementContent - encoding: Always call ucnv_convertEx with flush set to false ### Portability - autotools: fix Python module file ext for cygwin/msys2 (Christoph Reiter) ### Tests - runtest: Fix compilation without LIBXML_HTML_ENABLED v2.11.4: May 18 2023 Fixes a serious regression. - parser: Fix regression when push parsing UTF-8 sequences v2.11.3: May 11 2023 Fixes more regressions. - xinclude: Fix false positives in inclusion loop detection - autotools: Fix ICU detection - parser: Fix "huge input lookup" error with push parser - xpath: Fix build without LIBXML_XPATH_ENABLED - hash: Fix possible startup crash with old libxslt versions - autoconf: fix iconv library paths (Mike Dalessio) v2.11.2: May 5 2023 Fix regressions. - threads: Fix startup crash with weak symbol hack - win32: Don't depend on removed .def file - schemas: Fix memory leak in xmlSchemaValidateStream v2.11.1: Apr 30 2023 Fixes build and ABI issues. - cmake: Fix va_copy detection (Luca Niccoli) - libxml.m4: Fix quoting - Link with --undefined-version - libxml2.syms: Revert removal of version information v2.11.0: Apr 28 2023 ### Major changes Protection against entity expansion attacks, also known as "billion laughs" has been greatly improved. Malicious files should be detected reliably now and false positives should be reduced. It is possible though that large documents which make heavy use of entities are rejected now. This release finally fixes symbol visibility on UNIX systems. Internal symbols will now be hidden. While these symbols were never declared in public headers, it was still possible to declare them manually. Now this won't work. All symbol information has been removed from the ELF version script to fix link errors with --no-undefined-version. The version nodes are kept so it should still be possible to run binaries linked against older versions. About 90 memory errors in code paths handling malloc failures have been fixed. While these issues shouldn't impact security, this improves robustness under memory pressure. The XInclude engine has been reworked to properly support nested includes. Several cases of quadratic behavior in the XML push parser have been fixed. Refactoring has begun on some buffering and encoding code with the goal of simplifying this part of the code base and improving error reporting. Other highlights: - Consolidated private header files. - Major rework of the autoconf build. - Deprecated several outdated and internal functions. Special thanks to Google's Open Source Security Subsidies program for sponsoring much of the work on this release! Ongoing work on libxml2 relies on funding. For a list of important open issues see ### Security - Fix use-after-free in xmlParseContentInternal() (David Kilzer) - xmllint: Fix use-after-free with --maxmem - parser: Fix OOB read when formatting error message - entities: Rework entity amplification checks ### Regressions - parser: Fix regression in xmlParserNodeInfo accounting ### Bug fixes - Fix memory errors in code handling malloc failures - encoding: Fix error code in asciiToUTF8 - xpath: number('-') should return NaN - xmlParseStartTag2() contains typo when checking for default definitions for an attribute in a namespace (David Kilzer) - uri: Fix handling of port numbers - error: Make sure that error messages are valid UTF-8 - xinclude: Fix nested includes ### Improvements - xmllint: Validate --maxmem integer option - xmlValidatePopElement() can return invalid value (-1) (David Kilzer) - parser: Rework EBCDIC code page detection - parser: Limit name length in xmlParseEncName - parser: Rework shrinking of input buffers - html: Rely on CUR_CHAR to grow the input buffer - parser: Rely on CUR_CHAR/NEXT to grow the input buffer - valid: Make xmlValidateElement non-recursive - html: Fix quadratic behavior in htmlParseTryOrFinish - xmllint: Fix memory leak with --pattern --stream - parser: Stop calling xmlParserInputShrink - html: Impose some length limits - valid: Allow xmlFreeValidCtxt(NULL) - parser: Stop calling xmlParserInputGrow - xinclude: Fix quadratic behavior in xmlXIncludeLoadTxt - xinclude: Abort immediately if max depth was exceeded - xpath: Only report the first error - error: Don't move past current position - error: Limit number of parser errors - parser: Lower entity nesting limit with XML_PARSE_HUGE - parser: Don't increase depth twice when parsing internal entities - parser: Improve detection of entity loops - parser: Only report a single entity error - libxml.h: Remove dubious definition of LIBXML_STATIC - html: Improve parsing of nested lists - memory: Don't use locks in xmlMemUsed - encoding: Remove unused variable xmlDefaultCharEncodingHandler - Rework initialization code - Add .editorconfig - parser: Merge misc, prolog and epilog cases in push parser - parser: Fix 'consumed' accounting when switching encodings - html: Fix check for end of comment in push parser - parser: Fix push parser with 1-3 byte initial chunk - parser: Rewrite push parser boundary checks - reader: Switch to xmlParserInputBufferCreateMem - html: Don't escape ASCII chars in href attributes - io: Don't shrink memory input buffers - parser: Don't call xmlSHRINK from push parser - parser: Ignore cdata argument in xmlParseCharData - parser: Rework push parser parser progress checks - io: Fix a few integer overflows in I/O statistics - io: Rework xmlParserInputBufferGrow with encodings - io: Remove xmlInputReadCallbackNop - io: Check for memory buffer early in xmlParserInputGrow - parser: Fix error message in xmlParseCommentComplex - Bypass proxy in nanoHTTP for hosts in "no_proxy" (Markus Jörg) - schemas: Fix infinite loop in xmlSchemaCheckElemSubstGroup - threads: Remove check for pthread_equal - xinclude: Rework XInclude cache - xinclude: Remove inefficient refcounting scheme - xmllint: Improve handling of empty XPath node sets - parser: Fix potential memory leak in xmlParseAttValueInternal - error: Don't use initGenericErrorDefaultFunc - xpath: Lower XPath recursion limit on Windows - Stop including sys/types.h - Don't define WIN32 macro - Make xmlNewSAXParserCtx take a const sax handler - Consolidate private header files - Remove internal macros from parserInternals.h - Move some HTML functions to correct header file - xmllint: Stop calling xmlSAXDefaultVersion - Introduce xmlNewSAXParserCtxt and htmlNewSAXParserCtxt - Don't mess with parser options in htmlParseDocument - Remove useless call to htmlDefaultSAXHandlerInit - Remove htmlDefaultSAXHandler from non-SAX1 build - Don't initialize SAX handler in htmlReadMemory - Fix htmlReadMemory mixing up XML and HTML functions - Don't use default SAX handler to report unrelated errors - Create stream with buffer in xmlNewStringInputStream - xmlcatalog: Fix memory leaks ### Code quality - xzlib: Fix implicit sign change in xz_open - parser: Simplify calculation of available buffer space - parser: Use size_t when subtracting input buffer pointers - parser: Check for integer overflow when updating checkIndex - xpath: Fix harmless integer overflow in xmlXPathTranslateFunction - schematron: Use logical and - relaxng: Remove useless if statement - schemas: Remove useless if statement - pattern: Merge identical branches - regexp: Add sanity check in xmlRegCalloc2 - regexp: Simplify xmlRegAtomPush - encoding: Cast toupper argument to unsigned char - uri: Add explicit cast in xmlSaveUri - buf: Fix return value of xmlBufGetInputBase - parser: Fix integer overflow of input ID - parser: Remove useless ent->etype test in xmlParseReference - parser: Remove useless ent->children tests in xmlParseReference - xmlmemory.c: Remove xmlMemContentShow - libxml.h: Add comments and indentation - libxml.h: Don't include stdio.h - xmlexports.h: Disable docs for internal macro XMLPUBLIC - parser: Simplify xmlParseConditionalSections - io: Rearrange code in xmlSwitchInputEncodingInt - warnings: Fix -Wstrict-prototypes warning - warnings: Remove set-but-unused variables - Fix compiler warnings in SAX2.c - Fix unused variable warning in python/types.c - Fix compiler warning in examples - Fix compiler warnings in fuzzing code - Remove unused code in nanohttp.c - Remove or annotate char casts - Don't use sizeof(xmlChar) or sizeof(char) - Remove explicit integer casts ### Deprecations - parser: Deprecate more internal functions - parser: Deprecate some parser input functions - parser: Deprecate xmlString*DecodeEntities - threads: Deprecate some internal functions - buf: Deprecate static/immutable buffers - Deprecate internal parser functions - Deprecate old HTML SAX API - Generate deprecation warnings for old SAX API - Mark more functions setting globals as deprecated - Mark more parser functions as deprecated - Mark most SAX1 functions as deprecated - Deprecate some global variables ### Portability - autoconf: Warn about outdated C compilers - win32: Remove broken libxml2.def.src - Remove symbols from version script - catalog.c: Silence a cast warning on VS 2022 (Lukáš Tyrychtr) - libxml.h: Remove ancient LynxOS setup - Use python3 not python (Ross Burton) - xstc/fixup-tests.py: port to Python 3 (Ross Burton) - xstc/fixup-tests.py: unify whitespace (Ross Burton) - Remove hacky heuristic from b2dc5675 (Alex Richardson) - Avoid creating an out-of-bounds pointer by rewriting a check (Alex Richardson) - Hide internal functions - Correctly relocate internal pointers after realloc() (Alex Richardson) - Visual Studio builds: Allow silencing deprecation warnings (Chun-wei Fan) - Visual Studio: Define XML_DEPRECATED (Chun-wei Fan) - xmllint: Include on Windows - warnings: Work around MSVC bug - sources: Silence C4013 warnings on Visual Studio (Chun-wei Fan) - python/setup.py.in: Improve Windows import patching (Chun-wei Fan) - python: Create .pyd on Windows - Fix Python build on Windows - Fix Windows compiler warnings in python/types.c - Fix libxml_PyFileGet - Remove BeOS support - Fix libxml_PyFileGet with stdout on macOS - Migrate from PyEval_ to PyObject_ - Port build_glob.py to Python 3 - Port genChRanges.py to Python 3 - xmlexports.h: Remove LIBXML_FASTCALL optimization - Remove XMLCALL and XMLCDECL macros from public headers - Remove XMLDECL macro from .c files ### Build systems - cmake: Link against `dl` and `dld` only when `LIBXML2_WITH_MODULES` is enabled (Alexander Kutelev) - autotools: Fix make distcheck - Remove RPM build, Makefile.tests, README.tests - libxml.m4: deprecate AM_PATH_XML2, wrap PKG_CHECK_MODULES instead (Ross Burton) - libxml.m4: fix -Wstrict-prototypes (Sam James) - cmake: Build static library with -DLIBXML_STATIC - autotools: Don't use version script on Windows - autotools: Fix winsock detection - autotools: Only add network libraries if HTTP/FTP enabled - autotools: Disable parallel Python build - python: Don't output missing generators during build - build: Remove check for broken ss_family - http: Simplify IPv6 checks - autotools: Fix network checks on Windows - Fix detection of GNU libiconv - cmake: Fix Python installation - cmake: Don't check for Python 2 - configure.ac: Also check for MSYS host - Improve network library detection - Detect ws2_32 with AC_SEARCH_LIBS - Rework network configure checks - Remove arg cast configure checks - Fix dlopen check - Remove HAVE_WIN32_THREADS configuration flag - Rework dlopen and pthread detection - Fix test in configure.ac - cmake: Enable GCC compiler warnings - Always link with -no-undefined - Use AM_CFLAGS and AM_LDFLAGS consistently - Remove -Wredundant-decls - Call AC_CHECK_* with multiple arguments - configure.ac: Remove checks for unused programs - Rework library detection in configure.ac - Rearrange configure.ac - Consolidate zlib and lzma detection - Remove "runtime debugging" - Consolidate simple API modules in configure.ac - Fix dependency resolution in configure.ac - Fix --with-valid --without-regexps build - Fix --with-schemas --without-xpath build - Don't build unneeded .c source files - Move xmlIsXHTML to tree.c - Cleanup distribution settings in Makefile.am - Also clean *.pyc files for Python 2 - Don't distribute libxml2.spec ### Tests - testchar: Add test for memory pull parser with encoding - fuzz: Also test init function of URI fuzzer - fuzz: Separate fuzzer for DTD validation - gitlab-ci: Enable all "integer" sanitizers - fuzz: Inject random malloc failures - fuzz: Support variable integer sizes in fuzz data - fuzz: Fix duplicate detection in fuzzEntityRecorder - fuzz: Set filename in xmlFuzzEntityLoader - fuzz: Allow xmlFuzzReadString(NULL) - fuzz: Fix Makefile dependencies - fuzz: Add test/recurse to seed corpus - fuzz: Add separate XInclude fuzzer - runsuite: Some errors are expected - testrecurse: Test entity expansion stats - testapi.c: Initialize catalog early - gentest.py: Fix memory leak in API tests - tests: Enable "runsuite" test - python/tests/reader2: use absolute paths everywhere (Ross Burton) - python/tests/reader2: always exit(1) if a test fails (Ross Burton) - testModule: exit if the module can't be opened (Ross Burton) - CI: disable modules in gcc:static build (Ross Burton) - CI: fix CI on MinGW builds (Ross Burton) - python: Fix memory leak checks - tests: Check that xmlInitParser doesn't allocate memory - tests: Fix use-after-free in Python tests - tests: Remove unneeded #includes - gitlab-ci: Make Test-Msvc exit if ctest fails - gitlab-ci: Treat compiler warnings as errors on MSVC - test: Add test for push parser boundaries - gitlab-ci: Upgrade image to Ubuntu 22.10, reenable MSan - gitlab-ci: Reenable LeakSanitizer - gitlab-ci: Fix llvm-symbolizer - xinclude: Don't create result doc for test with errors - xinclude: Also test error messages - gitlab-ci: Allow cast-align warnings from clang - gitlab-ci: Fix tar invocation - gitlab-ci: Move MSVC test to separate script - gitlab-ci: Fix SUFFIX, remove MINGW_PATH - gitlab-ci: Consolidate CMake test scripts - gitlab-ci: Only install MinGW autotools if needed - gitlab-ci: Only install cmake MinGW package if needed - gitlab-ci: Install 7-Zip using the .msi - Use $MSYSTEM and 'bash -lc' in MinGW CI - Add CI job for MinGW/Autotools - Consolidate CI scripts - Allow empty MINGW_PACKAGE_PREFIX - Move Dockerfile to .gitlab-ci directory - testapi: Disable on Windows for now - Disable fuzzer tests if glob.h wasn't found - Move automata test to runtest.c - Fix testapi when building --without-sax1 # Documentation - doc: Remove ancient files - Remove ancient TODOs - html: Fix htmlInitAutoClose documentation - doc: Mention new location of XML catalog as breaking change - doc: Mention potentially breaking changes in NEWS - doc: Remove xmlDllMain from documentation and version script - doc: Mention ${sysconfdir} in man pages - doc: Document xmlcatalog --convert - doc: Document xmllint --nodict and --pedantic - doc: Fix indentation in source XML files - xmllint: Document --quiet option - Improve cross-references in API docs - Improve documentation of globals - Fix documentation parser - Support comments for global variables in documentation - Fix update call in apibuild.py - Don't index anything in DOC_DISABLE sections - Fix warnings from apibuild.py - Start with documentation for maintainers @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.92 2023/12/18 16:09:47 wiz Exp $ d27 1 a27 1 # @ 1.92 log @py-libxml2: require fixed libxml2 version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.91 2023/12/18 16:08:32 thor Exp $ a2 1 PKGREVISION= 4 a58 2 # for added symbols BUILDLINK_ABI_DEPENDS.libxml2+= libxml2>=2.10.4nb6 @ 1.91 log @textproc/libxml2, textproc/py-libxml2: fix dependencies and PKGREVISION Make sure the fixed build of libxml2 with the deprecated symbols is pulled in. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.90 2023/11/08 13:21:08 wiz Exp $ d60 2 @ 1.90 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.89 2023/10/23 06:37:54 wiz Exp $ d3 1 a3 1 PKGREVISION= 3 @ 1.89 log @*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.88 2023/09/18 13:21:40 gdt Exp $ d3 1 a3 1 PKGREVISION= 2 @ 1.88 log @py-libxml2: Add explanation of incorrect header file processing It remains to turn the explanation of what is going wrong into a fix, awaiting comments and perhaps the branch. The esssence of the problem is that at least on older macOS, there is a native libxml2 with legacy enabled, not intended to be used by the package, and a native iconv, which is intended to be used, and the ordering of -I results in the native libxml2 headers being used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.87 2023/06/06 12:42:33 riastradh Exp $ d3 1 a3 1 PKGREVISION= 1 d56 1 a56 2 TOOL_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat @ 1.87 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.86 2023/04/19 08:11:39 adam Exp $ d17 16 @ 1.86 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.85 2023/04/15 13:06:21 gutteridge Exp $ d40 1 a40 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat @ 1.85 log @libxml2 & py-libxml2: update to 2.10.4 v2.10.4: Apr 11 2023 ### Security - [CVE-2023-29469] Hashing of empty dict strings isn't deterministic - [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType - schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK ### Regressions - SAX2: Ignore namespaces in HTML documents - io: Fix "buffer full" error with certain buffer sizes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 2023/01/27 14:52:53 jperkin Exp $ d3 1 @ 1.84 log @py-libxml2: Bump PKGREVISION for libxml2 fix. Set straight to 2 because this was previously erroneously coming from libxml2's Makefile.common which had it set to 1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.83 2023/01/22 10:30:22 wiz Exp $ a5 1 PKGREVISION= 2 @ 1.84.2.1 log @Pullup ticket #6753 - requested by gutteridge textproc/libxml2: security fix textproc/py-libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.169 - textproc/libxml2/Makefile.common 1.20 - textproc/libxml2/distinfo 1.144 - textproc/py-libxml2/Makefile 1.85 --- Module Name: pkgsrc Committed By: gutteridge Date: Sat Apr 15 13:06:22 UTC 2023 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common distinfo pkgsrc/textproc/py-libxml2: Makefile Log Message: libxml2 & py-libxml2: update to 2.10.4 v2.10.4: Apr 11 2023 ### Security - [CVE-2023-29469] Hashing of empty dict strings isn't deterministic - [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType - schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK ### Regressions - SAX2: Ignore namespaces in HTML documents - io: Fix "buffer full" error with certain buffer sizes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 2023/01/27 14:52:53 jperkin Exp $ d6 1 @ 1.83 log @py-libxml2: update to 2.10.3. Change: see libxml2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 2022/11/23 16:21:13 adam Exp $ d6 1 @ 1.82 log @massive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 2022/05/06 00:55:55 gutteridge Exp $ a2 1 PKGREVISION= 1 d13 2 a14 1 NO_CONFIGURE= YES @ 1.82.2.1 log @Pullup ticket #6737 addendum - requested by gutteridge textproc/py-libxml2: fix build after pullup #6737 Revisions pulled up: - textproc/py-libxml2/Makefile by patch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 2022/11/23 16:21:13 adam Exp $ d3 1 a6 1 PKGREVISION= 2 d14 1 a14 2 GNU_CONFIGURE= YES USE_TOOLS+= pkg-config @ 1.81 log @libxml2: update to 2.9.14, includes security fixes v2.9.14: May 02 2022: - Security: [CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer Fix potential double-free in xmlXPtrStringRangeFunction Fix memory leak in xmlFindCharEncodingHandler Normalize XPath strings in-place Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars() (David Kilzer) Fix leak of xmlElementContent (David Kilzer) - Bug fixes: Fix parsing of subtracted regex character classes Fix recursion check in xinclude.c Reset last error in xmlCleanupGlobals Fix certain combinations of regex range quantifiers Fix range quantifier on subregex - Improvements: Fix recovery from invalid HTML start tags - Build system, portability: Define LFS macros before including system headers Initialize XPath floating-point globals configure: check for icu DEFS (James Hilliard) configure.ac: produce tar.xz only (GNOME policy) (David Seifert) CMakeLists.txt: Fix LIBXML_VERSION_NUMBER Fix build with older Python versions Fix --without-valid build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.80 2022/04/18 19:12:11 adam Exp $ d3 1 @ 1.80 log @revbump for textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2022/03/15 03:21:20 gutteridge Exp $ a2 1 PKGREVISION= 1 @ 1.79 log @py-libxml2: fix packaging checks when PREFIX is /usr/local Substituting for /usr/local is a no-op in this case. Addresses PR pkg/56747 from John Klos. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78 2022/03/12 07:33:22 kim Exp $ d3 1 @ 1.78 log @textproc/libxml2: Update to 2.9.13 NEWS: v2.9.13: Feb 19 2022: - Security: [CVE-2022-23308] Use-after-free of ID and IDREF attributes (Thanks to Shinji Sato for the report) Use-after-free in xmlXIncludeCopyRange (David Kilzer) Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong) Fix memory leak in xmlXPathCompNodeTest Fix null pointer deref in xmlStringGetNodeList Fix several memory leaks found by Coverity (David King) - Fixed regressions: Fix regression in RelaxNG pattern matching Properly handle nested documents in xmlFreeNode Fix regression with PEs in external DTD Fix random dropping of characters on dumping ASCII encoded XML (Mohammad Razavi) Revert "Make schema validation fail with multiple top-level elements" Fix regression when parsing invalid HTML tags in push mode Fix regression parsing public IDs literals in HTML Fix buffering in xmlOutputBufferWrite Fix whitespace when serializing empty HTML documents Fix XPath recursion limit Fix regression in xmlNodeDumpOutputInternal Work around lxml API abuse - Bug fixes: Fix xmlSetTreeDoc with entity references Fix double counting of CRLF in comments Make sure to grow input buffer in xmlParseMisc Don't ignore xmllint options after "-" Don't normalize namespace URIs in XPointer xmlns() scheme Fix handling of XSD with empty namespace Also register HTML document nodes Make xmllint return an error if arguments are missing Fix handling of ctxt->base in xmlXPtrEvalXPtrPart Fix xmllint --maxmem Fix htmlReadFd, which was using a mix of xml and html context functions (Finn Barber) Move current position before possible calling of ctxt->sax->characters (Yulin Li) Fix parse failure when 4-byte character in UTF-16 BE is split across a chunk (David Kilzer) Patch to forbid epsilon-reduction of final states (Arne Becker) Avoid segfault at exit when using custom memory functions (Mike Dalessio) - Tests, code quality, fuzzing: Remove .travis.yml Make xmlFuzzReadString return a zero size in error case Fix unused function warning in testapi.c Update NewsML DTD in test suite Add more checks for malloc failures in xmllint.c Avoid potential integer overflow in xmlstring.c Run CI tests with UBSan implicit-conversion checks Fix casting of line numbers in SAX2.c Fix integer conversion warnings in hash.c Add explicit casts in runtest.c Fix integer conversion warning in xmlIconvWrapper Add suffix to unsigned constant in xmlmemory.c Add explicit casts in testchar.c Fix integer conversion warnings in xmlstring.c Add explicit cast in xmlURIUnescapeString Remove unused variable in xmlCharEncOutFunc (David King) - Build system, portability: Remove xmlwin32version.h Fix fuzzer test with VPATH build Support custom prefix when installing Python module Remove Makefile.win Remove CVS and SVN-related code Port python 3.x module to Windows and improve distutils (Chun-wei Fan) Correctly install the HTML examples into their subdirectory (Mattia Rizzolo) Refactor the settings of $docdir (Mattia Rizzolo) Remove unused configure checks (Ben Boeckel) python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS (Sam James) Fix check for libtool in autogen.sh Use version in configure.ac for CMake (Timothy Lyanguzov) Add CMake alias targets for embedded projects (Markus Rickert) - Documentation: Remove SVN keyword anchors Rework README Remove README.cvs-commits Remove old ChangeLog Update hyperlinks Remove README.docs Remove MAINTAINERS Remove xmltutorial.pdf Upload documentation to GitLab pages Document how to escape XML_CATALOG_FILES Fix libxml2.doap Update URL for libxml++ C++ binding (Kjell Ahlstedt) Generate devhelp2 index file (Emmanuele Bassi) Mention XML_CATALOG_FILES is space-separated (Jan Tojnar) Add documentaiton for xmllint exit code 10 (Rainer Canavan) Fix some validation errors in the FAQ (David King) Add instructions on how to use CMake to compile libxml (Markus Rickert) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.77 2022/01/14 14:12:03 tnn Exp $ d19 1 @ 1.77 log @py27-libxml2: new file appeared in PLIST. Bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 2022/01/09 11:58:16 wiz Exp $ a5 1 PKGREVISION= 5 d19 1 a19 1 SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g" @ 1.76 log @egg.mk: remove --single-version-externally-managed setuptools has this as default when --root is used (since version 0.6a11). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 2022/01/07 11:46:58 tnn Exp $ d6 1 a6 1 PKGREVISION= 4 @ 1.75 log @fix typo @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 2022/01/04 20:54:58 wiz Exp $ a40 3 .if ${PYPKGPREFIX} == "py27" _PYSETUPTOOLSINSTALLARGS:= ${_PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed} .endif @ 1.74 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 2022/01/01 21:21:14 wiz Exp $ d42 1 a42 1 _PYSETUPTOOLSINSTALLARGS:= ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed} @ 1.73 log @py-libxml2: simplify Fix some pkglint while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2021/12/31 15:18:37 tnn Exp $ d6 1 a6 1 PKGREVISION= 3 @ 1.72 log @py27-libxml2: try to fix build with python 2.7 There are still some packages that need this, such as devel/libhid. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.71 2021/12/30 21:32:38 wiz Exp $ d30 1 d41 1 a41 4 PLIST_VARS+= py3x .if ${_PYTHON_VERSION} > 27 PLIST.py3x= yes .else @ 1.71 log @py-libxml2: switch to egg.mk Bump PKGREVISION for PLIST change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2021/12/08 16:06:45 adam Exp $ d40 6 @ 1.70 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2021/06/12 17:02:51 gutteridge Exp $ d6 1 a6 1 PKGREVISION= 2 d39 1 a39 1 .include "../../lang/python/distutils.mk" @ 1.69 log @py-libxml2: work around a problem in error handling Restore part of a patch lost in the last libxml2 update which is still relevant. Reapplying it fixes segfaults caused by itstool, e.g., when building editors/pluma, which is PR pkg/56229 from Andrius V. Quoting from wiz@@'s original commit from Jan 9, 2019, which covers everything else: "In some cases, invalid UTF-8 strings were returned which caused Python interpreter crashes. See itstool/itstool#22 Use a variant of the patch that was used in Fedora. Bump PKGREVISION." Fedora is still carrying this patch as-is. (Also, evidently distinfo was not regenerated properly after the last update, so there's a diff applied to it unrelated to this change set.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2021/05/23 19:31:47 nia Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.68 log @libxml2: update to 2.9.12 2.9.12: "Brown paper bag release, some recently added sources were missing from the 2.9.11 tarball." 2.9.11: "Prompted by CVE-2021-3541, but this includes an awful lot of serious bug fixes by Nick and others." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2021/04/21 11:42:48 adam Exp $ d6 1 @ 1.67 log @revbump for textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2020/11/05 09:09:14 ryoon Exp $ a2 1 PKGREVISION= 3 @ 1.66 log @*: Recursive revbump from textproc/icu-68.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2020/06/02 08:24:51 adam Exp $ d3 1 a3 1 PKGREVISION= 2 @ 1.66.4.1 log @Pullup ticket #6458 - requested by nia textproc/libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.159 - textproc/libxml2/Makefile.common 1.14 - textproc/libxml2/distinfo 1.135 - textproc/libxml2/patches/patch-parser.c deleted - textproc/libxml2/patches/patch-python-types.c deleted - textproc/libxml2/patches/patch-python_libxml.c deleted - textproc/libxml2/patches/patch-xmlschemas.c deleted - textproc/py-libxml2/Makefile 1.68 --- Module Name: pkgsrc Committed By: nia Date: Sun May 23 19:31:47 UTC 2021 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common distinfo pkgsrc/textproc/py-libxml2: Makefile Removed Files: pkgsrc/textproc/libxml2/patches: patch-parser.c patch-python-types.c patch-python_libxml.c patch-xmlschemas.c Log Message: libxml2: update to 2.9.12 2.9.12: "Brown paper bag release, some recently added sources were missing from the 2.9.11 tarball." 2.9.11: "Prompted by CVE-2021-3541, but this includes an awful lot of serious bug fixes by Nick and others." @ text @d1 1 a1 1 # $NetBSD$ d3 1 @ 1.65 log @Revbump for icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2019/01/09 19:09:03 adam Exp $ d3 1 a3 1 PKGREVISION= 1 @ 1.64 log @libxml2: updated to 2.9.9 v2.9.9: Security: CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression CVE-2018-14404 Fix nullptr deref with XPath logic ops Documentation: reader: Fix documentation comment Portability: Fix MSVC build with lzma Variables need 'extern' in static lib on Cygwin Really declare dllexport/dllimport for Cygwin Merge branch 'patch-2' into 'master' Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir Improve error message if pkg.m4 couldn't be found NaN and Inf fixes for pre-C99 compilers Bug Fixes: Revert "Support xmlTextReaderNextSibling w/o preparsed doc" Fix building relative URIs Problem with data in interleave in RelaxNG validation Fix memory leak in xmlSwitchInputEncodingInt error path Set doc on element obtained from freeElems Fix HTML serialization with UTF-8 encoding Use actual doc in xmlTextReaderRead*Xml Unlink node before freeing it in xmlSAX2StartElement Check return value of nodePush in xmlSAX2StartElement Free input buffer in xmlHaltParser Reset HTML parser input pointers on encoding failure Don't run icu_parse_test if EUC-JP is unsupported Fix xmlSchemaValidCtxtPtr reuse memory leak Fix xmlTextReaderNext with preparsed document Remove stray character from comment Remove a misleading line from xmlCharEncOutput HTML noscript should not close p Don't change context node in xmlXPathRoot Stop using XPATH_OP_RESET Revert "Change calls to xmlCharEncInput to set flush false" Improvements: Fix "Problem with data in interleave in RelaxNG validation" cleanup: remove some unreachable code add --relative to testURI Remove redefined starts and defines inside include elements Allow choice within choice in nameClass in RELAX NG Look inside divs for starts and defines inside include Add compile and libxml2-config.cmake to .gitignore Stop using doc->charset outside parser code Add newlines to 'xmllint --xpath' output Don't include SAX.h from globals.h Support xmlTextReaderNextSibling w/o preparsed doc Don't instruct user to run make when autogen.sh failed Run Travis ASan tests with "sudo: required" Improve restoring of context size and position Simplify and harden nodeset filtering Avoid unnecessary backups of the context node Fix inconsistency in xmlXPathIsInf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2019/01/09 13:40:51 wiz Exp $ d3 1 @ 1.63 log @py-libxml2: work around a problem in error handling. In some cases, invalid UTF-8 strings were returned which caused python interpreter crashes. See https://github.com/itstool/itstool/issues/22 Use a variant of the patch that was used in Fedora. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2018/07/13 11:31:58 jperkin Exp $ a5 1 PKGREVISION= 1 d38 2 a41 3 .include "../../lang/python/distutils.mk" .include "../../converters/libiconv/buildlink3.mk" @ 1.62 log @py-libxml2: Fix install_name on Darwin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2018/03/11 17:49:53 wiz Exp $ d6 1 @ 1.62.4.1 log @Pullup ticket #5911 - requested by taca textproc/libxml2, textproc/py-libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.152 - textproc/libxml2/Makefile.common 1.12 - textproc/libxml2/distinfo 1.129-1.130 - textproc/libxml2/patches/patch-Makefile.in 1.1 - textproc/libxml2/patches/patch-aa deleted - textproc/libxml2/patches/patch-ab deleted - textproc/libxml2/patches/patch-ac deleted - textproc/libxml2/patches/patch-ad deleted - textproc/libxml2/patches/patch-ae deleted - textproc/libxml2/patches/patch-catalog.c 1.1 - textproc/libxml2/patches/patch-configure 1.1 - textproc/libxml2/patches/patch-doc_examples_Makefile.in 1.1 - textproc/libxml2/patches/patch-parser.c deleted - textproc/libxml2/patches/patch-python_libxml.c 1.1 - textproc/libxml2/patches/patch-result_errors_759573.xml.err deleted - textproc/libxml2/patches/patch-xmlcatalog.c 1.1 - textproc/libxml2/patches/patch-xpath.c deleted - textproc/libxml2/patches/patch-xzlib.c deleted - textproc/py-libxml2/Makefile 1.63-1.64 - textproc/py-libxml2/PLIST 1.4 --- Module Name: pkgsrc Committed By: wiz Date: Wed Jan 9 13:40:51 UTC 2019 Modified Files: pkgsrc/textproc/libxml2: distinfo pkgsrc/textproc/py-libxml2: Makefile Added Files: pkgsrc/textproc/libxml2/patches: patch-python_libxml.c Log Message: py-libxml2: work around a problem in error handling. In some cases, invalid UTF-8 strings were returned which caused python interpreter crashes. See https://github.com/itstool/itstool/issues/22 Use a variant of the patch that was used in Fedora. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: adam Date: Wed Jan 9 19:09:03 UTC 2019 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common distinfo pkgsrc/textproc/py-libxml2: Makefile PLIST Added Files: pkgsrc/textproc/libxml2/patches: patch-Makefile.in patch-catalog.c patch-configure patch-doc_examples_Makefile.in patch-xmlcatalog.c Removed Files: pkgsrc/textproc/libxml2/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-parser.c patch-result_errors_759573.xml.err patch-xpath.c patch-xzlib.c Log Message: libxml2: updated to 2.9.9 v2.9.9: Security: CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression CVE-2018-14404 Fix nullptr deref with XPath logic ops Documentation: reader: Fix documentation comment Portability: Fix MSVC build with lzma Variables need 'extern' in static lib on Cygwin Really declare dllexport/dllimport for Cygwin Merge branch 'patch-2' into 'master' Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir Improve error message if pkg.m4 couldn't be found NaN and Inf fixes for pre-C99 compilers Bug Fixes: Revert "Support xmlTextReaderNextSibling w/o preparsed doc" Fix building relative URIs Problem with data in interleave in RelaxNG validation Fix memory leak in xmlSwitchInputEncodingInt error path Set doc on element obtained from freeElems Fix HTML serialization with UTF-8 encoding Use actual doc in xmlTextReaderRead*Xml Unlink node before freeing it in xmlSAX2StartElement Check return value of nodePush in xmlSAX2StartElement Free input buffer in xmlHaltParser Reset HTML parser input pointers on encoding failure Don't run icu_parse_test if EUC-JP is unsupported Fix xmlSchemaValidCtxtPtr reuse memory leak Fix xmlTextReaderNext with preparsed document Remove stray character from comment Remove a misleading line from xmlCharEncOutput HTML noscript should not close p Don't change context node in xmlXPathRoot Stop using XPATH_OP_RESET Revert "Change calls to xmlCharEncInput to set flush false" Improvements: Fix "Problem with data in interleave in RelaxNG validation" cleanup: remove some unreachable code add --relative to testURI Remove redefined starts and defines inside include elements Allow choice within choice in nameClass in RELAX NG Look inside divs for starts and defines inside include Add compile and libxml2-config.cmake to .gitignore Stop using doc->charset outside parser code Add newlines to 'xmllint --xpath' output Don't include SAX.h from globals.h Support xmlTextReaderNextSibling w/o preparsed doc Don't instruct user to run make when autogen.sh failed Run Travis ASan tests with "sudo: required" Improve restoring of context size and position Simplify and harden nodeset filtering Avoid unnecessary backups of the context node Fix inconsistency in xmlXPathIsInf @ text @d1 1 a1 1 # $NetBSD$ d38 3 a42 2 BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION_NOREV} .include "../../textproc/libxml2/buildlink3.mk" @ 1.61 log @libxml2, py-libxml2: update to 2.9.8 Changes not found. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2017/11/08 22:51:54 prlw1 Exp $ d25 9 @ 1.60 log @py-libxml2: in nodeWrap deal with name is None case Should fix gtk-doc build with itstool 2.0.4: Error: Could not merge translations: 'NoneType' object is not subscriptable @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2017/11/06 16:16:53 prlw1 Exp $ a5 1 PKGREVISION= 1 @ 1.59 log @libxml2: Update to 2.9.7 - Portability: Change preprocessor OS tests to __linux__ (Nick Wellnhofer) - Bug Fixes: Fix XPath stack frame logic (Nick Wellnhofer), Report undefined XPath variable error message (Nick Wellnhofer), Fix regression with librsvg (Nick Wellnhofer), Handle more invalid entity values in recovery mode (Nick Wellnhofer), Fix structured validation errors (Nick Wellnhofer), Fix memory leak in LZMA decompressor (Nick Wellnhofer), Set memory limit for LZMA decompression (Nick Wellnhofer), Handle illegal entity values in recovery mode (Nick Wellnhofer), Fix debug dump of streaming XPath expressions (Nick Wellnhofer), Fix memory leak in nanoftp (Nick Wellnhofer), Fix memory leaks in SAX1 parser (Nick Wellnhofer) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2017/11/06 16:02:00 prlw1 Exp $ d6 1 d30 1 a30 1 BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION} @ 1.58 log @py-libxml2: remove patch-python_libxml__wrap.h - the cause of PR pkg/52690 $ python3.6 Python 3.6.3 (default, Oct 27 2017, 17:16:29) [GCC 5.4.0] on netbsd8 Type "help", "copyright", "credits" or "license" for more information. >>> import libxml2 Traceback (most recent call last): File "", line 1, in File "/usr/pkg/lib/python3.6/site-packages/libxml2.py", line 1, in import libxml2mod ImportError: /usr/pkg/lib/python3.6/site-packages/libxml2mod.so: Undefined PLT symbol "PyCObject_Check" (symnum = 488) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2017/10/31 13:15:44 fhajny Exp $ a5 1 PKGREVISION= 1 @ 1.57 log @textproc/*libxml2: Move patches and distinfo files under the main package since the distfile is just one anyway. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2017/09/10 20:50:07 wiz Exp $ d6 1 @ 1.56 log @Updated py-libxml2 to 2.9.5. Changes: Same as for libxml2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2017/07/01 16:23:19 schmonz Exp $ d12 1 a12 1 WRKSRC= ${WRKDIR}/${DISTNAME}/python d18 1 a18 1 SUBST_FILES.setup= setup.py @ 1.55 log @On Darwin, even though the self-tests pass either way, py-libxslt doesn't build if this .so is a "bundle", and does if it's a "dylib". Make it a dylib. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2016/12/30 02:17:49 dholland Exp $ a5 1 PKGREVISION= 3 @ 1.54 log @PKGREVISION shouldn't be in Makefile.common, even though the last two bumps applied to both users. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2016/05/27 23:52:05 pgoyette Exp $ d6 1 a6 1 PKGREVISION= 2 d24 2 @ 1.53 log @Use Makefile.common from textproc/libxml2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2016/05/27 10:37:18 pgoyette Exp $ d6 1 @ 1.52 log @Synchronize py-libxml2 with recent update of libxml2 to version 2.9.4 @ text @d1 3 a3 1 # $NetBSD: Makefile,v 1.51 2015/11/23 00:01:06 wiz Exp $ a4 1 DISTNAME= libxml2-2.9.4 a5 3 CATEGORIES= textproc python MASTER_SITES= ftp://xmlsoft.org/libxml2/ #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.9/} a6 2 MAINTAINER= minskim@@NetBSD.org HOMEPAGE= http://xmlsoft.org/ @ 1.51 log @Udate py-libxml2 to 2.9.3 to match libxml2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2014/10/20 19:11:23 drochner Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.3 @ 1.50 log @sync w/ base pkg @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2014/03/13 11:08:52 jperkin Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.2 @ 1.49 log @Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2014/01/25 10:30:24 wiz Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.1 @ 1.49.6.1 log @Pullup ticket #4538 - requested by drochner textproc/libxml2: security update textproc/py-libxml2: security update Revisions pulled up: - textproc/libxml2/Makefile 1.132-1.133 - textproc/libxml2/PLIST 1.45 - textproc/libxml2/distinfo 1.104-1.105 - textproc/libxml2/patches/patch-ba 1.3 - textproc/libxml2/patches/patch-parser.c deleted - textproc/libxml2/patches/patch-xzlib.c deleted - textproc/py-libxml2/Makefile 1.50 - textproc/py-libxml2/distinfo 1.31 - textproc/py-libxml2/patches/patch-ab 1.3 - textproc/py-libxml2/patches/patch-ac 1.2 - textproc/py-libxml2/patches/patch-drv_libxml2.py deleted --- Module Name: pkgsrc Committed By: drochner Date: Fri Oct 17 15:46:47 UTC 2014 Modified Files: pkgsrc/textproc/libxml2: Makefile PLIST distinfo Removed Files: pkgsrc/textproc/libxml2/patches: patch-parser.c patch-xzlib.c Log Message: update to 2.9.2 -security fixes: -Fix for CVE-2014-3660 billion laugh variant -CVE-2014-0191 Do not fetch external parameter entities (was patched in pkgsrc) -many bugfixes, doc fixes, cleanup -added cmake macro --- Module Name: pkgsrc Committed By: drochner Date: Mon Oct 20 19:11:23 UTC 2014 Modified Files: pkgsrc/textproc/py-libxml2: Makefile distinfo pkgsrc/textproc/py-libxml2/patches: patch-ab patch-ac Removed Files: pkgsrc/textproc/py-libxml2/patches: patch-drv_libxml2.py Log Message: sync w/ base pkg --- Module Name: pkgsrc Committed By: drochner Date: Tue Oct 28 18:55:57 UTC 2014 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-ba Log Message: pull in two patches from upstream to fix regressions: -catalog initialization problem -problem with entity expansion This hopefully fixes build failures in KDE3 packages, reported by Joerg. bump PKGREV @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= libxml2-2.9.2 @ 1.48 log @Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2013/10/03 07:52:32 prlw1 Exp $ d14 2 @ 1.47 log @Enable Python 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2013/05/26 09:33:16 adam Exp $ a16 2 PYTHON_VERSIONS_INCLUDE_3X= yes @ 1.46 log @Updated textproc/py-libxml2 to 2.9.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2013/04/06 21:07:36 rodent Exp $ d17 2 @ 1.45 log @"Each sed command should appear in an assignment of its own." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2012/10/25 06:56:50 asau Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.0 @ 1.44 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2012/10/10 16:07:19 wiz Exp $ d21 3 a23 3 SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g" \ -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" \ -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g" @ 1.43 log @Update to 2.9.0: same changes as for libxml2 itself. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2012/07/01 14:26:32 wiz Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.42 log @Update to 2.8.0: 2.8.0: May 23 2012 Features: - add lzma compression support (Anders F Bjorklund) Documentation: xmlcatalog: Add uri and delegateURI to possible add types in man page. (Ville Skyttä), Update README.tests (Daniel Veillard), URI handling code is not OOM resilient (Daniel Veillard), Fix an error in comment (Daniel Veillard), Fixed bug #617016 (Daniel Mustieles), Fixed two typos in the README document (Daniel Neel), add generated html files (Anders F Bjorklund), Clarify the need to use xmlFreeNode after xmlUnlinkNode (Daniel Veillard), Improve documentation a bit (Daniel Veillard), Updated URL for lxml python bindings (Daniel Veillard) Portability: Restore code for Windows compilation (Daniel Veillard), Remove git error message during configure (Christian Dywan), xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY) (Patrick R. Gansterer), remove a bashism in confgure.in (John Hein), undef ERROR if already defined (Patrick R. Gansterer), Fix library problems with mingw-w64 (Michael Cronenworth), fix windows build. ifdef addition from bug 666491 makes no sense (Rob Richards), prefer native threads on win32 (Sam Thursfield), Allow to compile with Visual Studio 2010 (Thomas Lemm), Fix mingw's snprintf configure check (Andoni Morales), fixed a 64bit big endian issue (Marcus Meissner), Fix portability failure if netdb.h lacks NO_ADDRESS (Daniel Veillard), Fix windows build from lzma addition (Rob Richards), autogen: Only check for libtoolize (Colin Walters), Fix the Windows build files (Patrick von Reth), 634846 Remove a linking option breaking Windows VC10 (Daniel Veillard), 599241 fix an initialization problem on Win64 (Andrew W. Nosenko), fix win build (Rob Richards) Bug fixes: Part for rand_r checking missing (Daniel Veillard), Cleanup on randomization (Daniel Veillard), Fix undefined reference in python module (Pacho Ramos), Fix a race in xmlNewInputStream (Daniel Veillard), Fix weird streaming RelaxNG errors (Noam), Fix various bugs in new code raised by the API checking (Daniel Veillard), Fix various problems with "make dist" (Daniel Veillard), Fix a memory leak in the xzlib code (Daniel Veillard), HTML parser error with