head	1.156;
access;
symbols
	pkgsrc-2026Q1:1.156.0.2
	pkgsrc-2026Q1-base:1.156
	pkgsrc-2025Q4:1.155.0.2
	pkgsrc-2025Q4-base:1.155
	pkgsrc-2025Q3:1.153.0.2
	pkgsrc-2025Q3-base:1.153
	pkgsrc-2025Q2:1.152.0.2
	pkgsrc-2025Q2-base:1.152
	pkgsrc-2025Q1:1.150.0.4
	pkgsrc-2025Q1-base:1.150
	pkgsrc-2024Q4:1.150.0.2
	pkgsrc-2024Q4-base:1.150
	pkgsrc-2024Q3:1.146.0.4
	pkgsrc-2024Q3-base:1.146
	pkgsrc-2024Q2:1.146.0.2
	pkgsrc-2024Q2-base:1.146
	pkgsrc-2024Q1:1.145.0.4
	pkgsrc-2024Q1-base:1.145
	pkgsrc-2023Q4:1.145.0.2
	pkgsrc-2023Q4-base:1.145
	pkgsrc-2023Q3:1.142.0.2
	pkgsrc-2023Q3-base:1.142
	pkgsrc-2023Q2:1.139.0.2
	pkgsrc-2023Q2-base:1.139
	pkgsrc-2023Q1:1.137.0.6
	pkgsrc-2023Q1-base:1.137
	pkgsrc-2022Q4:1.137.0.4
	pkgsrc-2022Q4-base:1.137
	pkgsrc-2022Q3:1.137.0.2
	pkgsrc-2022Q3-base:1.137
	pkgsrc-2022Q2:1.136.0.2
	pkgsrc-2022Q2-base:1.136
	pkgsrc-2022Q1:1.135.0.4
	pkgsrc-2022Q1-base:1.135
	pkgsrc-2021Q4:1.135.0.2
	pkgsrc-2021Q4-base:1.135
	pkgsrc-2021Q3:1.134.0.4
	pkgsrc-2021Q3-base:1.134
	pkgsrc-2021Q2:1.134.0.2
	pkgsrc-2021Q2-base:1.134
	pkgsrc-2021Q1:1.133.0.2
	pkgsrc-2021Q1-base:1.133
	pkgsrc-2020Q4:1.132.0.2
	pkgsrc-2020Q4-base:1.132
	pkgsrc-2020Q3:1.131.0.2
	pkgsrc-2020Q3-base:1.131
	pkgsrc-2020Q2:1.130.0.4
	pkgsrc-2020Q2-base:1.130
	pkgsrc-2020Q1:1.130.0.2
	pkgsrc-2020Q1-base:1.130
	pkgsrc-2019Q4:1.129.0.4
	pkgsrc-2019Q4-base:1.129
	pkgsrc-2019Q3:1.128.0.2
	pkgsrc-2019Q3-base:1.128
	pkgsrc-2019Q2:1.127.0.8
	pkgsrc-2019Q2-base:1.127
	pkgsrc-2019Q1:1.127.0.6
	pkgsrc-2019Q1-base:1.127
	pkgsrc-2018Q4:1.127.0.4
	pkgsrc-2018Q4-base:1.127
	pkgsrc-2018Q3:1.127.0.2
	pkgsrc-2018Q3-base:1.127
	pkgsrc-2018Q2:1.126.0.12
	pkgsrc-2018Q2-base:1.126
	pkgsrc-2018Q1:1.126.0.10
	pkgsrc-2018Q1-base:1.126
	pkgsrc-2017Q4:1.126.0.8
	pkgsrc-2017Q4-base:1.126
	pkgsrc-2017Q3:1.126.0.6
	pkgsrc-2017Q3-base:1.126
	pkgsrc-2017Q2:1.126.0.2
	pkgsrc-2017Q2-base:1.126
	pkgsrc-2017Q1:1.124.0.2
	pkgsrc-2017Q1-base:1.124
	pkgsrc-2016Q4:1.123.0.6
	pkgsrc-2016Q4-base:1.123
	pkgsrc-2016Q3:1.123.0.4
	pkgsrc-2016Q3-base:1.123
	pkgsrc-2016Q2:1.123.0.2
	pkgsrc-2016Q2-base:1.123
	pkgsrc-2016Q1:1.121.0.2
	pkgsrc-2016Q1-base:1.121
	pkgsrc-2015Q4:1.120.0.4
	pkgsrc-2015Q4-base:1.120
	pkgsrc-2015Q3:1.120.0.2
	pkgsrc-2015Q3-base:1.120
	pkgsrc-2015Q2:1.119.0.2
	pkgsrc-2015Q2-base:1.119
	pkgsrc-2015Q1:1.118.0.6
	pkgsrc-2015Q1-base:1.118
	pkgsrc-2014Q4:1.118.0.4
	pkgsrc-2014Q4-base:1.118
	pkgsrc-2014Q3:1.118.0.2
	pkgsrc-2014Q3-base:1.118
	pkgsrc-2014Q2:1.117.0.2
	pkgsrc-2014Q2-base:1.117
	pkgsrc-2014Q1:1.116.0.2
	pkgsrc-2014Q1-base:1.116
	pkgsrc-2013Q4:1.115.0.2
	pkgsrc-2013Q4-base:1.115
	pkgsrc-2013Q3:1.113.0.4
	pkgsrc-2013Q3-base:1.113
	pkgsrc-2013Q2:1.113.0.2
	pkgsrc-2013Q2-base:1.113
	pkgsrc-2013Q1:1.111.0.2
	pkgsrc-2013Q1-base:1.111
	pkgsrc-2012Q4:1.110.0.2
	pkgsrc-2012Q4-base:1.110
	pkgsrc-2012Q3:1.109.0.2
	pkgsrc-2012Q3-base:1.109
	pkgsrc-2012Q2:1.108.0.8
	pkgsrc-2012Q2-base:1.108
	pkgsrc-2012Q1:1.108.0.6
	pkgsrc-2012Q1-base:1.108
	pkgsrc-2011Q4:1.108.0.4
	pkgsrc-2011Q4-base:1.108
	pkgsrc-2011Q3:1.108.0.2
	pkgsrc-2011Q3-base:1.108
	pkgsrc-2011Q2:1.105.0.8
	pkgsrc-2011Q2-base:1.105
	pkgsrc-2011Q1:1.105.0.6
	pkgsrc-2011Q1-base:1.105
	pkgsrc-2010Q4:1.105.0.4
	pkgsrc-2010Q4-base:1.105
	pkgsrc-2010Q3:1.105.0.2
	pkgsrc-2010Q3-base:1.105
	pkgsrc-2010Q2:1.104.0.2
	pkgsrc-2010Q2-base:1.104
	pkgsrc-2010Q1:1.102.0.2
	pkgsrc-2010Q1-base:1.102
	pkgsrc-2009Q4:1.100.0.2
	pkgsrc-2009Q4-base:1.100
	pkgsrc-2009Q3:1.99.0.2
	pkgsrc-2009Q3-base:1.99
	pkgsrc-2009Q2:1.96.0.4
	pkgsrc-2009Q2-base:1.96
	pkgsrc-2009Q1:1.96.0.2
	pkgsrc-2009Q1-base:1.96
	pkgsrc-2008Q4:1.95.0.2
	pkgsrc-2008Q4-base:1.95
	pkgsrc-2008Q3:1.92.0.2
	pkgsrc-2008Q3-base:1.92
	cube-native-xorg:1.91.0.2
	cube-native-xorg-base:1.91
	pkgsrc-2008Q2:1.88.0.4
	pkgsrc-2008Q2-base:1.88
	cwrapper:1.88.0.2
	pkgsrc-2008Q1:1.87.0.2
	pkgsrc-2008Q1-base:1.87
	pkgsrc-2007Q4:1.86.0.2
	pkgsrc-2007Q4-base:1.86
	pkgsrc-2007Q3:1.85.0.2
	pkgsrc-2007Q3-base:1.85
	pkgsrc-2007Q2:1.83.0.6
	pkgsrc-2007Q2-base:1.83
	pkgsrc-2007Q1:1.83.0.4
	pkgsrc-2007Q1-base:1.83
	pkgsrc-2006Q4:1.83.0.2
	pkgsrc-2006Q4-base:1.83
	pkgsrc-2006Q3:1.81.0.4
	pkgsrc-2006Q3-base:1.81
	pkgsrc-2006Q2:1.81.0.2
	pkgsrc-2006Q2-base:1.81
	pkgsrc-2006Q1:1.78.0.2
	pkgsrc-2006Q1-base:1.78
	pkgsrc-2005Q4:1.75.0.2
	pkgsrc-2005Q4-base:1.75
	pkgsrc-2005Q3:1.71.0.2
	pkgsrc-2005Q3-base:1.71
	pkgsrc-2005Q2:1.61.0.2
	pkgsrc-2005Q2-base:1.61
	pkgsrc-2005Q1:1.60.0.2
	pkgsrc-2005Q1-base:1.60
	pkgsrc-2004Q4:1.59.0.2
	pkgsrc-2004Q4-base:1.59
	pkgsrc-2004Q3:1.58.0.4
	pkgsrc-2004Q3-base:1.58
	pkgsrc-2004Q2:1.58.0.2
	pkgsrc-2004Q2-base:1.58
	pkgsrc-2004Q1:1.53.0.2
	pkgsrc-2004Q1-base:1.53
	pkgsrc-2003Q4:1.51.0.2
	pkgsrc-2003Q4-base:1.51
	netbsd-1-6-1:1.40.0.2
	netbsd-1-6-1-base:1.40
	netbsd-1-6:1.35.0.6
	netbsd-1-6-RELEASE-base:1.35
	pkgviews:1.35.0.2
	pkgviews-base:1.35
	buildlink2:1.32.0.2
	buildlink2-base:1.33
	netbsd-1-5-PATCH003:1.31
	netbsd-1-5-PATCH001:1.26
	netbsd-1-5-RELEASE:1.20
	netbsd-1-4-PATCH003:1.20
	netbsd-1-4-PATCH002:1.15
	comdex-fall-1999:1.13
	netbsd-1-4-PATCH001:1.3
	netbsd-1-4-RELEASE:1.3
	netbsd-1-3-PATCH003:1.2;
locks; strict;
comment	@# @;


1.156
date	2026.01.07.08.48.30;	author wiz;	state Exp;
branches;
next	1.155;
commitid	1wQ3ICD8eebefrpG;

1.155
date	2025.10.10.16.02.16;	author hauke;	state Exp;
branches;
next	1.154;
commitid	AIuP13F1kdKav2eG;

1.154
date	2025.10.02.16.23.51;	author hauke;	state Exp;
branches;
next	1.153;
commitid	mnht9MkSoIDmS0dG;

1.153
date	2025.07.04.08.47.52;	author wiz;	state Exp;
branches;
next	1.152;
commitid	vfjLVB0DFyTBfp1G;

1.152
date	2025.04.19.07.58.15;	author wiz;	state Exp;
branches;
next	1.151;
commitid	8J0gu7BGAw8XqDRF;

1.151
date	2025.04.17.21.52.06;	author wiz;	state Exp;
branches;
next	1.150;
commitid	xcIXAVA292fk6sRF;

1.150
date	2024.11.16.12.06.22;	author wiz;	state Exp;
branches;
next	1.149;
commitid	EcLctWHJOZ20KRxF;

1.149
date	2024.11.14.22.21.20;	author wiz;	state Exp;
branches;
next	1.148;
commitid	JmuDYqwL4erbdFxF;

1.148
date	2024.11.01.12.54.05;	author wiz;	state Exp;
branches;
next	1.147;
commitid	QB4Wk02mZPuBuWvF;

1.147
date	2024.11.01.00.53.19;	author wiz;	state Exp;
branches;
next	1.146;
commitid	QT27BdVP362gvSvF;

1.146
date	2024.05.29.16.34.06;	author adam;	state Exp;
branches;
next	1.145;
commitid	n8aFyEjEVZA0JUbF;

1.145
date	2023.11.17.00.52.53;	author sekiya;	state Exp;
branches;
next	1.144;
commitid	iSOYJdeswQpYKTME;

1.144
date	2023.11.08.13.20.38;	author wiz;	state Exp;
branches;
next	1.143;
commitid	PsuHTklAIsF4bOLE;

1.143
date	2023.10.24.22.10.39;	author wiz;	state Exp;
branches;
next	1.142;
commitid	MTsrqKm6aGrQAVJE;

1.142
date	2023.08.14.05.25.04;	author wiz;	state Exp;
branches;
next	1.141;
commitid	LOSB79OLVxvXjIAE;

1.141
date	2023.07.17.22.00.25;	author nia;	state Exp;
branches;
next	1.140;
commitid	eEDbZyIlvLwfJcxE;

1.140
date	2023.07.06.09.41.16;	author wiz;	state Exp;
branches;
next	1.139;
commitid	6meR4IA6XJRNYIvE;

1.139
date	2023.06.09.12.03.58;	author micha;	state Exp;
branches;
next	1.138;
commitid	GSfvVhGVW8huDgsE;

1.138
date	2023.04.30.14.58.58;	author spz;	state Exp;
branches;
next	1.137;
commitid	EHEX0AY7pT0AU8nE;

1.137
date	2022.06.28.11.35.22;	author wiz;	state Exp;
branches;
next	1.136;
commitid	D2UoJrTHpoHEANJD;

1.136
date	2022.04.16.11.44.53;	author spz;	state Exp;
branches;
next	1.135;
commitid	RKpYUxWDvjN51qAD;

1.135
date	2021.10.21.07.46.37;	author wiz;	state Exp;
branches;
next	1.134;
commitid	UCfMEU3MwuphnEdD;

1.134
date	2021.05.24.19.53.39;	author wiz;	state Exp;
branches;
next	1.133;
commitid	qokaiStTApGMcrUC;

1.133
date	2021.01.02.14.18.22;	author spz;	state Exp;
branches;
next	1.132;
commitid	FYFLxvD58TXzW9CC;

1.132
date	2020.12.04.20.45.37;	author nia;	state Exp;
branches;
next	1.131;
commitid	FPz71MqRX3WN0tyC;

1.131
date	2020.08.31.18.10.56;	author wiz;	state Exp;
branches;
next	1.130;
commitid	7zxRbfOkDOoxbfmC;

1.130
date	2020.01.18.21.50.30;	author jperkin;	state Exp;
branches;
next	1.129;
commitid	JW4hJgY8ZdoTFdTB;

1.129
date	2019.11.04.19.17.10;	author rillig;	state Exp;
branches;
next	1.128;
commitid	VV3SUJeRlcUbgzJB;

1.128
date	2019.08.11.13.22.33;	author wiz;	state Exp;
branches;
next	1.127;
commitid	Ifet9Pg6Qt99ZByB;

1.127
date	2018.08.22.09.46.09;	author wiz;	state Exp;
branches;
next	1.126;
commitid	YLub8g3ofvFGb6PA;

1.126
date	2017.06.05.14.24.26;	author ryoon;	state Exp;
branches;
next	1.125;
commitid	54KDUXvefsKDYbUz;

1.125
date	2017.05.20.06.53.05;	author spz;	state Exp;
branches;
next	1.124;
commitid	JSogv69a3lQrY5Sz;

1.124
date	2017.01.19.18.52.21;	author agc;	state Exp;
branches;
next	1.123;
commitid	ufZDMu4cgHZdRBCz;

1.123
date	2016.06.08.19.24.16;	author wiz;	state Exp;
branches;
next	1.122;
commitid	12SLmHS6vHs0hH9z;

1.122
date	2016.04.10.16.39.28;	author joerg;	state Exp;
branches;
next	1.121;
commitid	4zcHxHDqKoJLg62z;

1.121
date	2016.03.05.11.29.15;	author jperkin;	state Exp;
branches;
next	1.120;
commitid	1LoxeQftu903HrXy;

1.120
date	2015.08.22.19.10.50;	author wiz;	state Exp;
branches;
next	1.119;
commitid	k68VDYvbQNR6ziyy;

1.119
date	2015.06.12.10.50.54;	author wiz;	state Exp;
branches;
next	1.118;
commitid	B4JmCfaVUbiY38py;

1.118
date	2014.08.03.17.33.34;	author spz;	state Exp;
branches;
next	1.117;
commitid	ZeipQVABT84TlWKx;

1.117
date	2014.05.29.23.37.13;	author wiz;	state Exp;
branches;
next	1.116;
commitid	laryHfkCalgYtuCx;

1.116
date	2014.02.12.23.18.28;	author tron;	state Exp;
branches;
next	1.115;
commitid	dfJj7CwMMWJzNRox;

1.115
date	2013.12.11.09.45.14;	author spz;	state Exp;
branches;
next	1.114;
commitid	9w9Bg7aIkCRhkHgx;

1.114
date	2013.11.27.10.02.55;	author spz;	state Exp;
branches;
next	1.113;
commitid	c6OF39AuOje1STex;

1.113
date	2013.06.16.21.42.00;	author wiz;	state Exp;
branches;
next	1.112;
commitid	U0hcdO2w7i2l1TTw;

1.112
date	2013.05.31.12.41.45;	author wiz;	state Exp;
branches;
next	1.111;
commitid	hIeXGcx6VfKHwMRw;

1.111
date	2013.02.06.23.23.28;	author jperkin;	state Exp;
branches;
next	1.110;

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

1.109
date	2012.08.23.19.00.41;	author spz;	state Exp;
branches;
next	1.108;

1.108
date	2011.09.25.14.00.09;	author spz;	state Exp;
branches;
next	1.107;

1.107
date	2011.09.25.13.58.31;	author spz;	state Exp;
branches;
next	1.106;

1.106
date	2011.08.14.14.16.34;	author obache;	state Exp;
branches;
next	1.105;

1.105
date	2010.08.21.16.35.33;	author seb;	state Exp;
branches;
next	1.104;

1.104
date	2010.06.19.12.45.37;	author joerg;	state Exp;
branches;
next	1.103;

1.103
date	2010.04.13.21.18.00;	author spz;	state Exp;
branches;
next	1.102;

1.102
date	2010.01.17.12.02.37;	author wiz;	state Exp;
branches;
next	1.101;

1.101
date	2010.01.16.09.46.16;	author spz;	state Exp;
branches;
next	1.100;

1.100
date	2009.12.16.22.10.25;	author spz;	state Exp;
branches;
next	1.99;

1.99
date	2009.10.03.16.20.39;	author spz;	state Exp;
branches;
next	1.98;

1.98
date	2009.09.25.11.06.00;	author spz;	state Exp;
branches;
next	1.97;

1.97
date	2009.09.22.13.17.00;	author spz;	state Exp;
branches;
next	1.96;

1.96
date	2009.03.15.15.00.50;	author spz;	state Exp;
branches;
next	1.95;

1.95
date	2008.12.21.16.00.04;	author spz;	state Exp;
branches;
next	1.94;

1.94
date	2008.12.21.11.55.25;	author spz;	state Exp;
branches;
next	1.93;

1.93
date	2008.10.19.19.18.44;	author he;	state Exp;
branches;
next	1.92;

1.92
date	2008.09.16.23.06.19;	author spz;	state Exp;
branches;
next	1.91;

1.91
date	2008.09.03.21.33.29;	author spz;	state Exp;
branches;
next	1.90;

1.90
date	2008.09.03.20.19.39;	author spz;	state Exp;
branches;
next	1.89;

1.89
date	2008.09.03.06.34.32;	author spz;	state Exp;
branches;
next	1.88;

1.88
date	2008.06.23.09.10.53;	author spz;	state Exp;
branches;
next	1.87;

1.87
date	2008.01.18.05.08.52;	author tnn;	state Exp;
branches;
next	1.86;

1.86
date	2007.12.02.11.31.49;	author wiz;	state Exp;
branches;
next	1.85;

1.85
date	2007.09.07.22.12.20;	author jlam;	state Exp;
branches;
next	1.84;

1.84
date	2007.07.04.20.54.54;	author jlam;	state Exp;
branches;
next	1.83;

1.83
date	2006.10.14.08.08.28;	author wiz;	state Exp;
branches;
next	1.82;

1.82
date	2006.10.01.11.34.24;	author tron;	state Exp;
branches;
next	1.81;

1.81
date	2006.04.23.00.12.41;	author jlam;	state Exp;
branches;
next	1.80;

1.80
date	2006.04.10.16.27.02;	author joerg;	state Exp;
branches;
next	1.79;

1.79
date	2006.03.31.17.58.39;	author tron;	state Exp;
branches;
next	1.78;

1.78
date	2006.03.02.19.03.20;	author joerg;	state Exp;
branches;
next	1.77;

1.77
date	2006.01.04.10.32.40;	author tron;	state Exp;
branches;
next	1.76;

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

1.75
date	2005.12.05.23.55.15;	author rillig;	state Exp;
branches;
next	1.74;

1.74
date	2005.12.05.20.50.50;	author rillig;	state Exp;
branches;
next	1.73;

1.73
date	2005.11.22.16.14.49;	author tron;	state Exp;
branches;
next	1.72;

1.72
date	2005.10.07.18.08.25;	author reed;	state Exp;
branches;
next	1.71;

1.71
date	2005.09.22.15.38.39;	author tron;	state Exp;
branches;
next	1.70;

1.70
date	2005.08.23.11.48.50;	author rillig;	state Exp;
branches;
next	1.69;

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

1.68
date	2005.07.24.21.19.54;	author kristerw;	state Exp;
branches;
next	1.67;

1.67
date	2005.07.18.02.37.22;	author jlam;	state Exp;
branches;
next	1.66;

1.66
date	2005.07.16.19.10.40;	author jlam;	state Exp;
branches;
next	1.65;

1.65
date	2005.07.15.23.23.15;	author kristerw;	state Exp;
branches;
next	1.64;

1.64
date	2005.06.27.19.11.25;	author tron;	state Exp;
branches;
next	1.63;

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

1.62
date	2005.06.23.21.57.45;	author kristerw;	state Exp;
branches;
next	1.61;

1.61
date	2005.04.11.21.47.03;	author tv;	state Exp;
branches;
next	1.60;

1.60
date	2004.12.28.02.47.48;	author reed;	state Exp;
branches;
next	1.59;

1.59
date	2004.10.03.00.18.02;	author tv;	state Exp;
branches;
next	1.58;

1.58
date	2004.06.08.12.24.00;	author cjep;	state Exp;
branches;
next	1.57;

1.57
date	2004.06.02.11.43.55;	author tron;	state Exp;
branches;
next	1.56;

1.56
date	2004.05.23.14.40.00;	author tron;	state Exp;
branches;
next	1.55;

1.55
date	2004.05.22.18.58.29;	author jschauma;	state Exp;
branches;
next	1.54;

1.54
date	2004.04.11.17.33.47;	author snj;	state Exp;
branches;
next	1.53;

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

1.52
date	2004.01.24.20.41.01;	author kristerw;	state Exp;
branches;
next	1.51;

1.51
date	2003.09.17.19.40.56;	author grant;	state Exp;
branches;
next	1.50;

1.50
date	2003.09.12.20.07.25;	author grant;	state Exp;
branches;
next	1.49;

1.49
date	2003.07.29.16.30.06;	author wiz;	state Exp;
branches;
next	1.48;

1.48
date	2003.07.29.16.29.09;	author wiz;	state Exp;
branches;
next	1.47;

1.47
date	2003.07.29.16.27.26;	author wiz;	state Exp;
branches;
next	1.46;

1.46
date	2003.07.21.17.11.54;	author martti;	state Exp;
branches;
next	1.45;

1.45
date	2003.07.17.22.52.07;	author grant;	state Exp;
branches;
next	1.44;

1.44
date	2003.06.11.20.50.57;	author abs;	state Exp;
branches;
next	1.43;

1.43
date	2003.06.02.14.05.07;	author abs;	state Exp;
branches;
next	1.42;

1.42
date	2003.05.13.11.56.44;	author tron;	state Exp;
branches;
next	1.41;

1.41
date	2003.03.23.11.07.15;	author tron;	state Exp;
branches;
next	1.40;

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

1.39
date	2002.10.13.07.57.43;	author tron;	state Exp;
branches;
next	1.38;

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

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

1.36
date	2002.08.27.15.27.46;	author grant;	state Exp;
branches;
next	1.35;

1.35
date	2002.07.06.15.04.57;	author tron;	state Exp;
branches;
next	1.34;

1.34
date	2002.07.06.14.33.36;	author tron;	state Exp;
branches;
next	1.33;

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

1.32
date	2002.04.20.18.18.50;	author cjep;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2001.10.20.17.31.44;	author veego;	state Exp;
branches;
next	1.30;

1.30
date	2001.10.19.09.17.11;	author veego;	state Exp;
branches;
next	1.29;

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

1.28
date	2001.07.16.13.41.18;	author tron;	state Exp;
branches;
next	1.27;

1.27
date	2001.07.10.16.02.12;	author tron;	state Exp;
branches;
next	1.26;

1.26
date	2001.03.01.19.07.53;	author jlam;	state Exp;
branches;
next	1.25;

1.25
date	2001.02.25.04.18.10;	author hubertf;	state Exp;
branches;
next	1.24;

1.24
date	2001.02.17.17.54.47;	author wiz;	state Exp;
branches;
next	1.23;

1.23
date	2001.02.13.03.54.55;	author itojun;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.08.16.23.06;	author tron;	state Exp;
branches;
next	1.21;

1.21
date	2001.01.26.05.21.47;	author hubertf;	state Exp;
branches;
next	1.20;

1.20
date	2000.09.01.20.16.59;	author veego;	state Exp;
branches;
next	1.19;

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

1.18
date	2000.08.17.14.00.27;	author wiz;	state Exp;
branches;
next	1.17;

1.17
date	2000.07.03.13.44.53;	author veego;	state Exp;
branches;
next	1.16;

1.16
date	2000.06.01.11.23.38;	author rh;	state Exp;
branches;
next	1.15;

1.15
date	2000.02.27.23.04.23;	author tron;	state Exp;
branches;
next	1.14;

1.14
date	2000.02.27.22.51.41;	author tron;	state Exp;
branches;
next	1.13;

1.13
date	99.10.07.17.41.57;	author tron;	state Exp;
branches;
next	1.12;

1.12
date	99.09.30.17.35.21;	author tron;	state Exp;
branches;
next	1.11;

1.11
date	99.08.24.14.18.57;	author tron;	state Exp;
branches;
next	1.10;

1.10
date	99.08.18.08.38.51;	author agc;	state Exp;
branches;
next	1.9;

1.9
date	99.07.29.21.15.46;	author tron;	state Exp;
branches;
next	1.8;

1.8
date	99.07.29.20.27.19;	author tron;	state Exp;
branches;
next	1.7;

1.7
date	99.07.26.20.56.23;	author tron;	state Exp;
branches;
next	1.6;

1.6
date	99.07.21.22.29.36;	author tron;	state Exp;
branches;
next	1.5;

1.5
date	99.07.21.20.38.55;	author tron;	state Exp;
branches;
next	1.4;

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

1.3
date	98.10.17.18.09.32;	author bad;	state Exp;
branches;
next	1.2;

1.2
date	98.09.17.15.39.53;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	98.09.05.03.21.11;	author garbled;	state Exp;
branches;
next	;

1.32.2.1
date	2002.06.23.18.57.29;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.156
log
@*: recursive bump for icu 78.1
@
text
@# $NetBSD: Makefile,v 1.155 2025/10/10 16:02:16 hauke Exp $

DISTNAME=		inn-2.7.3
PKGREVISION=		2
CATEGORIES=		news
MASTER_SITES=		ftp://ftp.isc.org/isc/inn/
MASTER_SITES+=		ftp://ftp.fu-berlin.de/unix/news/inn/

MAINTAINER=		spz@@NetBSD.org
HOMEPAGE=		https://www.eyrie.org/~eagle/software/inn/
COMMENT=		The public release of InterNet News (INN)
LICENSE=		modified-bsd AND gnu-gpl-v2

CONFLICTS+=		libradius-[0-9]* nntpclnt-[0-9]*

.include "../../news/inn/Makefile.common"

BUILD_DEFS+=		VARBASE

FILES_SUBST+=		INN_DATA_DIR=${INN_DATA_DIR}

BUILD_DEFS+=		INN_PATHBIN
FILES_SUBST+=		INN_PATHBIN=${PREFIX}/${INN_PATHBIN:Q}

PLIST_SUBST+=		INN_PATHBIN=${INN_PATHBIN:Q}
PRINT_PLIST_AWK+=	{ gsub(/libexec\/inn\//, "$${INN_PATHBIN}/"); }
PRINT_PLIST_AWK+=	{ gsub(/.+\/auth\/passwd\/auth_krb5$$/, "$${PLIST.kerberos}&"); }
PRINT_PLIST_AWK+=	{ gsub(/^man\/man8\/auth_krb5\.8$$/, "$${PLIST.kerberos}&"); }

PKG_SYSCONFSUBDIR=	inn

GNU_CONFIGURE=		YES
GNU_CONFIGURE_PREFIX=	${INN_PREFIX}
GNU_CONFIGURE_MANDIR=	${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+=	--enable-setgid-inews 				\
			--enable-largefiles				\
			--bindir=${PREFIX}/${INN_PATHBIN}		\
			--sbindir=${PREFIX}/${INN_PATHBIN}		\
			--sysconfdir=${PKG_SYSCONFDIR} 			\
			--with-openssl=${SSLBASE:Q}			\
			--with-doc-dir=${PREFIX}/share/doc/inn	 	\
			--with-control-dir=${PREFIX}/${INN_PATHBIN}/control \
			--with-filter-dir=${PREFIX}/${INN_PATHBIN}/filter \
			--with-tmp-dir=${INN_DATA_DIR}/tmp		\
			--with-db-dir=${INN_DATA_DIR}/db 		\
			--with-http-dir=${INN_DATA_DIR}/http		\
			--with-log-dir=${INN_DATA_DIR}/log 		\
			--with-run-dir=${INN_DATA_DIR}/run 		\
			--includedir=${PREFIX}/include 			\
			--with-spool-dir=${INN_SPOOL:Q}			\
			--with-news-user=${INN_USER}			\
			--with-news-group=${INN_GROUP}
CONFIGURE_ENV+=		_PATH_AWK=${TOOLS_AWK}
CONFIGURE_ENV+=		_PATH_EGREP=${TOOLS_EGREP}
CONFIGURE_ENV+=		_PATH_SED=${TOOLS_SED}
CONFIGURE_ENV+=		_PATH_SH=${TOOLS_SH}
CONFIGURE_ENV+=		_PATH_SORT=${TOOLS_SORT}
CONFIGURE_ENV+=		GZIP=${TOOLS_GZIP_CMD}
USE_TOOLS+=		awk egrep gzip perl:run sed sh sort yacc

USE_LIBTOOL=		yes

LDFLAGS.SunOS+=	-lsocket -lnsl

USERGROUP_PHASE=	pre-install
PKG_USERS_VARS+=	INN_USER
PKG_GROUPS_VARS+=	INN_GROUP

PKG_GROUPS+=		${INN_GROUP}
PKG_USERS+=		${INN_USER}:${INN_GROUP}
PKG_GECOS.${INN_USER}=	Internet\ News
PKG_HOME.${INN_USER}=	${INN_DATA_DIR}
PKG_SHELL.${INN_USER}=	${SH}

EXAMPLEDIR=		${PREFIX}/share/examples/inn
INN_DATADIRS=		log log/OLD tmp db spool http
INN_SPOOLDIRS=		archive articles overview incoming incoming/bad	\
			outgoing uniover innfeed

INSTALL_ENV+=		CHOWNPROG="echo chmod"
INSTALL_ENV+=		CHGRPPROG="echo chgrp"

INSTALLATION_DIRS+=	sbin
INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	${EXAMPLEDIR}
INSTALLATION_DIRS+=	${EXAMPLEDIR}/filter

INN_DIRS+=		${PKG_SYSCONFDIR}
INN_DIRS+=		${INN_DATA_DIR}

MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/auth
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/auth/resolv
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/auth/passwd
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/control
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/filter
MAKE_DIRS+=	${PREFIX}/${INN_PATHBIN}/rnews.libexec
MAKE_DIRS+=	${EXAMPLEDIR}

.for dir in ${INN_DIRS}
OWN_DIRS_PERMS+=	${dir}	${INN_USER} ${INN_GROUP} 0775
.endfor

.for dir in ${INN_DATADIRS}
OWN_DIRS_PERMS+=	${INN_DATA_DIR}/${dir}	${INN_USER} ${INN_GROUP} 0775
.endfor

OWN_DIRS_PERMS+=	${INN_DATA_DIR}/run	${INN_USER} ${INN_GROUP} 0770

.for dir in ${INN_SPOOLDIRS}
OWN_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${dir} \
						${INN_USER} ${INN_GROUP} 0775
.endfor

CFILES=			actsync.cfg actsync.ign buffindexed.conf \
			control.ctl control.ctl.local cycbuff.conf \
			distrib.pats distributions \
			expire.ctl incoming.conf inn.conf innfeed.conf \
			innreport.conf innwatch.ctl \
			innshellvars.local innshellvars.pl.local \
			innshellvars.tcl.local \
			localgroups moderators \
			motd.innd motd.nnrpd \
			news2mail.cf newsfeeds nnrpd.track \
			nntpsend.ctl nocem.ctl ovdb.conf passwd.nntp \
			inn-radius.conf readers.conf send-uucp.cf \
			storage.conf subscriptions ovsqlite.conf
.for file in ${CFILES}
CONF_FILES_PERMS+=	${EXAMPLEDIR}/${file} ${PKG_SYSCONFDIR}/${file} \
			${INN_USER} ${INN_GROUP} 0664
.endfor
.for file in inn-secrets.conf
CONF_FILES_PERMS+=	${EXAMPLEDIR}/${file} ${PKG_SYSCONFDIR}/${file} \
			${INN_USER} ${INN_GROUP} 0600
.endfor

CONF_FILES_PERMS+=	${EXAMPLEDIR}/active.minimal ${INN_DATA_DIR}/db/active ${INN_USER} ${INN_GROUP} 0664
CONF_FILES_PERMS+=	${EXAMPLEDIR}/newsgroups.minimal ${INN_DATA_DIR}/db/newsgroups ${INN_USER} ${INN_GROUP} 0664

DBFILES=		active.times history

HTTPFILES=		innreport.css

CONF_FILES_PERMS+=	${EXAMPLEDIR}/innreport.css ${INN_DATA_DIR}/http/innreport.css ${INN_USER} ${INN_GROUP} 0664

.for file in ${DBFILES}
CONF_FILES_PERMS+=	${EXAMPLEDIR}/${file} ${INN_DATA_DIR}/db/${file} \
			${INN_USER} ${INN_GROUP} 0664
.endfor

FILTERFILES=		INN.py filter_innd.py nnrpd.py nnrpd_access.py \
			nnrpd_auth.py nnrpd_dynamic.py \
			filter_innd.pl filter_nnrpd.pl nnrpd_access.pl \
			nnrpd_auth.pl startup_innd.pl

.for file in ${FILTERFILES}
CONF_FILES_PERMS+=	${EXAMPLEDIR}/filter/${file} ${INN_PATHBIN}/filter/${file} \
			${INN_USER} ${INN_GROUP} 0664
.endfor

SPECIAL_PERMS+=		${PREFIX}/${INN_PATHBIN}/innbind ${REAL_ROOT_USER} ${INN_GROUP} 4555
SPECIAL_PERMS+=		${PREFIX}/${INN_PATHBIN}/inews ${INN_USER} ${INN_GROUP} 2555

NEWSONLYBINS+=		buffindexed_d cnfsheadconf ctlinnd expire expireover
NEWSONLYBINS+=		expirerm imapfeed inncheck innd innfeed innstat
NEWSONLYBINS+=		innupgrade innwatch makedbz makehistory mod-active
NEWSONLYBINS+=		news.daily ovdb_init ovdb_monitor ovdb_server ovdb_stat
NEWSONLYBINS+=		overchan procbatch prunehistory rc.news scanlogs
NEWSONLYBINS+=		tally.control tdx-util writelog
.for file in ${NEWSONLYBINS}
SPECIAL_PERMS+=		${PREFIX}/${INN_PATHBIN}/${file} ${INN_USER} ${INN_GROUP} 0550
.endfor


RCD_SCRIPTS=		innd

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

.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+=	--with-sendmail=/usr/lib/sendmail
.else
CONFIGURE_ARGS+=	--with-sendmail=/usr/sbin/sendmail
.endif

SUBST_CLASSES+=		rclocal
SUBST_FILES.rclocal=	scripts/rc.news.in
SUBST_VARS.rclocal=	PKG_SYSCONFDIR
SUBST_STAGE.rclocal=	pre-configure

.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 099967
SUBST_CLASSES+=		blcklist
SUBST_FILES.blcklist=	HACKING INSTALL MANIFEST NEWS \
			Makefile.global.in configure configure.ac \
			include/config.h.in \
			ci/test support/mksnapshot \
			nnrpd/perm.c nnrpd/nnrpd.c m4/blocklist.m4 \
			doc/pod/hacking.pod doc/pod/install.pod \
			doc/pod/news.pod doc/pod/nnrpd.pod doc/man/nnrpd.8
SUBST_SED.blcklist=	-e 's,blacklist,blocklist,g'
SUBST_STAGE.blcklist=	pre-configure

post-extract:
	${MV} ${WRKSRC}/m4/blacklist.m4 ${WRKSRC}/m4/blocklist.m4

.endif

.include "options.mk"

TEST_TARGET=	tests

pre-install:
.for file in ${CFILES} active.minimal newsgroups.minimal inn-secrets.conf
	${INSTALL_DATA} ${WRKSRC}/site/${file} ${DESTDIR}${EXAMPLEDIR}
.endfor
.for file in ${DBFILES} ${HTTPFILES}
	${TOUCH} ${WRKSRC}/site/${file}
	${INSTALL_DATA} ${WRKSRC}/site/${file} ${DESTDIR}${EXAMPLEDIR}
.endfor
.for file in ${FILTERFILES}
	${INSTALL_DATA} ${WRKSRC}/site/${file} ${DESTDIR}${EXAMPLEDIR}/filter
.endfor

post-install:
.for file in cnfsstat ctlinnd makehistory innbind
	${RM} -f ${DESTDIR}${PREFIX}/sbin/${file}
	${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/${file}	\
				${DESTDIR}${PREFIX}/sbin
.endfor
	${RM} -f ${DESTDIR}${PREFIX}/bin/inews
	${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/inews	\
			${DESTDIR}${PREFIX}/bin
	${RM} -f ${DESTDIR}${PREFIX}/bin/rnews
	${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/rnews	\
			${DESTDIR}${PREFIX}/bin
.for file in libinn.a libinnstorage.a libinnhist.a
	${CHMOD} 644 ${DESTDIR}${PREFIX}/lib/${file}
.endfor

.include "../../security/openssl/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.155
log
@MESSAGES is gone

Go full rc.subr on the rc.d script, which gives us 'inn status'

Look for site-local rc.news in PKG_SYSCONFDIR
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.154 2025/10/02 16:23:51 hauke Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.154
log
@news/inn: Update to v2.7.3

Remove obsolete MESSAGE file.

From upstream's changelog:


INN 2.7.3 Latest

2025-05-09

New Features

    actsyncd now supports fetching a remote active file from a web
    site, using the HTTP or HTTPS protocols. Two new keywords, path
    and protocol, permit parameterizing that in the actsync.cfg
    configuration file. See the actsync(8) manual page and the updated
    actsync.cfg sample file for more details.

    If you are currently using actsyncd to synchronize your active
    file with the one of an FTP server, please check that FTP access
    is still working and the remote active file is up to date. You are
    otherwise encouraged to update your actsync.cfg configuration file
    to use an HTTPS access. Just adding protocol=https may be
    enough. The rationale behind that is the fact that FTP servers are
    considered less secure nowadays; FTP access to ftp.isc.org is
    doomed to be shut down one day in favour of HTTPS. The updated
    actsyncd and simpleftp programs shipped with INN go along with the
    upcoming change.

    simpleftp, only used by actsyncd, now supports fetching files from
    web servers, using the HTTP(S) protocol. It now also correctly
    parses a port number following a hostname (separated by a colon),
    and establishes FTP sessions in passive mode as this mode works
    better behind firewalls and NAT configurations.

    Added bzip2 support to actsyncd to uncompress downloaded active files.

Bug Fixes

    The check for a fully qualified domain name for the local host at
    startup still produces a warning in the logs but is no longer
    fatal. The installation of INN was otherwise failing under some
    circumstances like when creating a Docker image. Additionally, the
    INN_HOSTNAME environment variable, if set and fully qualified, is
    now taken by INN as the hostname.

    Fixed syntax warnings in the default filter_innd.py Python hook so
    that innd no longer logs errors with Python 3.12 and
    greater. Thanks to Roberto Corrado for the patch.

    Several improvements have been made to readership statistics
    reported by innreport: IPv6 addresses are now correctly recognized
    and reported as unresolved instead of unknown, statistics by
    domain are at a better granularity, totals are correctly computed,
    and only the top 100 entries are displayed by default instead of a
    possibly very long exhaustive list.

    Fixed the computation of idle time in the nnrpd timers gathered by
    innreport, and the display of non-printable characters in the
    section about unrecognized NNRP commands. The wording and the case
    of the section titles are also more homogenized.

    Fixed the handling of empty Message-IDs in perl-nocem. Instead of
    dying, it now just discards these invalid entries.

    Spelling fixes in documentation. Thanks to Christian Clauss for
    the run of codespell.

Other Changes

    An up-to-date moderators file is provided with this release. It
    basically removes the records of defunct hierarchies. You may want
    to manually update your configuration with the new file.

    Improved Perl code readability and quality by enforcing the most
    interesting and useful Perl::Critic policies. A new make
    code-check command has been added to run the checks against the
    source code.

    Move the manual pages of delayer, shlock and sm to section 8 (system administration commands) instead of section 1 (user commands).

    Update from GNU Libtool 2.4.7 to 2.5.4.


INN 2.7.2

2024-06-22

New Features

    Added two new options in storage.conf, contributed by Christoph
    Biedl:

        a filtered option to store articles which have been rejected
        by a Perl or Python filter for innd into a separate storage
        class, when dontrejectfiltered is set to true in inn.conf;

        a path option to store articles by the contents of the Path
        header field, notably to isolate the storage of spammy sites
        from other sites.

    The delayer program, which previously was in the contrib
    directory, is now installed by default. It notably permits
    generating a delayed feed, for instance to give cancel control
    articles and NoCeM messages time to arrive, and therefore actually
    cancel articles before they are locally stored. Thanks to
    Christoph Biedl for the documentation, testing, and addition of
    several useful flags to delayer.

    Added the INN::ovsqlite_client Perl module to access an ovsqlite
    overview database through ovsqlite-server from a Perl script. This
    module provides search, add, remove and expire functions for
    information stored in an ovsqlite database (newsgroups and
    overview data associated to articles in these newsgroups). Many
    thanks to Bo Lindbergh for it, as well as for two samples in the
    contrib directory (ovsqlite-dump and ovsqlite-undump) showing how
    to use the module.

    Added several new options to better parameterize perl-nocem. The
    location of its configuration file, the keyring to use, and the
    full gpg and gpgv commands to run can now be modified by flags
    passed to the program. Unprocessed NoCeM notices will also show up
    in daily Usenet reports generated by innreport. Log verbosity can
    be controlled, cancelled articles can be backed up into files, and
    perl-nocem can write logs to a separate perl-nocem.log file. Local
    rules to fine-tune within a NoCeM notice which articles get
    cancelled can also be applied. See its manual page for more
    information about the use of these options.

    innreport now supports high-precision timestamps like
    2023-07-29T04:15:01.889064+02:00 that syslog can be parameterized
    to use; daily Usenet reports otherwise indicated all these logs as
    unknown entries because a format like Jul 29 04:15:01 was
    expected.

    innreport now alphabetically sorts lines which have the same rank
    instead of displaying them in random order.

    scanspool now detects empty files in a tradspool news spool and
    directories with an all-digit component (which may conflict with a
    possible file with the same name), correctly parses continuation
    lines in header fields, and can automatically remove articles
    reported to have a problem (when run with the new -r flag).

    Added a new ovflushcount parameter in inn.conf, defaulting to 50,
    to parameterize the number of articles received between flushing
    their overview data to disk, when using the buffindexed overview
    storage method. (In previous releases, that number was ten times
    the value of icdsynccount, but a dedicated parameter is better.)

INN 2.7.2

2024-06-22

New Features

    Added two new options in storage.conf, contributed by Christoph
    Biedl:

        a filtered option to store articles which have been rejected
        by a Perl or Python filter for innd into a separate storage
        class, when dontrejectfiltered is set to true in inn.conf;

        a path option to store articles by the contents of the Path
        header field, notably to isolate the storage of spammy sites
        from other sites.

    The delayer program, which previously was in the contrib
    directory, is now installed by default. It notably permits
    generating a delayed feed, for instance to give cancel control
    articles and NoCeM messages time to arrive, and therefore actually
    cancel articles before they are locally stored. Thanks to
    Christoph Biedl for the documentation, testing, and addition of
    several useful flags to delayer.

    Added the INN::ovsqlite_client Perl module to access an ovsqlite
    overview database through ovsqlite-server from a Perl script. This
    module provides search, add, remove and expire functions for
    information stored in an ovsqlite database (newsgroups and
    overview data associated to articles in these newsgroups). Many
    thanks to Bo Lindbergh for it, as well as for two samples in the
    contrib directory (ovsqlite-dump and ovsqlite-undump) showing how
    to use the module.

    Added several new options to better parameterize perl-nocem. The
    location of its configuration file, the keyring to use, and the
    full gpg and gpgv commands to run can now be modified by flags
    passed to the program. Unprocessed NoCeM notices will also show up
    in daily Usenet reports generated by innreport. Log verbosity can
    be controlled, cancelled articles can be backed up into files, and
    perl-nocem can write logs to a separate perl-nocem.log file. Local
    rules to fine-tune within a NoCeM notice which articles get
    cancelled can also be applied. See its manual page for more
    information about the use of these options.

    innreport now supports high-precision timestamps like
    2023-07-29T04:15:01.889064+02:00 that syslog can be parameterized
    to use; daily Usenet reports otherwise indicated all these logs as
    unknown entries because a format like Jul 29 04:15:01 was
    expected.

    innreport now alphabetically sorts lines which have the same rank
    instead of displaying them in random order.

    scanspool now detects empty files in a tradspool news spool and
    directories with an all-digit component (which may conflict with a
    possible file with the same name), correctly parses continuation
    lines in header fields, and can automatically remove articles
    reported to have a problem (when run with the new -r flag).

    Added a new ovflushcount parameter in inn.conf, defaulting to 50,
    to parameterize the number of articles received between flushing
    their overview data to disk, when using the buffindexed overview
    storage method. (In previous releases, that number was ten times
    the value of icdsynccount, but a dedicated parameter is better.)

Bug Fixes

    perl-nocem now correctly parses the identifiers of NoCeM issuers
    with special characters like + in the configuration file.

    Fixed a hang when posting articles if COMPRESS DEFLATE is active
    but TLS is not. Thanks to Enrik Berkhan for the patch for nnrpd.

    innd no longer dies when ctlinnd trace is run on an invalid
    channel.

    INN now properly handles header field names starting with a
    leading dot: innd accurately computes the :bytes metadata item of
    articles with such header field names, and nnrpd correctly
    preserves the leading initial dot at injection time and rightly
    parses such header field names in HDR, XHDR and XPAT commands.

    nnrpd now rejects articles with invalid dot-stuffing (that is to
    say when a dot at the beginning of a line is not doubled) as it is
    a violation of the NNTP protocol. (innd still goes on accepting
    and propagating such articles as they have already been injected
    and propagated.)

    Fixed the computation of the Bytes header field by pullnews (in
    header-only mode with the -B flag).

    Fixed the generation of rnews batches by pullnews (when using the
    -r flag) which had not the expected native LF line termination.

    Fixed inndf on 32-bit architectures with large file support
    (previously, inndf could not count more than 2^32 bytes or inodes
    on these architectures).

    Fixed an issue preventing articles from expiring when using the
    ovsqlite method, in a very rare case. When an article had more
    than 100,000 bytes of overview data (for instance with a Subject
    header field of that length), overview expiration was no longer
    done for newsgroups carrying this article. Such articles, which
    most certainly are spams anyway, are no longer added to the
    ovsqlite database. Thanks for Jesse Rehmer for the bug report.

    Fixed a database lock issue when running ovsqlite-util on a
    running server with the transtimelimit parameter in ovsqlite.conf
    set to a higher value than the default busy timeout of 30 seconds
    of ovsqlite-util. Thanks to Jesse Rehmer for the bug report and Bo
    Lindbergh for the fix.

    Fixed a foreign key issue preventing ovsqlite-util from fixing
    problems found when running with the -F flag.

    innd no longer malfunctions nor throttles when the maximum number
    of file descriptors supported by the system is reached. If needing
    to use more file descriptors than the default system limit, a new
    LARGE_FD_SETSIZE option can be set at build time. See the
    documentation for rlimitnofile in inn.conf for more
    information. Thanks to Jesse Rehmer for the bug report.

Other Change

    Up-to-date control.ctl and nocem.ctl files are provided with this
    release. You may want to manually update your configuration with
    the new information recorded about hierarchies and NoCeM issuers,
    and make sure the relevant PGP keys are installed on your system.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.153 2025/07/04 08:47:52 wiz Exp $
d4 1
a24 2
MESSAGE_SUBST+=		INN_PATHBIN=${INN_PATHBIN:Q}

d185 5
@


1.153
log
@*: bump for perl 5.42.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.152 2025/04/19 07:58:15 wiz Exp $
d3 1
a3 2
DISTNAME=		inn-2.7.1
PKGREVISION=		12
a16 1
BUILD_DEFS+=		INN_DATA_DIR
d27 3
@


1.152
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.151 2025/04/17 21:52:06 wiz Exp $
d4 1
a4 1
PKGREVISION=		11
@


1.151
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.150 2024/11/16 12:06:22 wiz Exp $
d4 1
a4 1
PKGREVISION=		10
@


1.150
log
@*: recursive bump for perl 5.40
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.149 2024/11/14 22:21:20 wiz Exp $
d4 1
a4 1
PKGREVISION=		9
@


1.149
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.148 2024/11/01 12:54:05 wiz Exp $
d4 1
a4 1
PKGREVISION=		8
@


1.148
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.147 2024/11/01 00:53:19 wiz Exp $
d4 1
a4 1
PKGREVISION=		7
@


1.147
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.146 2024/05/29 16:34:06 adam Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.146
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.145 2023/11/17 00:52:53 sekiya Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.145
log
@Make perl dependencies conditional on "perl" package option.

No functional change in the default configuration case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.144 2023/11/08 13:20:38 wiz Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.144
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.143 2023/10/24 22:10:39 wiz Exp $
a64 4
DEPENDS+=		p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
DEPENDS+=		p5-GD-[0-9]*:../../graphics/p5-GD
DEPENDS+=		p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite

@


1.143
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.142 2023/08/14 05:25:04 wiz Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.142
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.141 2023/07/17 22:00:25 nia Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.141
log
@*: Remove many GCC_REQD for particularly old GCCs

In many cases the reasoning is poorly documented, or the reasoning
for setting GCC_REQD is to work around a compiler bug. Practically
a c99 compiler is now required for bootstrap (in at least several
dependencies) so we can entirely rule out GCC versions before 3.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.140 2023/07/06 09:41:16 wiz Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.140
log
@*: recursive bump for perl 5.38
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.139 2023/06/09 12:03:58 micha Exp $
a205 4
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+=		2.95.3
.endif

@


1.139
log
@news/inn: Set homepage to INN page from Russ Allbery

The ISC page does not contain useful information anymore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.138 2023/04/30 14:58:58 spz Exp $
d4 1
@


1.138
log
@update inn to 2.7.1
adding canlock option kudos micha@@

upstream changelog:
Changes in 2.7.1 (2023-04-16)

    * Added a new *groupexactcount* parameter in readers.conf to force nnrpd
      to report the exact number of still existing articles in newsgroups
      instead of an estimated count.  When the estimated number of articles
      is strictly below *groupexactcount* (set to 5 by default), nnrpd now
      recounts them and reports the actual value (articles that have been
      cancelled or overwritten in self-expiring CNFS buffers may otherwise
      still be counted in the estimate).  News clients will then be directly
      aware of empty newsgroups; they would otherwise have tried to retrieve
      possible articles, to finally not show anything to the user.

    * Programs sending mails now include, when appropriate, an
      Auto-Submitted header field in the message headers (either set to
      "auto-generated" or "auto-replied", following the recommendation in
      RFC 3834).  Thanks to Harald Dunkel for this suggestion which will for
      instance help to avoid unnecessary vacation replies.

    * Added a new -a option to innmail to specify additional header fields
      to add in the headers of messages.  This is notably used to internally
      support the addition of the Auto-Submitted header field in outgoing
      mails.

    * Added new ovsqlite-util program to perform some basic consistency
      checks and dump operations on an overview database using the ovsqlite
      method.  More checks and features will be added in future releases.
      You'll need the "DBI" Perl module with the "DBD::SQLite" driver
      installed on your system to use this program.

    * Added TLS support in pullnews for connections to upstream servers
      configured in pullnews.marks, and to the downstream server in the
      existing -s flag.  A port can now also be specified for connections to
      upstream servers (it was already possible for the downstream server
      only).

    * Added a new -L option to pullnews to specify the largest wanted
      article size in bytes.  Articles whose size exceeds that value will no
      longer be downloaded by pullnews.

    * pullnews now detects a socket timeout while downloading articles from
      a remote peer.  The download gracefully stops, and another attempt can
      be automatically made according to the setting given with the -t flag.
      Thanks to Jesse Rehmer for the bug report.

    * Fixed the generation and the handling of storage tokens on wrapped
      CNFS buffers, thanks to bug reports from Kamil Jonca:

      * Duplicate entries were returned by makehistory on fully wrapped
        cyclic buffers (the first article of the cyclic buffer appeared
        twice in the output).

      * The first article of a fully wrapped cyclic buffer was removed too
        soon from history (expire wrongly thought its storage token was no
        longer existing after a wrap).

      * The first article of the previous cycle number of a cyclic buffer
        containing articles from two different cycle numbers was wrongly
        considered by makehistory to belong to the current cycle number.

    * innd no longer dies when a newsfeeds entry has an unexpected trailing
      whitespace.

    * The size of duplicated articles was counted twice in totals, average
      article sizes and graphs by innreport, when parsing innd checkpoints.
      Thanks to Hauke Lampe for the patch to count it only once.

    * Customizing the domain part of Message-IDs generated by nnrpd and the
      server name indicated in Injection-Info header fields is now easier:
      the *domain* parameter in the access blocks of readers.conf can be
      directly used (without needing to set *virtualhost* as it was
      previously the case).

    * If the *domain* parameter is set in inn.conf or in a readers.conf
      access block, and has invalid characters, or if the fully qualified
      domain name (FQDN) of the news server has invalid characters when
      *domain* is unset, a fatal error is now reported at startup.  It is a
      basic configuration error which otherwise leads to the generation of
      invalid article Message-IDs.

    * Improved the speed of article searches with HDR, LAST, NEXT, and XPAT
      commands when there is a (huge) gap in article numbers.  On newsgroups
      with several millions of consecutive missing articles (which is a rare
      situation), these commands could take several seconds to run.

    * Incoming articles in newsgroups that have exceeded the maximum number
      of articles they can contain (2^31-1) are now correctly rejected.  INN
      was otherwise happily accepting them but either numbers returned in
      NNTP responses were not right, or some news clients choked when
      receiving unexpected large article numbers.  (The current version of
      the NNTP protocol only allows article numbers up to 2^31-1.)

    * Fixed the renumbering of reported low water marks for empty newsgroups
      in active after overview expiration, when using the ovsqlite method.
      They were set to 1 for empty newsgroups whereas they were not supposed
      to decrease.  (These reported low water marks regained their expected
      values during the next overview expiration, provided that the
      newsgroup was no longer empty.)

    * The reported high water mark of empty newsgroups is now correctly set
      to one less than the reported low water mark in overview data.
      (Previously, the reported low water mark was set to one more than the
      reported high water mark.)

    * Fixed the output of the "ctlinnd feedinfo ''" command that was
      returning information only for the first site, and the output of the
      "ctlinnd name channel" command that was returning partial information
      for the requested channel.

    * The build of external programs which include inn/storage.h was failing
      because of the unexpected inclusion of config.h in one of the included
      headers.  Also, a few Autoconf results were not correctly made
      available to external programs.  This is now fixed.

    * Fixed the build on systems whose default shell does not completely
      meet the Posix standard.  A few build scripts were run with the
      default shell instead of the one found by Autoconf and afterwards used
      for INN.

    * Use standard daemon(3) C function, when available, to daemonize innd,
      nnrpd, ovdb_server and ovsqlite-server instead of an INN-specific
      function.

Upgrading from 2.6 to 2.7

    The following changes require your full attention because a manual
    intervention may be needed:

    * The *require_ssl* parameter in readers.conf has been renamed to
      *require_encryption* as it applies to any kind of encryption layers,
      including TLS and SASL security layers.  Since innupgrade only takes
      care of the change in the file named readers.conf, you will have to
      manually rename that parameter in configuration files for nnrpd with
      an alternate name.

    * The innreport.conf file in *pathetc* has been split into a general
      configuration file (innreport.conf itself) and a display configuration
      file (innreport-display.conf in *pathlib*).  If you made local changes
      in sections other than the *default* section in innreport.conf, and
      wish to keep them, then you need renaming the new
      innreport-display.conf file to another name in *pathlib*, setting this
      local file name in the new *display_conf_file* option in
      innreport.conf, and re-applying your local changes to that local
      display configuration file.

      As a matter of fact, the default display configuration file would
      otherwise be overwritten each time INN is updated.  Bug fixes or
      enhancements are made from time to time to the display configuration
      of innreport, and previously couldn't be automatically be merged in
      innreport.conf on update.  This new separate configuration file to
      parameterize the display will now permit an automatic update (if of
      course you use the default display configuration file).

    * A new inn-secrets.conf configuration file has been added in *pathetc*.
      The intent is that, from now on, new secrets used by INN are added to
      that file, and that all secrets currently stored in several other
      configuration files eventually move to that file.  Make sure it is
      properly created during the upgrade, and not world-readable.  It
      currently only stores the secrets used for the new Cancel-Lock
      functionality.

    * The -C flag given to innd to disable the execution of cancels has been
      deprecated and is no longer taken into account (an error message will
      be present in your logs if innd is started with it).  Instead, a new
      parameter has been added in inn.conf to tune the types of cancels innd
      should process.  If *docancels* is set to "require-auth", which is the
      default if INN has Cancel-Lock support, only articles originally
      protected by the Cancel-Lock authentication mechanism can be withdrawn
      by a valid authenticated cancel article or a valid authenticated
      supersede request.  Withdrawals of articles not originally protected
      by Cancel-Lock will not be executed.  See inn.conf(5) for more details
      about the different values of the new *docancels* parameter, and make
      sure to parameterize it according to your needs.

    * The *refusecybercancels* and *verifycancels* parameters have been
      removed from inn.conf.  The first was performing an inefficient and
      inexact check (that should be done, if wanted, in the special "ME"
      entry in newsfeeds, or even better, ask your peers not to feed you
      articles with "cyberspam" in the Path header field body); the second
      check performed on the newsgroups present in cancel articles was not
      useful in innd (this check is relevant to posting agents).

      The related lines in inn.conf will be commented by innupgrade during
      the upgrade.

    * The XBATCH command is no longer enabled by default in innd.  You'll
      have to explicitly enable that capability by setting the new *xbatch*
      parameter to true in incoming.conf for the peers sending you such
      compressed batches.

    * The *nolist* and *noresendid* parameters in incoming.conf have been
      respectively renamed to *list* and *resendid* (and the meaning of
      their related boolean values is now the opposite).  Besides, the
      unused *comment* and *email* parameters in incoming.conf have been
      removed.  innupgrade will take care of the changes (inverting the
      boolean values, and commenting the lines with removed parameters).

    * filechan is no longer shipped with INN; it was just a simple version
      of buffchan.  All calls to "filechan" will be changed to "buffchan -u"
      (for its unbuffered mode) in newsfeeds by innupgrade.  If you have
      local scripts running filechan, you will have to manually take care of
      the change.

    * send-nntp is no longer shipped with INN.  If you have local scripts
      running it, you will have to manually adjust them to use nntpsend
      which basically does the same thing, better.  Or, even greater, use
      innfeed if that is possible.

    * Wrappers around old Perl and Python authentication and access hooks,
      pre-dating INN 2.4.0 and identifiable by the *nnrpperlauth* and
      *nnrppythonauth* parameters in inn.conf, are no longer shipped as
      samples in INN releases.  If not already done, you should either
      replace old hooks with new modern hooks or use the possibilities that
      readers.conf and regular authenticator and resolver programs offer.

    * The libauth.h header file and the libstorage library have been renamed
      to libinnauth.h and libinnstorage to homogenize their name with
      existing libinnhist library.  External programs building or linking
      against them need a manual change.

    If you are upgrading from a version prior to INN 2.6, see also
    "Upgrading from 2.5 to 2.6".

Changes in 2.7.0 (2022-07-10)

    * Upgrading to a major release is a good time to ensure that your
      configuration files, that are usually kept untouched during normal
      updates, are up-to-date: notably control.ctl (with your local changes
      in a separate control.ctl.local file), new better default values in
      inn.conf and innfeed.conf, improvements in innreport.conf (along with
      innreport-display.conf) and innreport.css, fixes in innwatch.ctl,
      updated moderators and nocem.ctl files.

      You may also want to check that the PGP keys used to verify the
      signature of control articles and NoCeM notices are still up-to-date
      and working.  The keys of a few hierarchies and NoCeM issuers have
      recently changed.

    * Bo Lindbergh has implemented a new overview storage method based on
      SQLite, known for its long-term stability and compatibility.  Robust
      and faster at reading ranges of overview data, but somewhat slower at
      writing, this new SQLite-based method is a perfect choice to store
      overview data.

      To select it as your overview method, set the *ovmethod* parameter in
      inn.conf to "ovsqlite".  Details about ovsqlite, the ovsqlite.conf
      configuration file and how to switch to that new modern overview
      storage method can be found in the ovsqlite(5) and makehistory(8) man
      pages.

    * Julien Elie has implemented Cancel-Lock support in innd and nnrpd,
      based on RFC 8315 and libcanlock.  A new inn-secrets.conf
      configuration file has been added in *pathetc* wherein you can set the
      secrets to use for Cancel-Lock.  See the inn-secrets.conf(5) man page
      for more details.

      A new -F flag is recognized by innconfval to indicate the type of file
      to parse (by default, "inn.conf"); just run "innconfval -F
      inn-secrets.conf" to get the values of that new configuration file.
      Another new flag, -f, permits specifying another file name to parse
      than the standard one.

      The *addcanlockuser* parameter has been added in readers.conf to
      deactivate the generation of user-specific hashes when several
      different posters have the same identity in an access group.  This
      parameter also permits setting whether the hash, when generated, is
      based on the username or the (static) IP of the connection.

    * Added a new tool, gencancel, to help the news administrator generate
      authenticated cancel control messages, with the expected admin
      Cancel-Key hashes.  See the gencancel(1) man page for more details.

    * A new *docancels* parameter has been added in inn.conf to define which
      types of cancels innd should process.  The -C flag given to innd is
      deprecated in favour of that new parameter (you'll see in your logs
      the message "innd -C flag has been deprecated and has no effect; use
      docancels in inn.conf" in case you're passing that flag to innd).

    * Andreas Kempe has implemented blacklistd support in nnrpd.  This
      daemon, available notably in FreeBSD and NetBSD, can be used to
      prevent brute force attacks by blocking attackers after a number of
      failed login attempts.  When nnrpd is run with the new -B flag, and
      INN has been configured with the new --with-blacklist option, it will
      report login attempts to the blacklistd daemon for potential blocking.

    * Building INN with TLS support using LibreSSL is now supported (only
      OpenSSL was previously officially supported and tested).

    * Fixed the parsing of *hosts* and *localaddress* parameters in
      readers.conf; exclusion patterns (beginning with "!") have not been
      working since INN 2.5.0.

    * Improved the robustness of innxmit when receiving 500 or 501 response
      codes from peers, indicating they do not understand the NNTP command
      or (wrongly) think there is a syntax error.  Richard Kettlewell added
      a proper handling of these responses, making innxmit dropping the
      refused article instead of keeping sending it over and over (and thus
      receiving each time the same error in response codes).

    * innreport now collects statistics from innxbatch and generates a
      section for them in its reports.

    * The innreport.conf file in *pathetc*, previously containing almost
      2500 lines, has been split into a general configuration file
      (innreport.conf itself, still in *pathetc*, with about 60 lines) and a
      display configuration file (innreport-display.conf, a new separate
      file in *pathlib*).  The name of this display configuration file can
      be parameterized in the new *display_conf_file* option in
      innreport.conf.

    * The -m flag given to mailpost now sets a List-ID header field instead
      of a Mailing-List header field.

    * rc.news, used to start and stop INN daemons, now checks whether it is
      run as the news user.  It will exit if not the case, to ensure not to
      tamper with the ownership of files INN manipulates.

    * filechan has been removed; it was just a simple version of buffchan,
      which should now be used.

    * send-nntp has been removed; it was just a simple version of nntpsend,
      which should now be used (or, even better, innfeed).

    * The *refusecybercancels* and *verifycancels* parameters have been
      removed from inn.conf.  Besides, inews no longer checks if the From or
      Sender header fields of a cancel or supersede request match the ones
      of the original article being withdrawn.  All of these were either
      inefficient or inexact checks.

    * The *xbatch* parameter has been added in incoming.conf to enable the
      XBATCH command in innd for specific remote peers.  The default is to
      disable the capability.

    * The *nolist* and *noresendid* parameters in incoming.conf have been
      respectively renamed to *list* and *resendid* (and the meaning of
      their related boolean values is now the opposite).  Besides, the
      unused *comment* and *email* parameters in incoming.conf have been
      removed.

    * inews no longer adds a Sender header field nor overwrites an existing
      one in articles it processes if the new -P flag is used.  The Path
      header field, if unset, no longer systematically contains the path
      identity of the local news server (you may want to add it manually
      with the -x flag, if needed).  Finally, inews also no longer adds the
      obsolescent Lines header field.

    * A new -E flag can now be given to inews to silently discard empty
      articles, instead of bailing out with an error.  Another new -m flag
      permits setting the Message-ID instead of letting inews generate one.
      And a third new flag, -Y, forces inews to authenticate to the remote
      news server even if not asked to.

    * signcontrol has been removed as it embeds per-site configuration which
      is overwritten each time INN is updated to a newer version, and it is
      unlikely you ever need it.  Nonetheless, if you need to issue
      PGP-signed control messages, you can still download it from
      <https://ftp.isc.org/pub/pgpcontrol/>.

    * Support in controlchan for obsolete *sendsys*, *senduuname* and
      *version* control messages has been removed.  These control messages,
      long been deprecated, should no longer be sent nor honoured nowadays.
      Besides, the "doifarg" keyword in control.ctl is no longer recognized
      (it was only used for these three kinds of control messages).

    * The *require_ssl* parameter in readers.conf has been renamed to
      *require_encryption*, which is a better name as it applies to any kind
      of encryption layers, including TLS and SASL security layers.

    * Fixed the use of a deprecated API in Kerberos V5.  INN now requires
      version 1.6.1 or higher of MIT Kerberos v5 to build.

    * The libauth.h header file and the libstorage library have been renamed
      to libinnauth.h and libinnstorage to homogenize their name with
      existing libinnhist library.

    * All of the applicable bug fixes from the INN 2.6 STABLE series are
      also included in INN 2.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.137 2022/06/28 11:35:22 wiz Exp $
d9 1
a9 1
HOMEPAGE=		http://www.isc.org/software/inn/
@


1.137
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.136 2022/04/16 11:44:53 spz Exp $
d3 1
a3 2
DISTNAME=		inn-2.6.5
PKGREVISION=		1
d60 2
d66 1
a66 1
DEPENDS+=		gnupg-[0-9]*:../../security/gnupg
d130 1
a130 1
			storage.conf subscriptions
d135 4
a165 1
SPECIAL_PERMS+=		${PREFIX}/${INN_PATHBIN}/rnews ${INN_USER} ${UUCP_GROUP} 2555
d172 1
a172 1
NEWSONLYBINS+=		tally.control tdx-util writelog 
d188 17
d214 1
a214 1
.for file in ${CFILES} active.minimal newsgroups.minimal
d237 1
a237 1
.for file in libinn.a libstorage.a libinnhist.a
d242 1
@


1.136
log
@updating news/inn to 2.6.5

upstream changelog:
Changes in 2.6.5

    * A new step in INN development has been achieved with the migration of
      the INN project to GitHub.  We now make use of the features GitHub
      provides: issue tracker, pull requests, continuous integration, a
      user-friendly interface to browse the code, etc.  Our Subversion
      repository has therefore been migrated to Git, and our Trac tickets to
      the GitHub issue tracker.

    * An up-to-date nocem.ctl file is provided with this release.  You
      should manually update your nocem.ctl file with the new information
      recorded about NoCeM issuers, and make sure the right PGP keys are
      present on your system.

    * Up-to-date control.ctl and moderators files are provided with this
      release.  You should manually update them (notably for the fido7.*
      hierarchy).

    * Added a stricter validation of article numbers given in NNTP commands
      so that numbers superior to 2^31 are correctly considered invalid.
      Thanks to Richard Kettlewell for the patch.

    * Added a check in rc.news for the existence of the *pathrun* directory.
      INN won't start until this directory is writable.  Previously, it
      bailed out quickly after starting, without clear logs about why it
      failed.

    * Fixed parallel builds using "make -j".  Thanks to Richard Kettlewell
      for the path.

    * nnrpd now properly gathers timer statistics when a compression layer
      is active.

    * nnrpd now properly discards data received from a news client after a
      timeout when a TLS layer is active.  It previously tried to read
      incoming data before closing the socket, leading to decoding errors
      from an underlying compression or SASL layer.

    * innfeed and ovdb_stat now generate status reports in valid HTML
      syntax.

    * Fixed a bug in the buffindexed overview that prevented it from working
      on several systems, amongst them FreeBSD.  Unsupported, and useless,
      permission bits were given to semaphores.

    * Fixed the detection of library paths at configure time: multilib
      directories (lib32 or lib64) are now also used if they exist, even it
      the system does not use multilib.  It will notably fix the detection
      of the OpenSSL 3.0.0 library.

    * The *tlscertfile* parameter in inn.conf now permits the use of a
      complete certificate chain, instead of necessarily having to use
      *tlscafile* for additional certificates.

    * Added support for the new OpenSSL 3.0.0 API, which deprecated a few
      functions.

    * The inn.conf default value for *tlsprotocols* no longer contains TLS
      versions 1.0 and 1.1, which have been deprecated by RFC 8996.

    * A new inn.conf parameter has been added to tune the length of the
      queue of pending connections to innd, nnrpd and the "ovdb" overview
      storage method: the *maxlisten* parameter now permits configuring
      their listen backlog, whose previously hard-coded values were 128 for
      nnrpd and 25 for the others, which was not high enough for some uses.
      The default value is now 128 for all of them, and configurable in
      inn.conf.  Thanks to Kevin Bowling for the patch.

    * The name of seven man pages for routines built in libinn(3) are now
      prefixed with libinn_ so as not to consume namespace and conflict with
      other packages (notably, the list(3) and uwildmat(3) man pages are now
      named libinn_list(3) and libinn_uwildmat(3)).

    * Other minor bug fixes and documentation improvements, notably a
      revised installation checklist and a section summarizing the most used
      configuration at the beginning of a few complex man pages.

Changes in 2.6.4

    * Added support for systemd notifications and socket activation.  Use of
      more features provided by systemd, including more notifications, will
      come in future releases.  Thanks to Marco d'Itri for this first
      systemd integration into INN.

    * nnrpd now adapts the length of the DH parameter used during a DHE key
      exchange so as to comply with the security level OpenSSL 1.1.0 or
      later expects.  Thanks to Michael Baeuerle for the bug report.

    * cnfsstat now also returns information about retired CNFS buffers:
      buffers mentioned in cycbuff.conf as a cycbuff but not declared in a
      metacycbuff.

    * Switch default innreport behaviour to the common practice of
      externalizing CSS into a separate file.  Its name can be configured
      with the *html_css_url* parameter in innreport.conf.  If this
      parameter is unset, the default innreport.css file name will be used
      and innreport will generate this CSS file for you.  Previously
      generated reports are kept untouched, though, and will still contain
      inline CSS if you had not already set the *html_css_url* parameter in
      previous INN versions.  Thanks to Richard Kettlewell for the patch.

    * sm can now read and store any number of articles given in wire format
      on its standard input when both -s and -R are used.  Only native
      format was previously possible.  Thanks to Bo Lindbergh for the patch.

    * Added new -a flag to rnews to disallow, if needed, the use of
      additional unpackers from the rnews.libexec sub-directory of *pathbin*
      (as set in inn.conf); only "rnews" and "cunbatch" will then be
      recognized as valid batch commands.

    * Added new -b flag to rnews to save rejected articles in the bad
      sub-directory of *pathincoming* (as set in inn.conf).  Otherwise,
      rnews just logs and discards any articles that are rejected or cannot
      be parsed for some reason.

    * Added new -d flag to rnews to log via syslog the Message-ID and the
      Path header value of each article rejected as a duplicate.

    * Added new --enable-hardening-flags configure-time option, enabled by
      default, to use hardening build flags like "-fPIE" and
      "-fstack-protector-strong".  This option can easily be disabled if the
      compiler or the platform does not support them well.  More hardening
      build flags will eventually be added in future releases.
q
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.135 2021/10/21 07:46:37 wiz Exp $
d4 1
a4 1
PKGREVISION=		0
@


1.135
log
@*: recursive bump for heimdal 7.7.0

its buildlink3.mk now includes openssl's buildlink3.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.134 2021/05/24 19:53:39 wiz Exp $
d3 2
a4 3
DISTNAME=		inn-2.6.3
#PKGREVISION=		0
PKGREVISION=		2
@


1.134
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.133 2021/01/02 14:18:22 spz Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.133
log
@update news/inn to version 2.6.3

Changes in 2.6.3

    * Fixed the selection of the elliptic curve to use with OpenSSL 1.1.0 or
      later; NIST P-256 was enforced instead of using the most secure curve.

    * A new inn.conf parameter has been added to fine-tune the cipher suites
      to use with TLS 1.3:  the *tlsciphers13* now permits configuring them.
      A separate cipher suite configuration parameter is needed for TLS 1.3
      because TLS 1.3 cipher suites are not compatible with TLS 1.2, and
      vice-versa.  In order to avoid issues where legacy TLS 1.2 cipher
      suite configuration configured in the *tlsciphers* parameter would
      inadvertently disable all TLS 1.3 cipher suites, the inn.conf
      configuration has been separated out.

    * Fixed a regression since INN 2.6.1 that prevented articles with
      internationalized header fields (that is to say encoded in UTF-8) from
      being posted.

    * Support for Python 3 has been added to INN.  Embedded Python filtering
      and authentication hooks for innd and nnrpd can now use version 3.3.0
      or later of the Python interpreter.  In the 2.x series, version 2.3.0
      or later is still supported.

      When configuring INN with the --with-python flag, the "PYTHON"
      environment variable, when set, is used to select the interpreter to
      embed.  Otherwise, it is searched in standard paths.

      In case you change the Python interpreter to embed, make sure that the
      Python scripts you use are written in the expected syntax for that
      version of the Python interpreter.  Notably, buffer objects have been
      replaced with memoryview objects in Python 3, and UTF-8 encoding now
      really matters for string literals (Python 3 uses bytes and Unicode
      objects).

      INN documentation and samples of Python hooks have been updated to
      provide more examples.

    * When a Python or Perl filter hook rejects an article, innd now
      mentions the reason in response to CHECK and TAKETHIS commands.
      Previously, the reason was given only for the IHAVE command.

    * nnrpd now properly logs the hostname of clients whose connection
      failed owing to an issue during the negotiation of a TLS session or
      high load average.

Changes in 2.6.2

    * A new *syntaxchecks* parameter has been added in inn.conf.  It permits
      controlling the level of checks performed by innd and nnrpd.  Up to
      now, only one check can be enabled/disabled:  when *laxmid* is
      mentioned in the values of this new parameter, INN accepts Message-IDs
      that contain ".." in the left part, as well as Message-IDs with two
      "@@" (such Message-IDs would otherwise be considered as syntactically
      invalid).  See the inn.conf(5) man page for more details.

      The check is disabled by default (*no-laxmid*), which corresponds to
      the legacy behaviour of INN 2.6.1 and earlier.

    * Use of the ovdb_server helper server is now the default when using the
      ovdb overview method, that is to say the default value for the
      *readserver* parameter in ovdb.conf is now set to true.  It improves
      stability and avoids deadlocks, timing issues and corrupted ovdb
      databases.

    * mailpost now removes empty header fields before attempting to post
      articles, and keeps trace of them in the X-Mailpost-Empty-Hdrs: newly
      generated header field body.  Also, mailpost now sanitizes header
      fields with regards to empty continuation header lines.  Thanks to
      Kamil Jonca for these bug reports.

    * A new -z parameter has been added to mailpost to mention a list of
      header fields to remove from the gated message.  Thanks to Dieter
      Stussy for the patch.

    * Fixed a bug in inews that was rejecting articles containing header
      fields whose length exceeded 998 bytes.  This limitation is for the
      length of a single line of a header field (and not for the length of
      the whole header field, as it was wrongly the case).

    * Added support for GnuPG's gpg binary (in addition to gpgv) in
      pgpverify.  Indeed, gpg still validates signatures made with weak
      digest algorithms like MD5 whereas gpgv no longer do.  Thanks to
      Thomas Hochstein for the patch, which permits validating control
      articles for hierarchies that are still using old PGP keys.

    * Added similar support for GnuPG's gpg binary in perl-nocem to validate
      NoCeM notices from issuers who are still using old PGP keys.

    * A few commands listed in the "Control commands to INND" section in
      daily Usenet reports were appearing as a mere letter; all of them are
      now properly converted to meaningful words.

    * The *tlsprotocols* parameter in inn.conf now recognizes the "TLSv1.3"
      value (for OpenSSL versions implementing TLS 1.3, that is to say
      starting from OpenSSL 1.1.1).

    * The buffindexed overview method will now hopefully work properly on
      systems with a native page size larger than 16KB.

    * Other minor bug fixes and documentation improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.132 2020/12/04 20:45:37 nia Exp $
d5 1
@


1.132
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.131 2020/08/31 18:10:56 wiz Exp $
d3 2
a4 2
DISTNAME=		inn-2.6.1
PKGREVISION=		6
d78 1
a78 1
INN_DATADIRS=		log log/OLD run tmp db spool http
d82 3
a89 4
MAKE_DIRS+=		${PREFIX}/bin
MAKE_DIRS+=		${PREFIX}/sbin
MAKE_DIRS+=		${PREFIX}/lib

d93 8
a100 3
OWN_DIRS+=		${PREFIX}/${INN_PATHBIN}
OWN_DIRS+=		${PREFIX}/${INN_PATHBIN}/filter
OWN_DIRS+=		${EXAMPLEDIR}
d105 1
d107 1
a107 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/${dir}	${INN_USER} ${INN_GROUP} 0775
d109 3
d113 1
a113 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${dir} \
d159 15
a175 2
PKG_DESTDIR_SUPPORT=	destdir

@


1.131
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.130 2020/01/18 21:50:30 jperkin Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.130
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.129 2019/11/04 19:17:10 rillig Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.129
log
@news: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.128 2019/08/11 13:22:33 wiz Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.128
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.127 2018/08/22 09:46:09 wiz Exp $
d61 1
a61 1
LDFLAGS.SunOS+= -lsocket -lnsl
d169 1
a169 1
TEST_TARGET=    tests
@


1.127
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.126 2017/06/05 14:24:26 ryoon Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.126
log
@Recursive revbump from lang/perl5 5.26.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.125 2017/05/20 06:53:05 spz Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.125
log
@update to 2.6.1. Excerpt from NEWS:

Upgrading from 2.5 to 2.6

The following changes require your full attention because a manual intervention may be needed:

    The name and location of the pullnews configuration file have changed. It is now pullnews.marks, located in pathdb when pullnews is run as the news user, or otherwise in the running user's home directory. This file was previously stored in .pullnews in the running user's home directory (even for the news user). If you use pullnews, you need to manually move and rename the configuration file; otherwise, it will no longer work. Note that the -c flag passed to pullnews allows to specify another configuration file, if need be.

    The default location of the mailpost database directory has changed from pathtmp to pathdb. If you use mailpost without an explicitly specified database directory (using the -b flag), then you should manually move your current database files mailpost-msgid.dir and mailpost-msgid.pag from pathtmp to pathdb.

    If you have been using TLS/SSL with nnrpd before, be aware that the default value of a few inn.conf parameters have changed: the server now decides the preferred cipher (instead of the client), and only TLS protocols are allowed (using the flawed SSLv2 and SSLv3 protocols is now disabled). If you want to change these settings, the respective tlspreferserverciphers and tlsprotocols parameters can be tuned to your needs.

    The --with-kerberos configure flag used to add Kerberos v5 support has been renamed to --with-krb5.

    The --with-berkeleydb configure flag used to add Berkeley DB support has been renamed to --with-bdb.

    The --enable-ipv6 configure flag no longer exists. IPv6 is now unconditionally enabled, if available.

    $HOME is no longer exported as an environment variable by innshellvars, innshellvars.tcl and the Perl module INN::Config. It was previously overriding the default user home directory with pathnews. If you use these scripts in your own scripts, you will have to take care of that change.

    Owing to the implementation of RFC 4643 (AUTHINFO USER/PASS) in innd, if remote peers have to authenticate in order to feed articles, they now have to send a username (which was previously wrongly optional), before sending their password. The mandatory username, though currently unused by innd, can be whatever the remote peer wishes. In previous versions of INN, inncheck was already complaining when passwd.nntp contained an empty username associated with a password.

    A manual review of authenticated feeds should then be done so as to ensure that they are properly working.

    The Injection-Date: and Injection-Info: headers are now generated by nnrpd at injection time instead of the NNTP-Posting-Date:, NNTP-Posting-Host:, X-Complaints-To: and X-Trace: headers. Local scripts that were using (for authentication, privacy, etc.) these now deprecated headers should be updated. Also note that the Path: header of locally posted articles can also contain the contents of the deprecated NNTP-Posting-Host: field.

    The two addnntppostingdate and addnntppostinghost parameters in inn.conf have been respectively renamed to addinjectiondate and addinjectionpostinghost. innupgrade takes care of the modification only for inn.conf; a manual change will therefore be needed for readers.conf, if these parameters are overridden in this file.

    The default values of a few inn.conf parameters have changed to make use of the vastly expanded storage and RAM commonly available today: datamovethreshold (from 8192 to 16384), msgidcachesize (from 16000 to 64000), overcachesize (from 64 to 128), and wireformat (now enabled by default).

    The generation of status reports and performance timings are now also enabled by default: logstatus and nnrpdoverstats parameters, with a frequency of 10 minutes (status and timer parameters).

    The default value of max-queue-size has changed from 5 to 20, and use-mmap now defaults to true for innfeed.conf.

Changes in 2.6.1

    nnrpd now uses -0000 as the time zone for Date: and Injection-Date: header fields it generates. It was previously using +0000, wrongly systematically indicating a local time zone at Universal Time when localtime is set to false (which is the default) in readers.conf. The +0000 time zone will now be used only if localtime is set to true and UTC is really the local time zone of the server.

    Julien Elie has implemented in nnrpd the new COMPRESS command described in draft-murchison-nntp-compress that extends the NNTP protocol to allow a connection to be effectively and efficiently compressed. News clients that also support that extension will be able to benefit from that bandwidth optimization and improvement in speed. Moreover, using COMPRESS is more secure than TLS-level compression, as far as authentication credentials are concerned.

    The default value for the tlscompression parameter in inn.conf has changed. TLS-level compression is now disabled by default, to comply with the best current practices for a secure use of TLS in application protocols like NNTP. Using the new COMPRESS command is recommended.

    The tlscompression parameter in inn.conf now also permits to disable TLS-level compression with OpenSSL 0.9.8. It previously had an effect only when OpenSSL 1.0.0 or later was used.

    rnews no longer segfaults at startup when started setuid news. Thanks to Marcus Jodorf for the bug report.

    Fixed slow nnrpd responses for a few NNTP commands. The TCP_NODELAY option was unconditionally set whereas only BSD/OS systems needed it. Thanks to Christian Mock for having discovered that.

    Articles containing a Received: or a Posted: header field are no longer rejected by nnrpd at injection time.

    Articles containing control characters or whitespace-only content lines in their headers are now rejected by nnrpd at injection time.

    OpenSSL 1.1.0 support has been added to INN.

    When an encryption layer is negotiated during a successful use of the STARTTLS command, or after a successful authentication using a SASL mechanism that negotiates an encryption layer, nnrpd now updates the permissions of the news client according to the new secure state of his connection (that is to say auth blocks in readers.conf using the require_ssl parameter are taken into account). Previously, only connections on a dedicated port (usually 563) were taking benefit from that parameter. Thanks to Steve Crook for the bug report.

    When a data integrity layer was negotiated during a successful SASL authentication, nnrpd was wrongly reseting any knowledge obtained from the client, such as the current newsgroup and article number. This behaviour now applies only when an encryption layer is negotiated.

    nntpsend now correctly waits until all of the child innxmit processes exit before it does. It was causing nntpsend to fail to work properly on systems that use systemd, because when it exits prematurely, systemd kills all of the processes it launched, including the innxmit processes. Thanks to Jonathan Kamens for the patch.

    Update from GNU Libtool 2.4.2 to 2.4.6.

    Other minor bug fixes and documentation improvements.
Changes in 2.6.0

    The NNTP protocol requires a username to be sent before a password when authentication is used. innd was wrongly allowing only a password to be sent by authenticated peers. See the note above for more details.

    The Lines: header is no longer generated by nnrpd at injection time.

    The Injection-Date: header is now generated by nnrpd at injection time instead of the deprecated NNTP-Posting-Date: header, when addinjectiondate is set to true. Note that addnntppostingdate has been renamed to addinjectiondate in inn.conf.

    The Injection-Info: header is now generated by nnrpd at injection time instead of the deprecated NNTP-Posting-Host: (when addinjectionpostinghost is set to true), X-Complaints-To: and X-Trace: headers. Note that addnntppostinghost has been renamed to addinjectionpostinghost in inn.conf. The Path: header of locally posted articles now also contains the contents of the NNTP-Posting-Host: header.

    A new addinjectionpostingaccount parameter has been added in inn.conf. When set to true, the Injection-Info: header field contains an additional posting-account attribute that mentions the username assigned to the user at connection time or after authentication. The default value for this parameter is false.

    A few headers are now considered as obsolete by nnrpd at injection time: NNTP-Posting-Date:, NNTP-Posting-Host:, X-Complaints-To:, X-Trace:, Also-Control:, Article-Names:, Article-Updates:, and See-Also: headers.

    Besides, nnrpd will similarly reject obsolete sendsys, senduuname and version control messages.

    The presence of a Subject: header field beginning with cmsg no longer causes an article to be interpreted as a control message by nnrpd at injection time.

    nnrpd no longer differentiates IHAVE from POST. Articles injected with IHAVE are now treated as though they were injected with POST. It means that if the previous behaviour of IHAVE was expected, innd should handle itself the connection instead of nnrpd.

    The name of the pullnews configuration file is now pullnews.marks located in pathdb when pullnews is run as the news user, or otherwise in the running user's home directory. It was previously stored in .pullnews in the running user's home directory (even for the news user).

    Fixed a leak of semaphores when using buffindexed. Thanks to Richard Kettlewell for having fixed the issue.

    Building with Libtool is no longer optional. The --enable-libtool option to configure has been removed.

    DESTDIR and non-root installs are now properly supported and documented in INSTALL. The make install, make update and make cert steps properly obey DESTDIR. Besides, it is no longer a requirement that the installation step be done by the superuser, as long as the user executing the install has supplied a DESTDIR value that points to a writable directory, and the person or process performing the install corrects the file ownerships when INN is installed on the system on which it's going to run. Thanks to James Ralston for this support.

    When building INN with Berkeley DB, Cyrus SASL, Kerberos v5, OpenSSL, or zlib support, no longer add standard locations to compiler and linker include flags. Such default paths are now added only if explicitly given to one or more of the --with-bdb, --with-bdb-include, --with-bdb-lib, --with-sasl, --with-sasl-include, --with-sasl-lib, --with-krb5, --with-krb5-include, --with-krb5-lib, --with-openssl, --with-openssl-include, --with-openssl-lib, --with-zlib, --with-zlib-include, or --with-zlib-lib configure flags (the flags ending with -include and -lib are new in INN 2.6.0).

    If the Berkeley DB, Cyrus SASL, Kerberos v5, or OpenSSL SSL and crypto libraries are found at configure time, INN will now be built with support for them unless respectively the --without-bdb, --without-sasl, --without-krb5, or --without-openssl flags are explicitly passed to configure.

    Note that it was already the default behaviour for zlib support when Berkeley DB support was also enabled.

    The configure flag --enable-reduced-depends has been added to request that library probes assume shared libraries are in use and dependencies of libraries should not be probed. It therefore tries to minimize the shared library dependencies of the resulting binaries on platforms with proper shared library dependencies. This is not enabled by default, and is of interest primarily to people building packages for distributions.

    Building INN with Python support now requires the use of Python 2.2.0 or later as the distutils.sysconfig module used was introduced with Python 2.2.0.

    The INN test suite driver is now fully synchronized with the upstream version of the C TAP Harness package maintained by Russ Allbery. Keeping the INN test suite driver up-to-date will be possible thanks to a new getc-tap-harness script in the support directory that automatically fetches the latest upstream changes.

    Similarly, the new getrra-c-util script permits to keep most of the utility and portability functions synchronized with the upstream version of the rra-c-util package maintained by Russ Allbery.

    Other minor bug fixes and documentation improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.124 2017/01/19 18:52:21 agc Exp $
d4 1
@


1.124
log
@Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.123 2016/06/08 19:24:16 wiz Exp $
d3 1
a3 2
DISTNAME=		inn-2.5.5
PKGREVISION=		2
d15 1
a15 1
.include "Makefile.common"
@


1.123
log
@Bump PKGREVISION for perl-5.24.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.122 2016/04/10 16:39:28 joerg Exp $
d6 2
a7 2
MASTER_SITES=		ftp://ftp.isc.org/isc/inn/ \
			ftp://ftp.fu-berlin.de/unix/news/inn/
@


1.122
log
@Adjust checks for _USE_DESTDIR != no or incorrect references to
USE_DESTDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.121 2016/03/05 11:29:15 jperkin Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.121
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.120 2015/08/22 19:10:50 wiz Exp $
a66 3
## Please note that USE_DESTDIR=yes only works for this package if the user
## and group already exist

@


1.120
log
@Update to 2.5.5, from Benedek Gergely on pkgsrc-users.

2015-05-23  iulius

	* innxmit: tidy up GetMessageID buffer handling In theory, if you
	  could get a message with an empty message-id header through
	  before anything else, it would call memcpy(NULL, p, 0) which
	  (surprisingly) has undefined behavior. This doesn't seem a very
	  likely contingency but I tidied up the code to avoid it and
	  (hopefully) be clearer anyway.

	  Thanks to Richard Kettlewell for the patch.

	* storage/cnfs/cnfs.c: don't read uninitialised cycbuffname

	  Thanks to Richard Kettlewell for the patch.

2015-05-17  iulius

	* Fixed alignment issues when storing values

2015-05-14  iulius

	* Add Richard Kettlewell as a contributor

	* Correct remap check in tradindexed lookup

	  The check was off by one; and when it happened, it invalidated
	  the 'parent' pointer, causing a use-after-munmap (or
	  use-after-free) condition.

	  Thanks to Richard Kettlewell for the bug report.

	* Correctly flush CNFS buffers when nfswriter is true in inn.conf

	* Correct remap check in tradindexed group lookup

	  Previously the remap check had an off-by-one bug and moreover
	  would never be done due to the loop condition (making the
	  off-by-one bug moot).

	  This one could be a problem in real life; if creating a group
	  causes innd to expand the index then an already-running nnrpd
	  will not automatically notice, and so won't be able to find the
	  group.

	  Thanks to Richard Kettlewell for the patch.

	* nnrpd/commands.c: paranoid checking of AUTHINFO GENERIC reply

	  Check the number of arguments returned by AUTHINFO GENERIC.

	  Thanks to Richard Kettlewell for the patch.

	* innfeed/connection.c: avoid violating C aliasing rules

	  The object was written as a 'struct sockaddr' but then read as a
	  'struct sockaddr_storage', which violates C99 s6.5#7. The fix is
	  to always access it as a 'struct sockaddr' and use a union to
	  ensure enough space for any possible address type.

	  Thanks to Richard Kettlewell for the patch.

	* nnrpd/commands.c: correct sense of PERMgeneric reply

	  The comment has always been wrong, as well as the return value
	  for ~15 years...

	  Thanks to Richard Kettlewell for the patch.

	* nnrpd/perm.c: don't dereference a null pointer if there are no
	  access groups

	  Thanks to Richard Kettlewell for the patch.

	* nnrpd/article.c: A wrong variable was used for vhost feature.

	  Since these are created by the local innd, the error should not
	  normally occur.

	  Thanks to Richard Kettlewell for the patch.

	* Verify that setuid() and setgid() actually succeed

	  See: https://lwn.net/Articles/451985/ for a discussion of the
	  issues in this area.

	  The checks in newuser.c are probably unnecessary due to the
	  subsequent tests. rnews.c is straight-up broken though.

	  Thanks to Richard Kettlewell for the patch.

2015-05-02  iulius

	* expire/fastrm.c: Fix a dereferencing issue

	* configure.ac: Build fix for current Mac OS X versions

	  The build was failing with recent versions of Mac OS X:

	  clang: error: no such file or directory:
	  '/usr/local/news/lib/libinn.3.dylib' make[1]: *** [libinn.la]
	  Error 1 make: *** [all-lib] Error 2

	  The reason is the '-multiply_defined'-part of the command line.
	  This switch is marked as obsolete in ld(1):

	  -multiply_defined treatment Previously provided a way to warn or
	  error if any of the sym- bols used from a dynamic library were
	  also available in another linked dynamic library. This option is
	  obsolete.

	  Thanks to Dennis Preiser for the report.

	* innfeed/imap_connection.c: fix support of Cyrus SASL 2.1.25 and
	  later

	  Fix how sasl_callback_ft, added with Cyrus SASL 2.1.25, was
	  handled by innfeed. See revision [9381] for more information.

	  Thanks to Dennis Preiser for the report.

	* innd/art.c: Fix a dereferencing issue when parsing
	  Injection-Info: header field

	  Thanks to David Binderman for the patch.

2015-05-01  iulius

	* Bump version number in FAQ for new INN 2.5.5 release

	  Also remove link to Elena Samsonova's web site that appears to be
	  defunct.

2015-04-23  iulius

	* mailpost: add new -t flag to specify the default temporary
	  directory

	  Check that the database directory and the temporary directory are
	  writable when mailpost is run, and otherwise die with an error.

	  Two paths are now tried by default for the temporary directory:
	  pathtmp, and then /var/tmp if pathtmp is not writable.

	* Fix GCC 5.1.0 warning for incompatible pointer type

	  Rename the "U" macro used by two tests to "SUC" (casting to
	  String of Unsigned Chars) because it otherwise conflicts with how
	  Unicode strings are declared in ISO C11, the new default mode for
	  the GCC 5 series.

2015-04-20  iulius

	* Update TODO with references to existing patches

2015-04-05  iulius

	* Mention required TLS ciphers for interoperability

	* Update TODO with current state of INN 2.6.0

2015-04-02  iulius

	* Update changelog to mention other changes for INN 2.5.5

	* Use Sys::Hostname Perl core module instead of calling
	  /bin/hostname

2015-03-24  iulius

	* Add two missing contrib programs in the exceptions of mkmanifest

	* Typo in POD formatting

	* Update copyright years (add 2015)

	* Update config.guess and config.sub to upstream versions from
	  2015-03-08

	* Update control.ctl to upstream version from 2014-06-17

2015-03-21  iulius

	* scanlogs: Limit the number of lines to show from error log files

	  When lots of lines are present in error log files, they appear in
	  the news.daily verbatim, and the resulting email is so large it
	  is bouncing.

	  Restrict the number of lines to 50 (the default value for unknown
	  lines from news.notice).

	  Thanks to Jeffrey M. Vinocur for the bug report.

	* nnrpd: Count write time stats when using SASL

	* Improve the count of sleeping channels

	  The highest file descriptor of sleeping channels was not always
	  properly updated. A new CHANresetlastsleeping() function now does
	  the job when called.

	  Also prevent innd from crashing if a channel is supposed to sleep
	  but does not have a Waker set.

	  Thanks to Petr Novopashenniy for the bug report.

	* readers.conf: improve the first example to disambiguate its
	  effect against loca l connections

2015-03-18  iulius

	* pullnews: when giving a port along with a server name, check
	  there is only one ":"

	  Otherwise, it is very likely that the given server name is an
	  IPv6 address, and therefore its end should not be interpreted as
	  a port.

2015-01-21  iulius

	* Fix the unsignedness of TMRgettime when printed

2015-01-10  eagle

	* http://www.imc.org/ietf-usefor/ appears to be gone

	  Replace this link in HACKING with a link to the usefor mailing
	  list archives and to my Usenet article format pages.

2015-01-10  iulius

	* Do not mention that TLS compression will be disabled in the next
	  INN release

	  As the CRIME attack is not exploitable in NNTP, disabling TLS
	  compression by default is pointless. No vulnerability in TLS
	  compression is currently known as far as NNTP is concerned.

	* Add a cast to fix a gcc warning

2015-01-07  iulius

	* Regenerate Makefile dependencies with gcc 4.7.2

	  Also adapt support/makedepend to keep the two leading spaces, as
	  in previous versions of gcc.

	  Backport commit [9566].

	* Cleanup in include stuff

	  - Add missing BEGIN_DECLS/END_DECLS, and also use them instead of
	  their expansion.

	  - Add missing inclusion of <inn/defines.h>.

2015-01-04  eagle

	* Remove dead link to nnrpkrb5auth

2014-12-16  iulius

	* nnrp.access2readers.conf: add default username when none is
	  specified

2014-12-14  iulius

	* Add new contrib/nnrp.access2readers.conf.in script

	  This script converts old-style nnrp.access to readers.conf.

	  Thanks to Jeffrey M. Vinocur for his contribution.

2014-12-07  iulius

	* Update Russ's mail address

	* Fix typos

2014-12-01  iulius

	* Add support for choosing the elliptic curve to use with TLS
	  support

	  The new tlseccurve parameter in inn.conf takes the name of a
	  curve OpenSSL knows about, to use for ephemeral key exchanges.

	  Thanks to Christian Mock for the patch.

2014-11-23  iulius

	* m4/sendmail.m4: add missing brackets

	  The configure script was failing when running that part of code.

2014-11-12  iulius

	* inn.conf: Improve documentation about tlsprotocols and
	  tlscompression

2014-11-11  iulius

	* Improve tuning of the SSL/TLS configuration

	  nnrpd's TLS support is basically using OpenSSL's defaults WRT
	  issues such as protocol support and cipher suites. In these days
	  of POODLEs and other vulnerabilities, it should be useful to be
	  able to have better control over what's offered. So this patch
	  adds a few options to inn.conf:

	  - tlsprotocols: allows to select the SSL/TLS versions that are
	  supported

	  - tlsciphers: allows to give an OpenSSL cipher string to tailor
	  the cipher suites that are offered to clients

	  - tlspreferserverciphers: switches on the server-side selection
	  of the cipher suite (TLS default is "client chooses")

	  - tlscompression: allows to turn off TLS compression (because of
	  the CRIME attack) if the OpenSSL version supports this.

	  Many thanks to Christian Mock for his patch.

2014-11-09  iulius

	* Mention PyClean as a Python-based variant of Cleanfeed.

2014-10-28  iulius

	* Update default paths for Debian and Fedora

	* Fix a dependency in a build rule

2014-10-03  iulius

	* innwatch: report an error when the control file is missing

2014-09-24  iulius

	* rc.news: no longer explicitly sleep before starting innwatch and
	  cnfsstat

	  Instead, make these two scripts sleep by themselves.

	  Also update documentation: improve the list of actions done by
	  rc.news, and no longer mentions that innd should be throttled
	  before being stopped (this is not true - the shutdown process
	  already does the actions throttling does).

	* innwatch: add -i flag to specify how many seconds to sleep at
	  startup

	  - Also fix previous commit [9651] that did not totally fix the
	  issue it was supposed to fix.

	  - Fix the behaviour of the -f flag (it wasn't doing anything).

	  - Fix how the -l flag was parsed (a space was required between -l
	  and its argument, whils it should not have been required).

	  - Add new POD documentation for innwatch, and update it at the
	  same time: document new -i flag, and document already existing -f
	  flag.

	* cnfsstat: add -i flag to specify how many seconds to sleep at
	  startup

	  Update documentation, and homogenize POD syntax at the same time.

2014-09-24  eagle

	* Re-add second $(LIBSTORAGE) when linking backends

	  Backend commands (such as nntpget) linked with both history and
	  storage libraries list $(LIBSTORAGE) in the link line twice. This
	  isn't a mistake; there are some unfortunate circular dependencies
	  that require listing $(LIBSTORAGE) both before and after
	  $(LIBINNHIST) in the link line or static linking will fail.

2014-09-22  iulius

	* Fix build issues on AIX 7.1

	  mmap is redefined to mmap64 when large file support is enabled.

2014-09-21  iulius

	* Fixed a warning and an unnecessary sys/stropts.h header

	* Typos

	* Fix build of contrib/respool.c

	  Remove an unused variable.

	  Add a link to libhistory.

	* Fix build of contrib/reset-cnfs.c

	  Add correct include header files.

	  Use the right DO_LARGEFILES variable instead of LARGE_FILES.

	  Reformat the code (remove tabulations).

	  Properly exit with the right status code.

	* Fix a few warnings, and update svn:ignore for contrib

	* Fix build of contrib/expirectl.c

	  Add correct include header files, and fix a few warnings in
	  printf() calls.

	  Add portability code for statfs/statvfs support.

	* Add compilation rules for contrib/auth_pass.c and
	  contrib/expirectl.c

	  Use the right socklen_t type, and add crypt.h header if
	  available.

	* FAQ: add how to feed articles arrived between two dates to
	  another server

2014-09-11  iulius

	* innupgrade: fix its execution

	  On a few systems like AIX, innupgrade failed to run during an
	  upgrade because "perl -T" was not explicitly called. Failure was:
	  "-T" is on the #! line, it must also be used on the command line

	  Thanks to The Doctor for his bug report.

2014-09-07  iulius

	* Add missing dependency for libtest.o during the build of
	  nnrpd/auth-ext.t

2014-09-05  iulius

	* Fix typos in INN_HAVE_SYS_BITYPES_H and
	  INN_MACRO_IN6_ARE_ADDR_EQUAL names

2014-08-30  iulius

	* libinn documentation: update the name of the fdflag functions

	* pullnews: improve logging when an error occurs during GROUP

	  Also rewrite a ternary condition to improve readability.

	  Patch from Geraint A. Edwards.

	* pullnews: new -a flag (hashfeed ability)

	  Add a new feature to pullnews: hashfeed to split feeds. It uses
	  MD5 and is Diablo-compatible.

	  Thanks to Geraint Edwards for the patch.

	* pullnews: new -B flag (header-only feeding)

	  Add a new feature to pullnews: header-only feeding.

	  If the article does not already have a Bytes: header field, one
	  is added. Bodies are kept only for control articles.

	  Thanks to Geraint Edwards for the patch.

	* pullnews: bug fix to rnews when -O; improved rnews reporting

	  Thanks to Geraint Edwards for the patch.

	* pullnews: improve wording

	  * When pullnews runs for the first time against a newsgroup, say
	  "never" instead of January, 1st 1970 as the last run date. *
	  Improve spaces, uppercase characters and singular forms when 1
	  article is retrieved. * Update the config file even when the
	  group is empty.

	* pullnews: remove headers matching (or not) a given regexp

	  Enable the -m flag to remove headers matching (or not) a given
	  regexp.

	  Thanks to Geraint Edwards for the patch.

2014-08-09  iulius

	* innwatch: no longer creates a child process for sleeping

	  innwatch creates a child process only for sleeping and then waits
	  on that process. The forked-off process is not killed by 'rc.news
	  stop' (only its parent is), and will only die after it's done
	  sleeping. If running under SMF on illumos/Solaris, this causes
	  the service to likely drop into maintenance state (since not all
	  processes die within timeout).

	  Thanks to Lauri Tirkkonen for the patch.

2014-06-04  iulius

	* Bump version number to 2.5.5 for STABLE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.119 2015/06/12 10:50:54 wiz Exp $
d4 1
@


1.119
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.118 2014/08/03 17:33:34 spz Exp $
d3 1
a3 2
DISTNAME=		inn-2.5.4
PKGREVISION=		1
d171 2
@


1.118
log
@update INN to version 2.5.4. Excerpt from the upstream release announcement:

Changes in 2.5.4

  * An up-to-date control.ctl file is provided with this release.  You
    should manually update your control.ctl file with the new information
    recorded about Usenet hierarchies.

  * A test has been improved in innwatch.ctl so that innwatch no longer
    throttles innd when no overview directory exists.  You should manually
    update your innwatch.ctl file to get this improvement.

  * Fixed a long-standing limitation on how controlchan and pgpverify were
    checking the signer of control messages.  They now properly handle the
    case of several UIDs being defined on a single PGP key, as well as the
    presence of spaces into UIDs.  In previous versions of INN, a few
    valid control messages got ignored because of that limitation
    (fido.ger.* and grisbi.* were for instance impacted).

  * As the name of the radius.conf configuration file shipped with INN for
    the nnrpd authenticator against a RADIUS server conflicts with the
    libradius package, this file is renamed to inn-radius.conf (innupgrade
    takes care of the rename during the update).

  * The attributes hash is now accessible to nnrpd Perl posting filter.
    As a result, filter_nnrpd.pl can make use of it.  Only authentication
    and access Perl hooks could previously use the attributes hash.
    Thanks to Steve Crook for this addition.

  * INN now properly builds fine with flex 2.5.36 (this version introduced
    a change of type for a variable used by INN).

  * When using funnel feeds, innfeed log files were open forever, which
    resulted in empty log files, once rotated by scanlogs.  innfeed now
    reopens its log files upon receiving a HUP signal; this signal is in
    particular sent by scanlogs during log rotation.  Thanks to Florian
    Schlichting for the patch.

  * Exploder and process channels are now reopened when "ctlinnd
    flushlogs" is used.  Otherwise, they could hold open an already
    deleted errlog file.  The issue affected in particular controlchan or
    ninpaths, running as such channels.

  * Fixed a buffer overflow when using imapfeed with more than a million
    commands during the same IMAP session.  Thanks to David Binderman for
    the bug report.

  * Fixed a segfault occurring in innd on systems where time_t is a 64-bit
    integer.  Thanks to S.P. Zeidler for the patch.

  * Fixed a segfault occurring in nnrpd when a res block was used in
    readers.conf without the program: key.

  * Fixed an issue where users were denied posting because of an
    overlapping buffer copy in a check nnrpd was doing.  Thanks to Florian
    Schlichting for the patch.

  * Fixed a regression that occurred in INN 2.5.3 regarding the path used
    by default by pullnews for its configuration file.  Instead of looking
    in the running user's home directory, it was looking in the *pathnews*
    directory set in inn.conf.  Thanks to Tony Evans for the bug report.

  * When neither wget nor ncftpget nor ncftp was found at configure time,
    the path to the simpleftp substitution program shipped with INN was
    not properly set in innshellvars, innshellvars.pl, and the
    "INN::Config" Perl module.  Thanks to Christian Garbs for the bug
    report.

  * ckpasswd no longer tries to use the ndbm compatibility layer provided
    by Berkeley DB if Berkeley DB has been built without ndbm support.
    Also add support for gdbm libraries in ckpasswd.

  * Fixed a Perl warning in inncheck; using "defined(@@array)" has been
    deprecated since Perl 5.16.

  * Fixed the occurrence of an unexpected "cant select" error generated by
    innd.  Thanks to Paul Tomblin for having caught that long-standing
    issue.

  * When building INN with Berkeley DB support, no longer add -L/usr/lib
    to the linker include flags; unconditionally adding it may break the
    build on systems using lib32 and lib64 directories.

  * On a fresh INN install, motd.innd and motd.nnrpd are no longer
    installed by default.  Instead, samples for these files are provided
    in *pathetc*, named differently so that their default contents are not
    displayed to news clients before they get customised.

  * Other minor bug fixes and documentation improvements (like the
    addition in the readers.conf man page of the log: and program:
    parameters in res blocks, and the include directive).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.117 2014/05/29 23:37:13 wiz Exp $
d4 1
@


1.117
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.116 2014/02/12 23:18:28 tron Exp $
d3 1
a3 2
DISTNAME=		inn-2.5.3
PKGREVISION=		7
d122 1
a122 1
			radius.conf readers.conf send-uucp.cf \
@


1.116
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.115 2013/12/11 09:45:14 spz Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.115
log
@another time_t on 32bit system issue, a less fatal one.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.114 2013/11/27 10:02:55 spz Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.114
log
@a small issue with 64bit time_t that leads to crashes in
news.daily, respectively on 'ctlinnd name ""' when peers are connected.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.113 2013/06/16 21:42:00 wiz Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.113
log
@Use more common pattern in dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.112 2013/05/31 12:41:45 wiz Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.112
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.111 2013/02/06 23:23:28 jperkin Exp $
d63 3
a65 3
DEPENDS+=		p5-MIME-tools>0:../../mail/p5-MIME-tools
DEPENDS+=		p5-GD>0:../../graphics/p5-GD
DEPENDS+=		gnupg>0:../../security/gnupg
@


1.111
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.110 2012/10/03 21:57:13 wiz Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.110
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.109 2012/08/23 19:00:41 spz Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.109
log
@Update from 2.5.2 to 2.5.3 (fixes CVE-2011-0411).

While we are touching it, fix PR/45986 with the patch supplied therein
(thanks)

Changes from 2.5.2 to 2.5.3:

  * When HDR/XHDR/XPAT were used on a new article coming into a newsgroup,
    requesting a header not present in the overview database, the first
    subsequent OVER/XOVER command did not show that article.  A remap of
    the overview data file was missing in nnrpd.  Thanks to Sam
    Varshavchik for the bug report.

  * When a header field appeared more than once in an article, it was
    missing from the overview data.  OVER/XOVER, as well as HDR/XHDR/XPAT
    using the overview, were therefore returning an empty field.  The
    content of the first occurrence is now returned, in accordance with
    RFC 3977.

    Perl and Python filters for innd now also properly initialize their
    header variables with the first occurrence of header fields.  (It is
    still the last occurrence for the Perl filter for nnrpd.)

  * Fixed a possible plaintext command injection during the negotiation of
    a TLS layer.  The vulnerability detailed in CVE-2011-0411 affects the
    STARTTLS and AUTHINFO SASL commands.  nnrpd now resets its read buffer
    upon a successful negotiation of a TLS layer.  It prevents malicious
    commands, sent unencrypted, from being executed in the new encrypted
    state of the session.

  * Fixed a regression that occurred in INN 2.5.0 when leading whitespace
    characters have been made significant in header field bodies.  It
    could lead INN to drop articles and throttle itself when running as a
    slave because Xref: header fields generated by other news servers, or
    even INN 2.4.6, could contain (valid) leading whitespace.  Thanks to
    Matija Nalis for having caught this bug.

  * Fixed an invalid 431 response to CHECK commands when innd is paused:
    the message-ID of the article to defer was missing.  Also fixed
    another issue in the messages innd replied; when an error occurred
    during a write on a channel, a trailing extra junk byte was added to
    the reply.  Thanks to River Tarnell for these bug reports.

  * It is now possible to properly generate daily statistics with
    sendinpaths thanks to the new -k and -r flags that permit to control
    the interval of days for processing dump files.  The new -c flag
    permits to send a copy of the generated e-mail to the newsmaster.

    Also fixed an issue with statistics that could be missing or
    duplicated for a couple of days when monthly sent.

    The documentation has been updated and mentions a preferred daily run
    of sendinpaths.  This script is a complete rewrite in Perl, and is
    based on Mohan Kokal's initial work.

  * cnfsheadconf now properly recognizes continuation lines in
    cycbuff.conf, that is to say lines ending with a backslash ("\").
    Thanks to John F. Morse for the bug report.

  * The order of CNFS buffers in a metacycbuff is now properly read and
    written by cnfsheadconf.  There previously was a confusion between
    hexadecimal and decimal values.  Thanks again to John F. Morse.

  * When the -l flag is given to cnfsstat, the cycbuff.conf and
    storage.conf files are now reloaded if they have been modified since
    the previous output of cnfsstat.

  * A single header field line is limited to 998 bytes, per RFC 5536.
    innd was previously accepting, and also generating Xref: header field
    lines, up to 1022 bytes.  Now, nnrpd (acting as an injecting agent)
    rejects articles which contain header field lines whose length exceeds
    998 bytes.  And innd (acting as a relaying or serving agent) no longer
    checks that.

  * nnrpd advertises the COUNTS, DISTRIBUTIONS, MODERATORS, MOTD and
    SUBSCRIPTIONS variants of the LIST command in response to
    CAPABILITIES.  These commands already existed in nnrpd but RFC 6048
    had not yet been published.

  * Add support for LIST MOTD in innd.  Consequently, the motd.news
    configuration file which was previously used only by nnrpd is renamed
    to motd.nnrpd (innupgrade takes care of the rename).  innd uses the
    new motd.innd file in *pathetc* for its message of the day.

  * Fixed an issue at configure time that made INN wrongly assume that
    OpenBSD (4.6) didn't support Unix-domain sockets.  Thanks to Wim Lewis
    for the patch.

  * Fixed an issue on systems which do not have a working flock(2)
    function (Solaris, for instance).  mailpost and pullnews are reported
    not to be usable on such systems.  Many thanks to Dennis Davis for the
    bug report.

    A wrapper around shlock is now called in Perl scripts.  The
    INN::Utils::Shlock module has been added for that use.

  * Fixed an issue in the Python access hook for nnrpd:  it has not been
    working since Python 2.5 on 64-bit platforms, owing to a change to
    Python's C API, using a new Py_ssize_t type definition instead of int.
    Thanks to Raphael Barrois for the patch.

  * Improve the stability of the Perl filters for innd and nnrpd: properly
    save and restore the stack pointer when needed.

  * The Injection-Date: header, when present, is now used by innd and
    makehistory to determine the posting date of an article.  Otherwise,
    the Date: header is used.

  * controlchan now imposes a date cutoff on processing control articles.
    The *artcutoff* parameter set in inn.conf is used.  Otherwise, without
    that cutoff, old control articles could be maliciously reinjected into
    Usenet, and replayed.  (An unsigned Injection-Date: header field could
    be added to an article that only had a Date: header field.)  A new -c
    flag has been added to controlchan to disable the cutoff check, if
    needed (usually when manually invoking the program).

  * nnrpd no longer adds or updates the Path: header field when an article
    is forwarded to a moderator.  It could otherwise lead to rejects at
    injection time when the article was approved by the moderator.

  * The X-Trace: header field was not properly generated when an article
    was locally posted.  The field mentioning the IP address was skipped,
    resulting in a wrong syntax for this header.  The local "127.0.0.1" IP
    address is now used.  Besides, "localhost" is now mentioned instead of
    an obscure "stdin" in injection header fields.

  * Fixed a bug in the frequency innfeed logs its status:  too many
    useless lines were written to news.notice.  Thanks to Florian
    Schlichting for the fix.

  * When unset in innfeed.conf, the *dynamic-method* parameter now
    properly defaults to 3 (instead of 0) and *use-mmap* to false (instead
    of true).  These two values were already the recommended ones in the
    documentation and the sample file.  Note that *use-mmap* is only used
    when innfeed is given file names to send instead of storage API
    tokens, which is a fairly rare use case.

  * innfeed no longer generates an error message (logged in news.err) when
    a parameter is not defined in innfeed.conf.  All the parameters have a
    default value, so there is no need to warn the user if they are not
    present in innfeed.conf.  Thanks to Dieter Stussy for having reported
    this problem.

  * Implement an upper limit to the number of file descriptors innd can
    handle.  At most (FD_SETSIZE-1) file descriptors can be used.  This
    upper limit now overrides any superior number set with *rlimitnofile*
    in inn.conf.  Thanks to Steve Crook for the bug report.

  * A default timeout on outgoing sockets (using NNTPconnect) has been
    added by Florian Schlichting.  For a long time, there have been
    occasional problems with actsync (and probably other programs) that
    would hang until manually killed or restarted.

  * The flag -S has been added to innd by Florian Schlichting.  When used,
    innd reports the errors found in incoming.conf and exits.

  * pullnews no longer stops processing newsgroups when an error occur
    during its run (for instance when a newsgroup mentioned in the
    configuration file is removed from an upstream server).  Besides, it
    can now use authentication when posting to the downstream server.

    A few other minor bugs have been fixed as for the way pullnews counts
    the articles.

  * Fixed the way innreport handles leap years.  It now properly generates
    HTML reports; dates were assumed to be relative to the current year,
    which may break their computation during for instance the whole 2012
    leap year.  Please note that no HTML reports have been lost, and that
    they will appear when INN is updated to this new version.

  * A new parameter has been added to inn.conf to determine whether the
    status file that innd can write out (depending on the value of the
    *status* parameter) is plain text or wrapped in HTML.  It previously
    only was a compile-time option, set to true by default.  Florian
    Schlichting added the *htmlstatus* parameter to provide a configurable
    behaviour.

  * It is now possible to run a script at the end of the execution of
    innshellvars scripts.  If a file named innshellvars.local,
    innshellvars.pl.local or innshellvars.tcl.local is present and
    executable in *pathetc*, then it will be executed by the corresponding
    innshellvars script (respectively shell, INN::Config Perl module, and
    Tcl).  A typical use is to add or override variables.

  * Add support for wire-formatted articles in scanspool.

  * A lot of work on cleaning old perl4-style code has been done by
    Florian Schlichting.

  * inncheck now generates a proper non-zero exit value when errors are
    found, and allows quiet mode with the -q flag.  Florian Schlichting
    has greatly improved this script in many regards, especially with a
    config-syntax parser for incoming.conf, innfeed.conf, readers.conf and
    storage.conf.

  * inncheck now properly finds the boundaries of substituted variables in
    newsfeeds thanks to Alexander Bartolich.

  * docheckgroups no longer uses awk.  On a few systems, the script was
    failing because of the presence of an old version of awk that has a
    limit in the size of the input it can handle.  Processing large
    newsgroups files was consequently impossible.  docheckgroups now uses
    Perl instead of awk, which solves the issue reported by John F. Morse.

  * Other minor bug fixes and documentation improvements.  In particular,
    the *debug-shrinking*, *fast-exit* and *initial-sleep* keys in
    innfeed.conf are now documented.  The function "filter_end()", called
    when Perl filtering is turned off, is also documented for the innd and
    nnrpd Perl filters.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.108 2011/09/25 14:00:09 spz Exp $
d4 1
@


1.108
log
@fix innreport to be perl 5.12 compatible
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.107 2011/09/25 13:58:31 spz Exp $
d3 1
a3 2
DISTNAME=		inn-2.5.2
PKGREVISION=		4
d29 2
d38 1
a38 1
			--sysconfdir=${PREFIX}/etc/inn 			\
a78 1
PKG_SYSCONFDIR.inn=	${PREFIX}/etc/inn
a83 1
INSTALLATION_DIRS+=	etc/nntp
d93 1
a93 2
INN_DIRS+=		${PREFIX}/etc/nntp
INN_DIRS+=		${PREFIX}/etc/inn
d116 2
d119 2
a120 1
			motd.news news2mail.cf newsfeeds nnrpd.track \
@


1.107
log
@install the rest of the files from site as config files also (these are
the filter scripts); this closes PR pkg/44507
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.106 2011/08/14 14:16:34 obache Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.106
log
@Revision bump after updating perl5 to 5.14.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.105 2010/08/21 16:35:33 seb Exp $
d4 1
a4 1
PKGREVISION=		2
d88 1
d99 1
d142 10
d178 3
d188 1
a188 1
	${RM} -f ${DESTDIR}${PREFIX}/sbin/inews
d191 1
a191 1
	${RM} -f ${DESTDIR}${PREFIX}/sbin/rnews
@


1.105
log
@Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@@ was right after all, obache@@ kindly asked and he@@ led the
way. Thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.104 2010/06/19 12:45:37 joerg Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.104
log
@Needs user/group early in installation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.103 2010/04/13 21:18:00 spz Exp $
d4 1
@


1.103
log
@update from 2.5.1 -> 2.5.2

Vendor update message (excerpt):

Many thanks to Julien ÉLIE for preparing this release.

Special notes:

The way checkpoints are handled by innreport for innd and innfeed has totally changed to provide more accurate daily statistics. The first Usenet report after an upgrade to INN 2.5.2 will probably contain incorrect statistics for incoming and outgoing articles because the beginning of the log files that will be used was generated by a previous version of INN.

A new version of innreport.conf is shipped with INN 2.5.2 but, in order to preserve any local changes, will not be automatically installed with make update. The changes are minor and not mandatory for the upgrade.

Changes from 2.5.1 to 2.5.2

    * Julien Elie has implemented in innd the new version of the NNTP protocol described in RFC 3977, RFC 4643 and RFC 4644, and innd now recognizes the CAPABILITIES command. Despite these standards, three commands (IHAVE, CHECK and TAKETHIS) will continue, for interoperability reasons, to return a reject code (respectively 435, 438, and 439) when the command contains a syntax error instead of 501. The mandatory username argument for authenticated peers is not enforced in INN 2.5.2 but will be be enforced by INN 2.6.0 when it is released.

Major improvements are:

    * innd now has a decent parser for NNTP commands. The parser is more correct (commands like "IHAVEZ<>", without a space between the command and its argument, are no longer valid) and allows leading and trailing whitespaces in commands. innd also now checks the length of the NNTP command sent by the client. If the command contains more than 512 bytes (or 497 bytes for an argument), an error is returned and the command is discarded. After ten unrecognized commands, innd closes the connection with the appropriate code (400 instead of 500).
    * The output of the HELP command specifies the arguments expected by NNTP commands, similar to nnrpd's HELP command.
    * LIST ACTIVE, LIST ACTIVE.TIMES and LIST NEWSGROUPS now allow an optional wildmat argument to restrict the results of those commands to specific newsgroups.
    * When using HEAD or STAT with an article number or a range, 412 (no group selected) is now returned instead of 501 (syntax error).
    * Jeffrey M. Vinocur has implemented support in both innd and nnrpd for whitespace in usernames/passwords provided with AUTHINFO USER/PASS. They were previously treated as invalid arguments or incorrectly parsed. innd and nnrpd now treat everything after the first whitespace character following AUTHINFO USER/PASS, up to, but not including, the final CRLF, as the username/password, in conformity with RFC 4643.
    * The syntax of message-IDs is now based on RFC 5536 (USEFOR) instead of RFC 1036. The major change is that quoted-pairs have been removed from the syntax.
    * The Perl and Python filters for innd now check the message-ID of articles arriving through TAKETHIS. Only CHECK and IHAVE commands previously used them.
    * Case-insensitive matches are now used for distributions, path identities, IMAP commands, header names, and control commands. (Newsgroups are still matched case-sensitively.) Message-IDs are case-sensitively matched, except for history hashes.
    * The new Archive:, Archive-At:, Comments:, and Summary: header fields defined in RFC 5064 and RFC 5536 can be used in innd filters. nnrpd now checks at injection time that an article does not contain an Injection-Info: header, that an Injection-Date: header (if provided) is valid, and that the Path: header does not contain ".POSTED". Note that INN does not yet generate these two injection fields or include the new Path: header field ".POSTED" keyword. These new features will be in the next major release of INN.
    * LIST SUBSCRIPTIONS now accepts an optional wildmat argument to restrict the results of this command to specific newsgroups.
    * nnrpd now supports a new LIST variant named COUNTS. LIST COUNTS is a combination of LIST ACTIVE and GROUP. It returns the same result as LIST ACTIVE except that the number of articles in a newsgroup is inserted before its status.
    * A new flag has been added to newsfeeds entries: "Aj", when present, says to feed articles accepted and filed in "junk" (due to *wanttrash*) to peers based on their newsfeeds feed patterns applied to the Newsgroups: header as though the article were accepted and all those groups were locally carried. This is useful if you want to run INN with a minimal active file and propagate all posts. Thanks to Andrew Gierth for the patch.
    * A new parameter has been added to inn.conf: *logtrash* defines whether a line for articles posted to groups not locally carried by the news server should be added in the news log file to report unwanted newsgroups. The default is true but it can be useful to set it to false (especially when *wanttrash* is also used).
    * The procbatchdir keyword has been added to news.daily to specify the backlog directory of innfeed. This is useful when several instances of innfeed are running or when its configuration file is not the default one.
    * sm now supports a new flag, -c, which shows a decoded form of the storage API token. This was previously done by the contrib showtoken script developed by Olaf Titz and Marco d'Itri.
    * The O flag in newsfeeds now relies on the contents of the Injection-Info: header field if it is present to determine the origin of an article. It falls back on X-Trace: if there is no Injection-Info: header field.
    * A new "unsigned long" type bas been added to the configuration parser. It will properly warn the news administrator when a variable supposed to be positive contains a negative integer. It will prevent INN from crashing due to misconfiguration at several places where it did not expect negative values.
    * innxbatch and innxmit now recognize the new 403 code introduced by RFC 3977 for a problem preventing the requested action from being taken.
    * HDR and OVER commands now return the correct 423 code (instead of 420) when the current article number is used but the article no longer exists.
    * actsync, inews, innxbatch, innxmit, nntpget and rnews can now authenticate to news servers which only expect a username, without password, conforming to RFC 4643.
    * The keyword generation code now generates a Keywords: header only if the original article does not already have one. The generated Keywords: header no longer begins with a comma. If keyword generation is set to true in inn.conf but the Keywords: header is not stored in the overview, the news administrator is warned and keyword generation deactivated, since it exists only to populate the overview data.
    * Two segfaults in keyword generation were fixed. The first occurred when an article already had a Keywords: header longer than the *keylimit* parameter. The second was caused by a possible invalid pointer beyond the newly allocated Keywords: header.
    * Fixed innd handling of empty lines. innd was not properly discarding an empty command and was closing the connection when it received only whitespace in a command.
    * Fixed a bug in how innd responded to reader commands when readers were not allowed. A superfluous blank line was sent in its response.
    * Fixed a bug in innd's response to TAKETHIS when authentication is required. Previously, 480 code was returned immediately without accepting the multi-line data block first, which broke synchronization in the NNTP protocol.
    * Fixed a bug in recognizing the article terminator when empty articles were fed to innd via IHAVE or TAKETHIS, leading to treating subsequent NNTP commands as part of the article.
    * When innd could not provide information for LIST ACTIVE.TIMES and LIST NEWSGROUPS, it was returning an invalid error message without a response code. The proper 503 answer code is now returned.
    * When an unauthenticated user tried to post an article, nnrpd replied 440 (posting not allowed) instead of the correct 480 (authentication required) response if the user might be able to post after authentication. Thanks to Daniel Weber for the bug report.
    * Fixed a bug in both innd and nnrpd answers to LIST commands where the output was not checked for valid dot stuffing.
    * Fixed a bug leading to junked non-control articles being sent to control-only feeds, and also fixed handling of poisoned control groups. Thanks to Andrew Gierth for the patch.
    * Fixed a bug in innreport leading to incorrect summing of innd stats when *hostname* was set to an IPv6 address instead of a fully-qualified domain name. Thanks to Petr Novopashenniy for the bug report.
    * Changed how innreport uses innd and innfeed checkpoint messages. Previously, connections held open for multiple days led to skewed and incorrect statistics on how many articles had been received or sent. The count is now more accurate and, for each connection of a feed, only depends on *incominglogfrequency* in inn.conf and *stats-period* in innfeed.conf.
    * Fixed a bug in nnrpd Perl filter: a header field whose name begins with the name of a standardized header field was not properly handled.
    * Fixed a bug in how innd was parsing Message-ID: and Supersedes: headers which contained trailing whitespace. The article was corrupted by an unexpected "\r" in the middle of the header. nnrpd now checks the syntax of the Message-ID: header field, if present.
    * Fixed various bugs in how leading whitespace was treated in headers. The HDR, XHDR and XPAT commands were not properly showing leading whitespace in header values. Lone "\n" and "\r" characters are now changed into spaces and "\r\n" is just removed. archive, makehistory, and tdx-util now keep leading whitespace in headers when generating overview data, and archive now changes "\n" (when not preceded by "\r") into a space when generating overview data.
    * Fixed a bug in the generation of overview data which may corrupt previously generated overview data when a pseudo Xref: header field is injected in an extra overview field.
    * Fixed a bug in the parsing of the *ovgrouppat* wildmat in inn.conf that prevented overview data from being generated when poisoned groups were specified but a latter sub-pattern matched the group. A uwildmat expression is now correctly handled, and a potential segfault has been fixed. Thanks to Dieter Stussy for the bug report.
    * Fixed a bug when HDR, XHDR and XPAT were used when *virtualhost* was set to true in readers.conf. The Xref: header of articles posted to only one newsgroup appeared empty.
    * Fixed a bug in tdx-util in parsing empty overview fields when called with -A or -F.
    * Fixed a bug in cvtbatch, which was returning only the size of the headers of an article when the "b" parameter was used with the -w flag. It now correctly returns the size of the whole article, which is what "b" was documented to do. cvtbatch also has a new "t" parameter, which can be used with the -w flag to retrieve the arrival time of an article.
    * Fixed a bug in how mailpost handles cross-posting feature. It was not properly detaching from sendmail. Thanks to Harald Dunkel for the patch.
    * Fixed a bug in the newsfeeds C flag: the count of followup groups was one less than the real number. When the value of the Followup-To: header field is "poster", it is no longer considered to be a followup. Thanks to Dieter Stussy for the patch.
    * When using tradindexed, the overview data for a cancelled article is now immediately removed from the overview. Thanks to Lars Magne Ingebrigtsen for the patch.
    * batcher has not supported the retrieval of an article with its file name for a long time. The -S flag has therefore been removed.
    * inews no longer rejects articles that contain more than 50 header fields. Thanks to Torsten Jerzembeck for the bug report.
    * news.daily no longer sends superfluous mails when the nomail keyword is given. Mail is only sent when there is real output. Previously, there would always be headings and empty lines left over from the structuring of the full report, which are now ommitted. Also, the output of programs executed with postexec is now included in the regular mail. Thanks to Florian Schlichting for the patch.
    * innconfval no longer maps NULL string or list values to an empty string or list and instead maps them to undefined values. This fixes an issue reported by Kamil Jonca: nnrpd was inserting an empty Organization: header when the *organization* parameter in inn.conf was unset.
    * Other minor bug fixes and documentation improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.102 2010/01/17 12:02:37 wiz Exp $
d67 1
@


1.102
log
@Recursive PKGREVISION bump for jpeg update to 8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.101 2010/01/16 09:46:16 spz Exp $
d3 1
a3 2
DISTNAME=		inn-2.5.1
PKGREVISION=		2
d20 1
a20 1
FILES_SUBST+=		INN_DATA_DIR=${INN_DATA_DIR:Q}
d48 8
a55 8
			--with-news-user=${INN_USER:Q}			\
			--with-news-group=${INN_GROUP:Q}
CONFIGURE_ENV+=		_PATH_AWK=${TOOLS_AWK:Q}
CONFIGURE_ENV+=		_PATH_EGREP=${TOOLS_EGREP:Q}
CONFIGURE_ENV+=		_PATH_SED=${TOOLS_SED:Q}
CONFIGURE_ENV+=		_PATH_SH=${TOOLS_SH:Q}
CONFIGURE_ENV+=		_PATH_SORT=${TOOLS_SORT:Q}
CONFIGURE_ENV+=		GZIP=${TOOLS_GZIP_CMD:Q}
d124 2
a125 2
CONF_FILES_PERMS+=      ${EXAMPLEDIR}/active.minimal ${INN_DATA_DIR}/db/active ${INN_USER} ${INN_GROUP} 0664
CONF_FILES_PERMS+=      ${EXAMPLEDIR}/newsgroups.minimal ${INN_DATA_DIR}/db/newsgroups ${INN_USER} ${INN_GROUP} 0664
d131 1
a131 1
CONF_FILES_PERMS+=      ${EXAMPLEDIR}/innreport.css ${INN_DATA_DIR}/http/innreport.css ${INN_USER} ${INN_GROUP} 0664
d134 1
a134 1
CONF_FILES_PERMS+=      ${EXAMPLEDIR}/${file} ${INN_DATA_DIR}/db/${file} \
d157 7
a163 9
	for FILE in ${CFILES} active.minimal newsgroups.minimal; do	\
		${INSTALL_DATA} ${WRKSRC}/site/$$FILE			\
					${DESTDIR}${EXAMPLEDIR};	\
	done
	for FILE in ${DBFILES} ${HTTPFILES}; do				\
		${TOUCH} ${WRKSRC}/site/$$FILE ;			\
		${INSTALL_DATA} ${WRKSRC}/site/$$FILE			\
					${DESTDIR}${EXAMPLEDIR};	\
	done
d166 7
a172 7
	for FILE in cnfsstat ctlinnd makehistory innbind; do		\
		${RM} -f ${DESTDIR}${PREFIX}/sbin/$$FILE ;		\
		${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/$$FILE	\
				${DESTDIR}${PREFIX}/sbin ;		\
	done
	${RM} -f ${DESTDIR}${PREFIX}/sbin/inews ;
	${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/inews		\
d174 2
a175 2
	${RM} -f ${DESTDIR}${PREFIX}/sbin/rnews ;
	${LN} -s ${DESTDIR}${PREFIX}/${INN_PATHBIN}/rnews		\
d177 3
a179 3
	for FILE in libinn.a libstorage.a libinnhist.a ; do		\
		${CHMOD} 644 ${DESTDIR}${PREFIX}/lib/$$FILE ;		\
	done
@


1.101
log
@the patch to set the pgp path setting was both superfluous (as the path gets
reset later on) and had a typo. Add a dependency on gnupg instead to make
sure a pgp (gpg) binary is around to be used (provision should be made to
be able to use eg netpgp instead .. to be done later, hopefully after
someone else created the 'pick my favourite pgp version' infrastructure :> ).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.100 2009/12/16 22:10:25 spz Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.100
log
@The next minor version of INN. From the release announcement:
Major changes from 2.5.0 to 2.5.1

* Fixed a segfault in imap_connection which could occur when SASL was
used.

* Fixed a segfault in the keyword generation code which was assuming
that an article was nul-terminated. Fixed another segfault in the
keyword generation code when an article already contained a Keywords:
header. Thanks to Nix for the bug reports.

* Owing to the US-CERT vulnerability note VU#238019, Cyrus SASL library
has slightly changed. imap_connection and nnrpd now handle that
change. Otherwise, some answers are too long to be properly computed
during SASL exchanges.

* Fixed a memory allocation problem which caused nnrpd to die when
retrieving via HDR/XHDR/XPAT the contents of an extra overview field
absent from the headers of an article. The NEWNEWS command was also
affected on very rare cases. Thanks to Tim Woodall for the bug
report.

* HDR/XHDR/XPAT answers are now robust when the overview database is
inconsistent. When the overview schema was modified without the
overview database being rebuilt, wrong results could be returned for
extra fields (especially a random portion of some other header). The
desired header name is now explicitly searched for in the overview
information.

* Fixed the source which is logged to the news log file for local
postings when the local server is not listed in incoming.conf. A
wrong name was used, taken amongst known peers. The source is now
logged as "localhost".

* Fixed a bug in the timecaf storage method: only the first 65535
articles could be retrievable in a CAF, though everything was properly
stored. (A Crunched Article File contains all the articles that
arrive to the news server during 256 seconds.)

The storage token now uses 4 bytes to store the article sequence
number for timecaf, instead of only 2 bytes. Thanks to Kamil Jonca
for the bug report and also the patch.

* Fixed a bug in both timecaf and timehash which prevented them from
working on systems where short ints were not 16-bit integers.

* When there is not enough space to write an entire CAF header, the
timecaf storage manager now uses a larger blocksize. On 32-bit
systems, the CAF header is about 300 bytes, leaving about 200 bytes
for the free bitmap index (the remaining of a 512-byte blocksize). On
64-bit systems, the size of the CAF header could exceed 512 bytes,
thus leaving no room for the free bitmap index. A 1 KB blocksize is
then used, or a larger size if need be.

* A new CNFS version has been introduced by Miquel van Smoorenburg in
the CNFS header. CNFSv4 uses 4 KB blocks instead of 512 bytes, which
more particularly makes writes faster. CNFSv4 supports
files/partitions up to 16 TB with a 4 KB blocksize.

Existing CNFS buffers are kept unchanged; only new CNFS buffers are
initialized with that new version.

* grephistory -l now returns the contents of the expires history field
as well as the hash of the message-ID. Besides, when the storage API
token does not exist, grephistory -v now also returns the hash of the
requested message-ID.

* The check on cancel messages when *verifycancels* is set to true in
inn.conf has been changed to verify that at least one newsgroup in the
cancel message can be found in the article to be cancelled. This new
feature is from Christopher Biedl.

The previous behaviour was to check whether the cancel message is from
the same person as the original post, which is extremely easy to
spoof; besides, RFC 5537 (USEPRO) mentions that "cancel control
messages are not required to contain From: and Sender: header fields
matching the target message. This requirement only encouraged cancel
issuers to conceal their identity and provided no security".

* The way the "/remember/" line in expire.ctl works has changed.
History retention for an article was done according to its original
arrival time; it is now according to its original posting date.
Otherwise, unnecessary data may be kept too long in the history file.

To achieve that, the HISremember() function in history API now expects
a fourth parameter: the article posting time.

Note that article expiration has not changed and is still based on
arrival time, unless the -p flag is passed to expire or expireover, in
which case posting time is used.

* The default value for "/remember/" has changed from 10 to 11 because
it should be one more than the *artcutoff* parameter in inn.conf, so
that articles posted one day into the future are properly retained in
history.

* auth_krb5 has been rewritten by Russ Allbery to use modern Kerberos
APIs. Note that using ckpasswd with PAM support and a Kerberos PAM
module instead of this authenticator is still recommended.

* A new -L flag has been added by Jonathan Kamens to makehistory so as
to specify a load average limit. If the system load average exceeds
the specified limit, makehistory sleeps until it goes below the limit.

* As UTF-8 is the default character set in RFC 3977, "ctlinnd pause",
"ctlinnd readers", "ctlinnd reject", "ctlinnd reserve", "ctlinnd
throttle" and "nnrpd -r" commands now require the given reason to be
encoded in UTF-8, so that it can be properly sent to news readers.
The creator's name given to "ctlinnd newgroup" is also expected to be
encoded in UTF-8.

* The output of consistency checks for article storage and the history
file no longer appears by default when "cnfsstat -a" is used. A new
-v flag has been added to cnfsstat so as to see it.

* The default path for TLS certificates has changed from *pathnews*/lib
to *pathetc*. It only affects new INN installations or generations of
certificates with "make cert". Besides, a default value has been
added to *tlscapath* because it is required by nnrpd when TLS is used.

* gzip(1) is now the default UUCP batcher in send-uucp instead of
compress(1) because gzip is more widely available than compress, due
to old patent issues. Note that there is no impact on decompression
as it is handled by rnews.

* cnfsheadconf now uses the Perl core module "Math::BigInt" rather than
the deprecated bigint.pl library. When used without specifying a CNFS
buffer, it now properly displays the status of all CNFS buffers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2009/10/03 16:20:39 spz Exp $
d4 1
d63 1
@


1.99
log
@fix GNUism in find syntax in the news.daily script source
(reported by Geoff Wing <gcw@@pobox.com>)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2009/09/25 11:06:00 spz Exp $
d3 1
a3 1
DISTNAME=		inn-2.5.0
a4 1
PKGREVISION=		2
d58 2
d63 4
a67 1
PKG_USERS_VARS+=	INN_USER
d69 2
a70 2
PKG_GROUPS=		${INN_GROUP}
PKG_USERS=		${INN_USER}:${INN_GROUP}
d168 1
d172 1
d175 1
@


1.98
log
@fix packaging bugs noted by Geoff Wing (gcw@@pobox.com) (thanks)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2009/09/22 13:17:00 spz Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.97
log
@Update of the INN package to the latest stable version (2.5.0).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.96 2009/03/15 15:00:50 spz Exp $
d5 1
d37 1
a38 1
			--with-etc-dir=${PREFIX}/etc/inn 		\
@


1.96
log
@update to the next minor version of INN; now also uses ln in postinstall
instead of install -l. Plus, fix a nit in the startup script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2008/12/21 16:00:04 spz Exp $
d3 1
a3 1
DISTNAME=		inn-2.4.6
d11 1
a28 12
SUBST_CLASSES+=		BADPATHBIN
SUBST_STAGE.BADPATHBIN=	post-patch
SUBST_MESSAGE.BADPATHBIN=	fixing up unfortunate pathbin paths
SUBST_FILES.BADPATHBIN= Makefile.global.in \
			samples/inn.conf.in samples/newsfeeds.in \
			scripts/innshellvars.in scripts/innshellvars.pl.in \
			scripts/innshellvars.tcl.in backends/news2mail.in \
			control/controlbatch.in control/controlchan.in
SUBST_SED.BADPATHBIN=	-e 's,@@prefix@@/bin,${PREFIX}/${INN_PATHBIN:Q},g'
SUBST_SED.BADPATHBIN+=	-e 's,$$(PATHNEWS)/bin,${PREFIX}/${INN_PATHBIN:Q},g'


d34 2
d43 1
d46 1
a46 1
			--includedir=${PREFIX}/include/inn 		\
d58 3
d72 1
a72 1
INN_DATADIRS=		log log/OLD run tmp db spool
d76 5
d104 2
a105 1
			control.ctl cycbuff.conf distrib.pats \
d107 2
a108 1
			innreport.conf innwatch.ctl moderators \
d110 3
a112 3
			nntpsend.ctl ovdb.conf overview.fmt passwd.nntp \
			radius.conf readers.conf sasl.conf storage.conf \
			subscriptions
d123 4
a150 1
	${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR}
d155 1
a155 1
	for FILE in ${DBFILES} ; do					\
d162 1
a162 3
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/etc/nntp
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin
	for FILE in cnfsstat ctlinnd inndstart makehistory ; do		\
a165 1
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
@


1.95
log
@make package DESTDIR'able
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.94 2008/12/21 11:55:25 spz Exp $
d3 1
a3 2
DISTNAME=		inn-2.4.5
PKGREVISION=		3
d9 1
a9 1
HOMEPAGE=		http://www.isc.org/sw/inn/
d160 2
a161 2
		${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/$$FILE \
				${DESTDIR}${PREFIX}/sbin/$$FILE ;	\
d164 4
a167 4
	${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/inews	\
			${DESTDIR}${PREFIX}/bin/inews
	${INSTALL} -l rs ${DESTDIR}${PREFIX}/${INN_PATHBIN}/rnews	\
			${DESTDIR}${PREFIX}/bin/rnews
@


1.94
log
@make package somewhat cleaner (includes some PLIST cleanup)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2008/10/19 19:18:44 he Exp $
d4 1
a4 1
PKGREVISION=		2
d110 2
a111 1
			radius.conf readers.conf sasl.conf storage.conf
d117 10
d129 2
d146 9
a154 4
	${INSTALL_DATA_DIR} ${EXAMPLEDIR}
	for FILE in `ls -1 ${WRKSRC}/samples/* |			\
		     ${EGREP} -v '(Makefile|.*\.(in|orig)$$)'`; do	\
		${INSTALL_DATA} $$FILE ${EXAMPLEDIR};			\
a155 10
	# makedbz needs these earlier than pkgsrc will install them normally
	if [ ! -f ${PKG_SYSCONFDIR}/inn.conf ] ; then			\
		${INSTALL} ${COPY} -o ${INN_USER} -g ${INN_GROUP} -m 0664 \
				${EXAMPLEDIR}/inn.conf			\
				${PKG_SYSCONFDIR}/inn.conf ;		\
	fi
	if [ ! -d ${INN_DATA_DIR}/db ] ; then				\
		${INSTALL} -d -o ${INN_USER} ${INN_DATA_DIR}/db ;	\
	fi

d158 2
d161 2
a162 2
		${INSTALL} -l rs ${PREFIX}/${INN_PATHBIN}/$$FILE     \
				${PREFIX}/sbin/$$FILE ;                 \
d164 5
a168 2
	${INSTALL} -l rs ${PREFIX}/${INN_PATHBIN}/inews ${PREFIX}/bin/inews
	${INSTALL} -l rs ${PREFIX}/${INN_PATHBIN}/rnews ${PREFIX}/bin/rnews
d170 1
a170 1
		${CHMOD} 644 ${PREFIX}/lib/$$FILE ;			\
a171 11
	if [ -d ${INN_DATA_DIR}/etc ] ; then				\
		${ECHO} "" ; 						\
		${ECHO} "WARNING WARNING WARNING WARNING WARNING WARNING WARNING";\
		${ECHO} "" ; 						\
		${ECHO} "WARNING: old inn config directory ${INN_DATA_DIR}/etc found";\
		${ECHO} "WARNING: please move your config to ${PREFIX}/etc/inn"; \
		${ECHO} "WARNING: before starting your new inn install" ;	\
		${ECHO} "" ; 						\
		${ECHO} "WARNING WARNING WARNING WARNING WARNING WARNING WARNING";\
		${ECHO} "" ; 						\
	fi
@


1.93
log
@Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.92 2008/09/16 23:06:19 spz Exp $
d4 1
a4 1
PKGREVISION=		1
d18 2
d31 1
a31 1
SUBST_MESSAGE.BADPATHBIN=	"fixing up unfortunate pathbin paths"
d37 2
a38 2
SUBST_SED.BADPATHBIN=	-e 's,@@prefix@@/bin,${PREFIX}/${INN_PATHBIN:Q},g' \
			-e 's,$$(PATHNEWS)/bin,${PREFIX}/${INN_PATHBIN:Q},g'
d147 1
a147 1
	
d160 9
a168 9
		echo "" ; 						\
		echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING";\
		echo "" ; 						\
		echo "WARNING: old inn config directory ${INN_DATA_DIR}/etc found";\
		echo "WARNING: please move your config to ${PREFIX}/etc/inn"; \
		echo "WARNING: before starting your new inn install" ;	\
		echo "" ; 						\
		echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING";\
		echo "" ; 						\
@


1.92
log
@cleaned up PLIST, fiddled with directory creation some more
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.91 2008/09/03 21:33:29 spz Exp $
d4 1
@


1.91
log
@update to next tiny version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2008/09/03 20:19:39 spz Exp $
d75 1
a75 1
INN_DATADIRS=		log log/OLD run tmp
d79 7
a85 5
OWN_DIRS+=		${PREFIX}/etc/nntp
OWN_DIRS+=		${PREFIX}/etc/inn
OWN_DIRS+=		${INN_DATA_DIR}
OWN_DIRS+=		${INN_DATA_DIR}/db
OWN_DIRS+=		${INN_DATA_DIR}/spool
d87 4
a90 1
.for dir in ${OWN_DIRS}
d97 1
a97 1
OWN_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${dir} \
d137 2
a138 1
		${INSTALL_DATA} ${EXAMPLEDIR}/inn.conf			\
d142 1
a142 1
		${MKDIR} ${INN_DATA_DIR}/db ;		\
a143 1
	${CHOWN} ${INN_USER} ${INN_DATA_DIR}/db
d148 2
a149 1
		${LN} -s ${PREFIX}/${INN_PATHBIN}/$$FILE ${PREFIX}/sbin/$$FILE ; \
d151 2
a152 2
	${LN} -s ${PREFIX}/${INN_PATHBIN}/inews ${PREFIX}/bin/inews
	${LN} -s ${PREFIX}/${INN_PATHBIN}/rnews ${PREFIX}/bin/rnews
@


1.90
log
@make inn start successfully on a previously clean box
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.89 2008/09/03 06:34:32 spz Exp $
d3 1
a3 1
DISTNAME=		inn-2.4.4
@


1.89
log
@when installing to variable locations, make it so we actually vary where we
expect that which we installed (ie, fix PLIST)
also make sure that our installation destination is under PREFIX
fixes PR 39165
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.88 2008/06/23 09:10:53 spz Exp $
d26 12
a123 15
post-patch:
	${RM} -f ${WRKSRC}/samples/inn.conf.in.orig_dist
	${SED} -e "s#^PATHBIN.*#PATHBIN	= ${PREFIX}/${INN_PATHBIN}#"	\
		${WRKSRC}/Makefile.global.in			\
		> ${WRKSRC}/Makefile.global.in.patch;		\
	${MV} ${WRKSRC}/Makefile.global.in.patch		\
		${WRKSRC}/Makefile.global.in;			\
	for FILE in innshellvars.in innshellvars.pl.in innshellvars.tcl.in ; do \
		${SED} -e "s#@@prefix@@/bin/innconfval #${PREFIX}/${INN_PATHBIN}/innconfval #" \
			${WRKSRC}/scripts/$$FILE			\
			> ${WRKSRC}/scripts/$$FILE.patch ;		\
		${MV} ${WRKSRC}/scripts/$$FILE.patch			\
			${WRKSRC}/scripts/$$FILE ;			\
	done

@


1.88
log
@- bump inn version to 2.4.4
- major change of directory structure
- two new options (uucp and perl now both optional)
- change of maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2008/01/18 05:08:52 tnn Exp $
d20 1
a20 1
FILES_SUBST+=		INN_PATHBIN=${INN_PATHBIN:Q}
d24 2
d34 2
a35 2
			--with-control-dir=${INN_PATHBIN}/control \
			--with-filter-dir=${INN_PATHBIN}/filter	\
d114 1
a114 1
	${SED} -e "s#^PATHBIN.*#PATHBIN	= ${INN_PATHBIN}#"	\
d120 1
a120 1
		${SED} -e "s#@@prefix@@/bin/innconfval #${INN_PATHBIN}/innconfval #" \
d146 1
a146 1
		${LN} -s ${INN_PATHBIN}/$$FILE ${PREFIX}/sbin/$$FILE ; \
d148 2
a149 2
	${LN} -s ${INN_PATHBIN}/inews ${PREFIX}/bin/inews
	${LN} -s ${INN_PATHBIN}/rnews ${PREFIX}/bin/rnews
@


1.87
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
@d1 1
a1 1
# $NetBSD: Makefile,v 1.86 2007/12/02 11:31:49 wiz Exp $
d3 1
a3 2
DISTNAME=		inn-2.4.3
PKGREVISION=		2
d8 1
a8 1
MAINTAINER=		pkgsrc-users@@NetBSD.org
d19 5
d28 1
a28 2
			--enable-uucp-rnews 				\
			--with-perl					\
d30 4
a35 1
			--with-etc-dir=${INN_DATA_DIR}/etc 		\
d38 1
a41 1
CONFIGURE_ENV+=		_PATH_PERL=${PERL5:Q}
d59 1
a59 1
PKG_SYSCONFDIR.inn=	${INN_DATA_DIR}/etc
d61 1
a61 1
INN_DATADIRS=		db etc log log/OLD run spool tmp
d65 9
a73 2
OWN_DIRS=		${PREFIX}/etc/nntp
OWN_DIRS_PERMS=		${INN_DATA_DIR}			${INN_USER} ${INN_GROUP} 0775
d75 1
a75 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/${dir}		${INN_USER} ${INN_GROUP} 0775
d78 2
a79 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${dir}	${INN_USER} ${INN_GROUP} 0775
d112 11
a122 9

post-build:
	for DIR in backends expire frontends innd innfeed lib nnrpd	\
		storage; do \
		${SED} -e 's#-b .OLD##' -e 's#-G#-g#' -e 's#-O#-o#'	\
			${WRKSRC}/$$DIR/Makefile			\
			> ${WRKSRC}/$$DIR/Makefile.patch;		\
		${MV} ${WRKSRC}/$$DIR/Makefile.patch			\
			${WRKSRC}/$$DIR/Makefile;			\
d126 4
a129 2
	for DIR in ${INN_DATA_DIR} ${PREFIX}/etc/nntp ${PREFIX}/inn; do	\
		${INSTALL_DATA_DIR} $$DIR;				\
d131 10
d143 2
a144 6
	${RM} -f ${PREFIX}/bin/inews
	${LN} -s ../inn/bin/inews ${PREFIX}/bin/inews
	${INSTALL_DATA_DIR} ${PREFIX}/include/inn
	cd ${PREFIX}/include/inn;					\
	for FILE in config.h dbz.h libinn.h storage.h; do		\
	  ${LN} -s ${INN_PREFIX}/include/$$FILE $$FILE;			\
d146 4
a149 4
	${INSTALL_DATA_DIR} ${EXAMPLEDIR}
	for FILE in `ls -1 ${WRKSRC}/samples/* |			\
		     ${EGREP} -v '(Makefile|.*\.(in|orig)$$)'`; do	\
		${INSTALL_DATA} $$FILE ${EXAMPLEDIR};			\
d151 11
a162 1
.include "../../lang/perl5/buildlink3.mk"
@


1.86
log
@Remove Ex-MASTER_SITE. From Zafer Aydogan.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2007/09/07 22:12:20 jlam Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.85
log
@Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2007/07/04 20:54:54 jlam Exp $
a6 1
			ftp://ftp.sunet.se/pub/news/nntp/inn/ \
@


1.84
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.83 2006/10/14 08:08:28 wiz Exp $
d17 1
a17 1
BUILD_DEFS+=		USE_INET6
a84 4
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=	--enable-ipv6
.endif

@


1.83
log
@Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2006/10/01 11:34:24 tron Exp $
d18 1
a18 1
BUILD_DEFS+=		INN_DATA_DIR INN_USER INN_GROUP
d45 3
@


1.82
log
@Remove as maintainer of this package because I'm now longer running
INN on my home server.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.81 2006/04/23 00:12:41 jlam Exp $
d11 1
a11 1
HOMEPAGE=		http://www.isc.org/inn.html
@


1.81
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.80 2006/04/10 16:27:02 joerg Exp $
d10 1
a10 1
MAINTAINER=		tron@@NetBSD.org
@


1.80
log
@Add missing pullnews.1 to PLIST. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2006/03/31 17:58:39 tron Exp $
a44 1
PKG_USERS=		${INN_USER}:${INN_GROUP}::Internet\ News:${INN_DATA_DIR}:${SH}
d46 4
@


1.79
log
@Update "inn" package to version 2.4.3. Changes since version 2.4.1:
- Previous versions of INN had an optimization for handling XHDR
  Newsgroups that used the Xref header from overview.  While this does
  make the command much faster, it doesn't produce accurate results and
  breaks the NNTP protocol, so this optimization has been removed.
- Fixed a bug in innd that allowed it to accept articles with duplicated
  headers if the header occurred an odd number of times.  Modified the
  programs for rebuilding overview to use the last Xref header if there
  are multiple ones to avoid problems with spools that contain such
  invalid articles.
- Fixed yet another problem with verifying that a user has permissions
  to approve posts to a moderated group.  Thanks, Jens Schlegel.
- Increase the send and receive buffer on the Unix domain socket used by
  ctlinnd.  This should allow longer replies (particularly for innstat)
  on platforms with very low default Unix domain socket buffer sizes.
- rnews's handling of articles with nul characters, NNTP errors, header
  problems, and deferrals has been significantly improved.
- Thomas Parmelan added support to send-uucp for specifying the funnel
  or exploder site to flush for feeds managed through one and fixed a
  problem with picking up old stranded work files.
- INN is now licensed under a less restrictive license (about as
  minimally restrictive as possible shy of public domain), and the
  clause similar to the old BSD advertising clause has been dropped.
- make install and make update now always install the newly built
  binaries, rather than only installing them if the modification times
  are newer.  This is the behavior that people expect.  make install now
  also automatically builds a new (empty) history database if one
  doesn't already exist.
- The embedded Tcl filter code has been disabled (and will be removed
  entirely in the next major release of INN).  It hasn't worked for some
  time and causes innd crashes if compiled in (even if not used).  If
  someone wants to step forward and maintain it, I recommend starting
  from scratch and emulating the Perl and Python filters.
- ctlinnd should now successfully handle messages from INN up to the
  maximum allowable packet size in the protocol, fixing problems sites
  with many active peers were having with innstat output.
- Overview generation has been fixed in both makehistory and innd to
  follow the rules in the latest NNTP draft rather than just replacing
  special characters with spaces.  This means that the unfolding of
  folded header lines will not introduce additional, incorrect
  whitespace in the overview data.
- nnrpd now uniformly responds with a 480 or 502 status code to attempts
  to read a newsgroup to which the user does not have access, depending
  on whether the user has authenticated.  Previously, it returned a 411
  status code, claiming the group didn't exist, which confuses the
  reactive authentication capability of news readers.
- If a user is not authorized to approve articles (using the A access
  control in readers.conf), articles that include Approved headers will
  be rejected even if posted to unmoderated groups.  Some other site may
  consider that group to be moderated.
- The configuration parser used for readers.conf and others now
  correctly handles "#" inside quoted strings and is more robust against
  unmatched double quotes.
- Messages mailed to moderators had two spaces after the colons in the
  headers, rather than one.  This bug has been fixed.
- A bug that could cause heap corruption and random crashes in innd if
  INN were compiled with Python support has been fixed.
- Some problems with innd's tracking of article size and enforcement of
  the configured maximum article size have been fixed.
- pgpverify will now correctly verify signatures generated by GnuPG and
  better supports GnuPG as the PGP implementation.
- INN's code should now be more 64-bit clean in its handling of size_t,
  pointer differences, and casting of pointers, correcting problems that
  showed up on 64-bit platforms like AMD64.
- Improved the error reporting in the history database code, in inews,
  in controlchan, and in expire.
- Many other more minor bug fixes, optimization improvements, and
  documentation fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2006/03/02 19:03:20 joerg Exp $
d4 1
@


1.78
log
@Explicitly set GNU_CONFIGURE_MANDIR to ${PREFIX}/${PKGMANDIR}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2006/01/04 10:32:40 tron Exp $
d3 1
a3 2
DISTNAME=		inn-2.4.1
PKGREVISION=		8
@


1.77
log
@Add optional Python support. Based on patches supplied by Anders Mundt Due
in PR pkg/32299.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2005/12/14 09:22:35 amd Exp $
d23 1
@


1.76
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.75 2005/12/05 23:55:15 rillig Exp $
d55 2
a56 2
.for DIR in ${INN_DATADIRS}
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/${DIR}		${INN_USER} ${INN_GROUP} 0775
d58 2
a59 2
.for DIR in ${INN_SPOOLDIRS}
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${DIR}	${INN_USER} ${INN_GROUP} 0775
d69 2
a70 2
.for FILE in ${CFILES}
CONF_FILES_PERMS+=	${EXAMPLEDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE} \
d92 2
@


1.75
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2005/12/05 20:50:50 rillig Exp $
a20 1
USE_PKGINSTALL=		YES
@


1.74
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.73 2005/11/22 16:14:49 tron Exp $
d27 1
a27 1
			--with-openssl=${SSLBASE}			\
d33 3
a35 3
			--with-spool-dir=${INN_SPOOL}			\
			--with-news-user=${INN_USER}			\
			--with-news-group=${INN_GROUP}
@


1.73
log
@This package conflicts with the "libradius" package because of
"radius.conf.5".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2005/10/07 18:08:25 reed Exp $
d19 1
a19 1
FILES_SUBST+=		INN_DATA_DIR=${INN_DATA_DIR}
d36 6
a41 6
CONFIGURE_ENV+=		_PATH_PERL=${PERL5}
CONFIGURE_ENV+=		_PATH_AWK="${TOOLS_AWK}"
CONFIGURE_ENV+=		_PATH_EGREP="${TOOLS_EGREP}"
CONFIGURE_ENV+=		_PATH_SED="${TOOLS_SED}"
CONFIGURE_ENV+=		_PATH_SH="${TOOLS_SH}"
CONFIGURE_ENV+=		_PATH_SORT="${TOOLS_SORT}"
@


1.72
log
@Remove the --mandir CONFIGURE_ARGS setting as this is now done
for GNU_CONFIGURE automatically.

(This has been in my personal pkgsrc for a while.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2005/09/22 15:38:39 tron Exp $
d14 1
a14 1
CONFLICTS+=		nntpclnt-[0-9]*
@


1.71
log
@Add missing manual pages to package list. Bump package revision because
of this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2005/08/23 11:48:50 rillig Exp $
a25 1
			--mandir=${PREFIX}/man 				\
@


1.70
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.69 2005/08/06 06:19:29 jlam Exp $
d4 1
a4 1
PKGREVISION=		7
@


1.69
log
@Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2005/07/24 21:19:54 kristerw Exp $
d46 1
a46 1
PKG_USERS=		${INN_USER}:${INN_GROUP}::Internet\\ News:${INN_DATA_DIR}:${SH}
@


1.68
log
@This package does link to the perl libraries, so re-add
perl5/buildlink3.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2005/07/18 02:37:22 jlam Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.67
log
@TOOLS_GZIP_CMD now only holds the path to gzip, so no need to strip off
arguments anymore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2005/07/16 19:10:40 jlam Exp $
d126 1
@


1.66
log
@Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2005/07/15 23:23:15 kristerw Exp $
d43 1
a43 1
CONFIGURE_ENV+=		GZIP="${TOOLS_GZIP_CMD:Q:C/\\\\ .*//}"
@


1.65
log
@The workref fix in previous commit did not work on NetBSD 1.6; its
make does not understand the "W" option in :C modifiers, and it
handles substitution in strings containing spaces somwheat differently.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2005/06/27 19:11:25 tron Exp $
d44 1
a44 1
USE_TOOLS+=		awk egrep gzip sed sh sort yacc
a125 1
.include "../../lang/perl5/buildlink3.mk"
@


1.64
log
@Don't compile package source "gzip" options into the binaries.
Bump package revision once more.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2005/06/24 16:24:23 jlam Exp $
d4 1
a4 1
PKGREVISION=		5
d43 1
a43 1
CONFIGURE_ENV+=		GZIP="${TOOLS_GZIP_CMD:C/ .*//W}"
@


1.63
log
@Instead of setting ac_cv_path_VARNAME, which is a GNU autoconf cache
variable name that can change between autoconf versions, just set
VARNAME, which should always be correct.

Also, note that inn needs yacc to build, and uses gzip in the installed
scripts.  Bump the PKGREVISION to 4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2005/06/23 21:57:45 kristerw Exp $
d4 1
a4 1
PKGREVISION=		4
d43 1
a43 1
CONFIGURE_ENV+=		GZIP="${TOOLS_GZIP_CMD}"
@


1.62
log
@Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2005/04/11 21:47:03 tv Exp $
d4 1
a4 1
PKGREVISION=		3
d38 7
a44 6
CONFIGURE_ENV+=		ac_cv_path__PATH_AWK="${TOOLS_AWK}"
CONFIGURE_ENV+=		ac_cv_path__PATH_EGREP="${TOOLS_EGREP}"
CONFIGURE_ENV+=		ac_cv_path__PATH_SED="${TOOLS_SED}"
CONFIGURE_ENV+=		ac_cv_path__PATH_SH="${TOOLS_SH}"
CONFIGURE_ENV+=		ac_cv_path__PATH_SORT="${TOOLS_SORT}"
USE_TOOLS+=		awk egrep sed sh sort
@


1.61
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2004/12/28 02:47:48 reed Exp $
d4 1
a4 1
PKGREVISION=	2
d38 6
@


1.60
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.59 2004/10/03 00:18:02 tv Exp $
a20 1
USE_BUILDLINK3=		YES
@


1.59
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.58 2004/06/08 12:24:00 cjep Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.58
log
@Add USE_INET6 to BUILD_DEFS as these packages use it. Part of PR#25743 from
Georg Schwarz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2004/06/02 11:43:55 tron Exp $
d4 1
@


1.57
log
@Update INN package to version 2.4.1. Major changes since version 2.3.x:
- builtin IPv6 support
- new configuration parser
- completely rewriten "send-uucp" which replaces "sendbatch"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2004/05/23 14:40:00 tron Exp $
d16 1
@


1.56
log
@Apply IPv6 patch only if we really want IPv6 support because the patch
breaks the build on some IPv4 only platforms (e.g. IRIX). This fixes
PR pkg/25671 by Georg Schwarz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2004/05/22 18:58:29 jschauma Exp $
d3 1
a3 2
DISTNAME=		inn-${INN_VERSION}
PKGREVISION=		1
a14 1
INN_VERSION=		2.3.5
d26 3
a28 1
			--with-perl --with-tmp-path=${INN_DATA_DIR}/tmp	\
a71 6
# IPv6 support
#
# The IPv6 patch is somewhat broken unfortunately. It uses APIs which often
# are not available under operating systems without IPv4 support. We therefore
# apply it only if we really want IPv6 support.

a72 4
PATCH_SITES=		ftp://ftp.north.ad.jp/pub/IPv6/INN/
PATCHFILES=		inn-${INN_VERSION}-v6-20030327.diff.gz
PATCH_DIST_STRIP=	-p1

d108 4
a111 4
	${INSTALL_DATA} ${WRKSRC}/include/config.h ${PREFIX}/include/inn
	${INSTALL_DATA} ${WRKSRC}/include/dbz.h ${PREFIX}/include/inn
	${INSTALL_DATA} ${WRKSRC}/include/libinn.h ${PREFIX}/include/inn
	${INSTALL_DATA} ${WRKSRC}/include/storage.h ${PREFIX}/include/inn
d119 1
@


1.55
log
@Introduce and use two new variables:
INN_USER and INN_GROUP, specifying the username and groupname to be used
by inn, defaulting to 'news'.
Noted by Georg Schwarz in mail to tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2004/04/11 17:33:47 snj Exp $
a9 4
PATCH_SITES=		ftp://ftp.north.ad.jp/pub/IPv6/INN/
PATCHFILES=		inn-${INN_VERSION}-v6-20030327.diff.gz
PATCH_DIST_STRIP=	-p1

d73 5
d79 4
a83 2
.else
CONFIGURE_ARGS+=	--disable-ipv6
@


1.54
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2004/02/01 01:43:30 jlam Exp $
d22 1
a22 1
BUILD_DEFS+=		INN_DATA_DIR
d29 11
a39 9
CONFIGURE_ARGS+=	--enable-setgid-inews \
			--enable-uucp-rnews \
			--mandir=${PREFIX}/man \
			--with-perl --with-tmp-path=${INN_DATA_DIR}/tmp \
			--with-db-dir=${INN_DATA_DIR}/db \
			--with-etc-dir=${INN_DATA_DIR}/etc \
			--with-log-dir=${INN_DATA_DIR}/log \
			--with-run-dir=${INN_DATA_DIR}/run \
			--with-spool-dir=${INN_SPOOL}
d42 2
a43 2
PKG_USERS=		news:news::Internet\\ News:${INN_DATA_DIR}:${SH}
PKG_GROUPS=		news
d52 1
a52 1
OWN_DIRS_PERMS=		${INN_DATA_DIR}			news news 0775
d54 1
a54 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/${DIR}		news news 0775
d57 1
a57 1
MAKE_DIRS_PERMS+=	${INN_DATA_DIR}/spool/${DIR}	news news 0775
d69 1
a69 1
			news news 0664
@


1.53
log
@In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2004/01/24 20:41:01 kristerw Exp $
d25 1
a25 1
USE_BUILDLINK2=		YES
d123 1
a123 1
.include "../../lang/perl5/buildlink2.mk"
@


1.52
log
@Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2003/09/17 19:40:56 grant Exp $
d88 1
a88 1
GCC_REQD=		2.95.3
@


1.51
log
@get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2003/09/12 20:07:25 grant Exp $
d88 1
a88 1
USE_PKGSRC_GCC=		# defined
@


1.50
log
@kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2003/07/29 16:30:06 wiz Exp $
d88 1
a88 1
USE_GCC2=	# defined
@


1.49
log
@Sort sections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2003/07/29 16:29:09 wiz Exp $
d88 1
a88 1
.  include "../../mk/gcc.buildlink2.mk"
@


1.48
log
@Apply another part of pkgsrc-wip/wip/newsx/news.inn.patch,
that was previously rejected (oops).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2003/07/29 16:27:26 wiz Exp $
d10 4
a18 4

PATCH_SITES=		ftp://ftp.north.ad.jp/pub/IPv6/INN/
PATCHFILES=		inn-${INN_VERSION}-v6-20030327.diff.gz
PATCH_DIST_STRIP=	-p1
@


1.47
log
@Apply patch pkgsrc-wip/newsx/news.inn.patch:
Install header files for other packages (in particular, newsx).
Bump PKGREVISION.
Approved by tron@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2003/07/21 17:11:54 martti Exp $
d21 1
a21 2
INN_DATA_DIR?=		/var/news
INN_SPOOL?=		${INN_DATA_DIR}/spool
d28 1
a28 1
GNU_CONFIGURE_PREFIX=	${PREFIX}/inn
@


1.46
log
@COMMENT should start with a capital letter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2003/07/17 22:52:07 grant Exp $
d4 1
d113 5
@


1.45
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2003/06/11 20:50:57 abs Exp $
d11 1
a11 1
COMMENT=		the public release of InterNet News (INN)
@


1.44
log
@Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2003/06/02 14:05:07 abs Exp $
d9 1
a9 1
MAINTAINER=		tron@@netbsd.org
@


1.43
log
@Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2003/05/13 11:56:44 tron Exp $
d87 1
a87 1
.if (${MACHINE_ARCH} == arm32)
@


1.42
log
@Update "inn" package to version 2.3.5. Changes since version 2.3.4:
- Clients using POST are no longer permitted to provide an Injector-Info
  header.
- Fixed a bug causing posts with Followup-To set to a moderated group to
  be rejected if the posting user didn't have permission to approve
  postings.
- Fixed bugs in inncheck with setuid rnews or setgid inews, in
  innconfval with inn.conf parameters containing shell metacharacters
  but no spaces, and in parsedate.y with some versions of yacc.  Fixed a
  variety of size-related printf format warnings (e.g., %d vs. %ld)
  thanks to the work of Winfried Szukalski.

While INN 2.3.5 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2003/03/23 11:07:15 tron Exp $
d88 1
a88 1
.  include "../../lang/gcc/buildlink2.mk"
@


1.41
log
@Update "inn" package to version 2.3.4. Changes since version 2.3.3:
- LIST ACTIVE no longer returns data when given a single group argument
  if the client is not authorized to read that group.
- XHDR and XPAT weren't correctly parsing article headers, resulting in
  searches for the header "newsgroup" matching the header "newsgroups".
- Made CNFS more robust against crashes by actually syncing the cycbuff
  headers to disk as was originally intended.  Fixed a memory leak in
  the tradspool code.
- Two bugs in pgpverify when using GnuPG were fixed: it now correctly
  checks for gpgv (rather than pgp) when told to use GnuPG and expects
  the keyring to be pubring.gpg (not pubring.pgp).
- Substantial updates to the sample provided control.ctl file.
- Compilation fixes with Perl 5.8.0, BerkeleyDB 4.x, current versions of
  Linux (including with large file support), and Tru64.  inndf fixes for
  ReiserFS.
- Various bugs in the header handling in nnrpd have been fixed,
  including hangs when using virtual domains and improper processing of
  folded headers under certain circumstances.
- Other minor bug fixes and documentation improvements.

While INN 2.3.4 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2003/01/28 22:03:58 jlam Exp $
d3 1
a3 1
DISTNAME=		inn-2.3.4
d16 1
a16 1
PATCHFILES=		inn-2.3.4-v6-20030201.diff.gz
d19 1
@


1.40
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.39 2002/10/13 07:57:43 tron Exp $
d3 1
a3 1
DISTNAME=		inn-2.3.3
d16 1
a16 1
PATCHFILES=		inn-2.3.3-v6-20020618.diff.gz
d89 3
@


1.39
log
@Honor environment variable "INN_SPOOL" documented in the description file.
Problem noted by Kimmo Suominen in private e-mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2002/09/29 10:41:36 jlam Exp $
d25 1
a114 1
.include "../../mk/bsd.pkg.install.mk"
@


1.38
log
@There is also a /var/news/spool/archive directory we need to handle.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2002/09/29 10:39:36 jlam Exp $
d20 1
d35 1
a35 1
			--with-spool-dir=${INN_DATA_DIR}/spool
@


1.37
log
@* buildlink1 -> buildlink2
* Use gcc/buildlink2.mk instead of Makefile.gcc.
* Use the functionality on bsd.pkg.install.mk to generate INSTALL/DEINSTALL
  scripts that match the functionality of the custom ones we're removing,
  and handle the rc.d script automatically.
* Name the full paths of the binaries that are installed setuid.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2002/08/27 15:27:46 grant Exp $
d43 1
a43 1
INN_SPOOLDIRS=		articles overview incoming incoming/bad	\
@


1.36
log
@@@@@PREFIX@@@@ -> @@PREFIX@@, as this is more consistent with other
packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2002/07/06 15:04:57 tron Exp $
d20 2
d23 1
a23 1
USE_PERL5=		YES
d40 29
d85 1
a85 1
.include "../../lang/gcc/Makefile.gcc"
a87 5
DEINSTALL_FILE=		${WRKDIR}/DEINSTALL
INSTALL_FILE=		${WRKDIR}/INSTALL

BUILD_DEFS+=		INN_DATA_DIR

a88 7
	${SED} -e 's#@@INN_DATA_DIR@@#${INN_DATA_DIR}#g' \
	       -e 's#@@PREFIX@@#${PREFIX}#g' \
	        ${FILESDIR}/innd.sh >${WRKDIR}/innd.sh
.for FILE in DEINSTALL INSTALL
	${SED} -e 's#@@INN_DATA_DIR@@#${INN_DATA_DIR}#g' \
	        ${PKGDIR}/${FILE} >${WRKDIR}/${FILE}
.endfor
d99 2
a100 2
	for DIR in ${INN_DATA_DIR} ${PREFIX}/etc/nntp  ${PREFIX}/inn; do \
		${INSTALL_DATA_DIR} $$DIR; \
d106 4
a109 4
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/inn
	for FILE in `ls -1 ${WRKSRC}/samples/* | \
		     ${EGREP} -v '(Makefile|.*\.(in|orig)$$)'`; do \
	  ${INSTALL_DATA} $$FILE ${PREFIX}/share/examples/inn; \
a110 3
	cd ${WRKSRC}/site && \
	${INSTALL_SCRIPT} ${WRKDIR}/innd.sh ${PREFIX}/etc/rc.d/innd
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
d112 1
@


1.35
log
@Update "inn" package to version 2.3.3. Changes since version 2.3.2:
- pgpverify now supports using GnuPG to check signatures (rather than
  PGP) without the pgpgpg wrapper.  GnuPG can check both old-style RSA
  signatures and new OpenPGP signatures and is recommended over PGP 2.6.
  If you have GnuPG installed, pgpverify will use it rather than PGP,
  which means that you may have to create a new key ring for GnuPG to
  use to verify signatures if you were previously using PGP.
- An item that was noted in NEWS below but was inadvertently left out of
  nnrpd has actually been added this time:  users can no longer post
  articles containing Approved: headers to moderated groups by default;
  they must be specifically given that permission with the access:
  parameter in readers.conf.  See the man page for more details.
- Two bugs in repacking overview index files and a reliability bug with
  writing overview data were all fixed in the tradindexed overview
  method, hopefully making it somewhat more reliable, particularly for
  makehistory.
- If rc.news.local exists in the INN binary directory, it will be run
  with the start or stop argument whenever rc.news is run.  This is
  available as a hook for local startup and shutdown code.
- The default history table hash sizes were increased because a
  too-small value can cause serious performance problems (whereas a
  too-large hash just wastes a bit of disk space).
- The sample control.ctl file has been extensively updated.
- Wildmat exclusions (@@ and !) should now work properly in storage.conf
  newsgroup patterns.
- The implementation of the -w flag for expireover was fixed;
  previously, the value given to -w to change expireover's notion of the
  current time was scaled by too much.
- Various other more minor bug fixes, standards compliance fixes, and
  documentation improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2002/07/06 14:33:36 tron Exp $
d63 2
a64 2
	${SED} -e 's#@@@@INN_DATA_DIR@@@@#${INN_DATA_DIR}#g' \
	       -e 's#@@@@PREFIX@@@@#${PREFIX}#g' \
d67 1
a67 1
	${SED} -e 's#@@@@INN_DATA_DIR@@@@#${INN_DATA_DIR}#g' \
@


1.34
log
@Automatically create a "news" account suitable for running INN on
installation. This fixes PR pkg/13250 by Gabriel Rosenkoetter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2002/06/23 04:00:50 jlam Exp $
d3 1
a3 1
DISTNAME=		inn-2.3.2
d16 1
a16 1
PATCHFILES=		inn-2.3.2-v6-20010607.diff.gz
@


1.33
log
@Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2002/04/20 18:18:50 cjep Exp $
d35 3
d96 1
@


1.32
log
@On arm32, use gcc-2.95.3 to avoid internal egcs errors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2001/10/20 17:31:44 veego Exp $
d22 3
a24 3
HAS_CONFIGURE=		YES
CONFIGURE_ARGS+=	--host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}/inn \
			--enable-setgid-inews \
@


1.32.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2002/06/23 04:00:50 jlam Exp $
d22 3
a24 3
GNU_CONFIGURE=		YES
GNU_CONFIGURE_PREFIX=	${PREFIX}/inn
CONFIGURE_ARGS+=	--enable-setgid-inews \
@


1.31
log
@Ups, forgot an \ at the end of a line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2001/10/19 09:17:11 veego Exp $
d48 4
@


1.30
log
@You can't create more then one directory with ${INSTALL_DATA_DIR} on
solaris.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2001/09/27 23:18:34 jlam Exp $
d73 1
a73 1
	for DIR in ${INN_DATA_DIR} ${PREFIX}/etc/nntp  ${PREFIX}/inn; do
@


1.29
log
@Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2001/07/16 13:41:18 tron Exp $
d73 3
a75 1
	${INSTALL_DATA_DIR} ${INN_DATA_DIR} ${PREFIX}/etc/nntp ${PREFIX}/inn
@


1.28
log
@Add "--enable-setgid-inews" to "CONFIGURE_ARGS" because "inews" is
otherwise only executable for member of the group "news" and can't hence
be used as posting frontend for e.g. the "nn" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2001/07/10 16:02:12 tron Exp $
d13 1
a13 1
CONFLICTS+=		nntpclnt-*
@


1.27
log
@Update "inn" package to version 2.3.2. Changes since version 2.3.1:
- innxmit can again handle regular filenames as input as well as storage
  API tokens (allowing it to be used to import an old traditional
  spool).
- Several problems with tagged-hash history files have been fixed thanks
  to the debugging efforts of Andrew Gierth and Sang-yong Suh.
- A very long-standing (since INN 1.0!) NNTP protocol bug in nnrpd was
  fixed.  The response to an ARTICLE command retrieving a message by
  message ID should have the message ID as the third word of the
  response, not the fourth.  Fixing this is reported to *possibly* cause
  problems with some Netscape browsers, but other news servers correctly
  follow the protocol.
- Some serious performance problems with expiration of tradspool should
  now be at least somewhat alleviated.  tradspool and timehash now know
  how to output file names for removal rather than tokens, and fastrm's
  ability to remove regular files has been restored.  This should bring
  expiration times for tradspool back to within a factor of two of
  pre-storage-API expiration times.
- An item that was actually changed in 2.3.0 but wasn't noted in NEWS
  when it should have been:  Users can no longer post articles
  containing Approved: headers to moderated groups by default; they must
  be specifically given that permission with the access: parameter in
  readers.conf.  See the man page for more details.
- Added a sample subscriptions file and documentation for it and
  innmail.
The changes required for this update were contributed by Bernd Ernesti
in PR pkg/13299.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2001/03/01 19:07:53 jlam Exp $
d24 1
@


1.26
log
@Mechanical changes to use ${PKG_PREFIX} instead of substituting for
@@PREFIX@@ in DEINSTALL/INSTALL scripts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2001/02/25 04:18:10 hubertf Exp $
d3 1
a3 1
DISTNAME=		inn-2.3.1
d16 1
a16 1
PATCHFILES=		inn-2.3.1-v6-20010213.diff.gz
@


1.25
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2001/02/17 17:54:47 wiz Exp $
a59 1
	       -e 's#@@@@PREFIX@@@@#${PREFIX}#g' \
d84 1
a84 1
	@@${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
@


1.24
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2001/02/13 03:54:55 itojun Exp $
d73 1
a73 1
	${MKDIR} ${INN_DATA_DIR} ${PREFIX}/etc/nntp ${PREFIX}/inn
d78 1
a78 1
	${MKDIR} ${PREFIX}/share/examples/inn
@


1.23
log
@pull latest IPv6 patch.  should fix PR 12184.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2001/02/08 16:23:06 tron Exp $
d11 1
@


1.22
log
@Update "inn" package to version 2.3.1. Changes since version 2.2.3:
 INN 2.3.0 represents a significant architectural change to INN, with a
 completely new internal overview interface, three new overview mechanisms,
 two new article storage mechanisms, and the elimination of quite a few old
 interfaces and old code.
The NetBSD package furthermore includes IPv6 support and a new style
startup script with backwards compatibility.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2001/01/26 05:21:47 hubertf Exp $
d15 1
a15 1
PATCHFILES=		inn-2.3.1-v6-20010204.diff.gz
@


1.21
log
@etc/rc.d cleanup: rename *.sh -> *
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2000/09/01 20:16:59 veego Exp $
d3 1
a3 1
DISTNAME=		inn-2.2.3
d14 4
d20 2
a21 3
USE_PERL5=		# defined
USE_LIBTOOL=		# defined
HAS_CONFIGURE=		# defined
d23 1
d25 1
a25 1
			--with-perl --with-tmp-path=/tmp \
d35 7
d75 1
d79 1
a79 1
		     ${EGREP} -v '\.(in|orig)$'`; do \
@


1.20
log
@Update to 2.2.3. Fixes PR#10932.

Changes:
- INN no longer installs inews setgid news or rnews setuid root by
  default.  If you need the old behavior, --enable-uucp-rnews or
  --enable-setgid-inews must be given to configure.  See INSTALL
  for more information.
- A security hole when verifycancels is turned on in inn.conf (not
  the default) was fixed.
- Message IDs are now limited to 250 octets to prevent
  interoperability problems with other servers.
- Various other security paranoia fixes have been made.
- Embedded Perl filters fixed to work with Perl 5.6.0.
- Lots of bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2000/08/27 02:46:06 jlam Exp $
d71 1
a71 1
	${INSTALL_SCRIPT} ${WRKDIR}/innd.sh ${PREFIX}/etc/rc.d
@


1.19
log
@Use new PERL5 variable instead of ${LOCALBASE}/bin/perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2000/08/17 14:00:27 wiz Exp $
d3 1
a3 1
DISTNAME=		inn-2.2.2
@


1.18
log
@USE_PKGLIBTOOL -> USE_LIBTOOL
Added hack to post-build since the package's libtool recognizes more
switches for the install program than the default libtool.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2000/07/03 13:44:53 veego Exp $
d16 3
a18 3
USE_PERL5=		yes
USE_LIBTOOL=		yes
HAS_CONFIGURE=		yes
d27 1
a27 1
CONFIGURE_ENV+=		_PATH_PERL=${LOCALBASE}/bin/perl
@


1.17
log
@Make it work on Solaris (fix the sendmail path).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2000/06/01 11:23:38 rh Exp $
d17 1
a17 1
USE_PKGLIBTOOL=		yes
a28 1

d51 8
@


1.16
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
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/02/27 23:04:23 tron Exp $
a21 1
			--with-sendmail=/usr/sbin/sendmail \
d28 9
@


1.15
log
@List me as maintainer of this package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2000/02/27 22:51:41 tron Exp $
d17 1
a17 1
USE_LIBTOOL=		yes
@


1.14
log
@Update "inn" package to version 2.2.2. Changes since version 2.2:
- Various minor bug fixes and a y2k bug fix. The y2k bug is in version
  version 2.2.1 only and will show up after Jan 1st when a news reader
  issues a NEWNEWS command for a date prior to the year 2000.
- Various bug fixes. Most importantly, bug fixes to potential
  security holes (buffer overflow type).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 1999/10/07 17:41:57 tron Exp $
d9 1
a9 1
MAINTAINER=		packages@@netbsd.org
@


1.13
log
@Remove me as maintainer of those packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 1999/09/30 17:35:21 tron Exp $
d3 1
a3 1
DISTNAME=		inn-2.2
@


1.12
log
@Remove build dependence on "bison" package because the "configure" script
can be convinced to use NetBSD's "yacc" instead. Patch supplied by
David Rankin in PR pkg/8516.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/08/24 14:18:57 tron Exp $
d9 1
a9 1
MAINTAINER=		tron@@netbsd.org
@


1.11
log
@Make sure that "bison" binary from package sources is used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1999/08/18 08:38:51 agc Exp $
a10 2

BUILD_DEPENDS+=		${LOCALBASE}/bin/bison:../../devel/bison
@


1.10
log
@Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1999/07/29 21:15:46 tron Exp $
d12 1
a12 1
BUILD_DEPENDS+=		bison:../../devel/bison
@


1.9
log
@Because INN fails at many places when its binaries are not installed in
"${PREFIX}/bin" it gets installed to "${PREFIX}/inn" now. Only the
manual pages and the configuration file examples remain at the old
location.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/07/29 20:27:19 tron Exp $
d34 2
@


1.8
log
@Install INN binaries to "${LOCALBASE}/libexec/inn". Only "inews" is
linked to "${LOCALBASE}/bin". Fixes PR pkg/8110 by Wolfgang Rupprecht.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/07/26 20:56:23 tron Exp $
d20 4
a23 2
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-perl --with-tmp-path=/tmp \
d46 1
a46 1
	${MKDIR} ${INN_DATA_DIR} ${PREFIX}/etc/nntp ${PREFIX}/libexec/inn
d49 1
a49 1
	${LN} -s ../libexec/inn/inews ${PREFIX}/bin/inews
@


1.7
log
@Create configuration files in "${PREFIX}/etc/nntp" automatically so that
newsreaders like "nn" or "trn" can use them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/07/21 22:29:36 tron Exp $
d44 1
a44 1
	${MKDIR} ${INN_DATA_DIR} ${PREFIX}/etc/nntp
d47 1
@


1.6
log
@"make install" could clobber files in "${INN_DATA_DIR}/etc" while
"pkg_add" worked fine.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1999/07/21 20:38:55 tron Exp $
d44 1
a44 1
	${MKDIR} ${INN_DATA_DIR}
@


1.5
log
@Add standard script to launch INN at system startup.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1999/07/18 23:34:12 tron Exp $
a31 1
#INSTALL_TARGET=		update
d52 1
d54 1
a54 1
#	@@${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
@


1.4
log
@Update INN package to version 2.2. This update is based on the patches
supplied by Chris Jones in PR pkg/7597.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/10/17 18:09:32 bad Exp $
d35 3
d53 1
@


1.3
log
@Don't depend on sendmail being found in the PATH.
Don't pickup random crap, $LOCALBASE/bin/perl or bust!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/09/17 15:39:53 agc Exp $
d3 1
a3 1
DISTNAME=		inn-2.1
d5 3
a7 1
MASTER_SITES=		ftp://wuarchive.wustl.edu/packages/news/transport/inn/
d9 1
a9 1
MAINTAINER=		root@@garbled.net
d16 1
a16 1
INN_SPOOL?=		/var/spool/news
d20 8
a27 2
CONFIGURE_ARGS+=	--with-perl --with-spool-dir=${INN_SPOOL}
CONFIGURE_ARGS+=	--with-tmp-path=/tmp  --with-sendmail=/usr/sbin/sendmail
a28 1
GNU_CONFIGURE=		yes
d30 10
a39 1
INSTALL_FILE=		${WRKDIR}/.INSTALL
d41 2
a42 4
post-patch:
	${SED} -e 's@@XXXINN_SPOOLXXX@@${INN_SPOOL}@@g' \
		-e 's@@XXXPREFIXXXX@@${PREFIX}@@g' \
		${PKGDIR}/install > ${INSTALL_FILE}
d46 5
a50 1
	${CP} -R ${WRKSRC}/samples/* ${PREFIX}/share/examples/inn
@


1.2
log
@Define and use INSTALL_FILE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/09/05 03:21:11 garbled Exp $
d19 2
a20 1
CONFIGURE_ARGS+=	--with-tmp-path=/tmp
@


1.1
log
@Add new pkg for inn-2.1
the public release of InterNet News (INN).
@
text
@d1 1
a1 1
# $NetBSD$
d22 2
d26 2
a27 1
	-e 's@@XXXPREFIXXXX@@${PREFIX}@@g' <${PKGDIR}/install >${PKGDIR}/INSTALL
@
