head	1.104;
access;
symbols
	pkgsrc-2026Q1:1.103.0.2
	pkgsrc-2026Q1-base:1.103
	pkgsrc-2025Q4:1.100.0.6
	pkgsrc-2025Q4-base:1.100
	pkgsrc-2025Q3:1.100.0.4
	pkgsrc-2025Q3-base:1.100
	pkgsrc-2025Q2:1.100.0.2
	pkgsrc-2025Q2-base:1.100
	pkgsrc-2025Q1:1.98.0.2
	pkgsrc-2025Q1-base:1.98
	pkgsrc-2024Q4:1.97.0.2
	pkgsrc-2024Q4-base:1.97
	pkgsrc-2024Q3:1.94.0.2
	pkgsrc-2024Q3-base:1.94
	pkgsrc-2024Q2:1.92.0.2
	pkgsrc-2024Q2-base:1.92
	pkgsrc-2024Q1:1.90.0.2
	pkgsrc-2024Q1-base:1.90
	pkgsrc-2023Q4:1.89.0.2
	pkgsrc-2023Q4-base:1.89
	pkgsrc-2023Q3:1.87.0.4
	pkgsrc-2023Q3-base:1.87
	pkgsrc-2023Q2:1.87.0.2
	pkgsrc-2023Q2-base:1.87
	pkgsrc-2023Q1:1.86.0.4
	pkgsrc-2023Q1-base:1.86
	pkgsrc-2022Q4:1.86.0.2
	pkgsrc-2022Q4-base:1.86
	pkgsrc-2022Q3:1.84.0.2
	pkgsrc-2022Q3-base:1.84
	pkgsrc-2022Q2:1.81.0.6
	pkgsrc-2022Q2-base:1.81
	pkgsrc-2022Q1:1.81.0.4
	pkgsrc-2022Q1-base:1.81
	pkgsrc-2021Q4:1.81.0.2
	pkgsrc-2021Q4-base:1.81
	pkgsrc-2021Q3:1.79.0.2
	pkgsrc-2021Q3-base:1.79
	pkgsrc-2021Q2:1.77.0.2
	pkgsrc-2021Q2-base:1.77
	pkgsrc-2021Q1:1.76.0.2
	pkgsrc-2021Q1-base:1.76
	pkgsrc-2020Q4:1.74.0.2
	pkgsrc-2020Q4-base:1.74
	pkgsrc-2020Q3:1.71.0.2
	pkgsrc-2020Q3-base:1.71
	pkgsrc-2020Q2:1.68.0.2
	pkgsrc-2020Q2-base:1.68
	pkgsrc-2020Q1:1.66.0.2
	pkgsrc-2020Q1-base:1.66
	pkgsrc-2019Q4:1.60.0.6
	pkgsrc-2019Q4-base:1.60
	pkgsrc-2019Q3:1.60.0.2
	pkgsrc-2019Q3-base:1.60
	pkgsrc-2019Q2:1.58.0.2
	pkgsrc-2019Q2-base:1.58
	pkgsrc-2019Q1:1.56.0.2
	pkgsrc-2019Q1-base:1.56
	pkgsrc-2018Q4:1.55.0.4
	pkgsrc-2018Q4-base:1.55
	pkgsrc-2018Q3:1.55.0.2
	pkgsrc-2018Q3-base:1.55
	pkgsrc-2018Q2:1.53.0.4
	pkgsrc-2018Q2-base:1.53
	pkgsrc-2018Q1:1.53.0.2
	pkgsrc-2018Q1-base:1.53
	pkgsrc-2017Q4:1.52.0.14
	pkgsrc-2017Q4-base:1.52
	pkgsrc-2017Q3:1.52.0.12
	pkgsrc-2017Q3-base:1.52
	pkgsrc-2017Q2:1.52.0.8
	pkgsrc-2017Q2-base:1.52
	pkgsrc-2017Q1:1.52.0.6
	pkgsrc-2017Q1-base:1.52
	pkgsrc-2016Q4:1.52.0.4
	pkgsrc-2016Q4-base:1.52
	pkgsrc-2016Q3:1.52.0.2
	pkgsrc-2016Q3-base:1.52
	pkgsrc-2016Q2:1.51.0.4
	pkgsrc-2016Q2-base:1.51
	pkgsrc-2016Q1:1.51.0.2
	pkgsrc-2016Q1-base:1.51
	pkgsrc-2015Q4:1.50.0.14
	pkgsrc-2015Q4-base:1.50
	pkgsrc-2015Q3:1.50.0.12
	pkgsrc-2015Q3-base:1.50
	pkgsrc-2015Q2:1.50.0.10
	pkgsrc-2015Q2-base:1.50
	pkgsrc-2015Q1:1.50.0.8
	pkgsrc-2015Q1-base:1.50
	pkgsrc-2014Q4:1.50.0.6
	pkgsrc-2014Q4-base:1.50
	pkgsrc-2014Q3:1.50.0.4
	pkgsrc-2014Q3-base:1.50
	pkgsrc-2014Q2:1.50.0.2
	pkgsrc-2014Q2-base:1.50
	pkgsrc-2014Q1:1.49.0.2
	pkgsrc-2014Q1-base:1.49
	pkgsrc-2013Q4:1.48.0.4
	pkgsrc-2013Q4-base:1.48
	pkgsrc-2013Q3:1.48.0.2
	pkgsrc-2013Q3-base:1.48
	pkgsrc-2013Q2:1.47.0.4
	pkgsrc-2013Q2-base:1.47
	pkgsrc-2013Q1:1.47.0.2
	pkgsrc-2013Q1-base:1.47
	pkgsrc-2012Q4:1.45.0.2
	pkgsrc-2012Q4-base:1.45
	pkgsrc-2012Q3:1.43.0.4
	pkgsrc-2012Q3-base:1.43
	pkgsrc-2012Q2:1.43.0.2
	pkgsrc-2012Q2-base:1.43
	pkgsrc-2012Q1:1.42.0.6
	pkgsrc-2012Q1-base:1.42
	pkgsrc-2011Q4:1.42.0.4
	pkgsrc-2011Q4-base:1.42
	pkgsrc-2011Q3:1.42.0.2
	pkgsrc-2011Q3-base:1.42
	pkgsrc-2011Q2:1.41.0.12
	pkgsrc-2011Q2-base:1.41
	pkgsrc-2011Q1:1.41.0.10
	pkgsrc-2011Q1-base:1.41
	pkgsrc-2010Q4:1.41.0.8
	pkgsrc-2010Q4-base:1.41
	pkgsrc-2010Q3:1.41.0.6
	pkgsrc-2010Q3-base:1.41
	pkgsrc-2010Q2:1.41.0.4
	pkgsrc-2010Q2-base:1.41
	pkgsrc-2010Q1:1.41.0.2
	pkgsrc-2010Q1-base:1.41
	pkgsrc-2009Q4:1.40.0.10
	pkgsrc-2009Q4-base:1.40
	pkgsrc-2009Q3:1.40.0.8
	pkgsrc-2009Q3-base:1.40
	pkgsrc-2009Q2:1.40.0.6
	pkgsrc-2009Q2-base:1.40
	pkgsrc-2009Q1:1.40.0.4
	pkgsrc-2009Q1-base:1.40
	pkgsrc-2008Q4:1.40.0.2
	pkgsrc-2008Q4-base:1.40
	pkgsrc-2008Q3:1.39.0.4
	pkgsrc-2008Q3-base:1.39
	cube-native-xorg:1.39.0.2
	cube-native-xorg-base:1.39
	pkgsrc-2008Q2:1.38.0.4
	pkgsrc-2008Q2-base:1.38
	cwrapper:1.38.0.2
	pkgsrc-2008Q1:1.37.0.2
	pkgsrc-2008Q1-base:1.37
	pkgsrc-2007Q4:1.36.0.2
	pkgsrc-2007Q4-base:1.36
	pkgsrc-2007Q3:1.35.0.2
	pkgsrc-2007Q3-base:1.35
	pkgsrc-2007Q2:1.34.0.4
	pkgsrc-2007Q2-base:1.34
	pkgsrc-2007Q1:1.34.0.2
	pkgsrc-2007Q1-base:1.34
	pkgsrc-2006Q4:1.33.0.2
	pkgsrc-2006Q4-base:1.33
	pkgsrc-2006Q3:1.32.0.2
	pkgsrc-2006Q3-base:1.32
	pkgsrc-2006Q2:1.31.0.2
	pkgsrc-2006Q2-base:1.31
	pkgsrc-2006Q1:1.29.0.2
	pkgsrc-2006Q1-base:1.29
	pkgsrc-2005Q4:1.24.0.2
	pkgsrc-2005Q4-base:1.24
	pkgsrc-2005Q3:1.19.0.2
	pkgsrc-2005Q3-base:1.19
	pkgsrc-2005Q2:1.16.0.2
	pkgsrc-2005Q2-base:1.16
	pkgsrc-2005Q1:1.14.0.2
	pkgsrc-2005Q1-base:1.14
	pkgsrc-2004Q4:1.13.0.2
	pkgsrc-2004Q4-base:1.13
	pkgsrc-2004Q3:1.12.0.4
	pkgsrc-2004Q3-base:1.12
	pkgsrc-2004Q2:1.12.0.2
	pkgsrc-2004Q2-base:1.12
	pkgsrc-2004Q1:1.9.0.2
	pkgsrc-2004Q1-base:1.9
	pkgsrc-2003Q4:1.8.0.2
	pkgsrc-2003Q4-base:1.8
	netbsd-1-6-1:1.3.0.2
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.2.0.6
	netbsd-1-6-RELEASE-base:1.2
	pkgviews:1.2.0.2
	pkgviews-base:1.2
	buildlink2:1.1.1.1.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.104
date	2026.05.14.16.40.30;	author ryoon;	state Exp;
branches;
next	1.103;
commitid	tKipFjQKzke3NNFG;

1.103
date	2026.02.06.10.04.19;	author wiz;	state Exp;
branches;
next	1.102;
commitid	MwQEYCXeWSFvIitG;

1.102
date	2026.01.07.08.45.59;	author wiz;	state Exp;
branches;
next	1.101;
commitid	1wQ3ICD8eebefrpG;

1.101
date	2025.12.31.08.58.19;	author wiz;	state Exp;
branches;
next	1.100;
commitid	0c9orL3wdjeTxxoG;

1.100
date	2025.05.03.08.21.46;	author fox;	state Exp;
branches;
next	1.99;
commitid	GBswfOAbopfs7rTF;

1.99
date	2025.04.17.21.49.53;	author wiz;	state Exp;
branches;
next	1.98;
commitid	xcIXAVA292fk6sRF;

1.98
date	2025.01.23.11.22.24;	author fox;	state Exp;
branches;
next	1.97;
commitid	pmP7YzKYjfkNkBGF;

1.97
date	2024.11.14.22.18.50;	author wiz;	state Exp;
branches;
next	1.96;
commitid	JmuDYqwL4erbdFxF;

1.96
date	2024.11.01.12.51.35;	author wiz;	state Exp;
branches;
next	1.95;
commitid	QB4Wk02mZPuBuWvF;

1.95
date	2024.11.01.00.50.49;	author wiz;	state Exp;
branches;
next	1.94;
commitid	QT27BdVP362gvSvF;

1.94
date	2024.07.04.21.59.11;	author fox;	state Exp;
branches;
next	1.93;
commitid	jnYXcu0WAU3AnzgF;

1.93
date	2024.06.29.01.10.14;	author fox;	state Exp;
branches;
next	1.92;
commitid	1623gWABM23QCOfF;

1.92
date	2024.05.29.16.31.30;	author adam;	state Exp;
branches;
next	1.91;
commitid	n8aFyEjEVZA0JUbF;

1.91
date	2024.05.16.06.14.37;	author wiz;	state Exp;
branches;
next	1.90;
commitid	kYKPUni8AkogJbaF;

1.90
date	2024.03.16.11.19.33;	author nia;	state Exp;
branches;
next	1.89;
commitid	4B58jeOFg1pCnn2F;

1.89
date	2023.11.08.13.18.15;	author wiz;	state Exp;
branches;
next	1.88;
commitid	PsuHTklAIsF4bOLE;

1.88
date	2023.10.24.22.08.20;	author wiz;	state Exp;
branches;
next	1.87;
commitid	MTsrqKm6aGrQAVJE;

1.87
date	2023.04.19.08.09.15;	author adam;	state Exp;
branches;
next	1.86;
commitid	B8gCWhWtMX9vZGlE;

1.86
date	2022.10.26.10.31.15;	author wiz;	state Exp;
branches;
next	1.85;
commitid	PVFjlIYUKslkpdZD;

1.85
date	2022.10.01.11.59.40;	author fox;	state Exp;
branches;
next	1.84;
commitid	yZY8JluNiHWDH0WD;

1.84
date	2022.09.04.08.25.09;	author fox;	state Exp;
branches;
next	1.83;
commitid	12mwc6YFtKNQnwSD;

1.83
date	2022.08.08.08.17.18;	author fox;	state Exp;
branches;
next	1.82;
commitid	7Yx3K7hA7RXRc3PD;

1.82
date	2022.07.05.10.45.29;	author fox;	state Exp;
branches;
next	1.81;
commitid	RE3xsJJTU97e7HKD;

1.81
date	2021.12.08.16.03.28;	author adam;	state Exp;
branches;
next	1.80;
commitid	2PyWjHx5T8rqARjD;

1.80
date	2021.09.29.19.00.22;	author adam;	state Exp;
branches;
next	1.79;
commitid	WsBUbBM52TSePSaD;

1.79
date	2021.08.29.18.38.53;	author khorben;	state Exp;
branches;
next	1.78;
commitid	HiFiBnm1G90GHT6D;

1.78
date	2021.08.16.19.22.51;	author fox;	state Exp;
branches;
next	1.77;
commitid	PII7McrIsxdKme5D;

1.77
date	2021.04.21.13.24.25;	author adam;	state Exp;
branches;
next	1.76;
commitid	RAyVO2K5RkoQ8aQC;

1.76
date	2021.01.18.09.45.53;	author fox;	state Exp;
branches;
next	1.75;
commitid	sZycU916uZ1dVbEC;

1.75
date	2021.01.16.19.22.08;	author fox;	state Exp;
branches;
next	1.74;
commitid	H72cJxSmq88FaZDC;

1.74
date	2020.12.08.14.44.05;	author fox;	state Exp;
branches;
next	1.73;
commitid	i5LO3NZyrANfTWyC;

1.73
date	2020.11.15.14.26.24;	author fox;	state Exp;
branches;
next	1.72;
commitid	dDOJv1Uf3Ze7xZvC;

1.72
date	2020.11.08.13.54.04;	author fox;	state Exp;
branches;
next	1.71;
commitid	PeMtLrXGFyZXz5vC;

1.71
date	2020.09.09.13.26.49;	author fox;	state Exp;
branches;
next	1.70;
commitid	BHsM62nIRahamnnC;

1.70
date	2020.08.19.15.26.52;	author fox;	state Exp;
branches;
next	1.69;
commitid	xsaY5xIlGQ9UGGkC;

1.69
date	2020.07.13.13.12.08;	author kim;	state Exp;
branches;
next	1.68;
commitid	4pUjVeCU8E1L8VfC;

1.68
date	2020.05.22.10.55.58;	author adam;	state Exp;
branches;
next	1.67;
commitid	m1Z0QPvTTTWz3e9C;

1.67
date	2020.05.04.11.40.10;	author fox;	state Exp;
branches;
next	1.66;
commitid	FbE0BxGfSGFESU6C;

1.66
date	2020.03.14.02.52.35;	author fox;	state Exp;
branches;
next	1.65;
commitid	wbvcLPWQgwclBj0C;

1.65
date	2020.03.08.16.48.56;	author wiz;	state Exp;
branches;
next	1.64;
commitid	rcNYzTQo8icypCZB;

1.64
date	2020.02.20.06.55.42;	author fox;	state Exp;
branches;
next	1.63;
commitid	9hQQ5k1TuLbuGnXB;

1.63
date	2020.01.27.22.41.42;	author fox;	state Exp;
branches;
next	1.62;
commitid	R1DAtTsHEq2UGnUB;

1.62
date	2020.01.23.09.11.21;	author fox;	state Exp;
branches;
next	1.61;
commitid	2GO5L1fyu99vkNTB;

1.61
date	2020.01.18.21.48.50;	author jperkin;	state Exp;
branches;
next	1.60;
commitid	JW4hJgY8ZdoTFdTB;

1.60
date	2019.09.09.10.03.51;	author nia;	state Exp;
branches;
next	1.59;
commitid	rEBzp9VnEfSXZjCB;

1.59
date	2019.08.23.15.18.15;	author fox;	state Exp;
branches;
next	1.58;
commitid	TzKc65X1ZBCvhaAB;

1.58
date	2019.06.03.12.19.18;	author fox;	state Exp;
branches;
next	1.57;
commitid	cIHug0xTfbaATJpB;

1.57
date	2019.05.18.20.34.56;	author fox;	state Exp;
branches;
next	1.56;
commitid	QytiNH5yljhF9JnB;

1.56
date	2019.02.08.13.09.35;	author fox;	state Exp;
branches;
next	1.55;
commitid	W3i5msS7wUt3SXaB;

1.55
date	2018.08.22.09.43.01;	author wiz;	state Exp;
branches;
next	1.54;
commitid	YLub8g3ofvFGb6PA;

1.54
date	2018.07.04.13.40.10;	author jperkin;	state Exp;
branches;
next	1.53;
commitid	NnIyRkdX3Lbg3PIA;

1.53
date	2018.01.13.23.18.26;	author rillig;	state Exp;
branches;
next	1.52;
commitid	VPCVI3pv4B4eOLmA;

1.52
date	2016.07.09.06.37.53;	author wiz;	state Exp;
branches;
next	1.51;
commitid	dlqnocGpOoXV2Cdz;

1.51
date	2016.03.05.11.28.07;	author jperkin;	state Exp;
branches;
next	1.50;
commitid	1LoxeQftu903HrXy;

1.50
date	2014.05.29.23.35.18;	author wiz;	state Exp;
branches;
next	1.49;
commitid	laryHfkCalgYtuCx;

1.49
date	2014.02.12.23.17.36;	author tron;	state Exp;
branches;
next	1.48;
commitid	dfJj7CwMMWJzNRox;

1.48
date	2013.07.12.10.44.53;	author jperkin;	state Exp;
branches;
next	1.47;
commitid	vVOw5ngQ2VNQxaXw;

1.47
date	2013.03.23.19.29.50;	author spz;	state Exp;
branches;
next	1.46;

1.46
date	2013.02.06.23.21.47;	author jperkin;	state Exp;
branches;
next	1.45;

1.45
date	2012.10.03.21.54.01;	author wiz;	state Exp;
branches;
next	1.44;

1.44
date	2012.10.03.00.02.38;	author asau;	state Exp;
branches;
next	1.43;

1.43
date	2012.04.15.22.07.36;	author wiz;	state Exp;
branches;
next	1.42;

1.42
date	2011.08.29.01.24.02;	author dholland;	state Exp;
branches;
next	1.41;

1.41
date	2010.02.04.20.14.00;	author adrianp;	state Exp;
branches;
next	1.40;

1.40
date	2008.10.30.23.22.59;	author adrianp;	state Exp;
branches;
next	1.39;

1.39
date	2008.09.11.21.59.33;	author wiz;	state Exp;
branches;
next	1.38;

1.38
date	2008.05.26.02.13.16;	author joerg;	state Exp;
branches;
next	1.37;

1.37
date	2008.01.18.05.06.24;	author tnn;	state Exp;
branches;
next	1.36;

1.36
date	2007.10.14.18.34.41;	author adrianp;	state Exp;
branches;
next	1.35;

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

1.34
date	2007.02.01.23.19.56;	author wiz;	state Exp;
branches;
next	1.33;

1.33
date	2006.11.05.17.48.16;	author adrianp;	state Exp;
branches;
next	1.32;

1.32
date	2006.08.11.16.53.39;	author adrianp;	state Exp;
branches;
next	1.31;

1.31
date	2006.06.06.13.04.55;	author adrianp;	state Exp;
branches;
next	1.30;

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

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

1.28
date	2006.02.04.15.22.06;	author adrianp;	state Exp;
branches;
next	1.27;

1.27
date	2006.01.10.22.26.32;	author adrianp;	state Exp;
branches;
next	1.26;

1.26
date	2006.01.03.13.09.25;	author adrianp;	state Exp;
branches;
next	1.25;

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

1.24
date	2005.12.05.23.55.03;	author rillig;	state Exp;
branches;
next	1.23;

1.23
date	2005.12.05.20.49.53;	author rillig;	state Exp;
branches;
next	1.22;

1.22
date	2005.11.16.22.59.19;	author adrianp;	state Exp;
branches;
next	1.21;

1.21
date	2005.11.13.22.47.40;	author adrianp;	state Exp;
branches;
next	1.20;

1.20
date	2005.11.13.22.40.00;	author adrianp;	state Exp;
branches;
next	1.19;

1.19
date	2005.08.23.11.48.47;	author rillig;	state Exp;
branches;
next	1.18;

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

1.17
date	2005.07.12.04.15.50;	author grant;	state Exp;
branches;
next	1.16;

1.16
date	2005.04.11.21.45.04;	author tv;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2005.03.31.01.23.14;	author seb;	state Exp;
branches;
next	1.14;

1.14
date	2004.12.28.02.47.41;	author reed;	state Exp;
branches;
next	1.13;

1.13
date	2004.10.03.00.13.14;	author tv;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.27.20.51.10;	author reed;	state Exp;
branches;
next	1.11;

1.11
date	2004.04.11.16.08.55;	author snj;	state Exp;
branches;
next	1.10;

1.10
date	2004.04.11.05.51.24;	author snj;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.22.08.47.32;	author grant;	state Exp;
branches;
next	1.8;

1.8
date	2003.09.01.10.13.09;	author cjep;	state Exp;
branches;
next	1.7;

1.7
date	2003.08.12.13.38.54;	author grant;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.29.20.21.38;	author seb;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.29.17.26.00;	author jmmv;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.19.16.21.08;	author grant;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.10.09.40.07;	author wiz;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.12.10.16.45;	author abs;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.21.21.26.51;	author seb;	state Exp;
branches
	1.1.1.1;
next	;

1.16.2.1
date	2005.07.22.16.42.27;	author snj;	state Exp;
branches;
next	;

1.1.1.1
date	2001.10.21.21.26.51;	author seb;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.06.23.18.40.46;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.104
log
@*: Recursive revbump from security/nettle-4.0
@
text
@# $NetBSD: Makefile,v 1.103 2026/02/06 10:04:19 wiz Exp $

DISTNAME=	ircd-hybrid-8.2.47
PKGREVISION=	3
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.ircd-hybrid.org/
COMMENT=	IRC server with many options
LICENSE=	gnu-gpl-v2

CONFLICTS+=	ircu-[0-9]*

USE_LIBTOOL=	yes

GNU_CONFIGURE=	YES
BUILD_DEFS+=	VARBASE IRCD_HYBRID_IRC_USER IRCD_HYBRID_IRC_GROUP

LDFLAGS.SunOS+=	-lsocket -lnsl

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

PKG_SYSCONFSUBDIR=	ircd-hybrid
RCD_SCRIPTS=		ircd-hybrid

DOCDIR=			share/doc/ircd-hybrid

INSTALLATION_DIRS+=	${DOCDIR} ${DOCDIR}/doc ${DOCDIR}/doc/technical

OWN_DIRS_PERMS+=	${VARBASE}/log/ircd-hybrid \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0770
OWN_DIRS_PERMS+=	${VARBASE}/log/ircd-hybrid/lib \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0770
OWN_DIRS_PERMS+=	${VARBASE}/log/ircd-hybrid/logs \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0770

FILES_SUBST+=		IRCD_HYBRID_IRC_USER=${IRCD_HYBRID_IRC_USER}
FILES_SUBST+=		IRCD_HYBRID_IRC_GROUP=${IRCD_HYBRID_IRC_GROUP}
FILES_SUBST+=		VARBASE=${VARBASE}

PKG_GROUPS=		${IRCD_HYBRID_IRC_GROUP}
PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}

PKG_USERS_VARS+=	IRCD_HYBRID_IRC_USER
PKG_GROUPS_VARS+=	IRCD_HYBRID_IRC_GROUP

SUBST_CLASSES+=		mpaths
SUBST_MESSAGE.mpaths=	Fixing hardcoded paths in ircd(8)
SUBST_STAGE.mpaths=	pre-configure
SUBST_FILES.mpaths=	doc/ircd.8
SUBST_SED.mpaths+=	-e "s|/usr/share/ircd|${PKG_SYSCONFDIR}|g"
SUBST_SED.mpaths+=	-e "s|/var/log|${VARBASE}/log/ircd-hybrid|g"

SUBST_CLASSES+=		rpaths
SUBST_MESSAGE.rpaths=	Adjusting paths in reference.ircd.conf
SUBST_STAGE.rpaths=	pre-configure
SUBST_FILES.rpaths=	doc/reference.ircd.conf
SUBST_SED.rpaths+=	-e "s|var/log|${VARBASE}/log/ircd-hybrid/logs|g"
SUBST_SED.rpaths+=	-e "s|var/lib|${VARBASE}/log/ircd-hybrid/lib|g"

SUBST_CLASSES+=		bpaths
SUBST_MESSAGE.bpaths=	Fixing hardcoded build paths.
SUBST_STAGE.bpaths=	post-configure
SUBST_FILES.bpaths=	src/defaults.h
SUBST_SED.bpaths+=	-e "s|LOGPATH \"/ircd.log\"|\"${VARBASE}/log/ircd-hybrid/ircd.log\"|g"
SUBST_SED.bpaths+=	-e "s|RUNPATH \"/ircd.pid\"|\"${VARBASE}/run/ircd-hybrid/ircd.pid\"|g"

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}/log/ircd-hybrid

# Macs lacked clock_gettime way past its implement-by date.
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101200
LDFLAGS+=	-lMacportsLegacySupport
.  include "../../devel/macports-legacy-support/buildlink3.mk"
.endif

.include "options.mk"

post-install:
	${INSTALL_DATA} ${WRKSRC}/INSTALL.md ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/tools/README.mkpasswd \
		${DESTDIR}${PREFIX}/${DOCDIR}/README.ircd-hybrid-mkpasswd

	${INSTALL_DATA} ${WRKSRC}/doc/*.conf ${DESTDIR}${PREFIX}/${DOCDIR}/doc
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}/doc
	${INSTALL_DATA} ${WRKSRC}/doc/technical/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}/doc/technical

	${MV} ${DESTDIR}${PREFIX}/bin/mkpasswd \
		${DESTDIR}${PREFIX}/bin/ircd-hybrid-mkpasswd

.include "../../textproc/jansson/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.103
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.102 2026/01/07 08:45:59 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.102
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.101 2025/12/31 08:58:19 wiz Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.101
log
@ircd-hybrid: update HOMEPAGE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.100 2025/05/03 08:21:46 fox Exp $
d4 1
@


1.100
log
@irc/ircd-hybrid: Update to 8.2.47

Add libjansson as dependency.

Changes since 8.2.46:

-- Noteworthy changes in version 8.2.47 (2025-04-04)
* The `general::max_away_length` configuration directive has been added, allowing
  servers to specify the maximum length of a `AWAY` message that the server will
  accept from a client.
* The `general::disable_dns` configuration directive has been added, allowing
  servers to disable DNS lookups
* K-lines, D-lines, X-lines, and RESVs are no longer stored in binary database format.
  These entries are now stored in JSON format using libjansson.
* The `general::ident_timeout` configuration directive has been added, allowing
  servers to specify how long to wait for Ident replies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2025/04/17 21:49:53 wiz Exp $
d9 1
a9 1
HOMEPAGE=	http://www.ircd-hybrid.com/
@


1.99
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2025/01/23 11:22:24 fox Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.46
PKGREVISION=	1
d93 1
@


1.98
log
@chat/ircd-hybrid: Update to 8.2.46

Changes since 8.2.45:

-- Noteworthy changes in version 8.2.46 (2025-01-22)
* The user mode subsystem now supports dynamic registration and unregistration of user
  modes. This allows modules to register and unregister their own user modes, making the
  system more flexible and modular.
* The `INFO` command output now includes namespaces, organizing configuration entries
  according to their respective configuration blocks for better clarity and structure
* The `INFO` command output now shows entries from the admin {} config block
* The `WALLOPS` command has been removed
* The `serverinfo::motd_file` configuration directive has been added, allowing the
  Message of the Day (MOTD) file path to be customized instead of hardcoded
* The `channel::max_kick_length` configuration directive has been added, allowing
  servers to specify the maximum length of a `KICK` message that the server will
  accept from a client.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2024/11/14 22:18:50 wiz Exp $
d4 1
@


1.97
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.96 2024/11/01 12:51:35 wiz Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.45
PKGREVISION=	3
@


1.96
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2024/11/01 00:50:49 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.95
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.94 2024/07/04 21:59:11 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.94
log
@chat/ircd-hybrid: Update to 8.2.45

Changes since 8.2.44:

-- Noteworthy changes in version 8.2.45 (2024-07-02)
* The module API has been rewritten for improved flexibility. A modules.conf
  file is now required for configuring and loading modules. For further
  information, refer to the doc/reference.modules.conf.
* The `INFO` subsystem has been updated to support dynamic registration and
  unregistration of info entries. This allows modules to register and unregister
  their own info entries, which are shown in the `INFO` output.
* Added support for a flattened `MAP` output when `serverhide::flatten_links`
  is enabled. This allows users to view a simplified network topology where
  all servers appear as if they are directly connected to the local server.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2024/06/29 01:10:14 fox Exp $
d4 1
@


1.93
log
@chat/ircd-hybrid: Update to 8.2.44

Changes since 8.2.43:

-- Noteworthy changes in version 8.2.44 (2024-06-15)
* Fixed FTCBFS issue caused by ./configure using macros that lacked special
  handling for cross-compilation scenarios
* Fixed the issue where XLINE and UNXLINE were not working properly on
  servers within a cluster
* Command-line options now support both short (`-c`) and long
  (`--configfile`) formats.
  The available options are:
  * `-c` or `--configfile` for the configuration file
  * `-k` or `--klinefile` for the kline database file
  * `-d` or `--dlinefile` for the dline database file
  * `-x` or `--xlinefile` for the xline database file
  * `-r` or `--resvfile` for the resv database file
  * `-l` or `--logfile` for the log file
  * `-p` or `--pidfile` for the PID file
  * `-f` or `--foreground` to run in the foreground
  * `-v` or `--version` to print the version and exit
  * `-h` or `--help` to display help information
* The new IRC operator flag, `message:mass`, has been implemented. This flag
  controls access to sending mass messages using the `NOTICE $$*.mask` command.
* Upon connecting, a user will now receive a notice with their client
  certificate fingerprint, if provided.
* The `INFO` command now includes the `serverinfo::name`, `serverinfo::sid`,
  and`serverinfo::description` configuration options in its output.
* The `STATS` subsystem has been rewritten to support dynamic registration
  and unregistration of stats handlers. This allows modules to register and unregister
  their own stats handlers.
* Implemented hostname cloaking API to improve user privacy and security by
  obfuscating real IP addresses. The cloaking process uses CIDR masking,
  SHA3 hashing, and base32 encoding to generate secure and unique cloaked
  hostnames. The following configuration directives have been introduced:
  * `cloak_enabled`: Enable or disable hostname cloaking.
  * `cloak_cidr_len_ipv4`: CIDR length for IPv4 addresses used in hostname cloaking.
  * `cloak_cidr_len_ipv6`: CIDR length for IPv6 addresses used in hostname cloaking.
  * `cloak_num_bits`: Number of bits for the MAC computation used in hostname cloaking.
  * `cloak_secret`: Secret key used in the MAC computation for hostname cloaking.
  * `cloak_suffix`: Suffix appended to the cloaked hostname.
* Added user mode `+x` (cloak) to activate hostname cloaking for the user,
  replacing their real IP address with a cloaked hostname.
* The `INFO` command now includes the new cloaking configuration options in
  its output. The following cloaking-related configuration directives will be shown:
  * `general::cloak_enabled`
  * `general::cloak_cidr_len_ipv4`
  * `general::cloak_cidr_len_ipv6`
  * `general::cloak_num_bits`
  * `general::cloak_secret` (displayed as `<REDACTED>` for security)
  * `general::cloak_suffix`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.92 2024/05/29 16:31:30 adam Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.44
d56 1
a56 1
SUBST_MESSAGE.rpaths=	Adjusting paths in reference.conf
d58 1
a58 1
SUBST_FILES.rpaths=	doc/reference.conf
@


1.92
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.91 2024/05/16 06:14:37 wiz Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.43
PKGREVISION=	6
d65 1
a65 1
SUBST_FILES.bpaths=	include/defaults.h
@


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

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2024/03/16 11:19:33 nia Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.90
log
@ircd-hybrid: Fix building on versions of Mac OS X before 10.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.89 2023/11/08 13:18:15 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.89
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.88 2023/10/24 22:08:20 wiz Exp $
d73 6
@


1.88
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2023/04/19 08:09:15 adam Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.87
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.86 2022/10/26 10:31:15 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.86
log
@*: bump PKGREVISION for libunistring shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2022/10/01 11:59:40 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.85
log
@chat/ircd-hybrid: Update to 8.2.43

Changes since 8.2.42:

-- Noteworthy changes in version 8.2.43 (2022-09-26)
  * Due to ongoing protocol modernizations and deprecation of old backwards
    compatibility code, ircd-hybrid is now no longer link compatible to
    8.2.33 and below. As for the Anope IRC Services, 2.0.8 is the minimum
    supported version now.
  * Implemented channel mode `V`. `INVITE` cannot be used on channels with
    that mode set.
  * `WHOIS` on clients connected via TLS now also shows some details about
    the TLS version and cipher being used
  * Removed user mode `d` (debugging notices)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2022/09/04 08:25:09 fox Exp $
d4 1
@


1.84
log
@chat/ircd-hybrid: Update to 8.2.42

Changes since 8.2.41:

-- Noteworthy changes in version 8.2.42 (2022-08-28)
  * Added support for reproducible builds using the `SOURCE_DATE_EPOCH` environment
    variable. See https://reproducible-builds.org/docs/source-date-epoch/ for more
    information.
  * Extban `$Q` of type acting has been implemented. This extban prevents
    matching users from using the `KICK` command.
  * Implemented channel mode `Q`. `KICK` cannot be used on channels with that mode set.
  * Implemented user mode `Z`. Users with that mode set may only receive private
    messages from other users that are connected via TLS.
  * Fixed issue where `WHO nick` on invisible clients (user mode i`) wouldn't work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.83 2022/08/08 08:17:18 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.42
a73 3
post-extract:
	${MV} ${WRKDIR}/${PKGBASE} ${WRKDIR}/${DISTNAME}

@


1.83
log
@chat/ircd-hybrid: Update to 8.2.41

Changes since 8.2.40:

-- Noteworthy changes in version 8.2.41 (2022-07-15)
  * Fixed issue where WHO didn't work on channel names with two or more
    consequent asterisk characters
  * IRCv3 WHOX has been implemented. See doc/who.txt for more information
    about the new WHO options and features.
  * Clients that are connected via TLS are now flagged with the letter S in
    the who reply
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2022/07/05 10:45:29 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.41
d74 3
@


1.82
log
@chat/ircd-hybrid: Updates to 8.2.40

Changes since 8.2.39:

-- Noteworthy changes in version 8.2.40 (2022-07-02)
* 'channel::disable_fake_channels' now also blocks strikethrough text (0x1E (30))
* 'KNOCK' can now be used on private channels. Channel mode 'K' may be used instead
  to control whether or not 'KNOCK' is allowed on a channel.
* Support for '/dev/poll' has been dropped
* 'INFO' now also reports configured values of 'channel::default_join_flood_count'
  and 'channel::default_join_flood_time'
* The founder 'q' and admin 'a' channel prefix modes have been implemented.
  These are optional and can be enabled with the new 'channel::enable_owner'
  and 'channel::enable_admin' configuration directives.
* Channel half-ops may now kick other half-ops
* Extban '$K' of type acting has been implemented. This extban prevents
  matching users from using the 'KNOCK' command.
* Server-side channel mode locking 'MLOCK' has been implemented
* Fixed server name leak in 'WHOWAS' with 'serverhide::hide_services' enabled
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.81 2021/12/08 16:03:28 adam Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.40
@


1.81
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.80 2021/09/29 19:00:22 adam Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.39
PKGREVISION=	3
d75 2
a76 2
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
@


1.80
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2021/08/29 18:38:53 khorben Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.79
log
@ircd-hybrid: let the RC script work unprivileged

This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.

Bumps PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2021/08/16 19:22:51 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.78
log
@chat/ircd-hybrid: Updates to 8.2.39

Changes since 8.2.38:

-- Noteworthy changes in version 8.2.39 (2021-08-14)
* `hidechans` and `hideidle` may now be set in `general::oper_only_umodes`
* OpenSSL 3.0 compatibility improvements
* Fixed crashing issue in the mkpasswd tool with older glibc
* Fixed issue where the ircd wouldn't listen on both IPv4 and IPv6 ports in
  case only a port but no address has been specified in a listen {} block
* Fixed a `STATS P` displaying issue with compressed ipv6 loopback/inaddr_any
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2021/04/21 13:24:25 adam Exp $
d4 1
@


1.77
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2021/01/18 09:45:53 fox Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.38
PKGREVISION=	1
@


1.76
log
@chat/ircd-hybrid: Updates to 8.2.38

Changes since 8.2.37:

-- Noteworthy changes in version 8.2.38 (2021-01-17)
* Backwards compatibility mode for ircd-hybrid 8.2.22 and below has been removed
* Minimum supported version of the Anope IRC services is now 2.0.8
* Fixed displaying issue with channel MODE messages
* Characters valid for user names for local clients are now [A-Za-z0-9._-]. 'Special'
  characters like }|{'^]\[$, that were allowed previously, are no longer valid.
  Also user names may not begin with '.', '_', or '-'.
* The 'general::dots_in_ident' configuration directive has been renamed to
  'general::specials_in_ident' and now covers the '-' and '_' characters in
  addition to '.'
* Fixed issue with clients connected from IPv6 localhost that, depending on the
  system's getaddrinfo() implementation, could lead to a crash of remote servers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2021/01/16 19:22:08 fox Exp $
d4 1
@


1.75
log
@chat/ircd-hybrid: Updates to 8.2.37

Changes since 8.2.36:

-- Noteworthy changes in version 8.2.37 (2020-12-26)
* Implemented IRCv3 'CAP 302'
* Implemented IRCv3 'cap-notify' capability
* In case a client sends multiple 'PASS' messages, ircd only accepts the password
  sent in the first 'PASS' message instead of the last one
* Missing help file for 'MONITOR' has been added
* Fixed slightly off memory count for motds in 'STATS z'
* For a full list of all changes in this release, see <https://git.io/JLMnk>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2020/12/08 14:44:05 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.37
@


1.74
log
@chat/ircd-hybrid: Updates to 8.2.36

Changes since 8.2.35:

-- Noteworthy changes in version 8.2.36 (2020-12-04)
* The old WATCH implementation has been replaced with IRCv3.2 MONITOR. For this,
  the `general::max_watch` configuration directive has been renamed to
  `general::max_monitor`.
* User mode `B` has been implemented. Clients with that mode set are marked as a
  bot in both `WHOIS` and `WHO`. This mode can only be set by IRC operators (as
  long as the `bot` directive is set in `general::oper_only_umodes`), servers,
  and services.
  This mode can for example be used to mark HOPM as official network bot.
* For a full list of all changes in this release, see <https://git.io/JI3fG>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2020/11/15 14:26:24 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.36
@


1.73
log
@chat/ircd-hybrid: Updates to 8.2.35

Changes since 8.2.34:

-- Noteworthy changes in version 8.2.35 (2020-11-14)
* Fixed issue where servers could propagate truncated ban masks during net-join
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2020/11/08 13:54:04 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.35
@


1.72
log
@chat/ircd-hybrid: Updates to 8.2.34

Changes since 8.2.33:

-- Noteworthy changes in version 8.2.34 (2020-11-01)
* Re-implement backwards compatibility mode for old ircd-hybrid 8.2.23 and below.
  Final removal is scheduled for early 2021.
* For consistency, the `general::network_desc` configuration directive has been
  renamed to `general::network_description`
* Server notices that previously have been sent to user modes +f and +u are now
  sent to user mode +j (reject notices) instead. Due to this change, `unauth` and
  `full` have been removed from eneral::oper_only_umodes`, `general::oper_umodes`,
  and `operator::umodes`.
* User mode +b has been replaced with +f (flood). Spam/flood notices are now sent
  to this user mode. For this, `bots` has been removed from
  `general::oper_only_umodes`, `general::oper_umodes`, and `operator::umodes`.
  `flood` has been added instead to these configuration directives.
* Stricten server/user ID validation. IDs have to be all uppercase everywhere now.
* For a full list of all changes in this release, see <https://git.io/JT7UH>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2020/09/09 13:26:49 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.34
@


1.71
log
@chat/ircd-hybrid: Updates to 8.2.33

Changes since 8.2.32:

-- Noteworthy changes in version 8.2.33 (2020-09-07)
o) Added 'client' option to listener::flags
o) Added 'defer' option to listener::flags
o) IRC operators may now use CIDR notation in "WHO"
o) For a full list of all changes in this release, see https://git.io/JUZKO
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2020/08/19 15:26:52 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.33
@


1.70
log
@chat/ircd-hybrid: Updates to 8.2.32

Changes since 8.2.31:

-- Noteworthy changes in version 8.2.32 (2020-08-16)
o) RESV couldn't be issued in case no reason has been supplied. This has been fixed.
o) Fixed possible RPL_WHOISCHANNELS line truncation of remote replies
o) Extban $t of type 'matching' has been implemented. This extban allows matching
   based on TLS protocol version and/or cipher suite
o) Implemented channel mode 'K'. KNOCK cannot be used on channels with that mode set
o) "STATS ?" is now oper-only
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2020/07/13 13:12:08 kim Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.32
@


1.69
log
@Fix day-of-month format so that strftime(3) will recognize it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2020/05/22 10:55:58 adam Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.31
PKGREVISION=	2
@


1.68
log
@revbump after updating security/nettle
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2020/05/04 11:40:10 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.67
log
@chat/ircd-hybrid: Updates to 8.2.31

Changes since 8.2.30:

-- Noteworthy changes in version 8.2.31 (2020-05-03)
o) macOS compatibility fixes
o) Removed 'spoof_notice' from auth::flags. With vhosts now this notice doesn't make
   much sense anymore
o) Fixed issue where ban masks might become malformed if set by remote clients/servers
o) Fixed issue with channel mode +c where high ascii characters can be erroneously
   detected as control characters
o) For a full list of all changes in this release, see https://git.io/JfsmV
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2020/03/14 02:52:35 fox Exp $
d4 1
@


1.66
log
@chat/ircd-hybrid: Updates to 8.2.30

Changes since 8.2.29:

-- Noteworthy changes in version 8.2.30 (2020-03-01)
o) "QUOTE HELP extban" didn't work because the extban help file hasn't been
   installed properly during 'make install'
o) Fixed broken libcrypto detection which caused the ircd not to work with
   openssl under certain circumstances
o) Extban $n of type 'acting' has been implemented. This extban prevents
   matching users from changing their nick while in the channel. Users
   with voice or above are not affected.
o) Channel mode +N has been changed so channel members with +v can change
   their nick name as well
o) For a full list of all changes in this release, see https://git.io/JvgAq
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2020/03/08 16:48:56 wiz Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.30
@


1.65
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2020/02/20 06:55:42 fox Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.29
PKGREVISION=	1
@


1.64
log
@chat/ircd-hybrid: Updates to 8.2.29

Changes since 8.2.28:

-- Noteworthy changes in version 8.2.29 (2020-02-19)
o) Extbans have been implemented. Currently supported extbans:

   Matching:

   $a:<account>   Matches users logged into a matching account.
   $c:<channel>   Matches users that are on the given channel. An additional
                  prefix of either @@, %, or + can be specified to test for
                  certain channel privileges.
   $o:<class>     Matches IRC operators that have joined a class
                  matching the mask.
   $r:<realname>  Matches users with a matching realname.
   $s:<server>    Matches users that are connected to a server matching the mask.
   $u:<modes>     Matches users having the specified user modes set or not set.
   $z:<certfp>    Matches users having the given TLS certificate fingerprint.

   Acting:

   $j:<banmask>   Prevents matching users from joining the channel.
   $m:<banmask>   Blocks messages from matching users. Users with voice
                  or above are not affected.

   For more details, see help/extban.
o) Added 'channel::enable_extbans' configuration option. See doc/reference.conf
   for more information.
o) For a full list of all changes in this release, see https://git.io/JvBca
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2020/01/27 22:41:42 fox Exp $
d4 1
@


1.63
log
@chat/ircd-hybrid: Updates to 8.2.28

Changes since 8.2.27:

-- Noteworthy changes in version 8.2.28 (2020-01-26)
o) Fixed issue with topics set by TBURST not being propagated properly to clients
o) Allow IRC operators to search for real hosts in "WHO"
o) Ban/exempt/invex masks are now also tested against realhosts to prevent clients
   from bypassing channel bans by activating a fakehost
o) For a full list of all changes in this release, see https://git.io/JvqpT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2020/01/23 09:11:21 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.28
@


1.62
log
@chat/ircd-hybrid: Updates to 8.2.27

Changes since 8.2.26:

-- Noteworthy changes in version 8.2.27 (2020-01-22)
o) Experimental support for wolfSSL has been implemented. Minimum supported version is 4.3.0
o) The --enable-openssl, --enable-gnutls switches, and their disabling counterparts
   --disable-openssl and --disable-gnutls, have been replaced with the --with-tls switch
   which takes one of the following options: 'openssl', 'wolfssl', 'gnutls', and 'none'.
   If nothing has been specified, configure tries to autodetect in the following order:
   openssl/libressl -> gnutls -> wolfssl.
o) Fixed segfault with GnuTLS/libgmp in case there's no DH parameters file
   defined in 'serverinfo::ssl_dh_param_file' or if that file is missing
o) The connection timeout for connect{} blocks can now be configured via
   the 'connect::timeout' configuration directive
o) Minimum supported OpenSSL version is 1.1.1 now
o) Minimum supported GnuTLS version is 3.6.5 now
o) Supported TLSv1.3 cipher suites can now be configured explicitely via the
   new 'serverinfo::tls_cipher_suites' configuration directive
o) In the serverinfo {} block, the following configuration directives have been renamed:
     ssl_certificate_file -> tls_certificate_file
     ssl_dh_param_file -> tls_dh_param_file
     ssl_dh_elliptic_curve -> tls_supported_groups
     ssl_cipher_list -> tls_cipher_list
     ssl_message_digest_algorithm -> tls_message_digest_algorithm
o) In the operator {} block, the following configuration directives have been renamed:
     ssl_certificate_fingerprint -> tls_certificate_fingerprint
     ssl_connection_required -> tls_connection_required
o) In the connect {} block, the following configuration directives have been renamed:
     ssl_cipher_list -> tls_cipher_list
     ssl_certificate_fingerprint -> tls_certificate_fingerprint
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2020/01/18 21:48:50 jperkin Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.27
@


1.61
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2019/09/09 10:03:51 nia Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-8.2.26
PKGREVISION=	1
@


1.60
log
@ircd-hybrid: Add networking libs on SunOS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2019/08/23 15:18:15 fox Exp $
d4 1
@


1.59
log
@ircd-hybrid: Adds missing USE_LIBTOOL.

Noticed via pkglint(1).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2019/06/03 12:19:18 fox Exp $
d20 2
@


1.58
log
@ircd-hybrid: Update to 8.2.26

Changes since 8.2.25:

-- Noteworthy changes in version 8.2.26 (2019-05-31)
o) The 'general::tkline_expire_notices' configuration directive has been
   replaced with user mode 'X'. *LINE expiration notices are sent to IRC
   operators with that mode set
o) Fixed issue with '/rehash conf' creating duplicated class entries
   instead of updating existing ones that are already in use
o) For a full list of all changes in this release, see https://git.io/fj0bx
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2019/05/18 20:34:56 fox Exp $
d15 2
@


1.57
log
@ircd-hybrid: Update to 8.2.25

Changes since 8.2.24:

-- Noteworthy changes in version 8.2.25 (2019-04-24)
o) The 'class::number_per_ip', 'class::max_local' and 'class::max_global'
   configuration directives have been replaced with just 'class::number_per_ip_local'
   and 'class::number_per_ip_global'. The 'class::max_local' basically was
   redundant as it had the same functionality as 'class::number_per_ip'
o) Adding RESVs with wildcards no longer requires administrator privileges
o) The 'general::ignore_bogus_ts' configuration option has been deprecated
o) TLSv1.1 and TLSv1.0 are no longer supported and have been disabled in
   the openssl and gnutls module
o) Minimum supported OpenSSL version is 1.0.1f now
o) Minimum supported GnuTLS version is 3.5.8 now
o) The 'serverinfo::vhost' and 'serverinfo:vhost6' configuration directives have
   been deprecated. If you need to bind() a specific address you can specify one
   in the connect {} block
o) The 'connect::vhost' configuration directive has been renamed to 'connect::bind'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2019/02/08 13:09:35 fox Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.25
@


1.56
log
@ircd-hybrid: Update to 8.2.24

pkgsrc changes:
- No longer install a default ircd.conf file.  Upstream now only
  provides a reference ircd.conf file that needs to be adjusted.
  Document that in the MESSAGE.
- Remove INSTALL script.  All *.conf are no longer used, corresponding
  *.db living in ${VARBASE}/log/ircd-hybrid/lib are used instead
  ircd.motd is still honored and used but there is not a lot of point to
  continue to install it unconditionally without a configuration file.
- Remove `efnet', `halfops', `small-net' and `ziplinks' package options,
  corresponding configure arguments no longer available.
- No longer honor IRCD_HYBRID_SYSLOG_FACILITY, IRCD_HYBRID_NICLEN,
  IRCD_HYBRID_TOPICLEN, IRCD_HYBRID_MAXCONN and IRCD_HYBRID_SYSLOG_EVENTS,
  (syslog is no longer used and corresponding entry to set *LEN
  and *MAXCONN are now configurable via ircd.conf)
- Add LICENSE

Thanks to <spz> for suggestions!
Reviewed by <leot>.

Changes since 7.2.3:
-- Noteworthy changes in version 8.2.24 (2018-04-05)
o) Added "STATS s" to show configured pseudo {} blocks
o) Implemented channel mode 'N' which prevents users from changing their
   nick while in a channel with that mode set
o) Services clients are now shown with 'is a Network Service' in "WHOIS"

-- Noteworthy changes in version 8.2.23 (2018-03-26)
o) irc-operators are now able to see a user's resolved hostname in /whowas,
   and /whois even if the user has a fakehost/vhost
o) RPL_WELCOME now does use the rfc2812 style nick!user@@host format
o) Removed rudimentary libgeoip support
o) Added --enable-efence switch to allow easy linking with the
   electric fence memory debugger library
o) "JOIN 0" is no longer supported
o) Fixed bug where ircd would not remove RPL_WHOISOPERATOR based svstags
   when deoppering
o) Fixed 'unknown closes' statistic in "STATS t" showing invalid values sometimes

-- Noteworthy changes in version 8.2.22 (2017-03-26)
o) Implemented channel mode 'L'. Channels with that mode set can make use of an
   extended ban list size specified with the new 'channel::max_bans_large'
   configuraton option. This mode can be set only by irc-operators or servers.
o) Implemented channel mode 'u' which hides bmask (+b/+e/+I) lists and mode changes
   to non-chanops everywhere
o) Fixed an issue with "TRACE" where remote servers would reply with RPL_TRACEUSER
   numerics containing UIDs
o) "STATS z" now shows simple memory stats of servers linked to the network
o) Added support for remote "ETRACE"

-- Noteworthy changes in version 8.2.21 (2016-11-27)
o) The 'general::default_floodtime' configuration option has been added
   along with the "SET FLOODTIME" command. These allow to fine-tune the
   message throttling better
o) Fixed an issue with /invite not showing the list of channels the
   sender is invited to

-- Noteworthy changes in version 8.2.20 (2016-11-05)
o) "INFO" now shows GnuTLS/OpenSSL library/header versions
o) Added 'channel::max_invites' configuration option. See doc/reference.conf
   for more information.
o) INVITE expirations have been implemented. Expire time can be adjusted with
   the 'channel::invite_expire_time' configuration directive
o) /whois notices to operators have been re-added. User mode +y is required
   to see them
o) The maximum line length for motd files has been increased to 320 bytes
   to support multibyte encodings better

-- Noteworthy changes in version 8.2.19 (2016-08-21)
o) Fixed a possible server name leak in "WHO" with server hiding enabled
o) "WHO" now allows opers to search by IP address
o) Admins no longer can see IP addresses in "STATS P" with
   'serverhide::hide_server_ips' enabled
o) User mode 'n' now shows nick name changes from remote clients, too

-- Noteworthy changes in version 8.2.18 (2016-06-22)
o) Fixed an assert when a client sends invalid LIST options
o) Fixed invalid memory stats of channel invites in "STATS z"

-- Noteworthy changes in version 8.2.17 (2016-04-21)
o) Fixed core on "REHASH CONF" with 'general::whowas_history_length'
   set to 0
o) Fixed possible core on "INVITE" with 'channel::max_channels' set to 0

-- Noteworthy changes in version 8.2.16 (2016-03-20)
o) Added 'general::whowas_history_length' configuration option which
   allows to define the maximum length of the WHOWAS nickname history
o) Services are now allowed to override 'general::min_nonwildcard',
   and 'general::min_nonwildcard_simple' settings
o) Minor updates to help files

-- Noteworthy changes in version 8.2.15 (2016-02-24)
o) Added proper support for Raspbian/ARM. Gracias to Beave/2600.net
   for providing a box for testing purposes.
o) Fixed an assert with empty user = "" directives in auth {} blocks
o) "STATS z" now shows allocated listeners
o) Fixed bug where 'can_flood' auth {} flags did not work on channels

-- Noteworthy changes in version 8.2.14 (2016-02-09)
o) Fixed server clustering
o) Major cleanups to the configuration subsystem
o) Improvements to libGeoIP support:
   - Works now with IPv6 addresses
   - Added 'libgeoip_database_options', 'libgeoip_ipv4_database_file',
     and 'libgeoip_ipv6_database_file' configuration directives to the
     serverinfo {} block
o) Further improvements to GnuTLS support

-- Noteworthy changes in version 8.2.13 (2016-02-02)
o) Implemented support for GnuTLS. Currently ./configure's autodetection
   intentionally prefers OpenSSL over GnuTLS, so OpenSSL detection needs
   to be disabled explicitely by using the --disable-openssl switch.
o) Minimum supported GnuTLS version is 3.3.8 now
o) Minimum supported OpenSSL version is 1.0.1d now
o) Added support for remote REHASH: REHASH <server> <option>
o) Added 'rehash:remote' irc-operator privilege flag
o) Added 'rehash' type to shared {} blocks
o) Fixed minor memory leak with shared {} and cluster {} blocks

-- Noteworthy changes in version 8.2.12 (2016-01-05)
#######################################################################
o) IMPORTANT: Character case mapping is 'ascii' now. It is recommended
   to update all servers on the network to prevent possible channel
   desynchronizations and nick name collision kills
#######################################################################
o) Added channel mode +T which forbids NOTICEs to be sent to a channel
o) Fixed minor SVSTAG memory leak
o) Fixed broken PART message blocking mechanism
o) ircd now makes use of up to 8 name servers that are specified in
   /etc/resolv.conf
o) The -klinefile, -dlinefile, etc. switches didn't work at all
o) Fixed possible core on ident lookups if ircd is out of file descriptors
o) Far client exit notices (+F) now show IP addresses, too
o) Made idle time look nicer in "STATS v|p" by using a formatted time string
o) 'general::ts_warn_delta', and 'general::ts_max_delta' can be set to 0 now
o) Several code cleanups and optimizations. Improved documentation

-- Noteworthy changes in version 8.2.11 (2015-11-19)
o) Implemented IRCv3.2 invite-notify extension
o) Implemented IRCv3.2 chghost extension
o) Added channel::invite_delay_channel configuration option

-- Noteworthy changes in version 8.2.10 (2015-11-06)
#######################################################################
o) IMPORTANT: renamed 'serverhide::links_delay' configuration directive
   to 'serverhide::flatten_links_delay'
#######################################################################
o) Added 'serverhide::flatten_links_file' configuration option
o) Fixed bug where changing 'serverhide::flatten_links_delay' on runtime
   would not have any effect
o) mkpasswd (tools): fixed broken bcrypt support on *BSD in conjunction
   with the -s and -l switches. Dropped MD5, DES and Extended DES support.
o) Removed CHALLENGE in favor of ssl certificate fingerprint enabled
   operator {} blocks
o) RSA keys with less than 2048 bits are no longer supported; same applies
   to the DH param file
o) Added missing irc-operator privilege flags to /stats o. For a full list
   of flags see doc/reference.conf

-- Noteworthy changes in version 8.2.9 (2015-09-13)
########################################################################
o) IMPORTANT: database files and links.txt are now stored in /var/lib
   instead of /etc, so make sure to move your k/d/x-line database files
   to the new path before (re)starting the ircd
########################################################################
o) IMPORTANT: the splitmode logic has been removed along with the
   following channel {} block configuration directives:
   'default_split_user_count', 'default_split_server_count',
   'no_create_on_split', 'no_join_on_split'
########################################################################
o) Added 'xline_exempt' to auth {} block flags
o) 'serverinfo::sid' is now optional. A unique SID is now automatically
   generated based on the server's name and description
o) Various fixes to the mkpasswd tool
o) If supported by the compiler, ircd-hybrid now compiles with
   '-fstack-protector-strong' instead of '-fstack-protector'
o) Services can now add RESVs (SQLINEs) that have wildcards in it
o) Channel name RESVs are now sanity checked for too broad masks
o) 'class::connectfreq' now works properly with values lower than 300 seconds
o) Implemented IRCv3.1 account-notify extension
o) The 'general::oper_pass_resv' configuration directive has been deprecated
   in favor of the new 'join:resv', and 'nick:resv' irc-operator flags.
   See doc/reference.conf for more information.
o) Added 'resv', and 'unresv' irc-operator flags. Previously, all
   irc-operators were allowed to RESV and UNRESV, regardless of configured
   privileges.
o) Added 'close' to irc-operator flags
o) ircd is using ISO 8601 date and time notation in most places now

-- Noteworthy changes in version 8.2.8 (2015-05-10)
o) ircd now rejects remote k-line requests for user@@host mask that don't
   have at least 'general::min_nonwildcard' non-wildcard characters in it
o) Configuration related server notices are now sent to admins only as
   they potentially could leak passwords and other sensitive data to irc
   operators that don't have administrator privileges
o) The GLINE/GUNGLINE commands have been removed. KLINE in conjunction
   with cluster {} and/or shared {} blocks is now the recommended
   way to add global user@@host mask based server bans
o) Added dline_min_cidr, dline_min_cidr6, kline_min_cidr, and kline_min_cidr6
   configuration options to the general {} block
o) Fixed bug where a REHASH would clear all X-Lines and RESVs that have
   been set with the XLINE/RESV commands
o) Fixed broken temporary remote XLINEs
o) The 'general::havent_read_conf' configuration directive has been removed
o) Various code cleanups

-- Noteworthy changes in version 8.2.7 (2015-04-05)
o) Fixed a potential buffer overflow with the BMASK inter-server command
o) Fixed undefined behavior in the HELP command module which could
   lead to stack corruption
o) Removed useless help files for inter-server commands

-- Noteworthy changes in version 8.2.6 (2015-03-29)
o) INFO now shows configured values of 'max_watch' and 'stats_m_oper_only'
o) WHOWAS now shows IP addresses to irc operators
o) Fixed bug that would allow remote clients to bypass the hard
   limit of max WHOWAS entries to be returned
o) Code cleanups and performance improvements

-- Noteworthy changes in version 8.2.5 (2015-02-24)
o) Fixed core on Mac OSX 10.10 and possibly some other systems when parsing
   the ircd.conf with configured pseudo {} blocks

-- Noteworthy changes in version 8.2.4 (2015-02-17)
o) Added SVSTAG command which services may use to add tags to users which can
   be seen in /whois
o) Added 'oper::whois' configuration option which allows to override the default
   RPL_WHOISOPERATOR numeric string shown in /whois.
o) IRC operators may now use +O on a channel even if they are only a half-op
o) Fixed bug where TOPIC messages were not n!u@@h prefixed in case of TBURST
   issued by services clients

-- Noteworthy changes in version 8.2.3 (2015-02-11)
########################################################################
o) IMPORTANT: the following ircd.conf configuration directives have been renamed:

   max_clients -> default_max_clients
   join_flood_count -> default_join_flood_count
   join_flood_time -> default_join_flood_time
########################################################################
o) Fixed bug where "/rehash" would always reset the "MAX", "JFLOODTIME", and
   "JFLOODCOUNT" values that have been changed from within IRC via the "/set"
   command
o) Added channel mode +C which prevents users from sending CTCPs to a channel
o) Fixes to the NOTICE/PRIVMSG anti-flood logic
o) Allow to disable the NOTICE/PRIVMSG anti-flood mechanism by setting the
   'general::default_floodcount' configuration option to 0
o) Updated some help files
o) Minor code cleanups and improvements
o) Operators may now see certificate fingerprints, user modes and hidden
   channels via WHOIS as well. This used to be admin only.

-- Noteworthy changes in version 8.2.2 (2015-01-20)
o) Implemented IRCv3.1 extended-join extension
o) Channel half-ops can now use INVITE as well
o) Fixed broken 'make install -jX'
o) m_opme.c has been added to modules/extra. Can be used on opless channels only.
o) Added 'opme' to irc-operator flags
o) Updated several help files
o) The 'general::hide_spoof_ips' configuration option has been deprecated
o) The 'general::true_no_oper_flood' configuration option has been deprecated.
   Operators still can have higher 'flood' limits with no_oper_flood = yes;
   hoewever, they are no longer allowed to bypass RecvQ limits.
o) Added 'general::stats_m_oper_only' configuration option
o) Remote client connection notices (user mode +F) now do show IP addresses, too

-- Noteworthy changes in version 8.2.1 (2014-10-21)
o) Fixed bug where "UNDLINE remote.server IP" did not work as expected
o) Servers are now allowed to add/remove K-/D-/X-lines and RESVs
o) Usermode +G now no longer allows to override +g
o) Due to potential weakness, TLS session caching and session tickets
   have been disabled
o) Minor improvements to TS6 implementation
o) WHOWAS now shows the name of the services account a user was logged in

-- Noteworthy changes in version 8.2.0 (2014-08-24)
o) Successful operator logins are now announced globally via GLOBOPS
o) Cleanups and improvements to the resolver code
o) Cleanups and improvements to the poll() I/O event notification support
o) A topic mask can now be specified within the LIST options
o) All users may now see channel modes in the /list reply
o) Fixed bug where "NOTICE +#somechan" did allow bypassing resv {} channels,
   or channels that are set +c (no control codes)
o) pseudo {} blocks also known as service aliases have been implemented.
   See doc/reference.conf for more information.
o) Removed 'general::services_name' configuration option. This is now no
   longer needed.

-- Noteworthy changes in version 8.2.0rc2 (2014-08-03)
o) Improved AWAY throttling to allow for better fine-tuning. See the
   newly added 'away_count' and 'away_time' configuration directives
   in the general {} block
o) Support for the select() I/O event notification has been dropped
o) Minor code cleanups and improvements

-- Noteworthy changes in version 8.2.0rc1 (2014-07-20)
o) Miscellaneous code cleanups and stabilization fixes
o) ./configure now requires OpenSSL 0.9.8o or above in order
   to enable TLS/SSL support

-- Noteworthy changes in version 8.2.0beta4 (2014-07-06)
#####################################################################
o) IMPORTANT: channel halfops are now an integral part of ircd-hybrid
   and can't be disabled anymore
#####################################################################
o) Many code cleanups and improvements
o) Added flood control for the INVITE command. See channel {} block in reference.conf
o) Changed flood control logic for the KNOCK command. See channel {} block in reference.conf
o) INVITE without any parameters now shows a list of channels a client is invited to
o) The OPERWALL command has been removed. Use GLOBOPS instead
o) Added 'max_channels' to class {} blocks
o) Added 'throttle_count' configuration option to the general {} block
o) Added 'ssl_message_digest_algorithm' configuration option to serverinfo {} block.
   See doc/reference.conf for more information.
o) Added support for Elliptic Curve Diffie-Hellman (ECDH). Also an elliptic curve can be
   specified via the 'serverinfo::ssl_dh_elliptic_curve' configuration option.
o) Removed 'ssl_server_method' and 'ssl_client_method' configuration options.
   ircd now only allows TLSv1, TLSv1.1 and TLSv1.2 protocols depending
   on the OpenSSL version. SSLv3 is no longer supported.

-- Noteworthy changes in version 8.2.0beta3 (2014-05-26)
o) Code cleanups/performance improvements

-- Noteworthy changes in version 8.2.0beta2 (2014-05-15)
#########################################################################
o) IMPORTANT: renamed 'general::warn_no_nline' configuration directive to
   'general::warn_no_connect_block'
#########################################################################
o) Fixed bug with WHOIS not showing a list of channel names as expected
o) Added usermode +q which hides idle and signon time in WHOIS
o) Added usermode +p which hides channel list in WHOIS

-- Noteworthy changes in version 8.2.0beta1 (2014-04-29)
o) TS6 is now mandatory. ircd is no longer backwards compatible with TS5
   and below.
o) SVSJOIN and SVSPART commands have been added
o) Major code cleanups and refactoring. Improved overall performance
o) INFO now also reports MPATH (path to main motd (Message of the Day) file)
   and SPATH (Path to server executable)
o) Updated several help files

-- Noteworthy changes in version 8.1.20 (2014-07-20)
o) Fixed XLINE not working as expected
o) Fixed build with LibreSSL which hasn't compression support
o) Miscellaneous stabilization and cosmetical fixes
o) EGD support has been dropped

-- Noteworthy changes in version 8.1.19 (2014-07-05)
o) Fixed EOB logic for remote servers
o) Fixed bug where opers that have the +g/+G/+R umodes set won't receive server
   notices for remote CONNECT/KLINE/DLINE/XLINE/RESV attempts
o) Sending messages to user@@server to local targets is now no longer possible,
   as this was an easy way to bypass +R/+G/+g user modes.
o) Fixed splicode logic so SPLITNUM now works as expected
o) Fixed UNDLINE not to require the IP address to be prepended with *@@

-- Noteworthy changes in version 8.1.18 (2014-06-09)
o) Fixed CAP issue for certain clients
o) Fixed bug where "STATS p" would show an invalid amount of irc-operators
   in case there are any +H opers
o) irc-operators may now no longer set a channel +O if they are only halfops (%)
o) Channel halfops (%) may now no longer (de)halfop other channel members
o) Channel halfops (%) may now no longer KICK other channel halfops
o) Make sure general::stats_e_disabled gets reset via /rehash
o) Fixed compile warnings; code cleanups
o) Fixed bug where the configuration parser wouldn't truncate the network name
   if general::network_name contains spaces

-- Noteworthy changes in version 8.1.17 (2014-05-01)
o) Fixed possible WATCH core
o) Fixed bug where the configuration parser wouldn't take time units
   into consideration for the join_flood_time and throttle_time
   configuration options
o) Minor /list optimization

-- Noteworthy changes in version 8.1.16 (2014-04-20)
o) Fixed undefined behaviour with crypt() returning NULL
   since glibc2.17 in certain cases
o) Admins may now see all channel members via "WHO #channel"
   regardless of channel mode +s
o) Fixed corrupted "STATS U" output

-- Noteworthy changes in version 8.1.15 (2014-03-29)
########################################################################
o) IMPORTANT: ircd binary is now again placed into bin/ instead of sbin/
########################################################################
o) mkpasswd in tools/ now defaults to MD5 instead of DES
o) USERS command has been removed
o) Fixed issue with SVSNICK where clients self-collided when changing
   just the case of the nick name, i.e. somenick -> SomeNicK
o) Minor code cleanups and cosmetical fixes

-- Noteworthy changes in version 8.1.14 (2014-02-25)
o) WHOWAS now honors serverhide::disable_remote_commands
o) Improved TS6 inter-server communication
o) Minor code cleanups and speed enhancements
o) Added 'unxline' oper flag
o) Added support for "userhost-in-names" client capability
o) ircd now allows private rsa keys larger than 2048 bits
o) Fixed bug where signals stopped from working after restarting
   the ircd via SIGINT
o) Fixed bug where certain irc clients could not reconnect via TLS/SSL
o) Fixed long-standing bug where +p channels have been shown
   in the /whois reply

-- Noteworthy changes in version 8.1.13 (2014-01-07)
o) Fixed EOB not working for remote servers (resulted in fake
   direction notices)
o) Fixed remote client connection notices for servers that are
   more than one hop away
o) Fixed bug where ircd didn't timeout SSL connections that
   haven't finished the SSL handshake
o) Fixed several bugs with server hiding
o) Updated/fixed help files
o) WHOIS no longer sends a notice to +y operators

-- Noteworthy changes in version 8.1.12 (2013-12-22)
o) RPL_WHOISMODES now uses the 379 numeric
o) Serial number is now shown on start up
o) Fixed possible channel mode desynch with services
o) Fixed TS6 support with LOCOPS
o) Minor code cleanups
o) Fixed file descriptor leak with empty help files
o) Fixed issue with WEBIRC where hostnames were
   not validated

-- Noteworthy changes in version 8.1.11 (2013-12-06)
o) Administrators may now see channel modes in /LIST
o) Fixed compile error on BSD systems when building with kqueue()

-- Noteworthy changes in version 8.1.10 (2013-11-25)
o) Fixed bug with kqueue() where it occasionally dropped updates
o) Changed WHOIS to show a client's certificate fingerprint
   to administrators only
o) The WHO reply now shows whether or not a nickname has
   been registered with NickServ. ('r' status flag)
o) Fixed some flaws with server hiding
o) Fixed bug where "STATS P" would leak ip addresses to remotely connected
   administrators, even if serverhide::hide_server_ips was set to 'yes'
o) Services coders: added SVSKILL

-- Noteworthy changes in version 8.1.9 (2013-11-08)
o) Added usermode +W. Users connected via a webirc gateway get this
   mode set by servers.
o) /WHOIS now shows if a client is connected via a webirc
   gateway
o) Administrators may now see +s channels a user is in with /WHOIS.
   Secret channels are prepended with a tilde in the /WHOIS
   reply.
o) Administrators are now able to see all the user modes a user has
   set via /whois

-- Noteworthy changes in version 8.1.8 (2013-10-25)
o) Fixed bug that would lead to a desynchronized nick database
   throughout the entire network if using services enforced
   nick names (SVSNICK)
o) Cleaned up/modernized build system
o) Add -fstack-protector to CFLAGS if available. Basically checks for
   buffer overflows/stack-smashing attacks
o) When using anope 1.9/2.0 services, /WHOIS now shows the account name
   of a registered/identified client (numeric 330)
o) Administrators can now see +s channels in /LIST

-- Noteworthy changes in version 8.1.7 (2013-08-18)
o) Fixed issue with channel mode +n having no functionality at all
o) Fixed SSL certificate fingerprint validation for outgoing server connects
o) Updated several documentation files

-- Noteworthy changes in version 8.1.6 (2013-08-02)
o) Fixed possible core with empty motd files

-- Noteworthy changes in version 8.1.5 (2013-07-16)
o) Fixed bug that would prevent servers from linking together
   if connect::aftype isn't set

-- Noteworthy changes in version 8.1.4 (2013-07-05)
o) Added 'xline' and 'resv' logging types. See doc/reference.conf
   for more information
o) Fixed bug where remote /STATS requests were not rate limited
o) Fixed core with empty auth::spoof entries
o) Increased oper/auth/connect password length limit from 20 to 128
o) Minor fixes to nickflood control code

-- Noteworthy changes in version 8.1.3 (2013-06-23)
o) Fixed possible core on "STATS z"
o) Revised doc/reference.conf
o) Fixed broken --disable-libgeoip switch

-- Noteworthy changes in version 8.1.2 (2013-06-20)
o) Added general::cycle_on_host_change configuration option
o) Added general::stats_u_oper_only configuration option
o) Added support for SHA-256 ssl certificate fingerprint based operator{}
   and connect{} blocks.
   In conjunction with Anope 1.9/2.0 IRC-services, clients are now also able
   to automatically identify for their nick with ssl certificate
   fingerprints
o) Added operator::ssl_connection_required configuration option. See
   doc/reference.conf for more information
o) Added usermode +S (client is connected via SSL/TLS). Allows services
   to keep track of what users are connected via SSL, and allows to see
   ssl-status of remote clients in a /whois
o) Fixed a server name leak with server hiding enabled. Reported by
   Adam <adam@@anope.org>

-- Noteworthy changes in version 8.1.1 (2013-06-06)
########################################################################
o) IMPORTANT: moved disable_remote_command configuration directive from
   general{} block to serverhide{} block
########################################################################
o) Minor code cleanups/performance improvements
o) Fixed bug where opers could see LOCOPS messages even if they don't have
   the +l mode set
o) Fixed bug where non-SSL clients could join +S channels on non-SSL servers
o) Implemented motd{} configuration blocks. See doc/reference.conf for more
   information
o) "STATS T" shows configured MOTD files

-- Noteworthy changes in version 8.1.0 (2013-05-23)
o) Minor code cleanups/performance improvements

-- Noteworthy changes in version 8.1.0rc1 (2013-05-19)
o) Fixed broken spoofs

-- Noteworthy changes in version 8.1.0beta5 (2013-05-15)
o) Removed 'remote', and 'global_kill' oper flags, and added 'connect',
   'squit', and 'kill' flags for better fine-tuning instead. Whether or
   not a specific action is allowed on a remote server can be controlled
   by appending the ':remote' flag. For example: 'kill' allows only local
   clients to be killed, whereas 'kill:remote' allows to issue a KILL for
   remote clients
o) Added 'locops' and 'wallops' to irc-operator flags
o) Improve/cleanup HELP system

-- Noteworthy changes in version 8.1.0beta4 (2013-05-09)
o) Implemented channel mode +M. Clients that haven't identified their
   name with NickServ may not speak in a channel that has this mode set
o) Fixed weird idletimes shown in /trace
o) Added 'nononreg' (+R) to general::oper_umodes
o) Added user mode +F (can see remote client connect/exit notices)

-- Noteworthy changes in version 8.1.0beta3 (2013-05-05)
o) PCRE support has been dropped
o) "STATS o" now shows how many times an oper{} block has been used.
   Similar to STATS x|q"
o) Implemented channel mode +c. Known from other ircds, this mode basically
   prevents users from sending messages including control codes to a channel
   that has this mode set
o) Fixed bug where bans were not checked against non-channel members when
   sending messages to a channel
o) Removed channel::quiet_on_ban configuration option. This feature is
   now enabled by default

-- Noteworthy changes in version 8.1.0beta2 (2013-04-28)
o) Fixed broken compile with libGeoIP disabled
o) Code cleanups; working towards stabilization and improved performance
o) Removed operflag 'nick_changes'. Operators can now set +n at will
o) Fixed shared{} blocks not working as expected
o) Fixed spoofs not working as expected

-- Noteworthy changes in version 8.1.0beta1 (2013-04-25)
########################################################################
o) IMPORTANT: name/channel entries can't be stacked any longer within
   a single resv{} block. Each entry now requires its own resv{} block.
   Read doc/reference.conf for more details
#######################################################################
o) Added resv::exempt configuration option. Exempt can be either a
   ISO 3166 alpha-2 two letter country code, or a nick!user@@host mask.
   CIDR is supported
o) Removed channel::restrict_channels configuration option
o) Preliminary libGeoIP support. Currently only used for exempt entries
   in resv{} blocks
o) Improved WEBIRC authentication; added 'webirc' to auth::flags.
   A "webirc." spoof is now no longer required
o) Implemented new memory pool allocator which basically is based upon Tor's
   mempool allocator for Tor cells
o) Major code cleanups
o) Implemented new binary database storage for X-,D-,K-,G-Lines and RESVs.
   Temporary bans are now stored as well and will persist after a reboot
o) Channel based resv{} blocks may now contain wildcards
o) NICK/JOIN now shows the actual reason of reserved nick-/channelnames
o) contrib/ and its content has been removed from the tree
o) Added serverhide::hide_services configuration option
o) Added 'nononreg' (+R) to oper::umodes and general::oper_only_modes
o) Added support for "away-notify" client capability

-- Noteworthy changes in version 8.0.9 (2013-05-16)
o) Fixed bug where ircd would sometimes drop a services link because
   of a missing argument to the SVSMODE command
o) Fixed weird idletimes shown in /trace

-- Noteworthy changes in version 8.0.8 (2013-04-28)
o) "STATS s" now shows configured services{} blocks as well
o) Fixed compile warnings, minor code cleanups and optimizations
o) Increased nickname history length to 32768
o) Unidentified/unregistered nicks may not speak in +R channels

-- Noteworthy changes in version 8.0.7 (2013-04-12)
o) Services may now set a channel topic without joining the channel first
o) Fixed bug where /whois would send empty sockhost information on TS5
   servers
o) Remote server connection and split notices now go to new usermode +e.
   These previously used usermode +x.
o) Services may now change the host of a specific user
   via "SVSMODE <timestamp> <target> +x <hostname>"

-- Noteworthy changes in version 8.0.6 (2013-01-28)
o) Fix bug where idle time sometimes is 0 even if the client didn't
   send any private message
o) Fixed possible core in try_parse_v4_netmask()

-- Noteworthy changes in version 8.0.5 (2013-01-24)
########################################################################
o) IMPORTANT: nick and topic lengths are now configurable via ircd.conf.
   A max_nick_length, as well as a max_topic_length configuration option
   can now be found in the serverinfo{} block
########################################################################
o) Fixed build on GNU/Hurd as reported by Dominic Hargreaves
o) Fixed log files not getting reopened after /rehash
o) Improved logging of configuration file issues
o) ircd.pid has been accidentally saved in /var instead of /var/run
o) Linux RT signal support for notification of socket events has been dropped
o) Fixed "STATS Y|y" sometimes sending weird sendq/recvq values
o) INFO now also shows configured values of 'disable_fake_channels',
   and 'stats_e_disabled'
o) m_webirc.c is now officially supported, and has been moved from contrib/
   to modules/
o) /whois, /stats p, and /trace may now show fake idle times depending on
   how the new class::min_idle and class::max_idle configuration directives
   have been configured. This feature basically works in the same
   way as it does in csircd
o) The configuration parser now does support 'year' and 'month' units

-- Noteworthy changes in version 8.0.4 (2013-01-02)
o) Fixed possible core on USERHOST/ISON with optimization enabled
o) Fixed bug where can_flood sometimes didn't work as expected

-- Noteworthy changes in version 8.0.3 (2012-12-24)
o) Fixed core on UNDLINE
o) XLINE/KLINE/RESV/DLINE/SQUIT and KILL now have the same default reason
   if a reason hasn't been specified

-- Noteworthy changes in version 8.0.2 (2012-12-20)
o) Minor updates to the build system
o) Fixed broken --enable-assert configure switch
o) Fixed bug where timed events stopped from working if the system's
   clock is running backwards
o) STATS q|Q now shows how many times a resv{} block has been matched
o) Fixed contributed WEBIRC module
o) IRC operators may now again see server generated nick rejection notices

-- Noteworthy changes in version 8.0.1 (2012-11-04)
o) Fixed broken CIDR support for CHALLENGE based irc operator logins
o) Fixed class limits not properly applying to oper{} blocks
o) Fixed possible TBURST desynchronization with services
o) Fixed TBURST sending server's name to clients if it's a hidden server

-- Noteworthy changes in version 8.0.0 (2012-10-18)
o) Fixed an off-by-one with spoofs. Spoofs are now also checked for
   invalid characters
o) Removed general::use_whois_actually configuration directive. This is
   now enabled by default
o) Minor SQUIT handling fixes
o) Fixed bancache not being updated on CHGHOST/CHGIDENT

-- Noteworthy changes in version 8.0.0rc1 (2012-09-28)
o) Removed general::client_flood configuration option and added the
   new 'recvq' configuration directive to class{} blocks.
   The max size of a receive queue can be seen in "STATS Y"
   for each class
o) Allow the '[' and ']' characters in server description

-- Noteworthy changes in version 8.0.0beta3 (2012-08-24)
o) Fixed wrong syntax in several language files
o) Removed &localchannels
o) PRIVMSG to opers@@some.server is no longer supported
o) Fixed bug that could lead to topic desynchronization
o) Removed serverhide::disable_hidden configuration option
o) Dropped ircd-hybrid-6 GLINE compatibility mode
o) Removed use_invex, use_except and use_knock configuration options.
   These features are now enabled by default

-- Noteworthy changes in version 8.0.0beta2 (2012-07-21)
o) channel::disable_fake_channels now also disables ascii 29 (mIRC italic)
   when set to yes
o) Added channel::max_chans_per_oper configuration directive. The old way
   was to let operators join three times the amount of max_chans_per_user
o) Replaced MODLOAD, MODUNLOAD, MODRELOAD, MODLIST and MODRESTART commands
   with the new MODULE command which can be fed with the LOAD, UNLOAD, RELOAD
   and LIST parameters.
   MODRESTART has been entirely removed. Use "MODULE RELOAD *" to reload
   all modules
o) Added back server notice when a client tries to obtain a reserved nick name
o) Removed OMOTD module
o) Added 'set' to operator privilege flags. Gives access to the "SET" command
o) Improved TS6 support
o) Channel keys/passwords are now case sensitive

-- Noteworthy changes in version 8.0.0beta1 (2012-05-28)
o) Implemented full services support, including but not limited to the
   following changes:
   - Added SVSNICK, and SVSMODE command handlers
   - Added service stamps to NICK/UID messages
   - Added SVS to server capabilities (CAPAB). SVS capable servers can
     deal with extended NICK/UID messages that contain service IDs/stamps.
   - Changed rejected client notices to go to new usermode +j.  These
     previously used usermode +r.
   - Added usermode +r (registered nick) and channelmode +r (registered channel)
   - Added usermode +R (only registered clients may send a private message)
   - Added channelmode +R (only registered clients may join that channel)
   - Various services shortcuts have been added (/NS, /CS, /NICKSERV, /CHANSERV, etc.)
   - Added services{} block to ircd.conf
   - Added services_name directive to general{} block
   - Added GLOBOPS mainly for services compatibility, but can be used by operators, too
o) Removed RKLINE and RXLINE commands. Regular expression based bans should
   only be added via ircd.conf
o) Added 'globops', 'restart', 'dline', 'undline' and 'module' operator
   privilege flags. Read doc/reference.conf for further explanation of what
   these flags control
o) Removed Idle-time klines
o) Cleaned up modules API. Old modules won't work anymore
o) Removed general::burst_away configuration directive. AWAY bursts are now
   controlled via connect::flags explicitly
o) Introduced new logging subsystem including log rotation based on
   file sizes. Log timestamp format is ISO8601 now
o) Added support for remote D-lines
o) Added usermode +H which is basically a replacement for the hidden_admin and
   hidden_oper operator flags. With usermode +H, irc operator status can now
   be hidden even on remote servers
o) Added CIDR support for operator{} blocks
o) Removed the servlink program. ircd-hybrid can now make use of
   SSL/TLS for inter-server communication.
   NOTE: compressed server links are of course still available, but a SSL/TLS
   connection is required, as compression is now handled via OpenSSL
o) Removed 'ssl_server_protocol' configuration directive and
   added 'ssl_client_method' and 'ssl_server_method' instead.
   Both of these options can now be changed at runtime
o) Oper login IDs are no longer limited to NICKLEN*2
o) Removed channel::burst_topicwho configuration option. Topicsetters are
   now sent by default
o) "STATS Y|y" now reports CIDR limits as well
o) Added m_webirc.c to contrib/
o) Overall code cleanup and speed improvements

-- ircd-hybrid-7.3.2 Release Notes
o) Added new m_webirc.c to contrib/
o) Added need_tls to auth::flags. Rejects clients that are not connected
   via TLS/SSL
o) Fixed compile warning with gcc 4.6
o) Minor fixes to m_cap module
o) Added CIDR support for operator{} blocks

-- ircd-hybrid-7.3.1 Release Notes
o) Fixed ERR_ACCEPTEXIST numeric string. Now gives proper
   nick!user@@host mask output
o) Update RPL_ISUPPORT. CHANMODES now reflects new +OS channelmodes
o) Fixed random core triggered by exiting servers
o) Fixed invalid user and invisible count in /lusers which sometimes can
   occur if a server sends redundant usermodes within a NICK message

-- ircd-hybrid-7.3.0 Release Notes
o) Added Bulgarian language file provided by Borislav Borisov
o) Server hostmasking has been removed due to TS6 requirements
o) Fixed broken IPv6 detection
o) Minor code optimizations. Reduced memory consumption
o) User IDs are now shown in client connection notices
o) Increased maximum temporary kline time to 360 days
o) Added back STATS/TRACE/MOTD/ADMIN request notices. Removed
   spy_*_notice modules accordingly.
o) Channelmode +O; channel can be joined by ircops only.
o) Channelmode +S; only clients with a secure connection (ssl/tls)
   can join this channel.

-- ircd-hybrid-7.3-rc1 Release Notes
o) Major 64-bit cleanups and portability fixes.
o) Fixed bug where unregistered clients were not able to complete registration
   process with /quote PONG <ping_cookie> in case the client was assigned a
   zero value ping-cookie. This may only happen with general::ping_cookie
   being enabled.
o) "STATS z" now shows the actual amount of memory consumption being
   used by channel bans/excepts/invites.
o) Fixed archaic bug where bursting servers with missconfigured NICKLEN were
   able to desync the network's nickname database.
o) The PCRE library has been removed from the ircd sources. ./configure will
   now automatically detect an already installed version of the PCRE library.
o) Various resolver improvements and fixes
o) Implemented GUNGLINE (global ungline)
o) Completely rewrote build system. We're now using automake and libtool
o) Added support for SHA-256/512 encrypted passwords to mkpasswd. Whether
   passwords hashed using these algorithms will work depends on the system's
   crypt() implementation. For example, SHA-256/512 is available in glibc since
   version 2.7.
o) Added ssl_server_protocol configuration option to servinfo{}.
   Valid flags are 'sslv3' and 'tlsv1'
o) Added new 'server' option to listener::flags. Listener with that flag
   set may only accept server connections.
o) Fixed occasional core when placing RESVs on channel names
o) Fixed topic desynchronization which sometimes may
   happen during netbursts
o) WATCH support implemented. Known from other irc-daemons, such
   as Dreamforge and Bahamut. The general::max_watch configuration directive
   has been added in order to allow run-time configuration of how many
   watch entries a single client may have on its watchlist.
o) Fixed bug which would cause invalid invisible counts on oper-up in case
   operator::umodes and/or general::oper_umodes contains 'invisible'
o) Removed broken LazyLinks
o) Removed --disable-gline-voting configure option
o) Minor code optimizations and cleanups
o) ACCEPT now supports nick!user@@host masks
o) Unregistered clients are no longer allowed to request the server's motd
o) general::dot_in_ip6_addr configuration option is obsolete and no longer exists
o) Dropped support for old style 'operflag = yes|no;' format
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	ircd-hybrid-8.2.24
@


1.55
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2018/07/04 13:40:10 jperkin Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-7.2.3
PKGREVISION=	12
d11 1
a14 2
USE_TOOLS+=	pax

d16 1
a16 4
BUILD_DEFS+=	IRCD_HYBRID_SYSLOG_FACILITY IRCD_HYBRID_NICLEN \
		IRCD_HYBRID_TOPICLEN IRCD_HYBRID_MAXCONN \
		IRCD_HYBRID_SYSLOG_EVENTS VARBASE \
		IRCD_HYBRID_IRC_USER IRCD_HYBRID_IRC_GROUP
d23 1
a23 4
HYBRID_EG_PLACE=	share/examples/ircd-hybrid
HYBRID_DOC_PLACE=	share/doc/ircd-hybrid
HYBRID_EG=		${PREFIX}/${HYBRID_EG_PLACE}
HYBRID_DOC=		${PREFIX}/${HYBRID_DOC_PLACE}
d25 1
a25 2
INSTALLATION_DIRS+=	${HYBRID_EG_PLACE} ${HYBRID_DOC_PLACE}/doc
INSTALLATION_DIRS+=	share/ircd-hybrid/messages
a26 2
CONF_FILES_PERMS=	${HYBRID_EG}/example.conf ${PKG_SYSCONFDIR}/ircd.conf \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0640
d29 2
a32 2
OWN_DIRS_PERMS+=	${VARBASE}/run/ircd-hybrid \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 0770
d44 13
a56 10
SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Fixing hardcoded paths.
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	etc/example.conf etc/example.efnet.conf \
			etc/example.conf.quick doc/ircd.8
SUBST_SED.paths=	-e "s|/usr/local/ircd/etc|${PKG_SYSCONFDIR}|g"
SUBST_SED.paths+=	-e "s|/usr/local/ircd/bin|${PREFIX}/bin|g"
SUBST_SED.paths+=	-e "s|/usr/local/ircd/modules|${PREFIX}/lib/ircd-hybrid/modules|g"
SUBST_SED.paths+=	-e "s|/usr/share/ircd|${PKG_SYSCONFDIR}|g"
SUBST_SED.paths+=	-e "s|/var/log|${VARBASE}/log/ircd-hybrid/logs|g"
d62 3
a64 9
SUBST_SED.bpaths=	-e "s|etc|etc/ircd-hybrid|g"
SUBST_SED.bpaths+=	-e "s|modules|lib/ircd-hybrid/modules|g"
SUBST_SED.bpaths+=	-e "s|IRCD_PREFIX \"/logs\"|\"${VARBASE}/log/ircd-hybrid/logs\"|g"
SUBST_SED.bpaths+=	-e "s|ETCPATH \"/ircd.pid\"|\"${VARBASE}/run/ircd-hybrid/ircd.pid\"|g"
SUBST_SED.bpaths+=	-e "s|messages|share/ircd-hybrid/messages|g"

CONFIGURE_ARGS+=	--with-nicklen=${IRCD_HYBRID_NICLEN:Q}
CONFIGURE_ARGS+=	--with-topiclen=${IRCD_HYBRID_TOPICLEN:Q}
CONFIGURE_ARGS+=	--enable-syslog=${IRCD_HYBRID_SYSLOG_EVENTS:Q}
a66 9
CONFIGURE_ARGS+=	--enable-clobber

.if defined(IRCD_HYBRID_SYSLOG_EVENTS) && !empty(IRCD_HYBRID_SYSLOG_EVENTS:M[Yy][Ee][Ss])
CONFIGURE_ARGS+=	--enable-syslog-facility=${IRCD_HYBRID_SYSLOG_FACILITY:Q}
.endif

.if defined(IRCD_HYBRID_MAXCONN) && !empty(IRCD_HYBRID_MAXCONN:M[Yy][Ee][Ss])
CONFIGURE_ARGS+=	--with-maxconn=${IRCD_HYBRID_MAXCONN:Q}
.endif
d71 2
a72 12
	${INSTALL_DATA} ${WRKSRC}/etc/example.conf ${DESTDIR}${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/example.efnet.conf ${DESTDIR}${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/example.conf.quick ${DESTDIR}${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/simple.conf ${DESTDIR}${HYBRID_EG}

	${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/README.FIRST ${DESTDIR}${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/README.PLATFORMS ${DESTDIR}${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/RELNOTES ${DESTDIR}${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/messages/README \
		${DESTDIR}${HYBRID_DOC}/README.messages
d74 5
a78 1
		${DESTDIR}${HYBRID_DOC}/README.ircd-hybrid-mkpasswd
d80 1
a80 10
	${RM} ${WRKSRC}/doc/Makefile
	${RM} ${WRKSRC}/doc/Makefile.in
	cd ${WRKSRC}/doc && pax -rwppm . ${DESTDIR}${HYBRID_DOC}/doc

	cd ${WRKSRC}/messages && \
		${SETENV} ${INSTALL_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} install

	${INSTALL_PROGRAM} ${WRKSRC}/tools/encspeed \
		${DESTDIR}${PREFIX}/bin/encspeed
	${INSTALL_PROGRAM} ${WRKSRC}/tools/mkpasswd \
@


1.54
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2018/01/13 23:18:26 rillig Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.53
log
@chat/*: remove unnecessary :Q modifiers
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2016/07/09 06:37:53 wiz Exp $
d57 1
a57 1
SUBST_STAGE.paths=	post-patch
@


1.52
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2016/03/05 11:28:07 jperkin Exp $
d45 3
a47 3
FILES_SUBST+=		IRCD_HYBRID_IRC_USER=${IRCD_HYBRID_IRC_USER:Q}
FILES_SUBST+=		IRCD_HYBRID_IRC_GROUP=${IRCD_HYBRID_IRC_GROUP:Q}
FILES_SUBST+=		VARBASE=${VARBASE:Q}
d79 1
a79 1
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
@


1.51
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2014/05/29 23:35:18 wiz Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.50
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.49 2014/02/12 23:17:36 tron Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.49
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2013/07/12 10:44:53 jperkin Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.48
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2013/03/23 19:29:50 spz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.47
log
@fix http://secunia.com/advisories/51948/ by applying a patch taken from
svn.ircd-hybrid.org
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2013/02/06 23:21:47 jperkin Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.46
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2012/10/03 21:54:01 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.45
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.44 2012/10/03 00:02:38 asau Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.44
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2012/04/15 22:07:36 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.43
log
@Reset maintainer, developer resigned.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2011/08/29 01:24:02 dholland Exp $
a14 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.42
log
@DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2010/02/04 20:14:00 adrianp Exp $
d9 1
a9 1
MAINTAINER=	adrianp@@NetBSD.org
@


1.41
log
@PKGREVISION++
Fix for CVE 2009-4016
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2008/10/30 23:22:59 adrianp Exp $
d15 2
a27 2
HYBRID_EG=		${PREFIX}/share/examples/ircd-hybrid
HYBRID_DOC=		${PREFIX}/share/doc/ircd-hybrid
d30 8
d96 10
a105 16
	${INSTALL_DATA_DIR} ${HYBRID_EG}
	${INSTALL_DATA_DIR} ${HYBRID_DOC}
	${INSTALL_DATA_DIR} ${HYBRID_DOC}/doc
	${INSTALL_DATA_DIR} ${PREFIX}/share/ircd-hybrid
	${INSTALL_DATA_DIR} ${PREFIX}/share/ircd-hybrid/messages

	${INSTALL_DATA} ${WRKSRC}/etc/example.conf ${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/example.efnet.conf ${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/example.conf.quick ${HYBRID_EG}
	${INSTALL_DATA} ${WRKSRC}/etc/simple.conf ${HYBRID_EG}

	${INSTALL_DATA} ${WRKSRC}/BUGS ${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/README.FIRST ${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/README.PLATFORMS ${HYBRID_DOC}
	${INSTALL_DATA} ${WRKSRC}/RELNOTES ${HYBRID_DOC}
d107 1
a107 1
		${HYBRID_DOC}/README.messages
d109 1
a109 1
		${HYBRID_DOC}/README.ircd-hybrid-mkpasswd
d113 1
a113 1
	cd ${WRKSRC}/doc && pax -rwppm . ${HYBRID_DOC}/doc
d116 1
a116 1
		${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} install
d119 1
a119 1
		${PREFIX}/bin/encspeed
d121 1
a121 1
		${PREFIX}/bin/ircd-hybrid-mkpasswd
@


1.40
log
@Fix ${HOMEPAGE}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/09/11 21:59:33 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.39
log
@Use config file.
Fixes startup script in non-standard PKG_SYSCONFDIR setups.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2008/05/26 02:13:16 joerg Exp $
d10 1
a10 1
HOMEPAGE=	http://ircd-hybrid.com/
@


1.38
log
@Second round of explicit pax dependencies. As reminded by tnn@@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2008/01/18 05:06:24 tnn Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.37
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.36 2007/10/14 18:34:41 adrianp Exp $
d15 2
d111 1
a111 1
	cd ${WRKSRC}/doc && ${PAX} -rwppm . ${HYBRID_DOC}/doc
@


1.36
log
@Update to 7.2.3
Added missing %s conversion specifier to RPL_MODLIST. Now /modlist shows
up whether or not a module is resident
Fixed bug in find_conf_exact() which sometimes made CHALLENGE useless
Added ircd-italian.lang language file
See the ChangeLog for all the details
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/07/04 20:54:32 jlam Exp $
d4 1
@


1.35
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.34 2007/02/01 23:19:56 wiz Exp $
d3 1
a3 2
DISTNAME=	ircd-hybrid-7.2.2
PKGREVISION=	1
d17 2
a18 1
		IRCD_HYBRID_SYSLOG_EVENTS VARBASE
@


1.34
log
@Make sure the directory for the pidfile exists (/var/run is cleaned on
some machines...).
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/11/05 17:48:16 adrianp Exp $
d18 1
a18 2
		IRCD_HYBRID_SYSLOG_EVENTS IRCD_HYBRID_IRC_USER \
		IRCD_HYBRID_IRC_GROUP VARBASE
d43 3
@


1.33
log
@pkglintification
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/08/11 16:53:39 adrianp Exp $
d4 1
@


1.32
log
@Update to 7.2.2

> -- ircd-hybrid-7.2.2 RELNOTES
> o) Added channel::disable_fake_channels config directive
> o) Fixed broken FORCEJOIN  (contrib)
> o) Added missing documentation for connect::vhost
> o) Fixed problem with G-Line voting
> o) Fixed "STATS ?" so it doesn't report negative traffic statistics
> o) Fixed core in m_mkpasswd.c  (contrib)
> o) Reduced memory usage for channel members
> o) Added general::stats_e_disabled which simply disables "STATS e"
>    for other operators and administrators
> o) Ignore signal SIGXFSZ to prevent the daemon from dying on missconfigured
>    file size limits
> o) Slight optimizations to the block allocator
> o) Fixed harmless bug that could result in incorrect bytes sent statistics
>    in "STATS t"
> o) "STATS y|Y" now shows whether a class is active or disabled
> o) Added ircd-brazilian_pt.lang language file
> o) Misc. ACCEPT fixes. E.g. don't remove an accept record if a client is
>    changing between equivalent nicknames like 'nick' and 'NiCk'.
> o) Minor resolv.conf parser fixes.  Added missing support for ';' comments
> o) Fixed core on MODRESTART
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/06/06 13:04:55 adrianp Exp $
d18 1
a18 1
		IRCD_HYBRID_IRC_GROUP
@


1.31
log
@Bump to 7.2.1

-- ircd-hybrid-7.2.1 RELNOTES
o) Fixed build on SRV4
o) Fixed problem where ircd would disconnect all SSL connections
o) Added initial CAP support.  Additional documentation can be found
in doc/technical
o) Speeded up command parsing
o) Fixed occasional core dump on UN*LINE
o) Fixed bug where particular clients would always receive
   "Load is temporarily too heavy" message
o) Improved memory consumption, i.e. memory consumption has
   been reduced for remote clients
o) Fixed possible core in case default_cipher_preference directive isn't set
o) Fixed "CHANSERV INVITE" bug with anope services
o) Updated example configuration files to reflect new topicburst flags
   directive in connect{} blocks
o) Fixed core if using the operator{} 'umodes' directive
o) Don't allow shared k-lines to be set without a valid reason
o) Improved channel ban match processing.  This also fixes CIDR bans
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/04/23 00:12:36 jlam Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-7.2.1
@


1.30
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.29 2006/03/14 01:14:26 jlam Exp $
d3 1
a3 3
DISTNAME=	ircd-hybrid-7.2.0
EXTRACT_SUFX=	.tgz
PKGREVISION=	1
d6 1
d48 5
a52 5
SUBST_SED.paths=	-e "s|/usr/local/ircd/etc|${PKG_SYSCONFDIR}|g" \
			-e "s|/usr/local/ircd/bin|${PREFIX}/bin|g" \
			-e "s|/usr/local/ircd/modules|${PREFIX}/lib/ircd-hybrid/modules|g" \
			-e "s|/usr/share/ircd|${PKG_SYSCONFDIR}|g" \
			-e "s|/var/log|${VARBASE}/log/ircd-hybrid/logs|g"
d58 5
a62 5
SUBST_SED.bpaths=	-e "s|etc|etc/ircd-hybrid|g" \
			-e "s|modules|lib/ircd-hybrid/modules|g" \
			-e "s|IRCD_PREFIX \"/logs\"|\"${VARBASE}/log/ircd-hybrid/logs\"|g" \
			-e "s|ETCPATH \"/ircd.pid\"|\"${VARBASE}/run/ircd-hybrid/ircd.pid\"|g" \
			-e "s|messages|share/ircd-hybrid/messages|g"
d103 2
a104 2
	@@${RM} ${WRKSRC}/doc/Makefile
	@@${RM} ${WRKSRC}/doc/Makefile.in
@


1.29
log
@Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/02/04 15:22:06 adrianp Exp $
a40 1
PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}::ircd-hybrid\ User::${NOLOGIN}
d42 1
@


1.28
log
@pkglint fixes. No version bumps required.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/01/10 22:26:32 adrianp Exp $
a25 1
INSTALL_EXTRA_TMPL+=	${.CURDIR}/INSTALL
@


1.27
log
@Install the correct documentation and update the PLIST accordingly
Make sure mkpasswd is only installed once as ircd-hybrid-mkpasswd
Make .if defined statements a little more bulletbroof
Bump to nb1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/01/03 13:09:25 adrianp Exp $
d46 1
a46 1
SUBST_MESSAGE.paths=	"Fixing hardcoded paths."
d57 1
a57 1
SUBST_MESSAGE.bpaths=	"Fixing hardcoded build paths."
@


1.26
log
@Update to 7.2.0

> -- ircd-hybrid-7.2.0 RELNOTES
> o) Fixed broken operwall = yes;
> o) Added 'umode' directive to oper{}.  List of modes to get on /OPER.
> o) Fixed a WHOIS bug
> o) Fixed bug where we would increase Count.invisi even
>    if invisible_on_connect is turned off
> o) Removed invite_ops_only, controlled by paranoid (+p) now
> o) Better DDoS protection
> o) Fixed va_list bug on amd64
> o) Fixed /dev/poll
>
>
> -- ircd-hybrid-7.2rc1 RELNOTES
> o) ircd can dynamically change all its client/fd limits at runtime
> o) Added epoll as the primary I/O engine under Linux
> o) Local channels will not show up in remote /WHOIS
> o) Added hidden_name which allows customized hidden server names
> o) Added restrict_channels to define a static channel set
> o) Added --disable-gline-voting to disable G-Line votes
>    for small networks or people who don't want it.
> o) Allow accumulating more ip= entries in an exempt{} block
> o) Various improvements and bugfixes
> o) Make win32 build usable
> o) Fixed ban caching bug
> o) Cosmetical fixes to TIME
> o) Get "KLINE nick" to work with clients that have a spoof
> o) Fixed RESV/XLINE bug in conjunction with names that include escaped
>    characters such as \*, \?, \#.
>
>
> -- ircd-hybrid-7.2beta1 RELNOTES
> o) Usermode +G, like +g, but allow messaging from people on common channels
> o) Usermode +D - "deaf", don't receive channel messages
> o) RXLINE and RKLINE - commands for setting regexp K/X lines
> o) Join flood is now detected and reported to +b opers
> o) Re-added REJECT_HOLD - lock clients for a while before throwing away
> o) ping_warning, a class{} option to notify opers before "Ping timeout"
> o) New hooking system, modularised: usermodes, iauth, message filtering etc.
> o) Network I/O speedups
> o) Various cleanups and bugfixes
> o) Support for client SSL
> o) Support for services (contrib/m_services.c)
> o) IP cloaking module (contrib/ip_cloaking.c)
> o) Native win32 build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/12/29 06:21:32 jlam Exp $
d5 1
d73 1
a73 1
.if defined(IRCD_HYBRID_SYSLOG_EVENTS)
d77 1
a77 1
.if defined(IRCD_HYBRID_MAXCONN)
d100 2
a101 1
	${INSTALL_DATA} ${WRKSRC}/messages/README ${HYBRID_DOC}/README.messages
a108 3
	cd ${WRKSRC}/contrib && \
		${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} install_help

@


1.25
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.24 2005/12/05 23:55:03 rillig Exp $
d3 1
a3 1
DISTNAME=	ircd-hybrid-7.1.3
a112 6
	${INSTALL_PROGRAM} ${WRKSRC}/tools/convertconf \
		${PREFIX}/bin/ircd-hybrid-convertconf
	${INSTALL_PROGRAM} ${WRKSRC}/tools/convertilines \
		${PREFIX}/bin/convertilines
	${INSTALL_PROGRAM} ${WRKSRC}/tools/convertklines \
		${PREFIX}/bin/convertklines
a116 2
	${INSTALL_PROGRAM} ${WRKSRC}/tools/viconf \
		${PREFIX}/bin/ircd-hybrid-viconf
@


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


1.23
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.22 2005/11/16 22:59:19 adrianp Exp $
d66 4
a69 4
CONFIGURE_ARGS+=	--with-nicklen=${IRCD_HYBRID_NICLEN}
CONFIGURE_ARGS+=	--with-topiclen=${IRCD_HYBRID_TOPICLEN}
CONFIGURE_ARGS+=	--enable-syslog=${IRCD_HYBRID_SYSLOG_EVENTS}
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
d74 1
a74 1
CONFIGURE_ARGS+=	--enable-syslog-facility=${IRCD_HYBRID_SYSLOG_FACILITY}
d78 1
a78 1
CONFIGURE_ARGS+=	--with-maxconn=${IRCD_HYBRID_MAXCONN}
@


1.22
log
@Fix PAX problems on 1.6.x
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/11/13 22:47:40 adrianp Exp $
d38 3
a40 3
FILES_SUBST+=		IRCD_HYBRID_IRC_USER=${IRCD_HYBRID_IRC_USER}
FILES_SUBST+=		IRCD_HYBRID_IRC_GROUP=${IRCD_HYBRID_IRC_GROUP}
FILES_SUBST+=		VARBASE=${VARBASE}
@


1.21
log
@Add a CONFLICTS for ircu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/11/13 22:40:00 adrianp Exp $
d104 3
a106 2
	cd ${WRKSRC}/doc && ${PAX} -s /\Makefile.in// -s /\Makefile// \
		-rwppm . ${HYBRID_DOC}/doc
@


1.20
log
@Update ircd-hybrid 6.2 => 7.1.3
In brief:
- We now support a completely new platform, Tru64 UNIX
- We have mostly revamped the Windows Cygwin port
- The IRIX port has been brought up to date
- The HPUX port has been retested and minor warnings have been fixed
- The configure script has been massively revamped
- Most noticeable is that we generate make dependencies on the fly now
- We now use our own .lang files to provide translated numeric messages
- IPv6 support is now automatically enabled/disabled
- Cryptlinks now use Nagle's TCP_NODELAY algorithm
- X-line (gecos ban) support has been added
- Nick and channel RESVs are now stored in nresv.conf and cresv.conf
@
text
@d1 1
a1 1
# $NetBSD$
d12 2
@


1.19
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 2
# $NetBSD: Makefile,v 1.18 2005/08/19 18:12:36 jlam Exp $
#
d3 2
a4 2
DISTNAME=	ircd-hybrid-6.2
PKGREVISION=	3
a6 1
EXTRACT_SUFX=	.tgz
d8 2
a9 2
MAINTAINER=	tech-pkg@@NetBSD.org
HOMEPAGE=	http://www.ircd-hybrid.net/
d13 5
d19 1
a19 1
USE_PKGINSTALL=		YES
d22 4
a25 1
IRCD_HYBRID_DPATH=	${PKG_SYSCONFDIR}
d27 12
a38 1
.include "../../mk/bsd.prefs.mk"
d40 2
a41 49
.if ${IRCD_HYBRID_SMALL_NET} == "YES"
IRCD_HYBRID_LINK_PREALLOCATE?=		64
IRCD_HYBRID_CLIENTS_PREALLOCATE?=	64
IRCD_HYBRID_USERS_PREALLOCATE?=		64
IRCD_HYBRID_NICKNAMEHISTORYLENGTH?=	1000
IRCD_HYBRID_MAXSENDQLENGTH?=		500000
IRCD_HYBRID_INITIAL_DBUFS?=		300
IRCD_HYBRID_HARD_FDLIMIT_?=		90
IRCD_HYBRID_INIT_MAXCLIENTS?=		40
.endif

# this is not supposed to be changed
IRCD_HYBRID_SPATH=		${PREFIX}/sbin/ircd-hybrid
IRCD_HYBRID_SDIR=		${IRCD_HYBRID_SPATH:C|/[^/]*$||}

# throw all the settings in _DEFS
.for def in \
	IRCD_HYBRID_LINK_PREALLOCATE IRCD_HYBRID_CLIENTS_PREALLOCATE \
	IRCD_HYBRID_USERS_PREALLOCATE IRCD_HYBRID_NICKNAMEHISTORYLENGTH \
	IRCD_HYBRID_MAXSENDQLENGTH IRCD_HYBRID_INITIAL_DBUFS \
	IRCD_HYBRID_HARD_FDLIMIT_ IRCD_HYBRID_INIT_MAXCLIENTS
.  ifdef ${def}
_DEFS+=		-D${def:S|^IRCD_HYBRID_||}=${${def}}
.  endif
.endfor
.for def in \
	IRCD_HYBRID_NETWORK_NAME IRCD_HYBRID_NETWORK_DESC
.  ifdef ${def}
_DEFS+=		-D${def:S|^IRCD_HYBRID_||}=\"${${def}:Q}\"
.  endif
.endfor
.for def in \
	IRCD_HYBRID_DPATH IRCD_HYBRID_SPATH \
	IRCD_HYBRID_FNAME_USERLOG IRCD_HYBRID_FNAME_OPERLOG IRCD_HYBRID_PPATH \
	IRCD_HYBRID_IRC_USER IRCD_HYBRID_IRC_GROUP
_DEFS+=		-D${def:S|^IRCD_HYBRID_||}=\"${${def}}\"
.endfor
.if ${IRCD_HYBRID_USE_SYSLOG} == "YES"
_DEFS+=		-DUSE_SYSLOG=1
_DEFS+=		-DLOG_FACILITY=${IRCD_HYBRID_SYSLOG_FACILITY}
.endif
.if ${IRCD_HYBRID_USE_LOGFILE} == "YES"
_DEFS+=		-DUSE_LOGFILE=1
_DEFS+=		-DLPATH=\"${IRCD_HYBRID_LPATH}\"
.endif
_DEFS+=		-DINIT_LOG_LEVEL=${IRCD_HYBRID_INIT_LOG_LEVEL}

# and pass then down to make as DEFS
MAKE_FLAGS+=	DEFS='${_DEFS}'
d43 30
a72 26
# and few other things for install target
MAKE_FLAGS+=	SPATH=${IRCD_HYBRID_SPATH} SDIR=${IRCD_HYBRID_SDIR}
MAKE_FLAGS+=	PREFIX=${PREFIX} DESTDIR=${DESTDIR}

# for the records
.for def in \
	IRCD_HYBRID_LINK_PREALLOCATE IRCD_HYBRID_CLIENTS_PREALLOCATE \
	IRCD_HYBRID_USERS_PREALLOCATE IRCD_HYBRID_NICKNAMEHISTORYLENGTH \
	IRCD_HYBRID_MAXSENDQLENGTH IRCD_HYBRID_INITIAL_DBUFS \
	IRCD_HYBRID_HARD_FDLIMIT_ IRCD_HYBRID_INIT_MAXCLIENTS \
	IRCD_HYBRID_NETWORK_NAME IRCD_HYBRID_NETWORK_DESC \
	IRCD_HYBRID_FNAME_OPERLOG IRCD_HYBRID_PPATH \
	IRCD_HYBRID_IRC_USER IRCD_HYBRID_IRC_GROUP
.  ifdef ${def}
BUILD_DEFS+=	${def}
.  endif
.endfor
.ifdef ${IRCD_HYBRID_USE_SYSLOG} == "YES"
BUILD_DEFS+=	IRCD_HYBRID_USE_SYSLOG
BUILD_DEFS+=	IRCD_HYBRID_SYSLOG_FACILITY
.else
BUILD_DEFS+=	IRCD_HYBRID_FNAME_USERLOG
.endif
.if ${IRCD_HYBRID_USE_LOGFILE} == "YES"
BUILD_DEFS+=	IRCD_HYBRID_USE_LOGFILE
BUILD_DEFS+=	IRCD_HYBRID_LPATH
d75 2
a76 21
FILES_SUBST+=		PPATH=${IRCD_HYBRID_PPATH:Q}
FILES_SUBST+=		SPATH=${IRCD_HYBRID_SPATH:Q}
FILES_SUBST+=		USER=${IRCD_HYBRID_IRC_USER:Q}
FILES_SUBST+=		DPATH=${IRCD_HYBRID_DPATH:Q}
FILES_SUBST+=		GROUP=${IRCD_HYBRID_IRC_GROUP}
FILES_SUBST+=		SYSLOG_FACILITY=${IRCD_HYBRID_SYSLOG_FACILITY}

RCD_SCRIPTS=		ircd-hybrid

PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}::IRC\ User::${NOLOGIN}
PKG_GROUPS=		${IRCD_HYBRID_IRC_GROUP}

CONF_FILES=		${PREFIX}/share/examples/ircd-hybrid/opers.txt \
			${IRCD_HYBRID_DPATH}/opers.txt
CONF_FILES_PERMS=	/dev/null ${IRCD_HYBRID_FNAME_OPERLOG} \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 600
CONF_FILES_PERMS+=	/dev/null ${IRCD_HYBRID_FNAME_USERLOG} \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 600
.if ${IRCD_HYBRID_USE_LOGFILE} == "YES"
CONF_FILES_PERMS+=	/dev/null ${IRCD_HYBRID_LPATH} \
			${IRCD_HYBRID_IRC_USER} ${IRCD_HYBRID_IRC_GROUP} 600
d79 1
a79 15
post-build:
	${_PKG_SILENT}${_PKG_DEBUG}					\
		${CP} ${FILESDIR}/pkg-setup.txt ${WRKDIR}/pkg-setup.txt
.if ${IRCD_HYBRID_USE_SYSLOG} != "YES"
	${_PKG_SILENT}${_PKG_DEBUG}					\
		${MV} ${WRKDIR}/pkg-setup.txt ${WRKDIR}/.pkg-setup.txt
	${_PKG_SILENT}${_PKG_DEBUG}					\
		${SED} -e '/SYSLOG_FACILITY/d' ${WRKDIR}/.pkg-setup.txt	\
		> ${WRKDIR}/pkg-setup.txt
.endif
	${_PKG_SILENT}${_PKG_DEBUG}					\
		${MV} ${WRKDIR}/pkg-setup.txt ${WRKDIR}/.pkg-setup.txt
	${_PKG_SILENT}${_PKG_DEBUG}					\
		${SED} ${FILES_SUBST_SED} ${WRKDIR}/.pkg-setup.txt	\
		> ${WRKDIR}/pkg-setup.txt
d82 41
a122 5
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ircd-hybrid
	${INSTALL_DATA} ${WRKDIR}/pkg-setup.txt ${PREFIX}/share/doc/ircd-hybrid/pkg-setup.txt
	for f in operguide.txt opermyth.txt; do \
		${INSTALL_DATA} ${WRKDIR}/ircd-hybrid-6.2/doc/$$f  ${PREFIX}/share/doc/ircd-hybrid/$$f ; \
	done
a123 1
.include "../../devel/zlib/buildlink3.mk"
@


1.18
log
@Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/07/12 04:15:50 grant Exp $
d110 1
a110 1
PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}::IRC\\ User::${NOLOGIN}
@


1.17
log
@use ${NOLOGIN}, not hardcoded /sbin/nologin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/04/11 21:45:04 tv Exp $
d113 1
a113 1
SUPPORT_FILES=		${PREFIX}/share/examples/ircd-hybrid/opers.txt \
d115 1
a115 1
SUPPORT_FILES_PERMS=	/dev/null ${IRCD_HYBRID_FNAME_OPERLOG} \
d117 1
a117 1
SUPPORT_FILES_PERMS+=	/dev/null ${IRCD_HYBRID_FNAME_USERLOG} \
d120 1
a120 1
SUPPORT_FILES_PERMS+=	/dev/null ${IRCD_HYBRID_LPATH} \
@


1.16
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/03/31 01:23:14 seb Exp $
d110 1
a110 1
PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}::IRC\\ User::/sbin/nologin
@


1.16.2.1
log
@Pullup ticket 594 - requested by grant beattie
kill some hardcoded instances of /sbin/nologin

Revisions pulled up:
- pkgsrc/mail/exim/Makefile		1.58
- pkgsrc/mail/exim3/Makefile		1.20
- pkgsrc/chat/ircd-hybrid/Makefile	1.17
- pkgsrc/net/openntpd/Makefile		1.13
- pkgsrc/security/pflkm/Makefile	1.9
- pkgsrc/sysutils/dbus/Makefile		1.5

    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Tue Jul 12 04:07:41 UTC 2005

    Modified Files:
            pkgsrc/mail/exim: Makefile
            pkgsrc/mail/exim3: Makefile

    Log Message:
    use ${NOLOGIN}, not hardcoded /sbin/nologin. fixes install on Solaris
    and others.
----
    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Tue Jul 12 04:15:50 UTC 2005

    Modified Files:
            pkgsrc/chat/ircd-hybrid: Makefile
            pkgsrc/net/openntpd: Makefile
            pkgsrc/security/pflkm: Makefile
            pkgsrc/sysutils/dbus: Makefile

    Log Message:
    use ${NOLOGIN}, not hardcoded /sbin/nologin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/04/11 21:45:04 tv Exp $
d110 1
a110 1
PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}::IRC\\ User::${NOLOGIN}
@


1.15
log
@Relinquish stewardship. I do not use this IRC server anymore and I don't
have enough time to update the package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/12/28 02:47:41 reed Exp $
a15 1
USE_BUILDLINK3=		YES
@


1.14
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.13 2004/10/03 00:13:14 tv Exp $
d10 1
a10 1
MAINTAINER=	seb@@pbox.org
@


1.13
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.12 2004/04/27 20:51:10 reed Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.12
log
@Installation of the RCD_SCRIPTS rc.d script is done automatic
here. So don't install it twice.

(Anyways, ${PREFIX}/etc/rc.d is not the correct location; the
RCD_SCRIPTS uses ${RCD_SCRIPTS_EXAMPLEDIR}.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/04/11 16:08:55 snj Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.11
log
@Set USE_BUILDLINK3 to YES, don't define it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/04/11 05:51:24 snj Exp $
a141 1
	${INSTALL_SCRIPT} ${WRKDIR}/ircd-hybrid ${PREFIX}/etc/rc.d/ircd-hybrid
@


1.10
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/01/22 08:47:32 grant Exp $
d16 1
a16 1
USE_BUILDLINK3=		# defined
@


1.9
log
@whitespace fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/09/01 10:13:09 cjep Exp $
d16 1
a16 1
USE_BUILDLINK2=		# defined
d149 1
a149 1
.include "../../devel/zlib/buildlink2.mk"
@


1.8
log
@whitespace fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/08/12 13:38:54 grant Exp $
d45 1
a45 1
. ifdef ${def}
d47 1
a47 1
. endif
d51 1
a51 1
. ifdef ${def}
d53 1
a53 1
. endif
d87 1
a87 1
. ifdef ${def}
d89 1
a89 1
. endif
@


1.7
log
@s/Irc/IRC/ in COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/07/29 20:21:38 seb Exp $
d115 1
a115 1
			${IRCD_HYBRID_DPATH}/opers.txt	
@


1.6
log
@Follow the trend started by jmmv@@. Thanks Julio!

Remove IRCD_HYBRID_DPATH from bsd.pkg.defaults.mk and BUILD_DEFS,
set PKG_SYSCONFSUBDIR to 'ircd-hybrid' instead: the package builder is
now expected to adjust Ircd Hybrid configuration directory with
PKG_SYSCONFBASE(.${PKG_SYSCONFVAR}).

Replace local DOC_SUBST stuff with FILES_SUBST from bsd.pkg.install.mk.

Go with the previous PKGREVISION bump.

XXX Having the log files as SUPPORT_FILES is not optimal.
XXX I really should update this package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/07/29 17:26:00 jmmv Exp $
d12 1
a12 1
COMMENT=	Irc server with many options
@


1.5
log
@Convert to the bsd.pkg.install.mk framework to handle the daemon's user and
group, the creation of log files and automatic handling of the rc.d script.
Bump PKGREVISION to 1.  Ok'ed by seb@@, the maintainer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/06/19 16:21:08 grant Exp $
d19 3
d84 1
a84 1
	IRCD_HYBRID_NETWORK_NAME IRCD_HYBRID_NETWORK_DESC IRCD_HYBRID_DPATH \
a101 1
# tuning of "etc script"
d106 2
a107 10

# tuning of document file
DOC_SUBST=		PREFIX=${PREFIX}
DOC_SUBST+=		USER=${IRCD_HYBRID_IRC_USER}
DOC_SUBST+=		GROUP=${IRCD_HYBRID_IRC_GROUP}
DOC_SUBST+=		DPATH=${IRCD_HYBRID_DPATH}
DOC_SUBST+=		LPATH=${IRCD_HYBRID_LPATH}
DOC_SUBST+=		OPERLOG=${IRCD_HYBRID_FNAME_OPERLOG}
DOC_SUBST+=		USERLOG=${IRCD_HYBRID_FNAME_USERLOG}
DOC_SUBST+=		SYSLOG_FACILITY=${IRCD_HYBRID_SYSLOG_FACILITY}
d114 2
d126 2
a127 6
	${CP} ${FILESDIR}/pkg-setup.txt ${WRKDIR}/pkg-setup.txt
.if ${IRCD_HYBRID_USE_LOGFILE} != "YES"
	${MV} ${WRKDIR}/pkg-setup.txt ${WRKDIR}/.pkg-setup.txt
	${SED} -e '/LPATH/d' -e '/USERLOG/d' ${WRKDIR}/.pkg-setup.txt > ${WRKDIR}/pkg-setup.txt
	cp ${WRKDIR}/pkg-setup.txt ${WRKDIR}/pkg-setup.txt.1
.endif
d129 11
a139 7
	${MV} ${WRKDIR}/pkg-setup.txt ${WRKDIR}/.pkg-setup.txt
	${SED} -e '/SYSLOG_FACILITY/d' ${WRKDIR}/.pkg-setup.txt > ${WRKDIR}/pkg-setup.txt
	cp ${WRKDIR}/pkg-setup.txt ${WRKDIR}/pkg-setup.txt.2
.endif
	${MV} ${WRKDIR}/pkg-setup.txt ${WRKDIR}/.pkg-setup.txt
	${SED} ${DOC_SUBST:S/=/}!/:S/$/!g/:S/^/ -e s!\\\${/}\
		${WRKDIR}/.pkg-setup.txt > ${WRKDIR}/pkg-setup.txt
@


1.4
log
@drop some unneeded parens, indenting
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/10/10 09:40:07 wiz Exp $
d5 1
d17 1
a17 3

DEINSTALL_FILE=		${WRKDIR}/DEINSTALL
INSTALL_FILE=		${WRKDIR}/INSTALL
a98 33
# to handle user and group creation...
.if ${OPSYS} == "NetBSD"
.  if exists(/usr/sbin/user)
ADDUSER=		/usr/sbin/useradd
ADDGROUP=		/usr/sbin/groupadd
.  else
DEPENDS+=		user>=20000313:../../sysutils/user
ADDUSER=		${LOCALBASE}/sbin/useradd
ADDGROUP=		${LOCALBASE}/sbin/groupadd
.  endif
.elif ${OPSYS} == "SunOS"
ADDUSER=		useradd
ADDGROUP=		groupadd
.endif

# tuning of INSTALL and DEINSTALL scripts
INSTALL_SUBST+=		USER=${IRCD_HYBRID_IRC_USER}
INSTALL_SUBST+=		GROUP=${IRCD_HYBRID_IRC_GROUP}
INSTALL_SUBST+=		DPATH=${IRCD_HYBRID_DPATH}
INSTALL_SUBST+=		LPATH=${IRCD_HYBRID_LPATH}
INSTALL_SUBST+=		USERLOG=${IRCD_HYBRID_FNAME_USERLOG}
INSTALL_SUBST+=		OPERLOG=${IRCD_HYBRID_FNAME_OPERLOG}

INSTALL_SUBST+=		ADDUSER=${ADDUSER:Q}
INSTALL_SUBST+=		ADDGROUP=${ADDGROUP:Q}
INSTALL_SUBST+=		CAT=${CAT:Q}
INSTALL_SUBST+=		CHGRP=${CHGRP:Q}
INSTALL_SUBST+=		ID=${ID:Q}
INSTALL_SUBST+=		RM=${RM:Q}
INSTALL_SUBST+=		TOUCH=${TOUCH:Q}

INSTALL_SUBST_SED=	${INSTALL_SUBST:S/=/@@!/:S/$/!g/:S/^/ -e s!@@/}

d100 4
a103 10
SCRIPT_SUBST+=		PPATH=${IRCD_HYBRID_PPATH:Q}
SCRIPT_SUBST+=		SPATH=${IRCD_HYBRID_SPATH:Q}
SCRIPT_SUBST+=		USER=${IRCD_HYBRID_IRC_USER:Q}
SCRIPT_SUBST+=		DPATH=${IRCD_HYBRID_DPATH:Q}

SCRIPT_SUBST+=		TOUCH=${TOUCH:Q}
SCRIPT_SUBST+=		CHOWN=${CHOWN:Q}
SCRIPT_SUBST+=		CHMOD=${CHMOD:Q}

SCRIPT_SUBST_SED=	${SCRIPT_SUBST:S/=/@@!/:S/$/!g/:S/^/ -e s!@@/}
d115 14
a129 1
	${SED} ${SCRIPT_SUBST_SED} ${FILESDIR}/ircd-hybrid > ${WRKDIR}/ircd-hybrid
a143 5

pre-install:
	${SED} ${INSTALL_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
	${SED} ${INSTALL_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
@


1.3
log
@buildlink1 -> buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/05/12 10:16:45 abs Exp $
d22 1
a22 1
.if (${IRCD_HYBRID_SMALL_NET} == "YES")
d59 1
a59 1
.if (${IRCD_HYBRID_USE_SYSLOG} == "YES")
d63 1
a63 1
.if (${IRCD_HYBRID_USE_LOGFILE} == "YES")
d95 1
a95 1
.if (${IRCD_HYBRID_USE_LOGFILE} == "YES")
d102 1
a102 1
.if exists(/usr/sbin/user)
d105 1
a105 1
.else
d109 1
a109 1
.endif
d158 1
a158 1
.if (${IRCD_HYBRID_USE_LOGFILE} != "YES")
d163 1
a163 1
.if (${IRCD_HYBRID_USE_SYSLOG} != "YES")
@


1.2
log
@prdownloads.sourceforge.net is no longer any use.
Switch to MASTER_SITE_SOURCEFORGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2001/10/21 21:26:51 seb Exp $
d15 1
a15 1
USE_BUILDLINK_ONLY=	# defined
d185 1
a185 1
.include "../../devel/zlib/buildlink.mk"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d6 1
a6 1
MASTER_SITES=	http://prdownloads.sourceforge.net/ircd-hybrid/
@


1.1.1.1
log
@Added ircd-hybrid version 6.2, an IRC daemon.
@
text
@@


1.1.1.1.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/05/12 10:16:45 abs Exp $
d6 1
a6 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
@

