head	1.147;
access;
symbols
	pkgsrc-2026Q1:1.144.0.2
	pkgsrc-2026Q1-base:1.144
	pkgsrc-2025Q4:1.142.0.28
	pkgsrc-2025Q4-base:1.142
	pkgsrc-2025Q3:1.142.0.26
	pkgsrc-2025Q3-base:1.142
	pkgsrc-2025Q2:1.142.0.24
	pkgsrc-2025Q2-base:1.142
	pkgsrc-2025Q1:1.142.0.22
	pkgsrc-2025Q1-base:1.142
	pkgsrc-2024Q4:1.142.0.20
	pkgsrc-2024Q4-base:1.142
	pkgsrc-2024Q3:1.142.0.18
	pkgsrc-2024Q3-base:1.142
	pkgsrc-2024Q2:1.142.0.16
	pkgsrc-2024Q2-base:1.142
	pkgsrc-2024Q1:1.142.0.14
	pkgsrc-2024Q1-base:1.142
	pkgsrc-2023Q4:1.142.0.12
	pkgsrc-2023Q4-base:1.142
	pkgsrc-2023Q3:1.142.0.10
	pkgsrc-2023Q3-base:1.142
	pkgsrc-2023Q2:1.142.0.8
	pkgsrc-2023Q2-base:1.142
	pkgsrc-2023Q1:1.142.0.6
	pkgsrc-2023Q1-base:1.142
	pkgsrc-2022Q4:1.142.0.4
	pkgsrc-2022Q4-base:1.142
	pkgsrc-2022Q3:1.142.0.2
	pkgsrc-2022Q3-base:1.142
	pkgsrc-2022Q2:1.141.0.2
	pkgsrc-2022Q2-base:1.141
	pkgsrc-2022Q1:1.140.0.4
	pkgsrc-2022Q1-base:1.140
	pkgsrc-2021Q4:1.140.0.2
	pkgsrc-2021Q4-base:1.140
	pkgsrc-2021Q3:1.138.0.4
	pkgsrc-2021Q3-base:1.138
	pkgsrc-2021Q2:1.138.0.2
	pkgsrc-2021Q2-base:1.138
	pkgsrc-2021Q1:1.137.0.6
	pkgsrc-2021Q1-base:1.137
	pkgsrc-2020Q4:1.137.0.4
	pkgsrc-2020Q4-base:1.137
	pkgsrc-2020Q3:1.137.0.2
	pkgsrc-2020Q3-base:1.137
	pkgsrc-2020Q2:1.136.0.6
	pkgsrc-2020Q2-base:1.136
	pkgsrc-2020Q1:1.136.0.2
	pkgsrc-2020Q1-base:1.136
	pkgsrc-2019Q4:1.136.0.4
	pkgsrc-2019Q4-base:1.136
	pkgsrc-2019Q3:1.135.0.2
	pkgsrc-2019Q3-base:1.135
	pkgsrc-2019Q2:1.133.0.6
	pkgsrc-2019Q2-base:1.133
	pkgsrc-2019Q1:1.133.0.4
	pkgsrc-2019Q1-base:1.133
	pkgsrc-2018Q4:1.133.0.2
	pkgsrc-2018Q4-base:1.133
	pkgsrc-2018Q3:1.127.0.2
	pkgsrc-2018Q3-base:1.127
	pkgsrc-2018Q2:1.126.0.10
	pkgsrc-2018Q2-base:1.126
	pkgsrc-2018Q1:1.126.0.8
	pkgsrc-2018Q1-base:1.126
	pkgsrc-2017Q4:1.126.0.6
	pkgsrc-2017Q4-base:1.126
	pkgsrc-2017Q3:1.126.0.4
	pkgsrc-2017Q3-base:1.126
	pkgsrc-2017Q2:1.125.0.4
	pkgsrc-2017Q2-base:1.125
	pkgsrc-2017Q1:1.125.0.2
	pkgsrc-2017Q1-base:1.125
	pkgsrc-2016Q4:1.122.0.4
	pkgsrc-2016Q4-base:1.122
	pkgsrc-2016Q3:1.122.0.2
	pkgsrc-2016Q3-base:1.122
	pkgsrc-2016Q2:1.121.0.4
	pkgsrc-2016Q2-base:1.121
	pkgsrc-2016Q1:1.121.0.2
	pkgsrc-2016Q1-base:1.121
	pkgsrc-2015Q4:1.120.0.6
	pkgsrc-2015Q4-base:1.120
	pkgsrc-2015Q3:1.120.0.4
	pkgsrc-2015Q3-base:1.120
	pkgsrc-2015Q2:1.120.0.2
	pkgsrc-2015Q2-base:1.120
	pkgsrc-2015Q1:1.119.0.2
	pkgsrc-2015Q1-base:1.119
	pkgsrc-2014Q4:1.118.0.2
	pkgsrc-2014Q4-base:1.118
	pkgsrc-2014Q3:1.117.0.2
	pkgsrc-2014Q3-base:1.117
	pkgsrc-2014Q2:1.116.0.2
	pkgsrc-2014Q2-base:1.116
	pkgsrc-2014Q1:1.115.0.2
	pkgsrc-2014Q1-base:1.115
	pkgsrc-2013Q4:1.114.0.6
	pkgsrc-2013Q4-base:1.114
	pkgsrc-2013Q3:1.114.0.4
	pkgsrc-2013Q3-base:1.114
	pkgsrc-2013Q2:1.114.0.2
	pkgsrc-2013Q2-base:1.114
	pkgsrc-2013Q1:1.113.0.4
	pkgsrc-2013Q1-base:1.113
	pkgsrc-2012Q4:1.113.0.2
	pkgsrc-2012Q4-base:1.113
	pkgsrc-2012Q3:1.111.0.10
	pkgsrc-2012Q3-base:1.111
	pkgsrc-2012Q2:1.111.0.8
	pkgsrc-2012Q2-base:1.111
	pkgsrc-2012Q1:1.111.0.6
	pkgsrc-2012Q1-base:1.111
	pkgsrc-2011Q4:1.111.0.4
	pkgsrc-2011Q4-base:1.111
	pkgsrc-2011Q3:1.111.0.2
	pkgsrc-2011Q3-base:1.111
	pkgsrc-2011Q2:1.110.0.2
	pkgsrc-2011Q2-base:1.110
	pkgsrc-2011Q1:1.109.0.2
	pkgsrc-2011Q1-base:1.109
	pkgsrc-2010Q4:1.108.0.6
	pkgsrc-2010Q4-base:1.108
	pkgsrc-2010Q3:1.108.0.4
	pkgsrc-2010Q3-base:1.108
	pkgsrc-2010Q2:1.108.0.2
	pkgsrc-2010Q2-base:1.108
	pkgsrc-2010Q1:1.103.0.2
	pkgsrc-2010Q1-base:1.103
	pkgsrc-2009Q4:1.102.0.4
	pkgsrc-2009Q4-base:1.102
	pkgsrc-2009Q3:1.102.0.2
	pkgsrc-2009Q3-base:1.102
	pkgsrc-2009Q2:1.101.0.2
	pkgsrc-2009Q2-base:1.101
	pkgsrc-2009Q1:1.98.0.12
	pkgsrc-2009Q1-base:1.98
	pkgsrc-2008Q4:1.98.0.10
	pkgsrc-2008Q4-base:1.98
	pkgsrc-2008Q3:1.98.0.8
	pkgsrc-2008Q3-base:1.98
	cube-native-xorg:1.98.0.6
	cube-native-xorg-base:1.98
	pkgsrc-2008Q2:1.98.0.4
	pkgsrc-2008Q2-base:1.98
	cwrapper:1.98.0.2
	pkgsrc-2008Q1:1.94.0.4
	pkgsrc-2008Q1-base:1.94
	pkgsrc-2007Q4:1.94.0.2
	pkgsrc-2007Q4-base:1.94
	pkgsrc-2007Q3:1.93.0.2
	pkgsrc-2007Q3-base:1.93
	pkgsrc-2007Q2:1.92.0.2
	pkgsrc-2007Q2-base:1.92
	pkgsrc-2007Q1:1.91.0.2
	pkgsrc-2007Q1-base:1.91
	pkgsrc-2006Q4:1.88.0.4
	pkgsrc-2006Q4-base:1.88
	pkgsrc-2006Q3:1.88.0.2
	pkgsrc-2006Q3-base:1.88
	pkgsrc-2006Q2:1.87.0.6
	pkgsrc-2006Q2-base:1.87
	pkgsrc-2006Q1:1.87.0.4
	pkgsrc-2006Q1-base:1.87
	pkgsrc-2005Q4:1.87.0.2
	pkgsrc-2005Q4-base:1.87
	pkgsrc-2005Q3:1.86.0.2
	pkgsrc-2005Q3-base:1.86
	pkgsrc-2005Q2:1.85.0.2
	pkgsrc-2005Q2-base:1.85
	pkgsrc-2005Q1:1.81.0.2
	pkgsrc-2005Q1-base:1.81
	pkgsrc-2004Q4:1.80.0.2
	pkgsrc-2004Q4-base:1.80
	pkgsrc-2004Q3:1.76.0.2
	pkgsrc-2004Q3-base:1.76
	pkgsrc-2004Q2:1.75.0.2
	pkgsrc-2004Q2-base:1.75
	pkgsrc-2004Q1:1.74.0.2
	pkgsrc-2004Q1-base:1.74
	pkgsrc-2003Q4:1.68.0.2
	pkgsrc-2003Q4-base:1.68
	netbsd-1-6-1:1.58.0.2
	netbsd-1-6-1-base:1.58
	netbsd-1-6:1.55.0.6
	netbsd-1-6-RELEASE-base:1.55
	pkgviews:1.55.0.2
	pkgviews-base:1.55
	buildlink2:1.53.0.2
	buildlink2-base:1.54
	netbsd-1-5-PATCH003:1.51
	netbsd-1-5-PATCH001:1.42
	netbsd-1-5-RELEASE:1.32
	netbsd-1-4-PATCH003:1.32
	netbsd-1-4-PATCH002:1.26
	comdex-fall-1999:1.23
	netbsd-1-4-PATCH001:1.22
	netbsd-1-4-RELEASE:1.16
	netbsd-1-3-PATCH003:1.8
	netbsd-1-3-PATCH002:1.4;
locks; strict;
comment	@# @;


1.147
date	2026.04.24.01.03.30;	author gutteridge;	state Exp;
branches;
next	1.146;
commitid	k5hFgCRO95Kyf9DG;

1.146
date	2026.04.19.08.56.32;	author wiz;	state Exp;
branches;
next	1.145;
commitid	yb2UqHSUHS732yCG;

1.145
date	2026.04.19.08.55.59;	author wiz;	state Exp;
branches;
next	1.144;
commitid	OCoLkigAtMmI1yCG;

1.144
date	2025.12.26.08.59.48;	author kim;	state Exp;
branches;
next	1.143;
commitid	pARvCTMLcQmiITnG;

1.143
date	2025.12.26.08.20.59;	author kim;	state Exp;
branches;
next	1.142;
commitid	mGXSCyOYFpmSuTnG;

1.142
date	2022.06.28.11.35.58;	author wiz;	state Exp;
branches;
next	1.141;
commitid	D2UoJrTHpoHEANJD;

1.141
date	2022.05.25.09.33.37;	author tnn;	state Exp;
branches;
next	1.140;
commitid	JnTrWgbOon7C2qFD;

1.140
date	2021.11.11.00.49.34;	author gutteridge;	state Exp;
branches;
next	1.139;
commitid	gPKdZl4LyLl5pjgD;

1.139
date	2021.09.29.13.33.38;	author tnn;	state Exp;
branches;
next	1.138;
commitid	6zR3fdv5Z1yh1RaD;

1.138
date	2021.05.24.19.54.12;	author wiz;	state Exp;
branches;
next	1.137;
commitid	qokaiStTApGMcrUC;

1.137
date	2020.08.31.18.11.29;	author wiz;	state Exp;
branches;
next	1.136;
commitid	7zxRbfOkDOoxbfmC;

1.136
date	2019.11.04.21.28.48;	author rillig;	state Exp;
branches;
next	1.135;
commitid	P8zvC5DaquV1ZzJB;

1.135
date	2019.09.18.18.30.54;	author tnn;	state Exp;
branches;
next	1.134;
commitid	71gd4TSPDJugvwDB;

1.134
date	2019.08.11.13.23.09;	author wiz;	state Exp;
branches;
next	1.133;
commitid	Ifet9Pg6Qt99ZByB;

1.133
date	2018.12.21.07.06.03;	author wiz;	state Exp;
branches;
next	1.132;
commitid	r7y457d6Bit8rD4B;

1.132
date	2018.12.09.09.33.36;	author triaxx;	state Exp;
branches;
next	1.131;
commitid	lHFQSRWB9zAbD63B;

1.131
date	2018.12.09.07.14.03;	author triaxx;	state Exp;
branches;
next	1.130;
commitid	qNi8kSqLBLdOR53B;

1.130
date	2018.12.08.17.12.37;	author triaxx;	state Exp;
branches;
next	1.129;
commitid	U8Ay0Nlsp08jc13B;

1.129
date	2018.12.08.09.10.59;	author triaxx;	state Exp;
branches;
next	1.128;
commitid	eW0yryNBk1IMxY2B;

1.128
date	2018.10.27.11.46.04;	author tron;	state Exp;
branches;
next	1.127;
commitid	1Yj90HRgTsCfKAXA;

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

1.126
date	2017.08.16.20.21.14;	author wiz;	state Exp;
branches;
next	1.125;
commitid	rqudPoPPU2GmEt3A;

1.125
date	2017.02.12.11.08.13;	author wiz;	state Exp;
branches;
next	1.124;
commitid	aKNLV0eC3U1lxEFz;

1.124
date	2017.02.11.15.25.38;	author rodent;	state Exp;
branches;
next	1.123;
commitid	V4o2905YLnTvZxFz;

1.123
date	2017.01.19.18.52.26;	author agc;	state Exp;
branches;
next	1.122;
commitid	ufZDMu4cgHZdRBCz;

1.122
date	2016.07.09.06.39.01;	author wiz;	state Exp;
branches;
next	1.121;
commitid	dlqnocGpOoXV2Cdz;

1.121
date	2015.12.29.12.42.57;	author bsiegert;	state Exp;
branches;
next	1.120;
commitid	qAC1hqgXQu5kgQOy;

1.120
date	2015.06.12.10.51.14;	author wiz;	state Exp;
branches;
next	1.119;
commitid	B4JmCfaVUbiY38py;

1.119
date	2015.02.26.17.31.23;	author tnn;	state Exp;
branches;
next	1.118;
commitid	NFSju8bSV6szGxby;

1.118
date	2014.10.09.14.06.58;	author wiz;	state Exp;
branches;
next	1.117;
commitid	fBDATFVmQ3454xTx;

1.117
date	2014.08.19.13.30.53;	author hauke;	state Exp;
branches;
next	1.116;
commitid	0nCxGCOZ88tQuYMx;

1.116
date	2014.05.29.23.37.29;	author wiz;	state Exp;
branches;
next	1.115;
commitid	laryHfkCalgYtuCx;

1.115
date	2014.03.27.19.26.40;	author ryoon;	state Exp;
branches;
next	1.114;
commitid	0szsSrDDPuoV8nux;

1.114
date	2013.05.31.12.42.01;	author wiz;	state Exp;
branches;
next	1.113;
commitid	hIeXGcx6VfKHwMRw;

1.113
date	2012.10.23.19.51.11;	author asau;	state Exp;
branches;
next	1.112;

1.112
date	2012.10.03.21.57.39;	author wiz;	state Exp;
branches;
next	1.111;

1.111
date	2011.09.03.12.32.32;	author christos;	state Exp;
branches;
next	1.110;

1.110
date	2011.06.20.10.19.54;	author tron;	state Exp;
branches;
next	1.109;

1.109
date	2011.03.21.00.22.02;	author jym;	state Exp;
branches;
next	1.108;

1.108
date	2010.05.14.19.01.11;	author tez;	state Exp;
branches;
next	1.107;

1.107
date	2010.05.10.08.21.41;	author sbd;	state Exp;
branches;
next	1.106;

1.106
date	2010.04.30.07.30.28;	author sbd;	state Exp;
branches;
next	1.105;

1.105
date	2010.04.30.07.27.16;	author sbd;	state Exp;
branches;
next	1.104;

1.104
date	2010.04.30.06.53.06;	author sbd;	state Exp;
branches;
next	1.103;

1.103
date	2010.03.21.16.29.43;	author wiz;	state Exp;
branches;
next	1.102;

1.102
date	2009.08.11.20.53.06;	author apb;	state Exp;
branches;
next	1.101;

1.101
date	2009.05.30.11.10.56;	author zafer;	state Exp;
branches;
next	1.100;

1.100
date	2009.05.30.01.55.00;	author zafer;	state Exp;
branches;
next	1.99;

1.99
date	2009.05.01.12.56.50;	author apb;	state Exp;
branches;
next	1.98;

1.98
date	2008.05.29.16.52.59;	author tnn;	state Exp;
branches;
next	1.97;

1.97
date	2008.05.26.02.13.23;	author joerg;	state Exp;
branches;
next	1.96;

1.96
date	2008.05.17.23.53.29;	author christos;	state Exp;
branches;
next	1.95;

1.95
date	2008.04.26.11.54.24;	author apb;	state Exp;
branches;
next	1.94;

1.94
date	2007.12.17.12.15.59;	author tron;	state Exp;
branches;
next	1.93;

1.93
date	2007.08.14.19.59.17;	author veego;	state Exp;
branches;
next	1.92;

1.92
date	2007.05.06.21.41.30;	author christos;	state Exp;
branches;
next	1.91;

1.91
date	2007.03.18.12.19.49;	author wiz;	state Exp;
branches;
next	1.90;

1.90
date	2007.03.14.11.36.25;	author markd;	state Exp;
branches;
next	1.89;

1.89
date	2007.01.07.09.14.12;	author rillig;	state Exp;
branches;
next	1.88;

1.88
date	2006.09.26.13.14.03;	author dsainty;	state Exp;
branches;
next	1.87;

1.87
date	2005.12.05.20.51.01;	author rillig;	state Exp;
branches;
next	1.86;

1.86
date	2005.09.13.20.18.27;	author christos;	state Exp;
branches;
next	1.85;

1.85
date	2005.05.17.04.45.08;	author atatat;	state Exp;
branches;
next	1.84;

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

1.83
date	2005.05.16.01.15.33;	author jlam;	state Exp;
branches;
next	1.82;

1.82
date	2005.04.11.21.47.25;	author tv;	state Exp;
branches;
next	1.81;

1.81
date	2005.01.17.14.54.01;	author atatat;	state Exp;
branches;
next	1.80;

1.80
date	2004.11.30.02.02.13;	author atatat;	state Exp;
branches;
next	1.79;

1.79
date	2004.11.28.22.39.07;	author atatat;	state Exp;
branches;
next	1.78;

1.78
date	2004.10.21.13.09.20;	author atatat;	state Exp;
branches;
next	1.77;

1.77
date	2004.10.19.13.10.47;	author atatat;	state Exp;
branches;
next	1.76;

1.76
date	2004.07.13.13.42.41;	author atatat;	state Exp;
branches;
next	1.75;

1.75
date	2004.04.29.04.19.22;	author atatat;	state Exp;
branches;
next	1.74;

1.74
date	2004.03.12.14.31.37;	author atatat;	state Exp;
branches;
next	1.73;

1.73
date	2004.01.20.12.26.15;	author agc;	state Exp;
branches;
next	1.72;

1.72
date	2004.01.17.19.37.35;	author atatat;	state Exp;
branches;
next	1.71;

1.71
date	2004.01.17.19.31.30;	author atatat;	state Exp;
branches;
next	1.70;

1.70
date	2004.01.13.02.50.27;	author atatat;	state Exp;
branches;
next	1.69;

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

1.68
date	2003.11.22.23.19.47;	author christos;	state Exp;
branches;
next	1.67;

1.67
date	2003.10.05.07.26.11;	author veego;	state Exp;
branches;
next	1.66;

1.66
date	2003.08.13.13.24.15;	author atatat;	state Exp;
branches;
next	1.65;

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

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

1.63
date	2003.06.19.03.09.37;	author atatat;	state Exp;
branches;
next	1.62;

1.62
date	2003.05.04.10.28.30;	author salo;	state Exp;
branches;
next	1.61;

1.61
date	2003.05.03.16.55.28;	author atatat;	state Exp;
branches;
next	1.60;

1.60
date	2003.04.10.20.10.20;	author grant;	state Exp;
branches;
next	1.59;

1.59
date	2003.03.27.14.13.26;	author atatat;	state Exp;
branches;
next	1.58;

1.58
date	2003.02.03.01.03.14;	author atatat;	state Exp;
branches;
next	1.57;

1.57
date	2002.12.22.20.04.30;	author atatat;	state Exp;
branches;
next	1.56;

1.56
date	2002.10.12.03.13.39;	author atatat;	state Exp;
branches;
next	1.55;

1.55
date	2002.06.26.20.11.29;	author atatat;	state Exp;
branches;
next	1.54;

1.54
date	2002.05.29.14.33.35;	author yyamano;	state Exp;
branches;
next	1.53;

1.53
date	2002.04.24.17.48.29;	author atatat;	state Exp;
branches
	1.53.2.1;
next	1.52;

1.52
date	2002.04.15.15.23.19;	author christos;	state Exp;
branches;
next	1.51;

1.51
date	2002.03.03.23.45.41;	author hubertf;	state Exp;
branches;
next	1.50;

1.50
date	2002.01.23.01.34.36;	author atatat;	state Exp;
branches;
next	1.49;

1.49
date	2001.12.21.21.26.05;	author atatat;	state Exp;
branches;
next	1.48;

1.48
date	2001.10.22.12.39.17;	author atatat;	state Exp;
branches;
next	1.47;

1.47
date	2001.10.09.13.57.46;	author atatat;	state Exp;
branches;
next	1.46;

1.46
date	2001.09.29.06.18.10;	author tron;	state Exp;
branches;
next	1.45;

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

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

1.43
date	2001.05.14.15.39.30;	author atatat;	state Exp;
branches;
next	1.42;

1.42
date	2001.05.04.21.08.25;	author atatat;	state Exp;
branches;
next	1.41;

1.41
date	2001.05.04.19.07.40;	author atatat;	state Exp;
branches;
next	1.40;

1.40
date	2001.04.30.14.37.23;	author agc;	state Exp;
branches;
next	1.39;

1.39
date	2001.03.07.16.07.31;	author agc;	state Exp;
branches;
next	1.38;

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

1.37
date	2001.02.28.15.07.41;	author atatat;	state Exp;
branches;
next	1.36;

1.36
date	2001.02.25.04.18.15;	author hubertf;	state Exp;
branches;
next	1.35;

1.35
date	2001.02.17.17.42.15;	author wiz;	state Exp;
branches;
next	1.34;

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

1.33
date	2000.12.05.18.56.44;	author drochner;	state Exp;
branches;
next	1.32;

1.32
date	2000.08.25.00.51.21;	author wiz;	state Exp;
branches;
next	1.31;

1.31
date	2000.06.30.23.28.18;	author wiz;	state Exp;
branches;
next	1.30;

1.30
date	2000.06.28.00.40.44;	author wiz;	state Exp;
branches;
next	1.29;

1.29
date	2000.04.06.13.17.09;	author wiz;	state Exp;
branches;
next	1.28;

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

1.27
date	2000.03.16.14.02.26;	author wiz;	state Exp;
branches;
next	1.26;

1.26
date	2000.02.22.23.29.21;	author wiz;	state Exp;
branches;
next	1.25;

1.25
date	2000.02.19.03.58.23;	author wiz;	state Exp;
branches;
next	1.24;

1.24
date	99.11.14.17.51.24;	author frueauf;	state Exp;
branches;
next	1.23;

1.23
date	99.07.30.21.56.57;	author tron;	state Exp;
branches;
next	1.22;

1.22
date	99.07.08.08.06.59;	author agc;	state Exp;
branches;
next	1.21;

1.21
date	99.07.07.18.13.56;	author agc;	state Exp;
branches;
next	1.20;

1.20
date	99.06.25.02.41.14;	author hubertf;	state Exp;
branches;
next	1.19;

1.19
date	99.06.02.16.14.53;	author christos;	state Exp;
branches;
next	1.18;

1.18
date	99.05.05.17.40.36;	author bad;	state Exp;
branches;
next	1.17;

1.17
date	99.05.05.16.40.20;	author bad;	state Exp;
branches;
next	1.16;

1.16
date	99.04.21.10.38.58;	author agc;	state Exp;
branches;
next	1.15;

1.15
date	99.04.01.14.07.56;	author agc;	state Exp;
branches;
next	1.14;

1.14
date	99.03.28.17.29.53;	author christos;	state Exp;
branches;
next	1.13;

1.13
date	99.02.18.23.09.45;	author frueauf;	state Exp;
branches;
next	1.12;

1.12
date	99.02.17.05.34.32;	author erh;	state Exp;
branches;
next	1.11;

1.11
date	99.01.01.01.56.51;	author frueauf;	state Exp;
branches;
next	1.10;

1.10
date	98.11.18.13.04.24;	author hubertf;	state Exp;
branches;
next	1.9;

1.9
date	98.09.28.10.57.38;	author frueauf;	state Exp;
branches;
next	1.8;

1.8
date	98.08.20.15.17.27;	author tsarna;	state Exp;
branches;
next	1.7;

1.7
date	98.08.14.20.52.38;	author frueauf;	state Exp;
branches;
next	1.6;

1.6
date	98.06.22.13.09.51;	author agc;	state Exp;
branches;
next	1.5;

1.5
date	98.06.11.16.25.31;	author frueauf;	state Exp;
branches;
next	1.4;

1.4
date	98.05.03.22.37.18;	author frueauf;	state Exp;
branches;
next	1.3;

1.3
date	98.04.15.10.38.49;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.04.02.09.35.38;	author frueauf;	state Exp;
branches;
next	1.1;

1.1
date	98.04.01.15.02.36;	author frueauf;	state Exp;
branches;
next	;

1.53.2.1
date	2002.06.23.19.00.20;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.147
log
@lsof: bump PKGREVISION for binary change
@
text
@# $NetBSD: Makefile,v 1.146 2026/04/19 08:56:32 wiz Exp $

DISTNAME=		lsof_4.91
PKGNAME=		${DISTNAME:S/_/-/}
PKGREVISION=		9
CATEGORIES=		sysutils
MASTER_SITES=		ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
MASTER_SITES+=		ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
MASTER_SITES+=		ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
MASTER_SITES+=		ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/OLD/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://people.freebsd.org/~abe/
COMMENT=		Lists information about open files
LICENSE=		purdue

WRKSRC=			${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
HAS_CONFIGURE=		yes
CONFIGURE_SCRIPT=	./Configure
CONFIGURE_ARGS+=	-n ${LOWER_OPSYS}
CONFIGURE_ENV+=		LSOF_CC="${CC} ${CFLAGS} ${LDFLAGS}"
MAKE_FLAGS+=		LSOF_BLDCMT="NetBSD pkgsrc rocks!"
OSVERSION_SPECIFIC=	yes
EXTRACT_USING=		bsdtar

TMPWRK=			${WRKDIR}/${DISTNAME}
SRCBALL_NAME=		${DISTNAME}_src

REPLACE_PERL+=	scripts/sort_res.perl5 scripts/count_pf.perl5 \
		scripts/list_NULf.perl5 scripts/big_brother.perl5 \
		scripts/identd.perl5 scripts/shared.perl5 \
		scripts/idrlogin.perl5 scripts/count_pf.perl \
		scripts/idrlogin.perl scripts/list_fields.perl \
		scripts/watch_a_file.perl
REPLACE_AWK+=	scripts/xusers.awk
USE_TOOLS+=	digest perl:run

TEST_DIRS=		tests
TEST_TARGET=		test
INTERACTIVE_STAGE+=	test

.include "../../mk/compiler.mk"
.if ${CC_VERSION:Mgcc-1[45]*}
CFLAGS+=		-Wno-implicit-function-declaration
.endif

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

REAL_GROUP=			${REAL_ROOT_GROUP}
.if ${OPSYS} == "NetBSD"
REAL_GROUP=			kmem
CONFIGURE_ENV+=			NETBSD_SYS="${NETBSDSRCDIR}/sys"
CPPFLAGS+=			-D_KMEMUSER -D__NAMECACHE_PRIVATE
.elif ${OPSYS} == "FreeBSD"
BUILDLINK_PASSTHRU_DIRS+=	/usr/src/sys
.elif ${OPSYS} == "SunOS"
REAL_GROUP=			sys
MAKE_ENV+=			CPPFLAGS=
CONFIGURE_ENV+=			LSOF_RANLIB="/bin/true"
.endif
INSTALLATION_DIRS+=		sbin ${PKGMANDIR}/man8 share/doc/lsof share/examples/lsof

post-extract:
.if ${OPSYS} == "FreeBSD"
	if [ ! -x /usr/src/sys ]; then \
		${ECHO} "Lsof requires kernel sources to be found in /usr/src/sys." ; \
		exit 1 ; \
	fi
.endif
	cd ${TMPWRK} ; \
	EXPMD5=`${GREP} 'MD5 (' README.${DISTNAME} | ${SED} 's/^[ ]*//'` ; \
	CALCMD5=`${DIGEST} MD5 ${SRCBALL_NAME}.tar` ; \
	if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
		${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
		exit 1 ; \
	fi ; \
	${TOOLS_PATH.bsdtar} -xf ${SRCBALL_NAME}.tar
	cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1
	${CP} ${FILESDIR}/rnmt.c ${WRKSRC}/lib/rnmt.c

SPECIAL_PERMS+=		${PREFIX}/sbin/lsof ${REAL_ROOT_USER} ${REAL_GROUP} 2755

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${DESTDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/lsof.8 \
	  ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/lsof.8
	${INSTALL_DATA} ${WRKSRC}/00* ${DESTDIR}${PREFIX}/share/doc/lsof
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/lsof
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.perl* \
	  ${DESTDIR}${PREFIX}/share/examples/lsof
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/xusers.awk \
	  ${DESTDIR}${PREFIX}/share/examples/lsof
	${INSTALL_DATA} ${WRKSRC}/scripts/list_fields.awk \
	  ${DESTDIR}${PREFIX}/share/examples/lsof
	${INSTALL_DATA} ${WRKSRC}/scripts/00* \
	  ${DESTDIR}${PREFIX}/share/examples/lsof

.PHONY: opt
opt:
.for dir in ${TEST_DIRS}
	${RUN}${_ULIMIT_CMD}			\
	cd ${WRKSRC} && cd ${dir} &&		\
	${TEST_MAKE_CMD} opt
.endfor
.include "../../mk/bsd.pkg.mk"
@


1.146
log
@lsof: fix pkglint
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.145 2026/04/19 08:55:59 wiz Exp $
d5 1
a5 1
PKGREVISION=		8
@


1.145
log
@lsof: fix pointer/value confusion

Now writes the full file path names in the NAME column again.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.144 2025/12/26 08:59:48 kim Exp $
d44 1
a44 1
.if !empty(CC_VERSION:Mgcc-1[45]*)
@


1.144
log
@Work around gcc14 slighly more pleasingly to the eye
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.143 2025/12/26 08:20:59 kim Exp $
d5 1
a5 1
PKGREVISION=		7
@


1.143
log
@Work around gcc14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.142 2022/06/28 11:35:58 wiz Exp $
d44 1
a44 1
.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
@


1.142
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.141 2022/05/25 09:33:37 tnn Exp $
d43 5
@


1.141
log
@lsof: support kmem grovelling of current-era NetBSD rbtree kernel namecache
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.140 2021/11/11 00:49:34 gutteridge Exp $
d5 1
a5 1
PKGREVISION=		6
@


1.140
log
@lsof: update to match NetBSD 8.x, 9.x, and 9.99.x
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.139 2021/09/29 13:33:38 tnn Exp $
d5 1
a5 1
PKGREVISION=		5
d77 1
@


1.139
log
@lsof: fix RELRO build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.138 2021/05/24 19:54:12 wiz Exp $
d5 1
a5 1
PKGREVISION=		4
@


1.138
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.137 2020/08/31 18:11:29 wiz Exp $
d22 1
a22 1
CONFIGURE_ENV+=		LSOF_CC="${CC} ${CFLAGS}"
@


1.137
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.136 2019/11/04 21:28:48 rillig Exp $
d5 1
a5 1
PKGREVISION=		3
@


1.136
log
@sysutils: align variable assignments

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

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.135 2019/09/18 18:30:54 tnn Exp $
d5 1
a5 1
PKGREVISION=		2
@


1.135
log
@lsof: needs -D__NAMECACHE_PRIVATE for "struct namecache" on -current

This only fixes the build, path names still seem to be somewhat broken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.134 2019/08/11 13:23:09 wiz Exp $
d46 1
a46 1
REAL_GROUP=		${REAL_ROOT_GROUP}
d48 3
a50 3
REAL_GROUP=		kmem
CONFIGURE_ENV+=		NETBSD_SYS="${NETBSDSRCDIR}/sys"
CPPFLAGS+=		-D_KMEMUSER -D__NAMECACHE_PRIVATE
d54 3
a56 3
REAL_GROUP=		sys
MAKE_ENV+=		CPPFLAGS=
CONFIGURE_ENV+=		LSOF_RANLIB="/bin/true"
d58 1
a58 1
INSTALLATION_DIRS+=	sbin ${PKGMANDIR}/man8 share/doc/lsof share/examples/lsof
@


1.134
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.133 2018/12/21 07:06:03 wiz Exp $
d50 1
a50 1
CPPFLAGS+=		-D_KMEMUSER
@


1.133
log
@lsof: fix two pkglint warnings
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.132 2018/12/09 09:33:36 triaxx Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.132
log
@lsof: bump revision

* fix a warning in installation process
* install scripts in share/examples
* install doc in share/doc
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.131 2018/12/09 07:14:03 triaxx Exp $
d5 1
a5 1
PKGREVISION=		1	
d95 1
@


1.131
log
@lsof: trivial changes to Makefile to appease pkglint
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.130 2018/12/08 17:12:37 triaxx Exp $
d5 1
d36 1
d58 1
a58 1
INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin
a77 1
INSTALLATION_DIRS+=	sbin ${PKGMANDIR}/man8 share/lsof
d84 10
a93 2
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${DESTDIR}${PREFIX}/share/lsof
	${CHMOD} 0444 ${DESTDIR}${PREFIX}/share/lsof/00*
@


1.130
log
@lsof: update to 4.91

o Change license to purdue (renamed from abell-94)
o ChangeLog:
4.90    February 14, 2018

    !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !                                                        !
    !   It is likely that this is the last lsof revision I   !
    !   will issue, unless serious bugs are detected,  Stay  !
    !   tuned to lsof-l for information about future support !
    !   of lsof.                                             !
    !                                                        !
    !   I thank all the many contributors to lsof over the   !
    !   many years (20+?) I have been distributing lsof      !
    !   versions 1, 2, 3 and 4.                              !
    !                                                        !
    !   Vic Abell <abe@@purdue.edu>                           !
    !                                                        !
    !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Taught the Configure script to create a dummy opt_random.h
    for FreeBSD systems whose <sys/random.h> includes it.

    Added support for the FreeBSD ZFUSE file system.

    Corrected the quoting in a Darwin putchar() statement in the
    dfile.c source file.  Andrew Janke <floss@@apjanke.net> reported
    my error.

    Added support for the FreeBSD DTYPE_PTS file descriptor and
    for unknown descriptors that reference the kernel's badfileops
    operation switch.  Enabled FreeBSD 12.0 support. Tested the
    changes on systems provided by Larry Rosenman <ler@@lerctr.org>.

    Enhanced -K option with the form "-K i" to direct lsof to
    (i)gnore tasks.  A query from Rachel Kroll <rkroll@@fb.com>
    suggested this option.  Linux task reports now include both
    process and task command names, making lsof's "-c <name>"
    option work correctly.

    Added a patch to prevent NFS blocking in Linux supplied by
    Kristna Streitov <kstreitova@@suse.com>.

    Installed a FreeBSD patch that prevents examining a TCP state
    structure during a race condition.  The patch was supplied by
    Bryan Drewery <bdrewery@@FreeBSD.org>.

    Updated FreeBSD for new UFS inode structure that lacks an i_dev
    member in the most recent 12.0-CURRENT.  Larry Rosenman
    <ler@@lerctr.org> reported the problem and provided a test
    system.

    Added "#define KLD_MODULE" to dlsof.h and dnode2.c to prevent
    <machine/cpuconf.h> from generating an "ARM_NARCH is 0" error.
    This is needed so lsof can access kernel structures.  Larry
    Rosenman supplied the addition.

    Added recognition of the FreeBSD 11 file system name "nullfs".
    Jamie Landeg-Jones <jamie@@catflap.org> supplied the fix.

    Added a patch from Larry Rosenman <ler@@lerctr.org> that is
    needed on FreeBSD 12 so the lsof compilation can obtain the
    inpcb and tcpcb structures from their respective header files.

    Updated FreeBSD dmnt.c for the ino64 changes.

    Inserted a patch for Solaris 12.x to avoid compilation errors
    from <sys/aio_req.h>, based on information provided by Jorn
    Clausen <joern.clausen@@uni-bielefeld.de>.  Jorn tested the
    patch.

    Added performance enhancement that uses the FreeBSD closefrom()
    and dup2() C library functions when available.  The enhancement
    was supplied by Conrad Meyer <cem@@freebsd.org>.

    Corrected FreeBSD lsof's gathering of ZFS file device numbers.

    Updated lsof test library for FreeBSD.

    Updated socket optons information collection from the socket
    structure per changes supplied by Gleb Smirnoff
    <glebius@@FreeBSD.org>.

    Added patch to dlsof.h that avoids a _KERNEL conflict with
    bzero.  Mateusz Guzik <mjguzik@@gmail.com> supplied the patch.

    Corrected test library to handle 64 bit FreeBSD device numbers.

    Added #defines for FreeBSD 12, src r324225, from Gleb Smirnoff
    <glebius@@FreeBSD.org>.

    Incorporated Linux pseudoterminal endpoint processing (+|-E)
    provided by Masatake YAMATO <yamato@@redhat.com> with access to
    test systems provided by Peter Schiffer <pschiffe@@redhat.com>.

    Corrected Linux command extraction for commands that include
    parentheses -- e.g., "(sd-pam)".

4.91    March 26, 2018

    A bug has been reported in the PTY endpoint processing of
    Linux lsof 4.90 by Peter Wu <peter@@lekensteyn.nl>, making it
    necessary for me to release another revision of lsof.

    This revision applies two fixes that correct the Linux PTY
    endpoint processing bug. Masatake YAMATO <yamato@@redhat.com>
    supplied the fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.129 2018/12/08 09:10:59 triaxx Exp $
d35 1
a35 1
USE_TOOLS+=	perl:run
a48 1
CPPFLAGS+=		"-DVFS_PROTOS(fsname)="
d60 1
a60 1
	@@(if [ ! -x /usr/src/sys ]; then \
d63 1
a63 1
	fi)
d65 1
a65 1
	@@cd ${TMPWRK} ; \
d74 1
a74 1
	@@cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1
d84 1
a84 1
	@@${CHMOD} 0444 ${DESTDIR}${PREFIX}/share/lsof/00*
d87 1
a87 1
.for _dir_ in ${TEST_DIRS}
d89 1
a89 1
	cd ${WRKSRC} && cd ${_dir_} &&		\
@


1.129
log
@lsof: update MASTER_SITES and set LICENSE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.128 2018/10/27 11:46:04 tron Exp $
d3 1
a3 1
DISTNAME=		lsof_4.89
a4 1
PKGREVISION=		1
d15 1
a15 1
LICENSE=		abell-94
@


1.128
log
@lsof: Use "bsdtar" instead of "gtar" during build

Remove unnecessary complex logic for optionally using "pax" as well
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.127 2018/08/22 09:46:35 wiz Exp $
d7 2
a8 2
MASTER_SITES=		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
MASTER_SITES+=		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
d16 1
@


1.127
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.126 2017/08/16 20:21:14 wiz Exp $
d24 1
d35 1
a35 1
USE_TOOLS+=	gtar pax perl:run
d66 1
a66 1
	@@(cd ${TMPWRK} ; \
d74 2
a75 6
	if [ X${EXTRACT_USING} = Xgtar ]; then \
		${GTAR} -xf ${SRCBALL_NAME}.tar; \
	else \
		pax -O -r < ${SRCBALL_NAME}.tar; \
	fi)
	@@( cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1 )
@


1.126
log
@Follow some http redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.125 2017/02/12 11:08:13 wiz Exp $
d5 1
@


1.125
log
@Remove outdated master sites.

Remove NEW/ folder. We should only ever need / and /OLD/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.124 2017/02/11 15:25:38 rodent Exp $
d13 1
a13 1
HOMEPAGE=		http://people.freebsd.org/~abe/
@


1.124
log
@* The July 7, 2015 revision (4.89): corrects an error I made in applying a
  Solaris 11 patch; supports latest version of FreeBSD 11.0-CURRENT; adjusts
  for a missing bool typdef on i386 FreeBSD 10.0; fixes Linux UNIX socket
  search by name bug; adds Linux display of UNIX socket endpoint information;
  makes vm defintiions once again visible on FreeBSD 11.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.123 2017/01/19 18:52:26 agc Exp $
a6 1
MASTER_SITES+=		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/
a7 3
MASTER_SITES+=		ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/
MASTER_SITES+=		ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/NEW/
MASTER_SITES+=		ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/OLD/
a8 1
MASTER_SITES+=		ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/NEW/
a9 6
MASTER_SITES+=		ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/
MASTER_SITES+=		ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/NEW/
MASTER_SITES+=		ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/OLD/
MASTER_SITES+=		ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
MASTER_SITES+=		ftp://sunsite.ualberta.ca/pub/Mirror/lsof/NEW/
MASTER_SITES+=		ftp://sunsite.ualberta.ca/pub/Mirror/lsof/OLD/
@


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

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.122 2016/07/09 06:39:01 wiz Exp $
d3 1
a3 1
DISTNAME=		lsof_4.88
a4 1
PKGREVISION=		1
@


1.122
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.121 2015/12/29 12:42:57 bsiegert Exp $
d7 15
a21 15
MASTER_SITES=		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  \
			ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
			ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/ \
			ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \
			ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/NEW/ \
			ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/OLD/ \
			ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ \
			ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/NEW/ \
			ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/OLD/ \
			ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/ \
			ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/NEW/ \
			ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/OLD/ \
			ftp://sunsite.ualberta.ca/pub/Mirror/lsof/ \
			ftp://sunsite.ualberta.ca/pub/Mirror/lsof/NEW/ \
			ftp://sunsite.ualberta.ca/pub/Mirror/lsof/OLD/
@


1.121
log
@Update lsof to 4.88. From David H. Gutteridge in PR pkg/50487.

Reduced to 50 the number of open file descriptors lsof
attempts to close while trying to protect itself from a
file descriptor exec() attack.  This limits the overhead
lsof incurs on systems that have large file descriptor
limits, yet provides sufficient open descriptors for the
library functions lsof calls.

Updated for changes in FreeBSD 10 with advice from Eygene
Ryabinkin <rea@@freebsd.org>.  Taught Configure to recognize
FreeBSD 8.4.

Herein am noting that lsof for Solaris 10 or 11 is no longer
supported.  I no longer have test systems.  Some support is
still available from Casper Dik <Casper.Dik@@oracle.com> and a
Solaris 11 patch he provided is included in this revision.

Initialized local variables in the Linux process_id() function.
Jia He <jiakernel@@gmail.com> reported the problem.

Added support for FreeBSD 11.

Updated FreeBSD ZFS Configure stanza to supply a dummy
opt_kdtrace.h when needed.

Added tmpfs file system support for FreeBSD.

Since a test system is no longer available, dropped the
claim of FreeBSD 4.9 support.

Added the +|-E options for Linux.  -E displays endpoint info;
+E displays endpoint info and endpopint files.  Masatake YAMATO
<yamato@@redhat.com> requested this support and suggested code
to implement it.

Fixed a Linux bug handling processes whose command includes a
non-printing character, particularly a NEWLINE character, and
clarified printing of single '\\' characters in command and
file names.  Stephane Chazelas <stephane.chazelas@@gmail.com>
reported the problem.

Added support for Linux RDMA and CRYPTO protocal names and UNIX
socket type with code from Masatake YAMATO <yamato@@redhat.com>.

Fixed field output to insure that the field descriptor field is
always selected, since it identifies the file set.  The bug was
reported by Gary Plewa <gary.m.plewa-1@@lowes.com>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.120 2015/06/12 10:51:14 wiz Exp $
d5 1
@


1.120
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.119 2015/02/26 17:31:23 tnn Exp $
d3 1
a3 1
DISTNAME=		lsof_4.87
a4 1
PKGREVISION=		2
@


1.119
log
@define dummy VFS_PROTOS(fsname) which is otherwise only available under _KERNEL.
lsof for legacy reasons includes sys/mount.h without _KERNEL but
msdosfs/msdosfsmount.h with _KERNEL.
Fixes:
/usr/include/msdosfs/msdosfsmount.h:255:12: error: a parameter list without types is only allowed in a function definition
VFS_PROTOS(msdosfs);
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.118 2014/10/09 14:06:58 wiz Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.118
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.117 2014/08/19 13:30:53 hauke Exp $
d59 1
@


1.117
log
@On SunOS, take care of the misconfigured ranlib call, following the
discussion in, and fixing, PR pkg/49034.

While we are here, make sure the group lsof setgids to is the one
owning /dev/kmem on SunOS ('sys').
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.116 2014/05/29 23:37:29 wiz Exp $
a46 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.116
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.115 2014/03/27 19:26:40 ryoon Exp $
d64 1
d66 1
@


1.115
log
@Update to 4.87

Changelog:
4.85		September 27, 2011
		John Dzubera <Zube@@CS.ColoState.EDU> kindly provided a patched
		Solaris 9 test system with the lgrp_root conflict and I was
		able to devise an automatic work-around for the conflict.  The
		special note in .../dialects/sun/machine.h was removed and
		the 17.28.1 FAQ entry was modified to reflect the update.

		Added a Solaris 11 work-around for a typedef problem with
		<sys/mutex.h>.  Carson Gaspar <carson@@taltos.org> reported
		the problem and supplied the work-around.

		Added support for FreeBSD 7.4 and 8.2; tested on systems
		provided by Larry Rosenman <ler@@lerctr.org>.

		Added support for 32 bit Solaris 11 lsof with mods supplied
		by Jan Wortelboer <J.H.P.Wortelboer@@uva.nl>.

		Added Solaris 11 support for using an alternate genunix
		location.  Bill Goodridge <bill@@its.brooklyn.cuny.edu>
		reported the alternate location.

		Added further Linux cross configuration support to lsof's
		Configure script.  The additional support was supplied by
		Grant Erickson <erick205@@umn.edu>.  See the descriptions of
		the LINUX_* environmen  variables in 00XCONFIG for more
		information.  Tested lsof on Linux kernel 2.6.32 and picked
		some lint that surfaced during the test.

		Added fixes and changes for Apple Mac OS X 10.6, provided by
		Allan Nathanson <ajn@@apple.com>.  Allan also provided a test
		system.

		Tested on FreeBSD 6.4 i386, using a test system provided by
		Terry Kennedy <TERRY@@tmk.com>.  Updated for recent FreeBSD ZFS
		changes on an 8.2 amd64 test system also provided by Terry.

		Changed documentation to indicate FreeBSD 7.x is no longer
		supported, since I no longer have a test system.

		Made some changes to the lsof man page, suggested by Navid
		<evi1m4chine@@googlemail.com>.

		Added compensation for Solaris 10 systems that have patch
		144488-10.  The patch requires that the new header file
		<sys/socket_proto.h> be included while _KERNEL is defined.
		Brett Bartick <Brett.bartick@@nomura.com> reported the problem
		first, followed by Stuart Anderson <anderson@@ligo.caltech.edu>.
		Michael Hocke <michael.hocke@@nyu.edu> suggested a work-around
		which I refined to limit it to the specific Solaris 10 instance
		and then tested on a system provided by Charles Stephens
		<cfs@@cowlabs.com>

		Added the +|-e option for Linux.  It exempts file systems
		named by path from function calls that might block in the
		kernel -- i.e., stat(2) and lstat(2), and when the +e form
		is used, readlink (2).  The new packager of lsof for the
		Linux Fedora and RHEL distributions, Peter Schiffer
		<pschiffe@@redhat.com>, asked for the feature so it could
		be used with Clearcase file systems, whose implementation
		can block stat(2) calls.  I consider this feature very risky
		and easy to misuse -- e.g., specifying the file system as
		'/' would exempt all file systems.  I don't intend to
		propagate this option to any other UNIX dialect that lsof
		currently supports.

		Made FreeBSD 9 adjustment.

		Fixed a Linux bug that prevented the display of paths for
		abstact UNIX sockets.  Masatake Yamato <yamato@@redhat.com>
		reported the bug and supplied a patch.

		Added compensation for the removal of RPC header files from
		GlibC 2.14 for Linux.  Marek Behun <kabel@@blackhole.sk>
		reported the problem and supplied a patch.

		Added support for Linux Netlink protocol.  Masatake Yamato
		requested the support and supplied a patch.  Peter Schiffer
		<pschiffe@@redhat.com> provided a test system.

		Corrected Linux UDP6-lite path.  The error was reported by
		Masatake Yamato and he also supplied a patch.

4.86		April 10, 2012
		Lsof for AIX is no longer supported on any versions of that
		operating system.

		Added information about the clang compiler for FreeBSD to the
		FAQ.

		Corrected an arg.c bug in the accumulation of +|-e option
		values, reported by Peter Schiffer <pschiffe@@redhat.com>.
		This correction was supplied as a patch to revision 4.85.

		Enabled FreeBSD 10 support and tested it there on a system
		provided by Larry Rosenman <ler@@lerctr.org>.

		Updated for latest Solaris 11 with patches supplied by
		Carson Gaspar <carson@@taltos.org>.  Carson supplied a test
		system.

		Adjusted Linux file system search method to compensate for
		NFS mounts that have duplicate device numbers.  The problem
		was reported by Peter Schiffer <pschiffe@@redhat.com>, who
		provided a test system.

		At the request of Peter Schiffer <pschiffe@@redhat.com>, added
		support for Linux SCTP socket files.  Peter provided a test
		system.  Applied a warning patch supplied by Peter.

		Added support for Mac OS X 10.7 (Lion), provided by Allan
		Nathanson <ajn@@apple.com>.  Allan also supplied a test
		system.

		Enabled FreeBSD 8.3 support and tested it there on a system
		provided by Larry Rosenman <ler@@lerctr.org>.

		Corrected the FAQ information on ZFS with Solaris 10 after
		Steven Blackmon <stblackm@@cisco.com> and Prasad Jampala
		<jampalp@@cisco.com> pointed out that it was incorrect --
		i.e., outdated by the libctf changes at revision 4.83.

		Added code to handle a Linux NFS-mounted root.  Jia He
		<hejianet@@linux.vnet.ibm.com> reported the need for this.

4.87		January 2, 2013
		Added an entry to 00FAQ about lsof behavior when the
		HASSECURITY and HASNOSOCKSECURITY options are defined.
		Carson Gaspar <carson@@taltos.org> pointed out the need
		for this clarification.

		Added a work-around for a missing definition of mach_port_t
		in Darwin 9 (Mac OS/X 10.5.8).  The work-around was supplied
		by Jim Reid <jim@@rfc1035.com>.

		Added support for Linux anon_inodefs, provided by Masatake
		YAMATO <yamato@@redhat.com>.

		Documented a Solaris 9 and 10 portmap reporting problem
		(+M) in 00FAQ.  The problem was reported by Clint
		Roberts <Clint.Roberts@@ttius.com>.  I have no solution
		to the problem, but discuss a possible work-around in
		the answer to this 00FAQ question: "Why doesn't lsof
		report portmap registrations for some Solaris versions?"

		Added FreeBSD support for the oldnfs and newnfs file system
		types.  Daniel Braniss <danny@@cs.huji.ac.il> reported the
		need for the addition.

		Added ICMP socket support for Linux with code provided by
		Masatake YAMATO <yamato@@redhat.com>.

		Corrected the reporting of process group ID for libproc
		versions of Mac OS X with a patch from Jeff Trawick
		<trawick@@gmail.com>.  The patch has not been applied to
		Darwin kmem versions, because of little call for them
		and inadequate test system access.  The patch has been
		tested on Mac OS X 10.8 (Mountain Lion), courtesy of a
		test system provided by Allan Nathanson <ajn@@apple.com>.

		Added thread support to those FreeBSD versions that have
		ki_numthreads in their kinfo_proc structure.  This also
		activates the -K option for those FreeBSD versions.  Jeff
		Trawick reported problems with FreeBSD lsof when threads
		are present and this addition solves those problems.

		Made changes to 00FAQ and the distribution, suggested by
		Warren Young <warren@@etr-usa.com>.  The 00FAQ changes
		center on sections that discuss the -s option.  The changes
		to the distribution include a ChangeLog file that is either
		a pointer to or a copy of 00DIST, the distribution notes.

		Added support to FreeBSD for using the clang compiler.

		Added Linux support for using the getxattr() call to obtain
		socket protocol identification when it is can't be obtained
		from the /proc/net files that lsof examines.  Masatake YAMATO
		<yamato@@redhat.com> developed the kernel patch to getxattr()
		and supplied the lsof patch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.114 2013/05/31 12:42:01 wiz Exp $
d5 1
@


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

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.113 2012/10/23 19:51:11 asau Exp $
d3 1
a3 1
DISTNAME=		lsof_4.84
a4 1
PKGREVISION=		3
@


1.113
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.112 2012/10/03 21:57:39 wiz Exp $
d5 1
a5 1
PKGREVISION=		2
@


1.112
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.111 2011/09/03 12:32:32 christos Exp $
a27 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.111
log
@welcome to 4.84
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.110 2011/06/20 10:19:54 tron Exp $
d5 1
a6 1
PKGREVISION=		1
@


1.110
log
@Fix build problem caused by tmpfs changes in NetBSD-current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.109 2011/03/21 00:22:02 jym Exp $
d3 1
a3 1
DISTNAME=		lsof_4.83
@


1.109
log
@When we moved from fd_ofiles to a struct fdtab, the fd_ofiles became
an array of pointer (in struct fdtab) rather than a pointer of pointers.

Sadly for us, no, arrays and pointers are not equivalent from a memory
perspective: while pointers from/to another address space can
be consumed by kvm(3) to query for data in kernel space, arrays
are more tricky, especially when their content is copied in userland:
they are part of the copied struct.

Address of array members are only valid in their own address space,
in our case userland, which is (fortunately?) different from kernel space.
This breaks the various kvm_read() calls that query for file descriptor
information. Consequence: lsof(1) cannot print filedescriptor information
(starting from 5.99.14), and silently ignores the errors, as using
the userland fdtab (``dt'' variable) is not valid for kernel.

Fix that by using the ``fd_dt'' member of struct filedes, which stores
the address of the fdtab struct in kernel address space. Took a few hours
to understand what was going on with lsof(1), hmmm.

Luckily, fstat(1) uses the proper model (checked about 5min ago). Why
lsof(1) decided not to log an error on kvm_read() is... a good question.

Bump rev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.108 2010/05/14 19:01:11 tez Exp $
d62 1
@


1.108
log
@fix build on FreeBSD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.106 2010/04/30 07:30:28 sbd Exp $
d6 1
@


1.107
log
@Update lsof to 4.83

Release Notes:

4.83            January 18, 2010
		Converted Solaris 10 and above ZFS support to use the CTF
		debugger library, libctf.  Code was supplied by Robert
		Byrnes <Robert.Byrnes@@deshaw.com>.

		Corrected a typo in the testing of the LINUX_HASSELINUX
		environment variable in the Configure script.  The error
		was reported by Mike Frysinger <vapier@@gentoo.org>.
		At Mike's request made Configure script accept LSOF_RANLIB
		(ranlib command), LSOF_CFGF (additional configuration flags)
		and LSOF_CFGL (additional library specifications) from the
		environment.

		Enabled complilation of Solaris 10 lsof after a recent Sun
		patch which changed the PC file system's structure. Peter
		Vernam <pvernam@@draper.com> reported the problem and helped
		with the fix.

		Made the sort of configuration CFLAGS in the CkTestDB
		script impervious to locale settings.

		Ported to Solaris 11, using a test system kindly provided
		by David Day <dday76@@gmail.com>.

		Adjusted to the disappearance of <nfs/rpcv2.h> in FreeBSD
		8.0-BETA1.

		Changed Solaris node type lookup to a hashed method and
		added some ability for it to handle duplicate vnodeop names
		in /dev/ksyms.

		Updated for FreeBSD 9.0-CURRENT.  Andrzej Tobola
		<ato@@iem.pw.edu.pl> provided a test system.  Extends the
		fix to FreeBSD 6.0 and above via a Configure test and a
		compile-time definition.  The need for the extension was
		reported by Erik Trulsson <ertr1013@@student.uu.se>>

		Made corrections to FAQ typographical errors, suggested
		by Josh Soref <timeless@@gmail.com>.

		Added __UCLIBC__ test to Linux dlsof.h so lsof would compile
		on an Intel ARM XScale processor.  The addition was provided
		by Doug Kehn <rdkehn@@yahoo.com>.

		Added test for <utmpx.h> to FreeBSD configuration.  Improved
		its use in lsof.h.  The changes were supplied by Martin Wilke
		<miwi@@FreeBSD.org>.

4.82            March 25, 2009
		Corrected an over-zealous exclusion test that caused
		lsof to report nothing when it was given no arguments
		and built with HASSECURITY and HASNOSOCKSECURITY enabled.
		Joshua Kinard <kumba@@gentoo.org> reported the bug and
		supplied information for reproducing it.

		Based on a report from Dan Trinkle <trinkle@@cs.purdue.edu>
		corrected use of <sys/utsname.h> for 32 bit Solaris 10
		and above compilations.  Simultaneously eliminated a
		casting complaint in arg.c and updated Configure to use
		the appropriate 64 bit compilation option (-xarch=v9 or
		-m64) with the Solaris Sun C compiler.

		Updated for FreeBSD 7.1-PRERELEASE with information
		supplied by Larry Rosenman <ler@@lerctr.org>.

		Updated the Darwin libproc sources with changes from
		Allan Nathanson <ajn@@apple.com>.  Tested them on a iMac
		mini, provided by Apple Inc.  Allan also provided man
		page corrections.

		Updated the FreeBSD Makefile to use the ${MAKE} variable
		for ZFS dnode2.c module compilation, based on a suggestion
		from Alexis Ballier <aballier@@gentoo.org>.

		Improved the Solaris VxFS library location test, based on a
		suggestion from Jason Fortezzo <fortezza@@mechanicalism.net>.
		Jason tested the change.

		Updated Solaris 10 ZFS support for ZFS version 4 and ZFS
		pool version 10, using a test system kindly provided by
		Vladislav Nespor <vladislav.nespor@@id.ethz.ch>.  Renata
		Maria Dart <renata@@slac.stanford.edu> tested on ZFS
		version 4, verifying that the update works there, too.
		(ZFS pool version 10 is apparently the ZFS version shipped
		with the 10/08 update to Solaris.  The original ZFS
		support targeted ZFS version 3.)

		I still consider ZFS support in Solaris lsof a hack,
		because it depends on a znode structure definition that
		I developed using dbx.  Sun is remiss in not distributing
		the ZFS header files used to build the distributed kernel.

		Because of the znode structure definition hack, I can't
		guarantee that lsof ZFS support will work for any other
		versions of ZFS.

		Solaris 10: adjusted to a change in the way devices are
		stored in the kernel; fixed a problem in zone handling;
		and added rudimentary sharedfs support.  Carson Gaspar
		<carson@@taltos.org> reported the device number problem,
		provided a test system, and tested the changes.  Peter
		Vines <psv2b@@eservices.virginia.edu> reported the zone
		handling problem and tested the fix.

		Adapted to FreeBSD 8.0-CURRENT changes in device number
		computation.  Problem was reported by Erwin Lansing
		<erwin@@FreeBSD.org>.  Larry Rosenman <ler@@lerctr.org>
		provided a test system.

		Corrected Solaris Configure test for appropriate VxFS
		library when using gcc to compile lsof.

		Updated for loss of KAME IPv6 FreeBSD accommodations.

		Adapted to FreeBSD 7.2.  Made Configure script recognized
		FreeBSD 6.3.

4.81            October 21, 2008
		Updated the Darwin libproc sources with changes from
		Allan Nathanson <ajn@@apple.com>.  Tested them on a iMac
		mini, provided by Apple Inc.

		Changed dummy declarations in library source files to
		eliminate complaints about unused variables and empty
		object files.  This change may not work on dialects I
		can no longer test; it has been tested on some versions
		of AIX, Darwin, FreeBSD, Linux and Solaris.

		At the request of Hal Brooks <hal@@uga.edu> added support
		for Linux /proc/net/packet files.  Hal tested it.

		Added socket file only performance enhancements to Linux
		and PSTAT-based HPUX lsof.

		Added htonl call around improper usage of INADDR_LOOPBACK;
		report from an Apple engineer forwarded by Allan Nathanson
		<ajn@@apple.com>.

		Adjusted for FreeBSD-8.0 change in device number handling.
		The adjustment should work for FreeBSD 5 and above, should
		the 8.0 change be propagated downward.  The problem was
		reported by Pav Lucistnik <pav@@FreeBSD.org>.  An updated
		test system was provided by Erwin Lansing <erwin@@FreeBSD.org>.

		Reduced AIX support to version 5.3, since test systems with
		older versions are no longer available to me.

		At the request of Marjo F. Mercado <mmercado@@xceedium.com>
		and Phil Shin <pshin@@xceedium.com> applied some speed
		improvements to lsof, particularly when the files of
		interest are /Internet files -- i.e., selected with lsof's
		-i" option.  Added a two new options to assist the
		improvements: 1) "-c^<command>" to tell lsof to exclude the
		named command(s); and 2) "-stcp|ud>:[^]state' to tell lsof
		to include in its reporting or exclude ('^') from its
		reporting Internet files in the named states (e.g., LISTEN,
		^CLOSE_WAIT, IDLE, etc.)  For the most part these changes
		apply only to AIX, Darwin, FreeBSD, PSTAT-based HP-UX, Linux
		and Solaris, since those are the only places I could test
		them.  They are controlled by the HASTCPUDPSTATE definition
		in each dialect's machine.h header file.  Marjo and Phil
		provided HP-UX 11.23 and 11.31 test systems.

		Fixed a stat(2) problem on HP-UX 11.31 while testing the
		speed improvements.

		Adjusted for kernel header file changes in FreeBSD
		8.0-CURRENT.  Larry Rosenman <ler@@lerctr.org> provided
		a test system.

		Added a warning for Solaris systems where VxFS node info
		can't be obtained from the VxFS utility library.  The
		warning was requested by Tom Matthews <Tom.MATTHEWS@@rbs.com>.

		Corrected mishandling of file system path name arguments
		that have trailing slashes, except, of course, the root
		file system, "/".  Allan Nathanson <ajn@@apple.com> reported
		the bug.

4.80            May 12, 2008
		Updated for a FreeBSD 7.0 and above byte level locking
		change.  The problem was reported by Conrad J. Sabatier
		<conrads@@cox.net>, who helped test the update.  Wesley
		Shields <wxs@@FreeBSD.org> provided an 8.0-CURRENT test
		system.

		Propagated the FreeBSD 7.0 and above locking changes to
		FreeBSD 6.x, based on a report from Edwin Groothuis
		<edwin@@FreeBSD.org>.

		Added warnings for unsupported dialects or versions.

		Added Linux support for the UDPLITE protocol.  Eric
		Dumazet <dada1@@cosmosbay.com> supplied a patch.

		Added a missing quote to the Configure script's
		FreeBSD stanza.

		Added a usage.o rule to the HP-UX PSTAT-based
		Makefile.  I mistakenly deleted the rule at revision
		4.79.  The missing rule was reported by Kawaljeet Kaur
		<kawaljeet.malviya@@gmail.com> who tested the corrected
		Makefile.

4.79            April 15, 2008

		**************** IMPORTANT NOTE ******************
		*                                                *
		* Lsof support has been reduced to the following *
		* dialects: AIX, FreeBSD, Linux and Solaris, and *
		* only in selected versions of those dialects.   *
		* The selected versions are listed in this file  *
		* and in other lsof documentation.               *
		*                                                *
		* I have made this move because of retirement    *
		* and because I no longer have many test systems *
		* available to me.                               *
		*                                                *
		* Vic Abell                                      *
		*                                                *
		**************************************************

		Fixed a Solaris VXFS permission problem when accessing
		the VXFS inode offsets.  The bug was reported by
		Gregory A. Ivanov <ivga@@mts.ru>.  Gregory tested the
		fix.

		Moved an #include <string.h> later in FreeBSD dlsof.h
		to enable compilation on recent FreeBSD releases.  The
		change was supplied by Roy Marples <uberlord@@gentoo.org>.

		Improved Linux /proc file stream reading speed by applying
		an expanded version of a patch from Eric Dumazet
		<dada1@@cosmosbay.com> that allocates a page size buffer
		to each stream.  Improved TCP, TCP6, UDP and UDP6 hashing
		by determining the hash bucket count from the /proc/net
		sockstat and sockstat6 files.  The improvement was
		suggested by Eric and he provided sample code.  Eric also
		tested both improvements.

		Modified Configure script to build lsof on FreeBSD
		6.2.  Tested it on a system provided by Larry Rosenman
		<ler@@lerctr.org>.

		Fixed a Linux maps file processing bug that prevented path
		names from having an embedded colon.  James Lingard
		<jchl@@arastra.com> reported the bug and helped with its
		fix.

		Based on reports from Eric Dumazet and Samuel Thibault
		<samuel.thibault@@ens-lyon.org> added support for the
		Linux 2.6.22 kernel's /proc/<PID>/fdinfo files -- i.e.,
		file offset and flags.  Samuel Thibault provided a test
		system.

		Fixed a Linux UNIX socket memory leak, reported by
		Philip Shin <pshin@@xceedium.com>.  Phillip supplied the
		fix.

		With generous assistance from HP added support for an HP-UX
		11.23 patch that makes TLI/XTI socket address information
		available.

		Fixed a header file problem for FreeBSD 6.2 on the Alpha
		architecture.  The problem was reported by Pekka Honkanen
		<phonkane@@cc.hut.fi>.  Pekka tested the fix.

		Based on a report and using suggested fixes from Karel Zak
		<kzak@@redhat.com>, made these changes to Linux lsof: corrected
		a getpidcon() error message; insured that inode numbers are
		handled correctly for their unsigned long long type; and
		improved SELinux handling.  At the request of Alon Bar-Lev
		<alonbl@@gentoo.org> added the LINUX_HASSELINUX environment
		variable to enable or inhibit SElinux support unconditionally.

		Updated Configure for FreeBSD 8.0-CURRENT and tested lsof on
		AMD64 there.

		Added a patch provided by Oles Hnatkevych
		<don_oles@@able.com.ua> for FreeBSD systems where the root
		file system is on a CD9660 device.

		Added compensation for the disappearance of FMARK and FDEFER
		from the FreeBSD 8.0-CURRENT <sys/file.h>.

		Updated FreeBSD lsof with ZFS support.  Larry Rosenman
		<ler@@lerctr.org>, Erwin Lansing <erwin@@FreeBSD.org>, Wesley
		Shields <wxs@@atarininja.org> and Dmitry Morozovsky
		<marck@@rinet.ru> provided test systems.

		Fixed a socket file identification problem reported by
		Pavol Rusnak <stick@@gk2.sk>.  Pavol also reported the
		cause of the problem.

		Added the ability to format the repeat mode marker line
		with strftime(3), where the dialect supports the
		localtime(3) and strftime(3) C library functions.  The
		addition was suggested by Mike Depot <mdepot@@comcast.net>,
		who also tested it.  The addition required creating a new
		main lsof source module, util.c, that contains functions
		whose compilation conflicts with the general header file
		tree defined by lsof.h and dlsof.h.

		Based on reports from Andrei V. Lavreniyuk
		<andy.lavr@@reactor-xg.kiev.ua> and Pav Lucistnik
		<pav@@FreeBSD.org> updated the FreeBSD 7.0 and above
		file lock handling to use new locking structures.  The
		update requires a terrible hack to get a definition for
		the lock owner structure from a kernel source module
		into a local lsof header file.
@
text
@d61 2
d69 6
@


1.106
log
@Update the master sites
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.105 2010/04/30 07:27:16 sbd Exp $
d3 2
a4 3
DISTNAME=		lsof_4.78
PKGNAME=		${DISTNAME:S/_/-/}.${OS_VERSION}
PKGREVISION=		5
@


1.105
log
@Enable the tests, and add an "opt" targent so "make opt" can be used to run
the optional tests.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.104 2010/04/30 06:53:06 sbd Exp $
d10 12
a21 2
			ftp://ftp.sunet.se/pub/unix/admin/lsof/ \
			http://ftp.sunet.se/pub/unix/admin/lsof/
@


1.104
log
@Move lsof from using the LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS to
using pkg options lsof-more-secure and lsof-less-secure-sockets.

Also change the way the option are applied, the same way that the Customize
script does and it works on all supported dialects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.103 2010/03/21 16:29:43 wiz Exp $
d41 4
d83 6
@


1.103
log
@Reset maintainer, developer lost his commit bit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.102 2009/08/11 20:53:06 apb Exp $
a25 2
CPPFLAGS+=		-DLSOF_MORE_SECURE=${LSOF_MORE_SECURE} \
			-DLSOF_LESS_SECURE_SOCKETS=${LSOF_LESS_SECURE_SOCKETS}
d42 1
a52 2
LSOF_MORE_SECURE?= 0

@


1.102
log
@Make this build again on netbsd-current.  Bump PKGREVISION to 5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.101 2009/05/30 11:10:56 zafer Exp $
d14 1
a14 1
MAINTAINER=		atatat@@NetBSD.org
@


1.101
log
@revert to previous.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.100 2009/05/30 01:55:00 zafer Exp $
d5 1
a5 1
PKGREVISION=		4
@


1.100
log
@update master site. clean up. remove non-working mirrors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2009/05/01 12:56:50 apb Exp $
d7 4
a10 1
MASTER_SITES=		ftp://ftp.sunet.se/pub/unix/admin/lsof/ \
@


1.99
log
@When configuring on NetBSD:
* Prefer /dev/ksyms, then getbootfile(), then fall back to /netbsd as the
  kernel name.
* Recognise NetBSD versions 5.0* and 5.99*
* When the NetBSD version is unrecognised, don't treat it like 1.6;
  treat it like either 1.2 (if it's really old) or 5.0 (if it's too new).
Bump PKGREVISION to 4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2008/05/29 16:52:59 tnn Exp $
d7 1
a7 4
MASTER_SITES=		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  \
			ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
			ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/ \
			ftp://ftp.sunet.se/pub/unix/admin/lsof/ \
@


1.98
log
@Convert to user destdir (use SPECIAL_PERMS)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2008/05/26 02:13:23 joerg Exp $
d5 1
a5 1
PKGREVISION=		3
@


1.97
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.96 2008/05/17 23:53:29 christos Exp $
d18 2
d45 1
d47 1
a47 1
REAL_GROUP=		-g kmem
d72 3
d76 5
a80 6
	${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
		${WRKSRC}/lsof ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/lsof.8 ${PREFIX}/${PKGMANDIR}/man8/lsof.8
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/lsof
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
	@@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
@


1.96
log
@make this work again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2008/04/26 11:54:24 apb Exp $
d37 1
a37 1
USE_TOOLS+=	gtar perl:run
d65 1
a65 1
		${PAX} -O -r < ${SRCBALL_NAME}.tar; \
@


1.95
log
@In post-extract, adjust the regexp used to search for an MD5 line in
README.${DISTNAME} so that it no longer matches some unwanted extra
lines.  Also make it an error for the MD5 to be wrong.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.94 2007/12/17 12:15:59 tron Exp $
d5 1
a5 1
PKGREVISION=		2
@


1.94
log
@Declare missing tools and fix interpreter path in Perl scripts.
Bump package revision because of these fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2007/08/14 19:59:17 veego Exp $
d55 1
a55 1
	EXPMD5=`${GREP} MD5 README.${DISTNAME} | ${SED} 's/^[ ]*//'` ; \
d60 1
a60 1
		${FALSE} ; \
@


1.93
log
@- Don't hardcode the MFSNAMELEN length, inspired by commits from
  Christos (patch-ae and patch-af). Fix PR 36680
- Define NETBSD_SYS in the pkgsrc Makefile so it works if NETBSDSRCDIR is
  not pointing to a default location and thus some featues, like ptyfs
  support were disabled
- Update the line numbers in patch-aa
- Add tmpfs support (patch-ad, patch-af and patch-ag)
- Update the NetBSD versions in Configure otherwise NETBSDV would fall
  back to 1006000 and so at least one feature was not found, the PFSfd
  procfs support (patch-ag)
- Bump pkg revision for new features (normaly I wouldn't have bumped the
  version if it were only to fix a -current compile, because the version
  also includes the kernel version)
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.92 2007/05/06 21:41:30 christos Exp $
#
d5 1
a5 1
PKGREVISION=		1
d31 8
@


1.92
log
@upgrade to 4.78
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.91 2007/03/18 12:19:49 wiz Exp $
d6 1
d38 1
@


1.91
log
@Remove two master sites that do not carry the latest .tar.bz2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2007/03/14 11:36:25 markd Exp $
d4 1
a4 1
DISTNAME=		lsof_4.77
@


1.90
log
@Update lsof to 4.77.

Include official patch to fix build on Solaris 10 06/06 or newer.
Fix HOMEPAGE.

The April 10, 2006 revision (4.77): adds Solaris 10 and above -X option
selection of the display of unlinked file cached paths; improved
reporting of Solaris 10 cached path names of questionable accuracy;
has FreeBSD 7.0-CURRENT update; fixes name addition spacing bug; has
limited SAMFS support for Solaris 10; fixes an HP-UX 11 file "chunk"
size problem; updates for FreeBSD 6.0; updates scripts/sort_res.perl5;
corrects +|-M man page error; improves FreeBSD user device random seed
generation; documents in 00FAQ bundled C and gcc compilation failures
on HP-UX 11.23 dated May 2005 or later; corrects bugs and eliminates
compiler warnings in PSTAT-based HP-UX lsof and in the lsof test
suite; changed the method of reporting unknown file types; dropped
the *claim* that lsof works on BSDI BSD/OS; enables compilation on
Solaris 10 1/06; adjusts to FreeBSD 5.5-PRELELEASE and 6.1-PRERELEASE;
fixes locating AIX ATI sockets by their associated TCP/IP addresses;
adjusts to OpenBSD 3.[89]; ends 32 bit Solaris 8 testing (testing on
64 bit Solaris 8 continues.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.89 2007/01/07 09:14:12 rillig Exp $
a9 2
			ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/  \
			ftp://ftp.auscert.org.au/pub/mirrors/vic.cc.purdue.edu/lsof/  \
@


1.89
log
@Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.88 2006/09/26 13:14:03 dsainty Exp $
d4 1
a4 1
DISTNAME=		lsof_4.76
d17 1
a17 1
HOMEPAGE=		http://www-rcd.cc.purdue.edu/~abe/
@


1.88
log
@Add an .../OLD URL to the SITES list, since version 4.76 is now not the latest version.  Even if it were the latest version, this URL should still remain for future-proofing the package.  Since I'm here, add an HTTP option too for those of us that prefer HTTP downloads.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2005/12/05 20:51:01 rillig Exp $
d42 1
a42 1
INSTALLATION_DIRS=	man/man8 sbin
d65 1
a65 1
	${INSTALL_MAN} ${WRKSRC}/lsof.8 ${PREFIX}/man/man8/lsof.8
@


1.87
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.86 2005/09/13 20:18:27 christos Exp $
d9 1
d12 2
a13 1
			ftp://ftp.sunet.se/pub/unix/admin/lsof/
@


1.86
log
@lsof 4.75 is gone; use 4.76
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2005/05/17 04:45:08 atatat Exp $
d21 1
a21 1
CONFIGURE_ARGS=		-n ${LOWER_OPSYS}
@


1.85
log
@Upgrade to lsof version 4.75, thereby getting rid of most of the
accumulated patches.  Changes related to or affecting NetBSD (or
pkgsrc) from the 00DIST file:

4.75            May 16, 2005
                ...
                Improved the BSDI, FreeBSD, NetBSD, OpenBSD and Solaris
                kvm_open() and kvm_openfiles() error messages.

                Enabled support for NetBSD 2.99.12.

Also, add the "uname -r" value to the lsof package version.  This
means that lintpkgsrc will report the lsof package as being out of
date if you update your kernel without updating lsof.  It's entirely
likely that lsof will continue to work, but it might not (and it will
warn you anyway), but it's nice to know that it might be good to
rebuild it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2005/05/16 03:04:45 jlam Exp $
d4 1
a4 1
DISTNAME=		lsof_4.75
@


1.84
log
@Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar".  The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar.  Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar.  Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.83 2005/05/16 01:15:33 jlam Exp $
d4 2
a5 2
DISTNAME=		lsof_4.74
PKGNAME=		${DISTNAME:S/_/-/}
@


1.83
log
@Note that gtar is required by the package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2005/04/11 21:47:25 tv Exp $
a34 4
.if !defined(EXTRACT_USING_PAX)
PKGSRC_USE_TOOLS+=	gtar
.endif

d53 1
a53 1
	if [ "X${EXTRACT_USING_PAX}" = "X" ]; then \
@


1.82
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.81 2005/01/17 14:54:01 atatat Exp $
d35 4
@


1.81
log
@Upgrade to lsof version 4.74, thereby getting rid of most of the
accumulated patches.  Changes related to or affecting NetBSD (or
pkgsrc) from the 00DIST file:

4.74            January 17, 2005
                ...
                Updated lsof for NetBSD 2.99.10 and tested it on a
                system provided by Andrew Brown <atatat@@atatdot.net>.
                ...
                Added BSDI, FreeBSD, NetBSD and OpenBSD support for the
                *effnlink member of the inode structure.  This makes
                the lsof LTnlink test run faster on all modified
                dialects and correctly on OpenBSD.

                Added ptyfs support for NetBSD, using modifications
                provided by Andrew Brown.

                Changed the netbsd Configure stanza to look by default
                for system header files in both /usr/include and
                /usr/src.  (The NETBSD_SYS environment variable can
                still be used to select an alternate for /usr/src.)
                ...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.80 2004/11/30 02:02:13 atatat Exp $
a31 1
USE_BUILDLINK3=		yes
@


1.80
log
@Redo three patches to address build failure on NetBSD <= 1.6ZC, to
change the reported node number for the master side of ptyfs devices,
and to deal more cleanly with some header files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2004/11/28 22:39:07 atatat Exp $
d4 1
a4 2
DISTNAME=		lsof_4.73
PKGREVISION=		1
@


1.79
log
@Tweak the sys/bufq.h support (it disappeared again), enhance the
procfs support a little, incorporate the author's patches to deal with
netbsd-current version numbers getting longer, and add ptyfs support.

These patches are adapted from an interim release the author made and
will appear in the next full release.

PKGREVISION bumped to 1 for the ptyfs support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2004/10/21 13:09:20 atatat Exp $
a33 1
BUILDLINK_PASSTHRU_DIRS=	/usr/src/sys
@


1.78
log
@Upgrade to lsof version 4.73.  No changes related to or affecting
NetBSD (or pkgsrc) are mentioned in the 00DIST file, but this update
conveniently and completely eliminates the problem of the changing tar
file from a few days ago.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2004/10/19 13:10:47 atatat Exp $
d5 1
d34 1
@


1.77
log
@A minor change (by the author) to the tarball (but without changing
the name) renders the checksum invalid (even though the material
contents of the tarball are unchanged).

Luckily, we can switch from the .tar.bz2 distribution to the .tar.gz
one.  It's a little larger, but it get around this problem.  We will
switch back to the .tar.bz2 one once 4.73 is released, which ought to
happen in a few weeks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2004/07/13 13:42:41 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.72
d12 1
a12 1
#EXTRACT_SUFX=		.tar.bz2
@


1.76
log
@Upgrade to lsof version 4.72.  Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.72            July 13, 2004
                ...
                Added support for NetBSD 2.0 with patches supplied by
                Andrew Brown <atatat@@atatdot.net>.  Andrew also
                provided two test systems.
                ...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2004/04/29 04:19:22 atatat Exp $
d12 1
a12 1
EXTRACT_SUFX=		.tar.bz2
@


1.75
log
@Fix NetBSD 2.0 check in Configure, and check for and deal with the new
statvfs() sysctl call which replaced statfs() around 2.0D.  This pkg
will now build on current again (addresses my PR pkg/25372).  Bump
PKGREVISION to 1.

Changes adapted from changes adapted by lsof maintainer based on
changes that made things work this morning.  That means they'll all be
in the next official lsof release.  So there.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2004/03/12 14:31:37 atatat Exp $
d4 1
a4 2
DISTNAME=		lsof_4.71
PKGREVISION=		1
@


1.74
log
@Upgrade to lsof version 4.71.  Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.71            March 11, 2004
                ...
                Added process_kqueue() function prototypes for FreeBSD,
                NetBSD and OpenBSD.
                ...
                Added support for the optional reporting of socket
                options, socket states and TCP flags for most currently
                supported dialects. John Smith <lbalbalba@@hotmail.com>
                and Tristan Nefzger <tn@@bhtrader.com> requested the
                information.  The dialects and their versions for which
                this feature has become available include:

                    AIX 4.3.2 and 5.[12]
                    Apple Darwin 7.2
                    BSDI BSD/OS 4.3.1
                    Digital UNIX and Tru64 UNIX 4.0
                    FreeBSD 4.9 and 5.2
                    HP-UX 11 and 11.11 (aka 11i)
                    NetBSD 1.6ZH
                    OpenBSD 3.4
                    OPENSTEP 4.2
                    OpenUNIX 8
                    Solaris 2.6, 8, 9 and 10
                    UnixWare 7.1.[134]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2004/01/20 12:26:15 agc Exp $
d5 1
@


1.73
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2004/01/17 19:37:35 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.70
@


1.72
log
@Actually, since we can, let's use the .bz2 file
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2004/01/17 19:31:30 atatat Exp $
a5 1
WRKSRC=			${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
d18 1
@


1.71
log
@Upgrade to lsof version 4.70.  Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.70            January 16, 2004
                ...
                Added bz2 compression.
                ...
                Improved handling of parameters after "-i@@".
                ...
                With help from Andrew Brown <atatat@@atatdot.net> and
                John Heasley <heas@@netbsd.org> added log-structured
                file system (LFS) support for NetBSD and OpenBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2004/01/13 02:50:27 atatat Exp $
d13 1
@


1.70
log
@Add LFS support to lsof.  Bump PKGREVISION to 1, making this 4.69nb1.
This patch will be included in the next lsof release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2004/01/05 12:48:30 jlam Exp $
d4 1
a4 1
DISTNAME=		lsof_4.69
a5 1
PKGREVISION=		1
@


1.69
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2003/11/22 23:19:47 christos Exp $
d6 1
@


1.68
log
@4.69 is out, 4.68 is gone. Approved by agc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2003/10/05 07:26:11 veego Exp $
d30 3
d40 1
@


1.67
log
@Bump PKGREVISION for the latest changes from atatat:
  Refix build on -current now that procfs and kernfs have churned again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2003/08/13 13:24:15 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.68
a5 1
PKGREVISION=		2
@


1.66
log
@A patch (courtesy of the lsof maintainer) to make lsof build again on
NetBSD-current, where the structure of the vnode has been altered.
This patch will, as usual, be obsoleted by the next lsof release.
PKGREVISION bumped accordingly.

Install the lsof.8 man page in man8 instead of installing the
preformatted copy in man1 (doing so used to slide by, by new groff
really doesn't like formatting preformatted man pages, and besides, it
was in the wrong place).

Since the only thing left untouched was the DESCR file, I also added
mention of kqueues as something lsof might note, meaning that this
patch touches every file in the pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2003/07/17 22:53:41 grant Exp $
d6 1
a6 1
PKGREVISION=		1
@


1.65
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2003/06/19 07:31:13 tron Exp $
d6 1
d60 1
a60 1
	${INSTALL_MAN} ${WRKSRC}/lsof.man ${PREFIX}/man/man1/lsof.1
@


1.64
log
@Remove non-existing site "ftp.web.ad.jp" from master site list and
correct hostname of mirror in Sweden.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2003/06/19 03:09:37 atatat Exp $
d14 1
a14 1
MAINTAINER=		atatat@@netbsd.org
@


1.63
log
@Upgrade to lsof version 4.68.  Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.68            June 18, 2003
		...
                Upgraded EXT2FS and UFS support for NetBSD and
                OpenBSD to handle new inode information, and the
                fast UFS1 and UFS2 file systems.

                With the help of Andrew Brown <atatat@@atatdot.net>
                determined the NetBSD snapshot (1.6F) at which
                <sys/mount.h> could be included under _KERNEL, thus
                eliminating the lsof netexport.h hack.  The same
                change applies to OpenBSD versions 3.3 and above.
		...

The former change obsoletes patches ab, ac, and ad.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2003/05/04 10:28:30 salo Exp $
d12 1
a12 2
			ftp://ftp.web.ad.jp/pub/UNIX/tools/lsof/  \
			ftp://ftp0.sunet.se/pub/unix/admin/lsof/
@


1.62
log
@delint.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2003/05/03 16:55:28 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.67
a5 1
PKGREVISION=		2
@


1.61
log
@Re-patch lsof with patches from Vic Abell.  Building should now work
on all platforms, with ffs2 (and ext2fs) related bugs smoothed out.

Bump to PKGREVISION 2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2003/04/10 20:10:20 grant Exp $
d5 1
a6 2
PKGNAME=		${DISTNAME:S/_/-/}
TMPWRK=			${WRKDIR}/${DISTNAME}
d29 1
@


1.60
log
@make usage of pax more consistent, use -O to bomb on broken archives
(suggested by lukem), group z, r and f flags.

some whitespace cleanup.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2003/03/27 14:13:26 atatat Exp $
d5 1
@


1.59
log
@Upgrade to lsof version 4.67.  Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.67            March 27, 2003
                Began the transition of the lsof ftp server host
                name from vic.cc.purdue.edu to lsof.itap.purdue.edu.
                That reflects Purdue organizational changes.  This
                first step makes the new name an alias to the old
                one.   The old name, vic.cc.purdue.edu, will remain
                usable for an extended period.
...
                At the request of Alek O. Komarnitsky <alek@@komar.org>
                added the "+c <width>" option to enable optional
                changing of the COMMAND column output maximum width
                from the default to <width>.  The default maximum
                width remains CMDL, as defined in lsof.h.
...
                Added kernel event queue file support for FreeBSD,
                NetBSD and OpenBSD.  Andrew Brown <atatat@@atatdot.net>
                supplied the code.
...
                Augmented a lock ID test on NetBSD to check if the
                ID is an LWP pointer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2003/02/03 01:03:14 atatat Exp $
d53 1
a53 1
		${PAX} -r < ${SRCBALL_NAME}.tar; \
@


1.58
log
@Add kqueue support to lsof.  Bump PKGREVISION to 1, making this
4.66nb1.  This patch will be included in the next lsof release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2002/12/22 20:04:30 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.66
a5 1
PKGREVISION=		1
d9 2
a10 2
MASTER_SITES=		ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/  \
			ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
@


1.57
log
@Upgrade lsof pkg to 4.66.  Notable changes are:

...
                Implemented the HASNOSOCKSECURITY compile-time
                option.  When it and HASSECURITY are defined, lsof
                will be built to list only the user's open files,
                but will also list anyone else's open socket files,
                provided the "-i" option selects their listing.
                Updated the Customize script to ask about setting
                HASNOSOCKSECURITY.  Left it undefined in all dialect
                machine.h header files.  This change was requested
                by Kenneth Stailey <kstailey@@speakeasy.net> for
                use with ntop.
...
                Improved lsof help (-h) and version (-v) information
                reporting.
...

In order to the provide a simple pkgsrc hook for the new
HASNOSOCKSECURITY option, we provide the LSOF_LESS_SECURE_SOCKETS
setting (as a complement to the LSOF_MORE_SECURE option we already
have).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2002/10/12 03:13:39 atatat Exp $
d6 1
@


1.56
log
@Upgrade lsof pkg to 4.65.  Notable changes from 00DIST are:
...
                Enabled compiling of lsof for NetBSD 1.5 with the
                NULL file system, using a patch from Andrew Brown
                <atatat@@atatdot.net>.
...
                Applied a patch, supplied by Andrew Brown
                <atatat@@atatdot.net>, that updates lsof for NetBSD
                version 1.6.6.  Corrected handling of the NetBSD
                nullfs.
...

This obsoletes patch-ab.  Again.  :)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2002/06/26 20:11:29 atatat Exp $
d4 1
a4 1
DISTNAME=		lsof_4.65
d25 2
a26 1
CPPFLAGS+=		-DLSOF_MORE_SECURE=${LSOF_MORE_SECURE}
@


1.55
log
@Upgrade lsof pkg to 4.64.  Notable changes from 00DIST are:

4.64            June 26, 2002
                ...
                Updated lsof's main() function to: 1) close all
                open file descriptors above 2 before starting; and
                2) to set a non-interfering umask.  Moved GET_MAX_FD
                test from misc.c to proto.h, so that main() could
                use it.  Added multiple-include protection to
                proto.h.
                ...
                At the suggestion of Manuel Bouyer <bouyer@@antioche.eu.org>
                switched NetBSD and OpenBSD lsof from using nlist()
                to using kvm_nlist().  Made the same change for
                BSDI, Darwin, and FreeBSD.
                ...
                Added nullfs support for FreeBSD, NetBSD, and OpenBSD
                at the request of Andrew Brown <atatat@@atatdot.net>.
                ...
                Modified all readmnt() functions to ignore mounted-on
                directory names that don't begin with '/'.
                ...
                Tested on NetBSD 1.6A and OpenBSD 3.1.

Also...make myself the maintainer since I keep updating this pkg (hi wiz).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2002/05/29 14:33:35 yyamano Exp $
d4 1
a4 1
DISTNAME=		lsof_4.64
@


1.54
log
@Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2002/04/24 17:48:29 atatat Exp $
d4 2
a5 2
DISTNAME=		lsof_4.63
PKGNAME=		lsof-4.63
d16 1
a16 1
MAINTAINER=		wiz@@netbsd.org
@


1.53
log
@Update lsof to version 4.63.  NetBSD relevant excerpts from the
release notes:

4.63            April 23, 2002
...
                Corrected bugs in device number, file size, file
                offset, and raw device number field output generation.
...
                Built an automated test suite.  (See 00TEST and
                the tests/ sub-directory of the lsof main directory).
                Bela Lubkin requested it.  Dale Talcott, John
                Hughes, and Larry Rosenman helped me validate it
                on their systems.

                During the development of the test suite I discovered
                the following lsof bugs or missing features, and
                corrected or supplied them.
...
                * Corrected the reporting of UNIX domain socket
                  names for Apple Darwin, FreeBSD 4.5 and above,
                  NetBSD 1.4.1 and above, and for OpenBSD 3.0 and
                  above.
...
                Updated the NetBSD and OpenBSD sources so NetBSD
                can process DTYPE_PIPE files, as OpenBSD was already
                able to do.
...
                Added defense against the standard I/O descriptor
                attack.

Note that the test suite is not enabled for this pkg because it
requires root privileges in order to operate.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2002/04/15 15:23:19 christos Exp $
d57 1
a57 1
	${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
@


1.53.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2002/05/29 14:33:35 yyamano Exp $
d57 1
a57 1
	${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
@


1.52
log
@The March 7, 2002 revision (4.62): improves UnixWare >=7.1.1 reporting of UNIX socket NAME field information; updates 00README information on using gcc to compile lsof for AIX; corrects bugs and reporting of non-/dev (or non-device) block device nodes ;makes compilation under BSDI 5.0 possible, but does not substantiate any claim that lsof works there; updates private memfs_mnode.h OpenUNIX header file; enables use of HP-UX bundled C compiler on HP-UX 11.11.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2002/03/03 23:45:41 hubertf Exp $
d4 2
a5 2
DISTNAME=		lsof_4.62
PKGNAME=		lsof-4.62
@


1.51
log
@Mark with OSVERSION_SPECIFIC to prevent it from printinv warnings:
lsof: WARNING: compiled for NetBSD release 1.5.1_ALPHA; this is 1.5.3_ALPHA.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2002/01/23 01:34:36 atatat Exp $
d4 2
a5 2
DISTNAME=		lsof_4.61
PKGNAME=		lsof-4.61
@


1.50
log
@Upgrade to version 4.61.  NetBSD related fixes/features from the
release notes are:

4.61            January 22, 2002
                Updated field output example Perl scripts in the
                scripts/ subdirectory to discover the lsof path,
                starting at .. and proceding through the PATH
                environment variable's directories.
...
                In response to a report from Joshua Wright
                <Joshua.Wright@@jwu.edu> modified NetBSD and OpenBSD
                Configure stanzas and sources so that lsof can be
                built when there is no system source tree (e.g.,
                /usr/src/sys).
...
                Corrected a bug in the matching of IPv4 addresses,
                mapped in IPv6 addresses, to an IPv4 paramter to
                an -i option.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2001/12/21 21:26:05 atatat Exp $
d26 1
@


1.49
log
@Upgrade to version 4.60.  NetBSD related fixes/features from the
release notes are:

4.60		November 9, 2001
		Added special handling to and corrected bugs in
		the matching of IPv4 in IPv6 addresses to -i6:<...>
		selectors.
		...
		Made lsof's method of killing its child process
		more robust, based on a suggestion from Bela Lubkin
		<belal@@caldera.com>.
		...
		Modified all dialect Makefile segments to accept
		select -v #define's from the environment -- a
		builder's comment, host, logname, system information
		and user name.  This was done for Bela Lubkin, so
		he can "tune" the -v output when he packages lsof
		in the upcoming Caldera OSR 5.0.7 release.

The relevant #define from the last note is LSOF_BLDCMT which is
currently assigned the value "NetBSD pkgsrc rocks!"  :)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2001/10/22 12:39:17 atatat Exp $
d4 4
a7 3
DISTNAME=		lsof_4.60_W
PKGNAME=		lsof-4.60
WRKSRC=			${WRKDIR}/${SRCBALL_NAME}
d27 1
a27 1
SRCBALL_NAME=		${DISTNAME:S/_W$//}
d40 2
a41 2
	@@(cd ${WRKDIR} ; \
	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
@


1.48
log
@Upgrade to lsof version 4.59, which obsoletes patch-ab.  NetBSD
releated changes from the release notes for 4.59 include:

4.59		October 20, 2001
		...
		Added an additional UVM test to the NetBSD Configure
		stanza.  Andrew Brown <atatat@@atatdot.net> supplied
		the test; it recognizes NetBSD 1.5Y UVM changes to
		the vnode structure recently committed by Chuck
		Silvers.
		...
		Added an IP version selector to the -i option
		parameters.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2001/10/09 13:57:46 atatat Exp $
d4 2
a5 2
DISTNAME=		lsof_4.59_W
PKGNAME=		lsof-4.59
d23 1
@


1.47
log
@Update to lsof release 4.58 (no obvious NetBSD related changes) and
add a patch to "detect" uvm after Chuck's recent work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2001/09/29 06:18:10 tron Exp $
d4 2
a5 2
DISTNAME=		lsof_4.58_W
PKGNAME=		lsof-4.58
@


1.46
log
@Use "${STRIPFLAG}" and not "${STRIP}" as argument to "install" in the
"do-install" target so that the "lsof" binary really gets stripped. Patch
supplied by Eric Gillespie Jr. in PR pkg/14092.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2001/08/21 09:51:56 wiz Exp $
d4 2
a5 2
DISTNAME=		lsof_4.57_W
PKGNAME=		lsof-4.57
@


1.45
log
@Update to 4.57. Only change that seems it could affect NetBSD:
o Added locale support to lsof's isprint() test,
  based on a suggestion from Dan Mercer <damercer@@mmm.com>.
  Lsof will use setlocale(), when that function and
  its supporting <locale.h> header file are available.
New version's existence brought to my attention by Lloyd Parkes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2001/06/11 06:34:50 jlam Exp $
d54 1
a54 1
	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \
@


1.44
log
@CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.43 2001/05/14 15:39:30 atatat Exp $
# FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp
d4 2
a5 2
DISTNAME=		lsof_4.56_W
PKGNAME=		lsof-4.56
@


1.43
log
@Update to 4.56.  No obvious NetBSD related changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2001/05/04 21:08:25 atatat Exp $
d24 1
a24 1
MAKE_ENV+=		CPPFLAGS="${CPPFLAGS} -DLSOF_MORE_SECURE=${LSOF_MORE_SECURE}"
@


1.42
log
@Back out the update.  Freeze was in effect and I forgot.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2001/05/04 19:07:40 atatat Exp $
d5 2
a6 2
DISTNAME=		lsof_4.55_W
PKGNAME=		lsof-4.55
@


1.41
log
@Update to 4.56_W
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2001/04/30 14:37:23 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.56_W
PKGNAME=		lsof-4.56
@


1.40
log
@Add a mk.conf variable LSOF_MORE_SECURE, which, if set to 1, will
mean that non-privileged users can only view their own open files.

Fixes PR 12741, from Anne Bennett (anne@@alcor.concordia.ca)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2001/03/07 16:07:31 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.55_W
PKGNAME=		lsof-4.55
@


1.39
log
@Make this work in the presence of digest, and the absence of an MD5
definition
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2001/02/28 16:50:58 jlam Exp $
d24 1
d35 2
@


1.38
log
@Honor CFLAGS passed in from environment.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2001/02/28 15:07:41 atatat Exp $
d38 1
a38 1
	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
@


1.37
log
@Update to 4.55_W
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2001/02/25 04:18:15 hubertf Exp $
d23 1
@


1.36
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2001/02/17 17:42:15 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.53_W
PKGNAME=		lsof-4.53
@


1.35
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2000/12/06 23:38:41 wiz Exp $
d54 1
a54 1
	@@${MKDIR} ${PREFIX}/share/lsof
@


1.34
log
@Update to 4.53. No obvious NetBSD related changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2000/12/05 18:56:44 drochner Exp $
d18 1
@


1.33
log
@lsof is at 4.52 now. There are no changes for NetBSD obviously, it's only
that the old distfile isn't available anymore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2000/08/25 00:51:21 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.52_W
PKGNAME=		lsof-4.52
@


1.32
log
@Update to 4.51 -- integrates patch. Other relevant changes:
Changes scripts/ to make Perl 5 the standard; corrects a bug in the
reporting of a PTX fattach()'d target address; encourages NetBSD and
OpenBSD lsof to use /usr/include/uvm when it's available; adds
snprintf() support, including a private version for dialects without
one; fixes a BSDI, DEC/OSF1, Digital UNIX, FreeBSD, NetBSD, OpenBSD,
and Tru64 UNIX repeat-mode memory leak.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2000/06/30 23:28:18 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.51_W
PKGNAME=		lsof-4.51.1
@


1.31
log
@Use release version instead of pre-release version. No functional change.
Bump version to 4.50.2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2000/06/28 00:40:44 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.50_W
PKGNAME=		lsof-4.50.2
@


1.30
log
@Update to pre-release 4.50D. Fixes pkg/10461.
BSD-relevant changes:
o Updated FreeBSD, NetBSD, NeXTSTEP, OpenBSD, and OpenStep support to
  report "no PCB" and the values of the SO_CANTSENDMORE and
  SO_CANTRCVMORE state flags when a socket structure has no inpcb
  pointer.
o Upgraded support for FreeBSD 5.0-CURRENT.  Ben Smithurst
  <ben@@scientia.demon.co.uk> supplied patches and did testing.  David
  O'Brien <obrien@@NUXI.com> supplied a test system.  The update included
  dropping the Fctty part of file descriptor file system support,
  conditional on a Configure script test.  I propagated those changes to
  BSDI, NetBSD, and OpenBSD in anticipation of their having the
  modification in the future.
o Added support for 64 bit file sizes and offsets on BSDI, FreeBSD,
  NetBSD, and OpenBSD, based on a report from Dan Nelson
  <dnelson@@emsphone.com>.  Dan supplied a patch and did FreeBSD testing.
o Added Configure script recognition of NetBSD 1.5, based on a report
  from Andrew Brown <atatat@@atatdot.net>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2000/04/06 13:17:09 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.50D.n+obsd
PKGNAME=		lsof-4.50.1
a32 1
.if defined(${WE_WILL_NEED_THIS_FOR_THE_NEXT_RELEASE})
a47 1
.endif
@


1.29
log
@update to the release version lsof-4.49 (we have been using a beta);
no functional change as far as I can tell.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2000/03/27 08:54:59 tron Exp $
d5 2
a6 2
DISTNAME=		lsof_4.49_W
PKGNAME=		lsof-4.49.4
d33 1
d49 1
@


1.28
log
@Adapt to new handling of "${CONFIGURE}".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2000/03/16 14:02:26 wiz Exp $
d5 2
a6 2
DISTNAME=		lsof_4.49C.n+obsd
PKGNAME=		lsof-4.49.3
d16 1
a16 1
MAINTAINER=		packages@@netbsd.org
d34 13
a46 14
# commented out for the pre-release 4.49.2, which doesn't support it
#	@@(cd ${WRKDIR} ; \
#	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
#	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
#	if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
#		${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
#		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
#		${FALSE} ; \
#	fi ; \
#	if [ "X${EXTRACT_USING_PAX}" = "X" ]; then \
#		${GTAR} -xf ${SRCBALL_NAME}.tar; \
#	else \
#		${PAX} -r < ${SRCBALL_NAME}.tar; \
#	fi)
@


1.27
log
@chmod -> ${CHMOD}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2000/02/22 23:29:21 wiz Exp $
d20 1
a20 1
CONFIGURE_SCRIPT=	Configure
@


1.26
log
@update to 4.49C. Patch incorporated; other changes include an AIX fix,
better Solaris 7/8 autoconfiguration and minor code cleanup.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2000/02/19 03:58:23 wiz Exp $
d56 1
a56 1
	@@chmod 0444 ${PREFIX}/share/lsof/00*
@


1.25
log
@Updated to lsof 4.49B pre-release. Changes since 4.46 are mainly bugfixes
and better IPv6-support, as well as 1.4-current support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 1999/11/14 17:51:24 frueauf Exp $
d5 2
a6 2
DISTNAME=		lsof_4.49B.n+obsd
PKGNAME=		lsof-4.49.2
@


1.24
log
@Update lsof to 4.46.

4.46            October 23, 1999
                Corrected /proc-based Linux lsof to detect that an
                IPv6 address is a mapped IPv4 address.  The problem
                was reported and analyzed by Arkadiusz Miskiewicz
                <misiek@@misiek.eu.org>, who also tested the fix.

                Added a libc5 library /dev/kmem-based Linux lsof
                circumvention, supplied by Jason Lingohr
                <lingman@@lucid.net.au>.

                Corrected a bug in -t (terse) AIX output, reported
                by Wendy Lin <af5@@taiyang.cc.purdue.edu>.  I
                introduced the bug at revision 4.43 when adding
                FILE_FLAG reporting.  This was offered as a patch
                to 4.45.

                Added a work-around for a problem in the OpenBSD
                2.3 <sys/pipe.h> header file.  Volker Borchert
                <bt@@teknon.de> provided and tested it.

                Improved description of cross-building lsof for a
                64 bit Solaris 7 system on a 32 bit system with
                suggestions from Phillip Edwards
                <Philip.Edwards@@sn.wpafb.af.mil>.

                Fixed a gawk POSIX-mode pattern error in the Linux
                /dev/kmem-based Mksrc script, based on a tip from
                Ambrose C. Li <acli@@mingpaoxpress.com>.

                Fixed a bug in the Tru64 UNIX IPv6 handling, courtesy
                of a report from Casper Dik <casper@@holland.sun.com>.

                Enabled support for OpenBSD 2.6.

                Enabled support for BSDI 4.1, based on a report from
                Jeffrey C Honig <jch@@bsdi.com> that only a Configure
                script change is necessary.

                Enabled Configure script to use gcc for building
                lsof for a 64 bit Solaris 7 and 8 kernels, if the
                gcc version is 2.95 or above.

                Improved -i option handling for systems with IPv6
                support so that it will search for a host name in
                both IPv4 and IPv6 families, when that is possible.
                As a companion modification, changed -V processing
                to report a single error when a multiple host name
                match is requested.  Casper Dik <casper@@holland.Sun.COM>
                helped test.

                Fixed a DEC OSF/1, Digital UNIX, Tru64 UNIX repeat
                mode bug, reported by Mayer Ilovitz <mayer@@cooper.edu>.
                Mayer helped test the fix.  The fix was offered as a
                patch to 4.45.

                Changed Solaris socket file recognition scheme, so it
                is (nearly) the same through Solaris 8, where the
                previous clone device scheme no longer works.

                With significant assistance from Casper Dik, added
                support for Solaris 8 Beta and Beta refresh.  The
                IPv6 support in Solaris 8 is still in some flux,
                so there are temporary compensations for the
                differences between Beta IPv6 support and Beta
                refresh IPv6 support.  Casper and I hope those
                differences disappear by FCS.

                Improved the delivery of information on Solaris
                2.5.1, 2.6, 7, and 8 door files.

                Fixed a repeat mode bug that surfaces when /etc/passwd
                changes between cycles.  The bug report and diagnostic
                help were supplied by Igor Schein <igor@@txc.com>.
                The fix was offered as a patch to 4.45.

                Added support for INRIA IPv6 to NetBSD.  Jean-Luc
                Richier <Jean-Luc.Richier@@imag.fr> provided patches
                and a test system on which to verify them.

                Added support for AIX 4.3.3.  Jeff W. Stewart
                <jws@@anaconda.cc.purdue.edu> provided a test system.

                Made adjustments for FreeBSD 4.0-current.

                Improved reporting of information for AIX sockets that
                lack protocol control blocks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 1999/07/30 21:56:57 tron Exp $
d5 2
a6 2
DISTNAME=		lsof_4.46_W
PKGNAME=		lsof-4.46
d10 1
d34 14
a47 13
	@@(cd ${WRKDIR} ; \
	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
	if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
		${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
		${FALSE} ; \
	fi ; \
	if [ "X${EXTRACT_USING_PAX}" = "X" ]; then \
		${GTAR} -xf ${SRCBALL_NAME}.tar; \
	else \
		${PAX} -r < ${SRCBALL_NAME}.tar; \
	fi)
@


1.23
log
@Update "lsof" package to version 4.45. Fixes PR pkg/8123 by
Wolfgang Rupprecht.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 1999/07/08 08:06:59 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.45_W
PKGNAME=		lsof-4.45
@


1.22
log
@Revert to previous configuration:
LOWER_OPSYS for Solaris is solaris.
Remove the ugly hacks which had been introduced to workaround previous
misunderstanding.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 1999/07/07 18:13:56 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.44_W
PKGNAME=		lsof-4.44
@


1.21
log
@Make this package work on Solaris. Again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 1999/06/25 02:41:14 hubertf Exp $
d20 1
a20 1
CONFIGURE_ARGS=		-n ${REAL_LOWER_OPSYS}
a29 1
REAL_LOWER_OPSYS=	solaris
a30 2

REAL_LOWER_OPSYS?=	${LOWER_OPSYS}
@


1.20
log
@Update to V4.44. Changes:

Corrects SunOS 4.1.x HSFS and segmentation fault problems; improves
handling of UNIX PCB addresses in the /proc-based Linux lsof;
corrects PPID and PGRP output ordering conflict; enhanced some
library modules so more dialect versions could use them; adds raw
socket support for /proc-based Linux lsof; adds support for UnixWare
7.1; made NetBSD 1.4C updates; makes minor adjustment for latest
Tru64 UNIX 5.0 Beta release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 1999/06/02 16:14:53 christos Exp $
d20 1
a20 1
CONFIGURE_ARGS=		-n ${LOWER_OPSYS}
d27 1
a27 1
REAL_GROUP=	-g kmem
d29 2
a30 1
MAKE_ENV+=	CPPFLAGS=
d32 2
@


1.19
log
@Update to 4.43_W
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 1999/05/05 17:40:36 bad Exp $
d5 2
a6 2
DISTNAME=		lsof_4.43_W
PKGNAME=		lsof-4.43
@


1.18
log
@Update lsof to 4.42_W.
Relevant changes in this version:
   improved file system search name reporting;
   updates Solaris 2.6 VxFS support;
   support for the latest NetBSD with default UVM support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 1999/05/05 16:40:20 bad Exp $
d5 2
a6 2
DISTNAME=		lsof_4.42_W
PKGNAME=		lsof-4.42
@


1.17
log
@Switch to ftp0.sunet.se per directions during login on that server.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 1999/04/21 10:38:58 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.41_W
PKGNAME=		lsof-4.41
@


1.16
log
@Correct a few typos, and make this safe for Solaris.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 1999/04/01 14:07:56 agc Exp $
d13 1
a13 1
			ftp://ftp.sunet.se/pub/unix/admin/lsof/
@


1.15
log
@Rewrite the extraction commands to be more intuitive.

In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz,
and .tar.bz2).

EXTRACT_USING_PAX can be set as before.

For custom extractions, instead of using EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the
command needed to decompress and extract the lements from the archive.
${DOWNLOADED_DISTFILE} can be used to reference the distfile(s).
e.g. for compressed shars, where previously there was:

EXTRACT_CMD=           ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=    |sh

now use:

EXTRACT_CMD=           ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 1999/03/28 17:29:53 christos Exp $
d20 1
a20 2
OPSYS!=			uname -s
CONFIGURE_ARGS=		-n netbsd
d24 8
d33 1
a33 1
	@@( cd ${WRKDIR} ; \
d44 2
a45 3
		${PAX} -r < ${SRCBALL_NAME}.tar}; \
	fi
	)
d49 1
a49 1
	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m 2755 -g kmem \
@


1.14
log
@Update to lsof_4.41_W
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 1999/02/18 23:09:45 frueauf Exp $
d34 5
a38 1
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS:S/z//} ${SRCBALL_NAME}.tar \
@


1.13
log
@Add arg.c.patch to PATCHFILES, should fix security hole described in
http://www.hert.org/advisories/HERT-02.asc.
Add patch to dialects/n+obsd/dlsof.h to define _KERNEL when including
<sys/socket.h> to get the sockprot definition. Needed to compile on current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 1999/02/17 05:34:32 erh Exp $
d5 2
a6 2
DISTNAME=		lsof_4.40_W
PKGNAME=		lsof-4.40
a14 3
PATCH_SITES=		ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/patches/4.40/
PATCHFILES=		arg.c.patch

a16 2

DIST_SUBDIR=		lsof
@


1.12
log
@Update lsof to 4.40.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/01/01 01:56:51 frueauf Exp $
d15 3
a19 2

CONFLICTS=		lsof-*
@


1.11
log
@Update lsof to 4.39.

The November 25, 1998 revision (4.38): adds FreeBSD 3.0 support;
has idrlogin.perl* scripts updated to recognize sshd processes;
adds support for Digital UNIX 5.0-BETA; adds support for OpenBSD
2.4; adds support for SCO OSR 5.0.5; changes Solaris 2.7 support
to Solaris 7 support; adds support for NEXTSTEP 3.3; adds support
for OpenStep 4.x; adds support for UnixWare 2.1.3; adds support
for Linux 2.0.36; updated NetBSD sources for UVM header file
change; corrects a bug in Sun format kernel name cache processing.

The December 29 1998 revision (4.39): fixes a device number
handling bug for Solaris 7; improves FreeBSD configuration; adds
+f[cfn] option for listing file structure values; makes minor
tweaks for additional Linux glibc evasion; supports AIX 4.3.2;
fixes a -c option processing bug.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1998/11/18 13:04:24 hubertf Exp $
d5 2
a6 2
DISTNAME=		lsof_4.39_W
PKGNAME=		lsof-4.39
@


1.10
log
@fis Homepages URL, per PR 6454 by Geoff C. Wing <gcw@@pobox.com>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1998/09/28 10:57:38 frueauf Exp $
d5 3
a7 2
DISTNAME=		lsof_4.37_W
PKGNAME=		lsof-4.37
d18 1
a18 1
CONFLICTS=		lsof-4.29 lsof-4.31 lsof-4.33 lsof-4.36
a19 1
WRKSRC=			${WRKDIR}/${SRCBALL_NAME}
a24 3
.if (${OPSYS} == "FreeBSD")
CONFIGURE_ARGS=		-n freebsd
.elif (${OPSYS} == "NetBSD")
a25 1
.endif
@


1.9
log
@Update lsof to 4.37.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1998/08/20 15:17:27 tsarna Exp $
d15 1
a15 1
HOMEPAGE=		http://www-rcd.cc.purdue.edu/abe/
@


1.8
log
@The Grand Homepagification:
	- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1998/08/14 20:52:38 frueauf Exp $
d5 2
a6 2
DISTNAME=		lsof_4.36_W
PKGNAME=		lsof-4.36
a13 3
PATCH_SITES=		ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/patches/4.36/
PATCHFILES=		fd_lookup_patch

d17 1
a17 1
CONFLICTS=		lsof-4.29 lsof-4.31 lsof-4.33
@


1.7
log
@Update lsof to 4.36, closes pr 5966.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1998/06/22 13:09:51 agc Exp $
d18 1
@


1.6
log
@Update package Makefiles for automatic manual page handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/06/11 16:25:31 frueauf Exp $
d5 2
a6 2
DISTNAME=		lsof_4.33_W
PKGNAME=		lsof-4.33
d14 3
d19 2
d22 1
@


1.5
log
@Update to lsof-4.33_W.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/05/03 22:37:18 frueauf Exp $
a25 2

MAN1=			lsof.1
@


1.4
log
@Update to lsof 4.31.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/04/15 10:38:49 agc Exp $
d5 2
a6 2
DISTNAME=		lsof_4.31_W
PKGNAME=		lsof-4.31
a25 2

MAKE_FLAGS=		UVM=${UVM}
@


1.3
log
@Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/04/02 09:35:38 frueauf Exp $
d5 2
a6 2
DISTNAME=		lsof_4.29_W
PKGNAME=		lsof-4.29
@


1.2
log
@Add support for UVM.
@
text
@d1 1
a1 6
# New ports collection makefile for:    lsof
# Version required:     4.29
# Date created:         Sat July 20, 1996
# Whom:                 David O'Brien (obrien@@FreeBSD.org)
#
# $NetBSD: Makefile,v 1.1 1998/04/01 15:02:36 frueauf Exp $
d54 1
a54 1
.include <bsd.port.mk>
@


1.1
log
@Initial import of lsof-4.29 pkg.

XXX this will not yet run with UVM
@
text
@d6 1
a6 1
# $NetBSD$
d32 2
a37 8
pre-extract:
	@@if [ "X${UVM}" != X""  ]; then					\
		${ECHO} ""; 						\
		${ECHO} "This package does not yet work with UVM.";	\
		${ECHO} ""; 						\
		${FALSE};						\
        fi

d40 1
a40 1
	EXPMD5=`/usr/bin/grep MD5 README.${SRCBALL_NAME} | sed 's/^[ ]*//'` ; \
d43 3
a45 3
		echo "Expected and calculated MD5 signatures don't agree." ; \
		echo "($$EXPMD5 != $$CALCMD5)" ; \
		exit 1 ; \
d49 1
a49 1
	@@( cd ${WRKSRC} ; echo "y" | ./Inventory || exit 1 )
d57 1
a57 1
	@@/bin/chmod 0444 ${PREFIX}/share/lsof/00*
@
