head	1.101;
access;
symbols
	pkgsrc-2026Q1:1.101.0.24
	pkgsrc-2026Q1-base:1.101
	pkgsrc-2025Q4:1.101.0.22
	pkgsrc-2025Q4-base:1.101
	pkgsrc-2025Q3:1.101.0.20
	pkgsrc-2025Q3-base:1.101
	pkgsrc-2025Q2:1.101.0.18
	pkgsrc-2025Q2-base:1.101
	pkgsrc-2025Q1:1.101.0.16
	pkgsrc-2025Q1-base:1.101
	pkgsrc-2024Q4:1.101.0.14
	pkgsrc-2024Q4-base:1.101
	pkgsrc-2024Q3:1.101.0.12
	pkgsrc-2024Q3-base:1.101
	pkgsrc-2024Q2:1.101.0.10
	pkgsrc-2024Q2-base:1.101
	pkgsrc-2024Q1:1.101.0.8
	pkgsrc-2024Q1-base:1.101
	pkgsrc-2023Q4:1.101.0.6
	pkgsrc-2023Q4-base:1.101
	pkgsrc-2023Q3:1.101.0.4
	pkgsrc-2023Q3-base:1.101
	pkgsrc-2023Q2:1.101.0.2
	pkgsrc-2023Q2-base:1.101
	pkgsrc-2023Q1:1.100.0.6
	pkgsrc-2023Q1-base:1.100
	pkgsrc-2022Q4:1.100.0.4
	pkgsrc-2022Q4-base:1.100
	pkgsrc-2022Q3:1.100.0.2
	pkgsrc-2022Q3-base:1.100
	pkgsrc-2022Q2:1.99.0.10
	pkgsrc-2022Q2-base:1.99
	pkgsrc-2022Q1:1.99.0.8
	pkgsrc-2022Q1-base:1.99
	pkgsrc-2021Q4:1.99.0.6
	pkgsrc-2021Q4-base:1.99
	pkgsrc-2021Q3:1.99.0.4
	pkgsrc-2021Q3-base:1.99
	pkgsrc-2021Q2:1.99.0.2
	pkgsrc-2021Q2-base:1.99
	pkgsrc-2021Q1:1.98.0.6
	pkgsrc-2021Q1-base:1.98
	pkgsrc-2020Q4:1.98.0.4
	pkgsrc-2020Q4-base:1.98
	pkgsrc-2020Q3:1.98.0.2
	pkgsrc-2020Q3-base:1.98
	pkgsrc-2020Q2:1.97.0.8
	pkgsrc-2020Q2-base:1.97
	pkgsrc-2020Q1:1.97.0.4
	pkgsrc-2020Q1-base:1.97
	pkgsrc-2019Q4:1.97.0.6
	pkgsrc-2019Q4-base:1.97
	pkgsrc-2019Q3:1.97.0.2
	pkgsrc-2019Q3-base:1.97
	pkgsrc-2019Q2:1.96.0.8
	pkgsrc-2019Q2-base:1.96
	pkgsrc-2019Q1:1.96.0.6
	pkgsrc-2019Q1-base:1.96
	pkgsrc-2018Q4:1.96.0.4
	pkgsrc-2018Q4-base:1.96
	pkgsrc-2018Q3:1.96.0.2
	pkgsrc-2018Q3-base:1.96
	pkgsrc-2018Q2:1.95.0.18
	pkgsrc-2018Q2-base:1.95
	pkgsrc-2018Q1:1.95.0.16
	pkgsrc-2018Q1-base:1.95
	pkgsrc-2017Q4:1.95.0.14
	pkgsrc-2017Q4-base:1.95
	pkgsrc-2017Q3:1.95.0.12
	pkgsrc-2017Q3-base:1.95
	pkgsrc-2017Q2:1.95.0.8
	pkgsrc-2017Q2-base:1.95
	pkgsrc-2017Q1:1.95.0.6
	pkgsrc-2017Q1-base:1.95
	pkgsrc-2016Q4:1.95.0.4
	pkgsrc-2016Q4-base:1.95
	pkgsrc-2016Q3:1.95.0.2
	pkgsrc-2016Q3-base:1.95
	pkgsrc-2016Q2:1.94.0.8
	pkgsrc-2016Q2-base:1.94
	pkgsrc-2016Q1:1.94.0.6
	pkgsrc-2016Q1-base:1.94
	pkgsrc-2015Q4:1.94.0.4
	pkgsrc-2015Q4-base:1.94
	pkgsrc-2015Q3:1.94.0.2
	pkgsrc-2015Q3-base:1.94
	pkgsrc-2015Q2:1.92.0.2
	pkgsrc-2015Q2-base:1.92
	pkgsrc-2015Q1:1.91.0.6
	pkgsrc-2015Q1-base:1.91
	pkgsrc-2014Q4:1.91.0.4
	pkgsrc-2014Q4-base:1.91
	pkgsrc-2014Q3:1.91.0.2
	pkgsrc-2014Q3-base:1.91
	pkgsrc-2014Q2:1.89.0.2
	pkgsrc-2014Q2-base:1.89
	pkgsrc-2014Q1:1.88.0.6
	pkgsrc-2014Q1-base:1.88
	pkgsrc-2013Q4:1.88.0.4
	pkgsrc-2013Q4-base:1.88
	pkgsrc-2013Q3:1.88.0.2
	pkgsrc-2013Q3-base:1.88
	pkgsrc-2013Q2:1.87.0.2
	pkgsrc-2013Q2-base:1.87
	pkgsrc-2013Q1:1.86.0.2
	pkgsrc-2013Q1-base:1.86
	pkgsrc-2012Q4:1.83.0.2
	pkgsrc-2012Q4-base:1.83
	pkgsrc-2012Q3:1.80.0.4
	pkgsrc-2012Q3-base:1.80
	pkgsrc-2012Q2:1.80.0.2
	pkgsrc-2012Q2-base:1.80
	pkgsrc-2012Q1:1.77.0.2
	pkgsrc-2012Q1-base:1.77
	pkgsrc-2011Q4:1.75.0.4
	pkgsrc-2011Q4-base:1.75
	pkgsrc-2011Q3:1.75.0.2
	pkgsrc-2011Q3-base:1.75
	pkgsrc-2011Q2:1.74.0.2
	pkgsrc-2011Q2-base:1.74
	pkgsrc-2011Q1:1.69.0.2
	pkgsrc-2011Q1-base:1.69
	pkgsrc-2010Q4:1.68.0.6
	pkgsrc-2010Q4-base:1.68
	pkgsrc-2010Q3:1.68.0.4
	pkgsrc-2010Q3-base:1.68
	pkgsrc-2010Q2:1.68.0.2
	pkgsrc-2010Q2-base:1.68
	pkgsrc-2010Q1:1.67.0.2
	pkgsrc-2010Q1-base:1.67
	pkgsrc-2009Q4:1.66.0.4
	pkgsrc-2009Q4-base:1.66
	pkgsrc-2009Q3:1.66.0.2
	pkgsrc-2009Q3-base:1.66
	pkgsrc-2009Q2:1.63.0.2
	pkgsrc-2009Q2-base:1.63
	pkgsrc-2009Q1:1.62.0.16
	pkgsrc-2009Q1-base:1.62
	pkgsrc-2008Q4:1.62.0.14
	pkgsrc-2008Q4-base:1.62
	pkgsrc-2008Q3:1.62.0.12
	pkgsrc-2008Q3-base:1.62
	cube-native-xorg:1.62.0.10
	cube-native-xorg-base:1.62
	pkgsrc-2008Q2:1.62.0.8
	pkgsrc-2008Q2-base:1.62
	cwrapper:1.62.0.6
	pkgsrc-2008Q1:1.62.0.4
	pkgsrc-2008Q1-base:1.62
	pkgsrc-2007Q4:1.62.0.2
	pkgsrc-2007Q4-base:1.62
	pkgsrc-2007Q3:1.61.0.2
	pkgsrc-2007Q3-base:1.61
	pkgsrc-2007Q2:1.58.0.4
	pkgsrc-2007Q2-base:1.58
	pkgsrc-2007Q1:1.58.0.2
	pkgsrc-2007Q1-base:1.58
	pkgsrc-2006Q4:1.55.0.2
	pkgsrc-2006Q4-base:1.55
	pkgsrc-2006Q3:1.54.0.4
	pkgsrc-2006Q3-base:1.54
	pkgsrc-2006Q2:1.54.0.2
	pkgsrc-2006Q2-base:1.54
	pkgsrc-2006Q1:1.53.0.2
	pkgsrc-2006Q1-base:1.53
	pkgsrc-2005Q4:1.48.0.2
	pkgsrc-2005Q4-base:1.48
	pkgsrc-2005Q3:1.47.0.2
	pkgsrc-2005Q3-base:1.47
	pkgsrc-2005Q2:1.46.0.2
	pkgsrc-2005Q2-base:1.46
	pkgsrc-2005Q1:1.43.0.2
	pkgsrc-2005Q1-base:1.43
	pkgsrc-2004Q4:1.41.0.2
	pkgsrc-2004Q4-base:1.41
	pkgsrc-2004Q3:1.40.0.4
	pkgsrc-2004Q3-base:1.40
	pkgsrc-2004Q2:1.40.0.2
	pkgsrc-2004Q2-base:1.40
	pkgsrc-2004Q1:1.39.0.2
	pkgsrc-2004Q1-base:1.39
	pkgsrc-2003Q4:1.36.0.2
	pkgsrc-2003Q4-base:1.36
	netbsd-1-6-1:1.24.0.2
	netbsd-1-6-1-base:1.24
	netbsd-1-6:1.23.0.8
	netbsd-1-6-RELEASE-base:1.23
	pkgviews:1.23.0.4
	pkgviews-base:1.23
	buildlink2:1.23.0.2
	buildlink2-base:1.23
	netbsd-1-5-PATCH003:1.23
	netbsd-1-5-PATCH001:1.14
	netbsd-1-5-RELEASE:1.12
	netbsd-1-4-PATCH003:1.12
	netbsd-1-4-PATCH002:1.8
	comdex-fall-1999:1.8
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	FreeBSD-current-1998-11-10:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.101
date	2023.06.06.12.40.24;	author riastradh;	state Exp;
branches;
next	1.100;
commitid	xhspr6Z8JLQOWSrE;

1.100
date	2022.06.28.11.31.06;	author wiz;	state Exp;
branches;
next	1.99;
commitid	D2UoJrTHpoHEANJD;

1.99
date	2021.05.24.19.49.17;	author wiz;	state Exp;
branches;
next	1.98;
commitid	qokaiStTApGMcrUC;

1.98
date	2020.08.31.18.06.44;	author wiz;	state Exp;
branches;
next	1.97;
commitid	7zxRbfOkDOoxbfmC;

1.97
date	2019.08.11.13.18.07;	author wiz;	state Exp;
branches;
next	1.96;
commitid	Ifet9Pg6Qt99ZByB;

1.96
date	2018.08.22.09.43.04;	author wiz;	state Exp;
branches;
next	1.95;
commitid	YLub8g3ofvFGb6PA;

1.95
date	2016.07.09.06.37.55;	author wiz;	state Exp;
branches;
next	1.94;
commitid	dlqnocGpOoXV2Cdz;

1.94
date	2015.08.21.11.08.36;	author is;	state Exp;
branches;
next	1.93;
commitid	umUT0Dwm5HhAU7yy;

1.93
date	2015.08.21.11.03.43;	author is;	state Exp;
branches;
next	1.92;
commitid	ZrhECv7LtSIqT7yy;

1.92
date	2015.06.12.10.48.29;	author wiz;	state Exp;
branches;
next	1.91;
commitid	B4JmCfaVUbiY38py;

1.91
date	2014.09.08.21.24.44;	author wiz;	state Exp;
branches;
next	1.90;
commitid	qhqeBT4oyK8AuAPx;

1.90
date	2014.09.08.20.40.29;	author wiz;	state Exp;
branches;
next	1.89;
commitid	FMlah0okLsyUeAPx;

1.89
date	2014.05.29.23.35.20;	author wiz;	state Exp;
branches;
next	1.88;
commitid	laryHfkCalgYtuCx;

1.88
date	2013.07.12.10.44.53;	author jperkin;	state Exp;
branches;
next	1.87;
commitid	vVOw5ngQ2VNQxaXw;

1.87
date	2013.05.31.12.39.42;	author wiz;	state Exp;
branches;
next	1.86;
commitid	hIeXGcx6VfKHwMRw;

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

1.85
date	2013.01.29.16.56.39;	author is;	state Exp;
branches;
next	1.84;

1.84
date	2013.01.26.21.37.13;	author adam;	state Exp;
branches;
next	1.83;

1.83
date	2012.12.06.20.50.36;	author is;	state Exp;
branches;
next	1.82;

1.82
date	2012.10.03.21.54.05;	author wiz;	state Exp;
branches;
next	1.81;

1.81
date	2012.10.03.11.24.42;	author asau;	state Exp;
branches;
next	1.80;

1.80
date	2012.04.08.01.28.35;	author dholland;	state Exp;
branches;
next	1.79;

1.79
date	2012.04.08.00.47.26;	author dholland;	state Exp;
branches;
next	1.78;

1.78
date	2012.04.07.23.51.00;	author dholland;	state Exp;
branches;
next	1.77;

1.77
date	2012.02.16.17.29.24;	author hans;	state Exp;
branches
	1.77.2.1;
next	1.76;

1.76
date	2012.02.06.12.39.42;	author wiz;	state Exp;
branches;
next	1.75;

1.75
date	2011.09.24.19.30.40;	author joerg;	state Exp;
branches;
next	1.74;

1.74
date	2011.04.16.11.16.34;	author obache;	state Exp;
branches;
next	1.73;

1.73
date	2011.04.16.11.14.31;	author obache;	state Exp;
branches;
next	1.72;

1.72
date	2011.04.06.20.57.18;	author is;	state Exp;
branches;
next	1.71;

1.71
date	2011.04.06.15.03.02;	author is;	state Exp;
branches;
next	1.70;

1.70
date	2011.04.05.21.09.50;	author is;	state Exp;
branches;
next	1.69;

1.69
date	2011.01.13.13.37.16;	author wiz;	state Exp;
branches;
next	1.68;

1.68
date	2010.06.13.22.43.59;	author wiz;	state Exp;
branches;
next	1.67;

1.67
date	2010.01.18.09.58.42;	author wiz;	state Exp;
branches;
next	1.66;

1.66
date	2009.10.03.11.43.49;	author is;	state Exp;
branches;
next	1.65;

1.65
date	2009.10.02.19.21.58;	author is;	state Exp;
branches;
next	1.64;

1.64
date	2009.08.26.19.57.17;	author sno;	state Exp;
branches;
next	1.63;

1.63
date	2009.06.30.00.07.11;	author joerg;	state Exp;
branches;
next	1.62;

1.62
date	2007.11.11.23.44.51;	author wiz;	state Exp;
branches;
next	1.61;

1.61
date	2007.09.25.10.07.05;	author hira;	state Exp;
branches;
next	1.60;

1.60
date	2007.09.25.08.49.03;	author hira;	state Exp;
branches;
next	1.59;

1.59
date	2007.08.30.16.29.56;	author joerg;	state Exp;
branches;
next	1.58;

1.58
date	2007.03.21.19.44.10;	author jwise;	state Exp;
branches;
next	1.57;

1.57
date	2007.03.21.18.55.47;	author jwise;	state Exp;
branches;
next	1.56;

1.56
date	2007.03.01.17.09.00;	author wiz;	state Exp;
branches;
next	1.55;

1.55
date	2006.10.04.20.51.40;	author wiz;	state Exp;
branches;
next	1.54;

1.54
date	2006.04.17.13.46.19;	author wiz;	state Exp;
branches;
next	1.53;

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

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

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

1.50
date	2006.02.05.23.08.27;	author joerg;	state Exp;
branches;
next	1.49;

1.49
date	2005.12.29.06.21.34;	author jlam;	state Exp;
branches;
next	1.48;

1.48
date	2005.12.05.20.49.55;	author rillig;	state Exp;
branches;
next	1.47;

1.47
date	2005.07.01.10.16.28;	author hira;	state Exp;
branches;
next	1.46;

1.46
date	2005.06.12.14.29.53;	author hira;	state Exp;
branches;
next	1.45;

1.45
date	2005.04.11.21.45.07;	author tv;	state Exp;
branches;
next	1.44;

1.44
date	2005.03.24.21.12.51;	author wiz;	state Exp;
branches;
next	1.43;

1.43
date	2005.02.23.16.58.43;	author jwise;	state Exp;
branches;
next	1.42;

1.42
date	2005.02.23.16.57.28;	author jwise;	state Exp;
branches;
next	1.41;

1.41
date	2004.10.03.00.13.16;	author tv;	state Exp;
branches;
next	1.40;

1.40
date	2004.04.11.06.43.27;	author snj;	state Exp;
branches;
next	1.39;

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

1.38
date	2004.01.03.18.49.36;	author reed;	state Exp;
branches;
next	1.37;

1.37
date	2003.12.20.20.09.50;	author fredb;	state Exp;
branches;
next	1.36;

1.36
date	2003.10.18.13.08.49;	author cjep;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2003.09.20.16.39.33;	author fredb;	state Exp;
branches;
next	1.34;

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

1.33
date	2003.08.09.10.34.47;	author seb;	state Exp;
branches;
next	1.32;

1.32
date	2003.08.07.15.29.57;	author seb;	state Exp;
branches;
next	1.31;

1.31
date	2003.07.17.21.26.51;	author grant;	state Exp;
branches;
next	1.30;

1.30
date	2003.06.27.17.19.21;	author seb;	state Exp;
branches;
next	1.29;

1.29
date	2003.06.18.09.03.16;	author agc;	state Exp;
branches;
next	1.28;

1.28
date	2003.06.02.01.21.21;	author jschauma;	state Exp;
branches;
next	1.27;

1.27
date	2003.03.29.12.40.20;	author jmmv;	state Exp;
branches;
next	1.26;

1.26
date	2003.02.27.17.13.37;	author fredb;	state Exp;
branches;
next	1.25;

1.25
date	2003.02.26.21.45.43;	author fredb;	state Exp;
branches;
next	1.24;

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

1.23
date	2002.03.15.00.33.52;	author fredb;	state Exp;
branches;
next	1.22;

1.22
date	2002.03.13.17.36.43;	author fredb;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.09.17.17.05;	author fredb;	state Exp;
branches;
next	1.20;

1.20
date	2002.03.06.19.19.02;	author fredb;	state Exp;
branches;
next	1.19;

1.19
date	2002.02.18.15.14.04;	author seb;	state Exp;
branches;
next	1.18;

1.18
date	2001.10.26.14.10.00;	author agc;	state Exp;
branches;
next	1.17;

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

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

1.15
date	2001.06.21.17.02.23;	author fredb;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.16.13.56.17;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.21.22.19.21;	author wiz;	state Exp;
branches;
next	1.12;

1.12
date	2000.10.08.20.36.33;	author is;	state Exp;
branches;
next	1.11;

1.11
date	2000.08.31.19.41.17;	author fredb;	state Exp;
branches;
next	1.10;

1.10
date	2000.07.24.06.28.06;	author fredb;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.17.03.43.48;	author fredb;	state Exp;
branches;
next	1.8;

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

1.7
date	99.09.28.20.40.02;	author soren;	state Exp;
branches;
next	1.6;

1.6
date	99.08.17.11.18.05;	author rh;	state Exp;
branches;
next	1.5;

1.5
date	99.02.20.22.48.25;	author hubertf;	state Exp;
branches;
next	1.4;

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

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

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

1.1
date	98.11.15.18.04.25;	author tron;	state Exp;
branches
	1.1.1.1;
next	;

1.77.2.1
date	2012.04.08.11.07.19;	author sbd;	state Exp;
branches;
next	;

1.36.2.1
date	2003.12.30.16.19.32;	author agc;	state Exp;
branches;
next	;

1.1.1.1
date	98.11.15.18.04.25;	author tron;	state Exp;
branches;
next	;


desc
@@


1.101
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@# $NetBSD: Makefile,v 1.100 2022/06/28 11:31:06 wiz Exp $

DISTNAME=	mgetty1.1.37-Jun05
PKGNAME=	mgetty-1.1.37
PKGREVISION=	21
CATEGORIES=	comms
MASTER_SITES=	ftp://alpha.greenie.net/pub/mgetty/source/1.1/

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://mgetty.greenie.net/
COMMENT=	Handle external logins, send and receive faxes
LICENSE=	gnu-gpl-v2

DEPENDS+=	netpbm-[0-9]*:../../graphics/netpbm

MAKE_JOBS_SAFE=		no

TOOL_DEPENDS+=	texi2roff-[0-9]*:../../textproc/texi2roff

CONFLICTS=	hylafax-[0-9]*

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}

MAKE_ENV+=		MGETTY_CONFDIR=${PKG_SYSCONFDIR:Q} PERL5=${PERL5:Q}
MAKE_ENV+=		ROOT_USER=${REAL_ROOT_USER:Q}
MAKE_ENV+=		ROOT_GROUP=${REAL_ROOT_GROUP:Q}
MAKE_ENV+=		SHELL=${SH:Q}
MAKE_ENV+=		VARBASE=${VARBASE:Q}
MAKE_FLAGS+=		prefix=${DESTDIR:Q}${PREFIX:Q}                  \
			spool=${VARBASE}/spool				\
			INFODIR=${DESTDIR:Q}${PREFIX:Q}/${PKGINFODIR:Q} \
			MAN1DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man1\
			MAN4DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man4\
			MAN5DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man5\
			MAN8DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man8\
			LIBS=${LIBS:Q}

INSTALL_MAKE_FLAGS=	${MAKE_FLAGS} CONFDIR=${DESTDIR:Q}${EXAMPLES_DIR:Q}
BUILD_MAKE_FLAGS=	${MAKE_FLAGS:S,${DESTDIR},,} CONFDIR=${PKG_SYSCONFDIR:Q}

CFLAGS.SunOS+=		-Dsolaris2
CFLAGS+=		-DDEVICE_GROUP=\"${REAL_ROOT_GROUP}\"

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "SunOS"
LIBS+=			-lutil
.endif

USE_TOOLS+=		makeinfo perl:run

INFO_FILES=		yes
PKG_SYSCONFSUBDIR=	mgetty+sendfax

PKG_GROUPS=		dialer
PKG_USERS=		fax:dialer
#USERGROUP_PHASE=	pre-install

EXAMPLES_DIR=		${PREFIX}/share/examples/mgetty+sendfax
SPOOL_DIR=		${VARBASE}/spool/fax

.for cfg in		dialin.config		\
			faxheader		\
			faxrunq.config		\
			faxspool.rules.sample	\
			login.config		\
			mgetty.config		\
			voice.conf

CONF_FILES+=		${EXAMPLES_DIR}/${cfg} ${PKG_SYSCONFDIR}/${cfg}
.endfor

ROOT_DIR_PERMS=		${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755
FAX_DIR_PERMS=		fax ${REAL_ROOT_GROUP} 755
SETUID_FAX_PERMS=	fax ${REAL_ROOT_GROUP} 4711

# XXX the package's makefile sets SPOOL_DIR to FAX_DIR_PERMS but the
# pkgsrc package has had it as ROOT_DIR_PERMS. I'm going to leave it
# the way pkgsrc had it; if you find it breaks that way please file a PR.
OWN_DIRS_PERMS+=	${SPOOL_DIR} ${ROOT_DIR_PERMS}
OWN_DIRS_PERMS+=	${SPOOL_DIR}/incoming ${ROOT_DIR_PERMS}
OWN_DIRS_PERMS+=	${SPOOL_DIR}/outgoing ${FAX_DIR_PERMS}

SPECIAL_PERMS+=		lib/mgetty+sendfax/faxq-helper ${SETUID_FAX_PERMS}

SUBST_CLASSES+=		prefix
SUBST_FILES.prefix=	faxrunq.config
SUBST_SED.prefix=	-e 's|/usr/local|${PREFIX}|'
SUBST_SED.prefix+=	-e 's|/var/log|${VARBASE}/log|'
SUBST_STAGE.prefix=	pre-configure
SUBST_MESSAGE.prefix=	Fixing hardcoded installation prefix.

post-extract:
	cd ${WRKSRC} && cp policy.h-dist policy.h

do-configure:
	mv ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in

.include "../../mk/bsd.pkg.mk"
@


1.100
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.99 2021/05/24 19:49:17 wiz Exp $
d18 1
a18 1
BUILD_DEPENDS+=	texi2roff-[0-9]*:../../textproc/texi2roff
@


1.99
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.98 2020/08/31 18:06:44 wiz Exp $
d5 1
a5 1
PKGREVISION=	20
@


1.98
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.97 2019/08/11 13:18:07 wiz Exp $
d5 1
a5 1
PKGREVISION=	19
@


1.97
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.96 2018/08/22 09:43:04 wiz Exp $
d5 1
a5 1
PKGREVISION=	18
@


1.96
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.95 2016/07/09 06:37:55 wiz Exp $
d5 1
a5 1
PKGREVISION=	17
@


1.95
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.94 2015/08/21 11:08:36 is Exp $
d5 1
a5 1
PKGREVISION=	16
@


1.94
log
@There were a few places where time_t was passed to printf-like functions,
but the format string specifies %d.
As all of them are time differences, and a fax transmission shouldn't
need more than 2^31 (normally not even 2^15) seconds, cast to (int),
like already in a few other places.
Needed because sizeof(time_t) > sizeof(int) in NetBSD-6 and later.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.93 2015/08/21 11:03:43 is Exp $
d5 1
a5 1
PKGREVISION=	15
@


1.93
log
@Workaround for NetBSD-6, but problem not understood: sendfax would
overflow the modem with data when FLOW_HARD (FLOWHARD|FLOW_SOFT) was
used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.92 2015/06/12 10:48:29 wiz Exp $
d5 1
a5 1
PKGREVISION=	14
@


1.92
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.91 2014/09/08 21:24:44 wiz Exp $
d5 1
a5 1
PKGREVISION=	13
@


1.91
log
@Bump PKGREVISION for netpbm update.
Add some build fixes where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.90 2014/09/08 20:40:29 wiz Exp $
d5 1
a5 1
PKGREVISION=	12
@


1.90
log
@DEPEND on netpbm instead of including its buildlink3.mk file, if you're
not linking against it.
Bump PKGREVISION for packages that (might be|are) changed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.89 2014/05/29 23:35:20 wiz Exp $
d5 1
a5 1
PKGREVISION=	11
@


1.89
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.88 2013/07/12 10:44:53 jperkin Exp $
d5 1
a5 1
PKGREVISION=	10
d14 2
a91 2
.include "../../graphics/netpbm/buildlink3.mk"

@


1.88
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2013/05/31 12:39:42 wiz Exp $
d5 1
a5 1
PKGREVISION=	9
@


1.87
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.86 2013/02/16 11:20:36 wiz Exp $
d5 1
a5 1
PKGREVISION=	8
@


1.86
log
@Recursive bump for png-1.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2013/01/29 16:56:39 is Exp $
d5 1
a5 1
PKGREVISION=	7
@


1.85
log
@Fix the VARBASE propagation to all utilities. Without this, we tried
to log to /spool/fax/Faxlog.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2013/01/26 21:37:13 adam Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.84
log
@Revbump after graphics/jpeg and textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.83 2012/12/06 20:50:36 is Exp $
d5 1
a5 1
PKGREVISION=	5
d26 1
@


1.83
log
@Explicitly define SHELL to be our SH in the make environment. This prevents
the environment's SHELL to be patched into a dozen or so installed scripts,
instead of a bourne-like shell. Needed after 1.13 of patches/patch-ab (fix
for building on Solaris). Sh scripts don't work well with /bin/tcsh...
Bump revision to recognize whether the fixed one is installed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2012/10/03 21:54:05 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.82
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.81 2012/10/03 11:24:42 asau Exp $
d5 1
a5 1
PKGREVISION=	3
d25 1
@


1.81
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.80 2012/04/08 01:28:35 dholland Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.80
log
@Use SPECIAL_PERMS and switch to user-destdir mode. While this is intended
to produce the same binary package, if something went wrong it might not,
so bump PKGREVISION (to 2) as a precaution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2012/04/08 00:47:26 dholland Exp $
a19 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.79
log
@Rework config patches somewhat so they might work on non-NetBSD.

Attempt to honor VARBASE instead of blithely dropping stuff into /var;
may be incomplete. Doing this right may require sorting out multiple
/var trees as it shouldn't, at least by default, be working dialer
locks in the pkgsrc VARBASE; however, it's not clear that those will
always necessarily be in /var either. For now the package assumes
they will be though.

*** If I have broken this for you, please let me know ASAP.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2012/04/07 23:51:00 dholland Exp $
d5 1
a5 1
PKGREVISION=	1
d20 1
a20 1
PKG_DESTDIR_SUPPORT=	destdir
d25 2
a26 2
MAKE_ENV+=		ROOT_USER=${ROOT_USER:Q}
MAKE_ENV+=		ROOT_GROUP=${ROOT_GROUP:Q}
d40 1
a40 1
CFLAGS+=		-DDEVICE_GROUP=\"${ROOT_GROUP}\"
d54 1
a54 1
USERGROUP_PHASE=	pre-install
d70 7
a76 3
ROOT_DIR_PERMS=		${ROOT_USER} ${ROOT_GROUP} 755
FAX_DIR_PERMS=		fax ${ROOT_GROUP} 755

d81 2
@


1.78
log
@Explicitly pass LIBS to the package's makefile. Fixes build on netbsd-6
and -current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2012/02/16 17:29:24 hans Exp $
d25 2
a26 1
MAKE_ENV+=		ROOT_USER=${ROOT_USER:Q} ROOT_GROUP=${ROOT_GROUP}
d28 1
d40 1
a40 1
CFLAGS+=		-DDEVICE_GROUP=${ROOT_GROUP}
d52 7
d70 2
a71 2
PKG_GROUPS=		dialer
PKG_USERS=		fax:dialer
d73 3
a75 6
USERGROUP_PHASE=	pre-install

EXAMPLES_DIR=		${PREFIX}/share/examples/mgetty+sendfax
OWN_DIRS_PERMS+=	/var/spool/fax ${ROOT_USER} ${ROOT_GROUP} 755
OWN_DIRS_PERMS+=	/var/spool/fax/incoming ${ROOT_USER} ${ROOT_GROUP} 755
OWN_DIRS_PERMS+=	/var/spool/fax/outgoing fax ${ROOT_GROUP} 755
d78 1
a78 1
SUBST_FILES.prefix=	faxrunq.config policy.h
d80 1
@


1.77
log
@Fix build on SunOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2012/02/06 12:39:42 wiz Exp $
d31 3
a33 1
			MAN8DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man8
@


1.77.2.1
log
@Pullup ticket #3716 - requested by dholland
comms/mgetty+sendfax build fix

Revisions pulled up:
- comms/mgetty+sendfax/Makefile                                 1.78

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 23:51:00 UTC 2012

   Modified Files:
   	pkgsrc/comms/mgetty+sendfax: Makefile

   Log Message:
   Explicitly pass LIBS to the package's makefile. Fixes build on netbsd-6
   and -current.
@
text
@d1 1
a1 1
# $NetBSD$
d31 1
a31 3
			MAN8DIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man8\
			LIBS=${LIBS:Q}

@


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

Enjoy.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2011/09/24 19:30:40 joerg Exp $
d25 1
d35 8
@


1.75
log
@Uses chown during install phase, so ensure that the user/group exists
for destdir operation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2011/04/16 11:16:34 obache Exp $
d5 1
@


1.74
log
@move PKG_DESTDIR_SUPPORT and LICENSE to usual location.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2011/04/16 11:14:31 obache Exp $
d52 2
@


1.73
log
@Remove unwanted empty PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2011/04/06 20:57:18 is Exp $
a6 2
PKG_DESTDIR_SUPPORT=destdir
LICENSE=	gnu-gpl-v2
d11 1
d19 2
@


1.72
log
@Update to 1.1.37
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2011/04/06 15:03:02 is Exp $
a4 1
PKGREVISION=	
@


1.71
log
@License is GPL V2. Hinted in Readme.1st, verified with author. (COPYING
is missing in the top level directory, but available in ../x11/viewfax/ and
../tcl/faxview/. COPYING is available in 1.1.37 (TODO: upgrade).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2011/04/05 21:09:50 is Exp $
d3 3
a5 3
DISTNAME=	mgetty1.1.36-Jun15
PKGNAME=	mgetty-1.1.36
PKGREVISION=	5
@


1.70
log
@PKG_DESTDIR_SUPPORT=destdir
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2011/01/13 13:37:16 wiz Exp $
d9 1
@


1.69
log
@png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2010/06/13 22:43:59 wiz Exp $
d8 1
d23 8
a30 8
MAKE_FLAGS+=		prefix=${PREFIX:Q}				\
			INFODIR=${PREFIX:Q}/${PKGINFODIR:Q}		\
			MAN1DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man1		\
			MAN4DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man4		\
			MAN5DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man5		\
			MAN8DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man8
BUILD_MAKE_FLAGS=	${MAKE_FLAGS} CONFDIR=${PKG_SYSCONFDIR:Q}
INSTALL_MAKE_FLAGS=	${MAKE_FLAGS} CONFDIR=${EXAMPLES_DIR:Q}
@


1.68
log
@Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2010/01/18 09:58:42 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.67
log
@Second try at jpeg-8 recursive PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2009/10/03 11:43:49 is Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.66
log
@Actually, the security patch was missing from my last commit. PKGREVISION
increased to distinguish.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2009/10/02 19:21:58 is Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.65
log
@Update mgetty to 1.1.36, at the same time patching faxspool to use
mktemp(1) to avoid symlink vulnerabilities in tmp file/directory
creation/removal (mitre.org CVE-2008-4936). Named 1.1.36nb1 to
emphasize difference from upstream.

Commit ok'd by agc@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2009/08/26 19:57:17 sno Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.64
log
@bump revision because of graphics/jpeg update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2009/06/30 00:07:11 joerg Exp $
d3 3
a5 3
DISTNAME=	mgetty1.1.31-Jul24
PKGNAME=	mgetty-1.1.31
PKGREVISION=	7
@


1.63
log
@Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2007/11/11 23:44:51 wiz Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.62
log
@Remove ftp.leo.org from MASTER_SITES, doesn't resolve.
From Zafer Aydogan in PR 37310.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2007/09/25 10:07:05 hira Exp $
d13 2
@


1.61
log
@Back out previous.  Pointed out by uebayasi@@ and martti@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2007/09/25 08:49:03 hira Exp $
d7 1
a7 2
MASTER_SITES=	ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/ \
		ftp://alpha.greenie.net/pub/mgetty/source/1.1/
@


1.60
log
@mv -> ${MV}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2007/08/30 16:29:56 joerg Exp $
d66 1
a66 1
	${MV} ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in
@


1.59
log
@Fix path to and depend on Perl. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2007/03/21 19:44:10 jwise Exp $
d66 1
a66 1
	mv ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in
@


1.58
log
@Per Juan RP, use pkgsrc-users@@ as MAINTAINER of unmaintained pkgs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2007/03/21 18:55:47 jwise Exp $
d5 1
a5 1
PKGREVISION=	5
d20 1
a20 1
MAKE_ENV+=		MGETTY_CONFDIR=${PKG_SYSCONFDIR:Q}
d30 2
a31 1
USE_TOOLS+=		makeinfo
@


1.57
log
@I'm not using any of these packages any more, and have not been keeping up
on maintaining them.  Switch MAINTAINER to tech-pkg, so I can focus on those
which I am still using.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2007/03/01 17:09:00 wiz Exp $
d10 1
a10 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.56
log
@pkglint cleanup:
Replace configure-script with a patch that does the same.
Use SUBST framework instead of mv+sed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2006/10/04 20:51:40 wiz Exp $
d10 1
a10 1
MAINTAINER=	jwise@@NetBSD.org
@


1.55
log
@Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2006/04/17 13:46:19 wiz Exp $
d31 1
a31 1
INFO_FILES=		# PLIST
d53 6
d61 3
d65 1
a65 10
	${MV} ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in
	cd ${WRKSRC}						\
	&& for _file in faxrunq.config policy.h-dist;		\
	do							\
		${MV} $$_file $${_file}.orig;			\
		${SED} 's|/usr/local|${PREFIX}|'		\
		    $${_file}.orig > $$_file;			\
	done							\
	&& cd ${.CURDIR}					\
	&& ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
@


1.54
log
@Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2006/03/20 04:09:37 jlam Exp $
d11 1
a11 1
HOMEPAGE=	http://alpha.greenie.net/mgetty/
@


1.53
log
@* Remove unnecessary INSTALL and DEINSTALL scripts and replace with an
  appropriate OWN_DIRS_PERMS definition.

* Simplify the patches by overriding the value of CONFDIR at build time
  and at installation time.

* Honor PKGINFODIR and PKGMANDIR.

Bump PKGREVISION to 4 due to INSTALL script changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2006/03/14 01:14:27 jlam Exp $
d5 1
a5 1
PKGREVISION=	4
@


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

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

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

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

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

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2006/03/05 16:27:23 jlam Exp $
d5 1
a5 1
PKGREVISION=	3
d21 8
d31 1
a31 1
INFO_FILES=		mgetty.info
d34 1
a34 2
.if !defined(CONF_FILES)
. for cfg in		dialin.config		\
d42 2
a43 3
CONF_FILES+=		${_EXAMPLES_DIR}/${cfg} ${PKG_SYSCONFDIR}/${cfg}
. endfor
.endif
d48 6
a53 4
_EXAMPLES_DIR=		${PREFIX}/share/examples/mgetty+sendfax
MAKE_DIRS_PERMS+=	/var/spool/fax ${ROOT_USER} ${ROOT_GROUP} 755
MAKE_DIRS_PERMS+=	/var/spool/fax/incoming ${ROOT_USER} ${ROOT_GROUP} 755
MAKE_DIRS_PERMS+=	/var/spool/fax/outgoing fax ${ROOT_GROUP} 755
a66 1
.include "../../graphics/netpbm/buildlink3.mk"
@


1.51
log
@* Teach the tools framework how to supply the pkgsrc version of
  makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2006/02/05 23:08:27 joerg Exp $
a19 3
DEINSTALL_EXTRA_TMPL+=	${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+=	${.CURDIR}/INSTALL

@


1.50
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2005/12/29 06:21:34 jlam Exp $
d25 1
a25 1
USE_MAKEINFO=		YES
@


1.49
log
@Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2005/12/05 20:49:55 rillig Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.48
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.47 2005/07/01 10:16:28 hira Exp $
a19 1
USE_PKGINSTALL=		yes
@


1.47
log
@
Add missing entries to PLIST.  Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2005/06/12 14:29:53 hira Exp $
d24 1
a24 1
MAKE_ENV=		MGETTY_CONFDIR=${PKG_SYSCONFDIR}
d30 1
a30 1
.ifndef CONF_FILES
@


1.46
log
@
- Add missing definition of CONF_EXAMPLES_DIR.
- Add missing entry to PLIST.

Bump PKGREVISION.  This closes PR pkg/30073.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2005/04/11 21:45:07 tv Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.45
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2005/03/24 21:12:51 wiz Exp $
d5 1
@


1.44
log
@Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2005/02/23 16:58:43 jwise Exp $
a17 1
USE_BUILDLINK3=		yes
@


1.43
log
@Be MAINTAINER of this, at least for now.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.42 2005/02/23 16:57:28 jwise Exp $
# FreeBSD Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp
#
@


1.42
log
@Update to mgetty+sendfax-1.1.31.  While here, also install vgetty
config file, which we were skipping.


Changes from mgetty+sendfax-1.1.30:

Sat Jul 24 16:54:52 MEST 2004  Gert Doering <gert@@greenie.muc.de>

	* release 1.1.31

	* doc/mgetty.texi-in: add section on isdn4linux and CAPI

Sat Jul 17 17:21:38 MEST 2004  Gert Doering <gert@@greenie.muc.de>

	* doc/sff2g3.1in: add man page for sff2g3

Sat Jul 17 12:18:28 MEST 2004  Andreas Barth <aba@@not.so.argh.org>

	* cnd.c: add "+CLIP:" string for caller ID

	* voice/libvoice/detect.c: ATI codes for Zoom and Multitech modems

	* voice/libvoice/V253modem.c: more flexible sample/s. handling
	   (old stuff was fixed at 7200 hz)

	* voice/pvftools/pvftormd.c: accept 7200, 8000, 11025 Hz for "Lucent"

	* fax/faxspool.in: use per-user .faxheader/.make.coverpg files
	  instead of global defaults (if per-user files exists)

Fri Jul 16 19:03:48 MEST 2004  Gert Doering <gert@@greenie.muc.de>

	* g3/Makefile: add "make test" test suite (for G3 tools)

	* g3/sff2g3.c: NEW: converter from CAPI SFF fax format to raw G3

	* Makefile: pack g3/sff2g3.c

Thu Feb  5 18:40:29 MET 2004  Gert Doering <gert@@greenie.muc.de>

	* fax/faxspool: rework umask saving/restoring (use subshell trick)

Sat Jan 10 00:01:25 MET 2004  Gert Doering <gert@@greenie.muc.de>

	* faxlib.c: add 1503 ID code (ZyXEL U-90E)

Tue Dec 16 12:46:52 MET 2003  Andreas Barth <aba+nospam@@not.so.argh.org>

	* Makefile: remove -DAUTO_PPP

	* policy.h: include FIDO and AUTO_PPP here

Fri Dec  5 22:46:47 MET 2003  Ken Findlay <kjf@@taylorbritt.com>

	* login.c: empty lines should never match, not even empty user names

Mon Nov 17 20:08:59 MET 2003  Gert Doering

	* mgetty.c: log warning if parent PID is not "1" (init)

	* mgetty.cfg.in: add clarification about "direct yes" to sample cfg

Fri Nov  7 21:47:27 MET 2003  Andreas Barth <aba+nospam@@not.so.argh.org>

	* fax/faxspool.in: add per-user faxheader and coverpg files

	* doc/faxspool.1in, mgetty.texi: document new feature

Thu Oct  9 12:44:47 MEST 2003  Gert Doering

	* fax/faxspool.in: reject empty (0 bytes) input files

Sun Oct  5 13:59:51 MEST 2003  Gert Doering

	* do_chat.c: make clean_line() logging show the timeout value

Mon Sep 29 23:36:34 MEST 2003  Andreas Barth

	* contrib/g3tolj.c, g3toxwd.c: clean up protoypes and return types

	* various .c files: integrate Debian cleanup fixes (usually
	  adding <string.h> and/or <stdlib.h> where missing)

Wed Aug 20 12:39:53 MEST 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxrunqd.in: change signal handling - use HUP for graceful
	    exit, and dump statistics to logfile upon receipt of USR2

Sat Jun 28 22:14:35 MEST 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxq-helper.c: honour user umask when spooling G3 files
	  (user decides whether group/other can read faxes)

	* fax/faxspoool.in: reset umask after creating tmpdir (with umask 077)

	* fax/faxq-helper.c: file name validation was overly strict -
	  accept anything that's printable, not a space, '/' or '\'

Thu Jun 12 16:56:44 MEST 2003  Gert Doering (gert@@greenie.muc.de)

	* faxlib.c: Multitech and USR return class 2.0/2.1 +FPS:<x>,<lc>
	  values in decimal, not hex -> change +FPS: parser to do decimal
	  for those modems (via modem_quirks |= MQ_FPS_NOT_HEX)

	* fax_lib.h: add MQ_FPS_NOT_HEX modem quirk bit

	* faxrec.c, faxrecp.c: understand VR=8 for "normal mode" (200x100 dpi)

Mon Apr 28 19:41:14 MEST 2003  Gert Doering (gert@@greenie.muc.de)

	* logname: make "buffer overrun" error message more precise

Wed Apr 23 10:49:25 MEST 2003  John R. Jackson <jrj@@purdue.edu>

	* voice/libutil/access.c: more verbose error reporting

Wed Apr  9 23:05:23 MEST 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxspool.in: fix spooling without header line (-h -)

Sun Apr  6 16:09:14 MEST 2003  Andreas Barth <aba@@not.so.argh.org>

	* mgetty.8in, mgetty.texi-in: document escape sequences for
	  /etc/issue and login prompt.

Wed Mar  5 21:37:38 MET 2003  Gert Doering (gert@@greenie.muc.de)

	* Makefile: abort "make install" before installing faxspool
	  if fax user does not exist

	* Makefile: unconditionally chown $FAX_SPOOL_OUT to fax user

Tue Feb  4 17:46:45 MET 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxq-helper.c: uid=0 overrides access permission checks

	* fax/faxrm.in: bugfix: get faxq-helper path from sedscript

Tue Jan 21 14:27:39 MET 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxspool.in: abort with a proper error message on input file
	  names containing white space or quote characters

Tue Jan 14 14:30:42 MET 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxrunqd.in: include "success" counter in per_phone_statistics

	* ugly.h: #define USE_VARARGS for non-Ansi C compilers

	* logfile.c: change #include<> sequence to catch USE_VARARGS def.

Wed Jan  8 23:03:26 MET 2003  Gert Doering (gert@@greenie.muc.de)

	* fax/faxrunqd.in: if a fax job fails, reschedule on different
	  modem (if possible)

	* voice/libvoice/V253modem.c: fix ELSA_RMD_NAME (used for
	  V.253 modem <-> other modem RMD equivalency checks)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2004/10/03 00:13:16 tv Exp $
d11 1
a11 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


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

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

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2004/04/11 06:43:27 snj Exp $
d5 2
a6 3
DISTNAME=	mgetty1.1.30-Dec16
PKGNAME=	mgetty-1.1.30
PKGREVISION=	3
d38 3
a40 1
			mgetty.config
@


1.40
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2004/01/20 12:10:01 agc Exp $
d7 1
a7 1
PKGREVISION=	2
@


1.39
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2004/01/03 18:49:36 reed Exp $
d21 1
a21 1
USE_BUILDLINK2=		yes
d64 1
a64 1
.include "../../graphics/netpbm/buildlink2.mk"
@


1.38
log
@Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2003/12/20 20:09:50 fredb Exp $
a7 1
WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
d20 1
@


1.37
log
@Don't make the outgoing fax spool directory chmod 1777. Unprivleged users
are supposed to use "faxspool" to submit faxes for sending, as explained
by Gert Doering (mgetty's author) on tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2003/10/18 13:08:49 cjep Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.36
log
@Whitespace fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2003/09/20 16:39:33 fredb Exp $
d7 1
d50 1
a50 2
MAKE_DIRS_PERMS+=	/var/spool/fax/outgoing ${ROOT_USER} ${ROOT_GROUP} 1777
MAKE_DIRS_PERMS+=	/var/spool/fax/outgoing/locks ${ROOT_USER} ${ROOT_GROUP} 777
@


1.36.2.1
log
@Pullup possible security fix to the pkgsrc-2003Q4 branch, requested by
Frederick Bruckman.

	Module Name:  pkgsrc
	Committed By: fredb
	Date:         Sat Dec 20 20:09:50 UTC 2003

	Modified Files:
	      pkgsrc/comms/mgetty+sendfax: INSTALL Makefile

	Log Message:
	Don't make the outgoing fax spool directory chmod 1777. Unprivleged users
	are supposed to use "faxspool" to submit faxes for sending, as explained
	by Gert Doering (mgetty's author) on tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2003/12/20 20:09:50 fredb Exp $
a6 1
PKGREVISION=	1
d49 2
a50 1
MAKE_DIRS_PERMS+=	/var/spool/fax/outgoing fax ${ROOT_GROUP} 755
@


1.35
log
@Update to 1.1.30, submitted by Stephane Fortier in PR pkg/22867.
"ChangeLog" since 1.1.28 w/dates and blank lines elided:

	* release 1.1.30
	* voice/vgetty/answer.c, voice/include/default.c: integrate Paul
	Fox' pre_message and beep_sound patches
	* voice/libvoice/detect.c: recognize MultiTech MT3334ZDXV
	* faxhng.c: add some result codes for the i4l DIVA driver
	* voice/libvoice/IS_101.c: fix DTMF events for the unshielded case
	* voice/vgetty/answer.c: accept arbitrary ring types, not only 0..6
	* ring.c: map DRON/DROF return codes to binary word, use result
	  as distinctive RING number
	* frontends/www/README: add user authentication example
	* voice/libvoice/V253modem.c: repair messed-up 16 bit PCM patch

	* release 1.1.29
	* voice/libvoice/detect.c: insert delay before sending ATE0 to
	  modem (timing issue - modem might not have sent the full \r\n
	  sequence from the last "OK" yet when the new AT comes in)
	* doc/*.[158]in: bring man pages up to date
	* tools/ltest.c, tools/mid.c: adapt to new lprintf() prototype
	* mgetty.h, logfile.c: adapt to use <stdarg.h> and "..."
	  function declaration (unless USE_VARARGS is set, which is
	  needed for NeXT platforms).  Karsten Keil <kkeil@@suse.de>.
	* Makefile: relax permissions on sendfax and faxrunq.config
	  install - must be readable/executeable by user "fax" now
	* doc/faxrunqd.8in: document "-u", minor updates
	* fax/faxrunqd.in, fax/faxspool.in, fax/faxrunq.in: revert
	  Aug 6, 200 change - put faxqueue_done back into $FAX_SPOOL_OUT/
	  (faxrunq/faxrunqd have no access rights to $VARRUNDIR/ anymore,
	  and $FAX_SPOOL_OUT is no longer world writeable anyway)
	* fax/faxq.in: change from .last_run to faxqueue_done
	* fax/faxrunqd.in: add "-u <user>" switch (set uid to <user>)
	* fax/faxq-helper.c: finalize new fax queue handling using helper
	  process (suid fax) and a fax queue that is no longer
	  world-readable (open issue since 1994 :) )
	* faxrecp.c: implement experimental teergrubing mode (signal
	  "page bad, please retransmit" at the end of each page - or just
	  hang up hard on caller).  Activared with "modem-quirks 0x100"
	  or "0x200", respectively.
	* voice/libvoice/V253Modem.c: add 16 bit linear PCM support
	  (patch coming from Peter Bruley)
	* voice/pvftools/pvftormd.c, rmdtopvf.c: add 16 bit linear PCM
	* rework faxq-helper concept (suid root -> suid fax)
	* fax/faxq.in: adap "-r" to use faxq-helper
	* fax/faxspool.in: adapt to use faxq-helper
	* fax/faxrm.in: adapt to use faxq-helper
	* Makefile: create FAX_SPOOL_OUT with mode 755 and owner FAX_OUT_USER
	* Makefile: add FAX_OUT_USER definition, pass lots of variables
	  to fax/Makefile (for faxq-helper)
	* README.1st: add instructions about FAX_OUT_USER setup
	* doc/mgetty.texi-in add instructions about FAX_OUT_USER setup
	* fax/faxrunqd.in: fix symlink / file overwrite race in JOB files.
	  Pointed out by Jablonovsky Alexander <sasha@@cit-saratov.ru>
	* doc/faxrunq.8in: point out insecurity in symlink handling
	* mgetty.h: Intel 64bit platforms (__x86_64__) needs PTR_IS_LONG
	* voice/libvoice/IS_101.c: implement DLE shielding for long DTMF tones
	  for V.253 (initially by Lee Howard <faxguy@@howardsilvan.com>)
	* mgetty.c: throw out DIST_RING #define - not used anymore
	* ring.c: make sure action strings (CONNECT) are only recognized
	  at the beginning if a line, not in the middle (Paul Fox,
	  pgf@@foxharp.boston.ma.us, CALLER NAME = CONNECTICUT).
	* cnd.c: replace non-printable characters and quotes in caller ID
	  or caller name strings with ' ' - safeguard for passing them to
	  shell later on.
	* doc/mgetty.texi-in: add stuff about recent multitech modems,
	  superfine+v.34 fax, and rework chapter about common problems
	* faxlib.c: fix ugliness with USR modems reporting remote fax
	  ID as "     12345" -> skip leading '"' and all whitespace
	* cnd.c: possible buffer overrun via CallName
	  (found by "A. Guru" <a.guru@@sympatico.ca>)
	* fax/faxrunqd: fix priority vs. write combining bug
	* login.c: check for close-on-exec bit on FD 0 (FreeBSD 4.1 bug)
	* login.c: export Caller Name as environment variable $CALLER_NAME
	* login.c: make message about bad permissions even more clear
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2003/08/30 22:51:13 jlam Exp $
d44 1
a44 1
PKG_USERS=		fax:dialer 
@


1.34
log
@Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2003/08/09 10:34:47 seb Exp $
d5 2
a6 3
DISTNAME=	mgetty1.1.28-Jan10
PKGNAME=	mgetty-1.1.28
PKGREVISION=	3
d42 3
@


1.33
log
@USE_NEW_TEXINFO is unnecessary now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2003/08/07 15:29:57 seb Exp $
d22 1
d24 2
@


1.32
log
@The INSTALL and DEINSTALL scripts were overlooked during the
conversion to USE_NEW_TEXINFO. But...
Replace them with MAKE_DIRS_PERMS from the bsd.pkg.install.mk
framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2003/07/17 21:26:51 grant Exp $
a25 1
USE_NEW_TEXINFO=	YES
@


1.31
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2003/06/27 17:19:21 seb Exp $
d43 4
@


1.30
log
@Convert to USE_NEW_TEXINFO.

Add build dependency on textproc/texi2roff.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2003/06/18 09:03:16 agc Exp $
d13 1
a13 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.29
log
@Use PKGNAME_NOREV, rather than manually trying to strip off any nb
suffix from ${PKGNAME}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2003/06/02 01:21:21 jschauma Exp $
d17 2
d26 2
a56 1
.include "../../mk/texinfo.mk"
@


1.28
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2003/03/29 12:40:20 jmmv Exp $
d8 1
a8 1
WRKSRC=		${WRKDIR}/${PKGNAME:C/nb[0-9]//}
@


1.27
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2003/02/27 17:13:37 fredb Exp $
d13 1
a13 1
MAINTAINER=	packages@@netbsd.org
@


1.26
log
@- - Use standard ${PKG_SYSCONFDIR} handling; bump ${PKGREVISION}.
- - Reorganize Makefile #defines into global toggles, global settings,
    local settings.
- - Reorganize and consolidate override targets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2003/02/26 21:45:43 fredb Exp $
d8 1
a22 1
WRKSRC=			${WRKDIR}/${PKGNAME:C/nb[0-9]//}
@


1.25
log
@Add support for /var/run/utmpx on NetBSD 1.6B or newer, including
building on a suggestion by Gert Doering, filling ut_pid with the pid
of the uucp-style lock holder. This should fix PR pkg/12261, although
you will need today's "w" to see any results. Bump PKGREVSION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2002/10/09 14:42:28 wiz Exp $
d7 1
a7 1
PKGREVISION=	2
d18 2
a19 3
WRKSRC=		${WRKDIR}/${PKGNAME:C/nb[0-9]//}
INFO_FILES=	mgetty.info
INSTALL_FILE=	${WRKDIR}/INSTALL
d21 2
a22 3
MGETTY_CONFDIR=	${PREFIX}/etc/mgetty+sendfax
#MGETTY_CONFDIR=/etc/mgetty
MAKE_ENV+=	MGETTY_CONFDIR=${MGETTY_CONFDIR}
d24 2
a25 1
USE_BUILDLINK2=	# defined
d27 12
a38 2
pre-patch:
	${MV} ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in
d41 10
a50 17
	cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure

post-configure:
	${SED} -e 's#$${INSTALL_DATA_DIR}#${INSTALL_DATA_DIR}#' \
		-e 's#$${MGETTY_CONFDIR}#${MGETTY_CONFDIR}#' \
		-e 's#$${PAX}#${PAX}#' \
		-e 's#$${PREFIX}#${PREFIX}#' \
		${PKGDIR}/INSTALL > ${INSTALL_FILE}
	cd ${WRKSRC}; \
	    ${MV} faxrunq.config faxrunq.config.old; \
	    ${SED} 's#/usr/local#${PREFIX}#' \
		    faxrunq.config.old > faxrunq.config

post-install:
	${INSTALL_DATA_DIR} ${MGETTY_CONFDIR}
	cd ${PREFIX}/share/examples/mgetty+sendfax; \
	    ${PAX} -r -w -pe -k * ${MGETTY_CONFDIR}
@


1.24
log
@buildlink1 -> buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2002/03/15 00:33:52 fredb Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.23
log
@Account for PKGNAME frobbing when PKGREVISION is set.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2002/03/13 17:36:43 fredb Exp $
d26 1
a26 1
USE_BUILDLINK_ONLY=	# defined
d50 1
a50 1
.include "../../graphics/netpbm/buildlink.mk"
@


1.22
log
@Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/03/09 17:17:05 fredb Exp $
d18 1
a18 1
WRKSRC=		${WRKDIR}/${PKGNAME}
@


1.21
log
@Update mgetty+sendfax to 1.1.28. From the ChangeLog file:

    * release 1.1.28
    * faxrec.c: replace "0"'s by "STDIN" (readability)
    * doc/mgetty.texi-in: some updates
    * doc/faxrunq.1in, doc/faxrunqd.8in: document calling convention
      changes (as below)
    * fax/faxrunq(d).in: pass (last) sendfax return code as 2nd
      argument to success/failure program
    * policy.h, utmp.c: incorporate some NetBSD changes
    * various: change time() prototype to "time_t time(time_t *tloc)"
    * mgetty.h, syslibs.h, logfile.c: some #ifdef fiddling for Darwin
    * doc/faxrunq.1in, doc/faxrunqd.8in: document more stuff
    * fax/faxrunq, fax/faxrunqd: don't run queue if a file
      $FAX_SPOOL_OUT/stop exists.
    * login.c: MAX_LOGIN_ARGS handling reworked (claimed N, but allowed
      only N-1), plus warning message improved.  <Juergen.Kosel@@gmx.de>

    * release 1.1.27
    * doc/mgetty.texi-in: work on isdn4linux notes
    * cnd.c (cndtable): add swedish ZyXEL caller ID format (T. Lundgren)
    * cnd.c (cndtable): add "CALLED NUMBER:" (Jan Oberlaender/i4l)
    * various: adaptions to OpenBSD (similar to NetBSD)
    * mgetty.h: patch to adapt to Linux/S390 (PTR_IS_LONG)
    * frontends/www/: integrate new version from Neko
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/03/06 19:19:02 fredb Exp $
d7 1
@


1.20
log
@Rename the fax overview manpage from "fax" to "sendfax", to avoid any
conflict with the "efax" package. "efax" already has an "efax.1", the
actual man page, but "mgetty"'s "sendfax" manpage is "sendfax.8", so
"sendfax.1" is available. Closes PR pkg 14254.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2002/02/18 15:14:04 seb Exp $
d5 2
a6 2
DISTNAME=	mgetty1.1.26-Apr16
PKGNAME=	mgetty-1.1.26
@


1.19
log
@Introduce new framework for handling info files generation and installation.

Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2001/10/26 14:10:00 agc Exp $
d26 3
@


1.18
log
@At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/09/27 23:17:50 jlam Exp $
d47 1
@


1.17
log
@Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/08/22 02:21:44 jlam Exp $
d26 3
@


1.16
log
@Convert to use buildlink.mk files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/06/21 17:02:23 fredb Exp $
d15 1
a15 1
CONFLICTS=	hylafax-*
@


1.15
log
@Fix mgetty package to not delete its config files on pkg_delete (next
time! -- save them by hand if you need them for this upgrade), add a
package hook to change ${CONFDIR}, where the binaries look for their
configuration files, and update to 1.1.26. Many bug fixes and improved
compatibility with various modems. The following were culled from the
extensive ChangeLog file's for being conceivably of general interest.

    * login.c: export current tty as $DEVICE to shell
    * dialin.config: added V253 codes for OUT_OF_AREA and PRIVATE.
    * getdisk.c: fix overflow on file systems with > 2G (2^31 bytes) free
    * getdisk.c: default MINFREESPACE from policy.h was interpreted
      as *bytes*, not as *kbytes*.  Which kind of defeats the purpose
      of checking for "enough disk space".  Fixed, work with kbytes now.
    * faxrecp.c: check access rights first, space second (this will
      give clearer log messages for non-existing directories)
    * faxrecp.c: change fax page writing to open( O_EXCL|O_CREAT )
    * locks.c: use mkstemp() to create tmp file, if available,
      open( O_EXCL|O_CREAT ) otherwise.

and for vgetty...

    * Fixed buffer overflow in vm and vgetty, submitted by Georg
    Kirschbaum, <Georg.Kirschbaum@@gimmel.franken.de>. Impact would
    not have been very big since only DTMFs are under control
    of the user.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/02/16 13:56:17 wiz Exp $
a14 2
DEPENDS=	netpbm-[0-9]*:../../graphics/netpbm

d25 2
d43 1
@


1.14
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2000/10/21 22:19:21 wiz Exp $
d5 2
a6 2
DISTNAME=	mgetty1.1.22-Aug17
PKGNAME=	mgetty-1.1.22
d8 2
a9 1
MASTER_SITES=	ftp://alpha.greenie.net/pub/mgetty/source/1.1/
d21 5
d28 14
a41 6
	@@cd ${WRKSRC}; \
	${MV} faxrunq.config faxrunq.config.old; \
	${SED} -e 's#/usr/local#${PREFIX}#' <faxrunq.config.old >faxrunq.config

pre-install:
	@@(cd ${WRKSRC}/doc; ${MAKE} manpages)
@


1.13
log
@move line for pkglint
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/10/08 20:36:33 is Exp $
d12 1
@


1.12
log
@faxspool needs pbmtext.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/08/31 19:41:17 fredb Exp $
d13 2
a15 1
DEPENDS=	netpbm-[0-9]*:../../graphics/netpbm
@


1.11
log
@Update mgetty to 1.1.22. Changes since 1.1.21 (condensed):

	* callback/callback.c: use VARRUNDIR instead of MGETTY_PID_FILE
	* mgetty.c: use VARRUNDIR to get name of PID file, non-conditional
	* policy.h: MGETTY_PID_FILE is gone, VARRUNDIR used instead
	* mgetty.c: write CallerId to UTMP, if available, Connect otherwise
	* fax/faxspool: convert .pdf files via Acroread (contributed by
		Michael Fischer v. Mollard, mfvm@@gmx.de).
	* Makefile, mksed: introduce $VARRUNDIR
	* fax/faxrunqd.in, fax/faxrunq.in, fax/faxspool.in: change
		location of ".last_run" to $VARRUNDIR/faxqueue_done (previously,
		$fax_spool_out/.last_run creation was vulnerable to symlink attacks)
	* cnd.c: add NMBR=<nnn> format for Digi DataFire RAS
	* login.c: add \Y hack (simplar to \I) to get CallerID in ut_host field
	* faxlib.c: distinguish Elink 310 and Elink 343
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/07/24 06:28:06 fredb Exp $
d14 1
@


1.10
log
@Update vgetty voice extensions patch from 0.9.10 to 0.9.12. No change to
data/fax core. Update adds quirks/hints for a few additional voice modems
and fixes a long-standing bug with WAV file conversions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/05/17 03:43:48 fredb Exp $
d5 2
a6 2
DISTNAME=	mgetty1.1.21-Jul24
PKGNAME=	mgetty-1.1.21
a8 4

PATCH_SITES=	http://www-internal.alphanet.ch/~schaefer/vgetty/global_patches/CURRENT/
PATCHFILES=	mgetty-1.1.21-to-22072000.bz2
PATCH_DIST_STRIP= -p1
@


1.9
log
@Update to 1.1.21 + latest patches to voice extensions.

Numerous tweaks, minor bug fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/10/07 17:41:47 tron Exp $
d11 1
a11 1
PATCHFILES=	mgetty-1.1.21-to-current.bz2
@


1.8
log
@Remove me as maintainer of those packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/09/28 20:40:02 soren Exp $
d5 2
a6 2
DISTNAME=	mgetty1.1.19-Nov24
PKGNAME=	mgetty-1.1.19
d8 5
a12 1
MASTER_SITES=	ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
d15 1
a15 1
HOMEPAGE=	http://www.leo.org/~doering/mgetty/index.html
@


1.7
log
@Use a relative path for bsd.pkg.mk instead of relying on the search path.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/08/17 11:18:05 rh Exp $
d10 1
a10 1
MAINTAINER=	tron@@netbsd.org
@


1.6
log
@Add conflict with hylafax.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1999/02/20 22:48:25 hubertf Exp $
d26 1
a26 1
.include <../../mk/bsd.pkg.mk>
@


1.5
log
@Fix CONFLICTS (remove redundancy, mostly)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/11/24 22:38:06 tron Exp $
d12 2
@


1.4
log
@Update "mgetty" package to version 1.1.19.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/11/15 20:55:56 tron Exp $
a11 2

CONFLICTS=	mgetty-1.1.16
@


1.3
log
@Add mirror site.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/11/15 20:45:29 tron Exp $
d5 2
a6 2
DISTNAME=	mgetty1.1.16-Jul05
PKGNAME=	mgetty-1.1.16
d8 1
a8 2
MASTER_SITES=	ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/ \
		ftp://ftp.nlc.net.au/pub/unix/net/
d13 3
a15 1
WRKSRC=		${WRKDIR}/mgetty-1.1.16
@


1.2
log
@Adapt this package to NetBSD.
@
text
@d1 1
a1 1
# $NetBSD$
d8 2
a9 1
MASTER_SITES=	ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
@


1.1
log
@Initial revision
@
text
@d1 2
a2 6
# New ports collection makefile for:    mgetty+sendfax
# Version required:     1.1.16
# Date created:         20 April 1998
# Whom:                 rkw
#
# Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp
d10 2
a11 1
MAINTAINER=	jmz@@FreeBSD.org
d14 6
a19 6
MAKE_FLAGS=	prefix=${PREFIX} -f
MAN1=		coverpg.1 fax.1 faxq.1 faxrm.1 faxrunq.1 faxspool.1 \
		g3cat.1 g32pbm.1 pbm2g3.1 pvf.1 zplay.1
MAN4=		mgettydefs.4
MAN5=		faxqueue.5
MAN8=		sendfax.8 mgetty.8 callback.8 faxrunqd.8
d24 1
a24 6
.if !defined(BATCH)
post-install:
	@@(cd ${PKGDIR}; export PKG_PREFIX=${PREFIX}; /usr/bin/perl INSTALL _ POST-INSTALL)
.endif

.include <bsd.port.mk>
@


1.1.1.1
log
@Initial import of FreeBSD "mgetty+sendfax" port:
Handle external logins, send and receive faxes.
@
text
@@
