head	1.113;
access;
symbols
	pkgsrc-2026Q3:1.112.0.6
	pkgsrc-2026Q3-base:1.112
	pkgsrc-2026Q2:1.112.0.4
	pkgsrc-2026Q2-base:1.112
	pkgsrc-2026Q1:1.112.0.2
	pkgsrc-2026Q1-base:1.112
	pkgsrc-2025Q4:1.107.0.6
	pkgsrc-2025Q4-base:1.107
	pkgsrc-2025Q3:1.107.0.4
	pkgsrc-2025Q3-base:1.107
	pkgsrc-2025Q2:1.107.0.2
	pkgsrc-2025Q2-base:1.107
	pkgsrc-2025Q1:1.105.0.2
	pkgsrc-2025Q1-base:1.105
	pkgsrc-2024Q4:1.102.0.2
	pkgsrc-2024Q4-base:1.102
	pkgsrc-2024Q3:1.99.0.2
	pkgsrc-2024Q3-base:1.99
	pkgsrc-2024Q2:1.97.0.2
	pkgsrc-2024Q2-base:1.97
	pkgsrc-2024Q1:1.94.0.2
	pkgsrc-2024Q1-base:1.94
	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.113
date	2026.11.11.11.55.59;	author wiz;	state Exp;
branches;
next	1.112;
commitid	ibfBdhxkigxin23H;

1.112
date	2026.02.23.18.14.55;	author tnn;	state Exp;
branches;
next	1.111;
commitid	cm3AxHEUtjVGSwvG;

1.111
date	2026.02.23.12.55.58;	author tnn;	state Exp;
branches;
next	1.110;
commitid	QdZ8KgEMV6RM7vvG;

1.110
date	2026.02.23.12.21.00;	author tnn;	state Exp;
branches;
next	1.109;
commitid	LCIL7epKOZnkVuvG;

1.109
date	2026.02.19.15.12.09;	author wiz;	state Exp;
branches;
next	1.108;
commitid	aeLfPLSON0Fs00vG;

1.108
date	2026.01.07.08.49.07;	author wiz;	state Exp;
branches;
next	1.107;
commitid	1wQ3ICD8eebefrpG;

1.107
date	2025.05.27.21.43.35;	author adam;	state Exp;
branches;
next	1.106;
commitid	4U0Rt704IEptMAWF;

1.106
date	2025.04.17.21.52.37;	author wiz;	state Exp;
branches;
next	1.105;
commitid	xcIXAVA292fk6sRF;

1.105
date	2025.02.19.01.10.36;	author gutteridge;	state Exp;
branches;
next	1.104;
commitid	IsZRGcuzFO5851KF;

1.104
date	2025.02.18.22.08.20;	author wiz;	state Exp;
branches;
next	1.103;
commitid	KhpaZPSHsg7x40KF;

1.103
date	2025.02.09.00.28.20;	author rillig;	state Exp;
branches;
next	1.102;
commitid	INWsP1OU4yG5aJIF;

1.102
date	2024.11.14.22.21.54;	author wiz;	state Exp;
branches;
next	1.101;
commitid	JmuDYqwL4erbdFxF;

1.101
date	2024.11.01.12.54.40;	author wiz;	state Exp;
branches;
next	1.100;
commitid	QB4Wk02mZPuBuWvF;

1.100
date	2024.11.01.00.53.53;	author wiz;	state Exp;
branches;
next	1.99;
commitid	QT27BdVP362gvSvF;

1.99
date	2024.08.08.08.51.09;	author adam;	state Exp;
branches;
next	1.98;
commitid	fm03BDxJj5WHTZkF;

1.98
date	2024.08.06.18.48.42;	author riastradh;	state Exp;
branches;
next	1.97;
commitid	hihHdJ6vd5TMgNkF;

1.97
date	2024.06.17.18.48.25;	author adam;	state Exp;
branches;
next	1.96;
commitid	O8f2puSBNrBTRmeF;

1.96
date	2024.06.05.22.44.58;	author wiz;	state Exp;
branches;
next	1.95;
commitid	5auz26DDAt3GyQcF;

1.95
date	2024.05.29.16.34.39;	author adam;	state Exp;
branches;
next	1.94;
commitid	n8aFyEjEVZA0JUbF;

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.113
log
@*: recursive bump for icu 79
@
text
@# $NetBSD: Makefile,v 1.112 2026/02/23 18:14:55 tnn Exp $

PKGREVISION= 1
.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
GNU_CONFIGURE_ICONV=	no
USE_TOOLS+=		pkg-config

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools

MAKE_ENV+=	PYTHONPATH=${WRKSRC}/python

WHEEL_NAME=	${DISTNAME:S/-/_python-/}

# 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 substitute those, or at least ensure that the
# iconv prefix is afterwards.
#
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"
.include "options.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

.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/wheel.mk"
.include "../../converters/libiconv/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxml2+=	libxml2>=${PKGVERSION_NOREV}
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.112
log
@py-libxml2: make doxygen dependency optional and turn it off by default

Add pregenerated API XML schemas to pkgsrc and add convenience target
"mkdocxml" to regenerate schemas when updating the package. PR pkg/60027.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.111 2026/02/23 12:55:58 tnn Exp $
d3 1
@


1.111
log
@revert previous
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.109 2026/02/19 15:12:09 wiz Exp $
a16 6
# needed for Python bindings
CONFIGURE_ARGS+=	--with-docs

TOOL_DEPENDS+=	doxygen-[0-9]*:../../devel/doxygen
TOOL_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
TOOL_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
a22 3
pre-build:
	cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE}

d51 1
@


1.110
log
@py-libxml2: disable doxygen

It causes too many circular dependency problems, for example:

fontconfig -> meson -> itstool -> py313-libxml2 -> doxygen -> ghostscript -> ghostscript-agpl -> fontconfig

Also disabling doxygen doesn't change the PLIST so the dependency seems
to not have affected the package meaningfully regardless.
@
text
@d17 6
d29 2
a30 2
post-extract:
	${MKDIR} ${WRKSRC}/python/doc/xml	# pretend docs are already built
@


1.109
log
@py-libxml2: update to 2.15.1.

to match libxml2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.108 2026/01/07 08:49:07 wiz Exp $
a16 6
# needed for Python bindings
CONFIGURE_ARGS+=	--with-docs

TOOL_DEPENDS+=	doxygen-[0-9]*:../../devel/doxygen
TOOL_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
TOOL_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
d23 2
a24 2
pre-build:
	cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE}
@


1.108
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.107 2025/05/27 21:43:35 adam Exp $
a2 3
PYTHON_27_ACCEPTED=	yes

PKGREVISION= 1
d12 2
a13 2
PYSETUPSUBDIR=	python
GNU_CONFIGURE=	yes
d15 16
a30 1
USE_TOOLS+=	pkg-config
a68 2
EGG_NAME=	${DISTNAME:S/-/_python-/}

d70 1
a70 1
.include "../../lang/python/egg.mk"
@


1.107
log
@libxml2 py-libxml2: updated to 2.14.3

v2.14.3: May 13 2025

Regressions

- reader: Fix reading compressed data
- parser: Make undeclared entities in XML content fatal
- save: Fix XML escape table
- save: Fix xmlSave with NULL encoding
- Revert "valid: Remove duplicate error messages when streaming"

Bug fixes

- save: Fix serialization of attribute defaults containing &lt;
- io: Fix linkage of __xml*BufferCreateFilename functions

Build systems

- cmake: Fix installation directories in libxml2-config.cmake
- meson: Install libxml2.py

Improvements

- parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
- html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.106 2025/04/17 21:52:37 wiz Exp $
d5 1
@


1.106
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.105 2025/02/19 01:10:36 gutteridge Exp $
a4 1
PKGREVISION= 1
@


1.105
log
@py-libxml2: fix typos in comments
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.104 2025/02/18 22:08:20 wiz Exp $
d5 1
@


1.104
log
@{py-,}libxml2: update to 2.12.10

v2.12.10: Feb 18 2025

### Security

- [CVE-2025-24928] Fix stack-buffer-overflow in xmlSnprintfElements
- [CVE-2024-56171] Fix use-after-free after xmlSchemaItemListAdd
- pattern: Fix compilation of explicit child axis

### Regressions

- parser: Fix detection of duplicate attributes

### Bug fixes

- xpath: Fix parsing of non-ASCII names

### Portability

- python: Declare init func with PyMODINIT_FUNC
- tests: Fix sanitizer version check on old Apple clang

### Build

- autotools: Set AC_CONFIG_AUX_DIR
- cmake: Always build Python module as shared library
- cmake: Fix compatibility in package version file
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.103 2025/02/09 00:28:20 rillig Exp $
d24 1
a24 1
# functions e.g. xmlCleanupPredefinedEntities which will then fail at
d32 2
a33 2
# (in order) and then substite those, or at least ensure that the
# iconv prefix is afterwwards.
@


1.103
log
@don't add unknown configure option for libiconv in a few packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.102 2024/11/14 22:21:54 wiz Exp $
a4 1
PKGREVISION= 3
@


1.102
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.101 2024/11/01 12:54:40 wiz Exp $
d17 1
@


1.101
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.100 2024/11/01 00:53:53 wiz Exp $
d5 1
a5 1
PKGREVISION= 2
@


1.100
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2024/08/08 08:51:09 adam Exp $
d5 1
a5 1
PKGREVISION= 1
@


1.99
log
@libxml2 py-libxml2: updated to 2.12.9

2.12.9: Jul 24 2024

Security

- [CVE-2024-40896] Fix XXE protection in downstream code

Improvements

- Undeprecate xmlKeepBlanksDefault
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2024/08/06 18:48:42 riastradh Exp $
d5 1
@


1.98
log
@textproc/libxml2: Avoid ctype(3) abuse.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2024/06/17 18:48:25 adam Exp $
a7 1
PKGREVISION=	1
@


1.97
log
@libxml2 py-libxml2: updated to 2.12.8

v2.12.8: Jun 12 2024

Regressions

- parser: Fix performance regression when parsing namespaces


v2.12.7: May 13 2024

Security

- [CVE-2024-34459] Fix buffer overread with `xmllint --htmlout`

Regressions

- xmllint: Fix --pedantic option
- save: Handle invalid parent pointers in xhtmlNodeDumpOutput


v2.12.6: Mar 15 2024

Regressions

- parser: Fix detection of duplicate attributes in XML namespace
- xmlreader: Fix xmlTextReaderConstEncoding
- html: Fix htmlCreatePushParserCtxt with encoding
- xmllint: Return error code if XPath returns empty nodeset


v2.12.5: Feb 4 2024

Security

- [CVE-2024-25062] xmlreader: Don't expand XIncludes when backtracking

Regressions

- parser: Fix crash in xmlParseInNodeContext with HTML documents
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.96 2024/06/05 22:44:58 wiz Exp $
d8 1
@


1.96
log
@python: remove Python 2.7 from the default build set

Set PYTHON_27_ACCEPTED for packages where 2.7 needs to be supported
because other 2.7 packages depend on it, but it also supports 3.x.

Tested by jperkin, thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2024/05/29 16:34:39 adam Exp $
a4 1
PKGREVISION= 1
d15 1
a15 1
GNU_CONFIGURE=	YES
d52 1
a52 1
	    ${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so
@


1.95
log
@revbump after icu and protobuf updates
@
text
@d1 3
a3 1
# $NetBSD: Makefile,v 1.94 2024/01/27 10:07:46 wiz Exp $
@


1.94
log
@py-libxml2: remove trailing whitespace
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2024/01/27 10:06:41 wiz Exp $
d3 1
@


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 <https://gitlab.gnome.org/GNOME/libxml2/-/issues/507>

### 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 <io.h> 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-&gt;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-&gt;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 "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python3.6/site-packages/libxml2.py", line 1, in <module>
    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 <noscript> in the <head> (Denis Pauk), XSD: optional element in complex type extension (Remi Gacogne), Fix html serialization error and htmlSetMetaEncoding() (Daniel Veillard), Fix a wrong return value in previous patch (Daniel Veillard), Fix an uninitialized variable use (Daniel Veillard), Fix a compilation problem with --minimum (Brandon Slack), Remove redundant and ungarded include of resolv.h (Daniel Veillard), xinclude with parse="text" does not use the entity loader (Shaun McCance), Allow to parse 1 byte HTML files (Denis Pauk), Patch that fixes the skipping of the HTML_PARSE_NOIMPLIED flag (Martin Schröder), Avoid memory leak if xmlParserInputBufferCreateIO fails (Lin Yi-Li), Prevent an infinite loop when dumping a node with encoding problems (Timothy Elliott), xmlParseNodeInContext problems with an empty document (Tim Elliott), HTML element position is not detected propperly (Pavel Andrejs), Fix an off by one pointer access (Jüri Aedla), Try to fix a problem with entities in SAX mode (Daniel Veillard), Fix a crash with xmllint --path on empty results (Daniel Veillard), Fixed bug #667946 (Daniel Mustieles), Fix a logic error in Schemas Component Constraints (Ryan Sleevi), Fix a wrong enum type use in Schemas Types (Nico Weber), Fix SAX2 builder in case of undefined attributes namespace (Daniel Veillard), Fix SAX2 builder in case of undefined element namespaces (Daniel Veillard), fix reference to STDOUT_FILENO on MSVC (Tay Ray Chuan), fix a pair of possible out of array char references (Daniel Veillard), Fix an allocation error when copying entities (Daniel Veillard), Make sure the parser returns when getting a Stop order (Chris Evans), Fix some potential problems on reallocation failures(parser.c) (Xia Xinfeng), Fix a schema type duration comparison overflow (Daniel Veillard), Fix an unimplemented part in RNG value validation (Daniel Veillard), Fix missing error status in XPath evaluation (Daniel Veillard), Hardening of XPath evaluation (Daniel Veillard), Fix an off by one error in encoding (Daniel Veillard), Fix RELAX NG include bug #655288 (Shaun McCance), Fix XSD validation bug #630130 (Toyoda Eizi), Fix some potential problems on reallocation failures (Chris Evans), __xmlRaiseError: fix use of the structured callback channel (Dmitry V. Levin), __xmlRaiseError: fix the structured callback channel's data initialization (Dmitry V. Levin), Fix memory corruption when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk (Rob Richards), Small fix for previous commit (Daniel Veillard), Fix a potential freeing error in XPath (Daniel Veillard), Fix a potential memory access error (Daniel Veillard), Reactivate the shared library versionning script (Daniel Veillard)
    Improvements: use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime (Roumen Petrov), New symbols added for the next release (Daniel Veillard), xmlTextReader bails too quickly on error (Andy Lutomirski), Use a hybrid allocation scheme in xmlNodeSetContent (Conrad Irwin), Use buffers when constructing string node lists. (Conrad Irwin), Add HTML parser support for HTML5 meta charset encoding declaration (Denis Pauk), wrong message for double hyphen in comment XML error (Bryan Henderson), Fix "make tst" to grab lzma lib too (Daniel Veillard), Add "whereis" command to xmllint shell (Ryan), Improve xmllint shell (Ryan), add function xmlTextReaderRelaxNGValidateCtxt() (Noam Postavsky), Add --system support to autogen.sh (Daniel Veillard), Add hash randomization to hash and dict structures (Daniel Veillard), included xzlib in dist (Anders F Bjorklund), move xz/lzma helpers to separate included files (Anders F Bjorklund), add generated devhelp files (Anders F Bjorklund), add XML_WITH_LZMA to api (Anders F Bjorklund), autogen.sh: Honor NOCONFIGURE environment variable (Colin Walters), Improve the error report on undefined REFs (Daniel Veillard), Add exception for new W3C PI xml-model (Daniel Veillard), Add options to ignore the internal encoding (Daniel Veillard), testapi: use the right type for the check (Stefan Kost), various: handle return values of write calls (Stefan Kost), testWriter: xmltefan Kost), xmlmemory: add a cast as size_t has no portable printf modifier (Stefan Kost), __xmlRaiseError: remove redundant schannel initialization (Dmitry V. Levin), __xmlRaiseError: do cheap code check early (Dmitry V. Levin)
    Cleanups: Cleanups be Weber), Cleanups of lzma support (Daniel Veillard), Augment the list of ignored files (Daniel Veillard), python: remove unused variable (Stefan Kost), python: flag two unused args (Stefan Kost), configure: acconfig.h is deprecated since autoconf-2.50 (Stefan Kost), xpath: remove unused variable (Stefan Kost)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2012/06/14 07:45:30 sbd Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.8.0
d7 1
a7 1
#MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libxml2/2.8/}
@


1.41
log
@Recursive PKGREVISION bump for libxml2 buildlink addition.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2012/02/07 11:21:51 obache Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.7.8
a4 1
PKGREVISION=	2
d7 1
a7 1
#MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libxml2/2.7/}
@


1.40
log
@distutils pkg, register egg-info.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2011/12/02 13:19:59 joerg Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.39
log
@Revert, since it leaves packages with unresolvable dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2011/11/29 19:32:59 minskim Exp $
d5 1
a17 1
PYDISTUTILSPKG=	YES
d28 2
d35 1
a35 1
.include "../../lang/python/extension.mk"
@


1.38
log
@py-libxml2 is incompatible with python-3.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2010/11/26 17:52:10 drochner Exp $
a13 2
PYTHON_VERSIONS_INCOMPATIBLE=	31

@


1.37
log
@sync w/ base pkg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2010/04/15 11:49:28 jmcneill Exp $
d14 2
@


1.36
log
@add a build dependency on py-expat so the build doesn't fail with this message:

 failed to find and generate stubs for libxml2, aborting ...
 <class 'xml.sax._exceptions.SAXReaderNotAvailable'> No parsers found
 *** Error code 1
 Stop.
 make: stopped in /usr/pkgsrc/textproc/py-libxml2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2010/04/13 16:05:01 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.7.7
@


1.35
log
@sync w/ base pkg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2009/10/31 03:05:47 wiz Exp $
d28 2
@


1.34
log
@Update to 2.7.6:

2.7.6: Oct  6 2009:
   -  Bug Fixes:
     Restore thread support in default configuration (Andrew W. Nosenko),
     URI with no path parsing problem (Daniel Veillard),
     Minor patch for conditional defines in threads.c (Eric Zurcher)



2.7.5: Sep 24 2009:
   -  Bug Fixes:
    Restore behavior of --with-threads without argument (Andrew W. Nosenko),
    Fix memory leak when doc is NULL (Rob Richards),
    595792 fixing a RelaxNG bug introduced in 2.7.4 (Daniel Veillard),
    Fix a Relaxng bug raised by libvirt test suite (Daniel Veillard),
    Fix a parsing problem with little data at startup (Daniel Veillard),
    link python module with python library (Frederic Crozat),
    594874 Forgot an fclose in xmllint (Daniel Veillard)

   -  Cleanup:
    Adding symbols.xml to EXTRA_DIST (Daniel Veillard)



2.7.4: Sep 10 2009:
   - Improvements:
    Switch to GIT (GNOME),
    Add symbol versioning to libxml2 shared libs (Daniel Veillard)

   - Portability:
    593857 try to work around thread pbm MinGW 4.4 (Daniel Veillard),
    594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes (Daniel Veillard),
    Fix Windows build * relaxng.c: fix windows build (Rob Richards),
    Fix the globals.h to use XMLPUBFUN (Paul Smith),
    Problem with extern extern in header (Daniel Veillard),
    Add -lnetwork for compiling on Haiku (Scott McCreary),
    Runtest portability patch for Solaris (Tim Rice),
    Small patch to accomodate the Haiku OS (Scott McCreary),
    584605 package VxWorks folder in the distribution (Daniel Veillard),
    574017 Realloc too expensive on most platform (Daniel Veillard),
    Fix windows build (Rob Richards),
    545579 doesn't compile without schema support (Daniel Veillard),
    xmllint use xmlGetNodePath when not compiled in (Daniel Veillard),
    Try to avoid __imp__xmlFree link trouble on msys (Daniel Veillard),
    Allow to select the threading system on Windows (LRN),
    Fix Solaris binary links, cleanups (Daniel Veillard),
    Bug 571059 â MSVC doesn't work with the bakefile (Intron),
    fix ATTRIBUTE_PRINTF header clash (Belgabor and Mike Hommey),
    fixes for Borland/CodeGear/Embarcadero compilers (Eric Zurcher)

   - Documentation:
    544910 typo: "renciliateNs" (Leonid Evdokimov),
    Add VxWorks to list of OSes (Daniel Veillard),
    Regenerate the documentation and update for git (Daniel Veillard),
    560524 Â¿ xmlTextReaderLocalName description (Daniel Veillard),
    Added sponsoring by AOE media for the server (Daniel Veillard),
    updated URLs for GNOME (Vincent Lefevre),
    more warnings about xmlCleanupThreads and xmlCleanupParser (Daniel Veillard)

   - Bug fixes:
    594514 memory leaks - duplicate initialization (MOD),
    Wrong block opening in htmlNodeDumpOutputInternal (Daniel Veillard),
    492317 Fix  Relax-NG validation problems (Daniel Veillard),
    558452 fight with reg test and error report (Daniel Veillard),
    558452 RNG compilation of optional multiple child (Daniel Veillard),
    579746 XSD validation not correct / nilable groups (Daniel Veillard),
    502960 provide namespace stack when parsing entity (Daniel Veillard),
    566012 part 2 fix regresion tests and push mode (Daniel Veillard),
    566012 autodetected encoding and encoding conflict (Daniel Veillard),
    584220 xpointer(/) and xinclude problems (Daniel Veillard),
    587663 Incorrect Attribute-Value Normalization (Daniel Veillard),
    444994 HTML chunked failure for attribute with <> (Daniel Veillard),
    Fix end of buffer char being split in XML parser (Daniel Veillard),
    Non ASCII character may be split at buffer end (Adiel Mittmann),
    440226 Add xmlXIncludeProcessTreeFlagsData API (Stefan Behnel),
    572129 speed up parsing of large HTML text nodes (Markus Kull),
    Fix HTML parsing with 0 character in CDATA (Daniel Veillard),
    Fix SetGenericErrorFunc and SetStructured clash (Wang Lam),
    566012  Incomplete EBCDIC parsing support (Martin Kogler),
    541335 HTML avoid creating 2 head or 2 body element (Daniel Veillard),
    541237 error correcting missing end tags in HTML (Daniel Veillard),
    583439 missing line numbers in push mode (Daniel Veillard),
    587867 xmllint --html --xmlout serializing as HTML (Daniel Veillard),
    559501 avoid select and use poll for nanohttp (Raphael Prevost),
    559410 -  Regexp bug on (...)? constructs (Daniel Veillard),
    Fix a small problem on previous HTML parser patch (Daniel Veillard),
    592430 -  HTML parser runs into endless loop (Daniel Veillard),
    447899 potential double free in xmlFreeTextReader (Daniel Veillard),
    446613 small validation bug mixed content with NS (Daniel Veillard),
    Fix the problem of revalidating a doc with RNG (Daniel Veillard),
    Fix xmlKeepBlanksDefault to not break indent (Nick Wellnhofer),
    512131 refs from externalRef part need to be added (Daniel Veillard),
    512131 crash in xmlRelaxNGValidateFullElement (Daniel Veillard),
    588441 allow '.' in HTML Names even if invalid (Daniel Veillard),
    582913 Fix htmlSetMetaEncoding() to be nicer (Daniel Veillard),
    579317 Try to find the HTML encoding information (Daniel Veillard),
    575875 don't output charset=html (Daniel Veillard),
    571271 fix semantic of xsd:all with minOccurs=0 (Daniel Veillard),
    570702 fix a bug in regexp determinism checking (Daniel Veillard),
    567619 xmlValidateNotationUse missing param test (Daniel Veillard),
    574393 Â¿ utf-8 filename magic for compressed files (Hans Breuer),
    Fix a couple of problems in the parser (Daniel Veillard),
    585505 Â¿ Document ids and refs populated by XSD (Wayne Jensen),
    582906 XSD validating multiple imports of the same schema (Jason Childs),
    Bug 582887 Â¿ problems validating complex schemas (Jason Childs),
    Bug 579729 Â¿ fix XSD schemas parsing crash (Miroslav Bajtos),
    576368 Â¿ htmlChunkParser with special attributes (Jiri Netolicky),
    Bug 565747 Â¿ relax anyURI data character checking (Vincent Lefevre),
    Preserve attributes of include start on tree copy (Petr Pajas),
    Skip silently unrecognized XPointer schemes (Jakub Wilk),
    Fix leak on SAX1, xmllint --sax1 option and debug (Daniel Veillard),
    potential NULL dereference on non-glibc (Jim Meyering),
    Fix an XSD validation crash (Daniel Veillard),
    Fix a regression in streaming entities support (Daniel Veillard),
    Fix a couple of ABI issues with C14N 1.1 (Aleksey Sanin),
    Aleksey Sanin support for c14n 1.1 (Aleksey Sanin),
    reader bug fix with entities (Daniel Veillard),
    use options from current parser ctxt for external entities (Rob Richards),
    581612 use %s to printf strings (Christian Persch),
    584605 change the threading initialization sequence (Igor Novoseltsev),
    580705 keep line numbers in HTML parser (Aaron Patterson),
    581803 broken HTML table attributes init (Roland Steiner),
    do not set error code in xmlNsWarn (Rob Richards),
    564217 fix structured error handling problems,
    reuse options from current parser for entities (Rob Richards),
    xmlXPathRegisterNs should not allow enpty prefixes (Daniel Veillard),
    add a missing check in xmlAddSibling (Kris Breuker),
    avoid leaks on errors (Jinmei Tatuya)

   - Cleanup:
    Chasing dead assignments reported by clang-scan (Daniel Veillard),
    A few more safety cleanup raised by scan (Daniel Veillard),
    Fixing assorted potential problems raised by scan (Daniel Veillard),
    Potential uninitialized arguments raised by scan (Daniel Veillard),
    Fix a bunch of scan 'dead increments' and cleanup (Daniel Veillard),
    Remove a pedantic warning (Daniel Veillard),
    555833 always use rm -f in uninstall-local (Daniel Veillard),
    542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK (Daniel Veillard),
    Autoregenerate libxml2.syms automated checkings (Daniel Veillard),
    Make xmlRecoverDoc const (Martin Trappel) (Daniel Veillard),
    Both args of xmlStrcasestr are const (Daniel Veillard),
    hide the nbParse* variables used for debugging (Mike Hommey),
    570806 changed include of config.h (William M. Brack),
    cleanups and error reports when xmlTextWriterVSprintf fails (Jinmei Tatuya)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2009/03/05 18:51:32 joerg Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.7.6
@


1.33
log
@Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2009/02/21 14:06:09 wiz Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.7.3
d12 1
@


1.32
log
@Update to 2.7.3: sync with libxml2-2.7.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2008/10/16 13:32:49 drochner Exp $
a16 1
PYBINMODULE=	YES
@


1.31
log
@sync w/ base pkg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2008/04/28 17:05:42 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.7.2
@


1.30
log
@sync w/ base pkg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2007/10/24 14:39:59 joerg Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.32
d7 1
a7 1
#MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
@


1.29
log
@Supports DESTDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2007/08/31 17:29:51 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.30
@


1.28
log
@sync w/ base pkg, no changes to Python part
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2007/07/09 14:53:23 drochner Exp $
d13 2
@


1.27
log
@sync with base pkg,
this also fixes a build problem on Python<2.3, so remove the
PYTHON_VERSIONS_ACCEPTED line
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/12/01 11:02:50 joerg Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.29
@


1.26
log
@Use PyBool_Check -> needs Python 2.3+
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2006/10/30 20:59:10 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.27
a13 1
PYTHON_VERSIONS_ACCEPTED=	24 23
@


1.25
log
@sync with libxml2
relevant changes:
-XPath improvements
-node equality and comparison
-add XPointer support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2006/06/09 21:16:39 drochner Exp $
d14 1
@


1.24
log
@update to 2.6.26
changes: fixes for bugs and memory leaks, minor optimizations
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2006/05/03 11:03:29 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.26
d6 2
a7 2
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
EXTRACT_SUFX=	.tar.bz2
@


1.23
log
@sync with main lib sources
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2006/04/22 09:22:15 rillig Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.24
@


1.22
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2006/04/17 14:43:47 minskim Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.23
@


1.21
log
@Replace hardcoded /usr/local/include with ${BUILDLINK_PREFIX.iconv}/include
to avoid picking up a wrong iconv library.  Patch provided by Bel Woolley
in private email.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/04/06 06:22:51 reed Exp $
d19 1
a19 1
SUBST_MESSAGE.setup=	"Fixing hardcoded paths."
@


1.20
log
@Over 1200 files touched but no revisions bumped :)

RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2006/02/07 20:58:07 drochner Exp $
d23 2
a24 1
			-e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g"
@


1.19
log
@sync with libxml
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2006/02/05 23:11:07 joerg Exp $
d25 1
a25 1
BUILDLINK_DEPENDS.libxml2+=	libxml2>=${PKGVERSION}
@


1.18
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/10/07 15:42:30 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.22
a4 1
PKGREVISION=	1
@


1.17
log
@sync Python wrappers with base libraries
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/07/13 09:53:31 drochner Exp $
d5 1
@


1.16
log
@sync with libxml2 update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/05/13 11:13:11 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.20
@


1.15
log
@sync with base libraries
no changes as far as Python wrappers are concerned, afaict
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/04/11 21:47:42 tv Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.19
@


1.14
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/11/25 18:37:43 minskim Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.16
@


1.13
log
@Update py-libxml2 to 2.6.16.

Changes:
  - improvements: DTD validation APIs provided at the Python level.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/11/03 16:41:56 minskim Exp $
a15 1
USE_BUILDLINK3=	YES
@


1.12
log
@Sync with libxml2-2.6.15.

Changes since 2.6.12:
   - saving to python file objects (Malcolm Tredinnick)
   - structured error handler on Python 64bits
   - Python space/tabs cleanups
   - Python libxml2 driver improvement
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/10/03 00:18:20 tv Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.15
@


1.11
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/08/24 11:43:32 drochner Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.12
a4 1
PKGREVISION=	1
@


1.10
log
@sync with libxml2 update to 2.6.12
python specific changes:
avoid a warning with 2.3 (William Brack), tab and space mixes (William),
wrapper generator fixes (William), Cygwin support (Gerrit P. Haase), node
wrapper fix (Marc-Antoine Parent), XML Schemas support (Torkel Lyng)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/07/22 09:16:02 recht Exp $
d5 1
@


1.10.2.1
log
@Pullup ticket 159 - requested by Havard Eidnes
security fix for libxml2

        Module Name:    pkgsrc
        Committed By:   xtraeme
        Date:           Thu Oct 21 05:28:17 UTC 2004

        Modified Files:
                pkgsrc/doc: CHANGES TODO
                pkgsrc/textproc/libxml2: Makefile distinfo

        Log Message:
        Update textproc/libxml2 to 2.6.14, this is a bugfix release.
---
        Module Name:    pkgsrc
        Committed By:   recht
        Date:           Sun Oct 31 10:40:51 UTC 2004

        Modified Files:
                pkgsrc/textproc/libxml2: Makefile buildlink3.mk distinfo
                pkgsrc/textproc/libxml2/patches: patch-aa patch-ab

        Log Message:
        update to libxml2-2.6.15

        changes:

        * security fixes on the nanoftp and nanohttp modules
        For details see:
        http://www.securityfocus.com/archive/1/379383/2004-10-24/2004-10-30/0

        * build fixes:
          - xmllint detection bug in configure
          - building outside the source tree (Thomas Fitzsimmons)
        * bug fixes:
          - HTML parser on broken ASCII chars in names (William)
          - Python paths (Malcolm Tredinnick)
          - xmlHasNsProp and default namespace (William)
          - saving to python file objects (Malcolm Tredinnick)
          - DTD lookup fix (Malcolm)
          - save back <group> in catalogs (William)
          - tree build fixes (DV and Rob Richards)
          - Schemas memory bug
          - structured error handler on Python 64bits
          - thread local memory deallocation
          - memory leak reported by Volker Roth
          - xmlValidateDtd in the presence of an internal subset
          - entities and _private problem (William)
          - xmlBuildRelativeURI error (William).
        * improvements:
          - better XInclude error reports (William)
          - tree debugging module and tests
          - convenience functions at the Reader API (Graham Bennett)
          - add support for PI in the HTML parser.

        Update BUILDLINK_RECOMMENDED to 2.6.15 for the security fix.
---
        Module Name:    pkgsrc
        Committed By:   minskim
        Date:           Wed Nov  3 16:41:56 UTC 2004

        Modified Files:
                pkgsrc/textproc/py-libxml2: Makefile distinfo

        Log Message:
        Sync with libxml2-2.6.15.

        Changes since 2.6.12:
           - saving to python file objects (Malcolm Tredinnick)
           - structured error handler on Python 64bits
           - Python space/tabs cleanups
           - Python libxml2 driver improvement
---
        Module Name:    pkgsrc
        Committed By:   recht
        Date:           Thu Nov 11 21:01:15 UTC 2004

        Modified Files:
                pkgsrc/textproc/libxml2: Makefile distinfo
                pkgsrc/textproc/libxml2/patches: patch-aa patch-ab

        Log Message:
        update to 2.6.16

        2.6.16: Nov 10 2004:
           - general hardening and bug fixing crossing all the API based on
             new automated regression testing
           - build fix: IPv6 build and test on AIX (Dodji Seketeli)
           - bug fixes: problem with XML::Libxml reported by Petr Pajas,
             encoding conversion functions return values, UTF-8 bug affecting
             XPath reported by Markus Bertheau, catalog problem with NULL
             entries (William Brack)
           - documentation: fix to xmllint man page, some API function
             descritpion were updated.
           - improvements: DTD validation APIs provided at the Python level
             (Brent Hendricks)
---
        Module Name:    pkgsrc
        Committed By:   minskim
        Date:           Thu Nov 25 18:37:43 UTC 2004

        Modified Files:
                pkgsrc/textproc/py-libxml2: Makefile distinfo
                pkgsrc/textproc/py-libxml2/patches: patch-aa

        Log Message:
        Update py-libxml2 to 2.6.16.

        Changes:
          - improvements: DTD validation APIs provided at the Python level.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/11/25 18:37:43 minskim Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.16
@


1.9
log
@add python as category
ok'd a while back at pkgsrcCon by agc and wiz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/07/06 16:43:01 recht Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.11
@


1.8
log
@catch up with libxml2 update and update to 2.6.11

Python related changes:

2.6.11: July 5 2004:
   - bug fixes: C14N bug serializing namespaces (Aleksey Sanin), testSAX
    properly initialize the library (William), empty node set in XPath
    (William), xmlSchemas errors (William), invalid charref problem pointed
    by Morus Walter, XInclude xml:base generation (William), Relax-NG bug
    with div processing (William), XPointer and xml:base problem(William),
    Reader and entities, xmllint return code for schemas (William), reader
    streaming problem (Steve Ball), DTD serialization problem (William),
    libxml.m4 fixes (Mike Hommey), do not provide destructors as methods on
    Python classes, xmlReader buffer bug, Python bindings memory interfaces
    improvement (with Stéphane Bidoul), Fixed the push parser to be back to
    synchronous behaviour.
   - improvement: custom per-thread I/O enhancement (Rob Richards), register
    namespace in debug shell (Stefano Debenedetti), Python based regression
    test for non-Unix users (William), dynamically increase the number of
    XPath extension functions in Python and fix a memory leak (Marc-Antoine
    Parent and William)

2.6.10: May 17 2004:
   - portability: problem with xpath.c on Windows (MSC and Borland), memcmp
    vs. strncmp on Solaris, XPath tests on Windows (Mark Vakoc), C++ do not
    use "list" as parameter name, make tests work with Python 1.5 (Ed
  Davis),
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/04/19 15:30:41 minskim Exp $
d5 1
a5 1
CATEGORIES=	textproc
@


1.7
log
@Update py-libxml2 to 2.6.9 to sync with textproc/libxml2.
No Python-specific change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/04/10 08:58:45 minskim Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.9
@


1.6
log
@Update py-libxml2 to 2.6.8.

Changes since 2.6.5:
   - Canonicalization C14N support added
   - 2.3 compatibility, whitespace fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2004/02/12 16:19:58 minskim Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.8
@


1.5
log
@bl3ify.  While here, update MAINTAINER email addr.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2004/01/31 22:19:06 xtraeme Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.5
d15 1
d23 2
a24 1
SUBST_SED.setup=	-e "s,'/usr','${BUILDLINK_PREFIX.libxml2}',g"
@


1.4
log
@Update to 2.6.5, provided by Min Sik Kim in PR pkg/24272.

Changes:

	o Python bindings: fixes (William)
	o enum support
	o structured error reporting
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2004/01/23 21:50:49 jmmv Exp $
d9 1
a9 1
MAINTAINER=	minskim@@bawi.org
d15 1
a15 1
USE_BUILDLINK2=	YES
d20 1
a20 1
SUBST_STAGE.setup=	post-patch
d24 2
a25 2
BUILDLINK_DEPENDS.libxml2=	libxml2>=${PKGVERSION}
.include "../../textproc/libxml2/buildlink2.mk"
d28 1
a28 1
.include "../../converters/libiconv/buildlink2.mk"
@


1.3
log
@Bump PKGREVISION due to xmlcatmgr update to 2.0beta1.  I know; this is a PITA.
This shouldn't be needed if we had non-recursive dependancies *sigh*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2004/01/20 12:26:50 agc Exp $
d3 1
a3 1
DISTNAME=	libxml2-2.6.4
a4 1
PKGREVISION=	1
@


1.2
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $
d5 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
a4 1
WRKSRC=		${WRKDIR}/${DISTNAME}/python
d13 1
@


1.1.1.1
log
@initial import of py-libxml2-2.6.4
provided by Min Sik Kim via pkgsrc-wip

This is the libxml2 python module, providing access to the libxml2
library.
@
text
@@
