head 1.179; access; symbols pkgsrc-2023Q4:1.176.0.2 pkgsrc-2023Q4-base:1.176 pkgsrc-2023Q3:1.171.0.2 pkgsrc-2023Q3-base:1.171 pkgsrc-2023Q2:1.170.0.2 pkgsrc-2023Q2-base:1.170 pkgsrc-2023Q1:1.167.0.2 pkgsrc-2023Q1-base:1.167 pkgsrc-2022Q4:1.165.0.2 pkgsrc-2022Q4-base:1.165 pkgsrc-2022Q3:1.164.0.4 pkgsrc-2022Q3-base:1.164 pkgsrc-2022Q2:1.164.0.2 pkgsrc-2022Q2-base:1.164 pkgsrc-2022Q1:1.162.0.2 pkgsrc-2022Q1-base:1.162 pkgsrc-2021Q4:1.161.0.2 pkgsrc-2021Q4-base:1.161 pkgsrc-2021Q3:1.160.0.2 pkgsrc-2021Q3-base:1.160 pkgsrc-2021Q2:1.159.0.2 pkgsrc-2021Q2-base:1.159 pkgsrc-2021Q1:1.157.0.4 pkgsrc-2021Q1-base:1.157 pkgsrc-2020Q4:1.157.0.2 pkgsrc-2020Q4-base:1.157 pkgsrc-2020Q3:1.156.0.4 pkgsrc-2020Q3-base:1.156 pkgsrc-2020Q2:1.156.0.2 pkgsrc-2020Q2-base:1.156 pkgsrc-2020Q1:1.155.0.2 pkgsrc-2020Q1-base:1.155 pkgsrc-2019Q4:1.154.0.4 pkgsrc-2019Q4-base:1.154 pkgsrc-2019Q3:1.153.0.2 pkgsrc-2019Q3-base:1.153 pkgsrc-2019Q2:1.152.0.4 pkgsrc-2019Q2-base:1.152 pkgsrc-2019Q1:1.152.0.2 pkgsrc-2019Q1-base:1.152 pkgsrc-2018Q4:1.151.0.2 pkgsrc-2018Q4-base:1.151 pkgsrc-2018Q3:1.149.0.2 pkgsrc-2018Q3-base:1.149 pkgsrc-2018Q2:1.148.0.2 pkgsrc-2018Q2-base:1.148 pkgsrc-2018Q1:1.147.0.2 pkgsrc-2018Q1-base:1.147 pkgsrc-2017Q4:1.146.0.6 pkgsrc-2017Q4-base:1.146 pkgsrc-2017Q3:1.146.0.4 pkgsrc-2017Q3-base:1.146 pkgsrc-2017Q2:1.145.0.2 pkgsrc-2017Q2-base:1.145 pkgsrc-2017Q1:1.143.0.2 pkgsrc-2017Q1-base:1.143 pkgsrc-2016Q4:1.142.0.6 pkgsrc-2016Q4-base:1.142 pkgsrc-2016Q3:1.142.0.4 pkgsrc-2016Q3-base:1.142 pkgsrc-2016Q2:1.142.0.2 pkgsrc-2016Q2-base:1.142 pkgsrc-2016Q1:1.140.0.2 pkgsrc-2016Q1-base:1.140 pkgsrc-2015Q4:1.139.0.2 pkgsrc-2015Q4-base:1.139 pkgsrc-2015Q3:1.138.0.2 pkgsrc-2015Q3-base:1.138 pkgsrc-2015Q2:1.137.0.2 pkgsrc-2015Q2-base:1.137 pkgsrc-2015Q1:1.136.0.2 pkgsrc-2015Q1-base:1.136 pkgsrc-2014Q4:1.134.0.2 pkgsrc-2014Q4-base:1.134 pkgsrc-2014Q3:1.130.0.2 pkgsrc-2014Q3-base:1.130 pkgsrc-2014Q2:1.129.0.2 pkgsrc-2014Q2-base:1.129 pkgsrc-2014Q1:1.128.0.4 pkgsrc-2014Q1-base:1.128 pkgsrc-2013Q4:1.128.0.2 pkgsrc-2013Q4-base:1.128 pkgsrc-2013Q3:1.125.0.4 pkgsrc-2013Q3-base:1.125 pkgsrc-2013Q2:1.125.0.2 pkgsrc-2013Q2-base:1.125 pkgsrc-2013Q1:1.123.0.2 pkgsrc-2013Q1-base:1.123 pkgsrc-2012Q4:1.122.0.2 pkgsrc-2012Q4-base:1.122 pkgsrc-2012Q3:1.120.0.2 pkgsrc-2012Q3-base:1.120 pkgsrc-2012Q2:1.118.0.2 pkgsrc-2012Q2-base:1.118 pkgsrc-2012Q1:1.115.0.2 pkgsrc-2012Q1-base:1.115 pkgsrc-2011Q4:1.110.0.2 pkgsrc-2011Q4-base:1.110 pkgsrc-2011Q3:1.109.0.4 pkgsrc-2011Q3-base:1.109 pkgsrc-2011Q2:1.109.0.2 pkgsrc-2011Q2-base:1.109 pkgsrc-2011Q1:1.108.0.2 pkgsrc-2011Q1-base:1.108 pkgsrc-2010Q4:1.107.0.2 pkgsrc-2010Q4-base:1.107 pkgsrc-2010Q3:1.104.0.4 pkgsrc-2010Q3-base:1.104 pkgsrc-2010Q2:1.104.0.2 pkgsrc-2010Q2-base:1.104 pkgsrc-2010Q1:1.103.0.4 pkgsrc-2010Q1-base:1.103 pkgsrc-2009Q4:1.103.0.2 pkgsrc-2009Q4-base:1.103 pkgsrc-2009Q3:1.101.0.2 pkgsrc-2009Q3-base:1.101 pkgsrc-2009Q2:1.100.0.4 pkgsrc-2009Q2-base:1.100 pkgsrc-2009Q1:1.100.0.2 pkgsrc-2009Q1-base:1.100 pkgsrc-2008Q4:1.99.0.2 pkgsrc-2008Q4-base:1.99 pkgsrc-2008Q3:1.94.0.4 pkgsrc-2008Q3-base:1.94 cube-native-xorg:1.94.0.2 cube-native-xorg-base:1.94 pkgsrc-2008Q2:1.93.0.4 pkgsrc-2008Q2-base:1.93 cwrapper:1.93.0.2 pkgsrc-2008Q1:1.91.0.2 pkgsrc-2008Q1-base:1.91 pkgsrc-2007Q4:1.90.0.2 pkgsrc-2007Q4-base:1.90 pkgsrc-2007Q3:1.89.0.2 pkgsrc-2007Q3-base:1.89 pkgsrc-2007Q2:1.85.0.2 pkgsrc-2007Q2-base:1.85 pkgsrc-2007Q1:1.84.0.4 pkgsrc-2007Q1-base:1.84 pkgsrc-2006Q4:1.84.0.2 pkgsrc-2006Q4-base:1.84 pkgsrc-2006Q3:1.80.0.4 pkgsrc-2006Q3-base:1.80 pkgsrc-2006Q2:1.80.0.2 pkgsrc-2006Q2-base:1.80 pkgsrc-2006Q1:1.77.0.2 pkgsrc-2006Q1-base:1.77 pkgsrc-2005Q4:1.75.0.2 pkgsrc-2005Q4-base:1.75 pkgsrc-2005Q3:1.73.0.2 pkgsrc-2005Q3-base:1.73 pkgsrc-2005Q2:1.69.0.2 pkgsrc-2005Q2-base:1.69 pkgsrc-2005Q1:1.65.0.2 pkgsrc-2005Q1-base:1.65 pkgsrc-2004Q4:1.63.0.2 pkgsrc-2004Q4-base:1.63 pkgsrc-2004Q3:1.59.0.2 pkgsrc-2004Q3-base:1.59 pkgsrc-2004Q2:1.54.0.2 pkgsrc-2004Q2-base:1.54 pkgsrc-2004Q1:1.51.0.2 pkgsrc-2004Q1-base:1.51 pkgsrc-2003Q4:1.38.0.2 pkgsrc-2003Q4-base:1.38 netbsd-1-6-1:1.21.0.2 netbsd-1-6-1-base:1.21 netbsd-1-6:1.15.0.6 netbsd-1-6-RELEASE-base:1.15 pkgviews:1.15.0.2 pkgviews-base:1.15 buildlink2:1.13.0.2 buildlink2-base:1.15 netbsd-1-5-PATCH003:1.11 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.179 date 2024.01.30.00.12.48; author gutteridge; state Exp; branches; next 1.178; commitid nz624YYV7EitapWE; 1.178 date 2024.01.27.21.07.16; author sjmulder; state Exp; branches; next 1.177; commitid AjAdpexFitgYc8WE; 1.177 date 2024.01.27.10.06.41; author wiz; state Exp; branches; next 1.176; commitid SCkLSbuXx3l6y4WE; 1.176 date 2023.12.17.15.46.59; author wiz; state Exp; branches; next 1.175; commitid sKp5z2mYjUPMKPQE; 1.175 date 2023.12.17.15.43.08; author thor; state Exp; branches; next 1.174; commitid ePZUVSOxAgvkJPQE; 1.174 date 2023.12.17.15.42.08; author thor; state Exp; branches; next 1.173; commitid Kdm49ACbrlNhGPQE; 1.173 date 2023.11.15.15.53.41; author nia; state Exp; branches; next 1.172; commitid FLmBmqAJsJaMOIME; 1.172 date 2023.11.08.13.21.06; author wiz; state Exp; branches; next 1.171; commitid PsuHTklAIsF4bOLE; 1.171 date 2023.08.14.05.25.23; author wiz; state Exp; branches; next 1.170; commitid LOSB79OLVxvXjIAE; 1.170 date 2023.04.19.08.08.46; author adam; state Exp; branches; next 1.169; commitid B8gCWhWtMX9vZGlE; 1.169 date 2023.04.15.13.06.21; author gutteridge; state Exp; branches; next 1.168; commitid r7Dz9kMcpNmDLclE; 1.168 date 2023.03.30.09.59.18; author rillig; state Exp; branches; next 1.167; commitid gB7E6MEZ2EUCf8jE; 1.167 date 2023.01.27.14.49.37; author jperkin; state Exp; branches 1.167.2.1; next 1.166; commitid gqSEpuzddCi0QbbE; 1.166 date 2023.01.22.10.30.08; author wiz; state Exp; branches; next 1.165; commitid F6dGeuPItJIazwaE; 1.165 date 2022.11.23.16.19.03; author adam; state Exp; branches 1.165.2.1; next 1.164; commitid ju2K3LUYlTJKqQ2E; 1.164 date 2022.05.06.00.55.54; author gutteridge; state Exp; branches; next 1.163; commitid MHFX05c35NwCMVCD; 1.163 date 2022.04.18.19.10.09; author adam; state Exp; branches; next 1.162; commitid eC9Na3jrfOOUpIAD; 1.162 date 2022.03.12.07.33.22; author kim; state Exp; branches; next 1.161; commitid 3Bqh0LWyc66gKTvD; 1.161 date 2021.12.08.16.02.43; author adam; state Exp; branches; next 1.160; commitid 2PyWjHx5T8rqARjD; 1.160 date 2021.07.21.13.55.07; author tnn; state Exp; branches; next 1.159; commitid oEL8PrXDRvRfnR1D; 1.159 date 2021.05.23.19.31.47; author nia; state Exp; branches; next 1.158; commitid SgZ0MCnPCq839jUC; 1.158 date 2021.04.21.11.40.41; author adam; state Exp; branches; next 1.157; commitid fph0Axs0eT3az9QC; 1.157 date 2020.11.05.09.07.10; author ryoon; state Exp; branches 1.157.4.1; next 1.156; commitid VqGaBtHnBBcd5GuC; 1.156 date 2020.06.02.08.22.58; author adam; state Exp; branches; next 1.155; commitid nisovMpvvZm3RCaC; 1.155 date 2020.01.24.10.40.36; author kim; state Exp; branches; next 1.154; commitid 2b6SGCYFl80wNVTB; 1.154 date 2019.11.04.21.43.38; author rillig; state Exp; branches 1.154.4.1; next 1.153; commitid N5dAweKpOIEm4AJB; 1.153 date 2019.07.03.16.54.32; author sevan; state Exp; branches; next 1.152; commitid 76v2SgRhTkbBrCtB; 1.152 date 2019.01.09.19.09.02; author adam; state Exp; branches; next 1.151; commitid LaGInNPEhzCJO87B; 1.151 date 2018.11.09.15.31.46; author leot; state Exp; branches 1.151.2.1; next 1.150; commitid rxtkEfiJRDjhAhZA; 1.150 date 2018.10.13.09.05.42; author leot; state Exp; branches; next 1.149; commitid hsB7ZSPEXIuWiMVA; 1.149 date 2018.08.09.18.44.13; author snj; state Exp; branches; next 1.148; commitid m4hjIkY8c3ytBtNA; 1.148 date 2018.06.20.18.22.45; author tez; state Exp; branches; next 1.147; commitid sqon5LQxw6VS53HA; 1.147 date 2018.03.14.10.49.00; author maya; state Exp; branches; next 1.146; commitid 5PV4lDLKaVrZIpuA; 1.146 date 2017.09.10.20.49.20; author wiz; state Exp; branches; next 1.145; commitid f6GOZvlw8PQe0H6A; 1.145 date 2017.06.21.00.23.23; author tez; state Exp; branches; next 1.144; commitid 9rEnBPQvIOLJOaWz; 1.144 date 2017.06.11.04.40.53; author maya; state Exp; branches; next 1.143; commitid SgrwQn5bwQx3zUUz; 1.143 date 2016.12.30.02.17.48; author dholland; state Exp; branches 1.143.2.1; next 1.142; commitid 3d0v7nPjgB211Xzz; 1.142 date 2016.05.27.23.51.10; author pgoyette; state Exp; branches; next 1.141; commitid yqWgAr1K9dZ99b8z; 1.141 date 2016.05.24.12.00.08; author he; state Exp; branches; next 1.140; commitid pBt1N6fQF4DViJ7z; 1.140 date 2016.02.26.10.32.47; author jperkin; state Exp; branches 1.140.2.1; next 1.139; commitid ZF0w9NBrjzUJEpWy; 1.139 date 2015.11.22.23.49.03; author wiz; state Exp; branches; next 1.138; commitid xoXPsTfDvILe99Ky; 1.138 date 2015.07.03.18.55.46; author he; state Exp; branches; next 1.137; commitid Iss3T7HwAkuw5Sry; 1.137 date 2015.04.24.11.32.29; author spz; state Exp; branches 1.137.2.1; next 1.136; commitid 2OkrQz1oMHRFSPiy; 1.136 date 2015.03.22.05.53.12; author tnn; state Exp; branches 1.136.2.1; next 1.135; commitid 926B55ddBj544zey; 1.135 date 2015.03.11.22.53.10; author tnn; state Exp; branches; next 1.134; commitid SxTA3ddCTPBf4fdy; 1.134 date 2014.12.15.11.07.09; author jperkin; state Exp; branches; next 1.133; commitid Oc5TMTvsYT3qV72y; 1.133 date 2014.10.28.18.55.56; author drochner; state Exp; branches; next 1.132; commitid 2Ad7y42pzYl330Wx; 1.132 date 2014.10.17.15.46.47; author drochner; state Exp; branches; next 1.131; commitid OiQGF8Ctdzm7mzUx; 1.131 date 2014.10.09.14.07.02; author wiz; state Exp; branches; next 1.130; commitid fBDATFVmQ3454xTx; 1.130 date 2014.07.18.10.29.37; author ryoon; state Exp; branches 1.130.2.1; next 1.129; commitid 3vCRwF0cq1ejxQIx; 1.129 date 2014.05.10.22.45.42; author spz; state Exp; branches; next 1.128; commitid 4JBvWLzcRfkcP2Ax; 1.128 date 2013.12.28.23.04.36; author tron; state Exp; branches 1.128.4.1; next 1.127; commitid XAufn920GbSZcXix; 1.127 date 2013.12.28.20.23.44; author tron; state Exp; branches; next 1.126; commitid 1Vz9x8G133UtjWix; 1.126 date 2013.11.25.23.30.23; author wiz; state Exp; branches; next 1.125; commitid nsb9neK0UuLBpIex; 1.125 date 2013.05.26.09.22.14; author adam; state Exp; branches; next 1.124; commitid ibcHMEBYnQfAA7Rw; 1.124 date 2013.04.18.10.17.42; author drochner; state Exp; branches; next 1.123; 1.123 date 2013.03.08.23.59.31; author tez; state Exp; branches 1.123.2.1; next 1.122; 1.122 date 2012.12.15.12.39.24; author drochner; state Exp; branches 1.122.2.1; next 1.121; 1.121 date 2012.10.25.06.56.04; author asau; state Exp; branches; next 1.120; 1.120 date 2012.09.15.10.23.38; author adam; state Exp; branches; next 1.119; 1.119 date 2012.08.01.14.51.37; author drochner; state Exp; branches; next 1.118; 1.118 date 2012.06.14.07.39.36; author sbd; state Exp; branches 1.118.2.1; next 1.117; 1.117 date 2012.06.03.22.18.33; author wiz; state Exp; branches; next 1.116; 1.116 date 2012.05.21.12.22.53; author taca; state Exp; branches; next 1.115; 1.115 date 2012.04.03.09.08.33; author obache; state Exp; branches 1.115.2.1; next 1.114; 1.114 date 2012.03.09.12.12.27; author drochner; state Exp; branches; next 1.113; 1.113 date 2012.02.22.11.10.17; author drochner; state Exp; branches; next 1.112; 1.112 date 2012.01.17.14.43.43; author drochner; state Exp; branches; next 1.111; 1.111 date 2012.01.12.11.25.10; author drochner; state Exp; branches; next 1.110; 1.110 date 2011.11.01.19.21.06; author spz; state Exp; branches 1.110.2.1; next 1.109; 1.109 date 2011.06.06.12.09.01; author drochner; state Exp; branches 1.109.4.1; next 1.108; 1.108 date 2011.02.28.14.53.04; author wiz; state Exp; branches 1.108.2.1; next 1.107; 1.107 date 2011.01.03.12.17.43; author drochner; state Exp; branches; next 1.106; 1.106 date 2010.11.26.13.43.24; author drochner; state Exp; branches; next 1.105; 1.105 date 2010.11.25.13.18.38; author drochner; state Exp; branches; next 1.104; 1.104 date 2010.04.13.16.04.09; author drochner; state Exp; branches 1.104.4.1; next 1.103; 1.103 date 2009.10.31.03.05.20; author wiz; state Exp; branches; next 1.102; 1.102 date 2009.10.21.14.55.32; author drochner; state Exp; branches; next 1.101; 1.101 date 2009.08.26.10.20.57; author tron; state Exp; branches; next 1.100; 1.100 date 2009.02.21.13.58.49; author wiz; state Exp; branches 1.100.4.1; next 1.99; 1.99 date 2008.11.24.13.59.16; author tron; state Exp; branches; next 1.98; 1.98 date 2008.10.17.16.06.04; author drochner; state Exp; branches; next 1.97; 1.97 date 2008.10.16.13.31.57; author drochner; state Exp; branches; next 1.96; 1.96 date 2008.10.09.19.20.36; author wiz; state Exp; branches; next 1.95; 1.95 date 2008.10.09.15.01.27; author tron; state Exp; branches; next 1.94; 1.94 date 2008.09.06.14.58.34; author wiz; state Exp; branches 1.94.4.1; next 1.93; 1.93 date 2008.05.04.06.59.51; author dsainty; state Exp; branches 1.93.4.1; next 1.92; 1.92 date 2008.04.22.21.42.07; author wiz; state Exp; branches; next 1.91; 1.91 date 2008.01.15.23.39.03; author wiz; state Exp; branches; next 1.90; 1.90 date 2007.10.31.20.14.45; author drochner; state Exp; branches; next 1.89; 1.89 date 2007.09.08.21.58.00; author jlam; state Exp; branches; next 1.88; 1.88 date 2007.09.06.21.51.54; author jlam; state Exp; branches; next 1.87; 1.87 date 2007.08.29.22.27.09; author wiz; state Exp; branches; next 1.86; 1.86 date 2007.07.07.15.28.30; author wiz; state Exp; branches; next 1.85; 1.85 date 2007.05.03.13.19.00; author wiz; state Exp; branches; next 1.84; 1.84 date 2006.11.03.06.56.23; author joerg; state Exp; branches; next 1.83; 1.83 date 2006.10.30.20.57.30; author drochner; state Exp; branches; next 1.82; 1.82 date 2006.10.04.20.20.03; author rillig; state Exp; branches; next 1.81; 1.81 date 2006.10.01.08.53.05; author schwarz; state Exp; branches; next 1.80; 1.80 date 2006.06.09.21.16.38; author drochner; state Exp; branches; next 1.79; 1.79 date 2006.05.15.08.27.31; author minskim; state Exp; branches; next 1.78; 1.78 date 2006.05.03.11.01.17; author drochner; state Exp; branches; next 1.77; 1.77 date 2006.02.05.23.11.03; author joerg; state Exp; branches; next 1.76; 1.76 date 2006.01.14.07.50.52; author recht; state Exp; branches; next 1.75; 1.75 date 2005.12.05.20.51.06; author rillig; state Exp; branches; next 1.74; 1.74 date 2005.09.30.19.58.00; author wiz; state Exp; branches; next 1.73; 1.73 date 2005.09.08.07.31.54; author recht; state Exp; branches; next 1.72; 1.72 date 2005.09.05.07.37.50; author recht; state Exp; branches; next 1.71; 1.71 date 2005.09.03.14.23.50; author xtraeme; state Exp; branches; next 1.70; 1.70 date 2005.07.12.21.15.21; author recht; state Exp; branches; next 1.69; 1.69 date 2005.05.22.20.08.35; author jlam; state Exp; branches; next 1.68; 1.68 date 2005.04.11.21.47.36; author tv; state Exp; branches; next 1.67; 1.67 date 2005.04.09.15.55.56; author recht; state Exp; branches; next 1.66; 1.66 date 2005.03.21.23.15.40; author recht; state Exp; branches; next 1.65; 1.65 date 2005.02.12.16.27.47; author recht; state Exp; branches; next 1.64; 1.64 date 2005.01.16.22.28.34; author recht; state Exp; branches; next 1.63; 1.63 date 2004.11.11.21.01.15; author recht; state Exp; branches; next 1.62; 1.62 date 2004.10.31.10.40.50; author recht; state Exp; branches; next 1.61; 1.61 date 2004.10.21.05.28.17; author xtraeme; state Exp; branches; next 1.60; 1.60 date 2004.10.03.00.18.20; author tv; state Exp; branches; next 1.59; 1.59 date 2004.09.02.11.13.27; author jmmv; state Exp; branches 1.59.2.1; next 1.58; 1.58 date 2004.08.24.11.39.01; author drochner; state Exp; branches; next 1.57; 1.57 date 2004.08.04.11.19.59; author wiz; state Exp; branches; next 1.56; 1.56 date 2004.07.06.13.52.25; author xtraeme; state Exp; branches; next 1.55; 1.55 date 2004.07.01.15.14.03; author recht; state Exp; branches; next 1.54; 1.54 date 2004.05.07.01.14.50; author xtraeme; state Exp; branches; next 1.53; 1.53 date 2004.04.19.14.24.57; author jmmv; state Exp; branches; next 1.52; 1.52 date 2004.03.28.21.31.46; author jmmv; state Exp; branches; next 1.51; 1.51 date 2004.03.22.22.25.59; author snj; state Exp; branches; next 1.50; 1.50 date 2004.02.23.21.49.05; author xtraeme; state Exp; branches; next 1.49; 1.49 date 2004.02.22.07.03.20; author minskim; state Exp; branches; next 1.48; 1.48 date 2004.02.14.18.26.29; author jmmv; state Exp; branches; next 1.47; 1.47 date 2004.02.14.17.21.53; author jlam; state Exp; branches; next 1.46; 1.46 date 2004.02.12.22.18.13; author xtraeme; state Exp; branches; next 1.45; 1.45 date 2004.02.01.10.28.48; author jlam; state Exp; branches; next 1.44; 1.44 date 2004.01.31.22.13.52; author xtraeme; state Exp; branches; next 1.43; 1.43 date 2004.01.24.15.13.20; author grant; state Exp; branches; next 1.42; 1.42 date 2004.01.23.17.18.32; author jmmv; state Exp; branches; next 1.41; 1.41 date 2003.12.31.09.55.43; author seb; state Exp; branches; next 1.40; 1.40 date 2003.12.26.21.49.08; author jmmv; state Exp; branches; next 1.39; 1.39 date 2003.12.04.19.33.38; author xtraeme; state Exp; branches; next 1.38; 1.38 date 2003.11.02.07.02.32; author xtraeme; state Exp; branches; next 1.37; 1.37 date 2003.10.05.10.10.06; author wiz; state Exp; branches; next 1.36; 1.36 date 2003.09.13.07.23.36; author jdolecek; state Exp; branches; next 1.35; 1.35 date 2003.08.29.11.22.21; author xtraeme; state Exp; branches; next 1.34; 1.34 date 2003.07.17.22.54.29; author grant; state Exp; branches; next 1.33; 1.33 date 2003.07.13.13.53.33; author wiz; state Exp; branches; next 1.32; 1.32 date 2003.07.11.23.28.04; author wiz; state Exp; branches; next 1.31; 1.31 date 2003.07.04.10.03.37; author skrll; state Exp; branches; next 1.30; 1.30 date 2003.07.01.09.45.54; author wiz; state Exp; branches; next 1.29; 1.29 date 2003.06.02.01.16.37; author jschauma; state Exp; branches; next 1.28; 1.28 date 2003.05.08.09.34.58; author wiz; state Exp; branches; next 1.27; 1.27 date 2003.05.02.11.56.31; author wiz; state Exp; branches; next 1.26; 1.26 date 2003.04.10.09.34.04; author wiz; state Exp; branches; next 1.25; 1.25 date 2003.03.26.14.55.12; author jmmv; state Exp; branches; next 1.24; 1.24 date 2003.03.18.15.06.20; author jmmv; state Exp; branches; next 1.23; 1.23 date 2003.03.04.16.52.07; author wiz; state Exp; branches; next 1.22; 1.22 date 2003.02.24.20.40.15; author jmmv; state Exp; branches; next 1.21; 1.21 date 2002.11.06.07.56.51; author tron; state Exp; branches; next 1.20; 1.20 date 2002.10.29.11.37.38; author martti; state Exp; branches; next 1.19; 1.19 date 2002.10.03.14.06.15; author martti; state Exp; branches; next 1.18; 1.18 date 2002.09.10.16.06.49; author wiz; state Exp; branches; next 1.17; 1.17 date 2002.08.31.00.49.24; author wiz; state Exp; branches; next 1.16; 1.16 date 2002.08.25.18.40.10; author jlam; state Exp; branches; next 1.15; 1.15 date 2002.07.12.15.45.02; author wiz; state Exp; branches; next 1.14; 1.14 date 2002.05.17.13.02.29; author martti; state Exp; branches; next 1.13; 1.13 date 2002.04.28.22.12.05; author wiz; state Exp; branches 1.13.2.1; next 1.12; 1.12 date 2002.04.26.10.32.37; author martti; state Exp; branches; next 1.11; 1.11 date 2002.01.29.07.40.11; author martti; state Exp; branches; next 1.10; 1.10 date 2001.12.10.13.29.31; author taca; state Exp; branches; next 1.9; 1.9 date 2001.11.29.01.12.50; author hubertf; state Exp; branches; next 1.8; 1.8 date 2001.11.17.15.28.49; author tron; state Exp; branches; next 1.7; 1.7 date 2001.11.16.20.59.32; author tron; state Exp; branches; next 1.6; 1.6 date 2001.10.17.20.06.55; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.10.03.22.36.40; author jlam; state Exp; branches; next 1.4; 1.4 date 2001.09.26.23.22.17; author jlam; state Exp; branches; next 1.3; 1.3 date 2001.09.14.06.53.34; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.08.24.16.59.01; author wiz; state Exp; branches; next 1.1; 1.1 date 2001.06.29.11.47.12; author rh; state Exp; branches 1.1.1.1; next ; 1.167.2.1 date 2023.04.16.14.52.36; author bsiegert; state Exp; branches; next ; commitid nkIk711mJulpkllE; 1.165.2.1 date 2023.03.04.12.54.51; author spz; state Exp; branches; next ; commitid qxQAmZic7GgH3OfE; 1.157.4.1 date 2021.05.25.14.44.14; author bsiegert; state Exp; branches; next ; commitid hpkp0bmISlZCuxUC; 1.154.4.1 date 2020.01.27.10.13.42; author bsiegert; state Exp; branches; next ; commitid PbvjkK90WzYnyjUB; 1.151.2.1 date 2019.02.18.14.05.52; author bsiegert; state Exp; branches; next ; commitid EEDBDfVeUgPARfcB; 1.143.2.1 date 2017.06.21.18.17.36; author bsiegert; state Exp; branches; next ; commitid SmZ6b3AJBw0ELgWz; 1.140.2.1 date 2016.05.25.19.07.28; author spz; state Exp; branches; next ; commitid Znwg6HxdLa4YDT7z; 1.137.2.1 date 2015.07.12.09.01.56; author tron; state Exp; branches; next ; commitid GNpxGHeySbwYvYsy; 1.136.2.1 date 2015.04.29.20.35.49; author tron; state Exp; branches; next ; commitid 7XjQEh0qxGDuJwjy; 1.130.2.1 date 2014.11.03.19.39.07; author tron; state Exp; branches; next ; commitid ToRe6fvmovhN6MWx; 1.128.4.1 date 2014.05.21.13.34.55; author tron; state Exp; branches; next ; commitid tguHvjnbOilFqpBx; 1.123.2.1 date 2013.04.20.10.29.46; author tron; state Exp; branches; next ; 1.122.2.1 date 2013.03.17.11.22.02; author tron; state Exp; branches; next ; 1.118.2.1 date 2012.08.09.18.05.03; author tron; state Exp; branches; next ; 1.115.2.1 date 2012.05.21.15.13.36; author tron; state Exp; branches; next ; 1.110.2.1 date 2012.01.13.13.10.41; author tron; state Exp; branches; next 1.110.2.2; 1.110.2.2 date 2012.01.19.06.07.36; author sbd; state Exp; branches; next 1.110.2.3; 1.110.2.3 date 2012.03.12.18.06.49; author spz; state Exp; branches; next ; 1.109.4.1 date 2011.11.07.22.28.09; author tron; state Exp; branches; next ; 1.108.2.1 date 2011.06.11.05.11.54; author sbd; state Exp; branches; next ; 1.104.4.1 date 2010.11.27.04.47.33; author sbd; state Exp; branches; next ; 1.100.4.1 date 2009.08.28.07.43.14; author spz; state Exp; branches; next ; 1.94.4.1 date 2008.10.12.12.09.10; author rtr; state Exp; branches; next 1.94.4.2; 1.94.4.2 date 2008.11.26.11.12.09; author rtr; state Exp; branches; next ; 1.93.4.1 date 2008.09.11.12.22.36; author ghen; state Exp; branches; next ; 1.59.2.1 date 2004.11.30.00.04.43; author salo; state Exp; branches; next ; 1.13.2.1 date 2002.05.11.02.09.26; author jlam; state Exp; branches; next 1.13.2.2; 1.13.2.2 date 2002.06.21.23.05.44; author jlam; state Exp; branches; next 1.13.2.3; 1.13.2.3 date 2002.06.23.19.02.17; author jlam; state Exp; branches; next 1.13.2.4; 1.13.2.4 date 2002.08.22.11.12.46; author jlam; state Exp; branches; next ; 1.1.1.1 date 2001.06.29.11.47.12; author rh; state Exp; branches; next ; desc @@ 1.179 log @libxml2: restrict _POSIX_C_SOURCE to Linux Fix build breakage with FreeBSD, where some definitions were then hidden by __BSD_VISIBLE not being defined, e.g.: CC libxml2_la-nanohttp.lo nanohttp.c:837:20: error: use of undeclared identifier 'PF_INET6' s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP); ^ nanohttp.c:842:20: error: use of undeclared identifier 'PF_INET' s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); ^ 2 errors generated. (Tested on FreeBSD 14 and Fedora Linux 39.) @ text @# $NetBSD: Makefile,v 1.178 2024/01/27 21:07:16 sjmulder Exp $ .include "../../textproc/libxml2/Makefile.common" COMMENT= XML parser library from the GNOME project LICENSE= modified-bsd USE_FEATURES= glob USE_LIBTOOL= yes USE_TOOLS+= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} CONFIGURE_ARGS+= --with-lzma=${BUILDLINK_PREFIX.xz} CONFIGURE_ARGS+= --with-ftp CONFIGURE_ARGS+= --with-legacy CONFIGURE_ARGS+= --without-python PKGCONFIG_OVERRIDE= libxml-2.0.pc.in USE_LANGUAGES+= c FORCE_C_STD= c99 # for struct addrinfo on glibc CPPFLAGS.Linux+= -D_POSIX_C_SOURCE=200112L TEST_TARGET= check SUBST_CLASSES+= rpath SUBST_STAGE.rpath= pre-configure SUBST_FILES.rpath= configure SUBST_VARS.rpath= COMPILER_RPATH_FLAG .include "options.mk" .include "../../archivers/xz/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.178 log @textproc/libxml2: Fix undefined addrinfo on glibc On Fedora 39 (only with IPv6 enabled): nanoftp.c: In function 'xmlNanoFTPConnect': nanoftp.c:798:25: error: storage size of 'hints' isn't known 798 | struct addrinfo hints, *tmp, *result; | ^~~~~ netdb.h and GNU's getaddrinfo(3) show that it's behind a feature macro: _POSIX_C_SOURCE >= 200112L Tested on Fedora 39 and NetBSD 9. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.177 2024/01/27 10:06:41 wiz Exp $ d26 1 a26 1 CPPFLAGS+= -D_POSIX_C_SOURCE=200112L @ 1.177 log @*libxml2: update to 2.12.4 v2.12.4: Jan 15 2024 ### Regressions - parser: Fix regression parsing standalone declarations - autotools: Readd --with-xptr-locs configuration option - parser: Fix build --without-output - parser: Don't grow or shrink pull parser memory buffers - io: Fix memory lifetime issue with input buffers v2.12.3: Dec 12 2023 ### Regressions - parser: Fix namespaces redefined from default attributes ### Build fixes - include: Rename XML_EMPTY helper macro - include: Move declaration of xmlInitGlobals - include: Add missing includes - include: Move globals from xmlsave.h to parser.h - include: Readd circular dependency between tree.h and parser.h v2.12.2: Dec 5 2023 ### Regressions - parser: Fix invalid free in xmlParseBalancedChunkMemoryRecover - globals: Disable TLS in static Windows builds - html: Reenable buggy detection of XML declarations - tree: Fix regression when copying DTDs - parser: Make CRLF increment line number ### Build fixes - build: Disable compiler TLS by default - cmake: Update config.h.cmake.in - tests: Fix tests --with-valid --without-xinclude v2.12.1: Nov 23 2023 ### Regressions - hash: Fix deletion of entries during scan - parser: Only enable SAX2 if there are SAX2 element handlers ### Build fixes - autotools: Stop checking for snprintf - dict: Fix '__thread' before 'static' - fix: pthread weak references in globals.c (Mike Dalessio) - tests: Fix build with older MSVC v2.12.0: Nov 16 2023 ### Major changes Most of the known issues leading to quadratic behavior in the XML parser were fixed. Internal hash tables were rewritten to reduce memory consumption. Starting with this release, it should be enough to add the --with-legacy configuration option to provide maximum ABI compatibility. For example, if a code module was removed from the default configuration, the option will add stubs for the removed symbols. libxml2 will now store global variables in thread-local storage if supported by the compiler. This avoids allocating the data lazily which can result in a fatal error condition. A new API function xmlCheckThreadLocalStorage was added so the allocation can be checked earlier if compiler TLS is not supported. To prepare for future improvements, some API functions now expect or return a const xmlError struct. Several cyclic dependencies in public header files were fixed. As a result, certain headers won't include other headers as before. Refactoring of the encoding code has been mostly completed. Calling xmlSwitchEncoding from client code is now fully supported, for example to override the encoding for the push parser. When parsing data from memory, libxml2 will now stream data chunk by chunk instead of copying the whole buffer (possibly twice with encodings), reducing peak memory consumption considerably. A new API function xmlCtxtSetMaxAmplification was added to allow parsing of files that would otherwise trigger the billion laughs protection. Several bugs in the regex determinism checks were fixed. Invalid XML Schemas which previous versions erroneously accepted will now be rejected. ### Deprecations - globals: Deprecate xmlLastError - parser: Deprecate global parser options - win32: Deprecate old Windows build system ### Bug fixes - parser: Stop switching to ISO-8859-1 on encoding errors - parser: Support encoded external PEs in entity values - string: Fix UTF-8 validation in xmlGetUTF8Char - SAX2: Allow multiple top-level elements - parser: Update line number after coalescing text nodes - parser: Check for truncated multi-byte sequences ### Improvements - error: Make more xmlError structs constant - parser: Remove redundant IS_CHAR check in xmlCurrentChar - parser: Fix stack handling in xmlParseTryOrFinish - parser: Protect against quadratic default attribute expansion - parser: Missing checks for disableSAX - entities: Make xmlFreeEntity public - examples: Don't use sprintf - encoding: Suppress -Wcast-align warnings - parser: Use hash tables to avoid quadratic behavior - parser: Don't skip CR in xmlCurrentChar - dict: Rewrite dictionary hash table code - hash: Rewrite hash table code - malloc-fail: Report malloc failure in xmlFARegExec - malloc-fail: Report malloc failure in xmlRegEpxFromParse - parser: Simplify xmlStringCurrentChar - regexp: Fix status codes and handle invalid UTF-8 - error: Make xmlGetLastError return a const error - html: Fix logic in htmlAutoClose - globals: Move globals back to correct header files - globals: Use thread-local storage if available - globals: Rework global state destruction on Windows - globals: Define globals using macros - globals: Introduce xmlCheckThreadLocalStorage - globals: Make xmlGlobalState private - threads: Move library initialization code to threads.c - debug: Remove debugging code - globals: Move code from threads.c to globals.c - parser: Avoid undefined behavior in xmlParseStartTag2 - schemas: Fix memory leak of annotations in notations - dict: Update hash function - dict: Use thread-local storage for PRNG state - dict: Use xoroshiro64** as PRNG - xmllint: Fix error messages - parser: Fix detection of null bytes - parser: Improve error handling in push parser - parser: Don't check inputNr in xmlParseTryOrFinish - parser: Remove push parser debugging code - tree: Fix copying of DTDs - legacy: Add stubs for disabled modules - parser: Allow to set maximum amplification factor - entities: Don't change doc when encoding entities - parser: Never use UTF-8 encoding handler - encoding: Remove debugging code - malloc-fail: Fix unsigned integer overflow in xmlTextReaderPushData - html: Remove encoding hack in htmlCreateFileParserCtxt - parser: Decode all data in xmlCharEncInput - parser: Stream data when reading from memory - parser: Optimize xmlLoadEntityContent - parser: Don't overwrite EOF parser state - parser: Simplify input pointer updates - parser: Don't reinitialize parser input members - encoding: Move rawconsumed accounting to xmlCharEncInput - parser: Rework encoding detection - parser: Always create UTF-8 in xmlParseReference - html: Remove some debugging code in htmlParseTryOrFinish - malloc-fail: Fix memory leak in xmlCompileAttributeTest - parser: Recover more input from encoding errors - malloc-fail: Handle malloc failures in xmlAddEncodingAlias - malloc-fail: Fix null-deref with xmllint --copy - xpath: Ignore entity ref nodes when computing node hash - malloc-fail: Fix null deref after xmlXIncludeNewRef - SAX: Always validate xml:ids - Stop using sprintf - Fix compiler warning on GCC < 8 - regexp: Fix determinism checks - regexp: Fix checks for eliminated transitions - regexp: Simplify xmlFAReduceEpsilonTransitions - regexp: Fix cycle check in xmlFAReduceEpsilonTransitions - schemas: Fix filename in xmlSchemaValidateFile - schemas: Fix line numbers in streaming validation - writer: Add error check in xmlTextWriterEndDocument - encoding: Stop calling xmlEncodingErr - xmlIO: Remove some calls to xmlIOErr - parser: Improve handling of encoding and IO errors - parser: Move xmlFatalErr to parserInternals.c - encoding: Rework error codes - .gitignore: Split up and rearrange .gitignore files - .gitignore: Add runsuite.log - Stop calling xmlMemoryDump - examples: Don't call xmlCleanupParser and xmlMemoryDump - xpath: Remove remaining references to valueFrame ### Portability - python: Make it compatible with python3.12 (Daniel Garcia Moreno) ### Build systems - cmake: Check whether static linking dependencies found in config files (James Le Cuirot) - autotools: Make --with-minimum disable lzma support - build: Remove some GCC warnings - Handle NOCONFIG case when setting locations from CMake target properties (Markus Rickert) - cmake: Generate better pkg-config file for SYSROOT builds under CMake (James Le Cuirot) - autoconf: Include non-pkg-config dependency flags in the pkg-config file (James Le Cuirot) - autoconf: Don't bake build time CFLAGS into pkg-config file (James Le Cuirot) - build: Generate better pkg-config files for static-only builds (James Le Cuirot) - build: Generate better pkg-config file for SYSROOT builds (James Le Cuirot) - autoconf: Allow custom --with-icu configure option ### Tests - tests: Also test xmlNextChar in testchar.c - tests: Start with testparser.c for extra tests - fuzz: Raise rss_limit_mb - fuzz: Test xmlTextReaderRead after EOF or failure - fuzz: Test XML_PARSE_XINCLUDE | XML_PARSE_VALID - tests: Handle entities in SAX tests - fuzz: Disable XML_PARSE_SAX1 option in xml fuzzer - tests: Add more tests for redefined attributes - hash: Add hash table tests - tests: Add ATTRIBUTE_NO_SANITIZE_INTEGER macro - fuzz: Allow to fuzz without push, reader or output modules - gitlab-ci: Add a "medium" config build - python: Fix tests on MinGW - test: Add push parser test with overridden encoding - testapi: test_xmlSAXDefaultVersion() leaves xmlSAX2DefaultVersionValue set to 1 with LIBXML_SAX1_ENABLED (David Kilzer) - gitlab-ci: Lower _XOPEN_SOURCE value - testapi: Don't set http_proxy environment variable - test: Add push parser tests for split UTF-8 sequences - xinclude: Lower initial table size when fuzzing - tests: Test streaming schema validation - runtest: Skip element name in schema error messages ### Documentation - doc: Add notes about runtest to MAINTAINERS.md - doc: Don't document internal macros in xmlversion.h - doc: Allow 'unsigned' without 'int' - doc: Improve documentation of configuration options v2.11.6: Nov 16 2023 ### Regressions - threads: Fix --with-thread-alloc - xinclude: Fix 'last' pointer in xmlXIncludeCopyNode ### Bug fixes - parser: Fix potential use-after-free in xmlParseCharDataInternal v2.11.5: Aug 9 2023 ### Regressions - parser: Make xmlSwitchEncoding always skip the BOM - autotools: Improve iconv check ### Bug fixes - valid: Fix c1->parent pointer in xmlCopyDocElementContent - encoding: Always call ucnv_convertEx with flush set to false ### Portability - autotools: fix Python module file ext for cygwin/msys2 (Christoph Reiter) ### Tests - runtest: Fix compilation without LIBXML_HTML_ENABLED v2.11.4: May 18 2023 Fixes a serious regression. - parser: Fix regression when push parsing UTF-8 sequences v2.11.3: May 11 2023 Fixes more regressions. - xinclude: Fix false positives in inclusion loop detection - autotools: Fix ICU detection - parser: Fix "huge input lookup" error with push parser - xpath: Fix build without LIBXML_XPATH_ENABLED - hash: Fix possible startup crash with old libxslt versions - autoconf: fix iconv library paths (Mike Dalessio) v2.11.2: May 5 2023 Fix regressions. - threads: Fix startup crash with weak symbol hack - win32: Don't depend on removed .def file - schemas: Fix memory leak in xmlSchemaValidateStream v2.11.1: Apr 30 2023 Fixes build and ABI issues. - cmake: Fix va_copy detection (Luca Niccoli) - libxml.m4: Fix quoting - Link with --undefined-version - libxml2.syms: Revert removal of version information v2.11.0: Apr 28 2023 ### Major changes Protection against entity expansion attacks, also known as "billion laughs" has been greatly improved. Malicious files should be detected reliably now and false positives should be reduced. It is possible though that large documents which make heavy use of entities are rejected now. This release finally fixes symbol visibility on UNIX systems. Internal symbols will now be hidden. While these symbols were never declared in public headers, it was still possible to declare them manually. Now this won't work. All symbol information has been removed from the ELF version script to fix link errors with --no-undefined-version. The version nodes are kept so it should still be possible to run binaries linked against older versions. About 90 memory errors in code paths handling malloc failures have been fixed. While these issues shouldn't impact security, this improves robustness under memory pressure. The XInclude engine has been reworked to properly support nested includes. Several cases of quadratic behavior in the XML push parser have been fixed. Refactoring has begun on some buffering and encoding code with the goal of simplifying this part of the code base and improving error reporting. Other highlights: - Consolidated private header files. - Major rework of the autoconf build. - Deprecated several outdated and internal functions. Special thanks to Google's Open Source Security Subsidies program for sponsoring much of the work on this release! Ongoing work on libxml2 relies on funding. For a list of important open issues see ### Security - Fix use-after-free in xmlParseContentInternal() (David Kilzer) - xmllint: Fix use-after-free with --maxmem - parser: Fix OOB read when formatting error message - entities: Rework entity amplification checks ### Regressions - parser: Fix regression in xmlParserNodeInfo accounting ### Bug fixes - Fix memory errors in code handling malloc failures - encoding: Fix error code in asciiToUTF8 - xpath: number('-') should return NaN - xmlParseStartTag2() contains typo when checking for default definitions for an attribute in a namespace (David Kilzer) - uri: Fix handling of port numbers - error: Make sure that error messages are valid UTF-8 - xinclude: Fix nested includes ### Improvements - xmllint: Validate --maxmem integer option - xmlValidatePopElement() can return invalid value (-1) (David Kilzer) - parser: Rework EBCDIC code page detection - parser: Limit name length in xmlParseEncName - parser: Rework shrinking of input buffers - html: Rely on CUR_CHAR to grow the input buffer - parser: Rely on CUR_CHAR/NEXT to grow the input buffer - valid: Make xmlValidateElement non-recursive - html: Fix quadratic behavior in htmlParseTryOrFinish - xmllint: Fix memory leak with --pattern --stream - parser: Stop calling xmlParserInputShrink - html: Impose some length limits - valid: Allow xmlFreeValidCtxt(NULL) - parser: Stop calling xmlParserInputGrow - xinclude: Fix quadratic behavior in xmlXIncludeLoadTxt - xinclude: Abort immediately if max depth was exceeded - xpath: Only report the first error - error: Don't move past current position - error: Limit number of parser errors - parser: Lower entity nesting limit with XML_PARSE_HUGE - parser: Don't increase depth twice when parsing internal entities - parser: Improve detection of entity loops - parser: Only report a single entity error - libxml.h: Remove dubious definition of LIBXML_STATIC - html: Improve parsing of nested lists - memory: Don't use locks in xmlMemUsed - encoding: Remove unused variable xmlDefaultCharEncodingHandler - Rework initialization code - Add .editorconfig - parser: Merge misc, prolog and epilog cases in push parser - parser: Fix 'consumed' accounting when switching encodings - html: Fix check for end of comment in push parser - parser: Fix push parser with 1-3 byte initial chunk - parser: Rewrite push parser boundary checks - reader: Switch to xmlParserInputBufferCreateMem - html: Don't escape ASCII chars in href attributes - io: Don't shrink memory input buffers - parser: Don't call xmlSHRINK from push parser - parser: Ignore cdata argument in xmlParseCharData - parser: Rework push parser parser progress checks - io: Fix a few integer overflows in I/O statistics - io: Rework xmlParserInputBufferGrow with encodings - io: Remove xmlInputReadCallbackNop - io: Check for memory buffer early in xmlParserInputGrow - parser: Fix error message in xmlParseCommentComplex - Bypass proxy in nanoHTTP for hosts in "no_proxy" (Markus Jörg) - schemas: Fix infinite loop in xmlSchemaCheckElemSubstGroup - threads: Remove check for pthread_equal - xinclude: Rework XInclude cache - xinclude: Remove inefficient refcounting scheme - xmllint: Improve handling of empty XPath node sets - parser: Fix potential memory leak in xmlParseAttValueInternal - error: Don't use initGenericErrorDefaultFunc - xpath: Lower XPath recursion limit on Windows - Stop including sys/types.h - Don't define WIN32 macro - Make xmlNewSAXParserCtx take a const sax handler - Consolidate private header files - Remove internal macros from parserInternals.h - Move some HTML functions to correct header file - xmllint: Stop calling xmlSAXDefaultVersion - Introduce xmlNewSAXParserCtxt and htmlNewSAXParserCtxt - Don't mess with parser options in htmlParseDocument - Remove useless call to htmlDefaultSAXHandlerInit - Remove htmlDefaultSAXHandler from non-SAX1 build - Don't initialize SAX handler in htmlReadMemory - Fix htmlReadMemory mixing up XML and HTML functions - Don't use default SAX handler to report unrelated errors - Create stream with buffer in xmlNewStringInputStream - xmlcatalog: Fix memory leaks ### Code quality - xzlib: Fix implicit sign change in xz_open - parser: Simplify calculation of available buffer space - parser: Use size_t when subtracting input buffer pointers - parser: Check for integer overflow when updating checkIndex - xpath: Fix harmless integer overflow in xmlXPathTranslateFunction - schematron: Use logical and - relaxng: Remove useless if statement - schemas: Remove useless if statement - pattern: Merge identical branches - regexp: Add sanity check in xmlRegCalloc2 - regexp: Simplify xmlRegAtomPush - encoding: Cast toupper argument to unsigned char - uri: Add explicit cast in xmlSaveUri - buf: Fix return value of xmlBufGetInputBase - parser: Fix integer overflow of input ID - parser: Remove useless ent->etype test in xmlParseReference - parser: Remove useless ent->children tests in xmlParseReference - xmlmemory.c: Remove xmlMemContentShow - libxml.h: Add comments and indentation - libxml.h: Don't include stdio.h - xmlexports.h: Disable docs for internal macro XMLPUBLIC - parser: Simplify xmlParseConditionalSections - io: Rearrange code in xmlSwitchInputEncodingInt - warnings: Fix -Wstrict-prototypes warning - warnings: Remove set-but-unused variables - Fix compiler warnings in SAX2.c - Fix unused variable warning in python/types.c - Fix compiler warning in examples - Fix compiler warnings in fuzzing code - Remove unused code in nanohttp.c - Remove or annotate char casts - Don't use sizeof(xmlChar) or sizeof(char) - Remove explicit integer casts ### Deprecations - parser: Deprecate more internal functions - parser: Deprecate some parser input functions - parser: Deprecate xmlString*DecodeEntities - threads: Deprecate some internal functions - buf: Deprecate static/immutable buffers - Deprecate internal parser functions - Deprecate old HTML SAX API - Generate deprecation warnings for old SAX API - Mark more functions setting globals as deprecated - Mark more parser functions as deprecated - Mark most SAX1 functions as deprecated - Deprecate some global variables ### Portability - autoconf: Warn about outdated C compilers - win32: Remove broken libxml2.def.src - Remove symbols from version script - catalog.c: Silence a cast warning on VS 2022 (Lukáš Tyrychtr) - libxml.h: Remove ancient LynxOS setup - Use python3 not python (Ross Burton) - xstc/fixup-tests.py: port to Python 3 (Ross Burton) - xstc/fixup-tests.py: unify whitespace (Ross Burton) - Remove hacky heuristic from b2dc5675 (Alex Richardson) - Avoid creating an out-of-bounds pointer by rewriting a check (Alex Richardson) - Hide internal functions - Correctly relocate internal pointers after realloc() (Alex Richardson) - Visual Studio builds: Allow silencing deprecation warnings (Chun-wei Fan) - Visual Studio: Define XML_DEPRECATED (Chun-wei Fan) - xmllint: Include on Windows - warnings: Work around MSVC bug - sources: Silence C4013 warnings on Visual Studio (Chun-wei Fan) - python/setup.py.in: Improve Windows import patching (Chun-wei Fan) - python: Create .pyd on Windows - Fix Python build on Windows - Fix Windows compiler warnings in python/types.c - Fix libxml_PyFileGet - Remove BeOS support - Fix libxml_PyFileGet with stdout on macOS - Migrate from PyEval_ to PyObject_ - Port build_glob.py to Python 3 - Port genChRanges.py to Python 3 - xmlexports.h: Remove LIBXML_FASTCALL optimization - Remove XMLCALL and XMLCDECL macros from public headers - Remove XMLDECL macro from .c files ### Build systems - cmake: Link against `dl` and `dld` only when `LIBXML2_WITH_MODULES` is enabled (Alexander Kutelev) - autotools: Fix make distcheck - Remove RPM build, Makefile.tests, README.tests - libxml.m4: deprecate AM_PATH_XML2, wrap PKG_CHECK_MODULES instead (Ross Burton) - libxml.m4: fix -Wstrict-prototypes (Sam James) - cmake: Build static library with -DLIBXML_STATIC - autotools: Don't use version script on Windows - autotools: Fix winsock detection - autotools: Only add network libraries if HTTP/FTP enabled - autotools: Disable parallel Python build - python: Don't output missing generators during build - build: Remove check for broken ss_family - http: Simplify IPv6 checks - autotools: Fix network checks on Windows - Fix detection of GNU libiconv - cmake: Fix Python installation - cmake: Don't check for Python 2 - configure.ac: Also check for MSYS host - Improve network library detection - Detect ws2_32 with AC_SEARCH_LIBS - Rework network configure checks - Remove arg cast configure checks - Fix dlopen check - Remove HAVE_WIN32_THREADS configuration flag - Rework dlopen and pthread detection - Fix test in configure.ac - cmake: Enable GCC compiler warnings - Always link with -no-undefined - Use AM_CFLAGS and AM_LDFLAGS consistently - Remove -Wredundant-decls - Call AC_CHECK_* with multiple arguments - configure.ac: Remove checks for unused programs - Rework library detection in configure.ac - Rearrange configure.ac - Consolidate zlib and lzma detection - Remove "runtime debugging" - Consolidate simple API modules in configure.ac - Fix dependency resolution in configure.ac - Fix --with-valid --without-regexps build - Fix --with-schemas --without-xpath build - Don't build unneeded .c source files - Move xmlIsXHTML to tree.c - Cleanup distribution settings in Makefile.am - Also clean *.pyc files for Python 2 - Don't distribute libxml2.spec ### Tests - testchar: Add test for memory pull parser with encoding - fuzz: Also test init function of URI fuzzer - fuzz: Separate fuzzer for DTD validation - gitlab-ci: Enable all "integer" sanitizers - fuzz: Inject random malloc failures - fuzz: Support variable integer sizes in fuzz data - fuzz: Fix duplicate detection in fuzzEntityRecorder - fuzz: Set filename in xmlFuzzEntityLoader - fuzz: Allow xmlFuzzReadString(NULL) - fuzz: Fix Makefile dependencies - fuzz: Add test/recurse to seed corpus - fuzz: Add separate XInclude fuzzer - runsuite: Some errors are expected - testrecurse: Test entity expansion stats - testapi.c: Initialize catalog early - gentest.py: Fix memory leak in API tests - tests: Enable "runsuite" test - python/tests/reader2: use absolute paths everywhere (Ross Burton) - python/tests/reader2: always exit(1) if a test fails (Ross Burton) - testModule: exit if the module can't be opened (Ross Burton) - CI: disable modules in gcc:static build (Ross Burton) - CI: fix CI on MinGW builds (Ross Burton) - python: Fix memory leak checks - tests: Check that xmlInitParser doesn't allocate memory - tests: Fix use-after-free in Python tests - tests: Remove unneeded #includes - gitlab-ci: Make Test-Msvc exit if ctest fails - gitlab-ci: Treat compiler warnings as errors on MSVC - test: Add test for push parser boundaries - gitlab-ci: Upgrade image to Ubuntu 22.10, reenable MSan - gitlab-ci: Reenable LeakSanitizer - gitlab-ci: Fix llvm-symbolizer - xinclude: Don't create result doc for test with errors - xinclude: Also test error messages - gitlab-ci: Allow cast-align warnings from clang - gitlab-ci: Fix tar invocation - gitlab-ci: Move MSVC test to separate script - gitlab-ci: Fix SUFFIX, remove MINGW_PATH - gitlab-ci: Consolidate CMake test scripts - gitlab-ci: Only install MinGW autotools if needed - gitlab-ci: Only install cmake MinGW package if needed - gitlab-ci: Install 7-Zip using the .msi - Use $MSYSTEM and 'bash -lc' in MinGW CI - Add CI job for MinGW/Autotools - Consolidate CI scripts - Allow empty MINGW_PACKAGE_PREFIX - Move Dockerfile to .gitlab-ci directory - testapi: Disable on Windows for now - Disable fuzzer tests if glob.h wasn't found - Move automata test to runtest.c - Fix testapi when building --without-sax1 # Documentation - doc: Remove ancient files - Remove ancient TODOs - html: Fix htmlInitAutoClose documentation - doc: Mention new location of XML catalog as breaking change - doc: Mention potentially breaking changes in NEWS - doc: Remove xmlDllMain from documentation and version script - doc: Mention ${sysconfdir} in man pages - doc: Document xmlcatalog --convert - doc: Document xmllint --nodict and --pedantic - doc: Fix indentation in source XML files - xmllint: Document --quiet option - Improve cross-references in API docs - Improve documentation of globals - Fix documentation parser - Support comments for global variables in documentation - Fix update call in apibuild.py - Don't index anything in DOC_DISABLE sections - Fix warnings from apibuild.py - Start with documentation for maintainers @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.176 2023/12/17 15:46:59 wiz Exp $ d25 3 @ 1.176 log @libxml2: bump PKGREVISION for previous @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.175 2023/12/17 15:43:08 thor Exp $ a2 1 PKGREVISION= 6 d22 2 a23 1 USE_LANGUAGES+= c99 @ 1.175 log @textproc/libxml2: actually activate the added args from last commit Intermediate testing caused the commmit to contain the wrong file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.174 2023/12/17 15:42:08 thor Exp $ d3 1 a3 1 PKGREVISION= 5 @ 1.174 log @textproc/libxml2: add --with-ftp --with-legacy to fix depdendents This version of libxml2 drops things other packages depend on, namely these both cause symbols being missed by py-libxml2 (xmlNanoFTPProxy or xmlParseQuotedString, for example). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.173 2023/11/15 15:53:41 nia Exp $ d17 2 a18 2 #CONFIGURE_ARGS+= --with-ftp #CONFIGURE_ARGS+= --with-legacy @ 1.173 log @libxml2: Fix xml2-config script on systems without -Wl,-R @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.172 2023/11/08 13:21:06 wiz Exp $ d3 1 a3 1 PKGREVISION= 4 d17 2 @ 1.172 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.171 2023/08/14 05:25:23 wiz Exp $ d3 1 a3 1 PKGREVISION= 3 d25 5 @ 1.171 log @*: recursive bump for Python 3.11 as new default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.170 2023/04/19 08:08:46 adam Exp $ d3 1 a3 1 PKGREVISION= 2 @ 1.170 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.169 2023/04/15 13:06:21 gutteridge Exp $ d3 1 a3 1 PKGREVISION= 1 @ 1.169 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.168 2023/03/30 09:59:18 rillig Exp $ d3 1 @ 1.168 log @libxml2: remove unknown configure option @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.167 2023/01/27 14:49:37 jperkin Exp $ a4 1 PKGREVISION= 2 @ 1.167 log @libxml2: Ensure --sysconfdir is passed. Fixes widespread breakage of recent update on systems where PKG_SYSCONFDIR is not PREFIX/etc so the catalog files could not be found. Move PKGREVISION out of Makefile.common and bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.166 2023/01/22 10:30:08 wiz Exp $ a13 1 CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/libxml2 @ 1.167.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.167 2023/01/27 14:49:37 jperkin Exp $ d5 1 @ 1.166 log @libxml2: update to 2.10.3. NEWS file for libxml2 v2.10.3: Oct 14 2022 ### Security - [CVE-2022-40304] Fix dict corruption caused by entity reference cycles - [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE - Fix overflow check in SAX2.c ### Portability - win32: Fix build with VS2013 ### Build system - cmake: Set SOVERSION v2.10.2: Aug 29 2022 ### Improvements - Remove set-but-unused variable in xmlXPathScanName - Silence -Warray-bounds warning ### Build system - build: require automake-1.16.3 or later (Xi Ruoyao) - Remove generated files from distribution ### Test suite - Don't create missing.xml when running testapi v2.10.1: Aug 25 2022 ### Regressions - Fix xmlCtxtReadDoc with encoding ### Bug fixes - Fix HTML parser with threads and --without-legacy ### Build system - Fix build with Python 3.10 - cmake: Disable version script on macOS - Remove Makefile rule to build testapi.c ### Documentation - Switch back to HTML output for API documentation - Port doc/examples/index.py to Python 3 - Fix order of exports in libxml2-api.xml - Remove libxml2-refs.xml v2.10.0: Aug 17 2022 ### Security - [CVE-2022-2309] Reset nsNr in xmlCtxtReset - Reserve byte for NUL terminator and report errors consistently in xmlBuf and xmlBuffer (David Kilzer) - Fix missing NUL terminators in xmlBuf and xmlBuffer functions (David Kilzer) - Fix integer overflow in xmlBufferDump() (David Kilzer) - xmlBufAvail() should return length without including a byte for NUL terminator (David Kilzer) - Fix ownership of xmlNodePtr & xmlAttrPtr fields in xmlSetTreeDoc() (David Kilzer) - Use xmlNewDocText in xmlXIncludeCopyRange - Fix use-after-free bugs when calling xmlTextReaderClose() before xmlFreeTextReader() on post-validating parser (David Kilzer) - Use UPDATE_COMPAT() consistently in buf.c (David Kilzer) - fix: xmlXPathParserContext could be double-delete in OOM case. (jinsub ahn) ### Removals and deprecations - Disable XPointer location support by default - Remove outdated xml2Conf.sh - Deprecate module init and cleanup functions - Remove obsolete XML Software Autoupdate (XSA) file - Remove DOCBparser - Remove obsolete Python test framework - Remove broken VxWorks support - Remove broken Mac OS 9 support - Remove broken bakefile support - Remove broken Visual Studio 2010 support - Remove broken Windows CE support - Deprecate IDREF-related functions in valid.h - Deprecate legacy functions - Disable legacy support by default - Deprecate all functions in nanoftp.h - Disable FTP support by default - Add XML_DEPRECATED macro - Remove elfgcchack.h ### Regressions - Skip incorrectly opened HTML comments - Restore behavior of htmlDocContentDumpFormatOutput() (David Kilzer) ### Bug fixes - Fix memory leak with invalid XSD - Make XPath depth check work with recursive invocations - Fix memory leak in xmlLoadEntityContent error path - Avoid double-free if malloc fails in inputPush - Properly fold whitespace around the QName value when validating an XSD schema. (Damjan Jovanovic) - Add whitespace folding for some atomic data types that it's missing on. (Damjan Jovanovic) - Don't add IDs containing unexpanded entity references ### Improvements - Avoid calling xmlSetTreeDoc - Simplify xmlFreeNode - Don't reset nsDef when changing node content - Fix unintended fall-through in xmlNodeAddContentLen - Remove unused xmlBuf functions (David Kilzer) - Implement xpath1() XPointer scheme - Add configuration flag for XPointer locations support - Fix compiler warnings in Python code - Mark more static data as `const` (David Kilzer) - Make xmlStaticCopyNode non-recursive - Clean up encoding switching code - Simplify recursive pthread mutex - Use non-recursive mutex in dict.c - Fix parser progress checks - Avoid arithmetic on freed pointers - Improve buffer allocation scheme - Remove unneeded #includes - Add support for some non-standard escapes in regular expressions. (Damjan Jovanovic) - htmlParseComment: handle abruptly-closed comments (Mike Dalessio) - Add let variable tag support (Oliver Diehl) - Add value-of tag support (Oliver Diehl) - Remove useless call to xmlRelaxNGCleanupTypes - Don't include ICU headers in public headers - Update `xmlStrlen()` to use POSIX / ISO C `strlen()` (Mike Dalessio) - Fix unused variable warnings with disabled features - Only warn on invalid redeclarations of predefined entities - Remove unneeded code in xmlreader.c - Rework validation context flags ### Portability - Use NAN/INFINITY if available to init XPath NaN/Inf (Sergey Kosukhin) - Fix Python tests on macOS - Fix xmlCleanupThreads on Windows - Fix reinitialization of library on Windows - Don't mix declarations and code in runtest.c - Use portable python shebangs (David Seifert) - Use critical sections as mutex on Windows - Don't set HAVE_WIN32_THREADS in win32config.h - Use stdint.h with newer MSVC - Remove cruft from win32config.h - Remove isinf/isnan emulation in win32config.h - Always fopen files with "rb" - Remove __DJGPP__ checks - Remove useless __CYGWIN__ checks ### Build system - Don't autogenerate doc/examples/Makefile.am - cmake: Install libxml.m4 on UNIX-like platforms (Daniel E) - cmake: Use symbol versioning on UNIX-like platforms (Daniel E) - Port genUnicode.py to Python 3 - Port gentest.py to Python 3 - cmake: Fix build without thread support - cmake: Install documentation in CMAKE_INSTALL_DOCDIR - cmake: Remove non needed files in docs dir (Daniel E) - configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set (Christopher Degawa) - Move local Autoconf macros into m4 directory - Use XML_PRIVATE_LIBS in libxml2_la_LIBADD - Update libxml-2.0-uninstalled.pc.in - Remove LIBS from XML_PRIVATE_LIBS - Add WIN32_EXTRA_LIBADD to XML_PRIVATE_LIBS - Don't overlink executables - cmake: Adjust paths for UNIX or UNIX-like target systems (Daniel Engberg) - build: Make use of variables in libxml's pkg-config file (Daniel Engberg) - Avoid obsolescent `test -a` constructs (David Seifert) - Move AM_MAINTAINER_MODE to AM section - configure.ac: make AM_SILENT_RULES([yes]) unconditional (David Seifert) - Streamline documentation installation - Don't try to recreate COPYING symlink - Detect libm using libtool's macros (David Seifert) - configure.ac: disable static libraries by default (David Seifert) - python/Makefile.am: nest python docs in $(docdir) (David Seifert) - python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert) - Makefile.am: install examples more idiomatically (David Seifert) - configure.ac: remove useless AC_SUBST (David Seifert) - Respect `--sysconfdir` in source files (David Seifert) - Ignore configure backup file created by recent autoreconf too (Vadim Zeitlin) - Only install *.html and *.c example files - Remove --with-html-dir option - Rework documentation build system - Remove old website - Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert) - Update genChRanges.py - Update build_glob.py - Remove ICONV_CONST test - Remove obsolete AC_HEADER checks - Don't check for standard C89 library functions - Don't check for standard C89 headers - Remove special configuration for certain maintainers ### Test suite, CI - Disable network in API tests - testapi: remove leading slash from "/missing.xml" (Mike Gilbert) - Build Autotools CI tests out of source tree (VPATH) - Add --with-minimum build to CI tests - Fix warnings when testing --with-minimum build - cmake: Run all tests when threads are disabled - Also build CI tests with -Werror - Move doc/examples tests to new test suite - Simplify 'make check' targets - Fix schemas and relaxng tests - Remove unused result files - Allow missing result files in runtest - Move regexp tests to runtest - Move SVG tests to runtest.c - Move testModule to new test suite - Move testThreads to new test suite - Remove major parts of old test suite - Make testchar return an error on failure (Tony Tascioglu) - Add CI job for static build - python/tests: open() relative to test scripts (David Seifert) - Port some test scripts to Python 3 ### Documentation - Improve documentation of tree manipulation API - Update xml2-config man page - Consolidate man pages - Rename xmlcatalog_man.xml - Make examples a standalone HTML page - Fix documentation in entities.c - Add note about optimization flags @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.165 2022/11/23 16:19:03 adam Exp $ d5 1 d13 1 @ 1.165 log @massive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.164 2022/05/06 00:55:54 gutteridge Exp $ a2 1 PKGREVISION= 1 a21 8 .include "options.mk" # allow thread-awareness, but make sure the library is not # linked against libpthread #CONFIGURE_ARGS+= --without-threads MAKE_ENV+= PAX=${PAX:Q} d24 1 a24 13 SUBST_CLASSES+= cat SUBST_STAGE.cat= pre-configure SUBST_FILES.cat= catalog.c xmlcatalog.c SUBST_SED.cat= -e "s,@@@@SGML_DEFAULT_CATALOG@@@@,${SGML_DEFAULT_CATALOG},g" SUBST_SED.cat+= -e "s,@@@@XML_DEFAULT_CATALOG@@@@,${XML_DEFAULT_CATALOG},g" BUILDLINK_TRANSFORM.Darwin+= rm:-Wno-array-bounds BUILDLINK_TRANSFORM.SunOS+= rm:-Werror=format=2 LDFLAGS.SCO_SV+= -lm post-install: ${RM} -f ${DESTDIR}${PREFIX}/share/examples/libxml2/README @ 1.165.2.1 log @Pullup ticket #6737 - requested by taca textproc/libxml2: security update Revisions pulled up: - textproc/libxml2/Makefile 1.166-1.167 - textproc/libxml2/Makefile.common 1.17-1.19 - textproc/libxml2/PLIST 1.48 - textproc/libxml2/distinfo 1.142-1.143 - textproc/libxml2/patches/patch-Makefile.in deleted - textproc/libxml2/patches/patch-catalog.c deleted - textproc/libxml2/patches/patch-configure 1.5 - textproc/libxml2/patches/patch-doc_examples_Makefile.in deleted - textproc/libxml2/patches/patch-encoding.c 1.4 - textproc/libxml2/patches/patch-error.c 1.1 - textproc/libxml2/patches/patch-python_libxml.c deleted - textproc/libxml2/patches/patch-python_libxml.py deleted - textproc/libxml2/patches/patch-python_libxml2.py deleted - textproc/libxml2/patches/patch-python_setup.py deleted - textproc/libxml2/patches/patch-xmlcatalog.c deleted ------------------------------------------------------------------- Module Name: pkgsrc Committed By: wiz Date: Sun Jan 22 10:30:09 UTC 2023 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common PLIST distinfo pkgsrc/textproc/libxml2/patches: patch-configure patch-encoding.c Removed Files: pkgsrc/textproc/libxml2/patches: patch-Makefile.in patch-catalog.c patch-doc_examples_Makefile.in patch-python_libxml.c patch-python_libxml.py patch-python_libxml2.py patch-python_setup.py patch-xmlcatalog.c Log Message: libxml2: update to 2.10.3. NEWS file for libxml2 v2.10.3: Oct 14 2022 ### Security - [CVE-2022-40304] Fix dict corruption caused by entity reference cycles - [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE - Fix overflow check in SAX2.c ### Portability - win32: Fix build with VS2013 ### Build system - cmake: Set SOVERSION v2.10.2: Aug 29 2022 ### Improvements - Remove set-but-unused variable in xmlXPathScanName - Silence -Warray-bounds warning ### Build system - build: require automake-1.16.3 or later (Xi Ruoyao) - Remove generated files from distribution ### Test suite - Don't create missing.xml when running testapi v2.10.1: Aug 25 2022 ### Regressions - Fix xmlCtxtReadDoc with encoding ### Bug fixes - Fix HTML parser with threads and --without-legacy ### Build system - Fix build with Python 3.10 - cmake: Disable version script on macOS - Remove Makefile rule to build testapi.c ### Documentation - Switch back to HTML output for API documentation - Port doc/examples/index.py to Python 3 - Fix order of exports in libxml2-api.xml - Remove libxml2-refs.xml v2.10.0: Aug 17 2022 ### Security - [CVE-2022-2309] Reset nsNr in xmlCtxtReset - Reserve byte for NUL terminator and report errors consistently in xmlBuf and xmlBuffer (David Kilzer) - Fix missing NUL terminators in xmlBuf and xmlBuffer functions (David Kilzer) - Fix integer overflow in xmlBufferDump() (David Kilzer) - xmlBufAvail() should return length without including a byte for NUL terminator (David Kilzer) - Fix ownership of xmlNodePtr & xmlAttrPtr fields in xmlSetTreeDoc() (David Kilzer) - Use xmlNewDocText in xmlXIncludeCopyRange - Fix use-after-free bugs when calling xmlTextReaderClose() before xmlFreeTextReader() on post-validating parser (David Kilzer) - Use UPDATE_COMPAT() consistently in buf.c (David Kilzer) - fix: xmlXPathParserContext could be double-delete in OOM case. (jinsub ahn) ### Removals and deprecations - Disable XPointer location support by default - Remove outdated xml2Conf.sh - Deprecate module init and cleanup functions - Remove obsolete XML Software Autoupdate (XSA) file - Remove DOCBparser - Remove obsolete Python test framework - Remove broken VxWorks support - Remove broken Mac OS 9 support - Remove broken bakefile support - Remove broken Visual Studio 2010 support - Remove broken Windows CE support - Deprecate IDREF-related functions in valid.h - Deprecate legacy functions - Disable legacy support by default - Deprecate all functions in nanoftp.h - Disable FTP support by default - Add XML_DEPRECATED macro - Remove elfgcchack.h ### Regressions - Skip incorrectly opened HTML comments - Restore behavior of htmlDocContentDumpFormatOutput() (David Kilzer) ### Bug fixes - Fix memory leak with invalid XSD - Make XPath depth check work with recursive invocations - Fix memory leak in xmlLoadEntityContent error path - Avoid double-free if malloc fails in inputPush - Properly fold whitespace around the QName value when validating an XSD schema. (Damjan Jovanovic) - Add whitespace folding for some atomic data types that it's missing on. (Damjan Jovanovic) - Don't add IDs containing unexpanded entity references ### Improvements - Avoid calling xmlSetTreeDoc - Simplify xmlFreeNode - Don't reset nsDef when changing node content - Fix unintended fall-through in xmlNodeAddContentLen - Remove unused xmlBuf functions (David Kilzer) - Implement xpath1() XPointer scheme - Add configuration flag for XPointer locations support - Fix compiler warnings in Python code - Mark more static data as `const` (David Kilzer) - Make xmlStaticCopyNode non-recursive - Clean up encoding switching code - Simplify recursive pthread mutex - Use non-recursive mutex in dict.c - Fix parser progress checks - Avoid arithmetic on freed pointers - Improve buffer allocation scheme - Remove unneeded #includes - Add support for some non-standard escapes in regular expressions. (Damjan Jovanovic) - htmlParseComment: handle abruptly-closed comments (Mike Dalessio) - Add let variable tag support (Oliver Diehl) - Add value-of tag support (Oliver Diehl) - Remove useless call to xmlRelaxNGCleanupTypes - Don't include ICU headers in public headers - Update `xmlStrlen()` to use POSIX / ISO C `strlen()` (Mike Dalessio) - Fix unused variable warnings with disabled features - Only warn on invalid redeclarations of predefined entities - Remove unneeded code in xmlreader.c - Rework validation context flags ### Portability - Use NAN/INFINITY if available to init XPath NaN/Inf (Sergey Kosukhin) - Fix Python tests on macOS - Fix xmlCleanupThreads on Windows - Fix reinitialization of library on Windows - Don't mix declarations and code in runtest.c - Use portable python shebangs (David Seifert) - Use critical sections as mutex on Windows - Don't set HAVE_WIN32_THREADS in win32config.h - Use stdint.h with newer MSVC - Remove cruft from win32config.h - Remove isinf/isnan emulation in win32config.h - Always fopen files with "rb" - Remove __DJGPP__ checks - Remove useless __CYGWIN__ checks ### Build system - Don't autogenerate doc/examples/Makefile.am - cmake: Install libxml.m4 on UNIX-like platforms (Daniel E) - cmake: Use symbol versioning on UNIX-like platforms (Daniel E) - Port genUnicode.py to Python 3 - Port gentest.py to Python 3 - cmake: Fix build without thread support - cmake: Install documentation in CMAKE_INSTALL_DOCDIR - cmake: Remove non needed files in docs dir (Daniel E) - configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set (Christopher Degawa) - Move local Autoconf macros into m4 directory - Use XML_PRIVATE_LIBS in libxml2_la_LIBADD - Update libxml-2.0-uninstalled.pc.in - Remove LIBS from XML_PRIVATE_LIBS - Add WIN32_EXTRA_LIBADD to XML_PRIVATE_LIBS - Don't overlink executables - cmake: Adjust paths for UNIX or UNIX-like target systems (Daniel Engberg) - build: Make use of variables in libxml's pkg-config file (Daniel Engberg) - Avoid obsolescent `test -a` constructs (David Seifert) - Move AM_MAINTAINER_MODE to AM section - configure.ac: make AM_SILENT_RULES([yes]) unconditional (David Seifert) - Streamline documentation installation - Don't try to recreate COPYING symlink - Detect libm using libtool's macros (David Seifert) - configure.ac: disable static libraries by default (David Seifert) - python/Makefile.am: nest python docs in $(docdir) (David Seifert) - python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert) - Makefile.am: install examples more idiomatically (David Seifert) - configure.ac: remove useless AC_SUBST (David Seifert) - Respect `--sysconfdir` in source files (David Seifert) - Ignore configure backup file created by recent autoreconf too (Vadim Zeitlin) - Only install *.html and *.c example files - Remove --with-html-dir option - Rework documentation build system - Remove old website - Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert) - Update genChRanges.py - Update build_glob.py - Remove ICONV_CONST test - Remove obsolete AC_HEADER checks - Don't check for standard C89 library functions - Don't check for standard C89 headers - Remove special configuration for certain maintainers ### Test suite, CI - Disable network in API tests - testapi: remove leading slash from "/missing.xml" (Mike Gilbert) - Build Autotools CI tests out of source tree (VPATH) - Add --with-minimum build to CI tests - Fix warnings when testing --with-minimum build - cmake: Run all tests when threads are disabled - Also build CI tests with -Werror - Move doc/examples tests to new test suite - Simplify 'make check' targets - Fix schemas and relaxng tests - Remove unused result files - Allow missing result files in runtest - Move regexp tests to runtest - Move SVG tests to runtest.c - Move testModule to new test suite - Move testThreads to new test suite - Remove major parts of old test suite - Make testchar return an error on failure (Tony Tascioglu) - Add CI job for static build - python/tests: open() relative to test scripts (David Seifert) - Port some test scripts to Python 3 ### Documentation - Improve documentation of tree manipulation API - Update xml2-config man page - Consolidate man pages - Rename xmlcatalog_man.xml - Make examples a standalone HTML page - Fix documentation in entities.c - Add note about optimization flags To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 pkgsrc/textproc/libxml2/Makefile cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/libxml2/Makefile.common cvs rdiff -u -r1.47 -r1.48 pkgsrc/textproc/libxml2/PLIST cvs rdiff -u -r1.141 -r1.142 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r1.2 -r0 pkgsrc/textproc/libxml2/patches/patch-Makefile.in \ pkgsrc/textproc/libxml2/patches/patch-doc_examples_Makefile.in \ pkgsrc/textproc/libxml2/patches/patch-python_setup.py cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/libxml2/patches/patch-catalog.c \ pkgsrc/textproc/libxml2/patches/patch-python_libxml.py \ pkgsrc/textproc/libxml2/patches/patch-python_libxml2.py \ pkgsrc/textproc/libxml2/patches/patch-xmlcatalog.c cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/libxml2/patches/patch-configure cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/libxml2/patches/patch-encoding.c cvs rdiff -u -r1.4 -r0 pkgsrc/textproc/libxml2/patches/patch-python_libxml.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: gutteridge Date: Thu Jan 26 01:49:16 UTC 2023 Modified Files: pkgsrc/textproc/libxml2: Makefile.common distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-error.c Log Message: libxml2: Make sure that error messages are valid UTF-8 Fixes segfaults with itstool, which were breaking various MATE package builds. (This is the third time a variant of a patch to fix this same issue has been applied here.) To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/libxml2/Makefile.common cvs rdiff -u -r1.142 -r1.143 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/libxml2/patches/patch-error.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Fri Jan 27 14:49:37 UTC 2023 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common Log Message: libxml2: Ensure --sysconfdir is passed. Fixes widespread breakage of recent update on systems where PKG_SYSCONFDIR is not PREFIX/etc so the catalog files could not be found. Move PKGREVISION out of Makefile.common and bump. To generate a diff of this commit: cvs rdiff -u -r1.166 -r1.167 pkgsrc/textproc/libxml2/Makefile cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/libxml2/Makefile.common @ text @d1 1 a1 1 # $NetBSD$ d3 1 a5 1 PKGREVISION= 2 a12 1 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} d23 8 d33 13 a45 1 .include "options.mk" @ 1.164 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.163 2022/04/18 19:10:09 adam Exp $ d3 1 @ 1.163 log @revbump for textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.162 2022/03/12 07:33:22 kim Exp $ a2 1 PKGREVISION= 1 @ 1.162 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.161 2021/12/08 16:02:43 adam Exp $ d3 1 @ 1.161 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.160 2021/07/21 13:55:07 tnn Exp $ a2 1 PKGREVISION= 2 d12 1 a12 1 CONFIGURE_ARGS+= --with-html-subdir=libxml2 d43 3 @ 1.160 log @libxml2: don't show non-existent -I/usr/include in "xml2-config --cflags" Check that the iconv include directory actually exists before adding it to xml2-config. This fixes build of lang/llvm on Darwin. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.159 2021/05/23 19:31:47 nia Exp $ d3 1 a3 1 PKGREVISION= 1 @ 1.159 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.158 2021/04/21 11:40:41 adam Exp $ d3 1 @ 1.158 log @revbump for textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.157 2020/11/05 09:07:10 ryoon Exp $ a3 1 PKGREVISION= 4 @ 1.157 log @*: Recursive revbump from textproc/icu-68.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.156 2020/06/02 08:22:58 adam Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.157.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$ d4 1 @ 1.156 log @Revbump for icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.155 2020/01/24 10:40:36 kim Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.155 log @Apply upstream patch for CVE-2020-7595. Apply upstream pull request for CVE-2019-20388. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154 2019/11/04 21:43:38 rillig Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.154 log @textproc: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.153 2019/07/03 16:54:32 sevan Exp $ d4 1 @ 1.154.4.1 log @Pullup ticket #6122 - requested by kim textproc/libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.155 - textproc/libxml2/distinfo 1.132 - textproc/libxml2/patches/patch-parser.c 1.7 - textproc/libxml2/patches/patch-xmlschemas.c 1.1 --- Module Name: pkgsrc Committed By: kim Date: Fri Jan 24 10:40:36 UTC 2020 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-parser.c patch-xmlschemas.c Log Message: Apply upstream patch for CVE-2020-7595. Apply upstream pull request for CVE-2019-20388. @ text @d1 1 a1 1 # $NetBSD$ a3 1 PKGREVISION= 1 @ 1.153 log @Avoid trying to disable warnings for array boundary checks on Darwin. On legacy toolchains e.g Tiger, it results in a hard error as it's not recognised. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $ d38 1 a38 1 BUILDLINK_TRANSFORM.Darwin+= rm:-Wno-array-bounds @ 1.152 log @libxml2: updated to 2.9.9 v2.9.9: Security: CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression CVE-2018-14404 Fix nullptr deref with XPath logic ops Documentation: reader: Fix documentation comment Portability: Fix MSVC build with lzma Variables need 'extern' in static lib on Cygwin Really declare dllexport/dllimport for Cygwin Merge branch 'patch-2' into 'master' Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir Improve error message if pkg.m4 couldn't be found NaN and Inf fixes for pre-C99 compilers Bug Fixes: Revert "Support xmlTextReaderNextSibling w/o preparsed doc" Fix building relative URIs Problem with data in interleave in RelaxNG validation Fix memory leak in xmlSwitchInputEncodingInt error path Set doc on element obtained from freeElems Fix HTML serialization with UTF-8 encoding Use actual doc in xmlTextReaderRead*Xml Unlink node before freeing it in xmlSAX2StartElement Check return value of nodePush in xmlSAX2StartElement Free input buffer in xmlHaltParser Reset HTML parser input pointers on encoding failure Don't run icu_parse_test if EUC-JP is unsupported Fix xmlSchemaValidCtxtPtr reuse memory leak Fix xmlTextReaderNext with preparsed document Remove stray character from comment Remove a misleading line from xmlCharEncOutput HTML noscript should not close p Don't change context node in xmlXPathRoot Stop using XPATH_OP_RESET Revert "Change calls to xmlCharEncInput to set flush false" Improvements: Fix "Problem with data in interleave in RelaxNG validation" cleanup: remove some unreachable code add --relative to testURI Remove redefined starts and defines inside include elements Allow choice within choice in nameClass in RELAX NG Look inside divs for starts and defines inside include Add compile and libxml2-config.cmake to .gitignore Stop using doc->charset outside parser code Add newlines to 'xmllint --xpath' output Don't include SAX.h from globals.h Support xmlTextReaderNextSibling w/o preparsed doc Don't instruct user to run make when autogen.sh failed Run Travis ASan tests with "sudo: required" Improve restoring of context size and position Simplify and harden nodeset filtering Avoid unnecessary backups of the context node Fix inconsistency in xmlXPathIsInf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.151 2018/11/09 15:31:46 leot Exp $ d38 1 @ 1.151 log @libxml2: Add a patch from upstream to fix CVE-2017-8872 Patch provided by Attila Fülöp via PR pkg/53704, thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.150 2018/10/13 09:05:42 leot Exp $ a4 2 PKGREVISION= 4 d35 2 a36 2 SUBST_SED.cat= -e "s,@@@@SGML_DEFAULT_CATALOG@@@@,${SGML_DEFAULT_CATALOG},g" SUBST_SED.cat+= -e "s,@@@@XML_DEFAULT_CATALOG@@@@,${XML_DEFAULT_CATALOG},g" @ 1.151.2.1 log @Pullup ticket #5911 - requested by taca textproc/libxml2, textproc/py-libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.152 - textproc/libxml2/Makefile.common 1.12 - textproc/libxml2/distinfo 1.129-1.130 - textproc/libxml2/patches/patch-Makefile.in 1.1 - textproc/libxml2/patches/patch-aa deleted - textproc/libxml2/patches/patch-ab deleted - textproc/libxml2/patches/patch-ac deleted - textproc/libxml2/patches/patch-ad deleted - textproc/libxml2/patches/patch-ae deleted - textproc/libxml2/patches/patch-catalog.c 1.1 - textproc/libxml2/patches/patch-configure 1.1 - textproc/libxml2/patches/patch-doc_examples_Makefile.in 1.1 - textproc/libxml2/patches/patch-parser.c deleted - textproc/libxml2/patches/patch-python_libxml.c 1.1 - textproc/libxml2/patches/patch-result_errors_759573.xml.err deleted - textproc/libxml2/patches/patch-xmlcatalog.c 1.1 - textproc/libxml2/patches/patch-xpath.c deleted - textproc/libxml2/patches/patch-xzlib.c deleted - textproc/py-libxml2/Makefile 1.63-1.64 - textproc/py-libxml2/PLIST 1.4 --- Module Name: pkgsrc Committed By: wiz Date: Wed Jan 9 13:40:51 UTC 2019 Modified Files: pkgsrc/textproc/libxml2: distinfo pkgsrc/textproc/py-libxml2: Makefile Added Files: pkgsrc/textproc/libxml2/patches: patch-python_libxml.c Log Message: py-libxml2: work around a problem in error handling. In some cases, invalid UTF-8 strings were returned which caused python interpreter crashes. See https://github.com/itstool/itstool/issues/22 Use a variant of the patch that was used in Fedora. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: adam Date: Wed Jan 9 19:09:03 UTC 2019 Modified Files: pkgsrc/textproc/libxml2: Makefile Makefile.common distinfo pkgsrc/textproc/py-libxml2: Makefile PLIST Added Files: pkgsrc/textproc/libxml2/patches: patch-Makefile.in patch-catalog.c patch-configure patch-doc_examples_Makefile.in patch-xmlcatalog.c Removed Files: pkgsrc/textproc/libxml2/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-parser.c patch-result_errors_759573.xml.err patch-xpath.c patch-xzlib.c Log Message: libxml2: updated to 2.9.9 v2.9.9: Security: CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression CVE-2018-14404 Fix nullptr deref with XPath logic ops Documentation: reader: Fix documentation comment Portability: Fix MSVC build with lzma Variables need 'extern' in static lib on Cygwin Really declare dllexport/dllimport for Cygwin Merge branch 'patch-2' into 'master' Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir Improve error message if pkg.m4 couldn't be found NaN and Inf fixes for pre-C99 compilers Bug Fixes: Revert "Support xmlTextReaderNextSibling w/o preparsed doc" Fix building relative URIs Problem with data in interleave in RelaxNG validation Fix memory leak in xmlSwitchInputEncodingInt error path Set doc on element obtained from freeElems Fix HTML serialization with UTF-8 encoding Use actual doc in xmlTextReaderRead*Xml Unlink node before freeing it in xmlSAX2StartElement Check return value of nodePush in xmlSAX2StartElement Free input buffer in xmlHaltParser Reset HTML parser input pointers on encoding failure Don't run icu_parse_test if EUC-JP is unsupported Fix xmlSchemaValidCtxtPtr reuse memory leak Fix xmlTextReaderNext with preparsed document Remove stray character from comment Remove a misleading line from xmlCharEncOutput HTML noscript should not close p Don't change context node in xmlXPathRoot Stop using XPATH_OP_RESET Revert "Change calls to xmlCharEncInput to set flush false" Improvements: Fix "Problem with data in interleave in RelaxNG validation" cleanup: remove some unreachable code add --relative to testURI Remove redefined starts and defines inside include elements Allow choice within choice in nameClass in RELAX NG Look inside divs for starts and defines inside include Add compile and libxml2-config.cmake to .gitignore Stop using doc->charset outside parser code Add newlines to 'xmllint --xpath' output Don't include SAX.h from globals.h Support xmlTextReaderNextSibling w/o preparsed doc Don't instruct user to run make when autogen.sh failed Run Travis ASan tests with "sudo: required" Improve restoring of context size and position Simplify and harden nodeset filtering Avoid unnecessary backups of the context node Fix inconsistency in xmlXPathIsInf @ text @d1 1 a1 1 # $NetBSD$ d5 2 d37 2 a38 2 SUBST_SED.cat= -e "s,@@@@SGML_DEFAULT_CATALOG@@@@,${SGML_DEFAULT_CATALOG},g" SUBST_SED.cat+= -e "s,@@@@XML_DEFAULT_CATALOG@@@@,${XML_DEFAULT_CATALOG},g" @ 1.150 log @libxml2: Backport upstream patch for CVE-2018-9251 and CVE-2018-14567 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.149 2018/08/09 18:44:13 snj Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.149 log @textproc/libxml2: Fix CVE-2018-14404. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.148 2018/06/20 18:22:45 tez Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.148 log @libxml2: Fix for CVE-2018-9251 from https://bugzilla.gnome.org/show_bug.cgi?id=794914 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.147 2018/03/14 10:49:00 maya Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.147 log @libxml2: fix compilation on Solaris 11.3 We use INFINITY which is available on C99 and later, so be explicit that we compile C99 code. Also tested as compiling fine on netbsd-current. Fixes PR pkg/53098 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.146 2017/09/10 20:49:20 wiz Exp $ d5 2 @ 1.146 log @Updated libxml2 to 2.9.5. 2.9.5: Sep 04 2017 • Reference Manual • Security: Detect infinite recursion in parameter entities (Nick Wellnhofer), Fix handling of parameter-entity references (Nick Wellnhofer), Disallow namespace nodes in XPointer ranges (Nick Wellnhofer), Fix XPointer paths beginning with range-to (Nick Wellnhofer) • Documentation: Documentation fixes (Nick Wellnhofer), Spelling and grammar fixes (Nick Wellnhofer) • Portability: Adding README.zOS to list of extra files for the release (Daniel Veillard), Description of work needed to compile on zOS (Stéphane Michaut), Porting libxml2 on zOS encoding of code (Stéphane Michaut), small changes for OS/400 (Patrick Monnerat), relaxng.c, xmlschemas.c: Fix build on pre-C99 compilers (Chun-wei Fan) • Bug Fixes: Problem resolving relative URIs (Daniel Veillard), Fix unwanted warnings when switching encodings (Nick Wellnhofer), Fix signature of xmlSchemaAugmentImportedIDC (Daniel Veillard), Heap-buffer-overflow read of size 1 in xmlFAParsePosCharGroup (David Kilzer), Fix NULL pointer deref in xmlFAParseCharClassEsc (Nick Wellnhofer), Fix infinite loops with push parser in recovery mode (Nick Wellnhofer), Send xmllint usage error to stderr (Nick Wellnhofer), Fix NULL deref in xmlParseExternalEntityPrivate (Nick Wellnhofer), Make sure not to call IS_BLANK_CH when parsing the DTD (Nick Wellnhofer), Fix xmlHaltParser (Nick Wellnhofer), Fix pathological performance when outputting charrefs (Nick Wellnhofer), Fix invalid-source-encoding warnings in testWriter.c (Nick Wellnhofer), Fix duplicate SAX callbacks for entity content (David Kilzer), Treat URIs with scheme as absolute in C14N (Nick Wellnhofer), Fix copy-paste errors in error messages (Nick Wellnhofer), Fix sanity check in htmlParseNameComplex (Nick Wellnhofer), Fix potential infinite loop in xmlStringLenDecodeEntities (Nick Wellnhofer), Reset parser input pointers on encoding failure (Nick Wellnhofer), Fix memory leak in xmlParseEntityDecl error path (Nick Wellnhofer), Fix xmlBuildRelativeURI for URIs starting with '. /' (Nick Wellnhofer), Fix type confusion in xmlValidateOneNamespace (Nick Wellnhofer), Fix memory leak in xmlStringLenGetNodeList (Nick Wellnhofer), Fix NULL pointer deref in xmlDumpElementContent (Daniel Veillard), Fix memory leak in xmlBufAttrSerializeTxtContent (Nick Wellnhofer), Stop parser on unsupported encodings (Nick Wellnhofer), Check for integer overflow in memory debug code (Nick Wellnhofer), Fix buffer size checks in xmlSnprintfElementContent (Nick Wellnhofer), Avoid reparsing in xmlParseStartTag2 (Nick Wellnhofer), Fix undefined behavior in xmlRegExecPushStringInternal (Nick Wellnhofer), Check XPath exponents for overflow (Nick Wellnhofer), Check for overflow in xmlXPathIsPositionalPredicate (Nick Wellnhofer), Fix spurious error message (Nick Wellnhofer), Fix memory leak in xmlCanonicPath (Nick Wellnhofer), Fix memory leak in xmlXPathCompareNodeSetValue (Nick Wellnhofer), Fix memory leak in pattern error path (Nick Wellnhofer), Fix memory leak in parser error path (Nick Wellnhofer), Fix memory leaks in XPointer error paths (Nick Wellnhofer), Fix memory leak in xmlXPathNodeSetMergeAndClear (Nick Wellnhofer), Fix memory leak in XPath filter optimizations (Nick Wellnhofer), Fix memory leaks in XPath error paths (Nick Wellnhofer), Do not leak the new CData node if adding fails (David Tardon), Prevent unwanted external entity reference (Neel Mehta), Increase buffer space for port in HTTP redirect support (Daniel Veillard), Fix more NULL pointer derefs in xpointer.c (Nick Wellnhofer), Avoid function/data pointer conversion in xpath.c (Nick Wellnhofer), Fix format string warnings (Nick Wellnhofer), Disallow namespace nodes in XPointer points (Nick Wellnhofer), Fix comparison with root node in xmlXPathCmpNodes (Nick Wellnhofer), Fix attribute decoding during XML schema validation (Alex Henrie), Fix NULL pointer deref in XPointer range-to (Nick Wellnhofer) • Improvements: Updating the spec file to reflect Fedora 24 (Daniel Veillard), Add const in five places to move 1 KiB to .rdata (Bruce Dawson), Fix missing part of comment for function xmlXPathEvalExpression() (Daniel Veillard), Get rid of "blanks wrapper" for parameter entities (Nick Wellnhofer), Simplify handling of parameter entity references (Nick Wellnhofer), Deduplicate code in encoding.c (Nick Wellnhofer), Make HTML parser functions take const pointers (Nick Wellnhofer), Build test programs only when needed (Nick Wellnhofer), Fix doc/examples/index.py (Nick Wellnhofer), Fix compiler warnings in threads.c (Nick Wellnhofer), Fix empty-body warning in nanohttp.c (Nick Wellnhofer), Fix cast-align warnings (Nick Wellnhofer), Fix unused-parameter warnings (Nick Wellnhofer), Rework entity boundary checks (Nick Wellnhofer), Don't switch encoding for internal parameter entities (Nick Wellnhofer), Merge duplicate code paths handling PE references (Nick Wellnhofer), Test SAX2 callbacks with entity substitution (Nick Wellnhofer), Support catalog and threads tests under --without-sax1 (Nick Wellnhofer), Misc fixes for 'make tests' (Nick Wellnhofer), Initialize keepBlanks in HTML parser (Nick Wellnhofer), Add test cases for bug 758518 (David Kilzer), Fix compiler warning in htmlParseElementInternal (Nick Wellnhofer), Remove useless check in xmlParseAttributeListDecl (Nick Wellnhofer), Allow zero sized memory input buffers (Nick Wellnhofer), Add TODO comment in xmlSwitchEncoding (Nick Wellnhofer), Check for integer overflow in xmlXPathFormatNumber (Nick Wellnhofer), Make Travis print UBSan stacktraces (Nick Wellnhofer), Add .travis.yml (Nick Wellnhofer), Fix expected error output in Python tests (Nick Wellnhofer), Simplify control flow in xmlParseStartTag2 (Nick Wellnhofer), Disable LeakSanitizer when running API tests (Nick Wellnhofer), Avoid out-of-bound array access in API tests (Nick Wellnhofer), Avoid spurious UBSan errors in parser.c (Nick Wellnhofer), Parse small XPath numbers more accurately (Nick Wellnhofer), Rework XPath rounding functions (Nick Wellnhofer), Fix white space in test output (Nick Wellnhofer), Fix axis traversal from attribute and namespace nodes (Nick Wellnhofer), Check for trailing characters in XPath expressions earlier (Nick Wellnhofer), Rework final handling of XPath results (Nick Wellnhofer), Make xmlXPathEvalExpression call xmlXPathEval (Nick Wellnhofer), Remove unused variables (Nick Wellnhofer), Don't print generic error messages in XPath tests (Nick Wellnhofer) • Cleanups: Fix a couple of misleading indentation errors (Daniel Veillard), Remove unnecessary calls to xmlPopInput (Nick Wellnhofer) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.145 2017/06/21 00:23:23 tez Exp $ d20 2 @ 1.145 log @xmlSnprintfElementContent failed to correctly check the available buffer space in two locations. Fixes bug 781333 (CVE-2017-9047) and bug 781701 (CVE-2017-9048). From: https://git.gnome.org/browse/libxml2/commit/?id=932cc9896ab41475d4aa429c27d9afd175959d74 There were two bugs where parameter-entity references could lead to an unexpected change of the input buffer in xmlParseNameComplex and xmlDictLookup being called with an invalid pointer. Percent sign in DTD Names ========================= This fixes bug 766956 initially reported by Wei Lei and independently by Chromium's ClusterFuzz, Hanno Böck, and Marco Grassi. Thanks to everyone involved. xmlParseNameComplex with XML_PARSE_OLD10 ======================================== This fixes bugs 781205 (CVE-2017-9049) and 781361 (CVE-2017-9050). Thanks to Marcel Böhme and Thuan Pham for the report. Additional hardening ==================== A separate check was added in xmlParseNameComplex to validate the buffer size. From: https://git.gnome.org/browse/libxml2/commit/?id=e26630548e7d138d2c560844c43820b6767251e3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.143 2016/12/30 02:17:48 dholland Exp $ a4 2 PKGREVISION= 4 @ 1.144 log @libxml2: Apply upstream patch for CVE-2017-5969. (Minor issue, only a denial-of-service when using recover mode) bump PKGREVISION @ text @d5 1 a5 1 PKGREVISION= 3 @ 1.143 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.142 2016/05/27 23:51:10 pgoyette Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.143.2.1 log @Pullup ticket #5478 - requested by sevan textproc/libxml2: security fix Revisions pulled up: - textproc/libxml2/Makefile 1.144 - textproc/libxml2/distinfo 1.115 - textproc/libxml2/patches/patch-valid.c 1.1 --- Module Name: pkgsrc Committed By: maya Date: Sun Jun 11 04:40:53 UTC 2017 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-valid.c Log Message: libxml2: Apply upstream patch for CVE-2017-5969. (Minor issue, only a denial-of-service when using recover mode) bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 1 PKGREVISION= 3 @ 1.142 log @Introduce a Makefile.common so we can share it with textproc/py-libxml2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.141 2016/05/24 12:00:08 he Exp $ d5 2 @ 1.141 log @Update libxml2 to 2.9.4. Pkgsrc changes: * Add some casts to match types and format strings, plus fix value range of toupper() operation. * Merge patch-ag into the new patch-encoding.c. * Add comments to existing patches which lacked comments. Upstream changes to libxml2-2.9.4: May 23 2016 Security: CVE-2016-3627 Avoid building recursive entities CVE-2016-1833 Heap-based buffer overread in htmlCurrentChar CVE-2016-1835 Heap use-after-free in xmlSAX2AttributeNs CVE-2016-1837 Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral CVE-2016-1836 Bug 759398: Heap use-after-free in xmlDictComputeFastKey CVE-2016-1839 Bug 758605: Heap-based buffer overread in xmlDictAddString CVE-2016-1838 Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal CVE-2016-1840 Bug 757711: heap-buffer-overflow in xmlFAParsePosCharGroup CVE-2016-4483 Avoid an out of bound access when serializing malformed strings CVE-2016-1834 Bug 763071: heap-buffer-overflow in xmlStrncat CVE-2016-3705 Add missing increments of recursion depth counter to XML parser. CVE-2016-1762 Heap-based buffer overread in xmlNextChar More format string warnings with possible format string vulnerability Heap-based buffer-underreads due to xmlParseName Fix some format string warnings with possible format string vulnerability Unsigned addition may overflow in xmlMallocAtomicLoc() Other bugfixes: Detect change of encoding when parsing HTML names Fix inappropriate fetch of entities content Correct the usage of LDFLAGS Revert the use of SAVE_LDFLAGS in configure.ac libxml2 hardcodes -L/lib in zlib/lzma tests which breaks cross-compiles Add more debugging info to runtest Implement "runtest -u" mode Integer signed/unsigned type mismatch in xmlParserInputGrow() Integer overflow parsing port number in URI Fix apibuild for a recently added constructv2.9.4-rc2 Use pkg-config to locate zlib when possible Use pkg-config to locate ICU when possible Fix an error with regexp on nullable counted char transition Fix memory leak with XPath namespace nodes Fix namespace axis traversal Add a make rule to rebuild for ASAN Fix null pointer deref in docs with no root element Portability to non C99 compliant compilers dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. Fix XSD validation of URIs with ampersands xmlschemastypes.c: accept endOfDayFrag Times set to "24:00:00" mean "end of day" and should not cause an error. v2.9.4-rc1 os400: tell about xmllint and xmlcatalog in README400. os400: properly process SGML add in XMLCATALOG command. os400: implement CL command XMLCATALOG. os400: compile and install program xmlcatalog (qshell-only). xmlcatalog: flush stdout before interactive shell input. os400: expand tabs in sources, strip trailing blanks. os400: implement CL command XMLLINT. os400: compile and install program xmllint (qshell-only). os400: initscript make_module(): Use options instead of positional parameters. xmllint: flush stdout before interactive shell input. os400: c14n.rpgle: allow *omit for nullable reference parameters. os400: use like() for double type. os400: use like() for int type. os400: use like() for unsigned int type. os400: use like() for enum types. Add xz to xml2-config --libs output Don't recurse into OP_VALUEs in xmlXPathOptimizeExpression Fix namespace::node() XPath expression Fix OOB write in xmlXPathEmptyNodeSet Fix parsing of NCNames in XPath Fix OOB read with invalid UTF-8 in xmlUTF8Strsize Do normalize string-based datatype value in RelaxNG facet checking Fix typo: s{ ec -> cr }cipt Fix typos: dictio{ nn -> n }ar{y,ies} Fix typos: PATH_{ SEAPARATOR -> SEPARATOR } Correct a typo. Bug 760921: REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths" Bug 760861: REGRESSION (bf9c1dad): Missing results for test/schemas/regexp-char-ref_[01].xsd error.c: *input->cur == 0 does not mean no error Add missing RNG test files Bug 760190: configure.ac should be able to build --with-icu without icu-config tool Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer Bug 758572: ASAN crash in make check Bug 721158: Missing ICU string when doing --version on xmllint python 3: libxml2.c wrappers create Unicode str already win32\VC10\config.h and VS 2015 Add autogen.sh to distrib Add configure maintainer mode @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.140 2016/02/26 10:32:47 jperkin Exp $ d3 1 a3 4 DISTNAME= libxml2-2.9.4 CATEGORIES= textproc MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ http://xmlsoft.org/sources/ a4 2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://xmlsoft.org/ @ 1.140 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.139 2015/11/22 23:49:03 wiz Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.3 @ 1.140.2.1 log @Pullup ticket #5028 - requested by he textproc/libxml2: security update Revisions pulled up: - textproc/libxml2/Makefile 1.141 - textproc/libxml2/distinfo 1.110-1.112 - textproc/libxml2/patches/patch-aa 1.29 - textproc/libxml2/patches/patch-ab 1.29-1.30 - textproc/libxml2/patches/patch-ac 1.9 - textproc/libxml2/patches/patch-ad 1.19 - textproc/libxml2/patches/patch-ae 1.15 - textproc/libxml2/patches/patch-ag deleted - textproc/libxml2/patches/patch-encoding.c added at 1.2 - textproc/libxml2/patches/patch-runtest.c added at 1.2 - textproc/libxml2/patches/patch-testlimits.c added at 1.2 - textproc/libxml2/patches/patch-timsort.h added at 1.2 - textproc/libxml2/patches/patch-xmlIO.c added at 1.2 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: he Date: Tue May 24 12:00:08 UTC 2016 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo pkgsrc/textproc/libxml2/patches: patch-aa patch-ab patch-ac patch-ad patch-ae Added Files: pkgsrc/textproc/libxml2/patches: patch-encoding.c patch-runtest.c patch-testlimits.c patch-timsort.h patch-xmlIO.c Removed Files: pkgsrc/textproc/libxml2/patches: patch-ag Log Message: Update libxml2 to 2.9.4. Pkgsrc changes: * Add some casts to match types and format strings, plus fix value range of toupper() operation. * Merge patch-ag into the new patch-encoding.c. * Add comments to existing patches which lacked comments. Upstream changes to libxml2-2.9.4: May 23 2016 Security: CVE-2016-3627 Avoid building recursive entities CVE-2016-1833 Heap-based buffer overread in htmlCurrentChar CVE-2016-1835 Heap use-after-free in xmlSAX2AttributeNs CVE-2016-1837 Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral CVE-2016-1836 Bug 759398: Heap use-after-free in xmlDictComputeFastKey CVE-2016-1839 Bug 758605: Heap-based buffer overread in xmlDictAddString CVE-2016-1838 Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal CVE-2016-1840 Bug 757711: heap-buffer-overflow in xmlFAParsePosCharGroup CVE-2016-4483 Avoid an out of bound access when serializing malformed strings CVE-2016-1834 Bug 763071: heap-buffer-overflow in xmlStrncat CVE-2016-3705 Add missing increments of recursion depth counter to XML parser. CVE-2016-1762 Heap-based buffer overread in xmlNextChar More format string warnings with possible format string vulnerability Heap-based buffer-underreads due to xmlParseName Fix some format string warnings with possible format string vulnerability Unsigned addition may overflow in xmlMallocAtomicLoc() Other bugfixes: Detect change of encoding when parsing HTML names Fix inappropriate fetch of entities content Correct the usage of LDFLAGS Revert the use of SAVE_LDFLAGS in configure.ac libxml2 hardcodes -L/lib in zlib/lzma tests which breaks cross-compiles Add more debugging info to runtest Implement "runtest -u" mode Integer signed/unsigned type mismatch in xmlParserInputGrow() Integer overflow parsing port number in URI Fix apibuild for a recently added constructv2.9.4-rc2 Use pkg-config to locate zlib when possible Use pkg-config to locate ICU when possible Fix an error with regexp on nullable counted char transition Fix memory leak with XPath namespace nodes Fix namespace axis traversal Add a make rule to rebuild for ASAN Fix null pointer deref in docs with no root element Portability to non C99 compliant compilers dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. Fix XSD validation of URIs with ampersands xmlschemastypes.c: accept endOfDayFrag Times set to "24:00:00" mean "end of day" and should not cause an error. v2.9.4-rc1 os400: tell about xmllint and xmlcatalog in README400. os400: properly process SGML add in XMLCATALOG command. os400: implement CL command XMLCATALOG. os400: compile and install program xmlcatalog (qshell-only). xmlcatalog: flush stdout before interactive shell input. os400: expand tabs in sources, strip trailing blanks. os400: implement CL command XMLLINT. os400: compile and install program xmllint (qshell-only). os400: initscript make_module(): Use options instead of positional parameters. xmllint: flush stdout before interactive shell input. os400: c14n.rpgle: allow *omit for nullable reference parameters. os400: use like() for double type. os400: use like() for int type. os400: use like() for unsigned int type. os400: use like() for enum types. Add xz to xml2-config --libs output Don't recurse into OP_VALUEs in xmlXPathOptimizeExpression Fix namespace::node() XPath expression Fix OOB write in xmlXPathEmptyNodeSet Fix parsing of NCNames in XPath Fix OOB read with invalid UTF-8 in xmlUTF8Strsize Do normalize string-based datatype value in RelaxNG facet checking Fix typo: s{ ec -> cr }cipt Fix typos: dictio{ nn -> n }ar{y,ies} Fix typos: PATH_{ SEAPARATOR -> SEPARATOR } Correct a typo. Bug 760921: REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths" Bug 760861: REGRESSION (bf9c1dad): Missing results for test/schemas/regexp-char-ref_[01].xsd error.c: *input->cur == 0 does not mean no error Add missing RNG test files Bug 760190: configure.ac should be able to build --with-icu without icu-config tool Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer Bug 758572: ASAN crash in make check Bug 721158: Missing ICU string when doing --version on xmllint python 3: libxml2.c wrappers create Unicode str already win32\VC10\config.h and VS 2015 Add autogen.sh to distrib Add configure maintainer mode To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 pkgsrc/textproc/libxml2/Makefile cvs rdiff -u -r1.109 -r1.110 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r1.28 -r1.29 pkgsrc/textproc/libxml2/patches/patch-aa \ pkgsrc/textproc/libxml2/patches/patch-ab cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/libxml2/patches/patch-ac cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/libxml2/patches/patch-ad cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/libxml2/patches/patch-ae cvs rdiff -u -r1.12 -r0 pkgsrc/textproc/libxml2/patches/patch-ag cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/libxml2/patches/patch-encoding.c \ pkgsrc/textproc/libxml2/patches/patch-runtest.c \ pkgsrc/textproc/libxml2/patches/patch-testlimits.c \ pkgsrc/textproc/libxml2/patches/patch-timsort.h \ pkgsrc/textproc/libxml2/patches/patch-xmlIO.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: wiz Date: Tue May 24 21:08:21 UTC 2016 Modified Files: pkgsrc/textproc/libxml2: distinfo pkgsrc/textproc/libxml2/patches: patch-encoding.c patch-runtest.c patch-testlimits.c patch-timsort.h patch-xmlIO.c Log Message: Add upstream bug report URLs (from he@@). To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/libxml2/patches/patch-encoding.c \ pkgsrc/textproc/libxml2/patches/patch-runtest.c \ pkgsrc/textproc/libxml2/patches/patch-testlimits.c \ pkgsrc/textproc/libxml2/patches/patch-timsort.h \ pkgsrc/textproc/libxml2/patches/patch-xmlIO.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: he Date: Wed May 25 07:16:36 UTC 2016 Modified Files: pkgsrc/textproc/libxml2: distinfo pkgsrc/textproc/libxml2/patches: patch-ab Log Message: Submit the typo part of configure upstream, note the bug-ID. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 pkgsrc/textproc/libxml2/distinfo cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/libxml2/patches/patch-ab @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.140 2016/02/26 10:32:47 jperkin Exp $ d3 1 a3 1 DISTNAME= libxml2-2.9.4 @ 1.139 log @Update libxml2 to 2.9.3. v2.9.3: Nov 20 2015 Security: CVE-2015-8242 Buffer overead with HTML parser in push mode (Hugh Davenport), CVE-2015-7500 Fix memory access error due to incorrect entities boundaries (Daniel Veillard), CVE-2015-7499-2 Detect incoherency on GROW (Daniel Veillard), CVE-2015-7499-1 Add xmlHaltParser() to stop the parser (Daniel Veillard), CVE-2015-5312 Another entity expansion issue (David Drysdale), CVE-2015-7497 Avoid an heap buffer overflow in xmlDictComputeFastQKey (David Drysdale), CVE-2015-7498 Avoid processing entities after encoding conversion failures (Daniel Veillard), CVE-2015-8035 Fix XZ compression support loop (Daniel Veillard), CVE-2015-7942-2 Fix an error in previous Conditional section patch (Daniel Veillard), CVE-2015-7942 Another variation of overflow in Conditional sections (Daniel Veillard), CVE-2015-1819 Enforce the reader to run in constant memory (Daniel Veillard) CVE-2015-7941_2 Cleanup conditional section error handling (Daniel Veillard), CVE-2015-7941_1 Stop parsing on entities boundaries errors (Daniel Veillard), Documentation: Correct spelling of "calling" (Alex Henrie), Fix a small error in xmllint --format description (Fabien Degomme), Avoid XSS on the search of xmlsoft.org (Daniel Veillard) Portability: threads: use forward declarations only for glibc (Michael Heimpold), Update Win32 configure.js to search for configure.ac (Daniel Veillard) Bug Fixes: Bug on creating new stream from entity (Daniel Veillard), Fix some loop issues embedding NEXT (Daniel Veillard), Do not print error context when there is none (Daniel Veillard), Avoid extra processing of MarkupDecl when EOF (Hugh Davenport), Fix parsing short unclosed comment uninitialized access (Daniel Veillard), Add missing Null check in xmlParseExternalEntityPrivate (Gaurav Gupta), Fix a bug in CData error handling in the push parser (Daniel Veillard), Fix a bug on name parsing at the end of current input buffer (Daniel Veillard), Fix the spurious ID already defined error (Daniel Veillard), Fix previous change to node sort order (Nick Wellnhofer), Fix a self assignment issue raised by clang (Scott Graham), Fail parsing early on if encoding conversion failed (Daniel Veillard), Do not process encoding values if the declaration if broken (Daniel Veillard), Silence clang's -Wunknown-attribute (Michael Catanzaro), xmlMemUsed is not thread-safe (Martin von Gagern), Fix support for except in nameclasses (Daniel Veillard), Fix order of root nodes (Nick Wellnhofer), Allow attributes on descendant-or-self axis (Nick Wellnhofer), Fix the fix to Windows locking (Steve Nairn), Fix timsort invariant loop re: Envisage article (Christopher Swenson), Don't add IDs in xmlSetTreeDoc (Nick Wellnhofer), Account for ID attributes in xmlSetTreeDoc (Nick Wellnhofer), Remove various unused value assignments (Philip Withnall), Fix missing entities after CVE-2014-3660 fix (Daniel Veillard), Revert "Missing initialization for the catalog module" (Daniel Veillard) Improvements: Reuse xmlHaltParser() where it makes sense (Daniel Veillard), xmlStopParser reset errNo (Daniel Veillard), Reenable xz support by default (Daniel Veillard), Recover unescaped less-than character in HTML recovery parsing (Daniel Veillard), Allow HTML serializer to output HTML5 DOCTYPE (Shaun McCance), Regression test for bug #695699 (Nick Wellnhofer), Add a couple of XPath tests (Nick Wellnhofer), Add Python 3 rpm subpackage (Tomas Radej), libxml2-config.cmake.in: update include directories (Samuel Martin), Adding example from bugs 738805 to regression tests (Daniel Veillard) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.138 2015/07/03 18:55:46 he Exp $ a32 2 .include "../../mk/bsd.prefs.mk" d41 1 a41 3 .if ${OPSYS} == "SunOS" BUILDLINK_TRANSFORM+= rm:-Werror=format=2 .endif @ 1.138 log @Apply the patch for arbitrary-memory-access vulnerability as reported in https://bugzilla.gnome.org/show_bug.cgi?id=746048. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.137 2015/04/24 11:32:29 spz Exp $ d3 1 a3 2 DISTNAME= libxml2-2.9.2 PKGREVISION= 3 @ 1.137 log @patch for CVE-2015-1819 Enforce the reader to run in constant memory from https://git.gnome.org/browse/libxml2/commit/?id=213f1fe0d76d30eaed6e5853057defc43e6df2c9 +general patch refresh @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.136 2015/03/22 05:53:12 tnn Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.137.2.1 log @Pullup ticket #4767 - requested by he textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.138 - textproc/libxml2/distinfo 1.107 - textproc/libxml2/patches/patch-HTMLparser.c 1.1 --- Module Name: pkgsrc Committed By: he Date: Fri Jul 3 18:55:46 UTC 2015 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-HTMLparser.c Log Message: Apply the patch for arbitrary-memory-access vulnerability as reported in https://bugzilla.gnome.org/show_bug.cgi?id=746048. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 3 @ 1.136 log @pass --with-lzma to configure script @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.135 2015/03/11 22:53:10 tnn Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.136.2.1 log @Pullup ticket #4696 - requested by spz textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.137 - textproc/libxml2/distinfo 1.106 - textproc/libxml2/patches/patch-aa 1.28 - textproc/libxml2/patches/patch-ab 1.28 - textproc/libxml2/patches/patch-ac 1.8 - textproc/libxml2/patches/patch-ad 1.18 - textproc/libxml2/patches/patch-ae 1.14 - textproc/libxml2/patches/patch-ag 1.12 - textproc/libxml2/patches/patch-aj 1.4 - textproc/libxml2/patches/patch-buf.c 1.1 - textproc/libxml2/patches/patch-include_libxml_tree.h 1.1 - textproc/libxml2/patches/patch-threads.c 1.5 - textproc/libxml2/patches/patch-xmlreader.c 1.1 --- Module Name: pkgsrc Committed By: spz Date: Fri Apr 24 11:32:29 UTC 2015 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo pkgsrc/textproc/libxml2/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-ag patch-aj patch-threads.c Added Files: pkgsrc/textproc/libxml2/patches: patch-buf.c patch-include_libxml_tree.h patch-xmlreader.c Log Message: patch for CVE-2015-1819 Enforce the reader to run in constant memory from https://git.gnome.org/browse/libxml2/commit/?id=213f1fe0d76d30eaed6e5853057defc43e6df2c9 +general patch refresh @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 2 @ 1.135 log @needs dlopen (xmlmodule.c) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.134 2014/12/15 11:07:09 jperkin Exp $ d21 1 @ 1.134 log @Pass explicit path to zlib. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.133 2014/10/28 18:55:56 drochner Exp $ d53 1 @ 1.133 log @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: Makefile,v 1.132 2014/10/17 15:46:47 drochner Exp $ d20 1 @ 1.132 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.131 2014/10/09 14:07:02 wiz Exp $ d4 1 @ 1.131 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.130 2014/07/18 10:29:37 ryoon Exp $ d3 1 a3 2 DISTNAME= libxml2-2.9.1 PKGREVISION= 2 @ 1.130 log @Fix SCO OpenServer 5.0.7/3.2 build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.129 2014/05/10 22:45:42 spz Exp $ a13 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.130.2.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 2 a4 2 DISTNAME= libxml2-2.9.2 PKGREVISION= 1 @ 1.129 log @add a patch for CVE-2014-0191 aka http://secunia.com/advisories/58018/ from https://git.gnome.org/browse/libxml2/commit/?id=9cd1c3cfbd32655d60572c0a413e017260c854df @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.128 2013/12/28 23:04:36 tron Exp $ d48 2 @ 1.128 log @Remove "-thread" related part of the last change. This is not the correct fix. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.127 2013/12/28 20:23:44 tron Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.128.4.1 log @Pullup ticket #4414 - requested by he textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.129 - textproc/libxml2/distinfo 1.103 - textproc/libxml2/patches/patch-parser.c 1.1 --- Module Name: pkgsrc Committed By: spz Date: Sat May 10 22:45:42 UTC 2014 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-parser.c Log Message: add a patch for CVE-2014-0191 aka http://secunia.com/advisories/58018/ from https://git.gnome.org/browse/libxml2/commit/?id=9cd1c3cfbd32655d60572c0a413e017260c854df @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 2 @ 1.127 log @Fix build with GCC (4.8?) under Solaris. This kind of build problem should probably be handled centrally in "pkgsrc/mk/wrapper/transform-gcc". But I'm not sure how to check for the platform in that file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.126 2013/11/25 23:30:23 wiz Exp $ a45 6 .include "../../mk/compiler.mk" . if !empty(CC_VERSION:Mgcc-*) BUILDLINK_TRANSFORM+= rename:-mt:-pthreads BUILDLINK_TRANSFORM+= rename:-threads:-pthreads . endif @ 1.126 log @Fix bug in gzip decompression. https://bugzilla.gnome.org/show_bug.cgi?id=712528 This made gnucash unable to read some of its files. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.125 2013/05/26 09:22:14 adam Exp $ d44 10 @ 1.125 log @Changes 2.9.1: Features: Support for Python3, Add xmlXPathSetContextNode and xmlXPathNodeEval Documentation: Add documentation for xmllint --xpath Fix the URL of the SAX documentation from James Fix spelling of "length" Portability: Fix python bindings with versions older than 2.7 rebuild docs:Makefile.am elfgcchack.h after rebuild in doc elfgcchack for buf module Fix a uneeded and wrong extra link parameter Few cleanup patches for Windows Fix rpmbuild --nocheck Fix for win32/configure.js and WITH_THREAD_ALLOC Fix Broken multi-arch support in xml2-config Fix a portability issue for GCC < 3.4.0 Windows build fixes Fix a thread portability problem Downgrade autoconf requirement to 2.63 Bug Fixes: Fix a linking error for python bindings Fix a couple of return without value Improve the hashing functions Improve handling of xmlStopParser() Remove risk of lockup in dictionary initialization Activate detection of encoding in external subset Fix an output buffer flushing conversion bug Fix an old bug in xmlSchemaValidateOneElement Fix configure cannot remove messages fix schema validation in combination with xsi:nil xmlCtxtReadFile doesn't work with literal IPv6 URLs Fix a few problems with setEntityLoader Detect excessive entities expansion upon replacement Fix the flushing out of raw buffers on encoding conversions Fix some buffer conversion issues When calling xmlNodeDump make sure we grow the buffer quickly Fix an error in the progressive DTD parsing code xmllint should not load DTD by default when using the reader Try IBM-037 when looking for EBCDIC handlers Fix potential out of bound access Fix large parse of file from memory Fix a bug in the nsclean option of the parser Fix a regression in 2.9.0 breaking validation while streaming Remove potential calls to exit() Improvements: Regenerated API, and testapi, rebuild documentation Fix tree iterators broken by 2to3 script update all tests for Python3 and Python2 A few more fixes for python 3 affecting libxml2.py Fix compilation on Python3 Converting apibuild.py to python3 First pass at starting porting to python3 updated configure.in for python3 Add support for xpathRegisterVariable in Python Added a regression tests from bug 694228 data Cache presence of '<' in entities content Avoid extra processing on entities Python binding for xmlRegisterInputCallback Python bindings: DOM casts everything to xmlNode Define LIBXML_THREAD_ALLOC_ENABLED via xmlversion.h Adding streaming validation to runtest checks Add a --pushsmall option to xmllint Cleanups: Switched comment in file to UTF-8 encoding Extend gitignore Silent the new python test on input Cleanup of a duplicate test Cleanup on duplicate test expressions Fix compiler warning after 153cf15905cf4ec080612ada6703757d10caba1e Spec cleanups and a fix for multiarch support Silence a clang warning Cleanup the Copyright to be pure MIT Licence wording rand_seed should be static in dict.c Fix typos in parser comments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.124 2013/04/18 10:17:42 drochner Exp $ d4 1 @ 1.124 log @add patch from upstream to fix Multiple Use-After-Free Vulnerabilities (no CVE# assigned yet) bump PKGREV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.123 2013/03/08 23:59:31 tez Exp $ d3 1 a3 2 DISTNAME= libxml2-2.9.0 PKGREVISION= 3 @ 1.123 log @Fix for CVE-2013-0338 & CVE-2013-0339 from https://git.gnome.org/browse/libxml2/commit/?id=23f05e0c33987d6605387b300c4be5da2120a7ab bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.121 2012/10/25 06:56:04 asau Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.123.2.1 log @Pullup ticket #4120 - requested by drochner textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.124 - textproc/libxml2/distinfo 1.99-1.100 - textproc/libxml2/patches/patch-SA53061_1 1.1-1.2 - textproc/libxml2/patches/patch-SA53061_2 1.1 --- Module Name: pkgsrc Committed By: drochner Date: Thu Apr 18 10:17:42 UTC 2013 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-SA53061_1 patch-SA53061_2 Log Message: add patch from upstream to fix Multiple Use-After-Free Vulnerabilities (no CVE# assigned yet) bump PKGREV --- Module Name: pkgsrc Committed By: drochner Date: Fri Apr 19 09:47:43 UTC 2013 Modified Files: pkgsrc/textproc/libxml2: distinfo pkgsrc/textproc/libxml2/patches: patch-SA53061_1 Log Message: add CVE reference @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 3 @ 1.122 log @add patch from upstream to fix possible array underflow, leading to DOS or possible code injection (CVE-2012-5134) bump PKGREV @ text @d4 1 a4 1 PKGREVISION= 1 @ 1.122.2.1 log @Pullup ticket #4101 - requested by tez textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.123 - textproc/libxml2/distinfo 1.98 - textproc/libxml2/patches/patch-CVE-2013-0338-CVE-2013-0339 1.1 --- Module Name: pkgsrc Committed By: tez Date: Fri Mar 8 23:59:31 UTC 2013 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/ patches: patch-CVE-2013-0338-CVE-2013-0339 Log Message: Fix for CVE-2013-0338 & CVE-2013-0339 from https://git.gnome.org/browse/libxml2/commit/?id=23f05e0c33987d6605387b300c4be5da2120a7ab bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 2 @ 1.121 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.120 2012/09/15 10:23:38 adam Exp $ d4 1 @ 1.120 log @Changes 2.9.0: Features: * A few new API entry points, * More resilient push parser mode, * A lot of portability improvement, * Faster XPath evaluation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.119 2012/08/01 14:51:37 drochner Exp $ a13 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.119 log @add patches from upstream to fix integer overflows which can cause DOS or possibly other corruption (CVE-2012-2807) bump PKGREV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.118 2012/06/14 07:39:36 sbd Exp $ d3 1 a3 2 DISTNAME= libxml2-2.8.0 PKGREVISION= 3 a6 1 #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/} a15 1 USE_TOOLS+= gmake d18 1 a18 2 PKGCONFIG_OVERRIDE= libxml-2.0.pc.in d20 1 a21 1 CONFIGURE_ARGS+= --with-html-subdir=libxml2 d24 2 a43 1 .include "../../mk/pthread.buildlink3.mk" d45 1 a46 1 .include "../../converters/libiconv/buildlink3.mk" d48 1 a48 1 @ 1.118 log @Add missing archivers/xz buildlink. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.117 2012/06/03 22:18:33 wiz Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.118.2.1 log @Pullup ticket #3890 - requested by drochner textproc/libxml2: security patch Revisions pulled up: - textproc/libxml2/Makefile 1.119 - textproc/libxml2/distinfo 1.94 - textproc/libxml2/patches/patch-ba 1.1 - textproc/libxml2/patches/patch-bb 1.1 --- Module Name: pkgsrc Committed By: drochner Date: Wed Aug 1 14:51:37 UTC 2012 Modified Files: pkgsrc/textproc/libxml2: Makefile distinfo Added Files: pkgsrc/textproc/libxml2/patches: patch-ba patch-bb Log Message: add patches from upstream to fix integer overflows which can cause DOS or possibly other corruption (CVE-2012-2807) bump PKGREV @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 3 @ 1.117 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