head	1.303;
access;
symbols
	pkgsrc-2026Q1:1.301.0.2
	pkgsrc-2026Q1-base:1.301
	pkgsrc-2025Q4:1.299.0.2
	pkgsrc-2025Q4-base:1.299
	pkgsrc-2025Q3:1.296.0.2
	pkgsrc-2025Q3-base:1.296
	pkgsrc-2025Q2:1.295.0.2
	pkgsrc-2025Q2-base:1.295
	pkgsrc-2025Q1:1.291.0.4
	pkgsrc-2025Q1-base:1.291
	pkgsrc-2024Q4:1.291.0.2
	pkgsrc-2024Q4-base:1.291
	pkgsrc-2024Q3:1.288.0.4
	pkgsrc-2024Q3-base:1.288
	pkgsrc-2024Q2:1.288.0.2
	pkgsrc-2024Q2-base:1.288
	pkgsrc-2024Q1:1.284.0.4
	pkgsrc-2024Q1-base:1.284
	pkgsrc-2023Q4:1.284.0.2
	pkgsrc-2023Q4-base:1.284
	pkgsrc-2023Q3:1.281.0.4
	pkgsrc-2023Q3-base:1.281
	pkgsrc-2023Q2:1.281.0.2
	pkgsrc-2023Q2-base:1.281
	pkgsrc-2023Q1:1.279.0.2
	pkgsrc-2023Q1-base:1.279
	pkgsrc-2022Q4:1.278.0.2
	pkgsrc-2022Q4-base:1.278
	pkgsrc-2022Q3:1.277.0.4
	pkgsrc-2022Q3-base:1.277
	pkgsrc-2022Q2:1.277.0.2
	pkgsrc-2022Q2-base:1.277
	pkgsrc-2022Q1:1.276.0.4
	pkgsrc-2022Q1-base:1.276
	pkgsrc-2021Q4:1.276.0.2
	pkgsrc-2021Q4-base:1.276
	pkgsrc-2021Q3:1.274.0.4
	pkgsrc-2021Q3-base:1.274
	pkgsrc-2021Q2:1.274.0.2
	pkgsrc-2021Q2-base:1.274
	pkgsrc-2021Q1:1.273.0.2
	pkgsrc-2021Q1-base:1.273
	pkgsrc-2020Q4:1.272.0.2
	pkgsrc-2020Q4-base:1.272
	pkgsrc-2020Q3:1.271.0.2
	pkgsrc-2020Q3-base:1.271
	pkgsrc-2020Q2:1.270.0.2
	pkgsrc-2020Q2-base:1.270
	pkgsrc-2020Q1:1.268.0.2
	pkgsrc-2020Q1-base:1.268
	pkgsrc-2019Q4:1.266.0.6
	pkgsrc-2019Q4-base:1.266
	pkgsrc-2019Q3:1.266.0.2
	pkgsrc-2019Q3-base:1.266
	pkgsrc-2019Q2:1.263.0.6
	pkgsrc-2019Q2-base:1.263
	pkgsrc-2019Q1:1.263.0.4
	pkgsrc-2019Q1-base:1.263
	pkgsrc-2018Q4:1.263.0.2
	pkgsrc-2018Q4-base:1.263
	pkgsrc-2018Q3:1.260.0.4
	pkgsrc-2018Q3-base:1.260
	pkgsrc-2018Q2:1.260.0.2
	pkgsrc-2018Q2-base:1.260
	pkgsrc-2018Q1:1.256.0.2
	pkgsrc-2018Q1-base:1.256
	pkgsrc-2017Q4:1.254.0.2
	pkgsrc-2017Q4-base:1.254
	pkgsrc-2017Q3:1.250.0.4
	pkgsrc-2017Q3-base:1.250
	pkgsrc-2017Q2:1.245.0.2
	pkgsrc-2017Q2-base:1.245
	pkgsrc-2017Q1:1.243.0.2
	pkgsrc-2017Q1-base:1.243
	pkgsrc-2016Q4:1.236.0.2
	pkgsrc-2016Q4-base:1.236
	pkgsrc-2016Q3:1.232.0.2
	pkgsrc-2016Q3-base:1.232
	pkgsrc-2016Q2:1.230.0.2
	pkgsrc-2016Q2-base:1.230
	pkgsrc-2016Q1:1.229.0.2
	pkgsrc-2016Q1-base:1.229
	pkgsrc-2015Q4:1.224.0.2
	pkgsrc-2015Q4-base:1.224
	pkgsrc-2015Q3:1.223.0.2
	pkgsrc-2015Q3-base:1.223
	pkgsrc-2015Q2:1.221.0.2
	pkgsrc-2015Q2-base:1.221
	pkgsrc-2015Q1:1.217.0.2
	pkgsrc-2015Q1-base:1.217
	pkgsrc-2014Q4:1.214.0.2
	pkgsrc-2014Q4-base:1.214
	pkgsrc-2014Q3:1.213.0.2
	pkgsrc-2014Q3-base:1.213
	pkgsrc-2014Q2:1.209.0.2
	pkgsrc-2014Q2-base:1.209
	pkgsrc-2014Q1:1.201.0.2
	pkgsrc-2014Q1-base:1.201
	pkgsrc-2013Q4:1.200.0.2
	pkgsrc-2013Q4-base:1.200
	pkgsrc-2013Q3:1.199.0.2
	pkgsrc-2013Q3-base:1.199
	pkgsrc-2013Q2:1.198.0.2
	pkgsrc-2013Q2-base:1.198
	pkgsrc-2013Q1:1.196.0.2
	pkgsrc-2013Q1-base:1.196
	pkgsrc-2012Q4:1.193.0.2
	pkgsrc-2012Q4-base:1.193
	pkgsrc-2012Q3:1.191.0.2
	pkgsrc-2012Q3-base:1.191
	pkgsrc-2012Q2:1.190.0.4
	pkgsrc-2012Q2-base:1.190
	pkgsrc-2012Q1:1.190.0.2
	pkgsrc-2012Q1-base:1.190
	pkgsrc-2011Q4:1.186.0.2
	pkgsrc-2011Q4-base:1.186
	pkgsrc-2011Q3:1.180.0.2
	pkgsrc-2011Q3-base:1.180
	pkgsrc-2011Q2:1.176.0.4
	pkgsrc-2011Q2-base:1.176
	pkgsrc-2011Q1:1.176.0.2
	pkgsrc-2011Q1-base:1.176
	pkgsrc-2010Q4:1.173.0.2
	pkgsrc-2010Q4-base:1.173
	pkgsrc-2010Q3:1.169.0.2
	pkgsrc-2010Q3-base:1.169
	pkgsrc-2010Q2:1.167.0.2
	pkgsrc-2010Q2-base:1.167
	pkgsrc-2010Q1:1.146.0.2
	pkgsrc-2010Q1-base:1.146
	pkgsrc-2009Q4:1.143.0.2
	pkgsrc-2009Q4-base:1.143
	pkgsrc-2009Q3:1.142.0.2
	pkgsrc-2009Q3-base:1.142
	pkgsrc-2009Q2:1.140.0.2
	pkgsrc-2009Q2-base:1.140
	pkgsrc-2009Q1:1.138.0.2
	pkgsrc-2009Q1-base:1.138
	pkgsrc-2008Q4:1.136.0.2
	pkgsrc-2008Q4-base:1.136
	pkgsrc-2008Q3:1.135.0.4
	pkgsrc-2008Q3-base:1.135
	cube-native-xorg:1.135.0.2
	cube-native-xorg-base:1.135
	pkgsrc-2008Q2:1.134.0.4
	pkgsrc-2008Q2-base:1.134
	cwrapper:1.134.0.2
	pkgsrc-2008Q1:1.133.0.2
	pkgsrc-2008Q1-base:1.133
	pkgsrc-2007Q4:1.129.0.2
	pkgsrc-2007Q4-base:1.129
	pkgsrc-2007Q3:1.126.0.2
	pkgsrc-2007Q3-base:1.126
	pkgsrc-2007Q2:1.123.0.2
	pkgsrc-2007Q2-base:1.123
	pkgsrc-2007Q1:1.121.0.2
	pkgsrc-2007Q1-base:1.121
	pkgsrc-2006Q4:1.115.0.2
	pkgsrc-2006Q4-base:1.115
	pkgsrc-2006Q3:1.113.0.2
	pkgsrc-2006Q3-base:1.113
	pkgsrc-2006Q2:1.112.0.2
	pkgsrc-2006Q2-base:1.112
	pkgsrc-2006Q1:1.108.0.2
	pkgsrc-2006Q1-base:1.108
	pkgsrc-2005Q4:1.103.0.2
	pkgsrc-2005Q4-base:1.103
	pkgsrc-2005Q3:1.98.0.2
	pkgsrc-2005Q3-base:1.98
	pkgsrc-2005Q2:1.94.0.2
	pkgsrc-2005Q2-base:1.94
	pkgsrc-2005Q1:1.90.0.2
	pkgsrc-2005Q1-base:1.90
	pkgsrc-2004Q4:1.82.0.2
	pkgsrc-2004Q4-base:1.82
	pkgsrc-2004Q3:1.79.0.2
	pkgsrc-2004Q3-base:1.79
	pkgsrc-2004Q2:1.76.0.2
	pkgsrc-2004Q2-base:1.76
	pkgsrc-2004Q1:1.75.0.2
	pkgsrc-2004Q1-base:1.75
	pkgsrc-2003Q4:1.66.0.2
	pkgsrc-2003Q4-base:1.66
	netbsd-1-6-1:1.59.0.2
	netbsd-1-6-1-base:1.59
	netbsd-1-6:1.49.0.6
	netbsd-1-6-RELEASE-base:1.49
	pkgviews:1.49.0.2
	pkgviews-base:1.49
	buildlink2:1.48.0.2
	buildlink2-base:1.49
	netbsd-1-5-PATCH003:1.48
	netbsd-1-5-PATCH001:1.26
	netbsd-1-5-RELEASE:1.6
	netbsd-1-4-PATCH003:1.6
	netbsd-1-4-PATCH002:1.3
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.303
date	2026.05.14.16.41.54;	author ryoon;	state Exp;
branches;
next	1.302;
commitid	tKipFjQKzke3NNFG;

1.302
date	2026.04.19.14.52.23;	author wiz;	state Exp;
branches;
next	1.301;
commitid	X5gTZAwvok720ACG;

1.301
date	2026.02.06.10.05.41;	author wiz;	state Exp;
branches;
next	1.300;
commitid	MwQEYCXeWSFvIitG;

1.300
date	2026.01.07.08.48.33;	author wiz;	state Exp;
branches;
next	1.299;
commitid	1wQ3ICD8eebefrpG;

1.299
date	2025.11.30.13.58.06;	author wiz;	state Exp;
branches;
next	1.298;
commitid	MD4VM3n3aUsscAkG;

1.298
date	2025.10.23.20.38.58;	author wiz;	state Exp;
branches;
next	1.297;
commitid	1V2hBZn9ypXaCJfG;

1.297
date	2025.09.21.18.27.11;	author wiz;	state Exp;
branches;
next	1.296;
commitid	b30spkEnTgvgWBbG;

1.296
date	2025.08.30.22.46.08;	author wiz;	state Exp;
branches;
next	1.295;
commitid	2izPxU30rhec4O8G;

1.295
date	2025.04.28.11.10.19;	author wiz;	state Exp;
branches;
next	1.294;
commitid	bdtjbD0DjI3odOSF;

1.294
date	2025.04.24.14.15.32;	author wiz;	state Exp;
branches;
next	1.293;
commitid	A3VBjL8Zdd4LljSF;

1.293
date	2025.04.19.07.58.16;	author wiz;	state Exp;
branches;
next	1.292;
commitid	8J0gu7BGAw8XqDRF;

1.292
date	2025.04.17.21.52.08;	author wiz;	state Exp;
branches;
next	1.291;
commitid	xcIXAVA292fk6sRF;

1.291
date	2024.11.14.22.21.22;	author wiz;	state Exp;
branches;
next	1.290;
commitid	JmuDYqwL4erbdFxF;

1.290
date	2024.11.01.12.54.07;	author wiz;	state Exp;
branches;
next	1.289;
commitid	QB4Wk02mZPuBuWvF;

1.289
date	2024.11.01.00.53.20;	author wiz;	state Exp;
branches;
next	1.288;
commitid	QT27BdVP362gvSvF;

1.288
date	2024.06.17.09.59.30;	author wiz;	state Exp;
branches;
next	1.287;
commitid	lVNWsAHON3vMWjeF;

1.287
date	2024.05.29.16.34.08;	author adam;	state Exp;
branches;
next	1.286;
commitid	n8aFyEjEVZA0JUbF;

1.286
date	2024.05.17.05.26.22;	author wiz;	state Exp;
branches;
next	1.285;
commitid	rYI7IAXxgpPTqjaF;

1.285
date	2024.05.16.06.15.27;	author wiz;	state Exp;
branches;
next	1.284;
commitid	kYKPUni8AkogJbaF;

1.284
date	2023.11.08.13.20.40;	author wiz;	state Exp;
branches;
next	1.283;
commitid	PsuHTklAIsF4bOLE;

1.283
date	2023.10.24.22.10.41;	author wiz;	state Exp;
branches;
next	1.282;
commitid	MTsrqKm6aGrQAVJE;

1.282
date	2023.10.21.17.11.16;	author gdt;	state Exp;
branches;
next	1.281;
commitid	Sr0Nb6aaZLDw2wJE;

1.281
date	2023.06.16.21.12.11;	author wiz;	state Exp;
branches;
next	1.280;
commitid	UqKLodbqaBvZsdtE;

1.280
date	2023.04.19.08.11.17;	author adam;	state Exp;
branches;
next	1.279;
commitid	B8gCWhWtMX9vZGlE;

1.279
date	2023.01.03.17.38.05;	author wiz;	state Exp;
branches;
next	1.278;
commitid	vvAqE6UmuqFFx78E;

1.278
date	2022.10.26.10.31.54;	author wiz;	state Exp;
branches;
next	1.277;
commitid	PVFjlIYUKslkpdZD;

1.277
date	2022.05.10.20.47.37;	author markd;	state Exp;
branches;
next	1.276;
commitid	OLgeWQ7zpYlBcyDD;

1.276
date	2021.12.08.16.06.12;	author adam;	state Exp;
branches;
next	1.275;
commitid	2PyWjHx5T8rqARjD;

1.275
date	2021.09.29.19.01.13;	author adam;	state Exp;
branches;
next	1.274;
commitid	WsBUbBM52TSePSaD;

1.274
date	2021.04.21.13.25.15;	author adam;	state Exp;
branches;
next	1.273;
commitid	RAyVO2K5RkoQ8aQC;

1.273
date	2021.01.04.14.32.17;	author prlw1;	state Exp;
branches;
next	1.272;
commitid	dMM3Iwt3QtTAWpCC;

1.272
date	2020.12.04.04.56.09;	author riastradh;	state Exp;
branches;
next	1.271;
commitid	rml4sqzmdFjgLnyC;

1.271
date	2020.08.17.20.19.54;	author leot;	state Exp;
branches;
next	1.270;
commitid	ybGS4iX9Fz8imskC;

1.270
date	2020.05.22.10.56.33;	author adam;	state Exp;
branches;
next	1.269;
commitid	m1Z0QPvTTTWz3e9C;

1.269
date	2020.05.02.11.47.16;	author leot;	state Exp;
branches;
next	1.268;
commitid	0oZXhFiUKgRSYE6C;

1.268
date	2020.03.10.22.10.50;	author wiz;	state Exp;
branches;
next	1.267;
commitid	UV3Ncm9kwd8O7UZB;

1.267
date	2020.03.08.16.51.02;	author wiz;	state Exp;
branches;
next	1.266;
commitid	rcNYzTQo8icypCZB;

1.266
date	2019.08.16.21.19.30;	author leot;	state Exp;
branches;
next	1.265;
commitid	i4tK9IWTzHjwvizB;

1.265
date	2019.07.21.22.25.36;	author wiz;	state Exp;
branches;
next	1.264;
commitid	sTQI1F7qYi5bHXvB;

1.264
date	2019.07.20.22.46.44;	author wiz;	state Exp;
branches;
next	1.263;
commitid	dMrQLvIeoazTQPvB;

1.263
date	2018.12.10.07.54.49;	author leot;	state Exp;
branches;
next	1.262;
commitid	2iUqM0KOMeqG3e3B;

1.262
date	2018.11.14.22.22.16;	author kleink;	state Exp;
branches;
next	1.261;
commitid	GUhtnbJ6vT0uGXZA;

1.261
date	2018.11.12.03.52.48;	author ryoon;	state Exp;
branches;
next	1.260;
commitid	9EFLHvDNIp1OBBZA;

1.260
date	2018.06.11.10.04.24;	author adam;	state Exp;
branches;
next	1.259;
commitid	XaeXFX0oc7gTCQFA;

1.259
date	2018.04.17.22.29.47;	author wiz;	state Exp;
branches;
next	1.258;
commitid	2vVfqOUBo6B4wQyA;

1.258
date	2018.04.16.14.35.05;	author wiz;	state Exp;
branches;
next	1.257;
commitid	kzqGMVblMLsRUFyA;

1.257
date	2018.04.05.16.31.45;	author leot;	state Exp;
branches;
next	1.256;
commitid	SZVmyPfaSiJfVgxA;

1.256
date	2018.03.12.11.17.25;	author wiz;	state Exp;
branches;
next	1.255;
commitid	Mv60lx3Uo1UqW9uA;

1.255
date	2018.01.28.20.11.01;	author wiz;	state Exp;
branches;
next	1.254;
commitid	QPx6fI8ZTJVRhGoA;

1.254
date	2017.12.02.20.02.34;	author leot;	state Exp;
branches;
next	1.253;
commitid	BNQNbLm5v0vA4mhA;

1.253
date	2017.11.23.17.20.09;	author wiz;	state Exp;
branches;
next	1.252;
commitid	IKMbhxg2I0GMsbgA;

1.252
date	2017.11.12.14.10.15;	author khorben;	state Exp;
branches;
next	1.251;
commitid	itF6QcdEeR8hJKeA;

1.251
date	2017.10.23.12.34.54;	author leot;	state Exp;
branches;
next	1.250;
commitid	yP29mn6gOZ4DSacA;

1.250
date	2017.09.03.11.30.54;	author leot;	state Exp;
branches;
next	1.249;
commitid	oDHv2ugiVmWo8K5A;

1.249
date	2017.08.20.23.55.54;	author jlam;	state Exp;
branches;
next	1.248;
commitid	0WukgbEFK6l8I04A;

1.248
date	2017.08.01.14.59.04;	author wiz;	state Exp;
branches;
next	1.247;
commitid	WdGfxAP8wrFJlw1A;

1.247
date	2017.07.27.08.54.26;	author wiz;	state Exp;
branches;
next	1.246;
commitid	09WOxivUCRZwuQ0A;

1.246
date	2017.07.25.18.30.39;	author reinoud;	state Exp;
branches;
next	1.245;
commitid	iUFOEDvh6ks5KD0A;

1.245
date	2017.04.26.14.10.04;	author prlw1;	state Exp;
branches;
next	1.244;
commitid	ezbZSqO9zo58c3Pz;

1.244
date	2017.04.08.07.27.09;	author adam;	state Exp;
branches;
next	1.243;
commitid	2XNUxpZ6lBxMxHMz;

1.243
date	2017.02.12.06.24.48;	author ryoon;	state Exp;
branches;
next	1.242;
commitid	k6LcxswBlcMUXCFz;

1.242
date	2017.02.06.13.54.48;	author wiz;	state Exp;
branches;
next	1.241;
commitid	gPJ49nTI4WujETEz;

1.241
date	2017.01.21.11.57.10;	author leot;	state Exp;
branches;
next	1.240;
commitid	s9EngGFzZzqQvPCz;

1.240
date	2017.01.11.13.26.16;	author ryoon;	state Exp;
branches;
next	1.239;
commitid	deEzkhSaTDVvkyBz;

1.239
date	2017.01.04.22.31.48;	author rodent;	state Exp;
branches;
next	1.238;
commitid	URmdMPXeeXexzHAz;

1.238
date	2016.12.31.23.06.51;	author rodent;	state Exp;
branches;
next	1.237;
commitid	SqDwAHdcSv2aTbAz;

1.237
date	2016.12.30.07.08.34;	author adam;	state Exp;
branches;
next	1.236;
commitid	aO4Y1VSTQCyTCYzz;

1.236
date	2016.12.12.14.26.15;	author wiz;	state Exp;
branches;
next	1.235;
commitid	weXUQE8vvZyHCHxz;

1.235
date	2016.12.03.16.43.16;	author marino;	state Exp;
branches;
next	1.234;
commitid	F5tmhYhZsiTRFywz;

1.234
date	2016.10.09.08.33.15;	author leot;	state Exp;
branches;
next	1.233;
commitid	46UEMD4WzbajJrpz;

1.233
date	2016.09.30.14.10.55;	author wiz;	state Exp;
branches;
next	1.232;
commitid	LOyLknf9Z2z7Tjoz;

1.232
date	2016.09.20.11.07.35;	author wiz;	state Exp;
branches;
next	1.231;
commitid	1gAZe4UHuAX0c1nz;

1.231
date	2016.07.09.06.38.50;	author wiz;	state Exp;
branches;
next	1.230;
commitid	dlqnocGpOoXV2Cdz;

1.230
date	2016.06.18.20.36.38;	author leot;	state Exp;
branches;
next	1.229;
commitid	AdKfx3iGk6GCmZaz;

1.229
date	2016.03.22.14.43.53;	author khorben;	state Exp;
branches;
next	1.228;
commitid	mdLaO2hEWyaVeEZy;

1.228
date	2016.03.05.11.27.53;	author jperkin;	state Exp;
branches;
next	1.227;
commitid	1LoxeQftu903HrXy;

1.227
date	2016.02.25.17.52.45;	author jperkin;	state Exp;
branches;
next	1.226;
commitid	xDoIvuyVAnbF7kWy;

1.226
date	2016.02.07.11.29.30;	author leot;	state Exp;
branches;
next	1.225;
commitid	oLeoNrt9ieaxzYTy;

1.225
date	2016.01.03.19.56.18;	author bsiegert;	state Exp;
branches;
next	1.224;
commitid	c1DdrtrbBdBqvwPy;

1.224
date	2015.12.02.21.14.16;	author leot;	state Exp;
branches;
next	1.223;
commitid	rRvFRGchmAiPXpLy;

1.223
date	2015.09.03.21.15.41;	author wiz;	state Exp;
branches;
next	1.222;
commitid	7NxbrpKqXzrSRQzy;

1.222
date	2015.08.06.06.56.33;	author wiz;	state Exp;
branches;
next	1.221;
commitid	0pYF8scArEb81bwy;

1.221
date	2015.06.19.08.20.43;	author wiz;	state Exp;
branches;
next	1.220;
commitid	Pm5HjL3Ske3n11qy;

1.220
date	2015.06.12.11.02.35;	author wiz;	state Exp;
branches;
next	1.219;
commitid	OxqQImJLDmM898py;

1.219
date	2015.06.12.10.50.57;	author wiz;	state Exp;
branches;
next	1.218;
commitid	B4JmCfaVUbiY38py;

1.218
date	2015.04.23.09.29.22;	author jperkin;	state Exp;
branches;
next	1.217;
commitid	VdxZll2e1WdOeHiy;

1.217
date	2015.03.14.21.07.37;	author tnn;	state Exp;
branches;
next	1.216;
commitid	ouoO9ap2RzE3oCdy;

1.216
date	2015.02.17.13.53.48;	author wiz;	state Exp;
branches;
next	1.215;
commitid	IxKWrzI4HG24Nmay;

1.215
date	2015.01.02.02.03.42;	author christos;	state Exp;
branches;
next	1.214;
commitid	GleC8YzZh5HTko4y;

1.214
date	2014.10.09.14.06.51;	author wiz;	state Exp;
branches;
next	1.213;
commitid	fBDATFVmQ3454xTx;

1.213
date	2014.09.07.20.48.51;	author wiz;	state Exp;
branches;
next	1.212;
commitid	zloTqX94zGHcksPx;

1.212
date	2014.08.23.20.02.11;	author schnoebe;	state Exp;
branches;
next	1.211;
commitid	uuQWlxqbKPMCxwNx;

1.211
date	2014.08.22.21.54.38;	author wiz;	state Exp;
branches;
next	1.210;
commitid	k8GNEZ1dHj5EcpNx;

1.210
date	2014.07.29.11.38.40;	author wiz;	state Exp;
branches;
next	1.209;
commitid	iDKN9NKCMuVfzgKx;

1.209
date	2014.06.07.07.34.05;	author wiz;	state Exp;
branches;
next	1.208;
commitid	IkMNWbCzpSJRSyDx;

1.208
date	2014.06.03.15.08.52;	author wiz;	state Exp;
branches;
next	1.207;
commitid	mz2wVaUVk5iWw5Dx;

1.207
date	2014.06.01.06.19.02;	author ryoon;	state Exp;
branches;
next	1.206;
commitid	hlpY64piPgvaFMCx;

1.206
date	2014.05.29.23.37.15;	author wiz;	state Exp;
branches;
next	1.205;
commitid	laryHfkCalgYtuCx;

1.205
date	2014.05.16.12.27.48;	author richard;	state Exp;
branches;
next	1.204;
commitid	KlwBDfZYk7CBdLAx;

1.204
date	2014.05.15.12.51.58;	author wiz;	state Exp;
branches;
next	1.203;
commitid	G2co8iN7TRIPnDAx;

1.203
date	2014.05.10.13.45.20;	author richard;	state Exp;
branches;
next	1.202;
commitid	ju6mvawUGlN9QZzx;

1.202
date	2014.05.10.13.42.08;	author richard;	state Exp;
branches;
next	1.201;
commitid	7UMgyetfnjPSOZzx;

1.201
date	2014.02.12.23.18.28;	author tron;	state Exp;
branches
	1.201.2.1;
next	1.200;
commitid	dfJj7CwMMWJzNRox;

1.200
date	2013.10.14.05.53.17;	author richard;	state Exp;
branches;
next	1.199;
commitid	byyQ74Acd5aKUd9x;

1.199
date	2013.07.12.10.45.01;	author jperkin;	state Exp;
branches;
next	1.198;
commitid	vVOw5ngQ2VNQxaXw;

1.198
date	2013.05.31.12.41.47;	author wiz;	state Exp;
branches;
next	1.197;
commitid	hIeXGcx6VfKHwMRw;

1.197
date	2013.04.24.10.06.51;	author sbd;	state Exp;
branches;
next	1.196;

1.196
date	2013.02.16.11.17.58;	author wiz;	state Exp;
branches;
next	1.195;

1.195
date	2013.02.06.23.20.58;	author jperkin;	state Exp;
branches;
next	1.194;

1.194
date	2013.01.26.21.36.42;	author adam;	state Exp;
branches;
next	1.193;

1.193
date	2012.10.08.13.45.36;	author asau;	state Exp;
branches;
next	1.192;

1.192
date	2012.10.03.21.57.17;	author wiz;	state Exp;
branches;
next	1.191;

1.191
date	2012.09.18.07.17.28;	author bouyer;	state Exp;
branches;
next	1.190;

1.190
date	2012.03.12.13.37.40;	author fhajny;	state Exp;
branches;
next	1.189;

1.189
date	2012.02.07.23.16.57;	author sbd;	state Exp;
branches;
next	1.188;

1.188
date	2012.02.06.12.41.20;	author wiz;	state Exp;
branches;
next	1.187;

1.187
date	2012.01.27.08.50.24;	author sbd;	state Exp;
branches;
next	1.186;

1.186
date	2011.12.02.14.14.58;	author hans;	state Exp;
branches;
next	1.185;

1.185
date	2011.11.14.01.23.26;	author sbd;	state Exp;
branches;
next	1.184;

1.184
date	2011.11.13.21.49.17;	author sbd;	state Exp;
branches;
next	1.183;

1.183
date	2011.11.13.21.06.30;	author sbd;	state Exp;
branches;
next	1.182;

1.182
date	2011.11.13.20.40.48;	author sbd;	state Exp;
branches;
next	1.181;

1.181
date	2011.11.02.23.44.43;	author sbd;	state Exp;
branches;
next	1.180;

1.180
date	2011.09.17.14.12.11;	author wiz;	state Exp;
branches;
next	1.179;

1.179
date	2011.09.16.13.44.44;	author christos;	state Exp;
branches;
next	1.178;

1.178
date	2011.08.28.07.22.12;	author sbd;	state Exp;
branches;
next	1.177;

1.177
date	2011.08.28.07.11.00;	author sbd;	state Exp;
branches;
next	1.176;

1.176
date	2011.01.19.03.28.42;	author sbd;	state Exp;
branches
	1.176.4.1;
next	1.175;

1.175
date	2011.01.19.03.01.06;	author sbd;	state Exp;
branches;
next	1.174;

1.174
date	2011.01.13.13.36.06;	author wiz;	state Exp;
branches;
next	1.173;

1.173
date	2011.01.03.05.58.49;	author adam;	state Exp;
branches;
next	1.172;

1.172
date	2010.12.23.11.44.54;	author dsainty;	state Exp;
branches;
next	1.171;

1.171
date	2010.11.12.08.54.58;	author sbd;	state Exp;
branches;
next	1.170;

1.170
date	2010.11.12.08.24.31;	author sbd;	state Exp;
branches;
next	1.169;

1.169
date	2010.07.14.11.25.19;	author sbd;	state Exp;
branches
	1.169.2.1;
next	1.168;

1.168
date	2010.07.13.10.59.42;	author sbd;	state Exp;
branches;
next	1.167;

1.167
date	2010.06.16.18.18.26;	author drochner;	state Exp;
branches
	1.167.2.1;
next	1.166;

1.166
date	2010.06.13.22.45.14;	author wiz;	state Exp;
branches;
next	1.165;

1.165
date	2010.06.10.10.28.35;	author gdt;	state Exp;
branches;
next	1.164;

1.164
date	2010.06.09.09.01.43;	author sbd;	state Exp;
branches;
next	1.163;

1.163
date	2010.06.05.23.03.15;	author sbd;	state Exp;
branches;
next	1.162;

1.162
date	2010.05.26.09.18.48;	author sbd;	state Exp;
branches;
next	1.161;

1.161
date	2010.05.25.11.23.46;	author sbd;	state Exp;
branches;
next	1.160;

1.160
date	2010.05.24.03.37.59;	author sbd;	state Exp;
branches;
next	1.159;

1.159
date	2010.05.24.03.32.12;	author sbd;	state Exp;
branches;
next	1.158;

1.158
date	2010.05.24.03.26.37;	author sbd;	state Exp;
branches;
next	1.157;

1.157
date	2010.05.23.10.03.12;	author sbd;	state Exp;
branches;
next	1.156;

1.156
date	2010.05.23.09.44.12;	author sbd;	state Exp;
branches;
next	1.155;

1.155
date	2010.05.21.10.05.20;	author sbd;	state Exp;
branches;
next	1.154;

1.154
date	2010.05.21.06.32.45;	author obache;	state Exp;
branches;
next	1.153;

1.153
date	2010.05.20.09.38.34;	author sbd;	state Exp;
branches;
next	1.152;

1.152
date	2010.05.20.09.37.12;	author sbd;	state Exp;
branches;
next	1.151;

1.151
date	2010.05.20.09.35.58;	author sbd;	state Exp;
branches;
next	1.150;

1.150
date	2010.05.20.08.05.29;	author sbd;	state Exp;
branches;
next	1.149;

1.149
date	2010.05.11.07.52.20;	author sbd;	state Exp;
branches;
next	1.148;

1.148
date	2010.04.18.21.56.36;	author sbd;	state Exp;
branches;
next	1.147;

1.147
date	2010.04.18.12.02.58;	author obache;	state Exp;
branches;
next	1.146;

1.146
date	2010.03.21.16.29.42;	author wiz;	state Exp;
branches;
next	1.145;

1.145
date	2010.01.18.09.59.21;	author wiz;	state Exp;
branches;
next	1.144;

1.144
date	2010.01.17.12.02.37;	author wiz;	state Exp;
branches;
next	1.143;

1.143
date	2009.11.16.17.12.54;	author plunky;	state Exp;
branches;
next	1.142;

1.142
date	2009.08.26.19.56.52;	author sno;	state Exp;
branches;
next	1.141;

1.141
date	2009.08.05.17.19.16;	author drochner;	state Exp;
branches;
next	1.140;

1.140
date	2009.06.03.10.20.59;	author wiz;	state Exp;
branches;
next	1.139;

1.139
date	2009.05.14.01.19.12;	author christos;	state Exp;
branches;
next	1.138;

1.138
date	2009.02.11.10.21.33;	author markd;	state Exp;
branches;
next	1.137;

1.137
date	2009.01.29.15.28.31;	author gdt;	state Exp;
branches;
next	1.136;

1.136
date	2008.10.22.21.48.15;	author tonnerre;	state Exp;
branches;
next	1.135;

1.135
date	2008.08.23.07.47.00;	author obache;	state Exp;
branches
	1.135.4.1;
next	1.134;

1.134
date	2008.04.15.17.26.23;	author drochner;	state Exp;
branches;
next	1.133;

1.133
date	2008.04.03.04.06.27;	author markd;	state Exp;
branches;
next	1.132;

1.132
date	2008.02.28.00.31.37;	author gdt;	state Exp;
branches;
next	1.131;

1.131
date	2008.01.22.23.58.13;	author markd;	state Exp;
branches;
next	1.130;

1.130
date	2008.01.18.05.08.53;	author tnn;	state Exp;
branches;
next	1.129;

1.129
date	2007.11.08.20.03.21;	author joerg;	state Exp;
branches;
next	1.128;

1.128
date	2007.11.05.20.16.19;	author adrianp;	state Exp;
branches;
next	1.127;

1.127
date	2007.10.22.11.56.46;	author dsainty;	state Exp;
branches;
next	1.126;

1.126
date	2007.10.08.11.39.47;	author rillig;	state Exp;
branches
	1.126.2.1;
next	1.125;

1.125
date	2007.08.15.04.15.10;	author markd;	state Exp;
branches;
next	1.124;

1.124
date	2007.07.04.20.54.55;	author jlam;	state Exp;
branches;
next	1.123;

1.123
date	2007.06.15.18.15.20;	author jlam;	state Exp;
branches;
next	1.122;

1.122
date	2007.06.06.11.14.27;	author markd;	state Exp;
branches;
next	1.121;

1.121
date	2007.04.02.12.11.01;	author gdt;	state Exp;
branches;
next	1.120;

1.120
date	2007.03.22.12.44.22;	author markd;	state Exp;
branches;
next	1.119;

1.119
date	2007.03.22.08.19.01;	author dillo;	state Exp;
branches;
next	1.118;

1.118
date	2007.03.19.14.46.35;	author joerg;	state Exp;
branches;
next	1.117;

1.117
date	2007.03.18.13.17.53;	author markd;	state Exp;
branches;
next	1.116;

1.116
date	2007.03.14.12.29.03;	author markd;	state Exp;
branches;
next	1.115;

1.115
date	2006.12.01.20.51.47;	author joerg;	state Exp;
branches;
next	1.114;

1.114
date	2006.10.05.01.13.00;	author rillig;	state Exp;
branches;
next	1.113;

1.113
date	2006.07.05.20.12.06;	author wiz;	state Exp;
branches
	1.113.2.1;
next	1.112;

1.112
date	2006.05.03.15.34.36;	author gdt;	state Exp;
branches;
next	1.111;

1.111
date	2006.04.23.00.12.41;	author jlam;	state Exp;
branches;
next	1.110;

1.110
date	2006.04.19.17.01.34;	author wiz;	state Exp;
branches;
next	1.109;

1.109
date	2006.04.17.13.45.59;	author wiz;	state Exp;
branches;
next	1.108;

1.108
date	2006.03.29.17.22.46;	author joerg;	state Exp;
branches;
next	1.107;

1.107
date	2006.02.15.19.06.47;	author joerg;	state Exp;
branches;
next	1.106;

1.106
date	2006.02.05.23.10.35;	author joerg;	state Exp;
branches;
next	1.105;

1.105
date	2006.01.06.00.19.44;	author joerg;	state Exp;
branches;
next	1.104;

1.104
date	2005.12.29.06.22.06;	author jlam;	state Exp;
branches;
next	1.103;

1.103
date	2005.12.19.16.04.48;	author joerg;	state Exp;
branches
	1.103.2.1;
next	1.102;

1.102
date	2005.12.17.05.20.22;	author jlam;	state Exp;
branches;
next	1.101;

1.101
date	2005.12.17.04.22.55;	author jlam;	state Exp;
branches;
next	1.100;

1.100
date	2005.12.05.23.55.16;	author rillig;	state Exp;
branches;
next	1.99;

1.99
date	2005.12.05.20.50.52;	author rillig;	state Exp;
branches;
next	1.98;

1.98
date	2005.08.24.08.20.46;	author rillig;	state Exp;
branches;
next	1.97;

1.97
date	2005.08.23.11.48.50;	author rillig;	state Exp;
branches;
next	1.96;

1.96
date	2005.08.19.18.12.38;	author jlam;	state Exp;
branches;
next	1.95;

1.95
date	2005.08.10.23.37.08;	author salo;	state Exp;
branches;
next	1.94;

1.94
date	2005.06.01.20.08.01;	author jlam;	state Exp;
branches
	1.94.2.1;
next	1.93;

1.93
date	2005.05.31.11.24.32;	author dillo;	state Exp;
branches;
next	1.92;

1.92
date	2005.05.22.20.08.27;	author jlam;	state Exp;
branches;
next	1.91;

1.91
date	2005.04.11.21.47.06;	author tv;	state Exp;
branches;
next	1.90;

1.90
date	2005.03.02.18.33.02;	author drochner;	state Exp;
branches;
next	1.89;

1.89
date	2005.02.07.11.35.46;	author jlam;	state Exp;
branches;
next	1.88;

1.88
date	2005.01.19.11.03.23;	author drochner;	state Exp;
branches;
next	1.87;

1.87
date	2005.01.14.05.15.39;	author jlam;	state Exp;
branches;
next	1.86;

1.86
date	2005.01.06.07.26.39;	author jlam;	state Exp;
branches;
next	1.85;

1.85
date	2004.12.29.15.31.24;	author minskim;	state Exp;
branches;
next	1.84;

1.84
date	2004.12.28.23.18.21;	author reed;	state Exp;
branches;
next	1.83;

1.83
date	2004.12.28.02.47.48;	author reed;	state Exp;
branches;
next	1.82;

1.82
date	2004.11.30.17.41.52;	author jlam;	state Exp;
branches
	1.82.2.1;
next	1.81;

1.81
date	2004.11.08.16.30.59;	author adam;	state Exp;
branches;
next	1.80;

1.80
date	2004.10.03.00.18.04;	author tv;	state Exp;
branches;
next	1.79;

1.79
date	2004.08.22.19.32.52;	author jlam;	state Exp;
branches;
next	1.78;

1.78
date	2004.07.30.21.05.41;	author jlam;	state Exp;
branches;
next	1.77;

1.77
date	2004.06.23.11.04.37;	author recht;	state Exp;
branches;
next	1.76;

1.76
date	2004.05.17.10.40.45;	author jlam;	state Exp;
branches;
next	1.75;

1.75
date	2004.03.26.02.27.50;	author wiz;	state Exp;
branches;
next	1.74;

1.74
date	2004.02.13.15.42.04;	author jlam;	state Exp;
branches;
next	1.73;

1.73
date	2004.02.08.03.00.29;	author jlam;	state Exp;
branches;
next	1.72;

1.72
date	2004.01.24.14.58.00;	author grant;	state Exp;
branches;
next	1.71;

1.71
date	2004.01.20.12.24.28;	author agc;	state Exp;
branches;
next	1.70;

1.70
date	2004.01.10.03.32.09;	author jlam;	state Exp;
branches;
next	1.69;

1.69
date	2004.01.10.02.57.35;	author jlam;	state Exp;
branches;
next	1.68;

1.68
date	2004.01.06.07.09.25;	author jlam;	state Exp;
branches;
next	1.67;

1.67
date	2004.01.03.18.49.51;	author reed;	state Exp;
branches;
next	1.66;

1.66
date	2003.11.12.03.39.42;	author jschauma;	state Exp;
branches;
next	1.65;

1.65
date	2003.07.17.22.52.24;	author grant;	state Exp;
branches;
next	1.64;

1.64
date	2003.06.04.06.15.37;	author jlam;	state Exp;
branches;
next	1.63;

1.63
date	2003.06.04.06.08.43;	author jlam;	state Exp;
branches;
next	1.62;

1.62
date	2003.05.28.08.58.48;	author jlam;	state Exp;
branches;
next	1.61;

1.61
date	2003.05.28.02.33.59;	author jlam;	state Exp;
branches;
next	1.60;

1.60
date	2003.03.20.18.49.33;	author jmmv;	state Exp;
branches;
next	1.59;

1.59
date	2003.01.28.22.04.00;	author jlam;	state Exp;
branches;
next	1.58;

1.58
date	2003.01.23.23.05.10;	author jlam;	state Exp;
branches;
next	1.57;

1.57
date	2003.01.10.07.46.02;	author cjep;	state Exp;
branches;
next	1.56;

1.56
date	2002.12.20.06.59.58;	author jlam;	state Exp;
branches;
next	1.55;

1.55
date	2002.12.19.22.24.51;	author jlam;	state Exp;
branches;
next	1.54;

1.54
date	2002.10.20.23.33.42;	author jlam;	state Exp;
branches;
next	1.53;

1.53
date	2002.10.20.18.57.37;	author jlam;	state Exp;
branches;
next	1.52;

1.52
date	2002.09.19.09.04.20;	author jlam;	state Exp;
branches;
next	1.51;

1.51
date	2002.09.18.22.58.46;	author jlam;	state Exp;
branches;
next	1.50;

1.50
date	2002.08.25.18.39.41;	author jlam;	state Exp;
branches;
next	1.49;

1.49
date	2002.07.16.13.14.04;	author fredb;	state Exp;
branches;
next	1.48;

1.48
date	2002.03.13.17.37.33;	author fredb;	state Exp;
branches
	1.48.2.1;
next	1.47;

1.47
date	2002.02.18.11.26.15;	author martti;	state Exp;
branches;
next	1.46;

1.46
date	2002.01.31.17.51.26;	author jlam;	state Exp;
branches;
next	1.45;

1.45
date	2002.01.30.03.33.29;	author jlam;	state Exp;
branches;
next	1.44;

1.44
date	2002.01.06.19.41.28;	author jlam;	state Exp;
branches;
next	1.43;

1.43
date	2001.12.14.23.18.15;	author jlam;	state Exp;
branches;
next	1.42;

1.42
date	2001.12.02.06.56.43;	author jlam;	state Exp;
branches;
next	1.41;

1.41
date	2001.11.26.20.38.31;	author jlam;	state Exp;
branches;
next	1.40;

1.40
date	2001.11.25.18.59.47;	author jlam;	state Exp;
branches;
next	1.39;

1.39
date	2001.11.21.15.44.23;	author jlam;	state Exp;
branches;
next	1.38;

1.38
date	2001.11.19.16.23.11;	author jlam;	state Exp;
branches;
next	1.37;

1.37
date	2001.08.18.04.41.45;	author jlam;	state Exp;
branches;
next	1.36;

1.36
date	2001.08.14.03.41.38;	author jlam;	state Exp;
branches;
next	1.35;

1.35
date	2001.08.02.03.37.39;	author jlam;	state Exp;
branches;
next	1.34;

1.34
date	2001.07.13.07.09.23;	author jlam;	state Exp;
branches;
next	1.33;

1.33
date	2001.06.19.08.39.33;	author jlam;	state Exp;
branches;
next	1.32;

1.32
date	2001.06.11.02.05.14;	author jlam;	state Exp;
branches;
next	1.31;

1.31
date	2001.06.10.00.08.47;	author jlam;	state Exp;
branches;
next	1.30;

1.30
date	2001.05.26.16.32.37;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2001.05.24.03.17.18;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2001.05.22.09.32.24;	author wiz;	state Exp;
branches;
next	1.27;

1.27
date	2001.05.15.17.43.20;	author jlam;	state Exp;
branches;
next	1.26;

1.26
date	2001.03.27.03.20.13;	author hubertf;	state Exp;
branches;
next	1.25;

1.25
date	2001.03.07.04.09.58;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.04.09.06.17;	author tron;	state Exp;
branches;
next	1.23;

1.23
date	2001.02.27.17.37.53;	author jlam;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.17.17.51.38;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	2001.02.08.19.05.00;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2001.02.05.09.01.02;	author tron;	state Exp;
branches;
next	1.19;

1.19
date	2001.01.28.02.05.36;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2001.01.11.19.00.42;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.28.00.09.38;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2000.12.21.16.59.31;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2000.12.21.14.59.37;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2000.12.14.17.04.44;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2000.12.12.16.03.13;	author jlam;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.11.09.00.51;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2000.12.11.08.53.07;	author jlam;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.09.22.18.24;	author jlam;	state Exp;
branches;
next	1.9;

1.9
date	2000.12.09.05.53.39;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2000.12.09.05.53.06;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.07.20.33.05;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2000.07.12.20.09.33;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.01.11.23.40;	author rh;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.21.22.40.56;	author tron;	state Exp;
branches;
next	1.3;

1.3
date	2000.02.09.20.20.57;	author tron;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.09.15.22.43;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	99.11.29.02.18.53;	author jlam;	state Exp;
branches
	1.1.1.1;
next	;

1.201.2.1
date	2014.05.16.14.30.01;	author tron;	state Exp;
branches;
next	;
commitid	FY4BLVZ9dJdxTLAx;

1.176.4.1
date	2011.08.29.08.15.07;	author tron;	state Exp;
branches;
next	;

1.169.2.1
date	2010.11.13.11.22.03;	author tron;	state Exp;
branches;
next	;

1.167.2.1
date	2010.07.14.09.15.07;	author tron;	state Exp;
branches;
next	;

1.135.4.1
date	2008.11.04.12.25.43;	author rtr;	state Exp;
branches;
next	;

1.126.2.1
date	2007.12.03.13.13.14;	author ghen;	state Exp;
branches;
next	;

1.113.2.1
date	2006.10.07.02.47.03;	author salo;	state Exp;
branches;
next	;

1.103.2.1
date	2006.02.16.00.25.30;	author salo;	state Exp;
branches;
next	;

1.94.2.1
date	2005.08.11.07.08.36;	author snj;	state Exp;
branches;
next	;

1.82.2.1
date	2005.01.11.17.13.43;	author salo;	state Exp;
branches;
next	1.82.2.2;

1.82.2.2
date	2005.02.05.17.47.19;	author salo;	state Exp;
branches;
next	1.82.2.3;

1.82.2.3
date	2005.03.04.04.56.26;	author snj;	state Exp;
branches;
next	;

1.48.2.1
date	2002.05.11.02.09.21;	author jlam;	state Exp;
branches;
next	1.48.2.2;

1.48.2.2
date	2002.06.21.23.05.37;	author jlam;	state Exp;
branches;
next	1.48.2.3;

1.48.2.3
date	2002.08.22.11.12.11;	author jlam;	state Exp;
branches;
next	;

1.1.1.1
date	99.11.29.02.18.53;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.303
log
@*: Recursive revbump from security/nettle-4.0
@
text
@# $NetBSD: Makefile,v 1.302 2026/04/19 14:52:23 wiz Exp $

PKGREVISION= 1
.include "../../print/cups/Makefile.common"

PKGNAME=	cups-${CUPS_VERS}
MASTER_SITES=	# empty

MAINTAINER=	sbd@@NetBSD.org
COMMENT=	Common UNIX Printing System

META_PACKAGE=	yes

.include "../../print/cups-base/buildlink3.mk"
.include "../../print/cups-filters/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.302
log
@*cups*: update to 2.4.17

Changes in CUPS v2.4.17 (2026-04-17)
------------------------------------

- CVE-2026-27447: The scheduler treated local user and group names as case-
  insensitive.
- CVE-2026-34978: The RSS notifier could write outside the scheduler's RSS
  directory.
- CVE-2026-34980: The scheduler did not filter control characters from option
  values.
- CVE-2026-34979: The scheduler did not always allocate enough memory for a
  job's options string.
- CVE-2026-34990: The scheduler incorrectly allowed local certificates over the
  loopback interface.
- CVE-2026-39314: Fixed the range check for job password strings.
- CVE-2026-39316: Fixed a printer subscription bug in the scheduler.
- CVE-2026-NNNNN: Fixed a SNMP string conversion bug in the backends.
- The scheduler followed symbolic links when cleaning out its temporary
  directory (Issue #1448)
- Updated `cupsFileGetConf` and `cupsFilePutConf` to escape more characters.
- Updated man page `cancel` (Issue #984)
- Updated `cupsRasterReadHeader` to validate more of the page header values
  (Issue #1501)
- Fixed an issue with the class/printer CGI name checking.
- Fixed infinite loop in `http_write()` on busy print servers (Issue #827)
- Fixed potential TLS blocking issues (Issue #1128)
- Fixed a job history bug in the scheduler (Issue #1440)
- Fixed notifier logging bug that would result in nul bytes getting into the
  log (Issue #1450)
- Fixed possible use-after-free in `cupsdReadClient()` (Issue #1454)
- Fixed a document format bug in the IPP backend (Issue #1457)
- Fixed DRAIN_OUTPUT race condition (Issue #1461)
- Fixed a bug when then `ippFindXxx` and `ippSetXxx` functions were mixed.
- Fixed the mapping of supply type keywords to SNMP names.
- Fixed a bug in the IPP backend when SNMP was disabled.
- Fixed a crash bug in the rastertoepson filter.
- Fixed a bug in cgiCheckVariables.
- Fixed handling read/write errors with OpenSSL (Issue #1506)
- Fixed handling rehandshake error in `_httpTLSRead` (Issue #1508)
- Fixed a debug printf bug on Windows (Issue #1529)
- Fixed a recursion issue with encoding of nested collections (Issue #1539)
- Fixed parsing of the `LimitRequestBody`, `MaxLogSize`, and `MaxRequestSize`
  directives in "cupsd.conf" (Issue #1540)
- Fixed a parsing bug in `ipptool` (Issue #1542)
- Fixed blank line detection in the `rastertolabel` filter (Issue #1545)
- Fixed `httpPeek` edge case on compressed streams
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.301 2026/02/06 10:05:41 wiz Exp $
d3 1
@


1.301
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.300 2026/01/07 08:48:33 wiz Exp $
a2 1
PKGREVISION= 2
@


1.300
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.299 2025/11/30 13:58:06 wiz Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.299
log
@*cups*: update to 2.4.15

Changes in CUPS v2.4.15 (2025-11-27)
------------------------------------

- Fix various cupsd issues which cause local DoS (CVE-2025-61915)
- Fix unresponsive cupsd process caused by slow client (CVE-2025-58436)
- Fixed potential crash in `cups-driverd` when there are duplicate PPDs
  (Issue #1355)
- Fixed error recovery when scanning for PPDs in `cups-driverd` (Issue #1416)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.298 2025/10/23 20:38:58 wiz Exp $
d3 1
@


1.298
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.297 2025/09/21 18:27:11 wiz Exp $
a2 1
PKGREVISION= 1
@


1.297
log
@*cups*: update to 2.4.14

Changes in CUPS v2.4.14 (2025-09-11)
------------------------------------

- Fixed installation of localized index.html and templates (Issue #1362)


Changes in CUPS v2.4.13 (2025-09-11)
------------------------------------

- Blocked authentication using alternate methods in cupsd (CVE-2025-58060)
- Fixed extension tag handling in `ipp_read_io()` in libcups (CVE-2025-58364)
- Added `print-as-raster` printer and job attributes for forcing rasterization
  (Issue #1282)
- Updated documentation (Issue #1086)
- Updated IPP backend to try a sanitized user name if the printer/server does
  not like the value (Issue #1145)
- Updated the scheduler to send the "printer-added" or "printer-modified" events
  whenever an IPP Everywhere PPD is installed (Issue #1244)
- Updated the scheduler to send the "printer-modified" event whenever the system
  default printer is changed (Issue #1246)
- Fixed a memory leak in `httpClose` (Issue #1223)
- Fixed missing commas in `ippCreateRequestedArray` (Issue #1234)
- Fixed subscription issues in the scheduler and D-Bus notifier (Issue #1235)
- Fixed media-default reporting for custom sizes (Issue #1238)
- Fixed support for IPP/PPD options with periods or underscores (Issue #1249)
- Fixed parsing of real numbers in PPD compiler source files (Issue #1263)
- Fixed scheduler freezing with zombie clients (Issue #1264)
- Fixed support for the server name in the ErrorLog filename (Issue #1277)
- Fixed job cleanup after daemon restart (Issue #1315)
- Fixed handling of buggy DYMO USB printer serial numbers (Issue #1338)
- Fixed unreachable block in IPP backend (Issue #1351)
- Fixed memory leak in _cupsConvertOptions (Issue #1354)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.296 2025/08/30 22:46:08 wiz Exp $
d3 1
@


1.296
log
@*: recursive bump for tiff growing lerc dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.295 2025/04/28 11:10:19 wiz Exp $
a2 1
PKGREVISION= 1
@


1.295
log
@*cups*: update to 2.4.12

The last planned release of CUPS 2.4.x series (the next will be 2.5.x
series) contains several enhancements among set of bug fixes, such
following cryptographic policies when using GnuTLS crypto provider and
possibility to opt-out from this behavior, logging job debugging
history if print queue backends fails, or raising alerts for
certificate issues in IPPS backend.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.294 2025/04/24 14:15:32 wiz Exp $
d3 1
@


1.294
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.293 2025/04/19 07:58:16 wiz Exp $
a2 1
PKGREVISION= 6
@


1.293
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.292 2025/04/17 21:52:08 wiz Exp $
d3 1
a3 1
PKGREVISION= 5
@


1.292
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.291 2024/11/14 22:21:22 wiz Exp $
d3 1
a3 1
PKGREVISION= 4
@


1.291
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.290 2024/11/01 12:54:07 wiz Exp $
d3 1
a3 1
PKGREVISION= 3
@


1.290
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.289 2024/11/01 00:53:20 wiz Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.289
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.288 2024/06/17 09:59:30 wiz Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.288
log
@*cups*: update to 2.4.9

Changes in CUPS v2.4.9 (2024-06-11)
-----------------------------------

- Fixed domain socket handling (CVE-2024-35235)
- Fixed creating of `cupsUrfSupported` PPD keyword (Issue #952)
- Fixed searching for destinations in web ui (Issue #954)
- Fixed TLS negotiation using OpenSSL with servers that require the TLS SNI
  extension.
- Really raised `cups_enum_dests()` timeout for listing available IPP printers
  (Issue #751)...
- Fixed `Host` header regression (Issue #967)
- Fixed DNS-SD lookups of local services with Avahi (Issue #970)
- Fixed listing jobs in destinations in web ui. (Apple issue #6204)
- Fixed showing search query in web ui help page. (Issue #977)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.287 2024/05/29 16:34:08 adam Exp $
d3 1
@


1.287
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.286 2024/05/17 05:26:22 wiz Exp $
a2 1
PKGREVISION= 1
@


1.286
log
@cups: update to 2.4.8

Changes in CUPS v2.4.8 (2024-04-26)
-----------------------------------

- Added warning if the device has to be asked for 'all,media-col-database'
  separately (Issue #829)
- Added new value for 'lpstat' option '-W' - successfull - for getting
  successfully printed jobs (Issue #830)
- Added support for PAM modules password-auth and system-auth (Issue #892)
- Updated IPP Everywhere printer creation error reporting (Issue #347)
- Updated and documented the MIME typing buffering limit (Issue #925)
- Raised `cups_enum_dests()` timeout for listing available IPP printers
  (Issue #751)
- Now report an error for temporary printer defaults with lpadmin (Issue #237)
- Fixed mapping of PPD InputSlot, MediaType, and OutputBin values (Issue #238)
- Fixed "document-unprintable-error" handling (Issue #391)
- Fixed the web interface not showing an error for a non-existent printer
  (Issue #423)
- Fixed printing of jobs with job name longer than 255 chars on older printers
  (Issue #644)
- Really backported fix for Issue #742
- Fixed `cupsCopyDestInfo` device connection detection (Issue #586)
- Fixed "Upgrade" header handling when there is no TLS support (Issue #775)
- Fixed memory leak when unloading a job (Issue #813)
- Fixed memory leak when creating color profiles (Issue #815)
- Fixed a punch finishing bug in the IPP Everywhere support (Issue #821)
- Fixed crash in `scan_ps()` if incoming argument is NULL (Issue #831)
- Fixed setting job state reasons for successful jobs (Issue #832)
- Fixed infinite loop in IPP backend if hostname is IP address with Kerberos
  (Issue #838)
- Added additional check on socket if `revents` from `poll()` returns POLLHUP
  together with POLLIN or POLLOUT in `httpAddrConnect2()` (Issue #839)
- Fixed crash in `ppdEmitString()` if `size` is NULL (Issue #850)
- Fixed reporting `media-source-supported` when sharing printer which has
  numbers as strings instead of keywords as `InputSlot` values (Issue #859)
- Fixed IPP backend to support the "print-scaling" option with IPP printers
  (Issue #862)
- Fixed potential race condition for the creation of temporary queues
  (Issue #871)
- Fixed `httpGets` timeout handling (Issue #879)
- Fixed checking for required attributes during PPD generation (Issue #890)
- Fixed encoding of IPv6 addresses in HTTP requests (Issue #903)
- Fixed sending response headers to client (Issue #927)
- Fixed CGI program initialization and validation of form checkbox and text
  fields.


Changes in CUPS v2.4.7 (2023-09-20)
-----------------------------------

- CVE-2023-4504 - Fixed Heap-based buffer overflow when reading Postscript
  in PPD files
- Added OpenSSL support for cupsHashData (Issue #762)
- Fixed delays in lpd backend (Issue #741)
- Fixed extensive logging in scheduler (Issue #604)
- Fixed hanging of `lpstat` on IBM AIX (Issue #773)
- Fixed hanging of `lpstat` on Solaris (Issue #156)
- Fixed printing to stderr if we can't open cups-files.conf (Issue #777)
- Fixed purging job files via `cancel -x` (Issue #742)
- Fixed RFC 1179 port reserving behavior in LPD backend (Issue #743)
- Fixed a bug in the PPD command interpretation code (Issue #768)
- Fixed Oki 407 freeze when printing larger jobs (Issue #877)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.285 2024/05/16 06:15:27 wiz Exp $
d3 1
@


1.285
log
@*: recursive bump for gnutls p11-kit option

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.284 2023/11/08 13:20:40 wiz Exp $
a2 1
PKGREVISION= 4
@


1.284
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.283 2023/10/24 22:10:41 wiz Exp $
d3 1
a3 1
PKGREVISION= 3
@


1.283
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.282 2023/10/21 17:11:16 gdt Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.282
log
@recursive revbump for tiff update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.281 2023/06/16 21:12:11 wiz Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.281
log
@cups*: update to 2.4.4

Changes in CUPS v2.4.4 - 2023-06-06
-----------------------------------

- Fix segfault in `cupsGetNamedDest()` when trying to get default printer, but
  the default printer is not set (Issue #719)


Changes in CUPS v2.4.3 (2023-06-01)
-----------------------------------

- Added a title with device uri for found network printers (Issues #402, #393)
- Added new media sizes defined by IANA (Issues #501)
- Added quirk for GoDEX label printers (Issue #440)
- Fixed `--enable-libtool-unsupported` (Issue #394)
- Fixed configuration on RISC-V machines (Issue #404)
- Fixed the `device_uri` invalid pointer for driverless printers with `.local`
  hostname (Issue #419)
- Fixed an OpenSSL crash bug (Issue #409)
- Fixed a potential SNMP OID value overflow issue (Issue #431)
- Fixed an OpenSSL certificate loading issue (Issue #465)
- Fixed Brazilian Portuguese translations (Issue #288)
- Fixed `cupsd` default keychain location when building with OpenSSL
  (Issue #529)
- Fixed default color settings for CMYK printers as well (Issue #500)
- Fixed duplicate PPD2IPP media-type names (Issue #688)
- Fixed possible heap buffer overflow in `_cups_strlcpy()` (fixes CVE-2023-32324)
- Fixed InputSlot heuristic for photo sizes smaller than 5x7" if there is no
  media-source in the request (Issue #569)
- Fixed invalid memory access during generating IPP Everywhere queue
  (Issue #466)
- Fixed lprm if no destination is provided (Issue #457)
- Fixed memory leaks in `create_local_bg_thread()` (Issue #466)
- Fixed media size tolerance in `ippeveprinter` (Issue #487)
- Fixed passing command name without path into `ippeveprinter` (Issue #629)
- Fixed saving strings file path in `printers.conf` (Issue #710)
- Fixed TLS certificate generation bugs (Issue #652)
- `ippDeleteValues` would not delete the last value (Issue #556)
- Ignore some of IPP defaults if the application sends its PPD alternative
  (Issue #484)
- Make `Letter` the default size in `ippevepcl` (Issue #543)
- Now accessing Admin page in Web UI requires authentication (Issue #518)
- Now look for default printer on network if needed (Issue #452)
- Now we poll `media-col-database` separately if we fail at first (Issue #599)
- Now report fax attributes and values as needed (Issue #459)
- Now localize HTTP responses using the Content-Language value (Issue #426)
- Raised file size limit for importing PPD via Web UI (Issue #433)
- Raised maximum listen backlog size to INT MAX (Issue #626)
- Update print-color-mode if the printer is modified via ColorModel PPD option
  (Issue #451)
- Use localhost when printing via printer application (Issue #353)
- Write defaults into /etc/cups/lpoptions if we're root (Issue #456)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.280 2023/04/19 08:11:17 adam Exp $
d3 1
@


1.280
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.279 2023/01/03 17:38:05 wiz Exp $
a2 1
PKGREVISION= 3
@


1.279
log
@*: recursive bump for tiff shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.278 2022/10/26 10:31:54 wiz Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.278
log
@*: bump PKGREVISION for libunistring shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.277 2022/05/10 20:47:37 markd Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.277
log
@{cups,cups-base,libcups}: update to 2.4.1

Changes in CUPS v2.4.1 (27th January 2022)
------------------------------------------

- The default color mode now is now configurable and defaults to the printer's
  reported default mode
- Configuration script now checks linking for -Wl,-pie flags
- Fixed memory leaks - in testi18n, in `cups_enum_dests()`,
  in `_cupsEncodeOption()` and `http_tls_upgrade()`
- Fixed missing bracket in de/index.html
- Fixed typos in configuration scripts
- Removed remaining legacy code for `RIP_MAX_CACHE` environment variable
- Removed deprecated directives from cupsctl and cups-files.conf
- Removed `purge-jobs` legacy code from CGI scripts and templates


Changes in CUPS v2.4.0 (29th November 2021)
-------------------------------------------

- Added configure option --with-idle-exit-timeout
- Added --with-systemd-timeoutstartsec configure option
- DigestOptions now are applied for MD5 Digest authentication defined
  by RFC 2069 as well
- Fixed compilation on Solaris
- Fixed and improved German translations


Changes in CUPS v2.4rc1 (12th November 2021)
--------------------------------------------

- Added warning and debug messages when loading printers
 if the queue is raw or with driver
- Compilation now uses -fstack-protector-strong if available


Changes in CUPS v2.4b1 (27th October 2021)
------------------------------------------

- Added support for CUPS running in a Snapcraft snap.
- Added basic OAuth 2.0 client support
- Added support for AirPrint and Mopria clients
- Added configure support for specifying systemd dependencies in the CUPS
  service file
- Added a JSON output mode for `ipptool`.
- The `ipptool` command now correctly reports an error when a test file cannot
  be found.
- CUPS library now uses thread safe `getpwnam_r` and `getpwuid_r` functions
- Fixed Kerberos authentication for the web interface
- The ZPL sample driver now supports more "standard" label sizes
- Fixed reporting of printer instances when enumerating and when no options are
  set for the main instance
- Reverted USB read limit enforcement change from CUPS 2.2.12
- The IPP backend did not return the correct status code when a job was canceled
  at the printer/server
- The `testlang` unit test program now loops over all of the available locales
  by default
- The `cupsfilter` command now shows error messages when options are used
  incorrectly
- The PPD functions now treat boolean values as case-insensitive
- Temporary queue names no longer end with an underscore
- The USB backend now runs as root
- Added pkg-config file for libcups
- Fixed a PPD memory leak caused by emulator definitions
- Fixed a `DISPLAY` bug in `ipptool`
- The scheduler now includes the `[Job N]` prefix for job log messages, even
  when using syslog logging
- Added support for locales using the GB18030 character set
- `httpReconnect2` did not reset the socket file descriptor when the TLS
  negotiation failed
- `httpUpdate` did not reset the socket file descriptor when the TLS
  negotiation failed
- The IPP backend now retries Validate-Job requests
- Now show better error messages when a driver interface program fails to
  provide a PPD file
- Added dark mode support to the CUPS web interface
- Added a workaround for Solaris in `httpAddrConnect2`
- Fixed an interaction between `--remote-admin` and `--remote-any` for the
  `cupsctl` command
- Now use a 60 second timeout for reading USB backchannel data
- The USB backend now tries harder to find a serial number
- Fixed `@@IF(name)` handling in `cupsd.conf`
- Fixed documentation and added examples for CUPS' limited CGI support
- Fixed the `lpc` command prompt
- Now always pass "localhost" in the `Host:` header when talking over a domain
  socket or the loopback interface
- Fixed a job history update issue in the scheduler
- Fixed `job-pages-per-set` value for duplex print jobs.
- Fixed an edge case in `ippReadIO` to make sure that only complete attributes
  and values are retained on an error
- Hardened `ippReadIO` to prevent invalid IPP messages from being propagated
- The scheduler now supports the "everywhere" model directly
- Fixed some IPP Everywhere option mapping problems
- Fixed support for "job-hold-until" with the Restart-Job operation
- Fixed the default color/grayscale presets for IPP Everywhere PPDs
- Fixed support for the 'offline-report' state for all USB backends
- Documentation fixes
- Localization updates
- USB quirk updates
- Web interface updates
- The `ippeveprinter` tool now automatically uses an available port.
- Fixed several Windows TLS and hashing issues.
- Deprecated cups-config
- Deprecated Kerberos (`AuthType Negotiate`) authentication
- Removed support for the (long deprecated and unused) `FontPath`,
  `ListenBackLog`, `LPDConfigFile`, `KeepAliveTimeout`, `RIPCache`, and
  `SMBConfigFile` directives in `cupsd.conf` and `cups-files.conf`.
- Stubbed out deprecated `httpMD5` functions.
- Add test for undefined page ranges during printing.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.276 2021/12/08 16:06:12 adam Exp $
d3 1
@


1.276
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.275 2021/09/29 19:01:13 adam Exp $
a2 1
PKGREVISION= 3
@


1.275
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.274 2021/04/21 13:25:15 adam Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.274
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.273 2021/01/04 14:32:17 prlw1 Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.273
log
@Update cups to v2.3.3op1

Change to the OpenPrinting fork of apple/cups, e.g., that fork already contains

- dnssd patch patch-config-scripts_cups-dnssd.m4
- freebsd patch patch-cups_getifaddrs-internal.h
- libtool patch patch-af

https://github.com/apple/cups/issues/4947 was fixed in both.

Changes in CUPS v2.3.3op1
-------------------------

- The automated test suite can now be activated using `make test` for
  consistency with other projects and CI environments - the old `make check`
  continues to work as well, and the previous test server behavior can be
  accessed by running `make testserver`.
- ippeveprinter now supports multiple icons and strings files.
- ippeveprinter now uses the system's FQDN with Avahi.
- ippeveprinter now supports Get-Printer-Attributes on "/".
- ippeveprinter now uses a deterministic "printer-uuid" value.
- ippeveprinter now uses system sounds on macOS for Identify-Printer.
- Updated ippfind to look for files in "~/Desktop" on Windows.
- Updated ippfind to honor `SKIP-XXX` directives with `PAUSE`.
- Updated IPP Everywhere support to work around printers that only advertise
  color raster support but really also support grayscale (Issue #1)
- ipptool now supports DNS-SD URIs like `ipps://My%20Printer._ipps._tcp.local`
  (Issue #5)
- The scheduler now allows root backends to have world read permissions but not
  world execute permissions (Issue #21)
- Failures to bind IPv6 listener sockets no longer cause errors if IPv6 is
  disabled on the host (Issue #25)
- The SNMP backend now supports the HP and Ricoh vendor MIBs (Issue #28)
- The scheduler no longer includes a timestamp in files it writes (Issue #29)
- The systemd service names are now "cups.service" and "cups-lpd.service"
  (Issue #30, Issue #31)
- The scheduler no longer adds the local hostname to the ServerAlias list
  (Issue #32)
- Added `LogFileGroup` directive in "cups-files.conf" to control the group
  owner of log files (Issue #34)
- Added `--with-max-log-size` configure option (Issue #35)
- Added `--enable-sync-on-close` configure option (Issue #37)
- Added `--with-error-policy` configure option (Issue #38)
- IPP Everywhere PPDs could have an "unknown" default InputSlot (Issue #44)
- The `httpAddrListen` function now uses a listen backlog of 128.
- Added USB quirks (Apple issue #5789, #5823, #5831)
- Fixed IPP Everywhere v1.1 conformance issues in ippeveprinter.
- Fixed DNS-SD name collision support in ippeveprinter.
- Fixed compiler and code analyzer warnings.
- Fixed TLS support on Windows.
- Fixed ippfind sub-type searches with Avahi.
- Fixed the default hostname used by ippeveprinter on macOS.
- Fixed resolution of local IPP-USB printers with Avahi.
- Fixed coverity issues (Issue #2)
- Fixed `httpAddrConnect` issues (Issue #3)
- Fixed web interface device URI issue (Issue #4)
- Fixed lp/lpr "printer/class not found" error reporting (Issue #6)
- Fixed xinetd support for LPD clients (Issue #7)
- Fixed libtool build issue (Issue #11)
- Fixed a memory leak in the scheduler (Issue #12)
- Fixed a potential integer overflow in the PPD hashing code (Issue #13)
- Fixed output-bin and print-quality handling issues (Issue #18)
- Fixed PPD options getting mapped to odd IPP values like "tray---4" (Issue #23)
- Fixed remote access to the cupsd.conf and log files (Issue #24)
- Fixed the automated test suite when running in certain build/CI environments
  (Issue #25)
- Fixed a logging regression caused by a previous change for Apple issue #5604
  (Issue #25)
- Fixed fax phone number handling with GNOME (Issue #40)
- Fixed potential rounding error in rastertopwg filter (Issue #41)
- Fixed the "uri-security-supported" value from the scheduler (Issue #42)
- Fixed IPP backend crash bug with "printer-alert" values (Issue #43)
- Removed old Solaris inetconv(1m) reference in cups-lpd man page (Issue #46)
- Fixed default options that incorrectly use the "custom" prefix (Issue #48)
- Fixed a memory leak when resolving DNS-SD URIs (Issue #49)
- Fixed systemd status reporting by adopting the notify interface (Issue #51)
- Fixed crash in rastertopwg (Apple issue #5773)
- Fixed cupsManualCopies values in IPP Everywhere PPDs (Apple issue #5807)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.272 2020/12/04 04:56:09 riastradh Exp $
d3 1
@


1.272
log
@Revbump for openpam cppflags change months ago, belatedly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.271 2020/08/17 20:19:54 leot Exp $
a2 1
PKGREVISION= 3
@


1.271
log
@*: revbump after fontconfig bl3 changes (libuuid removal)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.270 2020/05/22 10:56:33 adam Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.270
log
@revbump after updating security/nettle
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.269 2020/05/02 11:47:16 leot Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.269
log
@cups: Update to 2.3.3

Changes:
2.3.3
-----
- CVE-2020-3898: The `ppdOpen` function did not handle invalid UI
  constraint.  `ppdcSource::get_resolution` function did not handle
  invalid resolution strings.
- CVE-2019-8842: The `ippReadIO` function may under-read an extension
  field.
- Fixed WARNING_OPTIONS support for GCC 9.x

2.3.2
-----
- Localization updates.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.268 2020/03/10 22:10:50 wiz Exp $
d3 1
@


1.268
log
@librsvg: update bl3.mk to remove libcroco in rust case

recursive bump for the dependency change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.267 2020/03/08 16:51:02 wiz Exp $
a2 1
PKGREVISION= 2
@


1.267
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.266 2019/08/16 21:19:30 leot Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.266
log
@cups{,-base}: Update to 2.2.12

pkgsrc changes:
 - Remove patches/patch-5613 (already present)

Changes:
2.2.12
------
- CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251)
- The `cupsctl` command now prevents setting "cups-files.conf" directives
  (Issue #5530)
- Updated the systemd service file for cupsd (Issue #5551)
- The `cupsCheckDestSupported` function did not check octetString values
  correctly (Issue #5557)
- The scheduler did not encode octetString values like "job-password" correctly
  for the print filters (Issue #5558)
- Restored minimal support for the `Emulators` keyword in PPD files to allow
  old Samsung printer drivers to continue to work (Issue #5562)
- Timed out job submission now yields an error (Issue #5570)
- The footer in the web interface covered some content on small displays
  (Issue #5574)
- The libusb-based USB backend now enforces read limits, improving print speed
  in many cases (Issue #5583)
- Fixed some compatibility issues with old releases of CUPS (Issue #5587)
- Fixed a bug in the scheduler job cleanup code (Issue #5588)
- "make" failed with GZIP options (Issue #5595)
- Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622)
- The scheduler no longer provides a default value for the description
  (Issue #5603)
- The `lpadmin` command did not always update the PPD file for changes to the
  `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
- The scheduler now uses both the group's membership list as well as the
  various OS-specific membership functions to determine whether a user belongs
  to a named group (Issue #5613)
- Added USB quirks rule for HP LaserJet 1015 (Issue #5617)
- Fixed some PPD parser issues (Issue #5623, Issue #5624)
- The IPP parser no longer allows invalid member attributes in collections
  (Issue #5630)
- Fixed IPP buffer overflow (rdar://50035411)
- Fixed memory disclosure issue in the scheduler (rdar://51373853)
- Fixed DoS issues in the scheduler (rdar://51373929)
- The scheduler would restart continuously when idle and printers were not
  shared (rdar://52561199)
- Fixed a command ordering issue in the Zebra ZPL driver.
- Fixed a memory leak in `ppdOpen`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.265 2019/07/21 22:25:36 wiz Exp $
d3 1
@


1.265
log
@*: recursive bump for gdk-pixbuf2-2.38.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.264 2019/07/20 22:46:44 wiz Exp $
a2 1
PKGREVISION= 2
@


1.264
log
@*: recursive bump for nettle 3.5.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.263 2018/12/10 07:54:49 leot Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.263
log
@cups{,-base}: Update print/cups{,-base} to 2.2.10

Changes
2.2.10
------
- CVE-2018-4700: Linux session cookies used a predictable random number seed.
- The `lpoptions` command now works with IPP Everywhere printers that have not
  yet been added as local queues (Issue #5045)
- Added USB quirk rules (Issue #5395, Issue #5443)
- The generated PPD files for IPP Everywhere printers did not contain the
  cupsManualCopies keyword (Issue #5433)
- Kerberos credentials might be truncated (Issue #5435)
- The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
- Incorporated the page accounting changes from CUPS 2.3 (Issue #5439)
- Fixed a bug adding a queue with the `-E` option (Issue #5440)
- Fixed a crash bug when mapping PPD duplex options to IPP attributes
  (rdar://46183976)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.262 2018/11/14 22:22:16 kleink Exp $
d3 1
@


1.262
log
@Revbump after cairo 1.16.0 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.261 2018/11/12 03:52:48 ryoon Exp $
a2 1
PKGREVISION= 2
@


1.261
log
@Recursive revbump from hardbuzz-2.1.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.260 2018/06/11 10:04:24 adam Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.260
log
@cups: updated to 2.2.8

CUPS 2.2.8 is a bug fix release that addresses issues in the scheduler, ipptool utility, CUPS library, and USB printer support. A detailed list of changes can be found in the change log included in the download.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.259 2018/04/17 22:29:47 wiz Exp $
d3 1
@


1.259
log
@Add p11-kit to gnutls/bl3.mk and bump dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.258 2018/04/16 14:35:05 wiz Exp $
a2 1
PKGREVISION= 2
@


1.258
log
@Recursive bump for new fribidi dependency in pango.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.257 2018/04/05 16:31:45 leot Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.257
log
@cups{,-base}: Update print/cups{,-base} to 2.2.7

pkgsrc changes:
- Get rid of extra `/' in patches/patch-config-scripts_cups-opsys.m4
  (NFCI, pointed out by mkpatches).
- Add to patches/patch-scheduler_auth.c a backport of issue #5283 to fix build
  without PAM. This will be not needed in cups-2.2.8.

Changes:
CUPS v2.2.7
-----------
- NOTICE: Raw print queues are now deprecated (Issue #5269)
- Fixed an Avahi crash bug in the scheduler (Issue #5268)
- The IPP Everywhere PPD generator did not include the `cupsJobPassword`
  keyword, when supported (Issue #5265)
- Systemd did not restart cupsd when configuration changes were made that
  required a restart (Issue #5263)
- The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
  (Issue #5259)
- The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
- Label printers supported by the rastertolabel driver don't support SNMP, so
  don't delay printing to test it (Issue #5256)
- Fixed a compile issue when PAM is not available (Issue #5253)
- Documentation fixes (Issue #5252)
- Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
- The scheduler now supports using temporary print queues for older IPP/1.1
  print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
- Fixed printing to some IPP Everywhere printers (Issue #5238)
- Kerberized printing to another CUPS server did not work correctly
  (Issue #5233)
- The `cupsRasterWritePixels` function did not correctly swap bytes for some
  formats (Issue #5225)
- Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
- The `ppdInstallableConflict` tested too many constraints (Issue #5213)
- More fixes for printing to old CUPS servers (Issue #5211)
- The `cupsCopyDest` function now correctly copies the `is_default` value
  (Issue #5208)
- The scheduler did not work with older versions of uClibc (Issue #5188)
- The scheduler now substitutes default values for invalid job attributes when
  running in "relaxed conformance" mode (Issue #5186)
- Fixed PAM module detection and added support for the common PAM definitions
  (Issue #5185)
- Fixed a journald support bug in the scheduler (Issue #5181)
- The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
  was seen (Issue #5170)
- Fixed group validation on OpenBSD (Issue #5166)
- Fixed the `ippserver` sample code when threading is disabled or unavailable
  (Issue #5154)
- The `cupsEnumDests` function did not include options from the lpoptions files
  (Issue #5144)
- The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
  control the minimum and maximum TLS versions that will be allowed,
  respectively (Issue #5119)
- The scheduler did not write out dirty configuration and state files if there
  were open client connections (Issue #5118)
- The `lpadmin` command now provides a better error message when an unsupported
  System V interface script is used (Issue #5111)
- The `lp` and `lpr` commands now provide better error messages when the default
  printer cannot be found (Issue #5096)
- No longer support backslash, question mark, or quotes in printer names
  (Issue #4966)
- The CUPS library now supports the latest HTTP Digest authentication
  specification including support for SHA-256 (Issue #4862)
- The `lpstat` command now reports when new jobs are being held (Issue #4761)
- The `lpoptions` command incorrectly saved default options (Issue #4717)
- The `ppdLocalizeIPPReason` function incorrectly returned a localized version
  of "none" (rdar://36566269)
- TLS connections now properly timeout (rdar://34938533)
- The IPP backend did not properly detect failed PDF prints (rdar://34055474)
- Temporary files are now placed in the correct directory for sandboxed
  applications on macOS (rdar://problem/37789645)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.256 2018/03/12 11:17:25 wiz Exp $
d3 1
@


1.256
log
@Recursive bumps for fontconfig and libzip dependency changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.255 2018/01/28 20:11:01 wiz Exp $
a2 1
PKGREVISION= 2
@


1.255
log
@Bump PKGREVISION for gdbm shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.254 2017/12/02 20:02:34 leot Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.254
log
@cups{,-base}: Update print/cups{,-base} to 2.2.6

pkgsrc changes:
- s/ghostscript/cups-filters/ in MESSAGE (most missing parts needed to use
  non-PS printers are provided by print/cups-filters)
- Define GITHUB_PROJECT to just `cups' (not `cups-base', as PKGBASE).
  This fixes fetching of the distfile from the MASTER_SITES.

Changes:
CUPS v2.2.6
-----------
- DBUS notifications could crash the scheduler (Issue #5143)
- Added USB quirks rules for Canon MP540 and Samsung ML-2160 (Issue #5148)
- Fixed TLS cipher suite selection with GNU TLS (Issue #5145, Issue #5150)
- Localization updates (Issue #5152)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.253 2017/11/23 17:20:09 wiz Exp $
d3 1
@


1.253
log
@recursive bump for libxkbcommon removal from at-spi2-core
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.252 2017/11/12 14:10:15 khorben Exp $
a5 1
PKGREVISION=	2
@


1.252
log
@Rename print/cups to print/cups-base to depend on cups-filters

This change:
- renames print/cups to print/cups-base,
- lets print/cups-filters depend on print/cups-base instead of cups,
- adds a package print/cups depending on print/cups-base and
  print/cups-filters.

This makes sure installing print/cups always installs
print/cups-filters, as it is necessary for being able to print outside
of Mac OS X since CUPS 1.6.0. You're welcome.

I do not think superseding is necessary, since print/cups will also
install print/cups-base, which really is the same as before. In practice
it is like a new dependency. I do not want to risk a bad "cvs import"
either, sorry.

Bumps PKGREVISION for print/cups and print/cups-filters, since they have
new dependencies now. This is also necessary for everything else currently
depending on print/cups; I will try to commit this right after this one.

Tested on NetBSD/amd64, as reviewed on tech-pkg@@.
No breakage observed, apologies if anything goes wrong.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.251 2017/10/23 12:34:54 leot Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.251
log
@cups: Update print/cups to 2.2.5

pkgsrc changes:
- Delete patches/patch-config-scripts_cups-sharedlibs.m4,
  patches/patch-configure.ac and adjust patches/patch-ae to reflect libtool
  upstream update.
- Add patches/patch-config-scripts_cups-libtool.m4 to avoid to use `=='
  not-so-portable test(1) operator.

Changes:
2.2.5
-----
- The scheduler's `-t` option did not force all errors to the standard error
  file, making debugging of configuration problems hard (Issue #5041)
- Fixed a typo in the CUPS Programming Manual (Issue #5042)
- Fixed RPM packaging issue (Issue #5043, Issue #5044)
- The `cupsGetDests` function incorrectly returned an empty list of printers if
  there was no default printer (Issue #5046)
- The `cupsGetDests` function waited too long for network printers (Issue #5049)
- Libtool support was completely broken with current libtool versions that use
  an incompatible command-line syntax (Issue #5050)
- Fixed a build issue with `--enable-mallinfo` (Issue #5051)
- The ippserver test program contained a deadlock issue (Issue #5054)
- The `cupsLocalizeDest*` functions did not provide base localizations for
  all registered IPP attributes and values (Issue #5056)
- The --enable-libtool configure option requires a path to the libtool program,
  but doesn't document or check for it (Issue #5062)
- Fixed the `SSLOptions DenyCBC` option when using GNU TLS (Issue #5065)
- Fixed the `ServerTokens None` option (Issue #5065)
- Fixed the default `ServerAlias` value from `ServerName` (Issue #5072)
- Fixed the adminurl field in the TXT record for fully-qualified `ServerName`
  values (Issue #5074)
- The scheduler now creates a PID file when not running on demand with a modern
  service launcher (Issue #5080)
- The web interface did not support newer language identifiers used by Microsoft
  web browsers (Issue #5803)
- Updated the cups-files.conf and cupsd.conf file documentation for missing
  directives (Issue #5084)
- Fixed an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086)
- Fixed the interactions between the "print-quality" and "cupsPrintQuality"
  options (Issue #5090)
- The IPP Everywhere PPD generator now sorts the supported resolutions before
  choosing them for draft, normal, and best quality modes (Issue #5091)
- Fixed the localization unit test on Linux (Issue #5097)
- The CUPS library did not reuse domain sockets (Issue #5098)
- Fixed the "make check" target for some environments (Issue #5099)
- The scheduler woke up once per second to remove old temporary queues
  (Issue #5100)
- Added USB quirk rule for Kyocera printer (Issue #5102, Issue #5103)
- Re-documented the limits of `file:///...` device URIs and moved the FileDevice
  directive in `cups-files.conf` to the list of deprecated configuration
  directives (Issue #5117)
- Added USB quirk rule for HP LaserJet 1160 printer (Issue #5121)
- Fixed the script interpreter detection in the configure script (Issue #5122)
- The network backends now retry on more error conditions (Issue #5123)
- Added a French translation of the web interface (Issue #5134)
- `cupsGetDests2` was not using the supplied HTTP connection (Issue #5135)
- `httpAddrConnect` leaked sockets in certain circumstances, causing some
  printers to hang (rdar://31965686)
- Fixed an issue with Chinese localizations on macOS (rdar://32419311)
- The IPP backend now always sends the "finishings" attribute for printers that
  support it because otherwise the client cannot override printer defaults
  (rdar://33169732)
- The `cupsGetNamedDest` function did not use the local default printer
  (rdar://33228500)
- The IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF
  printers (rdar://33250434)
- Fixed the `cups.strings` file that is used on macOS (rdar://33287650)
- CUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034)
- The `ippCopyAttribute` function did not copy out-of-band values correctly
  (rdar://33688003)
- Fixed the localization fallback code on macOS (rdar://33583699)
- The scheduler did not run with a high enough priority, causing problems on
  busy systems (rdar://33789342)
- Added support for Japanese Kaku 1 envelope size (rdar://34774110)
- The `ipptool` program's `-P` option did not work correctly.
- The `ipptool` program did not compare URI scheme or hostname components
  correctly for the WITH-ALL-HOSTNAMES, WITH-ALL-SCHEMES, WITH-HOSTNAME, or
  WITH-SCHEME predicates.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.250 2017/09/03 11:30:54 leot Exp $
d3 5
a7 4
DISTNAME=	cups-2.2.5-source
PKGNAME=	${DISTNAME:S/-source//}
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GITHUB:=apple/}
a9 1
HOMEPAGE=	https://www.cups.org/
a10 135
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2

GITHUB_RELEASE=	v${PKGVERSION_NOREV}

CONFLICTS+=	LPRng-[0-9]* LPRng-core-[0-9]*

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
UNLIMIT_RESOURCES=	datasize memorysize
USE_LANGUAGES=		c c++	# pdftops is a C++ application
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		aclocal autoconf automake gmake pkg-config

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
CONFIGURE_ARGS+=	--with-cachedir=${CUPS_CACHE:Q}
CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/cups
CONFIGURE_ARGS+=	--with-serverbindir=${PREFIX}/libexec/cups
CONFIGURE_ARGS+=	--with-cups-user=${CUPS_USER}
CONFIGURE_ARGS+=	--with-cups-group=${CUPS_GROUP}
CONFIGURE_ARGS+=	--with-system-groups=${CUPS_SYSTEM_GROUPS:Q}
CONFIGURE_ARGS+=	--with-exe-file-perm=0755
CONFIGURE_ARGS+=	--enable-libpaper
CONFIGURE_ARGS+=	--enable-libtool
CONFIGURE_ARGS+=	--enable-ssl
CONFIGURE_ARGS+=	--with-manext=bsd
CONFIGURE_ARGS+=	--without-bundledir
CONFIGURE_ARGS+=	--without-icondir
CONFIGURE_ARGS+=	--without-menudir
CONFIGURE_ARGS+=	--without-perl
CONFIGURE_ARGS+=	--without-php
CONFIGURE_ARGS+=	--without-python
CONFIGURE_ARGS+=	--without-java
CONFIGURE_ARGS+=	--disable-gssapi

CONFIGURE_ENV+=		DSOFLAGS=${LDFLAGS:M*:Q}

.include "../../mk/bsd.prefs.mk"
.include "options.mk"

.if ${OPSYS} == "SunOS"
LIBS_SSP=		-lssp_nonshared -lssp
CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
# Explicitly disable epoll on illumos, it is provided for Linux compat only.
CONFIGURE_ENV+=		ac_cv_func_epoll_create=no
.endif
LIBS+=			${BUILDLINK_LDADD.iconv}

# Avoid the following error when compiling with clang.
# /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC'
# can not be used when making a shared object; recompile with -fPIC
BUILDLINK_TRANSFORM.FreeBSD+=	rm:-Wl,-pie

# CUPS_USER		user to run filter and CGI programs as
# CUPS_GROUP		group to run filter and CGI programs as
# CUPS_SYSTEM_GROUPS	group for system administration
#
CUPS_USER?=		lp
CUPS_GROUP?=		lp
CUPS_SYSTEM_GROUPS?=	${REAL_ROOT_GROUP}
FILES_SUBST+=		CUPS_USER=${CUPS_USER}
FILES_SUBST+=		CUPS_GROUP=${CUPS_GROUP}
FILES_SUBST+=		CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q}

PKG_GROUPS_VARS+=	CUPS_GROUP CUPS_SYSTEM_GROUPS
PKG_USERS_VARS=		CUPS_USER

BUILD_DEFS+=		CUPS_USER CUPS_GROUP CUPS_SYSTEM_GROUPS VARBASE

DOCDIR=			${PREFIX}/share/doc/cups
EGDIR=			${PREFIX}/share/examples/cups
MIMEDIR=		${PREFIX}/share/cups/mime
PKG_SYSCONFSUBDIR=	cups
CUPS_CONFDIR=		${PKG_SYSCONFDIR}
CUPS_LOGDIR=		${VARBASE}/log/cups
CUPS_REQUESTS=		${VARBASE}/spool/cups
CUPS_CACHE=		${VARBASE}/cache/cups
CUPS_STATEDIR=		${VARBASE}/run/cups

PKG_GROUPS=		${CUPS_GROUP}
PKG_USERS=		${CUPS_USER}:${CUPS_GROUP}
PKG_GECOS.${CUPS_USER}=	Common UNIX Printing System user
PKG_SHELL.${CUPS_USER}=	${SH}

CONF_FILES+=		${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
CONF_FILES+=		${EGDIR}/cups-files.conf ${CUPS_CONFDIR}/cups-files.conf
CONF_FILES+=		${EGDIR}/snmp.conf ${CUPS_CONFDIR}/snmp.conf
RCD_SCRIPTS=		cupsd

OWN_DIRS=		${CUPS_CONFDIR}
OWN_DIRS+=		${CUPS_CONFDIR}/interfaces
OWN_DIRS+=		${CUPS_CONFDIR}/ppd
OWN_DIRS+=		${PREFIX}/libexec/cups/driver
OWN_DIRS+=		${CUPS_LOGDIR}
OWN_DIRS+=		${CUPS_STATEDIR}
OWN_DIRS_PERMS=		${CUPS_STATEDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
OWN_DIRS_PERMS+=	${CUPS_CONFDIR}/ssl ${REAL_ROOT_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+=	${CUPS_REQUESTS} ${REAL_ROOT_USER} ${CUPS_GROUP} 0710
OWN_DIRS_PERMS+=	${CUPS_REQUESTS}/tmp ${REAL_ROOT_USER} ${CUPS_GROUP} 1770
OWN_DIRS_PERMS+=	${CUPS_CACHE} ${REAL_ROOT_USER} ${CUPS_GROUP} 0775
OWN_DIRS_PERMS+=	${CUPS_CACHE}/rss ${REAL_ROOT_USER} ${CUPS_GROUP} 0775

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	${WRKDIR}/cups.pam
SUBST_SED.paths+=	-e 's,@@LOCALBASE@@,${LOCALBASE},g'
SUBST_STAGE.paths=	post-patch

SUBST_CLASSES+=		rpathfix
SUBST_FILES.rpathfix=	cups-config.in
SUBST_MESSAGE.rpathfix=	Adding rpath to cups-config.
SUBST_SED.rpathfix=	-e 's|@@EXPORT_LDFLAGS@@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g'
SUBST_STAGE.rpathfix=	post-patch

.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc)
SUBST_CLASSES+=		piefix
SUBST_FILES.piefix=	Makedefs.in
SUBST_MESSAGE.piefix=	Removing PIE flags
SUBST_SED.piefix=	-e 's|@@PIEFLAGS@@||g'
SUBST_STAGE.piefix=	post-patch
.endif

INSTALLATION_DIRS=	${DOCDIR} ${EGDIR} ${MIMEDIR}
INSTALL_ENV+=		DSTROOT=${DESTDIR}

pre-configure:
.if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP})
	${ERROR_MSG} "CUPS_SYSTEM_GROUPS may not contain the CUPS_GROUP"
	exit 1
.endif
	cd ${WRKSRC} && aclocal && autoconf

post-extract:
	${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam
d12 1
a12 16
post-install:
	set -e; for file in LICENSE.txt README.md; do			\
		${INSTALL_DATA} ${WRKSRC}/$${file}			\
		     ${DESTDIR}${DOCDIR}/$${file}; \
	done
	${RUN} for file in cupsd.conf cups-files.conf snmp.conf ; do	\
		${INSTALL_DATA} ${WRKSRC}/conf/$${file}			\
			${DESTDIR}${EGDIR}/$${file};			\
	done
	${CHMOD} g-w ${DESTDIR}${PREFIX}/libexec/cups/cgi-bin
.if !empty(PKG_OPTIONS:Mpam)
	${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR}
.endif
.if !empty(PKG_OPTIONS:Mdnssd)
	${LN} -sf ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns
.endif
d14 2
a15 10
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../print/libpaper/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
@


1.250
log
@Update print/cups to 2.2.4

pkgsrc changes:
- Pass --with-exe-file-perm=0755 to configure in order to be able to strip
  executables and shared objects (the cups' default is 0555 and that's also
  inconsistent with pkgsrc's BINMODE)

Changes:
CHANGES IN CUPS V2.2.4
----------------------
- The scheduler did not remove old job files (Issue #4987)
- cupsEnumDests did not return early when all printers had been discovered
  (Issue #4989)
- The CUPS build system now supports cross-compilation (Issue #4897)
- Added a new CUPS Programming Manual to replace the aging API documentation.
- Added the `cupsAddIntegerOption` and `cupsGetIntegerOption` functions
  (Issue #4992)
- The `cupsGetDests` and `cupsCreateJob` functions now support Bonjour printers
  (Issue #4993)
- Added a USB quirk rule for Lexmark E260dn printers (Issue #4994)
- Fixed a potential buffer overflow in the `cupstestppd` utility (Issue #4996)
- IPP Everywhere improvements (Issue #4998)
- Fixed the "cancel all jobs" function in the web interface for several
  languages (Issue #4999)
- Fixed issues with local queues (Issue #5003, Issue #5008, Issue #5009)
- The `lpstat` command now supports a `-e` option to enumerate local printers
  (either previously added or on the network) that can be accessed
  (Issue #5005)
- The `lp` and `lpr` commands now support printing to network printers that
  haven't yet been added (Issue #5006)
- Fixed a typo in the mime.types file.
- Fixed a bug in the Spanish web interface template (Issue #5016)
- The `cupsEnumDests*` and `cupsGetDest*` functions now report the value of the
  "printer-is-temporary" Printer Status attribute (Issue #5028)
- Added Chinese localization (Issue #5029)
- The `cupsCheckDestSupported` function did not support `NULL` values
  (Issue #5031)
- Fixed some issues in the RPM spec file (Issue #5032)
- The `cupsConnectDest` function now supports the `CUPS_DEST_FLAGS_DEVICE` flag
  for explicitly connecting to the device (printer) associated with the
  destination.
- The `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports
  `DenyCBC` and `DenyTLS1.0` options (Issue #5037)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.249 2017/08/20 23:55:54 jlam Exp $
d3 1
a3 1
DISTNAME=	cups-2.2.4-source
@


1.249
log
@print/cups{,15}: Don't make ${CUPS_CONFDIR} with INSTALLATION_DIRS.

${CUPS_CONFDIR} (${PKG_SYSCONFDIR}) may be located outside of
${PREFIX}, which causes a installation failure due to the checks
added in mk/install/install.mk.

Remove ${CUPS_CONFDIR} from INSTALLATION_DIRS since it is created
by the package install script at PRE-INSTALL time.

Fixes pkg/52481 reported by Hauke Fath.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.248 2017/08/01 14:59:04 wiz Exp $
d3 1
a3 1
DISTNAME=	cups-2.2.3-source
a4 1
PKGREVISION=	2
d34 1
d148 1
a148 1
	set -e; for file in LICENSE.txt README.txt; do			\
@


1.248
log
@Follow some http -> https redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.247 2017/07/27 08:54:26 wiz Exp $
d134 1
a134 1
INSTALLATION_DIRS=	${DOCDIR} ${EGDIR} ${MIMEDIR} ${CUPS_CONFDIR}
@


1.247
log
@Add proper pidfile support, from Edgar Fuß.

This has not been accepted upstream in various previous tries, but is
deemed useful functionality anyway.

Bump PKGREVISION.

While here, revert undiscussed mit-krb5 dependency. Should be optional,
and should have bumped PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.246 2017/07/25 18:30:39 reinoud Exp $
d10 1
a10 1
HOMEPAGE=	http://www.cups.org/
@


1.246
log
@Add dependency to security/mit-krb5 package since it can try to link with it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.245 2017/04/26 14:10:04 prlw1 Exp $
d5 1
a5 1
PKGREVISION=	1
a173 1
.include "../../security/mit-krb5/buildlink3.mk"
@


1.245
log
@PROVIDE cups rather than cupsd, as that is what cups-browsed looks for.
http://mail-index.netbsd.org/pkgsrc-users/2017/03/23/msg024617.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.244 2017/04/08 07:27:09 adam Exp $
d174 1
@


1.244
log
@CHANGES IN CUPS V2.2.3
- The IPP backend could get into an infinite loop for certain errors,
  causing a hung queue (<rdar://problem/28008717>)
- The scheduler could pause responding to client requests in order to
  save state changes to disk (<rdar://problem/28690656>)
- Added support for PPD finishing keywords (Issue 4960, Issue 4961,
  Issue 4962)
- The IPP backend did not send a media-col attribute for just the source
  or type (Issue 4963)
- IPP Everywhere print queues did not always support all print qualities
  supported by the printer (Issue 4953)
- IPP Everywhere print queues did not always support all media types
  supported by the printer (Issue 4953)
- The IPP Everywhere PPD generator did not return useful error messages
  (Issue 4954)
- The IPP Everywhere finishings support did not work correctly with
  common UI or command-line options (Issue 4976)
- Fixed an error handling issue for the network backends (Issue 4979)
- The default cupsd.conf file did not work on systems compiled without
  Kerberos support (Issue 4947)
- The "reprint job" option was not available for some canceled jobs
  (Issue 4915)
- Updated the job listing in the web interface (Issue 4978)
- Fixed some localization issues on macOS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.243 2017/02/12 06:24:48 ryoon Exp $
d5 1
@


1.243
log
@Recursive revbump from fonts/harfbuzz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.242 2017/02/06 13:54:48 wiz Exp $
d3 1
a3 1
DISTNAME=	cups-2.2.2-source
a4 1
PKGREVISION=	2
@


1.242
log
@Recursive bump for harfbuzz's new graphite2 dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.241 2017/01/21 11:57:10 leot Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.241
log
@Update print/cups to cups-2.2.2

Changes:
2.2.2
-----
 - Fixed some issues with the Zebra ZPL printer driver (Issue #4898)
 - Fixed some issues with IPP Everywhere printer support (Issue #4893,
   Issue #4909, Issue #4916, Issue #4921, Issue #4923, Issue #4932,
   Issue #4933, Issue #4938)
 - The rastertopwg filter could crash with certain input (Issue #4942)
 - Optimized connection usage in the IPP backend
   (<rdar://problem/29547323>)
 - The scheduler did not detect when an encrypted connection was closed
   by the client on Linux (Issue #4901)
 - The cups-lpd program did not catch all legacy usage of ISO-8859-1
   (Issue #4899)
 - Fixed builds on systems without a working poll() implementation
   (Issue #4905)
 - Added a USB quirk rule for the Kyocera Ecosys P6026cdn (Issue #4900)
 - The scheduler no longer creates log files on startup
   (<rdar://problem/28332470>)
 - The ippContainsString function now uses case-insensitive comparisons
   for mimeMediaType, name, and text values in conformance with RFC 2911.
 - The network backends now log the addresses that were found for a
   printer (<rdar://problem/29268474>)
 - Let's Encrypt certificates did not work when the hostname contained
   uppercase letters (Issue #4919)
 - Fixed reporting of printed pages in the web interface (Issue #4924)
 - Updated systemd config files (Issue #4935)
 - Updated documentation (PR #4896)
 - Updated localizations (PR #4894, PR #4895, PR #4904, PR #4908,
   Issue #4946)
 - Updated packaging files (Issue #4940)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.240 2017/01/11 13:26:16 ryoon Exp $
d5 1
@


1.240
log
@Fix build with textproc/libunistring budildlink
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.239 2017/01/04 22:31:48 rodent Exp $
d3 1
a3 1
DISTNAME=	cups-2.2.1-source
@


1.239
log
@Revert last commit. Problem was fixed elsewhere previously. Identified by
wiz@@ in private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.238 2016/12/31 23:06:51 rodent Exp $
d169 1
@


1.238
log
@Needs mk/readline.buildlink3.mk. Else, the build fails on FreeBSD as
-lreadline can't be found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.237 2016/12/30 07:08:34 adam Exp $
a162 1
.include "../../mk/readline.buildlink3.mk"
@


1.237
log
@Added avahi as an option so ippfind can be build; unified PLIST and cleanup for Darwin
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.236 2016/12/12 14:26:15 wiz Exp $
d163 1
@


1.236
log
@Revert "Specify readline requirement"

The underlying problem should be debugged and fixed instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.235 2016/12/03 16:43:16 marino Exp $
a6 1
GITHUB_RELEASE=	v${PKGVERSION_NOREV}
d13 2
d20 1
d22 1
a22 2
USE_TOOLS+=		aclocal autoconf automake gmake
USE_LIBTOOL=		yes
d38 1
a59 5
PLIST_VARS+=		notmac
.if ${OPSYS} != "Darwin"
PLIST.notmac=		yes
.endif

d77 1
a77 1
PKG_USERS_VARS+=	CUPS_USER
a132 4
.if ${OPSYS} == "Darwin"
PLIST_SRC=		PLIST.Darwin
.endif

d167 2
a171 2
.include "../../print/libpaper/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
@


1.235
log
@print/cups: Specify readline requirement

Solves:
/usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.234 2016/10/09 08:33:15 leot Exp $
a178 1
.include "../../devel/readline/buildlink3.mk"
@


1.234
log
@Update print/cups to cups-2.2.1

Changes:
CHANGES IN CUPS V2.2.1
	- Added "CreateSelfSignedCerts" directive for cups-files.conf to
          control whether the scheduler automatically creates its own
          self-signed X.509 certificates for TLS connections (Issue #4876)
        - http*Connect did not handle partial failures (Issue #4870)
        - Addressed some build warnings on Linux (Issue #4881)
        - cupsHashData did not use the correct hashing algorithm
          (<rdar://problem/28209220>)
        - Updated man pages (PR #4885)
        - Updated localizations (PR #4877, PR #4886)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.233 2016/09/30 14:10:55 wiz Exp $
d179 1
@


1.233
log
@Updated cups to 2.2.0.

CHANGES.txt - 2.2.0 - 2016-09-13
--------------------------------

CHANGES IN CUPS V2.2.0

	- Normalized the TLS certificate validation code and added additional
	  error messages to aid troubleshooting.
	- http*Connect did not work on Linux when cupsd was not running
	  (Issue #4870)
	- The --no-remote-any option of cupsctl had no effect (Issue #4866)
	- http*Connect did not return early when all addresses failed
	  (Issue #4870)


CHANGES IN CUPS V2.2rc1

	- Updated the list of supported IPP Everywhere media types.
	- The IPP backend did not validate TLS credentials properly.
	- The printer-state-message attribute was not cleared after a
	  print job with no errors (Issue #4851)
	- The CUPS-Add-Modify-Class and CUPS-Add-Modify-Printer operations did
	  not always return an error for failed adds (Issue #4854)
	- PPD files with names longer than 127 bytes did not work (Issue #4860)
	- Updated localizations (Issue #4846, PR #4858)


CHANGES IN CUPS V2.2b2

	- Added Upstart support (PR #4825)
	- CUPS now supports Let's Encrypt certificates on Linux.


CHANGES IN CUPS V2.2b1

	- All CUPS commands now support POSIX options (Issue #4813)
	- The scheduler now restarts faster (Issue #4760)
	- Improved performance of web interface with large numbers of jobs
	  (Issue #3819)
	- Encrypted printing can now be limited to only trusted printers and
	  servers (<rdar://problem/25711658>)
	- The scheduler now advertises PWG Raster attributes for IPP Everywhere
	  clients (Issue #4428)
	- The scheduler now logs informational messages for jobs at LogLevel
	  "info" (Issue #4815)
	- The scheduler now uses the getgrouplist function when available
	  (Issue #4611)
	- The IPP backend no longer enables compression by default except for
	  certain raster formats that generally benefit from it
	  (<rdar://problem/25166952>)
	- The scheduler did not handle out-of-disk situations gracefully
	  (Issue #4742)
	- The LPD mini-daemon now detects invalid UTF-8 sequences in job,
	  document, and user names (Issue #4748)
	- The IPP backend now continues on to the next job when the remote
	  server/printer puts the job on hold (<rdar://problem/24858548>)
	- The scheduler did not cancel multi-document jobs immediately
	  (<rdar://problem/24854834>)
	- The scheduler did not return non-shared printers to local clients
	  unless they connected to the domain socket (<rdar://problem/24566996>)
	- The scheduler now reads the spool directory if one or more job cache
	  entries point to deleted jobs (<rdar://problem/24048846>)
	- Added support for disc media sizes (<rdar://problem/20219536>)
	- The httpAddrConnect and httpConnect* APIs now try connecting to
	  multiple addresses in parallel (<rdar://problem/20643153>)
	- The cupsd domain socket is no longer world-accessible on macOS
	  (<rdar://problem/7542560>)
	- Interface scripts are no longer supported for security reasons
	  (<rdar://problem/23135640>)
	- Added a new cupsHashData API and support for hashed job passwords
	  (<rdar://problem/20221502>)
	- Localization fixes (<rdar://problem/25292403>,
	  <rdar://problem/25461517>, Issue #4041, Issue #4796)
	- Documentation changes (Issue #4624, Issue #4781)
	- Packaging fixes (PR #4832)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.232 2016/09/20 11:07:35 wiz Exp $
d3 1
a3 1
DISTNAME=	cups-2.2.0-source
@


1.232
log
@cups removed openssl support in 2.0b1.

Switch to gnutls.

Reported by Stephan <stephanwib@@googlemail.com> on tech-pkg.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.231 2016/07/09 06:38:50 wiz Exp $
d3 1
a3 1
DISTNAME=	cups-2.1.4-source
a4 1
PKGREVISION=	2
d7 1
a7 1
GITHUB_RELEASE=	release-${PKGVERSION_NOREV}
@


1.231
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.230 2016/06/18 20:36:38 leot Exp $
d5 1
a5 1
PKGREVISION=	1
a44 1
CONFIGURE_ARGS+=	--disable-gnutls
d179 1
a179 1
.include "../../security/openssl/buildlink3.mk"
@


1.230
log
@Update print/cups to 2.1.4

pkgsrc changes:
 - Switch MASTER_SITES to MASTER_SITE_GITHUB (per-upstream), simplify DISTNAME
   handling and get rid of comment (because also the bug handling changed to
   GitHub issues)

Changes:
CHANGES IN CUPS V2.1.4
----------------------
 - Fixed reporting of 1284 Device IDs (Issue #3835, PR #3836)
 - Fixed printing of multiple files to raw queues (Issue #4782)
 - The scheduler did not implement the Hold-New-Jobs opertion correctly
   (Issue #4767)
 - The ipptool program truncated values at 8k (Issue #4786)
 - The ipptool program did not correctly report uriScheme values in plist
   output (Issue #4785)
 - The cups-lpd mini-daemon incorrectly included the document-name
   attribute when creating a job.  It should only be included when
   sending a job (Issue #4790)
 - USB quirk updates (Issue #4778, Issue #4789)
 - Documentation update (Issue #4772)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.229 2016/03/22 14:43:53 khorben Exp $
d5 1
@


1.229
log
@Register missing dependency on curses

Found with an unprivileged bootstrap on NetBSD/amd64 (--prefer-pkgsrc yes)
@
text
@d1 4
a4 11
# $NetBSD: Makefile,v 1.228 2016/03/05 11:27:53 jperkin Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution.  The correct place to send patches or bug-fixes is:
# cups-bugs@@cups.org.

DISTNAME=	cups-${DIST_VERS}-source
PKGNAME=	cups-${DIST_VERS:S/-/./g}
PKGREVISION=	1
BASE_VERS=	2.1.3
DIST_VERS=	${BASE_VERS}
d6 2
a7 2
MASTER_SITES=	http://www.cups.org/software/${BASE_VERS}/
EXTRACT_SUFX=	.tar.bz2
d16 1
a16 1
WRKSRC=			${WRKDIR}/cups-${BASE_VERS}
@


1.228
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.227 2016/02/25 17:52:45 jperkin Exp $
d182 1
@


1.227
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.226 2016/02/07 11:29:30 leot Exp $
d9 1
@


1.226
log
@Update print/cups to cups-2.1.3.

Changes:
CHANGES IN CUPS V2.1.3
 - The default password function did not work on some platforms
   (STR #4750)
 - The scheduler should not exit under memory pressure
   (<rdar://problem/23255001>)
 - The EPL2 and ZPL sample drivers did not properly support the CutMedia
   option.
 - Pending subscriptions would prevent the scheduler from idle exiting
   (STR #4754)
 - Fixed some issues in ipptool for skipped tests
   (<rdar://problem/24137160>)
 - The "lp -H resume" command did not reset the "job-state-reasons"
   attribute value (STR #4752)
 - The scheduler did not allow access to resource files (icons, etc.)
   when the web interface was disabled (STR #4755)
 - Localization fix (STR #4756)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.225 2016/01/03 19:56:18 bsiegert Exp $
d73 1
a73 3
.if ${OPSYS} == "FreeBSD"
BUILDLINK_TRANSFORM+=	rm:-Wl,-pie
.endif
@


1.225
log
@Try to fix cups build under Mac OS X.

The resulting PLIST looks very different, so add a PLIST.Darwin with what
is actually installed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.224 2015/12/02 21:14:16 leot Exp $
d9 1
a9 1
BASE_VERS=	2.1.2
a10 1
PKGREVISION=	1
@


1.224
log
@Update print/cups to 2.1.2.

Changes:
CHANGES IN CUPS V2.1.2
- Re-release of CUPS 2.1.1 as CUPS 2.1.2 due to error in tagging of the
  2.1.1 release (pulled content from the 2.2.x tree instead)

CHANGES IN CUPS V2.1.1
- Security hardening fixes (<rdar://problem/23131948>,
  <rdar://problem/23132108>, <rdar://problem/23132353>,
  <rdar://problem/23132803>, <rdar://problem/23133230>,
  <rdar://problem/23133393>, <rdar://problem/23133466>,
  <rdar://problem/23133833>, <rdar://problem/23133998>,
  <rdar://problem/23134228>, <rdar://problem/23134299>,
  <rdar://problem/23134356>, <rdar://problem/23134415>,
  <rdar://problem/23134506>, <rdar://problem/23135066>,
  <rdar://problem/23135122>, <rdar://problem/23135207>,
  <rdar://problem/23144290>, <rdar://problem/23144358>,
  <rdar://problem/23144461>)
- The cupsGetPPD* functions did not work with IPP printers (STR #4725)
- Some older HP LaserJet printers need a delayed close when printing
  using the libusb-based USB backend (STR #4549)
- The libusb-based USB backend did not unload the kernel usblp module
  if it was preventing the backend from accessing the printer
  (STR #4707)
- Current Primera printers were incorrectly reported as Fargo printers
  (STR #4708)
- The IPP backend did not always handle jobs getting canceled at the
  printer (<rdar://problem/22716820>)
- Scheduler logging change (STR #4728)
- Added USB quirk for Canon MP530 (STR #4730)
- The scheduler did not deliver job notifications for jobs submitted to
  classes (STR #4733)
- Changing the printer-is-shared value for a remote queue did not
  produce an error (STR #4738)
- The IPP backend incorrectly included the job-password attribute in
  Validate-Job requests (<rdar://problem/23531939>)
- Updated localizations (STR #4709)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.223 2015/09/03 21:15:41 wiz Exp $
d11 1
d146 4
d177 1
a177 1
	${LN} -s ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns
@


1.223
log
@Update to 2.1.0:

CHANGES.txt - 2.1.0 - 2015-08-31
--------------------------------

CHANGES IN CUPS V2.1.0

	- Fixed more scheduler crash bugs in the new logging code (STR #4687,
	  STR #4690)
	- The scheduler did not use the ConfigFilePerm setting when copying PPD
	  files or interface scripts attached to a request (STR #4703)
	- Now support new Chinese locale IDs and their correct fallback locales
	  (<rdar://problem/22086642>, <rdar://problem/22130168>)
	- "make check" incorrectly reported an expectation of 18 warning
	  messages when 8 were expected (STR #4684)
	- The new PDF file type rule did not work (STR #4692)
	- The scheduler did not update the jobs.cache file when job files were
	  expired (STR #4706)
	- Fixed some configure script issues (STR #4694, STR #4695, STR #4698)
	- Documentation updates (STR #4691, STR #4693)


CHANGES IN CUPS V2.1rc1

	- Added support for 3D printers (basic types only, no built-in filters)
	  based on PWG white paper.
	- Fixed bugs in the new journald support (STR #4655, STR #4658,
	  STR #4661)
	- Fixed domain socket support on Linux (STR #4679)
	- Fixed signal handlers in the dnssd and usb backends (STR #4671)
	- <Limit All> in <Policy> sections now applies to all operations when
	  used by itself (STR #4659)
	- Configure script changes for systemd support (STR #4669)
	- Updated autoconf sources to use newer form of AC_INIT (STR #4664)


CHANGES IN CUPS V2.1b1

	- Improved speed of ppdMarkDefaults for complex/large PPDs
	  (<rdar://problem/15146999>)
	- The IPP backend now stops sending print data if the printer indicates
	  the job has been aborted or canceled (<rdar://problem/17837631>)
	- The IPP backend now sends the job-pages-per-set attribute when
	  printing multiple copy jobs with finishings
	  (<rdar://problem/16792757>)
	- The IPP backend now updates the cupsMandatory values when the printer
	  configuration changes (<rdar://problem/18126570>)
	- No longer install banner files since third-party banner filters now
	  supply their own (STR #4518)
	- Added support for EXPECT-ALL directive in ipptool test files
	  (STR #4469)
	- Added support for WITH-VALUE-FROM predicate in ipptool test files
	  (STR #4470)
	- The scheduler no longer listens on the loopback interface unless the
	  web interface or printer sharing are enabled
	  (<rdar://problem/9136448>)
	- Added a PPD generator for IPP Everywhere printers (STR #4258)
	- Now install "default" versions of more configuration files
	  (<rdar://problem/19024491>)
	- The cupstestppd program did not handle "maxsize(nnn)" entries in
	  cupsFilter/cupsFilter2 values (<rdar://problem/18974858>)
	- The scheduler now checks the return value of rename() calls
	  (STR #4589)
	- The scheduler now validates ErrorPolicy values in config files
	  (STR #4591)
	- Long cookies caused the web interface to stop working (STR #4619)
	- Added SSLOptions values to allow Diffie-Hellman key exchange and
	  disable TLS/1.0 support.
	- Updated the scheduler to support more IPP Everywhere attributes
	  (STR #4630)
	- The scheduler now supports advanced ASL and journald logging when
	  "syslog" output is configured (STR #4474)
	- The scheduler now supports logging to stderr when running in the
	  foreground (STR #4505)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.222 2015/08/06 06:56:33 wiz Exp $
d9 1
a9 1
BASE_VERS=	2.1.0
@


1.222
log
@Update to 2.0.4:

CHANGES IN CUPS V2.0.4

	- Fixed a bug in cupsRasterWritePixels (STR #4650)
	- Fixed redirection in the web interface (STR #4538)
	- The IPP backend did not respond to side-channel requests (STR #4645)
	- The scheduler did not start all pending jobs at once (STR #4646)
	- The web search incorrectly searched time-at-xxx values (STR #4652)
	- Fixed an RPM spec file issue (STR #4657)
	- The scheduler incorrectly started jobs while canceling multiple jobs
	  (STR #4648)
	- Fixed processing of server overrides without port numbers (STR #4675)
	- Documentation changes (STR #4651, STR #4674)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.221 2015/06/19 08:20:43 wiz Exp $
d9 1
a9 1
BASE_VERS=	2.0.4
@


1.221
log
@Remove group permissions from cgi-bin directory.
pgoyette reported:
E [17/Jun/2015:07:12:52 +0800] Directory "/usr/pkg/libexec/cups/cgi-bin" has
insecure permissions (040775/uid=0/gid=0).

While here, remove --enable-openssl since the configure script does
not recognize it any longer.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.220 2015/06/12 11:02:35 wiz Exp $
d9 1
a9 2
PKGREVISION=	1
BASE_VERS=	2.0.3
@


1.220
log
@Update to 2.0.3:

Update print/cups to cups-2.0.3. Provided by Leonardo Taccari in PR 49960.

pkgsrc changes:
 - Delete "slpd" in the rc.d script. According to CHANGES-1.6.txt CUPS no longer
   support the SLP protocol.

Changes:
CHANGES IN CUPS V2.0.3
----------------------
 - Security: Fixed CERT VU #810572 exploiting the dynamic linker
   (STR #4609)
 - Security: The scheduler could hang with malformed gzip data
   (STR #4602)
 - Restored missing generic printer icon file (STR #4587)
 - Fixed logging of configuration errors to show up as errors (STR #4582)
 - Fixed potential buffer overflows in raster code and filters
   (STR #4598, STR #4599, STR #4600, STR #4601)
 - Fixed a gzip processing bug (#4602)
 - Fixed <Limit> inside <Location> (STR #4575)
 - Fixed lpadmin when both -m and -o are used (STR #4578)
 - The web interface always showed support for 2-sided printing
   (STR #4595)
 - cupsRasterReadHeader did not fully validate the raster header
   (STR #4596)
 - The rastertopwg filter did not check for truncated input (STR #4597)
 - The cups-lpd mini-daemon did not check for request parameters
   (STR #4603)
 - The scheduler could get caught in a busy loop (STR #4605)
 - The sample Epson driver could crash (STR #4616)
 - The IPP backend now correctly monitors jobs
   (<rdar://problem/20495955>)
 - The ppdhtml and ppdpo utilities crashed when the -D option was used
   before a driver information file (STR #4627)
 - ippfind incorrectly substituted "=port" for service_port.
 - The IPP/1.1 test file did not handle the initial print job
   completing early (STR #4576)
 - Fixed a memory leak in cupsConnectDest (STR #4634)
 - PWG Raster Format output contained invalid ImageBox values
   (<rdar://problem/21144309>)
 - Added Russian translation (STR #4577)
 - Added German translation (STR #4635)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.219 2015/06/12 10:50:57 wiz Exp $
d9 1
a42 1
CONFIGURE_ARGS+=	--enable-openssl
d168 1
@


1.219
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.218 2015/04/23 09:29:22 jperkin Exp $
d9 1
a9 2
PKGREVISION=	1
BASE_VERS=	2.0.2
@


1.218
log
@Explicitly disable epoll on illumos, it is provided for Linux compat only.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.217 2015/03/14 21:07:37 tnn Exp $
d9 1
@


1.217
log
@fix iconv linkage
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.216 2015/02/17 13:53:48 wiz Exp $
d59 4
a62 2
LIBS_SSP =		-lssp_nonshared -lssp
CONFIGURE_ENV+=	LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.216
log
@Update to 2.0.2:

CHANGES IN CUPS V2.0.2

	- Security: cupsRasterReadPixels buffer overflow with invalid page
	  header and compressed raster data (STR #4551)
	- Command-line programs were not localized on Mac OS X
	  (<rdar://problem/14546232>)
	- The scheduler incorrectly cleared the MakeModel string in the
	  printers.conf file after a restart (<rdar://problem/16827518>)
	- CUPS did not compile with older versions of GNU TLS (STR #4527)
	- CUPS did not compile without Avahi or mDNSResponder (STR #4523)
	- ippLength() did not return the correct length for IPP_TAG_CONST
	  string values.
	- The scheduler incorrectly aborted jobs after a job was restarted
	  (<rdar://problem/19129387>)
	- The cups-files.conf file contained the old ServerCertificate/Key
	  directives instead of ServerKeychain.
	- Fixed builds when no SSL/TLS library is available, or when explicitly
	  disabled (STR #4531)
	- Fixed an OpenBSD charset transcoding issue.
	- Fixed USB printing on OpenBSD (STR #4525)
	- The --without-xinetd configure option did not work (STR #4542)
	- Backends needing to load OS X kernel extensions did not work
	  (<rdar://problem/19015679>)
	- Mapping of PPD keywords to IPP keywords did not work if the PPD
	  keyword was already an IPP keyword (<rdar://problem/19121005>)
	- cupsGetPPD* sent bad requests (STR #4567)
	- ippserver used the wrong temporary directory on Windows (STR #4547)
	- ippserver did not handle Bonjour registrations properly (STR #4548)
	- The scheduler could crash during shutdown if Avahi was shutdown
	  first (STR #4550)
	- Added a USB quirk rule for Intermec printers (STR #4553)
	- The scheduler did not always log which configuration file had the
	  error (STR #4559)
	- The ippfind and ipptool programs now correctly match hostnames with
	  trailing dots (STR #4563)
	- The ipptool timeout option did not work (STR #4515)
	- Fixed several issues with client.conf, CUPS_SERVER, and the "-h"
	  option of most commands (STR #4528)
	- Another change for OpenBSD (STR #4526)
	- Added Japanese localization (STR #4524)
	- Documentation changes (STR #4569)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.215 2015/01/02 02:03:42 christos Exp $
a60 1
LIBS.SunOS+=		-liconv
d62 1
@


1.215
log
@Update cups to 2.0.1 to handle most vuln warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.214 2014/10/09 14:06:51 wiz Exp $
d9 1
a9 1
BASE_VERS=	2.0.1
a27 2
# patch-a[jkl] were added for 2.60
AUTOCONF_REQD=		2.60
@


1.214
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.213 2014/09/07 20:48:51 wiz Exp $
d9 1
a9 1
BASE_VERS=	1.7.5
@


1.213
log
@Update to 1.7.5. Remove missing patch from distinfo.

CHANGES IN CUPS V1.7.5

	- Security: Addressed some more situations where symlinked files would
	  be served by the web interface (STR #4455)
	- The LPD backend did not work with some versions of glibc (STR #4452)
	- CGI scripts did not work (STR #4454)
	- The cupsd.conf man page did not list the ErrorPolicy directive
	  (STR #4457)
	- Updated the Brazilian Portuguese translation (STR #4456)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.212 2014/08/23 20:02:11 schnoebe Exp $
a21 2
#PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.212
log
@
Makefile:
    bump PKGREVISION;
    drop a number of no longer supported configuration flags
    Add cups-files.conf to the list of CONF_FILES
PLIST:
    add cups-files.conf to example files installed
options.mk:
    remove a number of now meaningless configuration options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.211 2014/08/22 21:54:38 wiz Exp $
d9 1
a9 3
PKGREVISION=	2
BASE_VERS=	1.7.4
#BASE_VERS=	1.7.5
@


1.211
log
@Do not install banner files and testprint, to avoid conflict with
cups-filters, which installs them too.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.210 2014/07/29 11:38:40 wiz Exp $
d9 1
a9 1
PKGREVISION=	1
d11 1
a46 3
CONFIGURE_ARGS+=	--enable-jpeg
CONFIGURE_ARGS+=	--enable-png
CONFIGURE_ARGS+=	--enable-tiff
a48 2
CONFIGURE_ARGS+=	--enable-bannertops
CONFIGURE_ARGS+=	--enable-texttops
a57 1
CONFIGURE_ARGS+=	--disable-ldap
d113 2
a114 1
CONF_FILES=		${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
d168 1
a168 1
	${RUN} for file in cupsd.conf snmp.conf ; do			\
@


1.210
log
@Update to 1.7.4:

CHANGES IN CUPS V1.7.4

	- Security: The web interface incorrectly served symlinked files and
	  files that were not world-readable, potentially leading to a
	  disclosure of information (STR #4450)
	- The CUPS headers incorrectly needed libdispatch for blocks support
	  (STR #4397)
	- CUPS did not compile when Avahi or mDNSResponder was not present
	  (STR #4402, STR #4424)
	- The "snmp" option did not work with the network backends (STR #4422)
	- The User directive in client.conf did not override the USER
	  environment variable (STR #4426)
	- The web interface now properly shows a "Go" button for all text-based
	  browsers (STR #4425)
	- The MaxJobTime directive now properly supports time values (STR #4434)
	- The RPM spec file did not work due to the new Brazilian Portuguese
	  localization (STR #4436)
	- Fixed an "IPP read error" issue (STR #4440)
	- Fixed the --disable-libusb configure option (STR #4439)
	- Fixed the debug output from the DNS-SD backend when using Avahi
	  (STR #4444)
	- Fixed a bug in the CUPS_SC_GET_DEVICE_ID handling by the network
	  backends (STR #4447)
	- Added USB quirk rule for Lexmark E230 (STR #4448)
	- The LPD backend did not work with some versions of glibc (STR #4452)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.209 2014/06/07 07:34:05 wiz Exp $
d9 1
@


1.209
log
@Update to 1.7.3 based on patch by Leonardo Taccari on pkgsrc-users.
Additionally, remove patch-au since it is now superfluous.

CHANGES IN CUPS V1.7.3

	- Added Brazilian Portuguese translation (STR #4409)
	- Fixed mapping of OutputBin values such as "Tray1"
	  (<rdar://problem/16685606>)
	- Several ippGet* functions incorrectly returned -1 instead of 0 on
	  error.
	- The cupsGetResponse function did not work properly with
	  CUPS_HTTP_DEFAULT (<rdar://problem/16762593>)
	- The IPP backend did not abort a job when the printer did not validate
	  the supplied options (<rdar://problem/16836752>)
	- Fixed an authentication race condition in cupsSendRequest (STR #4403)
	- The scheduler did not add the "job-hold-until-specified" reason when
	  holding a job using the lp command (STR #4405)
	- The CUPS headers incorrectly needed libdispatch for blocks support
	  (STR #4397)
	- The configure script incorrectly added libgcrypt as a GNU TLS
	  dependency (STR #4399)
	- CUPS did not compile when Avahi or mDNSResponder was not present
	  (STR #4402)
	- cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT
	  (STR #4414)
	- Auto-typing of PWG Raster files did not work (STR #4417)
	- IPP queues using hardcoded credentials would ask for credentials
	  (STR #4371)
	- Dates in non-UTF-8 locales did not display correctly (STR #4388)
	- The RPM spec file now looks for libusb-devel 1.0 or later.
	- Fixed the "create-printer-subscription.test" file for IPPTOOL
	  (STR #4420)


CHANGES IN CUPS V1.7.2

	- Security: The scheduler now blocks URLs containing embedded HTML
	  (STR #4356)
	- Documentation fixes (STR #3259, STR #4346, STR #4355)
	- Fixed the Japanese localization (STR #4385)
	- Added a German localization (STR #4363)
	- The cupsfilter command incorrectly read the cupsd.conf file; it now
	  reads the cups-files.conf file instead.
	- Fixed OS X builds with Xcode 5.x (<rdar://problem/15914959>)
	- Fixed SSL support on Windows (STR #4358)
	- Fixed documentation and naming of Create-Job/Printer-Subscriptions
	  operations (STR #4389)
	- Phone numbers in fax jobs were not properly filtered for IPP FaxOut
	  (<rdar://problem/16351701>)
	- Fixed a memory leak in the label printer driver (STR #4393)
	- Updated Linux "relro" support (STR #4349)
	- cupsEnumDests did not set the "is_default" field (STR #4332)
	- cupsDoIORequest could miss the server status, causing failed lpadmin
	  and other administrative commands (STR #4386)
	- cupsEnumDests didn't always call the callback function (STR #4380)
	- "lp -i job-id -H hold" did not work (STR #4401)
	- CUPS didn't compile on older platforms (STR #4338)
	- Several libcups files did not have the Apple license exception
	  notice (STR #4361)
	- Fixed a D-BUS threading issue that caused the scheduler to crash
	  (STR #4347)
	- The scheduler now automatically reconnects to Avahi as needed
	  (STR #4370, STR #4373)
	- The scheduler did not handle GET requests for the log files properly
	  (STR #3265)
	- The dnssd backend did not always report all discovered printers using
	  Avahi (STR #4365)
	- The Zebra printer driver did not properly handle negative "label top"
	  values (STR #4354)
	- The scheduler did not always update the MakeModel value in
	  printers.conf after updating the driver (STR #4264)
	- The LPD mini daemon did not support print jobs larger than 2GB
	  (STR #4351)
	- Fixed a bug in the status reading code when sending a compressed data
	  stream to an IPP printer/server (<rdar://problem/16019623>)
	- The IPP backend might not include all job attributes in Validate-Job
	  operations (<rdar://problem/16025435>)
	- Fixed some clang-reported issues (<rdar://problem/15936066>)


CHANGES IN CUPS V1.7.1

	- Security: the lppasswd program incorrectly used settings from
	  ~/.cups/client.conf (STR #4319)
	- Auto debug logging was broken in 1.7.0 (<rdar://problem/15331639>)
	- Some gzip'd PPD files could not be used (<rdar://problem/15386424>)
	- Cleaned up some job logging in the scheduler
	  (<rdar://problem/15332672>)
	- ATTR messages could cause string pool memory corruption in the
	  scheduler (<rdar://problem/15382819>)
	- The RPM spec file did not list the build requirements; this was on
	  purpose, but now we are listing the Red Hat package names
	  (<rdar://problem/15375760>, STR #4322)
	- Printing to a raw queue could result in corrupt output due to
	  opportunistic compression (<rdar://problem/15008524>)
	- The GNU TLS support code triggered many compiler warnings due to the
	  use of old GNU TLS compatibility type names
	  (<rdar://problem/15392966>)
	- The "make check" test suite did not work on Linux without the
	  cups-filters package installed (<rdar://problem/14292998>)
	- Japanese PPDs using with the Shift-JIS encoding did not work
	  (<rdar://problem/15427759>)
	- "tel:" URIs incorrectly had slashes (<rdar://problem/15418463>)
	- The libusb-based USB backend incorrectly used write timeouts
	  (<rdar://problem/15564888>)
	- Shared printers could become inaccessible after a few days on OS X
	  (<rdar://problem/15426838>)
	- The IPP backend did not wait for a busy printer to become available
	  before attempting to print (<rdar://problem/15465667>)
	- CUPS did not support "auto-monochrome" or "process-monochrome" for the
	  "print-color-mode" option (<rdar://problem/15482520>)
	- Using "@@IF(name)" in an Allow or Deny rule did not work (STR #4328)
	- lpq and lpstat did not list jobs in the correct order when priorities
	  were specified (STR #4326)
	- The D-BUS notifier did not remove its lockfile (STR #4314)
	- CUPS incorrectly used the USER environment variable when the name did
	  not match the user ID (STR #4327)


CHANGES IN CUPS V1.7.0

	- Updated Japanese localization.
	- The lpadmin command did not send the PPD name from the "-m" option
	  (<rdar://problem/15264697>)
	- Network backends now use the prtMarkerSuppliesClass property to
	  determine the direction of supply level values
	  (<rdar://problem/14302628>)
	- The scheduler did not remove backup PPD files when a printer was
	  deleted (<rdar://problem/15065555>)
	- The scheduler incorrectly responded to HEAD requests when the web
	  interface was disabled (<rdar://problem/15090332>)
	- The scheduler did not respond using the hostname specified by the
	  client (<rdar://problem/14583574>)
	- Fax queues did not work when shared via Bonjour
	  (<rdar://problem/14498310>)
	- Error messages from the scheduler were not localized using the
	  language specified in the client's IPP request
	  (<rdar://problem/14128011>)
	- Added an Italian localization (<rdar://problem/14481578>)
	- Fixed a couple memory leaks in ippfind that were reported by Clang.
	- Fixed a compile issue on 64-bit Linux with Clang - need to use the
	  -pie option instead of -Wl,-pie now (<rdar://problem/14480938>)
	- The ippfind utility reported the wrong port numbers when compiled
	  against Avahi (<rdar://problem/14508324>)
	- httpGetFd, httpGetFile, httpPutFd, and httpPutFile did not
	  automatically reconnect if the server closed the connecion after the
	  previous response.
	- Fixed a compile error in libcups (<rdar://problem/14467141>)
	- The scheduler incorrectly did not pass a FINAL_CONTENT_TYPE
	  environment variable to the filters or backend
	  (<rdar://problem/14355011>)
	- The cups-exec helper program could fail randomly on OS X due to
	  sandbox violations when closing excess file descriptors
	  (<rdar://problem/14421943>)
	- The scheduler incorrectly did not use the kqueue interface on OS X.


CHANGES IN CUPS V1.7rc1

	- Printer xxx-default values were not reported by Get-Printer-Attributes
	  or lpoptions (<rdar://problem/14401795>)
	- Fixed deprecation warnings for many functions on OS X so they are tied
	  to the deployment version when building (<rdar://problem/14210079>)
	- Fixed a build issue on ARM-based Linux systems - unable to validate
	  va_list arguments.
	- Added a new ippfind tool for finding IPP printers and other Bonjour
	  services (<rdar://problem/13876199>)
	- Fixed some issues with conversion of PWG media size names to
	  hundredths of millimeters (<rdar://problem/14065748>)
	- The IPP backend could crash on OS X when printing to a Kerberized
	  printer (<rdar://problem/14040186>)
	- The ipptool program now automatically extends timeouts when the
	  output buffer is filled (<rdar://problem/14016099>)
	- The ipptool program now supports the --help and --version options.
	- The ipptool program did not continue past include file errors by
	  default (<rdar://problem/13875803>)
	- The ipptool program now supports FILE-ID and TEST-ID directives and
	  includes their values in its XML output (<rdar://problem/13876038>)
	- The ipptool program now supports WITH-HOSTNAME, WITH-RESOURCE, and
	  WITH-SCHEME expect predicates to compare the corresponding URI
	  components (<rdar://problem/13876091>)


CHANGES IN CUPS V1.7b1

	- The configure script now supports a --with-rundir option to change
	  the transient run-time state directory from the default to other
	  locations like /run/cups (STR #4306)
	- The scheduler now supports PPD lookups for classes (STR #4296)
	- The cupsfilter program did not set the FINAL_CONTENT_TYPE
	  environment variable for filters.
	- Added a new "-x" option to the cancel command (STR #4103)
	- Made the PWG media handling APIs public (STR #4267)
	- Implemented ready media support for the cupsGetDestMediaXxx APIs
	  (STR #4289)
	- Added new cupsFindDestDefault, cupsFindDestReady, and
	  cupsFindDestSupported APIs (STR #4289)
	- Added new cupsGetDestMediaByIndex, cupsGetDestMediaCount, and
	  cupsGetDestMediaDefault APIs (STR #4289)
	- Added new ippGet/SetOctetString APIs for getting and setting an
	  octetString value (STR #4289)
	- Added new ippCreateRequestedArray API for generating a array of
	  attributes from the requested-attributes attribute.
	- The ipptool utility now supports compression, conditional tests based
	  on the presence of files, and new DEFINE predicates for STATUS.
	- Added new IPP APIs for checking values (STR #4167)
	- Added new IPP APis for adding and setting formatted strings.
	- Added new HTTP APIs to support basic server functionality via libcups.
	- The dnssd backend now generates a 1284 device ID as needed (STR #3702)
	- CUPS now supports compressing and decompressing streamed data
	  (STR #4168)
	- CUPS now supports higher-level PIN printing, external accounting
	  systems, and "print here" printing environments (STR #4169)
	- IRIX is no longer a supported operating system (STR #4092)
	- The PPD compiler now supports JCL options properly (STR #4115)
	- The web interface now checks whether the web browser has cookies
	  enabled and displays a suitable error message (STR #4141)

CHANGES IN CUPS V1.6.4

	- Removed some duplicate size definitions for some ISO sizes that were
	  causing problems (<rdar://problem/14722721>)
	- The IPP backend did not add the "last-document" attribute
	  (<rdar://problem/114660379>)
	- Added a SyncOnClose directive to cups-files.conf to force cupsd to
	  call fsync before closing any configuration/state files it writes
	  (<rdar://problem/14523043>)
	- Added USB quirk rule for Lexmark E238 (<rdar://problem/14493054>)
	- Closed server connections were still not always detected
	  (<rdar://problem/14484313>)
	- The libusb-based USB backend now loads its list of quirks from files
	  in /usr/share/cups/usb instead of using a hardcoded table
	  (<rdar://problem/14442769>)
	- The scheduler did not properly register ICC color profiles with
	  colord (<rdar://problem/14455625>)


CHANGES IN CUPS V1.6.3

	- The configure script now prefers Clang over GCC.
	- Fixed a compile problem on AIX (STR #4307)
	- The default IPP version did not always get set before creating a new
	  IPP request message (<rdar://problem/14401718>)
	- The lp, lpq, lpr, and lpstat now display an error message advising the
	  use of the /version=1.1 ServerName option (<rdar://problem/14290628>)
	- Added documentation about the /version=1.1 option to ServerName in
	  client.conf (<rdar://problem/14216262>)
	- httpStatus(HTTP_ERROR) did not return a useful error message
	  (<rdar://problem/14217326>)
	- The lp, lpq, lpr, and lpstat commands incorrectly ignored the default
	  printer set in the lpoptions file (<rdar://problem/14216472>)
	- Fixed a URI encoding issue for hostnames containing the ` (backquote)
	  character (<rdar://problem/14243133>)
	- Added support for RFC 6874's IPv6 link local address format in URIs
	  (<rdar://problem/13979453>)
	- The USB backend could crash on libusb-based systems if USB was
	  disabled in the BIOS (<rdar://problem/13875729>)
	- Fixed a rounding error in the PWG media size mapping code
	  (<rdar://problem/13493241>)
	- Fixed several ipptool test files that used old STATUS names.
	- Kerberos credentials could get truncated when printing to a shared
	  printer.
	- Printing using "ipps" URIs was not encrypted.
	- Insecure ICC profiles prevented installation of user profiles for a
	  printer on OS X.
	- Added more USB quirks for the libusb-based backend (STR #4311,
	  <rdar://problem/13736470>)
	- The Russian web interface templates were broken (STR #4310)
	- The scheduler no longer tries to do Kerberos authentication over the
	  loopback interface.
	- The IPP backend could fail to pause a job for authentication
	  (STR #4298)
	- Fixed a regression on the handling of auth keys on OS X if the
	  cups-files.conf was not present or did not contain a SystemAuthKey
	  value.
	- The scheduler incorrectly did a reverse lookup of the server address
	  when HostNameLookups was turned off (STR #4302)
	- The scheduler incorrectly computed the final content type value when
	  null filters were present.


CHANGES IN CUPS V1.6.2

	- Documentation fixes (STR #4229, STR #4239, STR #4234, STR #4248,
	  STR #4259)
	- Security: All file, directory, user, and group settings are now stored
	  in a separate cups-files.conf configuration file that cannot be set
	  through the CUPS web interface or APIs (STR #4223)
	- Added a Czech localization (STR #4201)
	- Added a French localization (STR #4247)
	- Added a Russian localization (STR #4228, STR #4285)
	- Updated the Catalan localization (STR #4202)
	- Local certificate authentication did not guard against an empty
	  certification file (STR #4293)
	- The scheduler did not reject device URIs with spaces.
	- Added USB quirk rule for Epson Stylus Photo 750 (STR #4286)
	- The IPP backend could crash if the printer disconnects early
	  (STR #4284)
	- cupsGetPPD did not work with statically-configured CUPS shared
	  queues (STR #4178)
	- The scheduler did not support long MIME media types (STR #4270)
	- The cupsfilter command did not set the CHARSET environment variable
	  for the text filters (STR #4273)
	- The lp command did not show errors for unknown "--foo" (STR #4261)
	- Bad IPP responses could crash ipptool (STR #4262)
	- Updated USB quirk rules for Canon and Xerox printers (STR #4217,
	  STR #4263)
	- Added USB blacklisting for printers that require a custom backend
	  (STR #4218)
	- The PPD compiler did not correctly JCL options (STR #4115, STR #4203)
	- The ipptool program now supports DEFINE-MATCH and DEFINE-NO-MATCH
	  predicates for STATUS directives.
	- Fixed a problem with local Kerberos authentication (STR #4140)
	- Coverity scan: fixed some minor issues (STR #4242)
	- The scheduler did not remove color profiles after deleting a printer
	  (STR #4232, STR #4276)
	- The CUPS library did not always detect a timed out connection to the
	  server which could cause temporary loss of printing from applications
	  (STR #4187)
	- The ipptool program now supports variable substitution in OPERATION
	  and DELAY directives (STR #4175)
	- The IPP backend now stops queues when the server configuration
	  prevents successful job submission (STR #4125)
	- The XML output of ipptool contained empty dictionaries (STR #4136)
	- The scheduler did not delete job control backup files (STR #4244)
	- cupsGetPPD3 could return a local PPD instead of the correct remote
	  PPD.
	- The scheduler incorrectly advertised auth-info-required for local
	  queues needing local authentication (STR #4205)
	- CUPS 1.6 clients using the ServerName directive in client.conf did not
	  work with CUPS 1.3.x or older servers (STR #4231, STR #4291)
	- The SNMP backend now tries to work around broken printers that use a
	  newline to separate key/value pairs.
	- The IPP backend did not send a cancel request to printers when a job
	  was canceled and the printer did not support Create-Job.
	- Fixed EPM packaging files (STR #4199)
	- OpenBSD build fix (STR #4195, STR #4196, STR #4197)
	- The scheduler could crash when using Avahi (STR #4183, STR #4192,
	  STR #4200, STR #4213)
	- The IPP backend could get stuck in an endless loop on certain network
	  errors (STR #4194)
	- 32-bit builds failed on Debian (STR #4133)
	- The scheduler no longer accepts or sends job description attributes.
	- The IPP backend now works around some conformance issues for broken
	  printers (STR #4190)
	- cupsBackendReport() now filters out all control characters from the
	  reported 1284 device IDs (STR #4124)
	- The scheduler no longer allows job-name values that are not valid
	  network Unicode strings (STR #4072)
	- The web interface did not preserve the order of classes, jobs, or
	  printers (STR #4170)
	- The network backends now support disabling of SNMP supply level
	  queries via the "snmp" URI option (STR #4106)
	- The IPP backend did not specify the compression used (STR #4181)
	- ipptool did not support octetString values.
	- The scheduler did not recognize dnssd: or ipps: URIs as Bonjour shared
	  queues (STR #4158)
	- Applications could not get the PPD file for statically-configured
	  Bonjour-shared print queues (STR #4159)
	- The cupsd.conf file included obsolete browsing directives (STR #4157)
	- Fixed a USB backend compatibility issue on systems using libusb
	  (STR #4155, STR #4191)
	- Some Bonjour features were not available on systems with Avahi
	  (STR #4156)
	- CUPS now includes the port number in the Host: header for HTTP
	  requests.
	- Fixed REPEAT-MATCH for STATUS and EXPECT - was incorrectly erroring
	  out.


CHANGES IN CUPS V1.6.1

	- Documentation fix (STR #4149)
	- RPM packaging fixes (STR #4129, #4145)
	- The Japanese and English web interface headers were swapped
	  (STR #4148)


CHANGES IN CUPS V1.6.0

	- Document changes (STR #4131)
	- Added new Catalan (STR #4107) and Spanish (STR #4137) localizations.


CHANGES IN CUPS V1.6rc1

	- Added a new Japanese localization (STR #4122)
	- The SNMP backend no longer exits if it is unable to obtain an IPv6
	  socket (STR #4109)
	- The LPD backend incorrectly used "localhost" in the control file
	  instead of the current hostname.


CHANGES IN CUPS V1.6b1

	- Documentation updates (STR #3927, STR #3980, STR #4010, STR #4068)
	- The scheduler now consolidates all PPD updates from filters at the
	  end of the job (STR #4075)
	- CUPS now supports color management using colord (STR #3808)
	- CUPS now supports Bonjour using Avahi (STR #3066)
	- The PreserveJobFiles and PreserveJobHistory directives now support
	  specification of a time interval (STR #3143)
	- PPD files can now be archived in (gzip'd) tar files to further reduce
	  the disk space used by PPD files (STR #3772)
	- The network backends now deal with printers that report their levels
	  in percent but do not specify a maximum capacity of 100 (STR #3551)
	- The network backends now report full/almost-full waste bins in
	  printers along with end-of-life for cleaning pads (STR #4017)
	- Added a configure option to set the permissions of the installed
	  cupsd (STR #3459)
	- Added a new WITH-ALL-VALUES directive to ipptool EXPECT predicates
	  (STR #3949)
	- CUPS now supports a User directive in client.conf and the CUPS_USER
	  environment variable for overriding the default username (STR #3114)
	- Now set the PJL USERNAME variable as needed (STR #3100)
	- Added support for usernames and passwords longer than 32 characters
	  (STR #2856)
	- Added a new MaxHoldTime directive to automatically cancel jobs that
	  have been held indefinitely after a specific number of seconds
	  (STR #2291)
	- The LPD backend now uses the originating host name when it is not the
	  local system (STR #2053)
	- CUPS now prefers the suffix "dpcm" when reporting resolution in dots-
	  per-centimeter (STR #4006)
	- The configure script and build system no longer support building of
	  separate 32-bit and 64-bit libraries.
	- The "brightness", "columns", "fitplot", "gamma", "hue",
	  "natural-scaling", "penwidth", "position", "ppi", "saturation", and
	  "scaling" options are not longer supported (STR #4010)
	- The "page-bottom", "page-left", "page-right", "page-top",
	  "prettyprint", and "wrap" options have been deprecated (STR #4010)
	- The scheduler now reports the standard "number-of-documents" attribute
	  instead of the CUPS-specific "document-count" attribute in
	  job objects.
	- Added new destination connection and enumeration functions (STR #3924)
	- Added new option, localization, and job submission functions that do
	  not depend on PPD files (STR #3925)
	- Added a new MaxJobTime directive for cupsd that specifies the maximum
	  amount of time allowed for a job to complete before it is canceled.
	- The default password callback now supports passwords up to 127
	  characters.
	- The scheduler now supports a DefaultAuthType of "auto" to
	  automatically choose between Basic (username/password) and Negotiate
	  (Kerberos) authentication.
	- cupsSideChannelSNMPGet/Walk now support OIDs and values up to 64k in
	  length.
	- CUPS no longer supports automatic remote printers or implicit classes
	  via the CUPS, LDAP, or SLP protocols (STR #3922, STR #3923)
	- The PPD APIs are now deprecated and will be removed in a future
	  version of CUPS (STR #3927)
	- The default IPP version for requests is now 2.0 (STR #3929)
	- The IPP APIs no longer expose the ipp_t or ipp_attribute_t structures
	  and instead provide accessor functions (STR #3928)
	- The scheduler will no longer run programs with group write permission.
	- The PHP module has been removed (STR #3932)
	- The bannertops, commandtoescpx, commandtopclx, imagetops,
	  imagetoraster, pdftops, rastertoescpx, rastertopclx, and texttops
	  filters have been removed (STR #3930)
	- The serial and parallel backends have been removed (STR 3935)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.208 2014/06/03 15:08:52 wiz Exp $
d9 1
a9 1
BASE_VERS=	1.7.3
@


1.208
log
@Update MASTER_SITES. From Thomas Mueller.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.207 2014/06/01 06:19:02 ryoon Exp $
d9 1
a9 1
BASE_VERS=	1.5.4
a10 1
PKGREVISION=	12
@


1.207
log
@Fix OpenBSD and FreeBSD (clang) builds
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.206 2014/05/29 23:37:15 wiz Exp $
a10 1

d13 1
a13 3
MASTER_SITES=	http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/
@


1.206
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.205 2014/05/16 12:27:48 richard Exp $
d83 7
@


1.205
log
@forced revert re joerg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.204 2014/05/15 12:51:58 wiz Exp $
d12 1
a12 1
PKGREVISION=	11
@


1.204
log
@Fix CVE-2014-2856 using upstream patch.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.203 2014/05/10 13:45:20 richard Exp $
d73 2
a74 2
#LIBS_SSP =		-lssp_nonshared -lssp
#CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.203
log
@revbump cups after update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.202 2014/05/10 13:42:08 richard Exp $
d12 1
a12 1
PKGREVISION=	10
@


1.202
log
@Use libtool -fstack-protector support in cups
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.201 2014/02/12 23:18:28 tron Exp $
d12 1
a12 1
PKGREVISION=	9
@


1.201
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.200 2013/10/14 05:53:17 richard Exp $
d73 2
a74 2
LIBS_SSP =		-lssp_nonshared -lssp
CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.201.2.1
log
@Pullup ticket #4407 - requested by wiz
print/cups: security patch

Revisions pulled up:
- print/cups/Makefile                                           1.204
- print/cups/distinfo                                           1.98
- print/cups/patches/patch-scheduler_client.c                   1.1

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Thu May 15 12:51:58 UTC 2014

   Modified Files:
   	pkgsrc/print/cups: Makefile distinfo
   Added Files:
   	pkgsrc/print/cups/patches: patch-scheduler_client.c

   Log Message:
   Fix CVE-2014-2856 using upstream patch.
   Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD$
d12 1
a12 1
PKGREVISION=	11
@


1.200
log
@add -lssp for solaris in print/cups for dependant programs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.199 2013/07/12 10:45:01 jperkin Exp $
d12 1
a12 1
PKGREVISION=	8
@


1.199
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.198 2013/05/31 12:41:47 wiz Exp $
d12 1
a12 1
PKGREVISION=	7
d73 2
a74 1
CONFIGURE_ENV+=		LIBS_SSP=-lssp_nonshared
@


1.198
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.197 2013/04/24 10:06:51 sbd Exp $
d12 1
a12 1
PKGREVISION=	6
@


1.197
log
@Revbump for all packages that have USE_TOOLS+=gs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.196 2013/02/16 11:17:58 wiz Exp $
d12 1
a12 1
PKGREVISION=	5
@


1.196
log
@Recursive bump for png-1.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.195 2013/02/06 23:20:58 jperkin Exp $
d12 1
a12 1
PKGREVISION=	4
@


1.195
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.194 2013/01/26 21:36:42 adam Exp $
d12 1
a12 1
PKGREVISION=	3
@


1.194
log
@Revbump after graphics/jpeg and textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.193 2012/10/08 13:45:36 asau Exp $
d12 1
a12 1
PKGREVISION=	2
@


1.193
log
@Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.192 2012/10/03 21:57:17 wiz Exp $
d12 1
a12 1
PKGREVISION=	1
@


1.192
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.191 2012/09/18 07:17:28 bouyer Exp $
a23 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.191
log
@Update to 1.5.4 (ok by wiz@@):
        - Documentation updates (STR #4112, STR #4130, STR #4134)
        - Fixes for libusb-based USB backend (STR #4128)
        - The lpq command did not show the owner or title of jobs unless passed
          a username on the command-line (STR #4135)
        - Localized empty strings contained the message catalog metadata
          (STR #4119)
        - Fixed a crash in the libusb-based USB backend (STR #4099)
        - The cups-lpd mini-daemon no longer handled jobs with multiple copies
          (STR #4118)
        - Multiple libusb backend fixes (STR #4098, STR #4100)
        - The IPP backend no longer tries to get the job status for printers
          that do not implement the required operation (STR #4083)
        - Sending a document in an unsupported format to an IPP printer now
          automatically cancels the job (STR #4093)
        - Fix some error reporting issues when printing from /dev/null and
          other unusual situations (STR #4015)
        - The scheduler now sets the CUPS_MAX_MESSAGE environment variable for
          filters (STR #4074)
        - Fixed a build issue when using older versions of autoconf (STR #4084)
        - The IPP backend now treats the client-error-not-possible status code
          as a job history issue, allowing IPP printing to Windows to work
          (STR #4047)
        - The IPP backend incorrectly included the document-format and
          compression attributes in Create-Job requests (STR #4086)
        - The libusb-based USB backend did not work on non-Linux platforms
          (STR #4088)

        - httpReconnect() did not reset the read/write buffers (STR #4065)
        - Compiling without threading support failed (STR #4060)
        - Fixed compile problem with old versions of OpenSSL (STR #4036)
        - The network backends did not check SNMP supply levels regularly
          (STR #4040)
        - The online help always included the "help on help" text (STR #4042)
        - Fixed a SSL handshake issue on OS X (STR #4045)
        - The scheduler could crash if a PPD file contained an invalid paper
          size (STR #4049)
        - The CUPS polling daemon did not reinitialize its connection to the
          remote server on errors in all cases (STR #4031)
        - PostScript auto-configuration was slow and unreliable with some
          printers (STR #4028)
        - Missing localizations caused empty output (STR #4033)
        - The cups-driverd program could temporarily "forget" a PPD file if it
          was updated in place.
        - The dnssd backend now prefers IPPS over IPP.
        - The USB backend now uses and requires LIBUSB 1.0 or later (STR #3477)
        - The LIBUSB-based USB backend now supports the back-channel (STR #2890)
        - Changed how timeouts are implemented in the LPD backend (STR #4013)
        - Added more supported color names for SNMP supplies (STR #3981)
        - The default InputSlot setting was never used (STR #3957)
        - POSIX ACLs are now set properly on certificate files (STR #3970)
        - Supplies with commas in their names were not reported correctly
          (STR #4020)
        - The cupsGetPPD3() function created a temporary file when one was not
          needed (STR #4018)
        - The scheduler now ensures that job notifications contain a value for
          the notify-printer-uri attribute (STR #4014)
        - The lp and lpr commands did not cancel jobs queued from stdin on an
          error (STR #4015)
        - Fixed the IPP backend's handling of HTTP/1.0 compatibility (STR #3988)
        - The IPP backend did not always setup username/password authentication
          for printers (STR #3985)
        - The IPP backend no longer re-queues print jobs that are too large for
          the printer/server (STR #3977)
        - The RPM spec file did not work (STR #4021, STR #4057)
        - Encryption did not work when the server name ended with "."
          (STR #4011)
        - The multi-purpose tray is now mapped to the IPP "by-pass-tray"
          (STR #4009)
        - The correct media size was not always passed to IPP printers
          (STR #4001)
        - Finishing options were not passed to IPP printers (STR #3995)
        - Fixed iCloud-based Back to My Mac printing (STR #3996)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.190 2012/03/12 13:37:40 fhajny Exp $
d12 1
@


1.190
log
@cups will search for iconv headers and use the library if it finds it.
Added libiconv bl3 to fix build on modern SunOS platforms.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.189 2012/02/07 23:16:57 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.5.2
a10 1
PKGREVISION=	1
d175 3
@


1.189
log
@Update to cups-1.5.2
--------------------

CHANGES IN CUPS V1.5.2

	- Reposted what should have been CUPS 1.5.1.


CHANGES IN CUPS V1.5.1

	- Documentation updates (STR #3885, STR #3886, STR #3946, STR #3969)
	- Localization updates (STR #3840, STR #3989, STR #3997)
	- Build fixes (STR #3956, STR #3999)
	- The SNMP backend did not validate the device URIs reported by printers
	  (STR #4004)
	- cupsBackendReport() did not handle newlines in 1284 Device IDs
	  (STR #4005)
	- USB backend fixes for libusb (STR #3965, STR #3978)
	- The DBUS notifier did not validate string parameters (STR #3984)
	- Group quota ACLs did not work with Kerberos (STR #3972)
	- The IPP backend did not retry when a printer responded with
	  client-error-not-possible (STR #3963)
	- PostScript PPDs with filters used the wrong command filter (STR #3973)
	- The scheduler incorrectly used free() on a POSIX ACL value, which
	  could cause a crash (STR #3970)
	- PPD files using the MacStandard encoding did not work.
	- The web interface did not work on some platforms (STR #3902)
	- The lpstat command would crash when then "-u" option was used by a
	  non-administrator (STR #3953)
	- Japanese supply level reporting did not always work.
	- The DBUS notifier could crash (STR #3947)
	- Relaxed some of the page size checks in cupstestppd.
	- The ipptool program now reports attributes that are repeated within
	  the same attribute group.
	- Updated the PWG raster support to match the current draft
	  specification.
	- Fixed some IPP conformance issues in the scheduler.
	- Added ipptool support for repeating requests.
	- Added IPP/2.2 conformance tests and greatly improved the IPP/1.1,
	  IPP/2.0, and IPP/2.1 conformance testing.
	- IPP messages containing mixed integer/rangeOfInteger values did not
	  work (STR #3942)
	- The ipptool program now provides additional diagnostics for badly-
	  formatted responses (STR #3857)
	- When possible, the IPP backend now stops sending job data early on a
	  cancel.
	- cupsSendRequest and cupsWriteRequestData did not properly read all
	  HTTP headers, preventing authentication and encryption upgrades from
	  working in all cases.
	- The client.conf Server directive is no longer supported on Mac OS X
	  10.7 and later.
	- The IPP backend sent the wrong margins in media-col.
	- The scheduler did not save or restore large Kerberos credentials for
	  jobs.
	- The dnssd backend did not properly browse for secure IPP printers.
	- httpAssembleURI* did not properly escape all special characters in the
	  username/password field.
	- The scheduler now logs config file errors to stderr (STR #3936)
	- The configure script incorrectly used bundle-based localizations on
	  Linux (STR #3938)
	- The cups-driverd helper program did not cache .drv files properly,
	  sometimes leading to a crash (STR #3921)
	- CUPS did not build on stock Mac OS X installations.
	- Encryption was broken with OpenSSL.
	- ipptool's XML output used date/time values with timezone offsets,
	  which are not supported by Mac OS X's NSDate class.
	- Several programs did not support the cupsFilter2 keyword in PPD files.
	- The IPP backend incorrectly reported spool-area-full states.
	- cupsMarkOptions() did not protect against a bad PPD that was missing
	  one or more standard Duplex options.
	- The PostScript filter did not mirror N-up output properly.
	- The ipptool program did not validate UTF-8 strings in XML output.
	- Fixed supply level reporting for some printers.
	- The scheduler no longer automatically logs debug messages for jobs
	  that were held or canceled.
	- The cupsSendRequest function did not flush remaining response data
	  from a previous request, leading to apparent chunking issues.
	- The scheduler did not report the correct version in the Server: header
	  (STR #3903)
	- The scheduler did not support 1284 device IDs reported by driver
	  interface programs longer than 127 characters (STR #3871)
	- The image filters did not support loading images larger than the
	  RIPCache setting (STR #3901)
	- "PAGE: total NNN" messages did not get logged properly (STR #3887)
	- Updated the PWG Raster support to conform to the current draft of the
	  PWG Raster Format specification.
	- The PWG Raster filter did not always write the correct number of
	  padding lines on the bottom of the page (STR #3904)
	- When reporting a denial-of-service attack from the domain socket, the
	  address reported does not always contain the correct path (STR #3888)
	- Badly formed GIF files could cause the image filters to crash
	  (STR #3914)
	- Jobs canceled at the printer were retried by the IPP backend.
	- "cupsfilter -u" deleted the input file instead of the PPD file.
	- The scheduler did not compute the cost of PPD filters defined using
	  the cupsFilter2 keyword properly.
	- The scheduler did not correctly support the maxsize() attribute for
	  PPD filters.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.188 2012/02/06 12:41:20 wiz Exp $
d11 1
d76 1
d177 1
@


1.188
log
@Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.187 2012/01/27 08:50:24 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.5.0
a10 1
PKGREVISION=	2
@


1.187
log
@Disable automatic ldap detection. (Noted in PR/45824)

Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.186 2011/12/02 14:14:58 hans Exp $
d11 1
a11 1
PKGREVISION=	1
@


1.186
log
@Limit ssp fix to SunOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.185 2011/11/14 01:23:26 sbd Exp $
d11 1
d67 1
@


1.185
log
@Skip installing the config files in the ${INSTALL_TARGET} stage, instead
install them in the post-install target.

This allows the destdir stage-install target to run as non root.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.184 2011/11/13 21:49:17 sbd Exp $
d72 4
@


1.184
log
@Update to cups-1.5.0
--------------------

CHANGES IN CUPS V1.5.0

	- Documentation updates.
	- Localization update (STR #3865)
	- Needed to limit TLS to v1.0 on some versions of Mac OS X.
	- The snmp backend did not work with some printers.


CHANGES IN CUPS V1.5rc1

	- Compile fixes (STR #3849, STR #3850)
	- The scheduler didn't check for empty values for several configuration
	  directives (STR #3861)
	- ipptool didn't generate valid XML when a test was skipped.
	- Added additional error checking to the 1284 device ID code (STR #3858)
	- Fixed some compatibility issues migrating from the old usblp backend
	  to the libusb backend (STR #3860)
	- Fixed the wake-from-sleep printing behavior on Mac OS X.
	- The scheduler incorrectly allowed jobs to be held from a terminating
	  state.
	- The cups-driverd program could crash when a PPD was renamed.
	- The dnssd backend took too long to discover printers on large or busy
	  networks with the new default timeout used by lpinfo and the web
	  interface. This resulted in "lost" printers.


CHANGES IN CUPS V1.5b2

	- Documentation updates.
	- Localization updates (STR #3845)
	- Compiler warning cleanup.
	- Fixed PIE support for Linux (STR #3846)
	- Made httpSetTimeout API public and use it in the IPP backend to avoid
	  timeout errors.
	- The scheduler incorrectly set the "authenticated" printer-type bit for
	  remote queues using authentication.


CHANGES IN CUPS V1.5b1

	- The CUPS library now supports per-connection HTTP timeouts and
	  callbacks.
	- The CUPS library now supports (limited) SSL/TLS X.509 certificate
	  validation and revocation (STR #1616)
	- Updated the PostScript filter to support IncludeFeature in more
	  circumstances (STR #3417)
	- The schedule did not correctly parse some IPv6 addresses and masks in
	  the cupsd.conf file (STR #3533)
	- Fixed a case-insensitive string comparison issue for locales that do
	  not treat "I" and "i" as equivalent (STR #3800)
	- The scheduler reported an incorrect job-printer-uri value when sharing
	  was not enabled (STR #3639)
	- The scheduler now allows the ServerAlias directive to contain multiple
	  hostnames separated by spaces or commas (STR #3813)
	- The scheduler now sets the process group for child processes and
	  manages the group (STR #2829)
	- Fixed some minor issues discovered by a Coverity scan (STR #3838)
	- The scheduler now more carefully creates and removes configuration,
	  cache, and state files (STR #3715)
	- The lpadmin command now allows default option values to be deleted
	  (STR #2959)
	- The lpadmin command now allows the cupsIPPSupplies and
	  cupsSNMPSupplies keywords to be set in a PPD file (STR #3825)
	- Moving a held job no longer releases it (STR #3839)
	- Restored support for GNU TLS and OpenSSL with threading enabled
	  (STR #3605)
	- Fixed a confusing error message from cups-polld (STR #3806)
	- Increased the default RIPCache value to 128MB (STR #3535)
	- MIME errors are now routed to the error_log file (STR #2410)
	- Updated PDF filter to support new Ghostscript ps2write device
	  (STR #3766)
	- Updated PDF filter to support new Poppler option to preserve page
	  sizes in PDF files when the user has not selected a particular media
	  size (STR #3689)
	- Added new PWG Raster filter for IPP Everywhere printer support.
	- Added job-uuid, printer-uuid, and subscription-uuid attributes.
	- Added support for the cupsSingleFile PPD keyword.
	- Dropped support for the printer-state-history attribute (STR #3654)
	- Added support for a new cupsIPPSupplies keyword in PPD files to allow
	  drivers to disable IPP supply level reporting.
	- Added support for a new cupsFilter2 keyword in PPD files to allow for
	  the propagation of the actual MIME media type produced by a filter.
	- The scheduler did not always get the correct Kerberos username when
	  authenticating (STR #3670)
	- Added new cupsRasterOpenIO function and CUPS_RASTER_WRITE_PWG to the
	  CUPS imaging library to support printing to IPP Everywhere raster
	  printers.
	- The scheduler now provides default values for the pages-per-minute and
	  pages-per-minute-color attributes for PPD files that lack a
	  Throughput keyword.
	- Email notifications did not work on Mac OS X.
	- The cupstestppd program now shows an error for files missing a
	  CloseGroup keyword (STR #3668)
	- Name resolution errors no longer cause queues to stop (STR #3719,
	  STR #3753)
	- Added a new cups-exec helper program that applies security profiles
	  to filters, port monitors, backends, CGI programs, and mini-daemons.
	- The web interface can now be disabled using the WebInterface directive
	  in cupsd.conf (STR #2625)
	- The scheduler now provides privacy controls for jobs and subscriptions
	  (STR #2969)
	- Added new cupsArrayNew3 API which offers memory management of array
	  elements.
	- Added several new color spaces to the CUPS raster format (STR #3419)
	- The Validate-Job operation now uses the same policy as Print-Job by
	  default.
	- CUPS now uses iconv to implement all of its character encoding
	  support (STR #3097)
	- The scheduler now implements the Cancel-Jobs, Cancel-My-Jobs, and
	  Close-Job operations along with the job-ids operation attribute from
	  PWG 5100.11.
	- The main CUPS header (<cups/cups.h>) no longer includes the PPD header
	  (<cups/ppd.h>).
	- The scheduler and CUPS API now support the print-quality job template
	  attribute.
	- The scheduler no longer supports the old Mac OS X Server quota
	  plugin.
	- The scheduler now allows writing to /Users/Shared from print filters
	  on Mac OS X.
	- CUPS no longer supports the old ~/.cupsrc or ~/.lpoptions files from
	  CUPS 1.1.x.  The ~/.cups/client.conf and ~/.cups/lpoptions files that
	  were introduced in CUPS 1.2 must now be used.
	- The ipptest tool is now a first-class user program and has several
	  improvements along with new documentation (STR #3484)
	- The cupstestppd tool now warns about non-unique filenames and
	  provides a way to ignore all filename warnings.
	- Dropped support for the recoverable: and recovered: message prefixes.
	- The scheduler now requires that filters and backends have group write
	  permissions disabled.
	- The PPD compiler now checks for overlapping filenames when writing
	  PPD files.
	- The HP-GL/2 filter is no longer included with CUPS (STR #3322)
	- The SCSI backend is no longer included with CUPS (STR #3500)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.183 2011/11/13 21:06:30 sbd Exp $
d163 1
a163 1
		${MV} -f ${DESTDIR}${CUPS_CONFDIR}/$${file}		\
a165 1
	${RM} -f ${DESTDIR}${CUPS_CONFDIR}/cupsd.conf.default
@


1.183
log
@Remove the usb-backend-both-usblp-and-libusb.dpatch as it is has been dropped
by it original author.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.182 2011/11/13 20:40:48 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.4.8
a10 1
PKGREVISION=	2
a34 1
INSTALL_TARGET=		installcups
d144 1
a144 1
INSTALLATION_DIRS=	${DOCDIR} ${EGDIR} ${MIMEDIR}
d162 3
a164 5
	set -e; cd ${WRKSRC}/conf; for file in cupsd.conf snmp.conf ; do \
		${INSTALL_DATA} $${file} ${DESTDIR}${EGDIR}/$${file};	\
	done
	set -e; cd ${WRKSRC}/conf; for file in mime.convs mime.types; do \
		${INSTALL_DATA} $${file} ${DESTDIR}${MIMEDIR}/$${file};	\
d166 1
d175 1
@


1.182
log
@Move the buildlink3 includes to the bottom of the Makefile and sort.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.181 2011/11/02 23:44:43 sbd Exp $
d11 1
a11 1
PKGREVISION=	1
@


1.181
log
@Correct the comments for CUPS_USER and CUPS_GROUP and add CUPS_SYSTEM_GROUPS
comment.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.180 2011/09/17 14:12:11 wiz Exp $
a126 6
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

d174 4
d179 1
@


1.180
log
@Revert previous and disable automatic gssapi/gnutls detection instead.
Confirmed to fix the issue by christos.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.179 2011/09/16 13:44:44 christos Exp $
d79 3
a81 2
# CUPS_USER	username of the CUPS administrator
# CUPS_GROUP	group of the CUPS administrator
@


1.179
log
@add missing dependencies so that it builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.178 2011/08/28 07:22:12 sbd Exp $
d66 2
a130 2
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
@


1.178
log
@Use str3914.patch from STR #3914 to fix CVE-2011-3170

Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.177 2011/08/28 07:11:00 sbd Exp $
d129 2
@


1.177
log
@Update to cups-1.4.8

CHANGES IN CUPS V1.4.8

        - The scheduler would delete job data files when restarted (STR #3880)
        - The network backends could crash if a printer returned a value of 0
          for the maximum capacity for a supply (STR #3875)

CHANGES IN CUPS V1.4.7

        - Documentation changes (STR #3710, STR #3720, STR #3745, STR #3750,
          STR #3757, STR #3758, STR #3782, STR #3826, STR #3829, STR #3837)
        - Web interface fixes (STR #3412, STR #3345, STR #3455, STR #3707,
          STR #3755, STR #3769, STR #3783)
        - Configure script fixes (STR #3659, STR #3691)
        - Compilation fixes (STR #3718, STR #3771, STR #3774)
        - The imageto* filters could crash with bad GIF files (STR #3867)
        - The scheduler might leave old job data files in the spool directory
          (STR #3795)
        - CUPS did not work with locales using the ASCII character set
          (STR #3832)
        - httpAddrString() did not return a URI-style IPv6 numeric address
          (STR #3814)
        - Fixed an issue when reading compressed CUPS raster streams (STR #3812)
        - Fixed an issue with PostScript printer auto-configuration (STR #3443)
        - Fixed some compatibility issues with the libusb-based USB backend
          (STR #3799)
        - The network backends no longer try to collect SNMP supply and status
          information for raw queues (STR #3809)
        - The DBUS notifier did not report job state changes (STR #3805)
        - The scheduler did not always report that the "normal" print-quality
          value was supported (STR #3803)
        - The gziptoany filter did not report the correct error if it was unable
          to write the uncompressed document to the next filter or backend in
          the chain (STR #3797)
        - The Epson and Oki 9-pin drivers had a bad resolution option
          (STR #3798)
        - The scheduler did not always register the correct default ICC profile
          on Mac OS X.
        - The scheduler did not use the job owner when authorizing access for
          the CUPS-Get-Document operation, preventing non-admins from accessing
          their own jobs.
        - CUPS did not work with some printers that incorrectly implemented the
          HTTP/1.1 standard (STR #3778, STR #3791)
        - The scheduler did not retry fax jobs properly.
        - The scheduler now recognizes an empty cupsCommands PPD keyword as
          meaning that CUPS commands are not supported for a printer (STR #3773)
        - Fixed a crash bug in the scheduler when the application/octet-stream
          MIME type was not defined (STR #3690)
        - Polled printers were advertised more slowly than necessary (STR #3574)
        - cupsResolveConflicts() did not handle resolving multiple UIConstraints
          issues (STR #3705)
        - The SetEnv and PassEnv directives had no effect (STR #3664)
        - The web interface no longer tries to use multi-part delivery when
          adding printers (STR #3455)
        - The libusb-based USB backend printed slowly to the LaserJet 1300 and
          other printers (STR #3405)
        - "lp" and "lpr" failed to print with Kerberos enabled (STR #3768)
        - The cupsctl program now displays an error if you try to directly set
          the Port or Listen directives (STR #3749)
        - PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed
          conformance mode (STR #3747)
        - The scheduler generated a bad notify-text string for printer state
          change notifications (STR #3739)
        - The scheduler incorrectly updated printers.conf when it really needed
          to update classes.conf or remote.cache (STR #3726)
        - Hardwired remote printers with options did not work (STR #3717)
        - Accessing the CUPS web interface using a CNAME-based hostname would
          sometimes fail due to redirection to the actual hostname (STR #3701)
        - Subscription events had a misspelled attribute (STR #3693)
        - "make check" failed if LC_MESSAGES was set (STR #3765)
        - Fixed the configure script to always look for the pkg-config script
          (STR #3761)
        - The scheduler now only looks up interface hostnames if HostNameLookups
          are enabled (STR #3737)
        - Fixed a compilation problem on DragonFly BSD (STR #3738)
        - The default PageLogFormat value had the username and job ID swapped
          from CUPS 1.3.x (STR #3727)
        - The scheduler could crash if a browsed printer times out while a job
          is printing (STR #3754)
        - The scheduler incorrectly mapped custom page sizes to standard sizes
          (STR #3764)
        - cupsfilter and pstops did not map IPP attributes to PPD options due to
          a change in cupsMarkOptions (STR #3756)
        - The scheduler did not always show the most recent status message from
          the print filters (STR #3731)
        - The PostScript filter did not apply the mirror and number-up options
          properly, leading to offset and clipped output (STR #3732)
        - The network backends always reported "low toner" or "out of toner"
          states, even for inkjet printers (STR #3733)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.176 2011/01/19 03:28:42 sbd Exp $
d11 1
@


1.176
log
@Update to cups 1.4.6

CHANGES IN CUPS V1.4.6

	- Fixed a "make check" issue on Solaris (STR #3729)
	- Regression: The pstops filter did not support landscape printing of
	  PostScript files (STR #3722)
	- The scheduler killed retried (fax) jobs after restarting them
	  (STR #3697)
	- The cupsAdminSetServerSettings() function disabled sharing when
	  debug logging was enabled (STR #3712)


CHANGES IN CUPS V1.4.5

	- Documentation fixes (STR #3542, STR #3650)
	- Localization fixes (STR #3635, STR #3636, STR #3647, STR #3666)
	- Security: Fixed a memory corruption bug reported in CVE-2010-2941
	  (STR #3648)
	- The CUPS API incorrectly mapped the HTTP_UNAUTHORIZED status to the
	  IPP_NOT_AUTHORIZED status code, when IPP_NOT_AUTHENTICATED would be
	  the correct mapping (STR #3684)
	- The scheduler would restart jobs while shutting down (STR #3679)
	- Fixed a PPD loader bug that could cause a crash in cupsd (STR #3680)
	- Improved the mapping of non-standard PPD and PWG names (STR #3671)
	- The scheduler did not initialize Kerberos in all cases (STR #3662)
	- cupsAdminSetServerSettings duplicated Listen and Order lines
	  (STR #3645)
	- Added DeviceN colorspace support to the CUPS Raster format (STR #3419)
	- ppdMarkDefaults() did not clear the marked field of the previous
	  choices (STR #3642)
	- The serial backend would not allow a raw job to be canceled
	  (STR #3649)
	- The socket backend could go into an infinite loop with certain
	  printers (STR #3622)
	- Setting the PRINTER or LPDEST environment variables to "name/instance"
	  did not work (STR #3485)
	- The scheduler did not handle the JobRetryLimit setting properly
	  (STR #3466)
	- The lpstat command always showed a remote job ID of 0 for shared
	  printers (STR #3627)
	- Increased the write timeout for the libusb-based USB backend to 5
	  minutes (STR #3595)
	- The libusb-base USB backend did not check whether the printer has a
	  serial number (STR #3590)
	- The lpadmin command did not support setting of custom option values
	  (STR #3631)
	- The lpadmin command did not support setting of the location or
	  description of a class (STR #3613)
	- The cupsaddsmb command did not give up after too many failed attempts
	  (STR #3615)
	- The CUPS library no longer uses certain problematic ctype macros that
	  change based on the locale's character set.
	- PJL value substitution of more than 9 values was broken (STR #3621)
	- Custom options with missing string values caused ppdEmit* to segfault
	  (STR #3620)
	- Fixed an issue with the Italian version of the web interface
	  (STR #3624)
	- Fixed the Solaris SMF configuration file for cups-lpd (STR #3611)
	- The scheduler did not set the notify-subscribed-event attribute when
	  delivering printer-added or printer-modified events (STR #3608)
	- The mailto notifier could get into an infinite loop (STR #3609)
	- Date/time information was not shown in banner pages.
	- Relational operators were broken in #if/#elif/#else/#endif expressions
	  for the PPD compiler.
	- Moving a job via the web interface failed without asking for
	  authentication (STR #3559)
	- The scheduler now clears the printer-state-reasons when the driver is
	  changed (STR #3570)
	- The web interface did not allow a user to change the driver
	  (STR #3537, STR #3601)
	- The scheduler was not setting the PATH_INFO environment variable when
	  needed (STR #3600)
	- The scheduler incorrectly set the CUPSD_AUTH_TYPE environment
	  variable instead of AUTH_TYPE (STR #3599)
	- Fixed a buffer overrun in the PPD compiler (STR #3594)
	- Fixed some additional IPP job template attribute mapping issues in the
	  scheduler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.175 2011/01/19 03:01:06 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.4.6
a11 1
PKGREVISION=	1
@


1.176.4.1
log
@Pullup ticket #3513 - requested by sbd
print/cups: security update

Revisions pulled up:
- print/cups/Makefile                                           1.177-1.178
- print/cups/PLIST                                              1.36
- print/cups/distinfo                                           1.81-1.82
- print/cups/patches/patch-aa                                   deleted
- print/cups/patches/patch-filter_image-gif.c                   1.1

---
   Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Sun Aug 28 07:11:01 UTC 2011

   Modified Files:
   	pkgsrc/print/cups: Makefile PLIST distinfo
   Removed Files:
   	pkgsrc/print/cups/patches: patch-aa

   Log Message:
   Update to cups-1.4.8

   CHANGES IN CUPS V1.4.8

           - The scheduler would delete job data files when restarted (STR #3880)
           - The network backends could crash if a printer returned a value of 0
             for the maximum capacity for a supply (STR #3875)

   CHANGES IN CUPS V1.4.7

           - Documentation changes (STR #3710, STR #3720, STR #3745, STR #3750,
             STR #3757, STR #3758, STR #3782, STR #3826, STR #3829, STR #3837)
           - Web interface fixes (STR #3412, STR #3345, STR #3455, STR #3707,
             STR #3755, STR #3769, STR #3783)
           - Configure script fixes (STR #3659, STR #3691)
           - Compilation fixes (STR #3718, STR #3771, STR #3774)
           - The imageto* filters could crash with bad GIF files (STR #3867)
           - The scheduler might leave old job data files in the spool directory
             (STR #3795)
           - CUPS did not work with locales using the ASCII character set
             (STR #3832)
           - httpAddrString() did not return a URI-style IPv6 numeric address
             (STR #3814)
           - Fixed an issue when reading compressed CUPS raster streams (STR #3812)
           - Fixed an issue with PostScript printer auto-configuration (STR #3443)
           - Fixed some compatibility issues with the libusb-based USB backend
             (STR #3799)
           - The network backends no longer try to collect SNMP supply and status
             information for raw queues (STR #3809)
           - The DBUS notifier did not report job state changes (STR #3805)
           - The scheduler did not always report that the "normal" print-quality
             value was supported (STR #3803)
           - The gziptoany filter did not report the correct error if it was unable
             to write the uncompressed document to the next filter or backend in
             the chain (STR #3797)
           - The Epson and Oki 9-pin drivers had a bad resolution option
             (STR #3798)
           - The scheduler did not always register the correct default ICC profile
             on Mac OS X.
           - The scheduler did not use the job owner when authorizing access for
             the CUPS-Get-Document operation, preventing non-admins from accessing
             their own jobs.
           - CUPS did not work with some printers that incorrectly implemented the
             HTTP/1.1 standard (STR #3778, STR #3791)
           - The scheduler did not retry fax jobs properly.
           - The scheduler now recognizes an empty cupsCommands PPD keyword as
             meaning that CUPS commands are not supported for a printer (STR #3773)
           - Fixed a crash bug in the scheduler when the application/octet-stream
             MIME type was not defined (STR #3690)
           - Polled printers were advertised more slowly than necessary (STR #3574)
           - cupsResolveConflicts() did not handle resolving multiple UIConstraints
             issues (STR #3705)
           - The SetEnv and PassEnv directives had no effect (STR #3664)
           - The web interface no longer tries to use multi-part delivery when
             adding printers (STR #3455)
           - The libusb-based USB backend printed slowly to the LaserJet 1300 and
             other printers (STR #3405)
           - "lp" and "lpr" failed to print with Kerberos enabled (STR #3768)
           - The cupsctl program now displays an error if you try to directly set
             the Port or Listen directives (STR #3749)
           - PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed
             conformance mode (STR #3747)
           - The scheduler generated a bad notify-text string for printer state
             change notifications (STR #3739)
           - The scheduler incorrectly updated printers.conf when it really needed
             to update classes.conf or remote.cache (STR #3726)
           - Hardwired remote printers with options did not work (STR #3717)
           - Accessing the CUPS web interface using a CNAME-based hostname would
             sometimes fail due to redirection to the actual hostname (STR #3701)
           - Subscription events had a misspelled attribute (STR #3693)
           - "make check" failed if LC_MESSAGES was set (STR #3765)
           - Fixed the configure script to always look for the pkg-config script
             (STR #3761)
           - The scheduler now only looks up interface hostnames if HostNameLookups
             are enabled (STR #3737)
           - Fixed a compilation problem on DragonFly BSD (STR #3738)
           - The default PageLogFormat value had the username and job ID swapped
             from CUPS 1.3.x (STR #3727)
           - The scheduler could crash if a browsed printer times out while a job
             is printing (STR #3754)
           - The scheduler incorrectly mapped custom page sizes to standard sizes
             (STR #3764)
           - cupsfilter and pstops did not map IPP attributes to PPD options due to
             a change in cupsMarkOptions (STR #3756)
           - The scheduler did not always show the most recent status message from
             the print filters (STR #3731)
           - The PostScript filter did not apply the mirror and number-up options
             properly, leading to offset and clipped output (STR #3732)
           - The network backends always reported "low toner" or "out of toner"
             states, even for inkjet printers (STR #3733)

---
   Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Sun Aug 28 07:22:12 UTC 2011

   Modified Files:
   	pkgsrc/print/cups: Makefile distinfo
   Added Files:
   	pkgsrc/print/cups/patches: patch-filter_image-gif.c

   Log Message:
   Use str3914.patch from STR #3914 to fix CVE-2011-3170

   Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD$
d9 1
a9 1
BASE_VERS=	1.4.8
d11 1
a12 1

@


1.175
log
@Remove PIE flags from LDFLAGS on NetBSD/powerpc they cause runtime
problems in resultant binarys. Closes PR#43826.  Thanks to joerg@@ for
suggesting it was the PIE flags.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.174 2011/01/13 13:36:06 wiz Exp $
d9 1
a9 1
BASE_VERS=	1.4.4
@


1.174
log
@png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.173 2011/01/03 05:58:49 adam Exp $
d141 8
@


1.173
log
@PLIST fix: some files are not installed on Mac OS X; pkglint clean-up
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.172 2010/12/23 11:44:54 dsainty Exp $
d12 1
@


1.172
log
@Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.171 2010/11/12 08:54:58 sbd Exp $
d41 2
a42 2
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR:Q}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}
d46 2
a47 2
CONFIGURE_ARGS+=	--with-cups-user=${CUPS_USER:Q}
CONFIGURE_ARGS+=	--with-cups-group=${CUPS_GROUP:Q}
d71 5
d82 2
a83 2
FILES_SUBST+=		CUPS_USER=${CUPS_USER:Q}
FILES_SUBST+=		CUPS_GROUP=${CUPS_GROUP:Q}
d141 1
a141 1
INSTALL_ENV+=		DSTROOT=${DESTDIR:Q}
@


1.171
log
@Update to cups 1.4.4

CHANGES IN CUPS V1.4.4

	- Documentation updates (STR #3453, STR #3527, STR #3528, STR #3529)
	- Security: The texttops filter did not check the results of allocations
	  (STR #3516)
	- Security: The fix for CVE-2009-3553 was incomplete (STR #3490)
	- Security: The web admin interface could disclose the contents of
	  memory (STR #3577)
	- Security: CUPS could overwrite files as root in directories owned or
	  writable by non-root users (STR #3510)
	- The cups-config utility did not return the correct linker options on
	  AIX (STR #3587)
	- Fixed some IPP conformance issues with the scheduler's
	  ippget-event-life, operations-supported, output-bin, and sides
	  attributes (STR #3554)
	- The OpenSSL interfaces have been made thread-safe and the GNU TLS
	  interface is explicitly forbidden when threading is enabled
	  (STR #3461)
	- Fixed an IPP conformance issue with the scheduler's Send-Document
	  implementation (STR #3514)
	- Added additional validation checks for the 1284 device ID (STR #3534)
	- Fixed a problem with the RPM spec file (STR #3544)
	- The lpstat command did not limit the job list to the specified
	  printers (STR #3541)
	- The cupsfilter command did not set the RIP_MAX_CACHE environment
	  variable (STR #3531)
	- Fixed support for media-col and page size variants (STR #3394)
	- The PostScript filter did not support all media selection options for
	  the first page (STR #3525)
	- The scheduler did not always remove job control files (STR #3425)
	- The scheduler could crash on restart if classes were defined
	  (STR #3524)
	- The scheduler no longer looks up network interface hostnames by
	  default on Mac OS X (STR #3523)
	- ippWriteIO did not write collection (member) attributes properly in
	  all cases (STR #3521)
	- The "cupsctl --remote-any" and corresponding web interface check box
	  (allow printing from the Internet) did not work reliably (STR #3520)
	- The lpq and lpr commands would sometimes choose different default
	  printers (STR #3503)
	- cupsDo*Request did not flush error text, leading to multiple issues
	  (STR #3325, STR #3519)
	- cupsDoAuthentication did not cancel password authentication after 3
	  failures (STR #3518)
	- Fixed several LDAP browsing bugs (STR #3392)
	- The Dymo driver did not support copies (STR #3457)
	- The scheduler did not update the classes.conf file when deleting a
	  printer belonging to a class (STR #3505)
	- The lppasswd command did not use localized password prompts
	  (STR #3492)
	- The socket backend no longer waits for back-channel data on platforms
	  other than Mac OS X (STR #3495)
	- The scheduler didn't send events when a printer started accepting or
	  rejecting jobs (STR #3480)
	- The web interface now includes additional CSRF protection (STR #3498)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.170 2010/11/12 08:24:31 sbd Exp $
d119 1
a119 1
.include "../../graphics/jpeg/buildlink3.mk"
@


1.170
log
@Add str3648.patch by Mike Sweet to address CVE-2010-2941.
Obtained from https://bugzilla.redhat.com/show_bug.cgi?id=624438
as Cups STR#3648 (http://www.cups.org/str.php?L3648) is not public yet!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.169 2010/07/14 11:25:19 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.4.3
a10 1
PKGREVISION=	10
@


1.169
log
@Now that net/mDNSResponder has been update fix the dnssd build

Bump PKGREVISION (again!)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.168 2010/07/13 10:59:42 sbd Exp $
d11 1
a11 1
PKGREVISION=	9
@


1.169.2.1
log
@Pullup ticket #3271 - requested by sbd
print/cups: security patch

Revisions pulled up:
- print/cups/Makefile				1.170
- print/cups/distinfo				1.76
- print/cups/patches/patch-aq			1.4
- print/cups/patches/patch-ar			1.4
---
Module Name:	pkgsrc
Committed By:	sbd
Date:		Fri Nov 12 08:24:32 UTC 2010

Modified Files:
	pkgsrc/print/cups: Makefile distinfo
Added Files:
	pkgsrc/print/cups/patches: patch-aq patch-ar

Log Message:
Add str3648.patch by Mike Sweet to address CVE-2010-2941.
Obtained from https://bugzilla.redhat.com/show_bug.cgi?id=624438
as Cups STR#3648 (http://www.cups.org/str.php?L3648) is not public yet!
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
a11 1
PKGREVISION=	10
@


1.168
log
@the st_gen member of stat(2) is a BSD extension
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.167 2010/06/16 18:18:26 drochner Exp $
d11 1
a11 1
PKGREVISION=	7
@


1.167
log
@add some patches from upstream to fix security problems:
-use-after-free problem (CVE-2010-0302)
-information disclosure (CVE-2010-1748)
-unchecked memory allocation is texttops
-file overwrite problem
(I didn't find references from cups patches to CVE #s, or vice versa,
so the CVE #s are not certain.)
The missing http session check problem (CVE-2010-0540?) is not fixed,
this would be a large patch affecting tens of files.
bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.166 2010/06/13 22:45:14 wiz Exp $
d11 1
a11 1
PKGREVISION=	6
@


1.167.2.1
log
@Pullup ticket #3164 - requested by sbd
print/cups: build fix

Revisions pulled up:
- print/cups/Makefile				1.168
- print/cups/distinfo				1.75
- print/cups/patches/patch-bd			1.5
---
Module Name:	pkgsrc
Committed By:	sbd
Date:		Tue Jul 13 10:59:43 UTC 2010

Modified Files:
	pkgsrc/print/cups: Makefile distinfo
	pkgsrc/print/cups/patches: patch-bd

Log Message:
the st_gen member of stat(2) is a BSD extension
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
a11 1
PKGREVISION=	7
@


1.166
log
@Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.165 2010/06/10 10:28:35 gdt Exp $
d11 1
a11 1
PKGREVISION=	5
@


1.165
log
@Improve libusb-specific MESSAGE by pointing out the big picture about
the shift from traditional ulpt(4)/usblp to libusb.  Clarify that the
backend, when run without arguments, also prints out DeviceURIs of
traditional printers.  PKGREVISION++.

ok sbd@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.164 2010/06/09 09:01:43 sbd Exp $
d11 1
a11 1
PKGREVISION=	4
@


1.164
log
@The usb-backend-both-usblp-and-libusb.dpatch does not make an allowance for
"--disable-libusb", fix that!

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.163 2010/06/05 23:03:15 sbd Exp $
d11 1
a11 1
PKGREVISION=	3
@


1.163
log
@Incorporate:

usb-backend-both-usblp-and-libusb.dpatch by  <till.kamppeter@@gmail.com>

http://www.cups.org/str.php?L3357
One "usb" CUPS backend for both libusb-based and usblp-based access.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.162 2010/05/26 09:18:48 sbd Exp $
d11 1
a11 1
PKGREVISION=	2
@


1.162
log
@Move pkg-config from default USE_TOOLS in to the dbus section of options.mk
so its only added when needed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.161 2010/05/25 11:23:46 sbd Exp $
d11 1
a11 1
PKGREVISION=	1
@


1.161
log
@Add pkg-config (needed for dbus support) to USE_TOOLS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.160 2010/05/24 03:37:59 sbd Exp $
d34 1
a34 1
USE_TOOLS+=		aclocal autoconf automake gmake pkg-config
@


1.160
log
@Fix type s/FILES_SUSST/FILES_SUBST/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.159 2010/05/24 03:32:12 sbd Exp $
d34 1
a34 1
USE_TOOLS+=		aclocal autoconf automake gmake
@


1.159
log
@Change CUPS_GROUP to lp
Add CUPS_SYSTEM_GROUPS

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.158 2010/05/24 03:26:37 sbd Exp $
d80 1
a80 1
FILES_SUSST+=		CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q}
@


1.158
log
@s/ROOT_USER/REAL_ROOT_USER/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.157 2010/05/23 10:03:12 sbd Exp $
d11 1
d49 1
d76 2
a77 1
CUPS_GROUP?=		sys
d80 1
d82 1
a82 1
PKG_GROUPS_VARS+=	CUPS_GROUP
d85 1
a85 1
BUILD_DEFS+=		VARBASE
d140 4
@


1.157
log
@OWN_DIRS(_PERS) cleanup
* Add CUPS_CACHE and use it.
* Add CUPS_STATEDIR and add it to OWN_DIRS
* Move ${CUPS_CONFDIR}/certs to ${CUPS_STATEDIR}/certs
* Add ${CUPS_CACHE}/rss
* Use ${ROOT_USER} instead of ${CUPS_USER} for all OWN_DIRS_PERMS except
  ${CUPS_STATEDIR}/certs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.156 2010/05/23 09:44:12 sbd Exp $
d109 5
a113 5
OWN_DIRS_PERMS+=	${CUPS_CONFDIR}/ssl ${ROOT_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+=	${CUPS_REQUESTS} ${ROOT_USER} ${CUPS_GROUP} 0710
OWN_DIRS_PERMS+=	${CUPS_REQUESTS}/tmp ${ROOT_USER} ${CUPS_GROUP} 1770
OWN_DIRS_PERMS+=	${CUPS_CACHE} ${ROOT_USER} ${CUPS_GROUP} 0775
OWN_DIRS_PERMS+=	${CUPS_CACHE}/rss ${ROOT_USER} ${CUPS_GROUP} 0775
@


1.156
log
@mime.conv & mime.types are now installed in ${PREFIX}/share/cups/mime not
${CUPS_CONFDIR}.

Add snmp.conf to CONF_FILES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.155 2010/05/21 10:05:20 sbd Exp $
d43 1
a43 1
CONFIGURE_ARGS+=	--with-cachedir=${VARBASE:Q}/cache/cups
d90 2
d107 7
a113 5
OWN_DIRS_PERMS=		${CUPS_CONFDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
OWN_DIRS_PERMS+=	${CUPS_CONFDIR}/ssl ${CUPS_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+=	${CUPS_REQUESTS} ${CUPS_USER} ${CUPS_GROUP} 0710
OWN_DIRS_PERMS+=	${CUPS_REQUESTS}/tmp ${CUPS_USER} ${CUPS_GROUP} 1770
OWN_DIRS_PERMS+=	${VARBASE}/cache/cups ${CUPS_USER} ${CUPS_GROUP} 0775
@


1.155
log
@Update to cups 1.4.3

Adds the option acl, libusb and tcpwrappers.

CHANGES IN CUPS V1.4.3

	- SECURITY: The scheduler could try responding on a closed client
	  connection, leading to a crash (STR #3200)
	- SECURITY: The lppasswd program allowed the localization files to be
	  overridden when running in setuid mode (STR #3482)
	- Localization updates (STR #3352, STR #3409, STR #3422, STR #3452,
	  STR #3473, STR #3502)
	- Documentation updates (STR #3451, STR #3504)
	- The IPP backend now sets the printer-state-message to "Ready to
	  print." at the end of a successful job (STR #3460)
	- The PPD compiler did not correctly add the manufacturer to the output
	  filename when using the "-m" option (STR #3469)
	- The IPP backend did not handle authentication properly for the Get-
	  Printer-Attributes operation (STR 3458)
	- Getting SNMP values larger than 127 bytes did not work.
	- IPP conformance: Get-Jobs has a default value for requested-attributes
	  (STR #3383)
	- cupsPrintFiles() did not report all errors (STR #3449)
	- cupsAddDest() could read freed memory (STR #3448)
	- The DBUS notifier did not build (STR #3447)
	- The scheduler would crash when an active printer was deleted.
	- The snmp backend did not work with some printers (STR #3413)
	- The web interface did not show the conflicting values when setting
	  options (STR #3440)
	- Setting options in the web interface did not always work (STR #3439)
	- The scheduler did not use the Get-Job-Attributes policy for a printer
	  (STR #3431)
	- The scheduler added two job-name attributes to each job object
	  (STR #3428)
	- CSS files would not print (STR #3442)
	- The scheduler did not clean out completed jobs when PreserveJobHistory
	  was turned off (STR #3425)
	- The web interface did not show completed jobs for a printer
	  (STR #3436)
	- Authenticated printing did not always work when printing directly to
	  a remote server (STR #3435)
	- The USB backend did not work on Solaris (STR #3423)
	- cupstestppd didn't catch problems with JobPatchFile definitions
	  (STR #3421)
	- The socket backend could crash if a SNMP string had a negative length.
	- Fixed some termination issues with the USB backend on Mac OS X.
	- The side-channel APIs did not handle interrupts properly.
	- The network backends incorrectly cleared the media-empty-warning
	  state.
	- The web interface did not allow users to successfully add serial
	  printers (STR #3391)
	- cupsTempFd() did not work in some situations (STR #3382)
	- Some C API headers were missing C++ wrapper logic.
	- The PPD compiler did not localize single-language PPD options properly
	  (STR #3386)
	- Modifying a printer from the web interface sometimes caused the wrong
	  driver to be selected (STR #3418)
	- The scheduler did not handle out-of-memory conditions properly when
	  loading a job (STR #3407)
	- When adding printers from the web interface, the dynamic updates of
	  the device list made it hard to pick a device (STR #3406)
	- Fixed a typo in the web interface admin page template (STR 3403)
	- The web interface did not preserve the "printer is shared" state when
	  modifying a printer (STR #3390)
	- The PPD compiler incorrectly inserted translations of empty strings
	  (STR #3411)
	- The scheduler did not reset the SIGPIPE handler of child processes
	  (STR #3399)
	- cupsGetNamedDest() incorrectly returned the default printer if the
	  named printer did not exist (STR #3397)
	- Fixed a GNU TLS error handling bug (STR #3381)


CHANGES IN CUPS V1.4.2

	- SECURITY: The CUPS web interface was vulnerable to several XSS and
	  HTTP header/body attacks via attribute injection (STR #3367,
	  STR #3401)
	- Fixed localization errors (STR #3359, STR #3372, STR #3380, STR #3387)
	- The documentation for classes.conf and printers.conf did not provide
	  the correct instructions for manual changes (STR #3351)
	- The scheduler did not always rebuild printer cache files when the
	  driver was changed (STR #3356)
	- The documentation makefile failed to install localizations when using
	  newer versions of Bash (STR #3360)
	- The configure script did not use the --with-xinetd value for the
	  default LPD configuration path (STR #3347)
	- The configure script incorrectly required glib for DBUS support
	  (STR #3346)
	- The cupstestppd program incorrectly reported filters with bad
	  permisssions as missing (STR #3363)
	- The cups.desktop file used the wrong locale names (STR #3358)
	- cupsSideChannelRead() did not return an error for short reads.
	- The installed PAM configuration file did not use the correct options
	  with the pam_unix2 module (STR #3313)
	- The scheduler did not preserve default options that contained special
	  characters (STR #3340)
	- The scheduler did not remove old pre-filters when updating a printer
	  driver (STR #3342)
	- The HP/GL-2 filter did not check for early end-of-file (STR #3319)
	- The USB backend did not compile on some platforms (STR #3332)
	- cupsSideChannelSNMPWalk() could go into an infinite loop with broken
	  SNMP implementations.


CHANGES IN CUPS V1.4.1

	- Documention fixes (STR #3296)
	- SNMP supply levels and states were wrong for some printers.
	- The IPP backend did not update the auth-info-required value.
	- The libusb-based USB backend would hang at the end of the job
	  (STR #3315, STR #3318)
	- DNS-SD registrations for raw queues had an empty "ty" key (STR #3299)
	- The JPEG and BMP MIME type rules were broken (STR #3284)
	- cupsGetNamedDest returned the default printer when the named
	  destination did not exist (STR #3285)
	- The JobKillDelay was not triggered for canceled jobs (STR #3292)
	- The PPD compiler could get in an infinite loop (STR #3293)
	- The configure check for dns-sd.h was broken (STR #3297)
	- The "Query Printer for Default Options" page did not go away if the
	  query job was held (STR #3302)
	- Boolean options did not show up as selected in the web interface
	  (STR #3303)
      	- The scheduler did not cache or report driver information files
	  correctly, leading to a variety of issues (STR #3283, STR #3297,
	  STR #3305)
	- cupsDoIORequest() did not abort on permanent errors (STR #3311)
	- Modifying a class in the web interface did not work (STR #3312)
	- BrowseLocalProtocols could be cleared when changing the sharing
	  setting (STR #3287)
	- The scheduler could return an empty supported document format
	  (STR #3308)
	- The PPD compiler generated invalid PPD files when the locale used
	  something other than "." for the decimal point (STR #3300)
	- The IPP backend did not handle some non-comforming IPP printer
	  implementations (STR #3262)
	- The scheduler leaked three file descriptors to each job filter
	  (STR #3263)
	- The scheduler now uses a default CUPS-Get-Devices timeout of 15
	  seconds (STR #3307)


CHANGES IN CUPS V1.4.0

	- Localization updates (STR #3223, STR #3246, STR #3248, STR #3250)
	- Documentation updates (STR #3225, STR #3230, STR #3242, STR #3260)
	- The --with-pdftops configure option did not accept a full path to the
	  filter (STR #3278)
	- The banner filter did not position the back side image correctly
	  (STR #3277)
	- The dnssd backend could crash (STR #3272)
	- The 1284 device ID sometimes contained trailing garbage (STR #3266)
	- The USB backend returned different URIs for some printers than in
	  CUPS 1.3 (STR #3259)
	- The scheduler did not do local job-hold-until processing for remote
	  queues (STR #3258)
	- The scheduler did not try all possible SSL certificates on Mac OS X.
	- The scheduler did not always remove a file descriptor when using the
	  kqueue interface (STR #3256)
	- The scheduler did not protect against bad job control files in all
	  cases (STR #3253)
	- The scheduler did not encode "+" in model names (STR #3254)
	- The web interface didn't show the default options (STR #3244)
	- The IPP and LPD backends needed print data before they would do an
	  SNMP query.
	- Fixed a GNU TLS compatibility issue (STR #3231)
	- Fixed a HTML error in the add and modify printer web interface
	  templates (STR #3229)
	- The scheduler did not minimize the number of printer state events that
	  were generated by filter STATE: messages, which could lead to poor
	  performance.
	- The USB backend on Mac OS X did not cleanly cancel a job.
	- The network backends now set the connecting-to-device printer-state-
	  reasons value when looking up the address and copying the print data
	  for consistency.
	- The scheduler now supports the com.apple.print.recoverable-warning
	  reason on all platforms.


CHANGES IN CUPS V1.4rc1

	- The PPD compiler documentation was missing information on localization
	  (STR #3212)
	- The IPP backend now reconnects after every request when talking to
	  printers that claim IPP support but only use HTTP/1.0.
	- The PPD compiler crashed when both "Resolution" and "Group foo Option
	  Resolution" were specified in the .drv file.
	- The PPD compiler's #if/#elif/#else/#endif did not work for undefined
	  variables (STR #3210)
	- Static libraries could not be installed by a non-root user on systems
	  needing a ranlib program (STR #3209)
	- The scheduler incorrectly always tried to copy Kerberos credentials
	  for print jobs.
	- Updated the Spanish localization (STR #3204)
	- The scheduler crashed when getting the default paper size from
	  libpaper (STR #3205, STR #3206)
	- The PPD compiler now defines six variables: CUPS_VERSION,
	  CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR, CUPS_VERSION_PATCH,
	  PLATFORM_NAME, and PLATFORM_ARCH (STR #3203)
	- Fixed a whitespace skipping bug in cupsRasterInterpretPPD.
	- The scheduler did not return HTTP 403 (Forbidden) for authenticated
	  users that were not authorized to do IPP operations (STR #3193)
	- The scheduler did not report more than 8 Product strings from a PPD
	  file.  Some PPD files have as many as 24.
	- ppdOpen*() could crash if a keyword had no value string (something
	  that cupstestppd looks for...)
	- cupsLangDefault() did not return the correct language on Mac OS X.
	- The Mac OS X USB backend did not handle aborted or stalled pipe
	  conditions properly, which prevented drivers from ejecting partial
	  pages when a job was canceled or held.


CHANGES IN CUPS V1.4b3

	- Documentation fixes (STR #3044, STR #3057, STR #3153, STR #3158,
	  STR #3173)
	- Added complete localizations for German, Japanese, Polish, and
	  Russian and partial localizations for Chinese, Danish, Finnish,
	  French, Italian, Korean, Norwegian, Portuguese, and Swedish
	  (STR #3096, STR #3098, STR #3109, STR #3111, STR #3141)
	- Updated the configure check for -fstack-protector (STR #3198)
	- The network backends now correctly convert SNMP supply descriptions to
	  UTF-8 encoding as needed.
	- The scheduler could crash when deleting an attribute (STR #3197)
	- The cups-driverd program did not detect symlink loops (STR #3185)
	- The EPSON 24-pin series driver should now feed the correct amount
	  (STR #2624)
	- The scheduler now automatically logs the last N debug messages for
	  failed print jobs.
	- You can now modify a raw print queue (STR #3133)
        - Fixed a number of ppdi issues and added a unit test to validate that
	  ppdc + ppdi can generate and import the same data (STR #3152)
	- Moving jobs in the web interface now shows an error if you only have
	  one printer or class added (STR #3094)
	- Since classes have never truly supported the printer-error-policy
	  stuff added in CUPS 1.2, update the code to reflect the current
	  reality and support only the retry-current-job policy for now
	  (STR #3171)
	- Revised the password callback support (STR #2953)
	- ppdEmit*() did not choose between PageSize and PageRegion properly.
	- Make some fairly substantial changes to the Kerberos support code so
	  that CUPS can work in multi-realm environments and does not require
	  delegatable credentials.  Shared printing still requires delegation,
	  however "delegation by policy" can be enabled in the KDC to make this
	  all work.
	- "AccessLogLevel actions" did not hide client-error-not-found errors.
	- AP_FIRST_InputSlot did not work with number-up.
	- cupsBackChannelRead() and cupsBackChannelWrite() could fail due to a
	  lack of kernel buffers.
	- The IPP and LPD backends did not respond to side-channel requests
	  while copying print data to a temporary file.
	- cupsWriteRequestData() flushed the output buffer unnecessarily,
	  causing reduced performance in some situations.
	- If a CGI process died before sending its MIME headers, the request
	  would hang on the client.
	- The printer/class/job search feature on the web interface did not
	  work (STR #3132)
	- The scheduler did not write the printers out for classes.
	- CUPS-Get-PPDs did not work properly when filtering by language,
	  product, or psversion (STR #3136)
	- The scheduler now kills job filters when it takes more than 30 seconds
	  (configurable) to cancel or hold the job.
	- The cupstestppd program did not validate the capitalization of
	  filenames in the PPD file.
	- The cupstestppd program did not validate the PageSize and PageRegion
	  values.
	- The cups-deviced helper program could miss reporting some backend
	  devices (STR #3108)
	- The cupsSideChannelSNMP* functions did not work.
	- The scheduler could consume 100% CPU when jobs were canceled.
	- Clicking on "Select Another Make/Manufacturer" in the web interface
	  incorrectly added the printer (STR #3095)
	- The scheduler no longer uses programs with insecure file
	  permissions.
	- httpAssembleURI*() did not escape backslashes in hostnames.
	- The dnssd backend did not unquote "full names" before creating the
	  device URI.
	- The scheduler now supports JobRetryInterval values less than 10
	  seconds.
	- Updated the Spanish localization (STR #3090)
	- The scheduler did not redo Bonjour/DNS-SD registrations when updating
	  them failed.
	- The "authenticated" policy incorrectly required authentication for
	  status operations.
	- ppdOpen*() incorrectly loaded PPDs with multiple JobPatchFile
	  keywords.
	- The network backends no longer report the SNMP "offline" or
	  maintenance status bits since they are inconsistently implemented and
	  often unreliable.
	- The scheduler no longer logs child processes killed via SIGKILL as
	  "crashed".
	- The printer link shown on the "job moved" template was bad (STR #3085)
	- Updated the HTML templates to use the final HTML 4 DOCTYPE (STR #3086)
	- The scheduler did not track the "paused" reason properly if a
	  printer had other reasons associated with it.
	- cupsSendRequest() did not clear old local certificate auth data.
	- The PPD compiler did not search for localization files properly
	  (STR #3084)
	- cupsGetNamedDest() did not use the fallback default like
	  cupsGetDests*() (STR #3082)
	- The scheduler now provides a LogTimeFormat directive to enable
	  microseconds in the date and time that are logged.
	- The scheduler now provides a MultipleOperationTimeout directive to
	  control the timeout for multi-file print jobs.
	- The configure script incorrectly allowed Avahi to be used for DNS-SD
	  printer discovery (STR #3065)
	- The web interface and scheduler did not support URIs up to 1024 bytes
	  in length (STR #3072)
	- Fixed pdftops issues with page sizes (STR #3063)
	- Fixed pdftops issues with Ghostscript (STR #3062)
	- The scheduler incorrectly registered default profiles for PostScript
	  printers with no specified colorspace.
	- The scheduler incorrectly created an empty org.cups.printers.plist
	  file on Mac OS X.
	- cupsGetPPD3() did not look for local PPDs in the right directory.
	- SNMP lookups via side-channel did not work for NULL-VALUE and
	  and OCTET-STRING OIDs containing nul characters.
	- The libusb-based USB backend did not work.
	- The scheduler did not set the printer-commands attribute correctly
	  for some PPDs.
	- The ppdi utility did not work.
	- The web interface no longer uses multi-part output with old or broken
	  web browsers (STR #3049)
	- CUPS now conforms to the draft IPP/2.0 and IPP/2.1 specification.
	- Added a new cupsGetConflicts() API to get a list of conflicting
	  options.
	- The PPD compiler didn't localize options or choices that did not
	  have associated translation text (STR #3045)
	- Updated the Spanish localization (STR #3043)
	- Fixed build problems (STR #3040, STR #3047)
	- cupsResolveConflicts() did not resolve using the default option
	  choice in some cases due to the mirror UIConstraints that are
	  present in most PPD files.
	- The scheduler did not honor MIME type priorities.
	- The commandtops filter incorrectly used the JCLBegin code to end
	  its jobs.
	- The default BrowseLocalProtocols value was not set properly.
	- Since the commandtops filter does not actually support ReportLevels
	  all on its own, don't list that printer command by default for PS
	  printers.
	- The scheduler did not give filters a chance to log errors or update
	  printer attributes when a job was canceled.
	- The scheduler did not clear the "connecting-to-device" reason keyword
	  when a job finished.


CHANGES IN CUPS V1.4b2

	- Documentation updates (STR #2983, STR #2998, STR #3021)
	- The cupstestppd utility now validates the FileVersion and
	  FormatVersion values in PPD files.
	- The default cupsd.conf file did not reflect the
	  --with-local-protocols value set at compile-time (STR #3037)
	- The cupsGetPPD* APIs now create symlinks to local PPD files
	  rather than copying them whenever possible.
	- Various performance optimizations in the string pool, dests, and
	  options implementations.
	- The cupsGetDests* APIs now return the marker and printer-commands
	  attributes.
	- Side-channel SNMP lookups would not work when cupsSNMPSupplies
	  was set to False in the PPD file.
	- Localized the device descriptions for the SCSI, serial,
	  and network backends (STR #3014)
	- Added a Spanish localization (STR #3015)
	- Added support for marker-low-levels and marker-high-levels
	  attributes.
	- The scheduler could hang writing a long log line.
	- The cupsGetDevices() function now has an "include_schemes"
	  parameter.
	- The lpinfo command now supports --include-schemes and
	  --exclude-schemes options.
	- The CUPS-Get-PPDs operation now supports the include-schemes
	  and exclude-schemes attributes.
        - The CUPS-Get-Devices operation now supports the include-schemes
	  attribute.
	- The print filters now support a replacement for the fitplot
	  option called "fit-to-page".
	- The LPD backend no longer tries to collect page accounting
	  information since the LPD protocol does not allow us to
	  prevent race conditions.
	- The scheduler did not save the last marker-change-time value.
	- Fixed a problem with printing to some IPP printers, including
	  CUPS 1.1.x.
	- Fixed a redirection problem with the printer web page (STR #3012)
	- Fixed a PPD compiler problem with the loading of message
	  catalogs (STR #2990)
	- Fixed a PPD compiler problem with the loading of .strings files
	  (STR #2989)
	- The cupsfilter utility did not set the CONTENT_TYPE environment
	  variable when running filters.
	- The scheduler now waits to allow system sleep until the jobs
	  have all stopped.
	- The IPP, LPD, and socket backends used different "connecting"
	  progress messages.


CHANGES IN CUPS V1.4b1

	- Documentation updates (STR #2567)
	- The PPD compiler now allows local message catalogs to
	  override the standard CUPS translations (STR #2642)
	- The ppdmerge command did not merge custom option strings
	  (STR #2863)
	- The scheduler now supports the Hold-New-Jobs and
	  Release-Held-New-Jobs operations; these are exposed via the
	  cupsdisable and cupsenable commands (STR #2332)
	- The lpstat command is now much faster when displaying the
	  status of a single printer (STR #2843)
	- The scheduler now caches information from PPD files to provide
	  significantly faster startup time with large numbers of PPDs
	  (STR #1293)
	- CUPS-Get-Driver now provides much better driver matching based
	  on the IEEE-1284 device ID and make/model strings (STR #2707)
	- Now support the cupsSNMPSupplies keyword to control whether
	  the network backends query the SNMP Printer MIB for supply
	  levels.
	- Now support and use a new banner file format for better text
	  support and easier customization (STR #2490)
	- The scheduler now sets the PRINTER_INFO and PRINTER_LOCATION
	  environment variables from the corresponding IPP attributes.
	- The ippRead*() and ippWrite*() functions no longer use a
	  stack-based buffer (STR #2388)
	- The CUPS-Add-Modify-Printer operation now allows you to set
	  the printer-state-reasons attribute.
	- The "set printer options" page now supports auto-configuration
	  of printer options (STR #1440)
	- The web interface now provides an advanced server settings
	  form.
	- The web interface's "modify printer" pages now make it
	  easier to change just one setting (STR #1919)
	- The scheduler now supports a plist PrintcapFormat.
	- The scheduler now supports multiple addresses in Allow and
	  Deny lines, just like Apache (STR #2947)
	- Added CUPS_JOBTYPE environment variable for job filters so
	  they know whether they are printing a banner or document
	  file (STR #2799)
	- Added support for printer filtering by the cupsfilter
	  command (STR #2562)
	- Added a SSLOptions directive to allow Windows clients to
	  talk to CUPS in FIPS mode (STR #2827)
	- Renamed the accept and reject commands to cupsaccept and
	  cupsreject; the old names are still available (STR #2936)
	- The locale/translate utility needed an update to work with
	  Google (STR #2882)
	- The lpstat command now supports a -H option to display the
	  default server (STR #2833)
	- The scheduler now supports a FatalErrors directive to control
	  which errors should cause the scheduler to exit (STR #2536)
	- The scheduler now uses the php-cgi program if it is available
	  (STR #2923)
	- The scheduler now supports a DefaultPaperSize directive
	  (STR #2848)
	- The scheduler now passes the job-originating-host-name
	  value to filters in the options argument (STR #2558)
	- CUPS now supports job tickets in PDF files (STR #2903)
	- Added a DBUS notifier (STR #2529)
	- The LPD mini-daemon now passes the document name when queuing
	  print jobs (STR #2482)
	- The IPP backend did not relay com.apple.print.recoverable-message
	  values.
	- The scheduler now supports a job-media-progress attribute to
	  track the progress of individual pages.
	- The sample HP driver now supports A5 (STR #2798)
	- The CUPS web interface menu item now uses the xdg-open
	  command, when available (STR #2724)
	- The cups-lpd program now supports the -h option (STR #2794)
	- The scheduler now sets the PAM_TTY parameter and the
	  PAM_ESTABLISH_CRED credential flag (STR #2745)
	- The scheduler now logs unsuccessful requests to the error_log
	  file as errors (STR #2616)
	- Added support for a "retry-current-job" error policy that
	  retries the current job immediately when the backend encounters
	  an error (STR #2555)
	- The scheduler now returns a "forbidden" error when a user
	  correctly authenticates but does not have permission to
	  continue further (STR #2101)
	- The scheduler now loads both the server and CA certificates
	  (if present) from the ServerCertificate file (STR #2146)
	- New RSS subscriptions now create their feed files immediately
	  (STR #2853)
	- Added support for a device-location attribute which provides
	  the physical location of a printer device.
	- Added a cupsBackendReport() API which handles quoting of the
	  device data by a backend.
	- Added support for custom options in the web interface
	  (STR #1729)
	- Added support for Mozilla LDAP, reconnection to LDAP servers,
	  and improved LDAP performance (STR #1962)
	- Added Solaris SMF support (STR #1477)
	- Added optional support for using TCP wrappers to limit access
	  to CUPS (STR #263)
	- Added ppdPageSizeLimits API.
	- Added support for new cupsMediaQualifier2, cupsMediaQualifier3,
	  cupsMinSize, and cupsMaxSize attributes.
	- Added cupsResolveConflicts and ppdInstallableConflict APIs.
	- Added support for new cupsUIConstraints and cupsUIResolver
	  attributes for better option conflict detection and
	  resolution.
	- Increased the maximum size of 1284 device ID strings to
	  256 bytes (STR #2877)
	- Added an AccessLogLevel directive to cupsd.conf to control
	  what is logged to the access_log file.
	- The default LogLevel is now "warn" instead of "info" to reduce
	  the amount of logging that is done to disk by default.
	- The PPD compiler did not include OID query keywords in PPD
	  files (STR #2871)
	- The cups-driverd helper program now directly supports driver
	  information files.
	- The USB backend now uses libusb when available (STR #1575)
	- Added ppdLocalizeAttr function to get the localized version
	  of an attribute.
	- MIME types now support a priority() attribute (STR #2719)
	- The standard MIME types are now installed in
	  DataDir/mime (STR #2719)
	- The lpoptions command now describes custom options and
	  the necessary parameters (STR #2660)
	- The ppdmerge program did not support Simplified Chinese
	  or Traditional Chinese language version strings (STR #2851)
	- The PPD compiler now supports localizable attributes
	  (STR #2738)
	- The ppdpo utility now includes cupsIPPReasons values in
	  the message catalogs it generates (STR #2754)
	- The PPD compiler now supports conditional directives
	  (STR #2636)
	- The ppdc utility now supports a "-t" option to test PPD
	  files (STR #2739)
	- The ppdc utility now supports a "-m" option to use the
	  ModelName value as the output filename.
	- The ppdc utility now supports a FileName directive to
	  set an alternate output filename (STR #2740)
	- The side-channel API now supports SNMP queries for the
	  standard network backends.
	- Added a PageLogFormat directive to the cupsd.conf file to
	  control the format of lines in the page_log file.
	- Filters can now send PPD: messages to stderr to set PPD
	  keywords like DefaultPageSize while a job is printing.
	- Added a mdns backend for discovery and printing to printers
	  that advertise themselves via DNS-SD (Bonjour)
	- The ipp, lpd, and socket backends now support DNS-SD service
	  name resolution.
	- The scheduler now uses a single shared file descriptor for
	  all DNS-SD registrations (STR #2674)
	- The ipp, lpd, and socket backends now support SNMP-based
	  page accounting and supply level monitoring (STR #1655)
	- Added support for cupsPJLDisplay attribute to control what
	  PJL commands are used to display the job information.
	- Driver information files can now be installed in
	  /Library/Printers/PPDs.drv on Mac OS X.
	- The CUPS image library now supports reading images larger
	  than 2GB.
	- The scheduler now delays writing config and state files to
	  reduce disk activity (STR #2684)
	- The CUPS-Get-Devices operation now supports the
	  exclude-schemes and timeout attributes to control which
	  backends are polled and for how long.
	- The cups-deviced helper application now runs backends in
	  parallel to get the list of devices faster.
	- Added --enable-pap configure option.
	- The default cupsd.conf file now includes an "authenticated"
	  policy which requires authentication for remote print jobs.
	- Added support for Czech and Hungarian in PPD files
	  (STR #2735, STR #2736)
	- The PPD compiler tools now support Mac OS X .strings files
	  for localization (STR #2737)
	- ppdOpen*() now default the colorspace member to PPD_CS_N
	  when no DefaultColorSpace attribute is present in the PPD
	  file.
	- The build system has been updated to support separate
	  installation of data, program, header, and library files.
	- All support libraries are now built as shared libraries
	  by default.
	- The scheduler now manages ICC color profiles on Mac OS X.
	- The network backends (ipp, lpd, socket) now support
	  SNMP-based supply and page count monitoring (STR #1655)
	- The lppasswd program is no longer installed setuid to
	  root to make the default installation more secure.
	- Added a new ppdLocalizeMarkerName() function to get
	  the localized version of a marker-names value.
	- The scheduler now provides the printer-dns-sd-name
	  attribute for printers shared via DNS-SD/Bonjour.
	- The pdftops filter now executes the Xpdf or poppler
	  pdftops utility to convert PDF files (STR #1471)
	- Bonjour printer registrations now advertise as local or
	  global based on the current access policies for the
	  printer.
	- cupsGetDests*() and cupsSetDests*() now track the last
	  used printer preference on Mac OS X.
	- Added a new streaming request API (STR #2261)
	- Added a new cupsGetNamedDest() function to the CUPS
	  library for faster printing with lp and lpr (STR #2638)
	- The scheduler now sets the PAM RHOST value on systems
	  that support it (STR #2637)
	- The scheduler now sandboxes child processes when
	  possible.
	- The Cancel-Job operation now supports a purge-job
	  attriibute to purge a specified job.
	- ppdEmit* and ppdCollect* now use the NonUIOrderDependency
	  attributes for custom option selections.
	- The web interface now enables/disables the printer
	  sharing (formerly publishing) controls based on the
	  server-is-sharing-printers state (STR #2233)
	- The scheduler now tracks printer sharing via the
	  server-is-sharing-printers attribute, and manages LPD
	  and SMB sharing as well (STR #2233)
	- The web interface now allows you to go back to the make/
	  manufacturer page if there is no matching printer driver
	  on the model page (STR #2436)
	- The printer list now shows the default media, banner, and
	  duplex options as well as the color and duplex capabilities
	  of printers (STR #1175)
	- The web interface look-n-feel has been updated (STR #2492)
	- The scheduler now supports a CUPS-Get-Document operation
	  that returns the specified print job document (STR #118)
	- The cupsfilter utility now supports a "-J jobid" option
	  to filter the document from the specified job.
	- The scheduler (cupsd) now supports a new option (-t) to
	  do a syntax check of the cupsd.conf file (STR #2003)
	- Added new cupsGetPPD3() API to allow applications to
	  cache PPDs safely (STR #1473)
	- Added generic PostScript and PCL printer driver PPDs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.154 2010/05/21 06:32:45 obache Exp $
d85 1
d97 1
a97 2
CONF_FILES+=		${EGDIR}/mime.convs ${CUPS_CONFDIR}/mime.convs
CONF_FILES+=		${EGDIR}/mime.types ${CUPS_CONFDIR}/mime.types
d128 1
a128 1
INSTALLATION_DIRS=	${DOCDIR} ${EGDIR}
d142 5
a146 9
	set -e; cd ${WRKSRC}/conf; for file in *.conf mime.convs mime.types; do \
		case $${file} in					\
		pam.conf)						\
			;;						\
		*)							\
			${INSTALL_DATA} $${file} 			\
			    ${DESTDIR}${EGDIR}/$${file};		\
			;;						\
		esac;							\
@


1.154
log
@Fixes typo introduced in rev1.151.
commit log said:
 * remove write permission from a set-uid program (checkperms warning).
But it did "chmod -r", and break binary package creation by unprivireged user
because of unreadable file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.153 2010/05/20 09:38:34 sbd Exp $
d9 1
a9 1
BASE_VERS=	1.3.11
a10 2
DIST_SUBDIR=	cups-${DIST_VERS}	# temp fix for updated distfile
PKGREVISION=	4
d55 2
a94 1
SPECIAL_PERMS=		${PREFIX}/bin/lppasswd ${CUPS_USER} ${CUPS_GROUP} 4555
a137 1
	${RUN} chmod -w ${DESTDIR}${PREFIX}/bin/lppasswd
@


1.153
log
@Add dbus and threads options.

Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.152 2010/05/20 09:37:12 sbd Exp $
d139 1
a139 1
	${RUN} chmod -r ${DESTDIR}${PREFIX}/bin/lppasswd
@


1.152
log
@Because ghostscript uses libpaper cups should to.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.151 2010/05/20 09:35:58 sbd Exp $
d12 1
a12 1
PKGREVISION=	3
@


1.151
log
@Cleanup of the Makefile and options.mk:

* Remove unneeded ${VARS} variable.
* add a blank line after PKGREVISON for readability.
* remove unneeded --with-rcdir and --enable-gnutls=no from CONFIGURE_ARGS.
* reorder part of CONFIGURE_ARGS for a little more readability.
* explicitly enable jpeg/png/tiff.
* change a LOCALBASE reference to PREFIX (pkglint warning).
* remove write permission from a set-uid program (checkperms warning).
* add "set -e" in front of shell for loops (pkglint warning)
* explicitly enable/disable dnssd and gssapi in options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.150 2010/05/20 08:05:29 sbd Exp $
d50 1
d158 1
@


1.150
log
@Define cups licence
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.149 2010/05/11 07:52:20 sbd Exp $
d8 1
a8 1
PKGNAME=	cups-${VERS}
a11 1
VERS=		${DIST_VERS:S/-/./g}
d13 1
a47 1
CONFIGURE_ARGS+=	--with-rcdir=${RCD_SCRIPTS_DIR:Q}
d50 6
a56 1
CONFIGURE_ARGS+=	--without-perl
d59 1
a59 4
CONFIGURE_ARGS+=	--enable-libtool
CONFIGURE_ARGS+=	--enable-ssl
CONFIGURE_ARGS+=	--enable-gnutls=no
CONFIGURE_ARGS+=	--enable-openssl
d125 1
a125 1
SUBST_SED.rpathfix=	-e 's|@@EXPORT_LDFLAGS@@|${COMPILER_RPATH_FLAG}${LOCALBASE}/lib|g'
d138 2
a139 1
	for file in LICENSE.txt README.txt; do				\
d143 1
a143 1
	cd ${WRKSRC}/conf; for file in *.conf mime.convs mime.types; do	\
@


1.149
log
@update MASTER_SITES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.148 2010/04/18 21:56:36 sbd Exp $
d23 1
@


1.148
log
@4 weeks without a maintainer, not good enough, i.e. Pickup maintainership.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.147 2010/04/18 12:02:58 obache Exp $
d16 2
a17 3
		ftp://ftp.ntua.gr/pub/gnu/cups/${BASE_VERS}/ \
		ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp.fisek.com.tr/pub/cups/${BASE_VERS}/
@


1.147
log
@Some clean up:
* exactly disable python and java support same as perl and php
* pdftops filter is installed unconditionally, so change
  PKG_OPTIONS_GROUP.pdftops to REQUIRED_GROUP
* xpdf does not install pdftops tool anymore and using it came from
  poppler-utils.  so deprecate xpdf option and suggest poppler option instead.
* change gs option to ghostscript from option.description.
* exactly select "gs" or "pdftops" and tell its path to configure script.
* change ghostscript dependency from DEPENDS to USE_TOOLS.
* exactly disable gssapi support with "-kerberos" option.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.146 2010/03/21 16:29:42 wiz Exp $
d21 1
a21 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
@


1.146
log
@Reset maintainer, developer lost his commit bit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.145 2010/01/18 09:59:21 wiz Exp $
d60 2
@


1.145
log
@Second try at jpeg-8 recursive PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.144 2010/01/17 12:02:37 wiz Exp $
d21 1
a21 1
MAINTAINER=	jlam@@pkgsrc.org
@


1.144
log
@Recursive PKGREVISION bump for jpeg update to 8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.143 2009/11/16 17:12:54 plunky Exp $
d13 1
a13 1
PKGREVISION=	2
@


1.143
log
@add DIST_SUBDIR as distfile was changed insignificantly

(some text describing the source archive had s/gz/bz2/)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.142 2009/08/26 19:56:52 sno Exp $
d13 1
a13 1
PKGREVISION=	1
@


1.142
log
@bump revision because of graphics/jpeg update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.141 2009/08/05 17:19:16 drochner Exp $
d11 1
@


1.141
log
@update to 1.3.11
changes:
The new release fixes some scheduler and web interface issues and
improves PDF printing.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.140 2009/06/03 10:20:59 wiz Exp $
d12 1
@


1.140
log
@Add missing file to PLIST.

pdftops only seems to be a link to an existing pdftops, so add
an option to use the ones from gs, poppler-utils, or xpdf.
Default to using the one from poppler-utils (adds dependency on that).

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.139 2009/05/14 01:19:12 christos Exp $
d9 1
a9 1
BASE_VERS=	1.3.10
a11 1
PKGREVISION=	1
@


1.139
log
@upgrade to 1.3.10 to fix security vulnerability
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.138 2009/02/11 10:21:33 markd Exp $
d12 1
a12 1
#PKGREVISION=	2
@


1.138
log
@firefox3 issue is now dealt with by a patch to firefox3 so revert
this to the patch as per cups svn.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.137 2009/01/29 15:28:31 gdt Exp $
d9 1
a9 1
BASE_VERS=	1.3.9
d12 1
a12 1
PKGREVISION=	2
@


1.137
log
@Add patch to not call RAND_seed.  Works around problem where firefox3
crashes when opening the printing dialog.  Fix based on concept from
Yorick Hardy, but bugs are my fault.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.136 2008/10/22 21:48:15 tonnerre Exp $
d12 1
a12 1
PKGREVISION=	1
@


1.136
log
@Upgrade cups to version 1.3.9 in order to fix CVE-2008-3639, CVE-2008-3640
and CVE-2008-3641. Also, it fixes a ton of bugs and has portability
enhancements. Full list of changes:

 - SECURITY: The HP-GL/2 filter did not range check pen numbers
   (STR #2911)
 - SECURITY: The SGI image file reader did not range check
   16-bit run lengths (STR #2918)
 - SECURITY: The text filter did not range check cpi, lpi, or
   column values (STR #2919)
 - Documentation updates (STR #2904, STR #2944)
 - The French web admin page was never updated (STR #2963)
 - The IPP backend did not retry print jobs when the printer
   reported itself as busy or unavailable (STR #2951)
 - The "Set Allowed Users" web interface did not handle trailing
   whitespace correctly (STR #2956)
 - The PostScript filter did not work with Adobe applications
   using custom page sizes (STR #2968)
 - The Mac OS X USB backend did not work with some printers
   that reported a bad 1284 device ID.
 - The scheduler incorrectly resolved the client connection
   address when HostNameLookups was set to Off (STR #2946)
 - The IPP backend incorrectly stopped the local queue if
   the remote server reported the "paused" state.
 - The cupsGetDests() function did not catch all types of
   request errors.
 - The scheduler did not always log "job queued" messages
   (STR #2943)
 - The scheduler did not support destination filtering using
   the printer-location attribute properly (STR #2945)
 - The scheduler did not send the server-started,
   server-restarted, or server-stopped events (STR #2927)
 - The scheduler no longer enforces configuration file
   permissions on symlinked files (STR #2937)
 - CUPS now reinitializes the DNS resolver on failures
   (STR #2920)
 - The CUPS desktop menu item was broken (STR #2924)
 - The PPD parser was too strict about missing keyword
   values in "relaxed" mode.
 - The PostScript filter incorrectly mirrored landscape
   documents.
 - The scheduler did not correctly update the
   auth-info-required value(s) if the AuthType was Default.
 - The scheduler required Kerberos authentication for
   all operations on remote Kerberized printers instead
   of just for the operations that needed it.
 - The socket backend could wait indefinitely for back-
   channel data with some devices.
 - PJL panel messages were not reset correctly on older
   printers (STR #2909)
 - cupsfilter used the wrong default path (STR #2908)
 - Fixed address matching for "BrowseAddress @@IF(name)"
   (STR #2910)
 - Fixed compiles on AIX.
 - Firefox 3 did not work with the CUPS web interface in SSL
   mode (STR #2892)
 - Custom options with multiple parameters were not emitted
   correctly.
 - Refined the cupstestppd utility.
 - ppdEmit*() did not support custom JCL options (STR #2889)
 - The cupstestppd utility incorrectly reported missing
   "en" base translations (STR #2887)
 - Documentation updates (STR #2785, STR #2861, STR #2862)
 - The scheduler did not add the ending job sheet when the
   job was released.
 - The IPP backend did not relay marker-* attributes.
 - The CUPS GNOME/KDE menu item was not localized for
   Chinese (STR #2880)
 - The CUPS GNOME/KDE menu item was not localized for
   Japanese (STR #2876)
 - The cupstestppd utility reported mixed line endings for
   Mac OS and Windows PPD files (STR #2874)
 - The pdftops filter did not print landscape orientation PDF
   pages correctly on all printers (STR #2850)
 - The scheduler did not handle expiring of implicit classes
   or their members properly, leading to a configuration where
   one of the members would have a short name (STR #2766)
 - The scheduler and cupstestppd utilities did not support
   cupsFilter and cupsPreFilter programs with spaces in their
   names (STR #2866)
 - Removed unused variables and assignments found by the
   LLVM "clang" tool.
 - Added NULL checks recommended by the LLVM "clang" tool.
 - The scheduler would crash if you started a printer that
   pointed to a backend that did not exist (STR #2865)
 - The ppdLocalize functions incorrectly mapped all generic
   locales to country-specific locales.
 - The cups-driverd program did not support Simplified Chinese
   or Traditional Chinese language version strings (STR #2851)
 - Added an Indonesian translation (STR #2792)
 - Fixed a timing issue in the backends that could cause data
   corruption with the CUPS_SC_CMD_DRAIN_OUTPUT side-channel
   command (STR #2858)
 - The scheduler did not support "HostNameLookups" with all of
   the boolean names (STR #2861)
 - Fixed a compile problem with glibc 2.8 (STR #2860)
 - The PostScript filter did not support %%IncludeFeature lines
   in the page setup section of each page (STR #2831)
 - The scheduler did not generate printer-state events when the
   default printer was changed (STR #2764)
 - cupstestppd incorrectly reported a warning about the PPD format
   version in some locales (STR #2854)
 - cupsGetPPD() and friends incorrectly returned a PPD file for
   a class with no printers.
 - The member-uris values for local printers in a class returned
   by the scheduler did not reflect the connected hostname or
   port.
 - The CUPS PHP extension was not thread-safe (STR #2828)
 - The scheduler incorrectly added the document-format-default
   attribute to the list of "common" printer attributes, which
   over time would slow down the printing system (STR #2755,
   STR #2836)
 - The cups-deviced and cups-driverd helper programs did not set
   the CFProcessPath environment variable on Mac OS X (STR #2837)
 - "lpstat -p" could report the wrong job as printing (STR #2845)
 - The scheduler would crash when some cupsd.conf directives
   were missing values (STR #2849)
 - The web interface "move jobs" operation redirected users to
   the wrong URL (STR #2815)
 - The Polish web interface translation contained errors
   (STR #2815)
 - The scheduler did not report PostScript printer PPDs with
   filters as PostScript devices.
 - The scheduler did not set the job document-format attribute
   for jobs submitted using Create-Job and Send-Document.
 - cupsFileTell() did not work for log files opened in append
   mode (STR #2810)
 - The scheduler did not set QUERY_STRING all of the time
   for CGI scripts (STR #2781, STR #2816)
 - The scheduler now returns an error for bad job-sheets
   values (STR #2775)
 - Authenticated remote printing did not work over domain
   sockets (STR #2750)
 - The scheduler incorrectly logged errors for print filters
   when a job was canceled (STR #2806, #2808)
 - The scheduler no longer allows multiple RSS subscriptions
   with the same URI (STR #2789)
 - The scheduler now supports Kerberized printing with
   multiple server names (STR #2783)
 - "Satisfy any" did not work in IPP policies (STR #2782)
 - The CUPS imaging library would crash with very large
   images - more than 16Mx16M pixels (STR #2805)
 - The PNG image loading code would crash with large images
   (STR #2790)
 - The scheduler did not limit the total number of filters.
 - The scheduler now ensures that the RSS directory has
   the correct permissions.
 - The RSS notifier did not quote the feed URL in the RSS
   file it created (STR #2801)
 - The web interface allowed the creation and cancellation
   of RSS subscriptions without a username (STR #2774)
 - Increased the default MaxCopies value on Mac OS X to
   9999 to match the limit imposed by the print dialog.
 - The scheduler did not reject requests with an empty
   Content-Length field (STR #2787)
 - The scheduler did not log the current date and time and
   did not escape special characters in request URIs when
   logging bad requests to the access_log file (STR #2788)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.135 2008/08/23 07:47:00 obache Exp $
d12 1
@


1.135
log
@Remove unresolvable hosts from MASTER_SITES.
Noticed by Zafer Aydogan via private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.134 2008/04/15 17:26:23 drochner Exp $
d9 1
a9 2
PKGREVISION=	1
BASE_VERS=	1.3.7
@


1.135.4.1
log
@pullup ticket #2574 - requested by bouyer
cups: update package for security and bug fixes

revisions pulled up:
cvs rdiff -r1.135 -r1.136 pkgsrc/print/cups/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/print/cups/PLIST
cvs rdiff -r1.56 -r1.57 pkgsrc/print/cups/distinfo
cvs rdiff -r1.11 -r0 pkgsrc/print/cups/patches/patch-au

   Modified Files:
           pkgsrc/print/cups: Makefile PLIST distinfo
   Removed Files:
           pkgsrc/print/cups/patches: patch-au

   Log Message:
   Upgrade cups to version 1.3.9 in order to fix CVE-2008-3639, CVE-2008-3640
   and CVE-2008-3641. Also, it fixes a ton of bugs and has portability
   enhancements. Full list of changes:

    - SECURITY: The HP-GL/2 filter did not range check pen numbers
      (STR #2911)
    - SECURITY: The SGI image file reader did not range check
      16-bit run lengths (STR #2918)
    - SECURITY: The text filter did not range check cpi, lpi, or
      column values (STR #2919)
    - Documentation updates (STR #2904, STR #2944)
    - The French web admin page was never updated (STR #2963)
    - The IPP backend did not retry print jobs when the printer
      reported itself as busy or unavailable (STR #2951)
    - The "Set Allowed Users" web interface did not handle trailing
      whitespace correctly (STR #2956)
    - The PostScript filter did not work with Adobe applications
      using custom page sizes (STR #2968)
    - The Mac OS X USB backend did not work with some printers
      that reported a bad 1284 device ID.
    - The scheduler incorrectly resolved the client connection
      address when HostNameLookups was set to Off (STR #2946)
    - The IPP backend incorrectly stopped the local queue if
      the remote server reported the "paused" state.
    - The cupsGetDests() function did not catch all types of
      request errors.
    - The scheduler did not always log "job queued" messages
      (STR #2943)
    - The scheduler did not support destination filtering using
      the printer-location attribute properly (STR #2945)
    - The scheduler did not send the server-started,
      server-restarted, or server-stopped events (STR #2927)
    - The scheduler no longer enforces configuration file
      permissions on symlinked files (STR #2937)
    - CUPS now reinitializes the DNS resolver on failures
      (STR #2920)
    - The CUPS desktop menu item was broken (STR #2924)
    - The PPD parser was too strict about missing keyword
      values in "relaxed" mode.
    - The PostScript filter incorrectly mirrored landscape
      documents.
    - The scheduler did not correctly update the
      auth-info-required value(s) if the AuthType was Default.
    - The scheduler required Kerberos authentication for
      all operations on remote Kerberized printers instead
      of just for the operations that needed it.
    - The socket backend could wait indefinitely for back-
      channel data with some devices.
    - PJL panel messages were not reset correctly on older
      printers (STR #2909)
    - cupsfilter used the wrong default path (STR #2908)
    - Fixed address matching for "BrowseAddress @@IF(name)"
      (STR #2910)
    - Fixed compiles on AIX.
    - Firefox 3 did not work with the CUPS web interface in SSL
      mode (STR #2892)
    - Custom options with multiple parameters were not emitted
      correctly.
    - Refined the cupstestppd utility.
    - ppdEmit*() did not support custom JCL options (STR #2889)
    - The cupstestppd utility incorrectly reported missing
      "en" base translations (STR #2887)
    - Documentation updates (STR #2785, STR #2861, STR #2862)
    - The scheduler did not add the ending job sheet when the
      job was released.
    - The IPP backend did not relay marker-* attributes.
    - The CUPS GNOME/KDE menu item was not localized for
      Chinese (STR #2880)
    - The CUPS GNOME/KDE menu item was not localized for
      Japanese (STR #2876)
    - The cupstestppd utility reported mixed line endings for
      Mac OS and Windows PPD files (STR #2874)
    - The pdftops filter did not print landscape orientation PDF
      pages correctly on all printers (STR #2850)
    - The scheduler did not handle expiring of implicit classes
      or their members properly, leading to a configuration where
      one of the members would have a short name (STR #2766)
    - The scheduler and cupstestppd utilities did not support
      cupsFilter and cupsPreFilter programs with spaces in their
      names (STR #2866)
    - Removed unused variables and assignments found by the
      LLVM "clang" tool.
    - Added NULL checks recommended by the LLVM "clang" tool.
    - The scheduler would crash if you started a printer that
      pointed to a backend that did not exist (STR #2865)
    - The ppdLocalize functions incorrectly mapped all generic
      locales to country-specific locales.
    - The cups-driverd program did not support Simplified Chinese
      or Traditional Chinese language version strings (STR #2851)
    - Added an Indonesian translation (STR #2792)
    - Fixed a timing issue in the backends that could cause data
      corruption with the CUPS_SC_CMD_DRAIN_OUTPUT side-channel
      command (STR #2858)
    - The scheduler did not support "HostNameLookups" with all of
      the boolean names (STR #2861)
    - Fixed a compile problem with glibc 2.8 (STR #2860)
    - The PostScript filter did not support %%IncludeFeature lines
      in the page setup section of each page (STR #2831)
    - The scheduler did not generate printer-state events when the
      default printer was changed (STR #2764)
    - cupstestppd incorrectly reported a warning about the PPD format
      version in some locales (STR #2854)
    - cupsGetPPD() and friends incorrectly returned a PPD file for
      a class with no printers.
    - The member-uris values for local printers in a class returned
      by the scheduler did not reflect the connected hostname or
      port.
    - The CUPS PHP extension was not thread-safe (STR #2828)
    - The scheduler incorrectly added the document-format-default
      attribute to the list of "common" printer attributes, which
      over time would slow down the printing system (STR #2755,
      STR #2836)
    - The cups-deviced and cups-driverd helper programs did not set
      the CFProcessPath environment variable on Mac OS X (STR #2837)
    - "lpstat -p" could report the wrong job as printing (STR #2845)
    - The scheduler would crash when some cupsd.conf directives
      were missing values (STR #2849)
    - The web interface "move jobs" operation redirected users to
      the wrong URL (STR #2815)
    - The Polish web interface translation contained errors
      (STR #2815)
    - The scheduler did not report PostScript printer PPDs with
      filters as PostScript devices.
    - The scheduler did not set the job document-format attribute
      for jobs submitted using Create-Job and Send-Document.
    - cupsFileTell() did not work for log files opened in append
      mode (STR #2810)
    - The scheduler did not set QUERY_STRING all of the time
      for CGI scripts (STR #2781, STR #2816)
    - The scheduler now returns an error for bad job-sheets
      values (STR #2775)
    - Authenticated remote printing did not work over domain
      sockets (STR #2750)
    - The scheduler incorrectly logged errors for print filters
      when a job was canceled (STR #2806, #2808)
    - The scheduler no longer allows multiple RSS subscriptions
      with the same URI (STR #2789)
    - The scheduler now supports Kerberized printing with
      multiple server names (STR #2783)
    - "Satisfy any" did not work in IPP policies (STR #2782)
    - The CUPS imaging library would crash with very large
      images - more than 16Mx16M pixels (STR #2805)
    - The PNG image loading code would crash with large images
      (STR #2790)
    - The scheduler did not limit the total number of filters.
    - The scheduler now ensures that the RSS directory has
      the correct permissions.
    - The RSS notifier did not quote the feed URL in the RSS
      file it created (STR #2801)
    - The web interface allowed the creation and cancellation
      of RSS subscriptions without a username (STR #2774)
    - Increased the default Maxpies value on Mac OS X to
      9999 to match the limit imposed by the print dialog.
    - The scheduler did not reject requests with an empty
      Content-Length field (STR #2787)
    - The scheduler did not log the current date and time and
      did not escape specicharacters in request URIs when
      logging bad requests to the access_log file (STR #2788)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.135 2008/08/23 07:47:00 obache Exp $
d9 2
a10 1
BASE_VERS=	1.3.9
@


1.134
log
@fix a possible integer overflow in buffer size calculation, from upstream,
bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.133 2008/04/03 04:06:27 markd Exp $
a14 2
		ftp://ftp2.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp3.easysw.com/pub/cups/${BASE_VERS}/ \
a16 1
		ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${BASE_VERS}/ \
@


1.133
log
@Update cups to version 1.3.7

OKed by jlam.

Changes in 1.3.7

The new release includes three security fixes and several printing and
authentication fixes.

CVE-2008-0047: cgiCompileSearch buffer overflow
CVE-2008-1373: CUPS GIF image filter overflow
Updated the "make check" tests to do a more thorough automated test.
cups-driverd complained about missing directories
cupsaddsmb would leave the Samba username and password on disk if no
Windows drivers were installed
The Linux USB backend used 100% CPU when a printer was disconnected
The sample raster drivers did not properly handle SIGTERM
The scheduler sent notify_post() messages too often on Mac OS X.
Kerberos access to the web interface did not work
The scheduler did not support "AuthType Default" in IPP policies
The scheduler did not support the "HideImplicitMembers" directive as
documented
"make check" didn't return a non-zero exit code on error
The scheduler incorrectly logged AUTH_foo environment variables in
debug mode
The image filters inverted PBM files
cupsctl would crash if the scheduler was not running
The scheduler could crash when printing using a port monitor
The scheduler would crash if PAM was broken
The image filters did not work with some CMYK JPEG files produced by
Adobe applications
The Mac OS X USB backend did not work with printers that did not
report a make or model.
The job-sheets option was not encoded properly
The scheduler incorrectly complained about missing LSB PPD directories.

Changes in 1.3.6

The new release fixes some platform-specific build problems, web
interface issues, PDF and PostScript filter option handling, and a
number of minor bugs discovered during routine code audits.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.132 2008/02/28 00:31:37 gdt Exp $
d9 1
@


1.132
log
@Use --localedir instead of --with-localedir, following configure's
--help.  From Rumko on pkgsrc-users@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.131 2008/01/22 23:58:13 markd Exp $
d9 1
a9 1
BASE_VERS=	1.3.5
a11 1
PKGREVISION=	1
@


1.131
log
@Update cups to 1.3.5

Adds dns-sd support and Negotiate authentication (kerberos)
various bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.129 2007/11/08 20:03:21 joerg Exp $
d12 1
d44 1
a44 1
CONFIGURE_ARGS+=	--with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
@


1.130
log
@Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@@
@
text
@d9 1
a9 1
BASE_VERS=	1.2.12
a11 1
PKGREVISION=	3
d54 2
d65 1
a65 24

PKG_OPTIONS_VAR=	PKG_OPTIONS.cups
PKG_SUPPORTED_OPTIONS=	pam slp
PKG_SUGGESTED_OPTIONS=	slp
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mpam)
.  include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+=	--enable-pam
MESSAGE_SRC=		${PKGDIR}/MESSAGE
MESSAGE_SRC+=		${PKGDIR}/MESSAGE.pam
PLIST_SUBST+=		PAM=
.else
CONFIGURE_ARGS+=	--disable-pam
MESSAGE_SRC=		${.CURDIR}/MESSAGE
PLIST_SUBST+=		PAM="@@comment "
.endif

.if !empty(PKG_OPTIONS:Mslp)
.include "../../net/openslp/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-slp
.else
CONFIGURE_ARGS+=	--disable-slp
.endif
d140 1
a140 1
	cd ${WRKSRC}/conf; for file in *.conf mime.*; do		\
@


1.129
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.128 2007/11/05 20:16:19 adrianp Exp $
d12 1
a12 1
PKGREVISION=	2
@


1.128
log
@Fix for CVE-2007-4351
PKGREVISION++
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.127 2007/10/22 11:56:46 dsainty Exp $
d27 2
d148 3
d158 3
a160 3
	${INSTALL_DATA_DIR} ${DOCDIR}
	for file in LICENSE.txt README.txt; do	\
		${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}/$${file};	\
a161 1
	${INSTALL_DATA_DIR} ${EGDIR}
d167 2
a168 1
			${INSTALL_DATA} $${file} ${EGDIR}/$${file};	\
d173 1
a173 1
	${INSTALL_DATA} ${WRKDIR}/cups.pam ${EGDIR}
@


1.127
log
@Fix the output of "cups-config --ldflags" to output "-Wl,-R/usr/pkg" like
other config scripts do.

Bump PKGREVISION since client software may not correctly build or run
without this fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.126 2007/10/08 11:39:47 rillig Exp $
d12 1
a12 1
PKGREVISION=	1
@


1.126
log
@Fixed two hard-coded paths to /var.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.125 2007/08/15 04:15:10 markd Exp $
d12 1
d140 6
@


1.126.2.1
log
@Pullup ticket 2233 - requested by adrianp
security fix for cups

- pkgsrc/print/cups/Makefile				1.127-1.128
- pkgsrc/print/cups/distifno				1.53
- pkgsrc/print/cups/patches/patch-au			1.9

   Module Name:	pkgsrc
   Committed By:	dsainty
   Date:		Mon Oct 22 11:56:46 UTC 2007

   Modified Files:
	   pkgsrc/print/cups: Makefile

   Log Message:
   Fix the output of "cups-config --ldflags" to output "-Wl,-R/usr/pkg" like
   other config scripts do.

   Bump PKGREVISION since client software may not correctly build or run
   without this fix.
---
   Module Name:	pkgsrc
   Committed By:	adrianp
   Date:		Mon Nov  5 20:16:19 UTC 2007

   Modified Files:
	   pkgsrc/print/cups: Makefile distinfo
   Added Files:
	   pkgsrc/print/cups/patches: patch-au

   Log Message:
   Fix for CVE-2007-4351
   PKGREVISION++
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.126 2007/10/08 11:39:47 rillig Exp $
a11 1
PKGREVISION=	2
a138 6
SUBST_CLASSES+=		rpathfix
SUBST_FILES.rpathfix=	cups-config.in
SUBST_MESSAGE.rpathfix=	Adding rpath to cups-config.
SUBST_SED.rpathfix=	-e 's|@@EXPORT_LDFLAGS@@|${COMPILER_RPATH_FLAG}${LOCALBASE}/lib|g'
SUBST_STAGE.rpathfix=	post-patch

@


1.125
log
@Update cups to 1.2.12

CUPS 1.2.12 fixes several file typing issues, a bad error message in the
scheduler, a web interface setting problem, and a bug in the PHP language
binding. It also includes an updated Italian translation. Changes include:
* The PHP cups_print_file() function crashed if the options array
  contained non-string option values
* The image/tiff file matching rule incorrectly identified some text files
  as TIFF files
* The filter(7) man page incorrectly documented the "PAGE: total #-pages"
  message
* PCL text files were mis-identified as HP-GL/2 and caused the HP-GL/2
  filter to hang
* When printing to a queue with user ACLs, the scheduler incorrectly
  returned a quota error instead of a "not allowed to print" error
* cupsaddsmb could get in a loop if no printer drivers were installed
* cupsRasterReadHeader() did not byte-swap the header properly when
  compiled with certain versions of GCC.
* The IPP backend did not send the document-format attribute for filtered
  jobs
* Some PPD files could cause a crash in ppdOpen2
* The web admin interface incorrectly handled the "share printers" and
  "show remote printers" settings
* The scheduler's log messages about AuthClass and AuthGroupName advised
  using a replacement directive but had the wrong syntax
* Updated the PostScript/PJL and HP-GL/2 MIME rules to look in the first
  4k of the file, not just the first 1k
* Updated the Italian localization
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.124 2007/07/04 20:54:55 jlam Exp $
d97 2
d103 2
a104 2
CUPS_LOGDIR=		/var/log/cups
CUPS_REQUESTS=		/var/spool/cups
@


1.124
log
@Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.123 2007/06/15 18:15:20 jlam Exp $
d9 1
a9 1
BASE_VERS=	1.2.11
@


1.123
log
@* Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
  in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.122 2007/06/06 11:14:27 markd Exp $
d94 2
a95 1
BUILD_DEFS+=		CUPS_USER CUPS_GROUP
@


1.122
log
@Update cups to 1.2.11

CUPS 1.2.11 fixes several build system, printing, PPD, and IPP conformance
issues. It also fixes a crash bug in the scheduler when printing to files
in non-existent directories.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.121 2007/04/02 12:11:01 gdt Exp $
d108 1
a108 1
SPECIAL_PERMS=		${PREFIX}/bin/lppasswd ${CUPS_USER} ${CUPS_GROUP} 4755
@


1.121
log
@Add patch to disable the use of the back channel for USB on NetBSD.
This is based on a suggestion by Yorick Hardy, who reports that it
improved behavior.  Without the patch, the cups usb driver tries to
read status from ulpt(4) (for most printers), and this results in no
output.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.120 2007/03/22 12:44:22 markd Exp $
d9 1
a9 2
PKGREVISION=	1
BASE_VERS=	1.2.10
@


1.120
log
@Update to cups 1.2.10

pkgsrc changes: fix locale path
	patch a bug in pstops's n-up handling (reported to upstream)

CUPS 1.2.10 fixes the init script used to start the scheduler, a recursion
bug in the pdftops filter, and several other issues reported after the
1.2.9 release. Changes include:
* ppdLocalize() now supports localizing for Japanese using the "jp" locale
  name used by the ppdmerge program from the CUPS DDK 1.1.0
* _cupsAdminSetServerSettings() did not support changing of top-level
  directives as designed.
* The init script path check was broken.
* CUPS incorrectly used the attribute "notify-recipient" instead of
  "notify-recicpient-uri" in several places
* Fixed a configure script bug on MirBSD
* The pdftops filter did not limit the amount of recursion of page sets
* Custom page sizes with fractional point sizes did not work
* The lpoptions command would crash when adding or removing options on a
  system with no printers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.119 2007/03/22 08:19:01 dillo Exp $
d9 1
@


1.119
log
@Don't try to install non-existent files -- they were already removed
from the PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.118 2007/03/19 14:46:35 joerg Exp $
d9 1
a9 1
BASE_VERS=	1.2.9
d41 1
a41 1
CONFIGURE_ARGS+=	--with-localedir=${PREFIX}/${PKGLOCALEDIR}
@


1.118
log
@Pass down correct locale dir to configure.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.117 2007/03/18 13:17:53 markd Exp $
d144 1
a144 1
	for file in CGI.txt ENCRYPTION.txt LICENSE.txt README.txt; do	\
@


1.117
log
@Update cups to 1.2.9

CUPS 1.2.9 fixes several printing issues and scheduler crash bug.
Changes include:
* The scheduler did not use the default job-sheets (banners) for implicit
  classes
* The scheduler could crash when listing complete jobs that had been
  unloaded from memory
* The French localization was doubled up
* Build system fixes for several platforms
* The scheduler's openssl certificate generation code was broken on some
  platforms
* The scheduler's log rotation check for devices was broken
* The LPD mini-daemon did not handle the document-format option correctly
* The pdftops filter ignored the "match" size option in the pdftops.conf
  file
* cupstestppd now validates UTF-8 text strings in globalized PPD files
* The outputorder=reverse option did not work with all printers
* Classes containing other classes did not always work
* Printer location and description information was lost if the
  corresponding string contained the "#" character
* cupsRemoveOption() did not work properly
* The USB backend did not work with some USB to parallel cables on Mac OSX.
* The test page did not print the rulers properly on large media sizes
* The text filter could crash when pretty printing certain types of files
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.116 2007/03/14 12:29:03 markd Exp $
d41 1
@


1.116
log
@Update cups to 1.2.8

ok'ed jlam a while back.

CUPS 1.2.8 adds a French localization, updates the Japanese and Spanish
localizations, and fixes several web interface, printing, and networking
bugs.

CUPS 1.2.7 adds several Mac OS X improvements, implements timeouts in the
SSL negotiation code, and fixes the bounding box generated by the PostScript
filter, bidirectional support in the USB backend, and another case where the
lpstat command could hang.

CUPS 1.2.6 fixes some compile errors, localization of the web interface on
Mac OS X, bugs in the lpc and lpstat commands, and backchannel support in
the parallel backend.

CUPS 1.2.5 fixes minor printing, networking, and documentation issues and
adds support for older versions of DBUS and a translation for Estonian.

CUPS 1.2.4 fixes a number of web interface, scheduler, and CUPS API
issues.

CUPS 1.2.3 fixes a number of web interface, networking, remote printing,
and CUPS API issues.

CUPS 1.2.2 fixes several build, platform, notification, and printing bugs.

CUPS 1.2.1 fixes several build, platform, and printing bugs.

CUPS 1.2.0 is the first stable feature release in the 1.2.x series and
includes over 90 new features and changes since CUPS 1.1.23, including a
greatly improved web interface and "plug-and-print" support for many local
and network printers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.115 2006/12/01 20:51:47 joerg Exp $
d9 1
a9 1
BASE_VERS=	1.2.8
@


1.115
log
@Explicitly disable Perl to not leak wrkdir references. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.114 2006/10/05 01:13:00 rillig Exp $
d9 1
a9 2
PKGREVISION=	12
BASE_VERS=	1.1.23
d43 1
d53 4
d108 1
a108 3
CONF_FILES=		${EGDIR}/client.conf ${CUPS_CONFDIR}/client.conf
CONF_FILES+=		${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
CONF_FILES+=		${EGDIR}/classes.conf ${CUPS_CONFDIR}/classes.conf
a110 1
CONF_FILES+=		${EGDIR}/printers.conf ${CUPS_CONFDIR}/printers.conf
d116 1
d119 1
d122 1
@


1.114
log
@Fixed unresolved pathnames like "${datarootdir}/cups".

See: http://mail-index.netbsd.org/pkgsrc-users/2006/10/05/0000.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.113 2006/07/05 20:12:06 wiz Exp $
d9 1
a9 1
PKGREVISION=	11
d50 1
@


1.113
log
@Fix installation with autoconf-2.60.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.112 2006/05/03 15:34:36 gdt Exp $
d9 1
a9 1
PKGREVISION=	10
d35 1
a35 1
USE_TOOLS+=		autoconf gmake
d131 1
a131 1
	cd ${WRKSRC} && autoconf
@


1.113.2.1
log
@Pullup ticket 1844 - requested by rillig
fix unresolved pathnames in cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile			1.114
- pkgsrc/print/cups/distinfo			1.44
- pkgsrc/print/cups/patches/patch-an		1.7

   Module Name:		pkgsrc
   Committed By:	rillig
   Date:		Thu Oct  5 01:13:00 UTC 2006

   Modified Files:
   	pkgsrc/print/cups: Makefile distinfo
   	pkgsrc/print/cups/patches: patch-an

   Log Message:
   Fixed unresolved pathnames like "${datarootdir}/cups".

   See: http://mail-index.netbsd.org/pkgsrc-users/2006/10/05/0000.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.114 2006/10/05 01:13:00 rillig Exp $
d9 1
a9 1
PKGREVISION=	11
d35 1
a35 1
USE_TOOLS+=		aclocal autoconf automake gmake
d131 1
a131 1
	cd ${WRKSRC} && aclocal && autoconf
@


1.112
log
@Optionize slp.
The default to on (via PKG_SUGGESTED_OPTIONS), so no PKGREVISION bump.

From Jukka Salmi in mail to tech-pkg@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.111 2006/04/23 00:12:41 jlam Exp $
d38 2
@


1.111
log
@Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.110 2006/04/19 17:01:34 wiz Exp $
a48 1
CONFIGURE_ARGS+=	--enable-slp
d55 2
a56 1
PKG_SUPPORTED_OPTIONS=	pam
d71 7
a120 1
.include "../../net/openslp/buildlink3.mk"
@


1.110
log
@Fix build with png-1.2.9nb2. Bump PKGREVISION since different functions
are used. The patch is already integrated in the 1.2rc2 release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.109 2006/04/17 13:45:59 wiz Exp $
d89 3
a91 1
PKG_USERS=		${CUPS_USER}:${CUPS_GROUP}::Common\ UNIX\ Printing\ System\ user::${SH}
@


1.109
log
@Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.108 2006/03/29 17:22:46 joerg Exp $
d9 1
a9 1
PKGREVISION=	9
@


1.108
log
@Sync pdftops with xpdf 3.01pl2, fixing at least two possible
integer overflows. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.107 2006/02/15 19:06:47 joerg Exp $
d9 1
a9 1
PKGREVISION=	8
@


1.107
log
@Bump revision for security fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.106 2006/02/05 23:10:35 joerg Exp $
d9 1
a9 1
PKGREVISION=	7
@


1.106
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.105 2006/01/06 00:19:44 joerg Exp $
d9 1
a9 1
PKGREVISION=	6
@


1.105
log
@Use SUBST framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.104 2005/12/29 06:22:06 jlam Exp $
d9 1
a9 1
PKGREVISION=	5
@


1.104
log
@Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.103 2005/12/19 16:04:48 joerg Exp $
d115 5
d123 2
a124 2
post-build:
	@@${SED} ${FILES_SUBST_SED} ${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
@


1.103
log
@Compile real local backends, not just stubs, for DragonFly.
Since this package "worked" before, bump the revision.
Noticed by antencek AT gmail DOT com.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.102 2005/12/17 05:20:22 jlam Exp $
a33 1
USE_PKGINSTALL=		yes
@


1.103.2.1
log
@Pullup ticket 1139 - requested by Joerg Sonnenberger
security fix for cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile			patch
- pkgsrc/print/cups/distinfo			1.37
- pkgsrc/print/cups/patches/patch-ap		1.6
- pkgsrc/print/cups/patches/patch-be		1.2

   Module Name:		pkgsrc
   Committed By:	joerg
   Date:		Wed Feb 15 19:06:13 UTC 2006

   Modified Files:
   	pkgsrc/print/cups: distinfo
   	pkgsrc/print/cups/patches: patch-be
   Added Files:
   	pkgsrc/print/cups/patches: patch-ap

   Log Message:
   Port the security fixes for SA18303 from print/xpdf to print/cups.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.103 2005/12/19 16:04:48 joerg Exp $
d9 1
a9 1
PKGREVISION=	7
@


1.102
log
@Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.101 2005/12/17 04:22:55 jlam Exp $
d9 1
a9 1
PKGREVISION=	4
@


1.101
log
@Fix for the following security advisories which affect cups-1.1.x:

	CAN-2005-3191
	CAN-2005-3192

The fixes were largely copied from xpdf-3.01pl1.patch from foolabs.com;
however, patch-be for Stream.cxx also includes a proper fix for
CAN-2005-3191 which was only partially fixed in the foolabs.com patch.

Bump the PKGREVISION to 4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.100 2005/12/05 23:55:16 rillig Exp $
d23 1
a23 1
MAINTAINER=	jlam@@NetBSD.org
@


1.100
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2005/12/05 20:50:52 rillig Exp $
d9 1
a9 1
PKGREVISION=	3
@


1.99
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2005/08/24 08:20:46 rillig Exp $
d41 2
a42 2
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
d45 3
a47 3
CONFIGURE_ARGS+=	--with-rcdir=${RCD_SCRIPTS_DIR}
CONFIGURE_ARGS+=	--with-cups-user=${CUPS_USER}
CONFIGURE_ARGS+=	--with-cups-group=${CUPS_GROUP}
@


1.98
log
@Fixed a double backslash that had been forgotten by the big commit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2005/08/23 11:48:50 rillig Exp $
d52 1
a52 1
CONFIGURE_ENV+=		DSOFLAGS="${LDFLAGS}"
d77 2
a78 2
FILES_SUBST+=		CUPS_USER=${CUPS_USER}
FILES_SUBST+=		CUPS_GROUP=${CUPS_GROUP}
@


1.97
log
@The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.96 2005/08/19 18:12:38 jlam Exp $
d90 1
a90 1
PKG_USERS=		${CUPS_USER}:${CUPS_GROUP}::Common\\ UNIX\ Printing\ System\ user::${SH}
@


1.96
log
@Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2005/08/10 23:37:08 salo Exp $
d90 1
a90 1
PKG_USERS=		${CUPS_USER}:${CUPS_GROUP}::Common\\ UNIX\\ Printing\\ System\\ user::${SH}
@


1.95
log
@Security fix for CAN-2005-2097.

"A vulnerability has been reported in CUPS, which can be exploited by malicious
people to cause a DoS (Denial of Service) on a vulnerable system.

When processing a PDF file, bounds checking was not correctly performed on
some fields. This could cause the pdftops filter (running as user "lp") to
crash."

http://secunia.com/advisories/16380/
http://rhn.redhat.com/errata/RHSA-2005-706.html

Patch from RedHat.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.94 2005/06/01 20:08:01 jlam Exp $
d95 4
a98 4
SUPPORT_FILES=		${EGDIR}/classes.conf ${CUPS_CONFDIR}/classes.conf
SUPPORT_FILES+=		${EGDIR}/mime.convs ${CUPS_CONFDIR}/mime.convs
SUPPORT_FILES+=		${EGDIR}/mime.types ${CUPS_CONFDIR}/mime.types
SUPPORT_FILES+=		${EGDIR}/printers.conf ${CUPS_CONFDIR}/printers.conf
@


1.94
log
@Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2005/05/31 11:24:32 dillo Exp $
d9 1
a9 1
PKGREVISION=	2
@


1.94.2.1
log
@Pullup ticket 673 - requested by Lubomir Sedlacik
security fix for cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile		1.95
- pkgsrc/print/cups/buildlink3.mk	1.13
- pkgsrc/print/cups/distinfo		1.32-1.33
- pkgsrc/print/cups/patches/patch-aw	1.3-1.4

    Module Name:    pkgsrc
    Committed By:   salo
    Date:           Wed Aug 10 23:37:08 UTC 2005

    Modified Files:
            pkgsrc/print/cups: Makefile buildlink3.mk distinfo
    Added Files:
            pkgsrc/print/cups/patches: patch-aw

    Log Message:
    Security fix for CAN-2005-2097.

    "A vulnerability has been reported in CUPS, which can be exploited by
    malic ious people to cause a DoS (Denial of Service) on a vulnerable
    system.

    When processing a PDF file, bounds checking was not correctly performed on
    some fields. This could cause the pdftops filter (running as user "lp") to
    crash."

    http://secunia.com/advisories/16380/
    http://rhn.redhat.com/errata/RHSA-2005-706.html

    Patch from RedHat.
----
    Module Name:    pkgsrc
    Committed By:   salo
    Date:           Thu Aug 11 00:03:18 UTC 2005

    Modified Files:
            pkgsrc/print/cups: distinfo
            pkgsrc/print/cups/patches: patch-aw

    Log Message:
    Remove erroneous (literally) include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2005/08/10 23:37:08 salo Exp $
d9 1
a9 1
PKGREVISION=	3
@


1.93
log
@Rename option PAM to pam (so all options are lower case).  Backwards
compatibility provided via PKG_OPTIONS_LEGACY_OPTS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.92 2005/05/22 20:08:27 jlam Exp $
d36 1
a36 1
USE_TOOLS+=		gmake
a114 1
.include "../../mk/autoconf.mk"
d117 1
a117 1
	cd ${WRKSRC} && ${AUTOCONF}
@


1.92
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.91 2005/04/11 21:47:06 tv Exp $
d57 1
a57 1
PKG_SUPPORTED_OPTIONS=	PAM
d60 1
a60 1
.if !empty(PKG_OPTIONS:MPAM)
d138 1
a138 1
.if !empty(PKG_OPTIONS:MPAM)
@


1.91
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2005/03/02 18:33:02 drochner Exp $
d36 1
a36 1
USE_GNU_TOOLS+=		make
@


1.90
log
@Fix  CAN-2005-0206:
An overflow check introduced earlier (for CAN-2004-0888) was never
triggered on 64-bit systems because 64-bit arithmetics was used there.
Sprinkle some casts to int su that the overflow can happen.
This fix is similar to the redhat one. The fix for similar code
in print/teTeX-bin looks much cleaner, but since cups already contains
the wrong redhad fix, I've chosen to stay close to the original.
bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.89 2005/02/07 11:35:46 jlam Exp $
a33 1
USE_BUILDLINK3=		yes
@


1.89
log
@Instantly deprecate USE_PAM from pkgsrc as its value is being set from
within NetBSD-current's bsd.own.mk, which conflicts with its usage in
pkgsrc.  The package that use USE_PAM have been converted to use the
bsd.options.mk framework.  This should fix PR pkg/29257.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.88 2005/01/19 11:03:23 drochner Exp $
d9 1
a9 1
PKGREVISION=	1
@


1.88
log
@apply the last xpdf security patch to the embedded pdftops filter
which is based on xpdf, bump PKGREVISUIN
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2005/01/14 05:15:39 jlam Exp $
a56 4
.if defined(USE_PAM)
PKG_DEFAULT_OPTIONS+=	PAM
.endif

@


1.87
log
@Create a pam.buildlink3.mk file that is used by PAM-using packages.
It includes the correct buildlink3.mk file from either Linux-PAM
(security/PAM) or OpenPAM (security/openpam) and eventually will
support solaris-pam.  pam.buildlink3.mk will:

	* set PAMBASE to the base directory of the PAM files;
	* set PAM_TYPE to the PAM implementation used.

There are two variables that can be used to tweak the selection of
the PAM implementation:

PAM_DEFAULT is a user-settable variable whose value is the default
	PAM implementation to use.

PAM_ACCEPTED is a package-settable list of PAM implementations
	that may be used by the package.

Modify most packages that include PAM/buildlink3.mk to include
pam.buildlink3.mk instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.86 2005/01/06 07:26:39 jlam Exp $
d9 1
@


1.86
log
@Update print/cups to 1.1.23.  Changes from version 1.1.22 include:

- The scheduler's is_path_absolute() code could cause a DoS (STR #1042)
- The scheduler's device loading code used the wrong size limits for the
  make/model and info parameters (STR #1035)
- The PNG loading code did not use a "long unsigned integer" format
  specifier for the width and height (STR #1032)
- The web interface only showed the first 4 or 8 characters of
  "{variable-name}" for undefined template variables (STR #1031)
- The hpgltops filter did not handle a common PCL command to enter
  HP-GL/2 mode (STR #1037)
- The scheduler no longer sends the page-set option when printing banner
  pages (STR #995)
- The hpgltops filter contained two buffer overflows that could
  potentially allow remote access to the "lp" account (STR #1024)
- The lppasswd command did not protect against file descriptor or ulimit
  attacks (STR #1023)
- The "lpc status" command used the wrong resource path when querying
  the list of printers and jobs, causing unnecessary authentication
  requests (STR #1018)
- The httpWait() function did not handle signal interruptions (STR #1020)
- The USB backend used the wrong size status variable when checking the
  printer status (STR #1017)
- The scheduler did not delete classes from other classes or implicit
  classes, which could cause a crash (STR #1015)
- The IPP backend now logs the remote print job ID at log level NOTICE
  instead of INFO (so it shows up in the error_log file...)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2004/12/29 15:31:24 minskim Exp $
d65 1
a65 1
.  include "../../security/PAM/buildlink3.mk"
@


1.85
log
@Use VARBASE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2004/12/28 23:18:21 reed Exp $
d9 1
a9 1
BASE_VERS=	1.1.22
a11 1
PKGREVISION=	2
d13 1
a13 1
MASTER_SITES=	ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
d43 1
a43 1
CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/html/cups
@


1.84
log
@Bump PKGREVISIONs due to libtiff update.
Some BUILDLINK_RECOMMENDED bumps done also.

(If I missed any, please let me know -- and let me know a good
way to automate this.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.83 2004/12/28 02:47:48 reed Exp $
d43 1
a43 1
CONFIGURE_ARGS+=	--localstatedir=/var
@


1.83
log
@The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2004/11/30 17:41:52 jlam Exp $
d12 1
a12 1
PKGREVISION=	1
@


1.82
log
@Align with doc/Makefile-example by moving the buildlink3.mk files ahead
of local targets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.81 2004/11/08 16:30:59 adam Exp $
d12 1
@


1.82.2.1
log
@Pullup ticket 214 - requested by Johnny C. Lam
security and build fixes for cups

        Module Name:	pkgsrc
        Committed By:	minskim
        Date:		Wed Dec 29 15:31:24 UTC 2004

        Modified Files:
        	pkgsrc/print/cups: Makefile

        Log Message:
        Use VARBASE.
---
        Module Name:	pkgsrc
        Committed By:	jmmv
        Date:		Tue Jan  4 14:48:22 UTC 2005

        Modified Files:
        	pkgsrc/print/cups: buildlink3.mk

        Log Message:
        OpenSSL is needed here because 'cups-config --libs' lists -lssl
        as a dependency (so we need it in the buildlink directory to build
        other packages).  Should fix build of libgnomeprint shown in
        minskim@@'s latest Linux bulk build.
---
        Module Name:	pkgsrc
        Committed By:	jlam
        Date:		Thu Jan  6 07:26:39 UTC 2005

        Modified Files:
        	pkgsrc/print/cups: Makefile PLIST distinfo
        	pkgsrc/print/cups/files: cupsd.sh
        Added Files:
        	pkgsrc/print/cups/patches: patch-at

        Log Message:
        Update print/cups to 1.1.23.  Changes from version 1.1.22 include:

        - The scheduler's is_path_absolute() code could cause a DoS
          (STR #1042)
        - The scheduler's device loading code used the wrong size limits
          for the make/model and info parameters (STR #1035)
        - The PNG loading code did not use a "long unsigned integer"
          format specifier for the width and height (STR #1032)
        - The web interface only showed the first 4 or 8 characters of
          "{variable-name}" for undefined template variables (STR #1031)
        - The hpgltops filter did not handle a common PCL command to enter
          HP-GL/2 mode (STR #1037)
        - The scheduler no longer sends the page-set option when printing
          banner pages (STR #995)
        - The hpgltops filter contained two buffer overflows that could
          potentially allow remote access to the "lp" account (STR #1024)
        - The lppasswd command did not protect against file descriptor or
          ulimit attacks (STR #1023)
        - The "lpc status" command used the wrong resource path when
          querying the list of printers and jobs, causing unnecessary
          authentication requests (STR #1018)
        - The httpWait() function did not handle signal interruptions
          (STR #1020)
        - The USB backend used the wrong size status variable when
          checking the printer status (STR #1017)
        - The scheduler did not delete classes from other classes or
          implicit classes, which could cause a crash (STR #1015)
        - The IPP backend now logs the remote print job ID at log level
          NOTICE instead of INFO (so it shows up in the error_log file...)
---
        Module Name:	pkgsrc
        Committed By:	jlam
        Date:		Thu Jan  6 18:22:29 UTC 2005

        Modified Files:
        	pkgsrc/print/cups: distinfo
        	pkgsrc/print/cups/patches: patch-at

        Log Message:
        Don't create the directories during installation... let the pkgsrc
        INSTALL script handle it instead to ensure proper ownership.
---
        Module Name:	pkgsrc
        Committed By:	salo
        Date:		Tue Jan 11 00:09:21 UTC 2005

        Modified Files:
        	pkgsrc/print/cups: buildlink3.mk

        Log Message:
        Bump BUILDLINK_RECOMMENDED after latest security update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.86 2005/01/06 07:26:39 jlam Exp $
d9 1
a9 1
BASE_VERS=	1.1.23
d13 1
a13 1
MASTER_SITES=	http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
d42 2
a43 2
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/cups
@


1.82.2.2
log
@Pullup ticket 269 - requested by Johnny C. Lam
security fix for cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile         1.88
- pkgsrc/print/cups/distinfo         1.29
- pkgsrc/print/cups/patches/patch-au 1.3

   Module Name:		pkgsrc
   Committed By:	drochner
   Date:		Wed Jan 19 11:03:23 UTC 2005

   Modified Files:
   	pkgsrc/print/cups: Makefile distinfo
   Added Files:
   	pkgsrc/print/cups/patches: patch-au

   Log Message:
   apply the last xpdf security patch to the embedded pdftops filter
   which is based on xpdf, bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.88 2005/01/19 11:03:23 drochner Exp $
a8 1
PKGREVISION=	1
@


1.82.2.3
log
@Pullup ticket 328 - requested by Lubomir Sedlacik
security fix for cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile		1.90
- pkgsrc/print/cups/distinfo		1.31
- pkgsrc/print/cups/patches/patch-au	1.4
- pkgsrc/print/cups/patches/patch-av	1.3

    Module Name:    pkgsrc
    Committed By:   drochner
    Date:           Wed Mar  2 18:33:02 UTC 2005

    Modified Files:
            pkgsrc/print/cups: Makefile distinfo
            pkgsrc/print/cups/patches: patch-au
    Added Files:
            pkgsrc/print/cups/patches: patch-av

    Log Message:
    Fix  CAN-2005-0206:
    An overflow check introduced earlier (for CAN-2004-0888) was never
    triggered on 64-bit systems because 64-bit arithmetics was used there.
    Sprinkle some casts to int su that the overflow can happen.
    This fix is similar to the redhat one. The fix for similar code
    in print/teTeX-bin looks much cleaner, but since cups already contains
    the wrong redhad fix, I've chosen to stay close to the original.
    bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2005/03/02 18:33:02 drochner Exp $
d9 1
a9 1
PKGREVISION=	2
@


1.81
log
@Changes 1.1.22:
	- The lpstat man page incorrectly listed the "-s" option
	  as using the equivalent of the "-p" option to list the
	  printers; it uses the "-v" option to list the printers
	  (STR #986)
	- Now allow 0-length reads in the CUPS file API (STR
	  #985)
	- cupsDoFileRequest() now sets cupsLastError() to
	  IPP_ERROR on network errors (STR #953)
	- The pdftops filter didn't scale small pages up to the
	  output page size when the fitplot option was used (STR
	  #984)
	- Fixed the ipptest program usage message (STR #959)
	- Added Spanish man pages (STR #963)
	- Fixed the order of comparisons in the client.conf
	  reading code (STR #971)
	- cupsLangGet() incorrectly set the current locale (STR
	  #970)

Changes 1.1.22rc2:
	- The pdftops filter didn't check the range of all
	  integer attributes (STR #972)
	- Documentation corrections (STR #944, STR #946)
	- Also sanitize device URI in argv[0] (STR #933)
	- cupsRasterReadHeader() didn't swap bytes for the
	  numeric fields properly (STR #930)

Changes 1.1.22rc1:
	- Now sanitize the device URI that is reported in the
	  error_log file (STR #920)
	- Fixed some memory and file descriptor leaks in the job
	  dispatch code (STR #921)
	- Deleting a printer could cause a crash with browsing
	  enabled (STR #865, STR #881, STR #928)
	- Browsing would turn off if the scheduler got an EAGAIN
	  error (STR #924)
	- The mime.types file didn't recognize PostScript as a
	  PJL language name (STR #925)

Changes 1.1.21:
	- The scheduler did not separate Digest authentication
	  parameters with commas (STR #882)
	- Fixed some problems with image printing to custom page
	  sizes (STR #891)
	- Removed the remaining scheduler code that did not use
	  the "close-on-exec" file descriptor flag to speed up
	  program invocations (STR #890)
	- The "lpr -r" command removed the print file even if it
	  was not printed. It now only removes the file if the
	  job is successfully created (STR #886)
	- Revamped the custom page size orientation fix (STR
	  #127)
	- The lp, lpq, lpr, and lpstat commands now report when
	  an environment variable is pointing to a non-existent
	  printer instead of just saying "no default
	  destination" (STR #879)
	- Queue names with 2 periods (e.g. "printer..2") were
	  not supported (STR #866)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.80 2004/10/03 00:18:04 tv Exp $
d113 8
a145 8
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../net/openslp/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

.include "../../mk/autoconf.mk"
@


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

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

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2004/08/22 19:32:52 jlam Exp $
d7 18
a24 19
DISTNAME=		cups-${DIST_VERS}-source
PKGNAME=		cups-${VERS}
PKGREVISION=		# empty
BASE_VERS=		1.1.20
DIST_VERS=		${BASE_VERS}
VERS=			${DIST_VERS:S/-/./g}
PKGREVISION=		3
CATEGORIES=		print
MASTER_SITES=		ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
			ftp://ftp2.easysw.com/pub/cups/${BASE_VERS}/ \
			ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/ \
			ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${BASE_VERS}/ \
			ftp://ftp.ntua.gr/pub/gnu/cups/${BASE_VERS}/ \
			ftp://ftp.fisek.com.tr/pub/cups/${BASE_VERS}/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		jlam@@NetBSD.org
HOMEPAGE=		http://www.cups.org/
COMMENT=		Common UNIX Printing System
d26 1
a26 1
CONFLICTS+=		LPRng-[0-9]* LPRng-core-[0-9]*
@


1.79
log
@Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2004/07/30 21:05:41 jlam Exp $
d13 1
a13 1
PKGREVISION=		2
@


1.78
log
@Convert to use bsd.options.mk.  The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2004/06/23 11:04:37 recht Exp $
a56 1
# Global and legacy options
d58 1
a58 3
.  if !defined(PKG_OPTIONS.cups)
PKG_OPTIONS.cups+=	PAM
.  endif
@


1.77
log
@The pkgview installation of cups causes more harm than good since other
packages install filters into libexec/cups/filter - which doesn't work
in pkgview land. To work around this disable pkgview installation of
cups until the issues are resolved.
ok'd by jlam@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2004/05/17 10:40:45 jlam Exp $
d57 1
d59 10
a69 1
BUILD_DEFS+=		USE_PAM
a70 2
PLIST_SRC=		${PKGDIR}/PLIST.pam
PLIST_SRC+=		${PKGDIR}/PLIST
d73 1
d77 1
a77 1
PLIST_SRC=		${PKGDIR}/PLIST
d120 1
a120 1
pre-install:
d138 1
a138 1
.if defined(USE_PAM)
@


1.76
log
@Correct the flags passed to the linker when building with libtool and bump
the PKGREVISION.  Also remove the unnecessary -preserve-dup-deps argument
to libtool, rename the configure option to --enable-libtool, and remove
the unnecessary bits to deal with libcrypt/libcrypto (buildlink3 does
this for us automatically).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2004/03/26 02:27:50 wiz Exp $
d29 1
a29 1
PKG_INSTALLATION_TYPES=	overwrite pkgviews
@


1.75
log
@PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2004/02/13 15:42:04 jlam Exp $
d13 1
a13 1
PKGREVISION=		1
d38 1
a40 3
USE_LIBTOOL=		yes
LIBTOOL_FLAGS+=		--preserve-dup-deps

d50 1
a50 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${LIBTOOL} ${LIBTOOL_FLAGS}"
@


1.74
log
@pdftops is a C++ application.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2004/02/08 03:00:29 jlam Exp $
d13 1
@


1.73
log
@PKGLIBTOOL and PKGSHLIBTOOL are no more.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2004/01/24 14:58:00 grant Exp $
d32 1
@


1.72
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2004/01/20 12:24:28 agc Exp $
d50 1
a50 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${PKGLIBTOOL} ${LIBTOOL_FLAGS}"
@


1.71
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2004/01/10 03:32:09 jlam Exp $
d35 1
a35 1
USE_GMAKE=		yes
@


1.70
log
@Update print/cups to 1.1.20.  Changes from version 1.1.19nb3 include:

Bug fixes:
	- The HTTP code did not use a case-insensitive
	  comparison when checking for the Basic authentication
	  method (STR #407)
	- The cupsaddsmb program didn't export the new CUPS
	  driver for Windows properly (STR #390)
	- The default landscape orientation was not the same as
	  that defined in the PPD file (STR #397)
	- The pdftops filter incorrectly auto-rotated pages when
	  the user already had specified the proper orientation
	  (STR #207)
	- The scheduler did not reset the group list when
	  running CGI and filter processes (STR #185)

Enhancements:
	- Updated the pdftops filter to use the annotation flags
	  instead of the subtype to determine whether to print
	  an annotation (STR #425)
	- The pdftops filter no longer needs to create temporary
	  files with tmpnam (STR #406)
	- The scheduler now waits up to 60 seconds before
	  restarting to allow active jobs to complete printing
	  and pending requests to be processed (STR #226)
	- Added new cupsDoAuthentication(), cupsGetFd(),
	  cupsGetFile(), cupsPutFd(), and cupsPutFile() functions
	  to the CUPS API (STR #112)
	- The PDF filter always scaled and offset pages; this
	  caused problems under MacOS X, so now the "fitplot"
	  option controls whether PDF files are scaled to fit
	  within the printable area of the page (STR #250)
	- Updated the pdftops filter to be based upon Xpdf
	  2.02pl1 (STR #191)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2004/01/10 02:57:35 jlam Exp $
a12 1
WRKSRC=			${WRKDIR}/cups-${BASE_VERS}
d30 1
@


1.69
log
@From the log for rev. 1.1260 of bsd.pkg.mk:

"Package Makefiles should refer to PKG_SYSCONFBASEDIR instead of
 PKG_SYSCONFBASE when they want PKG_SYSCONFDIR stripped of
 PKG_SYSCONFSUBDIR.  This makes PKG_SYSCONFBASE=/etc work with pkgviews by
 installing all config files into /etc/packages/<pkg> instead of
 occasionally putting some directly into /etc."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2004/01/06 07:09:25 jlam Exp $
d9 2
a10 2
PKGREVISION=		3
BASE_VERS=		1.1.19
@


1.68
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2004/01/03 18:49:51 reed Exp $
d42 1
a42 1
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASE}
@


1.67
log
@Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2003/11/12 03:39:42 jschauma Exp $
d29 2
d32 1
a32 1
USE_BUILDLINK2=		yes
d58 1
a58 1
.  include "../../security/PAM/buildlink2.mk"
d133 6
a138 6
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../net/openslp/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
@


1.66
log
@PKGREVISION++ after openssl update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2003/07/17 22:52:24 grant Exp $
d9 1
a9 1
PKGREVISION=		2
@


1.65
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2003/06/04 06:15:37 jlam Exp $
d9 1
a9 1
PKGREVISION=		1
@


1.64
log
@Bump the PKGREVISION for print/cups to 1:

Change the cupsd rc.d script to REQUIRE slpd.  This is needed for the
case where cupsd actually uses SLP to register services (by setting
BrowseProtocols to include "slp") and does nothing otherwise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2003/06/04 06:08:43 jlam Exp $
d23 1
a23 1
MAINTAINER=		jlam@@netbsd.org
@


1.63
log
@The following changes only affect the build of CUPS, and the entirety
of the diffs between vanilla CUPS and pkgsrc CUPS will be sent back to
the author.

* Allow overriding the default paths for "CUPS_SERVERBIN" and
  "CUPS_LOCALEDIR" by passing values through the configure script.
  This facilitates using custom directory hierarchies as is common in
  various packaging systems.

* Allow choosing the man page extension style by passing values
  directly through the configure script.  This allows overriding the
  defaults for an operating system, which can happen in some packaging
  systems.  Leave the default behaviour unchanged if not specified.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2003/05/28 08:58:48 jlam Exp $
d9 1
a9 1
PKGREVISION=		# empty
@


1.62
log
@Use the new "installcups" target so we avoid installing in the conf
directory and avoid installing the distributed cups rc.d script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2003/05/28 02:33:59 jlam Exp $
d47 1
a47 1
CONFIGURE_ARGS+=	--with-bsdmanext
@


1.61
log
@Update print/cups to 1.1.19.  Major changes from version 1.1.18nb2 include:

- security fix to scheduler to address a DoS attack
- improve conformance to IPP specification
- miscellaneous bug fixes to server and userland utilities
- plug memory leaks
- bug fixes to SSL code
- the mime.convs file was missing the filter definition for Windows BMP
  (image/x-bitmap) files
- improved test suite
- added CUPS support files for Java, Perl, and PHP
- The cups-lpd mini-daemon now sends jobs to the default queue when an
  empty queue name (or "lp" and there is no "lp" queue) is sent.
- The scheduler now supports fax queues identified by a "*cupsFax: True"
  attribute in the PPD file.
- The scheduler now supports print files that have been compressed using
  gzip.
- Added a robots.txt file to the standard install to prevent search
  engines from indexing the CUPS server.
- When writing BSD printcap files, the scheduler now includes the rm and
  rp attributes, allowing the file to be exported to LPD clients.
- The pdftops filter now scales PDF pages within the printable area of the
  page.
- The PostScript filter now supports binary PostScript files and files
  beginning with the PJL language escape sequence.
- Fixed the CIE colorspace support code in the image and PS RIPs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2003/03/20 18:49:33 jmmv Exp $
d34 1
@


1.60
log
@fredb has fixed cups so it works now with blowfish cipher in the passwd file.
Remove the note in the MESSAGE and bump PKGREVISION to 2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2003/01/28 22:04:00 jlam Exp $
d9 2
a10 2
PKGREVISION=		2
BASE_VERS=		1.1.18
d29 1
d34 1
d36 2
a38 1
UNLIMIT_RESOURCES=	datasize memorysize
d47 1
a47 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${PKGLIBTOOL}"
d102 2
a103 2
OWN_DIRS_PERMS+=	${CUPS_REQUESTS} ${CUPS_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+=	${CUPS_REQUESTS}/tmp ${CUPS_USER} ${CUPS_GROUP} 1700
d113 1
a113 1
	for file in ENCRYPTION.txt LICENSE.txt README.txt; do		\
@


1.59
log
@Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2003/01/23 23:05:10 jlam Exp $
d9 1
a9 1
PKGREVISION=		1
@


1.58
log
@Create a new cupsd command "wait" that waits for cupsd to start responding
to IPP requests.  It's controlled by two new variables that may be set in
/etc/rc.conf:

cupsd_wait=YES        # set to "YES" to wait for cupsd to detect printers;
                      #   this variable is optional and defaults to "NO".
cupsd_timeout=60      # set to the number of seconds we wait for cupsd
                      #   to respond before we declare it not responding;
                      #   this variable is optional and defaults to "60".

The wait command may also be directly invoked as "/etc/rc.d/cupsd wait".
Bump PKGREVISION of print/cups to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2003/01/10 07:46:02 cjep Exp $
d29 6
a34 5
USE_BUILDLINK2=		# defined
USE_PKGLOCALEDIR=	# defined
USE_GMAKE=		# defined
USE_LIBTOOL=		# defined
GNU_CONFIGURE=		# defined
a134 1
.include "../../mk/bsd.pkg.install.mk"
@


1.57
log
@USE_PKGLOCALEDIR=yes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2002/12/20 06:59:58 jlam Exp $
d9 1
@


1.56
log
@Updated print/cups to 1.1.18.  Changes from version 1.1.17 include:

- SECURITY FIX: The scheduler now provides a FileDevice directive to
  control whether new printers can be added using device URIs of the form
  "file:/filename".  The default is to not allow printers with these
  device URIs.
- SECURITY FIX: Potential underflow/overflow bug in web interface.
- SECURITY FIX: Race condition in certificate creation.
- SECURITY FIX: Bad URIs in browse packets could be used to exploit the
  web interface underflow/overflow bug.
- SECURITY FIX: Some types of Denial of Service attacks were not handled
  properly, so once the attack was over the scheduler did not close the
  connections immediately on all platforms.
- SECURITY FIXES: Added integer overflow/underflow checks for all image
  formats.
- Bug fixes to the scheduler.
- Upgraded pdftops filter to Xpdf 2.01 with fixes for TrueType fonts.
- Added a MaxClientsPerHost configuration directive to provide limited
  protection against Denial of Service attacks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2002/12/19 22:24:51 jlam Exp $
d29 1
@


1.55
log
@Updated print/cups to 1.1.17.  Changes from version 1.1.16 include:

- Bug fixes to the backends and scheduler.
- Bug fixes to the image filters.
- The scheduler now allows accounts authenticated via PAM to not have a
  corresponding UNIX account, but group membership still requires the
  account name to be listed in the UNIX group file(s)...
- Added some startup performance enhancements to the scheduler so that the
  printer object information is regenerated fewer times and the MIME type
  database is not filled with lots of empty filters for raw/direct queues.
- The backends now ignore SIGPIPE so that failed job filters will not stop
  a print queue.
- User-defined classification strings are now printed verbatim.
- The lpstat command did not allow for destination lists.
- The LPD backend now sends the job title as the print filename.
- Added support for variable sizes in the EPSON dot matrix printer drivers.
  This allows for pages as short as 1/2" (1 row of labels) and does not do
  an automatic form feed.
- The Solaris USB backend now supports the new device URI syntax.
- The serial backend now enumerates serial ports under MacOS X.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2002/10/20 23:33:42 jlam Exp $
d9 1
a9 1
BASE_VERS=		1.1.17
@


1.54
log
@Note where to send bug-fixes or patches to CUPS when feeding back to the
author.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2002/10/20 18:57:37 jlam Exp $
d9 1
a9 1
BASE_VERS=		1.1.16
d36 2
d40 1
d99 3
d131 1
@


1.53
log
@Update print/cups from version 1.1.15.1 to version 1.1.16:

     CUPS 1.1.16 adds support for a new CUPS printer driver for Windows
     NT/2000/XP that provides accurate page accounting as well as support
     for the banner, job billing, job priority, and page label options. The
     new release also contains many small bug fixes and enhancements,
     including better USB printing support, support for printer names
     containing any printable character (123print, my-long-printer-name,
     etc.), and French language localization of the web interface and
     documentation.
@
text
@d1 5
a5 1
# $NetBSD: Makefile,v 1.52 2002/09/19 09:04:20 jlam Exp $
@


1.52
log
@Take advantage of the auto-generation and installation of rc.d scripts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2002/09/18 22:58:46 jlam Exp $
d5 2
a6 2
BASE_VERS=		1.1.15
DIST_VERS=		${BASE_VERS}-1
d24 4
a27 4
USE_BUILDLINK2=		YES
USE_GMAKE=		YES
USE_LIBTOOL=		YES
GNU_CONFIGURE=		YES
d42 1
a42 1
.include "../../security/PAM/buildlink2.mk"
d75 1
d101 9
a109 1
	cd ${WRKSRC}/conf; ${INSTALL_DATA} *.conf mime.* ${EGDIR}
@


1.51
log
@Update print/cups to 1.15.1.  Changes from version 1.14 include:

======================================================================
* Removed the pstoraster filter (based on GNU Ghostscript 5.50) and now
* provide the raster "driver" and patch file necessary to use the current
* GNU Ghostscript 7.05 release.  Pkgsrc users should install the
* print/ghostscript-esp package.
======================================================================

- Many, many bug fixes.
- Improvements to polling and scheduling of jobs to CUPS and to connected
  printers.
- Updated the CUPS license agreement for the new MacOS and OpenSSL license
  exceptions.
- The jobs.cgi web interface now handles all job operations, allowing the
  administrator to allow "job administrators" or operators to manage jobs
  (but not queues) on the server.
- New SCSI printer backend.
- The PostScript filter now supports 6, 9, and 16-up output, as well as new
  page-border and number-up-layout options.
- Added ConfigFilePerm and LogFilePerm directives.
- The HTML job operation templates now link back to the destination printer
  or class.
- Removed unnecessary fonts and updated the Courier and Symbol fonts to the
  latest versions to better support non-ISOLatin1 text.
- The text filter now always embeds the Courier and Symbol fonts to ensure
  that they contain the full set of glyphs.
- The PostScript image filter (imagetops) now supports printing CMYK images
  using the CMYK colorspace.
- The cupsaddsmb program was updated to use the setdriver command instead of
  addprinter.
- The Allow, Deny, BrowseAllow, BrowseDeny, and BrowseAddress directives
  now support the network interface names "@@LOCAL" and "@@IF(name)" for
  access control and browsing based on the current interface addresses
  instead of fixed names or IP addresses.
- The cupsaddsmb program now supports alternative CUPS and SAMBA server names.
- The PostScript filter now supports the Orientation comment and rotates the
  page as needed automatically.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2002/08/25 18:39:41 jlam Exp $
a92 1
	@@${SED} ${FILES_SUBST_SED} ${FILESDIR}/cupsd.sh > ${WRKDIR}/cupsd.sh
a94 1
	${INSTALL_SCRIPT} ${WRKDIR}/cupsd.sh ${PREFIX}/etc/rc.d/cupsd
@


1.50
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48.2.3 2002/08/22 11:12:11 jlam Exp $
d5 2
a6 3
PKGREVISION=		1
BASE_VERS=		1.1.14
DIST_VERS=		${BASE_VERS}
d60 2
@


1.49
log
@Raise the shell resource limits to the maximum, to let this build on
mac68k, at least. Closes PR 17563.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2002/03/13 17:37:33 fredb Exp $
d25 1
a25 1
USE_BUILDLINK_ONLY=	YES
d35 1
a35 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${LIBTOOL}"
d43 1
a43 1
.include "../../security/PAM/buildlink.mk"
d106 7
a112 6
.include "../../devel/zlib/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/tiff/buildlink.mk"
.include "../../net/openslp/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
@


1.48
log
@Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2002/02/18 11:26:15 martti Exp $
d29 1
@


1.48.2.1
log
@First pass at conversion of various packages to use the buildlink2
framework.  Add many buildlink2.mk files to add to the framework.  Please
see buildlink2.txt for more details.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2002/03/13 17:37:33 fredb Exp $
d25 1
a25 1
USE_BUILDLINK2_ONLY=	YES
d34 1
a34 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${PKGLIBTOOL}"
d42 1
a42 1
.include "../../security/PAM/buildlink2.mk"
d105 6
a110 7
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../net/openslp/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"

@


1.48.2.2
log
@Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity.  Also
convert a few more packages to use the buildlink2 framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48.2.1 2002/05/11 02:09:21 jlam Exp $
d25 1
a25 1
USE_BUILDLINK2=		YES
@


1.48.2.3
log
@Merge changes from pkgsrc-current into the buildlink2 branch for the
packages that have buildlink2.mk files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48.2.2 2002/06/21 23:05:37 jlam Exp $
a28 1
UNLIMIT_RESOURCES=	datasize memorysize
@


1.47
log
@Updated cups to 1.1.14

- The ippRead() function did not verify that the
  attribute name length or string with language value
  was not larger than the read buffer.
- The scheduler set the signal handlers before loading
  the configuration files the first time; this prevented
  the RunAsUser directive from blocking server reloads.
- Added Swedish message catalog.
- The parallel backend now recognizes the /dev/printers
  device directory under Linux 2.4.x.
- MacOS X fixes.
- The cupsaddsmb utility sent the server name after the
  user information when executing the rpcclient program.
  This caused problems with some versions of SAMBA
  2.2.x.
- The IPP backend did not pass the requesting user name
  when checking on the print job status. This prevented
  it from waiting for the job to complete when
  communicating with some IPP implementations that
  require it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2002/01/31 17:51:26 jlam Exp $
d5 1
@


1.46
log
@Update print/cups to 1.1.13:

CUPS 1.1.13 adds support for the KOI8-R and KOI8-U encodings, message
catalogs for several Russian locales and for Simplified Chinese,
improvements for MacOS X (Darwin) and IRIX, improvements to the PDF,
PostScript, and text filters, status reporting for IPP-based printers
(paper out, etc.), and improvements to the SAMBA driver export facility.
The new release also fixes bugs in the scheduler, the lpstat command, the
CUPS API, and the pstoraster filter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2002/01/30 03:33:29 jlam Exp $
d5 1
a5 1
BASE_VERS=		1.1.13
@


1.45
log
@Add USE_PAM to BUILD_DEFS when we build with PAM support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2002/01/06 19:41:28 jlam Exp $
d5 1
a5 1
BASE_VERS=		1.1.12
@


1.44
log
@The configure script auto-appends "cups" to "sysconfdir", so pass
"${PKG_SYSCONFBASE}" to the script and set PKG_SYSCONFSUBDIR directly to
"cups".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2001/12/14 23:18:15 jlam Exp $
d42 1
@


1.43
log
@Update print/cups to 1.1.12.  Relevant changes from version 1.1.10.1 include:

- Bug fixes.
- Start of internationalization support for banner and PPD files.
- Added support for embedded TrueType fonts in PDF files.
- Added support for PostScript functions in PDF files.
- Added new "cupsaddsmb" utility for exporting CUPS printer drivers to
  SAMBA/Windows clients.
- The ippRead() and ipp_read_file() functions could not handle more than
  IPP_MAX_VALUES (100) values in a 1setOf attribute.  These functions have
  been updated to dynamically allocate more memory as needed, and the
  IPP_MAX_VALUES constant now represents the allocation increment.  [this
  caused some versions of the GIMP-print drivers to fail since the number
  of media options exceeded 100...]
- The web interfaces did not always quote < and & in things like the job
  title.  This had the potential for browser-based security violations (on
  the browser's machine); bug report from SuSE.
- The scheduler now treats unauthenticated usernames as case-insensitive
  when doing quota and allow/deny processing.
- The PostScript filter (pstops) now handles EPS files, adding a showpage
  command to the files as needed.
- The cups-lpd mini-daemon did not support anonymous printing (no username
  specified).  While the username is REQUIRED by RFC-1179, MacOS clients do
  not send the REQUIRED username information when printing via LPD.
- The httpConnect*() functions now try all available addresses for a host
  when connecting for the first time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2001/12/02 06:56:43 jlam Exp $
d28 1
a28 1
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
d63 2
a64 1
CUPS_CONFDIR=		${PKG_SYSCONFDIR}/cups
@


1.42
log
@bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2001/11/26 20:38:31 jlam Exp $
d5 2
a6 2
BASE_VERS=		1.1.10
DIST_VERS=		${BASE_VERS}-1
d24 4
a27 4
USE_BUILDLINK_ONLY=	# defined
USE_GMAKE=		# defined
USE_LIBTOOL=		# defined
GNU_CONFIGURE=		# defined
d63 22
a84 20

PKG_GROUPS=	${CUPS_GROUP}
PKG_USERS=	${CUPS_USER}:${CUPS_GROUP}::Common\\ UNIX\\ Printing\\ System\\ user:${SH}

CONF_FILES=	${EGDIR}/client.conf ${PKG_SYSCONFDIR}/cups/client.conf
CONF_FILES+=	${EGDIR}/cupsd.conf ${PKG_SYSCONFDIR}/cups/cupsd.conf
SUPPORT_FILES=	${EGDIR}/classes.conf ${PKG_SYSCONFDIR}/cups/classes.conf
SUPPORT_FILES+=	${EGDIR}/mime.convs ${PKG_SYSCONFDIR}/cups/mime.convs
SUPPORT_FILES+=	${EGDIR}/mime.types ${PKG_SYSCONFDIR}/cups/mime.types
SUPPORT_FILES+=	${EGDIR}/printers.conf ${PKG_SYSCONFDIR}/cups/printers.conf
RCD_SCRIPTS=	cupsd

OWN_DIRS+=		${PKG_SYSCONFDIR}/cups
OWN_DIRS+=		${PKG_SYSCONFDIR}/cups/interfaces
OWN_DIRS+=		${PKG_SYSCONFDIR}/cups/ppd
OWN_DIRS+=		/var/log/cups
OWN_DIRS+=		/var/spool/cups
OWN_DIRS_PERMS=		${PKG_SYSCONFDIR}/cups/certs			\
			${CUPS_USER} ${CUPS_GROUP} 0711
OWN_DIRS_PERMS+=	/var/spool/cups/tmp ${CUPS_USER} ${CUPS_GROUP} 1700
@


1.41
log
@Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2001/11/25 18:59:47 jlam Exp $
a86 1
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
a98 1
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
@


1.40
log
@PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2001/11/21 15:44:23 jlam Exp $
d64 2
a65 3
PKG_USER=		${CUPS_USER}
PKG_USER_DESCR=		Common UNIX Printing System user
PKG_GROUP=		${CUPS_GROUP}
@


1.39
log
@RCD_SCRIPTS now just lists the filenames (see bsd.pkg.install.mk).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2001/11/19 16:23:11 jlam Exp $
d28 1
a28 1
CONFIGURE_ARGS+=	--sysconfdir=${CONFDIR}
d68 11
a78 11
CONF_FILES=		${EGDIR}/client.conf ${CONFDIR}/cups/client.conf
CONF_FILES+=		${EGDIR}/cupsd.conf ${CONFDIR}/cups/cupsd.conf
SUPPORT_FILES=		${EGDIR}/classes.conf ${CONFDIR}/cups/classes.conf
SUPPORT_FILES+=		${EGDIR}/mime.convs ${CONFDIR}/cups/mime.convs
SUPPORT_FILES+=		${EGDIR}/mime.types ${CONFDIR}/cups/mime.types
SUPPORT_FILES+=		${EGDIR}/printers.conf ${CONFDIR}/cups/printers.conf
RCD_SCRIPTS=		cupsd

OWN_DIRS+=		${CONFDIR}/cups
OWN_DIRS+=		${CONFDIR}/cups/interfaces
OWN_DIRS+=		${CONFDIR}/cups/ppd
d81 2
a82 1
OWN_DIRS_PERMS=		${CONFDIR}/cups/certs ${CUPS_USER} ${CUPS_GROUP} 0711
@


1.38
log
@Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2001/08/18 04:41:45 jlam Exp $
d74 1
a74 1
RCD_SCRIPTS=		${PREFIX}/etc/rc.d/cupsd /etc/rc.d/cupsd
@


1.37
log
@Update print/cups to 1.1.10.1.  Changes from version 1.1.9.1 include:

+ Use our own cupsd rc.d-style script instead of using the one supplied
  with the CUPS sources.
- Bug fixes.
- Added a driver for DYMO label printers.
- Added new ClassifyOverride directive to allow users to override the
  classification of individual jobs.
- Added new BrowseProtocols directive to control which browse protocols
  are used (currently CUPS and SLP).
- Added SLPv2 support.
- The pdftops filter did not have the Japanese and Chinese text support
  compiled into it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2001/08/14 03:41:38 jlam Exp $
d28 1
a28 1
CONFIGURE_ARGS+=	--sysconfdir=/etc
d45 2
d49 1
a60 17
.if ${OPSYS} == "NetBSD"
.if exists(/usr/sbin/user)
ADDUSER=		/usr/sbin/useradd
ADDGROUP=		/usr/sbin/groupadd
.else
DEPENDS+=		user>=20000313:../../sysutils/user
ADDUSER=		${LOCALBASE}/sbin/useradd
ADDGROUP=		${LOCALBASE}/sbin/groupadd
.endif
.elif ${OPSYS} == "SunOS"
ADDUSER=		useradd
ADDGROUP=		groupadd
.endif

DEINSTALL_FILE=		${WRKDIR}/DEINSTALL
INSTALL_FILE=		${WRKDIR}/INSTALL

d64 19
a82 19
FILES_SUBST=		CUPS_USER=${CUPS_USER}
FILES_SUBST+=		CUPS_GROUP=${CUPS_GROUP}
FILES_SUBST+=		PREFIX=${PREFIX}
FILES_SUBST+=		ADDUSER=${ADDUSER:Q}
FILES_SUBST+=		ADDGROUP=${ADDGROUP:Q}
FILES_SUBST+=		CAT=${CAT:Q}
FILES_SUBST+=		CHGRP=${CHGRP:Q}
FILES_SUBST+=		CHMOD=${CHMOD:Q}
FILES_SUBST+=		CHOWN=${CHOWN:Q}
FILES_SUBST+=		CMP=${CMP:Q}
FILES_SUBST+=		CP=${CP:Q}
FILES_SUBST+=		ECHO=${ECHO:Q}
FILES_SUBST+=		ID=${ID:Q}
FILES_SUBST+=		MKDIR=${MKDIR:Q}
FILES_SUBST+=		RM=${RM:Q}
FILES_SUBST+=		RMDIR=${RMDIR:Q}
FILES_SUBST+=		TOUCH=${TOUCH:Q}
FILES_SUBST+=		TRUE=${TRUE:Q}
FILES_SUBST_SED=	${FILES_SUBST:S/=/@@!/:S/$/!g/:S/^/ -e s!@@/}
d85 2
a86 4
	${SED} ${FILES_SUBST_SED} ${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
	${SED} ${FILES_SUBST_SED} ${FILESDIR}/cupsd.sh > ${WRKDIR}/cupsd.sh
	${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
	${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
d108 1
@


1.36
log
@grep isn't used anymore, so don't substitute for @@GREP@@ in the INSTALL
files.  Substitute for @@ID@@ instead of directly using 'id', and use the
value of ${ID} already set in defs.*.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2001/08/02 03:37:39 jlam Exp $
d5 1
a5 1
BASE_VERS=		1.1.9
a30 1
CONFIGURE_ARGS+=	--enable-libtool-unsupported="${LIBTOOL}"
d33 2
d89 1
d100 1
d106 1
d122 1
@


1.35
log
@Update cups to 1.1.9.1.  Changes from version 1.1.8 include:

  * Bug fixes to the pstoraster filter, the DeskJet printer driver,
    digest authentication.
  * Optimized PPD file scanner so servers with lots of PPD files start
    much faster (up to 40%).
  * Fixed the "N * N copy bug" where N * N copies were sent when N were
    specified.
  * Added new DeskJet and Stylus Photo printer drivers.
  * Workaround buggy IPP implementations in some HP JetDirect servers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2001/07/13 07:09:23 jlam Exp $
d88 1
a88 1
FILES_SUBST+=		GREP=${GREP:Q}
@


1.34
log
@In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2001/06/19 08:39:33 jlam Exp $
d3 1
a3 1
DISTNAME=		cups-${VERS}-source
d5 4
a8 2
VERS=			1.1.8
WRKSRC=			${WRKDIR}/cups-${VERS}
d10 6
a15 6
MASTER_SITES=		ftp://ftp.easysw.com/pub/cups/${VERS}/ \
			ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
			ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
			ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${VERS}/ \
			ftp://ftp.ntua.gr/pub/gnu/cups/${VERS}/ \
			ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
d32 2
a33 2

#USE_SSL=		# defined
d35 1
a37 5
.include "../../devel/zlib/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/tiff/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
d96 1
a96 6
post-extract:
	cd ${WRKSRC}/conf; ${MV} -f cupsd.conf cupsd.conf.in

post-build:
	cd ${WRKSRC}; \
	${SED} ${FILES_SUBST_SED} conf/cupsd.conf.in > conf/cupsd.conf
a97 2

pre-install:
d114 5
@


1.33
log
@Use openssl/buildlink.mk instead of USE_SSL, mark as USE_BUILDLINK_ONLY,
and use FILES_SUBST instead of repeating sed script throughout the
Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2001/06/11 02:05:14 jlam Exp $
d88 1
@


1.32
log
@The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2001/06/10 00:08:47 jlam Exp $
d22 1
d31 1
a31 1
USE_SSL=		# defined
d39 1
d79 18
d101 3
a103 5
	${SED}	-e "s|@@CUPS_USER@@|${CUPS_USER}|g"			\
		-e "s|@@CUPS_GROUP@@|${CUPS_GROUP}|g"			\
		${WRKSRC}/conf/cupsd.conf.in > ${WRKSRC}/conf/cupsd.conf
	${SED}	-e "s|@@PREFIX@@|${PREFIX}|g"				\
		${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
d106 2
a107 21
	${SED}	-e "s|@@CUPS_USER@@|${CUPS_USER}|g"			\
		-e "s|@@CUPS_GROUP@@|${CUPS_GROUP}|g"			\
		-e "s|@@CAT@@|${CAT}|g"					\
		-e "s|@@RM@@|${RM}|g"					\
		-e "s|@@RMDIR@@|${RMDIR}|g"				\
		-e "s|@@TRUE@@|${TRUE}|g"					\
		${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
	${SED}	-e "s|@@CUPS_USER@@|${CUPS_USER}|g"			\
		-e "s|@@CUPS_GROUP@@|${CUPS_GROUP}|g"			\
		-e "s|@@ADDUSER@@|${ADDUSER}|g"				\
		-e "s|@@ADDGROUP@@|${ADDGROUP}|g"				\
		-e "s|@@CAT@@|${CAT}|g"					\
		-e "s|@@CHGRP@@|${CHGRP}|g"				\
		-e "s|@@CHMOD@@|${CHMOD}|g"				\
		-e "s|@@CHOWN@@|${CHOWN}|g"				\
		-e "s|@@CP@@|${CP}|g"					\
		-e "s|@@GREP@@|${GREP}|g"					\
		-e "s|@@MKDIR@@|${MKDIR}|g"				\
		-e "s|@@RM@@|${RM}|g"					\
		-e "s|@@TOUCH@@|${TOUCH}|g"				\
		${PKGDIR}/INSTALL > ${INSTALL_FILE}
@


1.31
log
@Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2001/05/26 16:32:37 jlam Exp $
a47 4

CFLAGS+=		-I${BUILDLINK_INCDIR}
CXXFLAGS+=		-I${BUILDLINK_INCDIR}
LDFLAGS+=		-L${BUILDLINK_LIBDIR}
@


1.30
log
@Use buildlink.mk files to get dependencies for png, jpeg, and tiff.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2001/05/24 03:17:18 jlam Exp $
a82 2

pre-configure: ${BUILDLINK_TARGETS}
@


1.29
log
@Update cups to 1.1.8.  Relevant changes from version 1.1.7 include:

- The scheduler might restart a stopped printer after stopping a print job.
- The IPP backend did not handle the client-error-not-found error when
  checking the status of the job that was sent.  This caused remote queues
  to stop on client machines when the server had job history disabled.
- Added httpConnectEncrypt() function to avoid performance penalty for
  setting up encrypted connections initially.
- Jobs weren't queued to remote classes (fix from Richard Begg.)
- Fixed the pstops fix for GNOME output - no longer use the page numbers in
  the %%Page: comment since GNOME puts a filename instead (!?@@!#?!).
- The imagetops filter produced PAGE: messages when generating PostScript for
  a non-PostScript printer (only affects page-label and Classification
  options.)
- The updated pdftops filter was looking for an options file called xpdf.conf
  instead of pdftops.conf.
- The scheduler would not force the default job sheets for printers to the
  current classification setting.
- Added a new ippFindNextAttribute() function to the CUPS API.
- ppdEmitJCL() now strips any leading path info from the title string.  This
  is only an issue for non-CUPS clients that don't do this already...
- Other pstops fixed from Helge Blischke for printing non-conforming
  documents.
- The MaxJobs parameter was not reset when loading the cupsd.conf file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2001/05/22 09:32:24 wiz Exp $
a21 4
DEPENDS+=		jpeg-6b:../../graphics/jpeg
DEPENDS+=		png>=1.0.11:../../graphics/png
DEPENDS+=		tiff-*:../../graphics/tiff

a32 3
CFLAGS+=		-I${LOCALBASE}/include
CXXFLAGS+=		-I${LOCALBASE}/include

d34 4
a37 4

.if (${OPSYS} == "SunOS")
DEPENDS+=		zlib>=1.1.3:../../devel/zlib
.endif
d40 1
a40 1
DEPENDS+=		PAM-*:../../security/PAM
d49 4
d83 2
@


1.28
log
@Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2001/05/15 17:43:20 jlam Exp $
d5 1
a5 1
VERS=			1.1.7
d10 1
a10 1
			ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
@


1.27
log
@Update cups to 1.1.7.  Changes from version 1.1.6nb3 include bugfixes,
documentation updates, better support of Apache options in configuration
files, and:

- Added support for "double" HostNameLookups.
- Added new "RunAsUser" directive to support non-root configurations on the
  standard (privileged) ports.
- Added support for non-root invocation of the lpd backend (does no reserve a
  priviledged port, which might not work with some LPD servers...)
- Added new PrintcapFormat directive to control the output format of the
  printcap file (BSD or Solaris formats are supported at present.)
- httpConnect() now looks up "localhost" by name and by address (127.0.0.1)
  for users that go to the trouble of removing the required localhost entry
  in /etc/hosts or on their DNS server...
- The EPSON drivers now send the "end packet mode" command when printing to
  USB devices.
- The LPD backend now supports a new "order" option:
  "lpd://server/queue?order=control,data" (default) and
  "lpd://server/queue?order=data,control".
- New "Classification" directive to force labeling of the current
  classification on each page.
- New "page-label" attribute to add per-page labels ("For Official Use Only",
  "Draft", etc.)
- Dropped the "file" backend from the device list that is reported, since it
  is only available for *testing* and should never be used in a production
  environment.  The file: device can still be used, but it won't show up in
  the list of devices from lpinfo or the web interface.
- Added META variables to the CGI header template to prevent caching of the
  results.
- Added two new directives - MaxJobsPerPrinter and MaxJobsPerUser - to allow
  an administrator to set the maximum number of pending jobs in a queue or
  submitted by a user.
- Added support for the Enable-Printer and Disable-Printer extension
  operations (same as CUPS-Accept-Jobs and CUPS-Reject-Jobs.)
- Added support for the DeskJet 900 series duplexer and CRET color modes in
  the HP driver.
- Added support for PPD-defined margins in the HP driver.
- Added new cupsGetJobs() and cupsFreeJobs() functions to manage print jobs.
- cupsEncodeOptions() would encode names of 0 length and cupsAddOption() and
  cupsParseOptions() would add names of 0 length.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2001/03/27 03:20:13 hubertf Exp $
d23 1
a23 1
DEPENDS+=		png>1.0.9:../../graphics/png
@


1.26
log
@Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@@netbsd.org>
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.25 2001/03/07 04:09:58 jlam Exp $
#
d3 3
a5 3
DISTNAME=		cups-${VERS}-3-source
PKGNAME=		cups-${VERS}.3nb2
VERS=			1.1.6
d8 2
a9 3
MASTER_SITES=		ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
			ftp://ftp.easysw.com/pub/cups/${VERS}/ \
			ftp://ftp.northamerica.net/pub/ESP/cups/${VERS}/ \
d11 2
a21 1
BUILD_DEPENDS+=		autoconf-2.13:../../devel/autoconf
d31 1
d38 1
d42 4
d85 1
a85 4
	cd ${WRKSRC}/conf; ${MV} cupsd.conf cupsd.conf.in

pre-configure:
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
@


1.25
log
@Update cups to 1.1.6.3nb2.  Changes from version 1.1.6.3nb1 include two fixes
from the mailing list:

	1) Use /dev/urandom instead of /dev/random for random device.
	2) Read configuration file before creating certificates as the conf
	   file may redefine the location of the certs directory.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2001/03/04 09:06:17 tron Exp $
d22 1
a22 1
BUILD_DEPENDS+=		${LOCALBASE}/bin/autoconf:../../devel/autoconf
@


1.24
log
@Because the minor number of the PNG library was increased packages compiled
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2001/02/27 17:37:53 jlam Exp $
d5 1
a5 1
PKGNAME=		cups-${VERS}.3nb1
@


1.23
log
@Update CUPS to 1.1.6.3nb1 from source distribution 1.1.6-3.  Changes from
version 1.1.6.2nb1 include incorporation of USB fixes from NetBSD pkgsrc,
security fixes from SuSE, lpr-compatibility fixes from Caldera, and:

- Fix problem exposed by the MaxJobs directive where the scheduler was
  losing count of the number of jobs.  This fix, stored in patch-ah, was
  gleaned from the CUPS mailing list, and bumps the cups packages version
  number to 1.1.6.3nb1.
- The updated cupsTempFile() function did not return the filename when
  called with a filename buffer of NULL (previously it used a static
  buffer.)
- DeletePrinter() didn't remove the printer from any classes it was a member of.
- DeletePrinterFromClass() didn't preserve the implicit status of a class.
- DeletePrinterFromClasses() didn't remove printers from implicit classes.
- StartJob() didn't send the job-sheets, job-priority, and job-hold-until
  attributes to remote printers.
- LoadAllJobs() was looking for job-sheets-completed instead of
  job-media-sheets-completed.  This would prevent accumulation of page data
  after a restart of the scheduler.
- The pstops and imagetops filters now generate copies using the appropriate
  method for a Level 1, 2, or 3 printer since some Level 2/3 printers don't
  support the /#copies variable anymore.
- The IPP backend didn't handle version-not-supported errors and revert to
  IPP/1.0 (previously it only checked for a bad-request error)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2001/02/17 17:51:38 wiz Exp $
d24 1
a24 1
DEPENDS+=		png>=1.0.6:../../graphics/png
@


1.22
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2001/02/08 19:05:00 jlam Exp $
d4 2
a5 2
DISTNAME=		cups-${VERS}-2-source
PKGNAME=		cups-${VERS}.2nb1
@


1.21
log
@Update cups to 1.1.6.2nb1.  Changes from version 1.1.6.1 include:

	- Added changes to support NetBSD startup scripts.
	- The mime.types file contained syntax errors.
	- Updated the FreeBSD USB device filenames to use the /dev/unlptN files
	  so that the USB device is not reset prior to printing (causes print
	  corruption on many printers)
	- Added new cupsTempFd() function to avoid serious security bug in
	  glibc fopen() function.  The glibc fopen() function unlinks a file
	  before creating it, which opens up possible symlink attacks.
	- Now reject 0-length names in add-printer and add-class
	  requests.
	- cupsGetPPD() didn't reconnect when a HTTP connection
	  was lost.
	- Many security-related fixes from SuSE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2001/02/05 09:01:02 tron Exp $
d18 1
@


1.20
log
@Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2001/01/28 02:05:36 jlam Exp $
d4 2
a5 2
DISTNAME=		cups-${VERS}-1-source
PKGNAME=		cups-${VERS}.1
a80 6
pre-patch:
	${MKDIR} ${WRKSRC}/scripts

post-patch:
	cd ${WRKSRC}/scripts; ${CHMOD} +x netbsd sysv

d85 2
a86 2
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g"			\
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g"			\
d88 1
a88 1
	${SED}	-e "s,@@PREFIX@@,${PREFIX},g"				\
d92 6
a97 6
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g"			\
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g"			\
		-e "s,@@CAT@@,${CAT},g"					\
		-e "s,@@RM@@,${RM},g"					\
		-e "s,@@RMDIR@@,${RMDIR},g"				\
		-e "s,@@TRUE@@,${TRUE},g"					\
d99 13
a111 13
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g"			\
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g"			\
		-e "s,@@ADDUSER@@,${ADDUSER},g"				\
		-e "s,@@ADDGROUP@@,${ADDGROUP},g"				\
		-e "s,@@CAT@@,${CAT},g"					\
		-e "s,@@CHGRP@@,${CHGRP},g"				\
		-e "s,@@CHMOD@@,${CHMOD},g"				\
		-e "s,@@CHOWN@@,${CHOWN},g"				\
		-e "s,@@CP@@,${CP},g"					\
		-e "s,@@GREP@@,${GREP},g"					\
		-e "s,@@MKDIR@@,${MKDIR},g"				\
		-e "s,@@RM@@,${RM},g"					\
		-e "s,@@TOUCH@@,${TOUCH},g"				\
@


1.19
log
@Update cups to 1.1.6.1.  Changes from version 1.1.5.2 include bug fixes,
additions to the documentation, plus the following changes:

	- Fixed another possible DoS attack in httpGets().
	- Added check for "LANGUAGE = PCL" and "LANGUAGE = POSTSCRIPT" in
	  mime.types.
	- The printers.conf and classes.conf files are now written with
	  restricted permissions.
	- If LoadAllJobs() is unable to determine the file type of a print
	  job, assume "application/vnd.cups-raw".
	- The web interface now provides a job_printer_name value for any
	  corresponding job_printer_uri value.
	- The cups-lpd mini-daemon now logs the client address and hostname
	  as well as all commands and errors in the syslog file.
	- The IPP backend now detects the supported file formats and only
	  specifies the document format if it is supported.  This makes IPP
	  printing to network print servers and cards more reliable without
	  affecting the capabilities of CUPS servers.
	- The time_at_xyz attributes are now converted to human-readable
	  dates and times for the web interfaces.
	- The file type logging code in the scheduler referenced the optional
	  document-format attribute; the new code uses the resolved MIME type
	  instead.
	- The client.conf parsing code now removes trailing whitespace.
	- The lpadmin command now supports setting of options and user-level
	  access control.
	- Added "-E" option to all printing commands to force encryption.
	- The socket backend now starts retries at 5 seconds and increases
	  the interval to 30 seconds.  This should provide faster printing
	  when multiple jobs/files are queued for a printer.
	- The filters and backends no longer buffer output to stderr.  This
	  should provide much more accurate status reporting.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2001/01/11 19:00:42 jlam Exp $
d21 1
a21 1
BUILD_DEPENDS+=		autoconf:../../devel/autoconf
d88 1
a88 1
	cd ${WRKSRC} && autoconf
@


1.18
log
@Update cups to 1.1.5.2.  No functional changes from 1.1.5.1, but NetBSD
changes were folded back into the main source tree.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2000/12/28 00:09:38 jlam Exp $
d4 3
a6 3
DISTNAME=		cups-${VERS}-2-source
PKGNAME=		cups-${VERS}.2
VERS=			1.1.5
d81 6
d91 5
a95 7
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g" \
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g" \
		< ${WRKSRC}/conf/cupsd.conf.in > ${WRKSRC}/conf/cupsd.conf
	${SED}	-e "s,@@PREFIX@@,${PREFIX},g" \
		< ${FILESDIR}/cupsd.sh > ${WRKDIR}/cupsd.sh
	${SED}	-e "s,@@PREFIX@@,${PREFIX},g" \
		< ${FILESDIR}/cups.pam > ${WRKDIR}/cups.pam
d98 21
a118 20
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g" \
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g" \
		-e "s,@@CAT@@,${CAT},g" \
		-e "s,@@RM@@,${RM},g" \
		-e "s,@@RMDIR@@,${RMDIR},g" \
		< ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g" \
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g" \
		-e "s,@@ADDUSER@@,${ADDUSER},g" \
		-e "s,@@ADDGROUP@@,${ADDGROUP},g" \
		-e "s,@@CAT@@,${CAT},g" \
		-e "s,@@CHGRP@@,${CHGRP},g" \
		-e "s,@@CHMOD@@,${CHMOD},g" \
		-e "s,@@CHOWN@@,${CHOWN},g" \
		-e "s,@@CP@@,${CP},g" \
		-e "s,@@GREP@@,${GREP},g" \
		-e "s,@@MKDIR@@,${MKDIR},g" \
		-e "s,@@RM@@,${RM},g" \
		-e "s,@@TOUCH@@,${TOUCH},g" \
		< ${PKGDIR}/INSTALL > ${INSTALL_FILE}
a121 1
	${INSTALL_SCRIPT} ${WRKDIR}/cupsd.sh ${PREFIX}/etc/rc.d/cupsd
d123 2
a124 2
	for file in ENCRYPTION LICENSE README; do \
		${INSTALL_DATA} ${WRKSRC}/$${file}.txt ${DOCDIR}/$${file}; \
@


1.17
log
@Note conflict with LPRng-core.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2000/12/21 16:59:31 jlam Exp $
d4 2
a5 2
DISTNAME=		cups-${VERS}-1-source
PKGNAME=		cups-${VERS}.1
a31 2
CONFIGURE_ARGS+=	--with-cups-user="${CUPS_USER}"
CONFIGURE_ARGS+=	--with-cups-group="${CUPS_GROUP}"
d85 3
@


1.16
log
@Update cups to 1.1.5.1.  Changes from version 1.1.5 are only fixes to the
build process.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/12/21 14:59:37 jlam Exp $
d18 2
@


1.15
log
@Update cups to 1.1.5.  Relevant changes since version 1.1.4 include lots of
bug and security fixes, improvements to the efficiency of the server and
utilities, improvements to the documentation, plus the following:

     * Security updates - new default configuration does not broadcast
       printer information and only allows access from the local system.
     * EXPERIMENTAL encryption support - CUPS now optionally supports TLS/SSL
       encryption via the OpenSSL library.
     * Updated PDF filter to Xpdf 0.91.
     * Added PPD files for 9-pin and 24-pin OKIDATA printers.
     * Changed all sprintf's that use string formats to snprintf's, even if
       the destination buffer is larger than the source string(s); this
       protects against buffer overflows caused outside of CUPS...
     * Changed all strcpy's to strncpy's between local and global variables,
       even if the destination buffer is larger than the source string; this
       protects against buffer overflows caused outside of CUPS...
     * Added new mime.types rules to allow automatic raw printing of PCL and
       ESC/P files; PJL headers are parsed to differentiate between
       PostScript and PCL job files. This should eliminate a lot of the
       reports of SAMBA printing problems due to the missing "-oraw" or "-l"
       options.
     * Jobs are now assigned to printers in a class round-robin style. This
       should prevent the first server in the class from bearing the brunt of
       the jobs.
     * The serial backend didn't support the higher baud rates with the old
       termios interface. It now supports 57600 and 115200 baud.
     * The serial backend now supports different types of flow control;
       previously it ignored the flow=XYZ option in the device URI.
     * The serial backend now supports DTR/DSR flow control, which is popular
       on dot-matrix printers (access with "flow=dtrdsr" in the device URI)
     * Added new job-originating-host-name attribute for jobs. The new
       attribute provides the hostname or IP address of the machine that
       submitted the job.
     * Added quota and allow/deny user support for printers and classes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2000/12/14 17:04:44 jlam Exp $
d4 4
a7 4
DISTNAME=		cups-1.1.5-source
PKGNAME=		${DISTNAME:S/-source//}
VERS=			${PKGNAME:S/cups-//}
WRKSRC=			${WRKDIR}/${PKGNAME}
a77 3
# The Okidata PPD files are missing, but on the CUPS mailing list,
# Michael Sweet says that the following should work.
#
a78 6
	${SED}	-e "s,EPSON24,OKIDAT24,g" \
		-e "s,EPSON,OKIDATA,g" \
		< ${WRKSRC}/ppd/epson24.ppd > ${WRKSRC}/ppd/okidat24.ppd
	${SED}	-e "s,EPSON9,OKIDATA9,g" \
		-e "s,EPSON,OKIDATA,g" \
		< ${WRKSRC}/ppd/epson9.ppd > ${WRKSRC}/ppd/okidata9.ppd
@


1.14
log
@Deal with init script in a better way.  Also update various patches to
versions sent back to Easy Software.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2000/12/12 16:03:13 jlam Exp $
d4 1
a4 1
DISTNAME=		cups-1.1.4-source
d27 2
a29 1
CONFIGURE_ARGS+=	--enable-rootconfig
d33 3
d75 13
a87 1
pre-patch:
d124 6
a129 3
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cups
	cd ${WRKSRC}/conf; ${INSTALL_DATA} *.conf mime.* \
		${PREFIX}/share/examples/cups
d131 1
a131 1
	${INSTALL_DATA} ${WRKDIR}/cups.pam ${PREFIX}/share/examples/cups
@


1.13
log
@Add ${USE_PAM}-triggered PAM authentication support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/12/11 09:00:51 jlam Exp $
d29 2
a75 5

post-configure:
	${SED}	-e "s,@@CUPS_USER@@,${CUPS_USER},g" \
		-e "s,@@CUPS_GROUP@@,${CUPS_GROUP},g" \
		< ${WRKSRC}/conf/cupsd.conf.in > ${WRKSRC}/conf/cupsd.conf
@


1.12
log
@Substitute for @@ADDGROUP@@ in pkg/INSTALL file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/12/11 08:53:07 jlam Exp $
a28 1
CONFIGURE_ARGS+=	--disable-pam
d34 10
d83 2
d114 3
@


1.11
log
@Set ADDUSER and ADDGROUP appropriately.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/12/09 22:18:24 jlam Exp $
d85 1
@


1.10
log
@Some tweaks to the DEINSTALL/INSTALL scripts and improvements to the
cupsd rc.d script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/12/09 05:53:39 jlam Exp $
d35 2
a36 9
.if exists(/usr/sbin/user)
USERDIR=		/usr/sbin
.else
DEPENDS+=		user>=20000313:../../sysutils/user
USERDIR=		${LOCALBASE}/sbin
.endif

# CUPS_USER	username of the database administrator
# CUPS_GROUP	group of the database administrator
d42 14
@


1.9
log
@s/CYRUS/CUPS/g
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/12/09 05:53:06 jlam Exp $
d67 2
d70 4
d77 10
a86 1
		-e "s,@@USERDIR@@,${USERDIR},g" \
a87 2

pre-install:
@


1.8
log
@Add CUPS_USER and CUPS_GROUP to the BUILD_DEFS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/12/07 20:33:05 jlam Exp $
d48 1
a48 1
BUILD_DEFS+=		CYRUS_USER CYRUS_GROUP
@


1.7
log
@Update cups to 1.1.4.  Changes from version 1.1 include a large number of
bugfixes, security fixes, improvements to the web admin interface, addition
of new printer drivers, improved documentation, and improvements to the CUPS
API for client development.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/07/12 20:09:33 jlam Exp $
d47 2
@


1.6
log
@Update CUPS to 1.1.  Remove most of the patches; I worked closely with
the author to make this package compile more seamlessly on BSD systems,
and in particular with the NetBSD pkgsrc software collection.

CUPS 1.1 is the newest production (stable) release of CUPS.  It
provides many new features from the 1.0.x releases, including a
new Level 3 PostScript RIP, a new PDF filter, EPSON printer
drivers, IPP/1.1 support, banner page support, and LPD client
support.  Binaries for several platforms are also available.

Major changes in v1.1 include:

	- The text filter now embeds missing fonts.
	- Integrated Xpdf's pdftops filter into CUPS, which is a
	  lightweight and reliable replacement for Ghostscript's
	  PDF support.
	- The web administration interface now allows you to set
	  the default banner pages.
	- Images can now be positioned on the page using the new
	  "position" option.
	- Updated the serial, parallel, and usb backends to do
	  multiple writes and ignore ioctl() errors as needed;
	  this should fix problems with serial printing on old
	  serial drivers and with the UltraSPARC parallel port
	  driver under Solaris 2.7.
	- Now propagate LD_LIBRARY_PATH to child processes from
	  cupsd.
	- Queued remote jobs recreate remote printers as needed
	  when the scheduler is started.
	- Deleting a printer also purges all jobs on that
	  printer.
	- Old job and control files that don't belong to a
	  printer are automatically deleted.
	- cups-lpd now supports options set with lpoptions.
	- The IPP backend now switches to IPP/1.0 if a 1.1
	  request fails.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/03/21 22:40:56 tron Exp $
d4 1
a4 1
DISTNAME=		cups-1.1-source
d28 1
a29 1
CONFIGURE_ARGS+=	--enable-rootconfig
d33 21
d57 18
d76 1
@


1.5
log
@s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
@
text
@d4 11
a14 22
DISTNAME=	cups-1.0.2-source
PKGNAME=	${DISTNAME:S/-source//}
VERS=		${PKGNAME:S/cups-//}
WRKSRC=		${WRKDIR}/${PKGNAME}
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.easysw.com/pub/cups/${VERS}/ \
		ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
		ftp://ftp.northamerica.net/pub/ESP/cups/${VERS}/ \
		ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
		ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jlam@@netbsd.org
HOMEPAGE=	http://www.cups.org/

DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	png>=1.0.6:../../graphics/png
DEPENDS+=	tiff-*:../../graphics/tiff

USE_PKGLIBTOOL=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
d16 19
a34 1
CPPFLAGS+=	-I${LOCALBASE}/include
a36 3
.for DIR in interfaces logs ppd requests
	${TOUCH} /var/cups/${DIR}/.directory
.endfor
d38 1
a38 3
	cd ${WRKSRC}/conf; ${INSTALL_DATA} classes.conf cupsd.conf \
		cupsd.conf-personal cupsd.conf-professional mime.convs \
		mime.types printcap printers.conf \
d40 1
@


1.4
log
@Because the minor of "libpng" was bumped we must sure that packages
compiled for the update "png" package depend on it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/02/09 20:20:57 tron Exp $
d23 1
a23 1
USE_LIBTOOL=	yes
@


1.3
log
@Use "png>=1.0.3" instead of "png-*" in dependence list.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/02/09 15:22:43 tron Exp $
d20 1
a20 1
DEPENDS+=	png>=1.0.3:../../graphics/png
@


1.2
log
@Use wildcard dependence for "png" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/11/29 02:18:53 jlam Exp $
d20 1
a20 1
DEPENDS+=	png-*:../../graphics/png
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d20 1
a20 1
DEPENDS+=	png-1.0.3:../../graphics/png
@


1.1.1.1
log
@Common UNIX Printing System, a IPP 1.0 implementation.
@
text
@@
