head	1.61;
access;
symbols
	RELENG_8_4:1.61.0.2
	RELENG_9_1_0_RELEASE:1.57.2.3.2.2
	RELENG_9_1:1.57.2.3.0.2
	RELENG_9_1_BP:1.57.2.3
	RELENG_8_3_0_RELEASE:1.55.10.1.8.1
	RELENG_8_3:1.55.10.1.0.8
	RELENG_8_3_BP:1.55.10.1
	RELENG_9_0_0_RELEASE:1.57.2.1.2.1
	RELENG_9_0:1.57.2.1.0.2
	RELENG_9_0_BP:1.57.2.1
	RELENG_9:1.57.0.2
	RELENG_9_BP:1.57
	RELENG_7_4_0_RELEASE:1.55.14.1
	RELENG_8_2_0_RELEASE:1.55.10.1.6.1
	RELENG_7_4:1.55.0.14
	RELENG_7_4_BP:1.55
	RELENG_8_2:1.55.10.1.0.6
	RELENG_8_2_BP:1.55.10.1
	RELENG_8_1_0_RELEASE:1.55.10.1.4.1
	RELENG_8_1:1.55.10.1.0.4
	RELENG_8_1_BP:1.55.10.1
	RELENG_7_3_0_RELEASE:1.55.12.1
	RELENG_7_3:1.55.0.12
	RELENG_7_3_BP:1.55
	RELENG_8_0_0_RELEASE:1.55.10.1.2.1
	RELENG_8_0:1.55.10.1.0.2
	RELENG_8_0_BP:1.55.10.1
	RELENG_8:1.55.0.10
	RELENG_8_BP:1.55
	RELENG_7_2_0_RELEASE:1.55.8.1
	RELENG_7_2:1.55.0.8
	RELENG_7_2_BP:1.55
	RELENG_7_1_0_RELEASE:1.55.6.1
	RELENG_6_4_0_RELEASE:1.51.2.2.4.1
	RELENG_7_1:1.55.0.6
	RELENG_7_1_BP:1.55
	RELENG_6_4:1.51.2.2.0.4
	RELENG_6_4_BP:1.51.2.2
	RELENG_7_0_0_RELEASE:1.55
	RELENG_6_3_0_RELEASE:1.51.2.2
	RELENG_7_0:1.55.0.4
	RELENG_7_0_BP:1.55
	RELENG_6_3:1.51.2.2.0.2
	RELENG_6_3_BP:1.51.2.2
	RELENG_7:1.55.0.2
	RELENG_7_BP:1.55
	RELENG_6_2_0_RELEASE:1.51.2.1
	RELENG_6_2:1.51.2.1.0.6
	RELENG_6_2_BP:1.51.2.1
	RELENG_5_5_0_RELEASE:1.46.2.3
	RELENG_5_5:1.46.2.3.0.2
	RELENG_5_5_BP:1.46.2.3
	RELENG_6_1_0_RELEASE:1.51.2.1
	RELENG_6_1:1.51.2.1.0.4
	RELENG_6_1_BP:1.51.2.1
	RELENG_6_0_0_RELEASE:1.51.2.1
	RELENG_6_0:1.51.2.1.0.2
	RELENG_6_0_BP:1.51.2.1
	RELENG_6:1.51.0.2
	RELENG_6_BP:1.51
	RELENG_5_4_0_RELEASE:1.46.2.2
	RELENG_5_4:1.46.2.2.0.2
	RELENG_5_4_BP:1.46.2.2
	RELENG_4_11_0_RELEASE:1.15.2.17
	RELENG_4_11:1.15.2.17.0.2
	RELENG_4_11_BP:1.15.2.17
	RELENG_5_3_0_RELEASE:1.46
	RELENG_5_3:1.46.0.4
	RELENG_5_3_BP:1.46
	RELENG_5:1.46.0.2
	RELENG_5_BP:1.46
	RELENG_4_10_0_RELEASE:1.15.2.13
	RELENG_4_10:1.15.2.13.0.10
	RELENG_4_10_BP:1.15.2.13
	RELENG_5_2_1_RELEASE:1.43
	RELENG_5_2_0_RELEASE:1.43
	RELENG_5_2:1.43.0.2
	RELENG_5_2_BP:1.43
	RELENG_4_9_0_RELEASE:1.15.2.13
	RELENG_4_9:1.15.2.13.0.8
	RELENG_4_9_BP:1.15.2.13
	RELENG_5_1_0_RELEASE:1.40
	RELENG_5_1:1.40.0.2
	RELENG_5_1_BP:1.40
	RELENG_4_8_0_RELEASE:1.15.2.13
	RELENG_4_8:1.15.2.13.0.6
	RELENG_4_8_BP:1.15.2.13
	RELENG_5_0_0_RELEASE:1.36
	RELENG_5_0:1.36.0.2
	RELENG_5_0_BP:1.36
	RELENG_4_7_0_RELEASE:1.15.2.13
	RELENG_4_7:1.15.2.13.0.4
	RELENG_4_7_BP:1.15.2.13
	RELENG_4_6_2_RELEASE:1.15.2.13
	RELENG_4_6_1_RELEASE:1.15.2.13
	RELENG_4_6_0_RELEASE:1.15.2.13
	RELENG_4_6:1.15.2.13.0.2
	RELENG_4_6_BP:1.15.2.13
	RELENG_4_5_0_RELEASE:1.15.2.12
	RELENG_4_5:1.15.2.12.0.4
	RELENG_4_5_BP:1.15.2.12
	RELENG_4_4_0_RELEASE:1.15.2.12
	RELENG_4_4:1.15.2.12.0.2
	RELENG_4_4_BP:1.15.2.12
	RELENG_4_3_0_RELEASE:1.15.2.10
	RELENG_4_3:1.15.2.10.0.2
	RELENG_4_3_BP:1.15.2.10
	RELENG_4_2_0_RELEASE:1.15.2.8
	RELENG_4_1_1_RELEASE:1.15.2.2
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.15
	RELENG_3_5_0_RELEASE:1.9.2.4
	RELENG_4_0_0_RELEASE:1.15
	RELENG_4:1.15.0.2
	RELENG_4_BP:1.15
	RELENG_3_4_0_RELEASE:1.9.2.4
	RELENG_3_3_0_RELEASE:1.9.2.4
	RELENG_3_2_PAO:1.9.2.3.0.2
	RELENG_3_2_PAO_BP:1.9.2.3
	RELENG_3_2_0_RELEASE:1.9.2.3
	RELENG_3_1_0_RELEASE:1.9.2.1
	RELENG_3:1.9.0.2
	RELENG_3_BP:1.9
	RELENG_2_2_8_RELEASE:1.6
	RELENG_3_0_0_RELEASE:1.8
	RELENG_2_2_7_RELEASE:1.6
	RELENG_2_2_6_RELEASE:1.6
	RELENG_2_2_5_RELEASE:1.6
	v8_8_6:1.1.1.4
	RELENG_2_2_2_RELEASE:1.6
	RELENG_2_2_1_RELEASE:1.6
	RELENG_2_2_0_RELEASE:1.6
	RELENG_2_1_7_RELEASE:1.1.1.1.6.5
	v8_8_5:1.1.1.4
	v8_8_4:1.1.1.4
	RELENG_2_1_6_1_RELEASE:1.1.1.1.6.5
	v8_8_3:1.1.1.4
	RELENG_2_1_6_RELEASE:1.1.1.1.6.4
	RELENG_2_2:1.6.0.2
	RELENG_2_2_BP:1.6
	v8_8_2:1.1.1.4
	v8_7_6:1.1.1.3
	RELENG_2_1_5_RELEASE:1.1.1.1.6.4
	v8_7_5:1.1.1.3
	v8_7_4:1.1.1.3
	v8_7_3:1.1.1.3
	v8_7_2:1.1.1.3
	ALLMAN:1.1.1
	RELENG_2_1_0_RELEASE:1.1.1.1.6.1
	v8_6_12:1.1.1.2
	RELENG_2_1_0:1.1.1.1.0.6
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.4
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.61
date	2013.02.17.00.31.21;	author svnexp;	state Exp;
branches
	1.61.2.1;
next	1.60;

1.60
date	2012.11.17.01.54.59;	author svnexp;	state Exp;
branches;
next	1.59;

1.59
date	2012.02.28.18.30.18;	author dim;	state Exp;
branches;
next	1.58;

1.58
date	2011.12.19.13.35.44;	author dim;	state Exp;
branches;
next	1.57;

1.57
date	2010.01.03.15.32.25;	author ed;	state Exp;
branches
	1.57.2.1;
next	1.56;

1.56
date	2010.01.02.11.07.44;	author ed;	state Exp;
branches;
next	1.55;

1.55
date	2007.04.09.01.45.52;	author gshapiro;	state Exp;
branches
	1.55.2.1
	1.55.6.1
	1.55.8.1
	1.55.10.1
	1.55.12.1
	1.55.14.1;
next	1.54;

1.54
date	2006.09.26.02.18.35;	author obrien;	state Exp;
branches;
next	1.53;

1.53
date	2006.03.17.18.54.43;	author ru;	state Exp;
branches;
next	1.52;

1.52
date	2005.08.17.02.36.31;	author gshapiro;	state Exp;
branches;
next	1.51;

1.51
date	2005.06.10.06.12.53;	author des;	state Exp;
branches
	1.51.2.1;
next	1.50;

1.50
date	2004.12.21.10.49.28;	author ru;	state Exp;
branches;
next	1.49;

1.49
date	2004.12.21.10.16.04;	author ru;	state Exp;
branches;
next	1.48;

1.48
date	2004.12.10.19.15.31;	author gshapiro;	state Exp;
branches;
next	1.47;

1.47
date	2004.11.13.20.40.31;	author bz;	state Exp;
branches;
next	1.46;

1.46
date	2004.08.06.07.27.07;	author cperciva;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	2004.08.01.01.16.59;	author gshapiro;	state Exp;
branches;
next	1.44;

1.44
date	2004.06.01.01.29.42;	author gshapiro;	state Exp;
branches;
next	1.43;

1.43
date	2003.07.24.18.30.25;	author markm;	state Exp;
branches;
next	1.42;

1.42
date	2003.07.07.03.54.04;	author gshapiro;	state Exp;
branches;
next	1.41;

1.41
date	2003.06.02.02.18.37;	author obrien;	state Exp;
branches;
next	1.40;

1.40
date	2003.05.19.15.52.01;	author des;	state Exp;
branches;
next	1.39;

1.39
date	2003.04.04.17.49.19;	author obrien;	state Exp;
branches;
next	1.38;

1.38
date	2003.01.31.23.26.55;	author markm;	state Exp;
branches;
next	1.37;

1.37
date	2003.01.28.23.08.41;	author markm;	state Exp;
branches;
next	1.36;

1.36
date	2002.02.17.22.06.20;	author gshapiro;	state Exp;
branches;
next	1.35;

1.35
date	2001.09.14.11.03.34;	author ru;	state Exp;
branches;
next	1.34;

1.34
date	2001.08.03.16.22.47;	author gshapiro;	state Exp;
branches;
next	1.33;

1.33
date	2001.07.20.06.20.19;	author obrien;	state Exp;
branches;
next	1.32;

1.32
date	2001.03.26.14.41.54;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	2001.03.01.03.50.28;	author gshapiro;	state Exp;
branches;
next	1.30;

1.30
date	2001.02.22.03.55.08;	author gshapiro;	state Exp;
branches;
next	1.29;

1.29
date	2000.10.26.23.02.36;	author gshapiro;	state Exp;
branches;
next	1.28;

1.28
date	2000.10.24.16.04.56;	author gshapiro;	state Exp;
branches;
next	1.27;

1.27
date	2000.10.13.16.52.28;	author gshapiro;	state Exp;
branches;
next	1.26;

1.26
date	2000.10.13.16.49.14;	author gshapiro;	state Exp;
branches;
next	1.25;

1.25
date	2000.10.12.17.04.32;	author gshapiro;	state Exp;
branches;
next	1.24;

1.24
date	2000.10.11.12.19.42;	author peter;	state Exp;
branches;
next	1.23;

1.23
date	2000.10.11.05.04.21;	author gshapiro;	state Exp;
branches;
next	1.22;

1.22
date	2000.10.11.03.35.32;	author gshapiro;	state Exp;
branches;
next	1.21;

1.21
date	2000.10.10.18.15.41;	author gshapiro;	state Exp;
branches;
next	1.20;

1.20
date	2000.09.17.00.41.32;	author gshapiro;	state Exp;
branches;
next	1.19;

1.19
date	2000.09.13.04.16.16;	author gshapiro;	state Exp;
branches;
next	1.18;

1.18
date	2000.08.14.02.36.29;	author gshapiro;	state Exp;
branches;
next	1.17;

1.17
date	2000.08.13.08.36.40;	author gshapiro;	state Exp;
branches;
next	1.16;

1.16
date	2000.08.12.22.39.25;	author gshapiro;	state Exp;
branches;
next	1.15;

1.15
date	99.12.29.18.56.55;	author peter;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	99.12.29.18.40.56;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	99.08.28.01.19.55;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	99.03.28.10.53.21;	author markm;	state Exp;
branches;
next	1.11;

1.11
date	99.02.07.09.48.52;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	99.01.24.07.54.30;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	99.01.12.12.47.54;	author peter;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	98.09.19.22.42.12;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	98.08.04.15.24.04;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	96.10.24.05.06.19;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	96.04.22.20.30.09;	author pst;	state Exp;
branches;
next	1.4;

1.4
date	96.04.21.19.47.56;	author pst;	state Exp;
branches;
next	1.3;

1.3
date	95.12.02.20.56.59;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	95.12.02.18.36.12;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.05.22.39;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.61.2.1
date	2013.02.17.00.31.21;	author svnexp;	state dead;
branches;
next	1.61.2.2;

1.61.2.2
date	2013.03.28.13.06.25;	author svnexp;	state Exp;
branches;
next	;

1.57.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.57.2.1.2.1;
next	1.57.2.2;

1.57.2.2
date	2011.12.31.15.03.29;	author dim;	state Exp;
branches;
next	1.57.2.3;

1.57.2.3
date	2012.03.13.18.39.57;	author dim;	state Exp;
branches
	1.57.2.3.2.1;
next	1.57.2.4;

1.57.2.4
date	2012.11.17.11.37.48;	author svnexp;	state Exp;
branches;
next	1.57.2.5;

1.57.2.5
date	2013.02.26.19.03.13;	author svnexp;	state Exp;
branches;
next	;

1.57.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.57.2.1.2.2;

1.57.2.1.2.2
date	2012.11.17.08.37.44;	author svnexp;	state Exp;
branches;
next	;

1.57.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.57.2.3.2.2;

1.57.2.3.2.2
date	2012.11.17.08.48.36;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1
date	2012.11.17.08.09.05;	author svnexp;	state Exp;
branches;
next	;

1.55.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.55.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.55.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.55.10.1.2.1
	1.55.10.1.4.1
	1.55.10.1.6.1
	1.55.10.1.8.1;
next	1.55.10.2;

1.55.10.2
date	2012.11.17.10.37.26;	author svnexp;	state Exp;
branches;
next	;

1.55.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.55.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.55.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.55.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.55.10.1.8.2;

1.55.10.1.8.2
date	2012.11.17.08.25.58;	author svnexp;	state Exp;
branches;
next	;

1.55.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.55.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.55.14.2;

1.55.14.2
date	2012.11.17.08.17.51;	author svnexp;	state Exp;
branches;
next	;

1.51.2.1
date	2005.08.20.01.39.08;	author gshapiro;	state Exp;
branches;
next	1.51.2.2;

1.51.2.2
date	2007.04.12.03.11.43;	author gshapiro;	state Exp;
branches
	1.51.2.2.4.1;
next	1.51.2.3;

1.51.2.3
date	2012.11.17.07.46.42;	author svnexp;	state Exp;
branches;
next	;

1.51.2.2.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.46.2.1
date	2004.11.28.14.10.20;	author bz;	state Exp;
branches;
next	1.46.2.2;

1.46.2.2
date	2004.12.12.18.59.05;	author gshapiro;	state Exp;
branches;
next	1.46.2.3;

1.46.2.3
date	2005.08.28.04.58.25;	author gshapiro;	state Exp;
branches;
next	1.46.2.4;

1.46.2.4
date	2007.04.12.03.12.28;	author gshapiro;	state Exp;
branches;
next	;

1.15.2.1
date	2000.08.27.17.31.46;	author gshapiro;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2000.09.19.23.37.13;	author gshapiro;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	2000.10.11.05.09.07;	author gshapiro;	state Exp;
branches;
next	1.15.2.4;

1.15.2.4
date	2000.10.11.12.41.28;	author peter;	state Exp;
branches;
next	1.15.2.5;

1.15.2.5
date	2000.10.24.16.08.58;	author gshapiro;	state Exp;
branches;
next	1.15.2.6;

1.15.2.6
date	2000.10.26.18.58.36;	author gshapiro;	state Exp;
branches;
next	1.15.2.7;

1.15.2.7
date	2000.10.26.23.05.16;	author gshapiro;	state Exp;
branches;
next	1.15.2.8;

1.15.2.8
date	2000.10.31.17.04.10;	author gshapiro;	state Exp;
branches;
next	1.15.2.9;

1.15.2.9
date	2001.02.27.21.20.21;	author gshapiro;	state Exp;
branches;
next	1.15.2.10;

1.15.2.10
date	2001.03.06.01.56.47;	author gshapiro;	state Exp;
branches;
next	1.15.2.11;

1.15.2.11
date	2001.04.25.12.10.53;	author ru;	state Exp;
branches;
next	1.15.2.12;

1.15.2.12
date	2001.08.03.20.51.50;	author gshapiro;	state Exp;
branches;
next	1.15.2.13;

1.15.2.13
date	2002.03.25.21.32.29;	author gshapiro;	state Exp;
branches;
next	1.15.2.14;

1.15.2.14
date	2004.06.06.17.27.11;	author gshapiro;	state Exp;
branches;
next	1.15.2.15;

1.15.2.15
date	2004.08.09.00.15.44;	author gshapiro;	state Exp;
branches;
next	1.15.2.16;

1.15.2.16
date	2004.12.12.18.59.26;	author gshapiro;	state Exp;
branches;
next	1.15.2.17;

1.15.2.17
date	2004.12.13.13.50.02;	author marius;	state Exp;
branches;
next	1.15.2.18;

1.15.2.18
date	2005.08.28.05.11.56;	author gshapiro;	state Exp;
branches;
next	1.15.2.19;

1.15.2.19
date	2007.04.12.03.13.04;	author gshapiro;	state Exp;
branches;
next	1.15.2.20;

1.15.2.20
date	2012.11.17.07.28.43;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	99.01.24.08.01.34;	author peter;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	99.04.07.09.31.37;	author peter;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	99.05.05.18.52.17;	author obrien;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	99.08.29.15.48.12;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.05.22.40;	author rgrimes;	state Exp;
branches
	1.1.1.1.6.1;
next	1.1.1.2;

1.1.1.2
date	95.08.17.04.34.33;	author peter;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	95.12.02.17.22.54;	author peter;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	96.10.24.04.46.42;	author peter;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	95.08.26.12.28.49;	author davidg;	state Exp;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	96.03.25.06.52.35;	author peter;	state Exp;
branches;
next	1.1.1.1.6.3;

1.1.1.1.6.3
date	96.04.22.06.34.31;	author pst;	state Exp;
branches;
next	1.1.1.1.6.4;

1.1.1.1.6.4
date	96.04.22.20.31.16;	author pst;	state Exp;
branches;
next	1.1.1.1.6.5;

1.1.1.1.6.5
date	96.11.22.05.30.59;	author nate;	state Exp;
branches;
next	;


desc
@@


1.61
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246880
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	@@(#)Makefile	8.8 (Berkeley) 3/28/97
# $FreeBSD: head/usr.sbin/sendmail/Makefile 246880 2013-02-16 20:17:31Z dim $

.include <bsd.own.mk>

SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SMDIR=	${SENDMAIL_DIR}/src
.PATH: ${SMDIR}

BINDIR=	/usr/libexec/sendmail

PROG=	sendmail
MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
MLINKS+=sendmail.8 hoststat.8
MLINKS+=sendmail.8 purgestat.8
SRCS=	alias.c arpadate.c bf.c collect.c conf.c control.c \
	convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
	macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \
	ratectrl.c readcf.c recipient.c savemail.c sasl.c sfsasl.c \
	shmticklib.c sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c \
	timers.c tls.c trace.c udb.c usersmtp.c util.c version.c
BINOWN=	root
BINGRP=	smmsp
.ifdef SENDMAIL_SET_USER_ID
BINMODE=4555
.else
BINMODE=2555
.endif

# Define the database format to use for aliases et al.
DBMDEF=	-DNEWDB
# If you don't want NIS alias/map support, comment out this line
.if ${MK_NIS} != "no"
NIS=	-DNIS
.endif
# Map extensions
MAPS=	-DMAP_REGEX -DDNSMAP

CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I.
CFLAGS+= ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DNETINET6
.endif

WARNS?=	1

DPADD=	${LIBUTIL} ${LIBWRAP}
LDADD=	-lutil -lwrap

LIBSMDIR=	${.OBJDIR}/../../lib/libsm
LIBSM=		${LIBSMDIR}/libsm.a

LIBSMUTILDIR=	${.OBJDIR}/../../lib/libsmutil
LIBSMUTIL=	${LIBSMUTILDIR}/libsmutil.a

DPADD+=	${LIBSMUTIL} ${LIBSM}
LDADD+=	${LIBSMUTIL} ${LIBSM}

SRCS+=	sm_os.h
CLEANFILES+=sm_os.h

.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
# STARTTLS support
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
DPADD+=		${LIBSSL} ${LIBCRYPTO}
LDADD+=		-lssl -lcrypto
.endif

# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
DPADD+=${SENDMAIL_DPADD}
LDADD+=${SENDMAIL_LDADD}
LDFLAGS+=${SENDMAIL_LDFLAGS}

sm_os.h:
	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h

.include <bsd.prog.mk>
@


1.61.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:25 +0000
@
text
@d1 79
@


1.61.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 77
#	@@(#)Makefile	8.8 (Berkeley) 3/28/97
# $FreeBSD: releng/8.4/usr.sbin/sendmail/Makefile 168522 2007-04-09 01:45:52Z gshapiro $

.include <bsd.own.mk>

SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SMDIR=	${SENDMAIL_DIR}/src
.PATH: ${SMDIR}

BINDIR=	/usr/libexec/sendmail

PROG=	sendmail
MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
MLINKS+=sendmail.8 hoststat.8
MLINKS+=sendmail.8 purgestat.8
SRCS=	alias.c arpadate.c bf.c collect.c conf.c control.c \
	convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
	macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \
	ratectrl.c readcf.c recipient.c savemail.c sasl.c sfsasl.c \
	shmticklib.c sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c \
	timers.c tls.c trace.c udb.c usersmtp.c util.c version.c
BINOWN=	root
BINGRP=	smmsp
.ifdef SENDMAIL_SET_USER_ID
BINMODE=4555
.else
BINMODE=2555
.endif

# Define the database format to use for aliases et al.
DBMDEF=	-DNEWDB
# If you don't want NIS alias/map support, comment out this line
.if ${MK_NIS} != "no"
NIS=	-DNIS
.endif
# Map extensions
MAPS=	-DMAP_REGEX -DDNSMAP

CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I.
CFLAGS+= ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DNETINET6
.endif

DPADD=	${LIBUTIL} ${LIBWRAP}
LDADD=	-lutil -lwrap

LIBSMDIR=	${.OBJDIR}/../../lib/libsm
LIBSM=		${LIBSMDIR}/libsm.a

LIBSMUTILDIR=	${.OBJDIR}/../../lib/libsmutil
LIBSMUTIL=	${LIBSMUTILDIR}/libsmutil.a

DPADD+=	${LIBSMUTIL} ${LIBSM}
LDADD+=	${LIBSMUTIL} ${LIBSM}

SRCS+=	sm_os.h
CLEANFILES+=sm_os.h

.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
# STARTTLS support
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
DPADD+=		${LIBSSL} ${LIBCRYPTO}
LDADD+=		-lssl -lcrypto
.endif

# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
DPADD+=${SENDMAIL_DPADD}
LDADD+=${SENDMAIL_LDADD}
LDFLAGS+=${SENDMAIL_LDFLAGS}

sm_os.h:
	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h

.include <bsd.prog.mk>
@


1.60
log
@Switching exporter and resync
@
text
@d2 1
a2 1
# $FreeBSD: head/usr.sbin/sendmail/Makefile 232263 2012-02-28 18:30:18Z dim $
a47 5
# Unfortunately, clang gives warnings about sendmail code that cannot
# be turned off yet.  Since this is contrib code, and we don't really
# care about the warnings, just make them non-fatal for now.
NO_WERROR.clang=

@


1.59
log
@SVN rev 232263 on 2012-02-28 18:30:18Z by dim

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after:	2 weeks
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.58
log
@SVN rev 228707 on 2011-12-19 13:35:44Z by dim

Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet.  Since this is contrib code, and we don't really care
about the warnings, just turn make them non-fatal for now.

MFC after:	1 week
@
text
@a47 1
.if ${CC:T:Mclang} == "clang"
d51 1
a51 2
NO_WERROR=
.endif
@


1.57
log
@SVN rev 201433 on 2010-01-03 15:32:25Z by ed

Lower WARNS for sendmail.

Even though it builds with WARNS=2, some users link sendmail from the
base system against SASL. This doesn't build in this case.

Reported by:	Andrzej Tobola <ato iem pw edu pl>
@
text
@d48 7
@


1.57.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.57.2.2
log
@SVN rev 229112 on 2011-12-31 15:03:29Z by dim

MFC r228558, r228585, r228588, r228652, r228707:

  Unfortunately, clang gives warnings about sendmail code that cannot be
  turned off yet.  Since this is contrib code, and we don't really care
  about the warnings, just make them non-fatal for now.

MFC r228590:

  Fix typos in the comments about clang warnings in several
  sendmail-related Makefiles.

  Spotted by:	arundel

MFC r228708:

  In usr.bin/vacation/Makefile, fix a typo in the comment about clang
  warnings.

  Spotted by:	arundel
@
text
@a47 7
.if ${CC:T:Mclang} == "clang"
# Unfortunately, clang gives warnings about sendmail code that cannot
# be turned off yet.  Since this is contrib code, and we don't really
# care about the warnings, just make them non-fatal for now.
NO_WERROR=
.endif

@


1.57.2.3
log
@SVN rev 232930 on 2012-03-13 18:39:57Z by dim

MFC r232263:

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp
@
text
@d48 1
d52 2
a53 1
NO_WERROR.clang=
@


1.57.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.sbin/sendmail/Makefile 232930 2012-03-13 18:39:57Z dim $
@


1.57.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247333
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.sbin/sendmail/Makefile 247333 2013-02-26 18:31:03Z dim $
d48 5
@


1.57.2.3.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.57.2.3.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/usr.sbin/sendmail/Makefile 232930 2012-03-13 18:39:57Z dim $
@


1.57.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.57.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/usr.sbin/sendmail/Makefile 201433 2010-01-03 15:32:25Z ed $
@


1.56
log
@SVN rev 201390 on 2010-01-02 11:07:44Z by ed

The last big commit: let usr.sbin/ use WARNS=6 by default.
@
text
@d46 1
a46 1
WARNS?=	2
@


1.55
log
@This FFR is no longer needed in sendmail 8.14
@
text
@d46 2
@


1.55.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/usr.sbin/sendmail/Makefile 168522 2007-04-09 01:45:52Z gshapiro $
@


1.55.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.55.14.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/usr.sbin/sendmail/Makefile 168522 2007-04-09 01:45:52Z gshapiro $
@


1.55.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.55.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.55.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/usr.sbin/sendmail/Makefile 168522 2007-04-09 01:45:52Z gshapiro $
@


1.55.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.55.10.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/usr.sbin/sendmail/Makefile 168522 2007-04-09 01:45:52Z gshapiro $
@


1.55.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.55.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.55.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.55.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.55.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.54
log
@Catch up with share/mk/bsd.sys.mk rev. 1.38.
@
text
@d63 1
a63 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL
@


1.53
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@a38 1
CSTD?=	c89
@


1.52
log
@Make links for hoststat(8) and purgestat(8) man pages.

PR:		docs/85009
MFC after:	3 days
@
text
@d4 2
d33 1
a33 1
.if !defined(NO_NIS)
d43 1
a43 1
.if !defined(NO_INET6)
d62 1
a62 1
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
@


1.51
log
@Remove kludges intended to support src trees with partial obj trees.

Discussed with:	ru
@
text
@d12 2
@


1.51.2.1
log
@MFC: Make links for hoststat(8) and purgestat(8) man pages.

     Revision  Changes    Path
     1.52      +2 -0      src/usr.sbin/sendmail/Makefile

Approved by:	re (hrs)
@
text
@a11 2
MLINKS+=sendmail.8 hoststat.8
MLINKS+=sendmail.8 purgestat.8
@


1.51.2.2
log
@MFC: sendmail 8.14.1
@
text
@d62 1
a62 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
@


1.51.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/usr.sbin/sendmail/Makefile 168643 2007-04-12 03:13:04Z gshapiro $
@


1.51.2.2.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.50
log
@NOINET6 -> NO_INET6
@
text
@d46 2
a47 6
.if exists(${.OBJDIR}/../../lib/libsm)
LIBSMDIR:=	${.OBJDIR}/../../lib/libsm
.else
LIBSMDIR!=	cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
.endif
LIBSM:=		${LIBSMDIR}/libsm.a
d49 2
a50 6
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:=	${.OBJDIR}/../../lib/libsmutil
.else
LIBSMUTILDIR!=	cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
.endif
LIBSMUTIL:=	${LIBSMUTILDIR}/libsmutil.a
@


1.49
log
@NOCRYPT -> NO_CRYPT
@
text
@d39 1
a39 1
.if !defined(NOINET6)
@


1.48
log
@Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.

PR:		bin/73105
MFC after:	2 days
@
text
@d66 1
a66 1
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
@


1.47
log
@Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
@
text
@d68 1
a68 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
@


1.46
log
@Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
@
text
@d29 1
d31 1
@


1.46.2.1
log
@MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Approved by:	rwatson (mentor)
@
text
@a28 1
.if !defined(NO_NIS)
a29 1
.endif
@


1.46.2.2
log
@MFC: Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.

     PR:	bin/73105

     Revision  Changes    Path
     1.48      +1 -1      src/usr.sbin/sendmail/Makefile
@
text
@d68 1
a68 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL
@


1.46.2.3
log
@MFC: sendmail 8.13.4 and hoststat(8)/purgestat(8) man page linking

Reminder by:	Terry Kennedy
@
text
@a11 2
MLINKS+=sendmail.8 hoststat.8
MLINKS+=sendmail.8 purgestat.8
@


1.46.2.4
log
@MFC: sendmail 8.14.1
@
text
@d70 1
a70 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
@


1.45
log
@Reflect changes in sendmail 8.13 source tree
@
text
@a65 1
DISTRIBUTION=	crypto
@


1.44
log
@Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it
is set.

MFC after:	4 days
@
text
@d15 3
a17 3
	readcf.c recipient.c savemail.c sasl.c sfsasl.c shmticklib.c \
	sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c timers.c \
	tls.c trace.c udb.c usersmtp.c util.c version.c
d35 1
a35 1
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DTCPWRAPPERS ${MAPS}
@


1.43
log
@Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
@
text
@d35 5
a39 1
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DNETINET6 -DTCPWRAPPERS ${MAPS}
@


1.42
log
@Remove MAINTAINER= lines from individual Makefiles in favor of the
MAINTAINER file (which already had entries for sendmail).
@
text
@d60 1
a60 2
.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && \
	!defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
@


1.41
log
@CSTD=c89 due to mismatched declarations.
@
text
@a3 2
MAINTAINER=	gshapiro@@FreeBSD.org

@


1.40
log
@Retire the useless NOSECURE knob.

Approved by:	re (scottl)
@
text
@d35 1
@


1.39
log
@style.Makefile(5)
@
text
@d61 2
a62 3
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && \
	!defined(NOSECURE) && !defined(NO_OPENSSL) && \
	!defined(RELEASE_CRUNCH)
@


1.38
log
@No need for the OPENSSL_NO_KRB5 switch anymore.

Fixed by:	nectar
@
text
@d67 1
a68 1
DPADD+=		${LIBSSL} ${LIBCRYPTO}
@


1.37
log
@iAdjust for OpenSSL 0.9.7.
@
text
@a36 1
CFLAGS+= -DOPENSSL_NO_KRB5
@


1.36
log
@Update build infrastructure for sendmail 8.12.
Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
@
text
@d37 1
@


1.35
log
@Set BINOWN=root explicitly for setuid root binaries.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.34 2001/08/03 16:22:47 gshapiro Exp $
d14 1
a14 1
SRCS=	alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
d17 3
a19 3
	readcf.c recipient.c savemail.c sfsasl.c shmticklib.c srvrsmtp.c \
	stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
	version.c
d21 2
d24 3
d33 1
a33 1
MAPS=	-DMAP_REGEX
d35 2
a36 2
CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include
CFLAGS+= ${DBMDEF} ${NIS} -DNETINET6 -DTCPWRAPPERS ${MAPS}
d41 7
d55 5
a59 2
DPADD+=	${LIBSMUTIL}
LDADD+=	${LIBSMUTIL}
d66 1
a66 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK
d77 2
a78 7
afterinstall:
	@@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/sendmail.cf -a \
	      ! -f ${DESTDIR}/etc/mail/sendmail.cf ]; then \
		set -x; \
		mv -f ${DESTDIR}/etc/sendmail.cf \
		    ${DESTDIR}/etc/mail/sendmail.cf; \
	fi
@


1.34
log
@Convert to using the same method of detecting the secure directory as other
usr.sbin programs.

Noted by:	markm
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.33 2001/07/20 06:20:19 obrien Exp $
d20 1
@


1.33
log
@Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.32 2001/03/26 14:41:54 ru Exp $
d45 3
a47 2
.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \
	!defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
@


1.32
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.31 2001/03/01 03:50:28 gshapiro Exp $
d8 1
a8 1
.PATH:	${SMDIR}
d13 8
a23 1

a25 1

d29 2
a30 2
CFLAGS+=-I${SMDIR} -I${SENDMAIL_DIR}/include
CFLAGS+=${DBMDEF} ${NIS} -DNETINET6 -DTCPWRAPPERS ${MAPS}
a31 6
SRCS=	alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
	convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
	macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \
	readcf.c recipient.c savemail.c sfsasl.c shmticklib.c srvrsmtp.c \
	stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
	version.c
a33 2
MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
BINMODE=4555
@


1.31
log
@Move installation of sendmail helpfile into etc/sendmail/Makefile.  It is
a user configurable file and it would benefit from mergemaster.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.30 2001/02/22 03:55:08 gshapiro Exp $
d34 1
a34 3
MAN1=	mailq.1 newaliases.1
MAN5=	aliases.5
MAN8=	sendmail.8 
@


1.30
log
@Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations.  In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.29 2000/10/26 23:02:36 gshapiro Exp $
a62 4

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
	    ${DESTDIR}/etc/mail/helpfile
@


1.29
log
@Add a MAINTAINER= line so people know who to blame
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.28 2000/10/24 16:04:56 gshapiro Exp $
a64 2
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
	    ${DESTDIR}/var/log/sendmail.st
@


1.28
log
@Fix up the build for the STARTTLS version of sendmail (again).  This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
@
text
@d2 3
a4 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.27 2000/10/13 16:52:28 gshapiro Exp $
@


1.27
log
@Note on the last commit that the problem was actually in the secure version
but bde recommended explicitly setting BINDIR in both Makefiles.

Submitted by:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.26 2000/10/13 16:49:14 gshapiro Exp $
d46 9
@


1.26
log
@../Makefile.inc was clobbering BINDIR so sendmail was being installed in
/usr/sbin/ instead of /usr/libexec/sendmail/

Submitted by:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.25 2000/10/12 17:04:32 gshapiro Exp $
@


1.25
log
@Remove STARTTLS support as it breaks builds without crypto installed.
Waiting to hear back regarding the best way to do this.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.24 2000/10/11 12:19:42 peter Exp $
d8 1
a8 1
BINDIR?=/usr/libexec/sendmail
@


1.24
log
@With apoligies to Greg Shapiro, fix the world.  The previous commit
lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than
appending to them with +=.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.23 2000/10/11 05:04:21 gshapiro Exp $
a45 7

.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
# STARTTLS support
CFLAGS+=-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK
LDADD+=	-lssl -lcrypto
DPADD+=	${LIBSSL} ${LIBCRYPTO}
.endif
@


1.23
log
@Style fixes
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.22 2000/10/11 03:35:32 gshapiro Exp $
d44 2
a45 2
DPADD=	${LIBSMUTIL}
LDADD=	${LIBSMUTIL}
@


1.22
log
@NOCRYPT imples NO_OPENSSL.
Still need to solve the distribution problem.

Submitted by:	kris
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.21 2000/10/10 18:15:41 gshapiro Exp $
d44 2
a45 2
DPADD+=	${LIBSMUTIL}
LDADD+=	${LIBSMUTIL}
d56 2
a58 2
LDADD+=${SENDMAIL_LDADD}
DPADD+=${SENDMAIL_DPADD}
@


1.21
log
@Build sendmail with STARTTLS support unless NO_OPENSSL is set.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.20 2000/09/17 00:41:32 gshapiro Exp $
d47 1
a47 1
.if !defined(NO_OPENSSL)
@


1.20
log
@Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.19 2000/09/13 04:16:16 gshapiro Exp $
d46 7
@


1.19
log
@Allow users to add libraries for sendmail (e.g. Cyrus SASL)

Obtained from:	Sergei Vyshenski <svysh@@pn.sinp.msu.ru>
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.18 2000/08/14 02:36:29 gshapiro Exp $
d31 1
a31 1
LDADD+=	-lutil -lwrap
d46 6
@


1.18
log
@Turn on support for IPv6
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.17 2000/08/13 08:36:40 gshapiro Exp $
d31 1
a31 1
LDADD=	-lutil -lwrap
@


1.17
log
@Get rid of the /etc/aliases -> /etc/mail/aliases hack.  /etc/mail/aliases
now exists in the distribution.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.16 2000/08/12 22:39:25 gshapiro Exp $
d22 1
a22 1
CFLAGS+=${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
@


1.16
log
@The rest of the changes needed to support the new version of sendmail (8.11.0).
Beyond changes to the build system, this includes fixing up the sample
freebsd.mc configuration for changes in defaults and syntax, removing
outdated documentation, and updating the release notes.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15 1999/12/29 18:56:55 peter Exp $
a58 6
	fi
	@@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/aliases -a \
	      ! -f ${DESTDIR}/etc/mail/aliases ]; then \
		set -x; \
		cp ${DESTDIR}/etc/aliases \
		   ${DESTDIR}/etc/mail/aliases; \
@


1.15
log
@Since /etc/sendmail.cf got moved to /etc/mail/sendmail.cf, a 'make world'
would leave you with a broken sendmail and local mail loss.
This evil hack moves sendmail.cf from the old location to the new one (if
required) at install time.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.14 1999/12/29 18:40:56 peter Exp $
d4 2
a5 1
SMDIR=	${.CURDIR}/../../contrib/sendmail/src
d21 9
a29 9
CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
CFLAGS+=-D_FFR_MAX_MIME_HEADER_LENGTH
CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH

SRCS=	alias.c arpadate.c clock.c collect.c conf.c control.c convtime.c \
	daemon.c deliver.c domain.c envelope.c err.c headers.c macro.c \
	main.c map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
	safefile.c savemail.c snprintf.c srvrsmtp.c stab.c stats.c \
	sysexits.c trace.c udb.c usersmtp.c util.c version.c
d37 10
d50 2
a51 2
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/sendmail.hf \
	    ${DESTDIR}/usr/share/misc
d59 6
@


1.15.2.1
log
@MFC: Import of sendmail 8.11.0.
     Includes: moving /etc/aliases to /etc/mail/aliases, removing outdated
               documentation, and updating freebsd.mc for new syntax.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15 1999/12/29 18:56:55 peter Exp $
d4 1
a4 2
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
SMDIR=	${SENDMAIL_DIR}/src
d20 9
a28 9
CFLAGS+=-I${SMDIR} -I${SENDMAIL_DIR}/include
CFLAGS+=${DBMDEF} ${NIS} -DNETINET6 -DTCPWRAPPERS ${MAPS}

SRCS=	alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
	convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
	macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \
	readcf.c recipient.c savemail.c sfsasl.c shmticklib.c srvrsmtp.c \
	stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
	version.c
a35 10
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:=	${.OBJDIR}/../../lib/libsmutil
.else
LIBSMUTILDIR!=	cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
.endif
LIBSMUTIL:=	${LIBSMUTILDIR}/libsmutil.a

DPADD+=	${LIBSMUTIL}
LDADD+=	${LIBSMUTIL}

d39 2
a40 2
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SMDIR}/helpfile \
	    ${DESTDIR}/etc/mail/helpfile
@


1.15.2.2
log
@MFC: Give users a way to alter the sendmail (and related utilities) build
     environment so they can enable functionality such as SASL, LDAP, Hesiod.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.1 2000/08/27 17:31:46 gshapiro Exp $
a45 6

# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}
LDFLAGS+=${SENDMAIL_LDFLAGS}
LDADD+=${SENDMAIL_LDADD}
DPADD+=${SENDMAIL_DPADD}
@


1.15.2.3
log
@MFC: Style fixes
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.2 2000/09/19 23:37:13 gshapiro Exp $
d44 2
a45 2
DPADD=	${LIBSMUTIL}
LDADD=	${LIBSMUTIL}
d49 2
a51 2
LDADD+=${SENDMAIL_LDADD}
LDFLAGS+=${SENDMAIL_LDFLAGS}
@


1.15.2.4
log
@MFC: unbreak sendmail build (do not override LDADD with -lutil -lwrap)
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.3 2000/10/11 05:09:07 gshapiro Exp $
d44 2
a45 2
DPADD+=	${LIBSMUTIL}
LDADD+=	${LIBSMUTIL}
@


1.15.2.5
log
@MFC 1.26: Don't allow BINDIR to be clobbered by an earlier setting
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.4 2000/10/11 12:41:28 peter Exp $
d8 1
a8 1
BINDIR=	/usr/libexec/sendmail
@


1.15.2.6
log
@MFC: STARTTLS support for sendmail(8)
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.5 2000/10/24 16:08:58 gshapiro Exp $
a45 10

.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \
	!defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
# STARTTLS support
DISTRIBUTION=	crypto
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK
LDADD+=	-lssl -lcrypto
DPADD+=	${LIBSSL} ${LIBCRYPTO}
.endif

@


1.15.2.7
log
@MFC: Add a MAINTAINER= line so people know who to blame
@
text
@d2 1
a2 3
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.6 2000/10/26 18:58:36 gshapiro Exp $

MAINTAINER=	gshapiro@@FreeBSD.org
@


1.15.2.8
log
@Sync Makefile with HEAD verison (only differences were spacing)
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.7 2000/10/26 23:05:16 gshapiro Exp $
d54 2
a55 2
LDADD+=		-lssl -lcrypto
DPADD+=		${LIBSSL} ${LIBCRYPTO}
d57 1
@


1.15.2.9
log
@MFC: Move creation of the sendmail statistics file from the usr.sbin/sendmail
     Makefile to the etc/sendmail Makefile to be consistent with all of the
     other /var file creations.  In doing so, change the Makefile target from
     etc-sendmail.cf to distribution as it installs more than just the
     sendmail.cf.

 Revision  Changes    Path
  1.242     +2 -2      src/etc/Makefile
  1.4       +4 -2      src/etc/sendmail/Makefile
  1.30      +1 -3      src/usr.sbin/sendmail/Makefile
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.8 2000/10/31 17:04:10 gshapiro Exp $
d65 2
@


1.15.2.10
log
@MFC: Move installation of sendmail helpfile into etc/sendmail/Makefile.  It is
     a user configurable file and it would benefit from mergemaster.

     Revision  Changes    Path
     1.9       +7 -2      src/etc/sendmail/Makefile
     1.31      +1 -5      src/usr.sbin/sendmail/Makefile
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.9 2001/02/27 21:20:21 gshapiro Exp $
d63 4
@


1.15.2.11
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.10 2001/03/06 01:56:47 gshapiro Exp $
d34 3
a36 1
MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
@


1.15.2.12
log
@MFC: 1.33: Perform a major cleanup of the usr.sbin Makefiles.
MFC: 1.34: Convert to using the same method of detecting the secure directory
           as other usr.sbin programs.

Approved by:	jkh
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.11 2001/04/25 12:10:53 ru Exp $
d8 1
a8 1
.PATH: ${SMDIR}
a12 8
MAN=	mailq.1 newaliases.1 aliases.5 sendmail.8 
SRCS=	alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \
	convtime.c daemon.c deliver.c domain.c envelope.c err.c headers.c \
	macro.c main.c map.c mci.c milter.c mime.c parseaddr.c queue.c \
	readcf.c recipient.c savemail.c sfsasl.c shmticklib.c srvrsmtp.c \
	stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \
	version.c
BINMODE=4555
d16 1
d19 1
d23 2
a24 2
CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include
CFLAGS+= ${DBMDEF} ${NIS} -DNETINET6 -DTCPWRAPPERS ${MAPS}
d26 6
d34 2
d47 2
a48 3
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && \
	!defined(NOSECURE) && !defined(NO_OPENSSL) && \
	!defined(RELEASE_CRUNCH)
@


1.15.2.13
log
@MFC: Update build infrastructure for sendmail 8.12.
     Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
     set-user-ID root binary instead of the new method (set-group-ID smmsp).

     Revision  Changes    Path
     1.36      +28 -18    src/usr.sbin/sendmail/Makefile
@
text
@d2 1
a2 1
# $FreeBSD$
d14 1
a14 1
SRCS=	alias.c arpadate.c bf.c collect.c conf.c control.c \
d17 3
a19 6
	readcf.c recipient.c savemail.c sasl.c sfsasl.c shmticklib.c \
	sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c timers.c \
	tls.c trace.c udb.c usersmtp.c util.c version.c
BINOWN=	root
BINGRP=	smmsp
.ifdef SENDMAIL_SET_USER_ID
a20 3
.else
BINMODE=2555
.endif
d27 1
a27 1
MAPS=	-DMAP_REGEX -DDNSMAP
d29 2
a30 2
CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I.
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DNETINET6 -DTCPWRAPPERS ${MAPS}
a34 7
.if exists(${.OBJDIR}/../../lib/libsm)
LIBSMDIR:=	${.OBJDIR}/../../lib/libsm
.else
LIBSMDIR!=	cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
.endif
LIBSM:=		${LIBSMDIR}/libsm.a

d42 2
a43 5
DPADD+=	${LIBSMUTIL} ${LIBSM}
LDADD+=	${LIBSMUTIL} ${LIBSM}

SRCS+=	sm_os.h
CLEANFILES+=sm_os.h
d50 1
a50 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
d61 7
a67 2
sm_os.h:
	ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
@


1.15.2.14
log
@MFC: Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it
     is set.

     Revision  Changes    Path
     1.4       +5 -1      src/lib/libmilter/Makefile
     1.4       +5 -1      src/lib/libsm/Makefile
     1.44      +5 -1      src/usr.sbin/sendmail/Makefile
@
text
@d36 1
a36 5
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DTCPWRAPPERS ${MAPS}

.if !defined(NOINET6)
CFLAGS+= -DNETINET6
.endif
@


1.15.2.15
log
@MFC: sendmail 8.13.1 import and related changes
@
text
@d17 3
a19 3
	ratectrl.c readcf.c recipient.c savemail.c sasl.c sfsasl.c \
	shmticklib.c sm_resolve.c srvrsmtp.c stab.c stats.c sysexits.c \
	timers.c tls.c trace.c udb.c usersmtp.c util.c version.c
@


1.15.2.16
log
@MFC: Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.

     PR:	bin/73105

     Revision  Changes    Path
     1.48      +1 -1      src/usr.sbin/sendmail/Makefile
@
text
@d70 1
a70 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL
@


1.15.2.17
log
@MFC:
Makefile.inc1 1.361
bin/ed/Makefile 1.22
lib/Makefile 1.157
lib/libcrypt/Makefile 1.31
lib/libfetch/Makefile 1.41
lib/libpam/modules/modules.inc 1.17
libexec/Makefile 1.61
share/examples/etc/make.conf 1.215
share/man/man5/make.conf.5 1.73
usr.bin/Makefile 1.239
usr.bin/fetch/Makefile 1.14
usr.sbin/pkg_install/Makefile 1.14
usr.sbin/pkg_install/add/Makefile 1.17
usr.sbin/pkg_install/info/Makefile 1.17
usr.sbin/pkg_install/version/Makefile 1.12
usr.sbin/ppp/Makefile 1.95, 1.96
usr.sbin/pppd/Makefile 1.25
usr.sbin/sendmail/Makefile 1.40
usr.sbin/tcpdump/tcpdump/Makefile 1.36

Retire the useless NOSECURE knob.

The motivation for this MFC is that MAKE_KERBEROS4 and MAKE_KERBEROS5
are meant to be buildable by various makefiles when NOSECURE is set but
this was broken because Kerberos depends on e.g. des(3) from OpenSSL
which wasn't built when NOSECURE was defined. Fixing the NOSECURE knob
however would have meant to make it do the same as the NOCRYPT knob.
If you had been using the NOSECURE build knob please now use the NOCRYPT
knob instead.

Discussed with:	ru (some months ago)
Reviewed by:	ru (some months ago)
Approved by:	markm (telnet and secure bits, some months ago), kensmith (re)
@
text
@d65 3
a67 2
.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && \
	!defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
@


1.15.2.18
log
@MFC: sendmail 8.13.4 and hoststat(8)/purgestat(8) man page linking

Reminder by:    Terry Kennedy
@
text
@a13 2
MLINKS+=sendmail.8 hoststat.8
MLINKS+=sendmail.8 purgestat.8
@


1.15.2.19
log
@MFC: sendmail 8.14.1
@
text
@d71 1
a71 1
CFLAGS+=	-DSTARTTLS -D_FFR_TLS_1
@


1.15.2.20
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.sbin/sendmail/Makefile 168643 2007-04-12 03:13:04Z gshapiro $
@


1.14
log
@Install sendmail in it's new location.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.13 1999/08/28 01:19:55 peter Exp $
d41 8
@


1.13
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d7 2
a33 4
LINKS=	${BINDIR}/sendmail /usr/bin/newaliases \
	${BINDIR}/sendmail /usr/bin/mailq \
	${BINDIR}/sendmail /usr/bin/hoststat \
	${BINDIR}/sendmail ${BINDIR}/purgestat
@


1.12
log
@Enable tcp_wrapper support by default.
@
text
@d2 1
a2 1
#	$Id$
@


1.11
log
@MaxHeaderLines is now MaxHeadersLength (in bytes)
@
text
@d2 1
d18 1
a18 5
# If you want tcp wrapper support, uncomment the following two lines
#TCPWRAPPERSBASEDIR=	/usr/local
#TCPWRAPPERS=		-DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include

CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} ${MAPS}
d27 2
a28 5
DPADD=	${LIBUTIL}
LDADD=	-lutil
.if defined(TCPWRAPPERS)
LDADD+=	-L${TCPWRAPPERSBASEDIR}/lib -lwrap
.endif
@


1.10
log
@Support 'O MaxHeaderLines=' to override the default header count and line
length limits.  The configuration keyword is: confMAX_HEADER_LINES
@
text
@d23 1
a23 1
CFLAGS+=-D_FFR_MAX_HEADER_LINES
@


1.9
log
@Update for 8.9.2 (new file, control.c)
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.
@
text
@d23 1
@


1.9.2.1
log
@MFC: turn on MaxHeaderLines= option
@
text
@a22 1
CFLAGS+=-D_FFR_MAX_HEADER_LINES
@


1.9.2.2
log
@Update for official 8.9.3 header lines patch
@
text
@d23 1
a23 1
CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH
@


1.9.2.3
log
@MFC: hookup to libwrap/tcp_wrappers.
@
text
@a1 1
#	$Id: Makefile,v 1.12 1999/03/28 10:53:21 markm Exp $
d17 5
a21 1
CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
d30 5
a34 2
DPADD=	${LIBUTIL} ${LIBWRAP}
LDADD=	-lutil -lwrap
@


1.9.2.4
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.8
log
@Remove useless `BINOWN=root' now that it is the default.
@
text
@d22 1
d24 3
a26 3
SRCS=	alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
	deliver.c domain.c envelope.c err.c headers.c macro.c main.c \
	map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
@


1.7
log
@Connect up sendmail-8.9.1
@
text
@a39 1
BINOWN=	root
@


1.6
log
@Fold sendmail-8.8.2 changes into files that have been touched.

(^!&@@$#&^! delete !!@@^@@^ trailing !@@^&#$!& whitespace!!!)
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.15 (Berkeley) 9/21/96
d3 2
a4 48
VER=	XX
SUBDIR= src mailstats makemap praliases smrsh cf/cf
FTPDIR=	mastodon:/disks/barad-dur/ftp/sendmail/.
DISTFILES=sendmail.${VER}.tar.Z sendmail.${VER}.tar.gz \
	RELEASE_NOTES FAQ KNOWNBUGS
FILES=	Files.base Files.cf Files.misc Files.xdoc

tar: sccs-check compile-world run-pax

sccs-check:
	sccs check
	(cd src; sccs check)
	(cd mail.local; sccs check)
	(cd mailstats; sccs check)
	(cd makemap; sccs check)
	(cd praliases; sccs check)
	(cd smrsh; sccs check)
	(cd doc/op; sccs check)
	(cd doc/intro; sccs check)
	(cd doc/usenix; sccs check)
	(cd cf; sccs check)
	(cd cf/m4; sccs check)
	(cd cf/mailer; sccs check)
	(cd cf/feature; sccs check)
	(cd cf/cf; sccs check)
	(cd cf/ostype; sccs check)
	(cd cf/domain; sccs check)

compile-world:
	(cd src; sh makesendmail)
	(cd mail.local; ${MAKE})
	(cd mailstats; ${MAKE})
	(cd makemap; ${MAKE})
	(cd praliases; ${MAKE})
	(cd smrsh; ${MAKE})
	(cd doc; PRINTER=ps ${MAKE})
	(cd doc; chmod 444 op/op.ps intro/intro.ps usenix/usenix.ps)
	(cd cf/cf; ${MAKE})

run-pax: Files.base Files.cf Files.misc Files.xdoc
	chmod +x src/makesendmail
	pax -w -x tar -L \
		-s ",cf/domain/unspecified-domain,sendmail-${VER}/cf/domain/berkeley-only,p" \
		-s ",^,sendmail-${VER}/," \
		-f sendmail.${VER}.tar \
		`cat ${FILES} | grep -v ^#`
	gzip -c sendmail.${VER}.tar > sendmail.${VER}.tar.gz
	compress sendmail.${VER}.tar
d6 1
a6 2
ftp: sendmail.${VER}.tar.Z
	rcp ${DISTFILES} ${FTPDIR}
d8 42
a49 1
.include <bsd.subdir.mk>
@


1.5
log
@typo shmrsh -> smrsh
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.12 (Berkeley) 5/29/95
d15 5
d32 6
a37 1
	(cd src; ${MAKE})
@


1.4
log
@Enable proper installation of sendmail restricted shell smrsh(8).

This program is a wrapper for the prog mailer in sendmail.  It does shell
meta character masking and restricts the list of executables to those found
in /usr/libexec/sm.bin.

The default sendmail.cf file does not use this tool, however you can enable
it by either changing /bin/sh to /usr/libexec/smrsh or adding the line
FEATURE(smrsh) into your sendmail .mc file and rebuilding your .cf file.

For more info, RTFMP.
@
text
@d4 1
a4 1
SUBDIR= src mailstats makemap praliases shmrsh cf/cf
@


1.3
log
@*GULP* cvs remove the uncomfortably large list of files that are no longer
part of sendmail 8.7.2...
@
text
@d4 1
a4 1
SUBDIR= src mailstats makemap praliases cf/cf
@


1.2
log
@Re-disable the cf/cf SUBDIR - we were not building it before anyway.
The Makefile down there does not handle the obj dir well..
@
text
@d4 1
a4 1
SUBDIR= src mailstats makemap praliases
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.4 (Berkeley) 4/22/94
a2 2
SUBDIR= src mailstats makemap praliases cf/cf
FTPDIR=	barad-dur:/disks/barad-dur/ftp/sendmail/.
d4 5
d10 17
a26 1
tar: Files.base Files.cf Files.misc Files.xdoc
a30 8
	pax -w -x tar -L -f sendmail.${VER}.base.tar `grep -v ^# Files.base`
	compress sendmail.${VER}.base.tar
	pax -w -x tar -L -f sendmail.${VER}.cf.tar `grep -v ^# Files.cf`
	compress sendmail.${VER}.cf.tar
	pax -w -x tar -L -f sendmail.${VER}.misc.tar `grep -v ^# Files.misc`
	compress sendmail.${VER}.misc.tar
	pax -w -x tar -L -f sendmail.${VER}.xdoc.tar `grep -v ^# Files.xdoc`
	compress sendmail.${VER}.xdoc.tar
d32 12
a43 2
ftp: sendmail.${VER}.base.tar.Z sendmail.${VER}.cf.tar.Z sendmail.${VER}.misc.tar.Z sendmail.${VER}.xdoc.tar.Z
	rcp sendmail.${VER}.*.tar.Z RELEASE_NOTES FAQ KNOWNBUGS ${FTPDIR}
@


1.1.1.1
log
@BSD 4.4 Lite usr.sbin Sources
@
text
@@


1.1.1.1.6.1
log
@Brought in changes from main branch: update to 8.6.12.
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.3 (Berkeley) 2/27/94
d3 1
a3 1
SUBDIR= src mailstats makemap praliases
@


1.1.1.1.6.2
log
@Update sendmail to -current version (8.7.5) to fix various known security
holes and a lot of bugs.

8.7.* has pretty much finished development, 8.8 is in alpha testing.

A seperate commit will follow to do a couple of 2.1.x specific things and
to turn off the infamous 8bitmime->quoted-printable conversion when talking
to older sendmails.

OK'ed by: davidg

(Note: a lot of tags were added behind the scenes for the new files)
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.12 (Berkeley) 5/29/95
d3 2
a5 5
SUBDIR= src mailstats makemap praliases cf/cf
FTPDIR=	mastodon:/disks/barad-dur/ftp/sendmail/.
DISTFILES=sendmail.${VER}.tar.Z sendmail.${VER}.tar.gz \
	RELEASE_NOTES FAQ KNOWNBUGS
FILES=	Files.base Files.cf Files.misc Files.xdoc
d7 1
a7 17
tar: sccs-check compile-world run-pax

sccs-check:
	sccs check
	(cd src; sccs check)
	(cd doc/op; sccs check)
	(cd doc/intro; sccs check)
	(cd doc/usenix; sccs check)
	(cd cf; sccs check)
	(cd cf/m4; sccs check)
	(cd cf/mailer; sccs check)
	(cd cf/feature; sccs check)
	(cd cf/cf; sccs check)
	(cd cf/ostype; sccs check)
	(cd cf/domain; sccs check)

compile-world:
d12 8
d21 2
a22 12
run-pax: Files.base Files.cf Files.misc Files.xdoc
	chmod +x src/makesendmail
	pax -w -x tar -L \
		-s ",cf/domain/unspecified-domain,sendmail-${VER}/cf/domain/berkeley-only,p" \
		-s ",^,sendmail-${VER}/," \
		-f sendmail.${VER}.tar \
		`cat ${FILES} | grep -v ^#`
	gzip -c sendmail.${VER}.tar > sendmail.${VER}.tar.gz
	compress sendmail.${VER}.tar

ftp: sendmail.${VER}.tar.Z
	rcp ${DISTFILES} ${FTPDIR}
@


1.1.1.1.6.3
log
@Bring in changes from head.  Build and install smrsh.
@
text
@d4 1
a4 1
SUBDIR= src mailstats makemap praliases shmrsh cf/cf
@


1.1.1.1.6.4
log
@Typo shmrsh -> smrsh
@
text
@d4 1
a4 1
SUBDIR= src mailstats makemap praliases smrsh cf/cf
@


1.1.1.1.6.5
log
@Merge-O-Matic.

Bring in the more secure 8.8.3 sources onto the soon to be dead stable
branch in order to have them be part of the 2.1.6a 'security update'.

Reviewed by:	Tom Samplonius <tom@@uniserve.com>
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.15 (Berkeley) 9/21/96
a14 5
	(cd mail.local; sccs check)
	(cd mailstats; sccs check)
	(cd makemap; sccs check)
	(cd praliases; sccs check)
	(cd smrsh; sccs check)
d27 1
a27 6
	(cd src; sh makesendmail)
	(cd mail.local; ${MAKE})
	(cd mailstats; ${MAKE})
	(cd makemap; ${MAKE})
	(cd praliases; ${MAKE})
	(cd smrsh; ${MAKE})
@


1.1.1.2
log
@Import Sendmail v8.6.12, onto the CSRG(!) branch.
A seperate commit to fix the conflicts wil follow.
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.3 (Berkeley) 2/27/94
d3 1
a3 1
SUBDIR= src mailstats makemap praliases
@


1.1.1.3
log
@Import Sendmail-8.7.2 as discussed on -current.

The conflict merge will happen shortly after.
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.12 (Berkeley) 5/29/95
d3 2
a5 5
SUBDIR= src mailstats makemap praliases cf/cf
FTPDIR=	mastodon:/disks/barad-dur/ftp/sendmail/.
DISTFILES=sendmail.${VER}.tar.Z sendmail.${VER}.tar.gz \
	RELEASE_NOTES FAQ KNOWNBUGS
FILES=	Files.base Files.cf Files.misc Files.xdoc
d7 1
a7 17
tar: sccs-check compile-world run-pax

sccs-check:
	sccs check
	(cd src; sccs check)
	(cd doc/op; sccs check)
	(cd doc/intro; sccs check)
	(cd doc/usenix; sccs check)
	(cd cf; sccs check)
	(cd cf/m4; sccs check)
	(cd cf/mailer; sccs check)
	(cd cf/feature; sccs check)
	(cd cf/cf; sccs check)
	(cd cf/ostype; sccs check)
	(cd cf/domain; sccs check)

compile-world:
d12 8
d21 2
a22 12
run-pax: Files.base Files.cf Files.misc Files.xdoc
	chmod +x src/makesendmail
	pax -w -x tar -L \
		-s ",cf/domain/unspecified-domain,sendmail-${VER}/cf/domain/berkeley-only,p" \
		-s ",^,sendmail-${VER}/," \
		-f sendmail.${VER}.tar \
		`cat ${FILES} | grep -v ^#`
	gzip -c sendmail.${VER}.tar > sendmail.${VER}.tar.gz
	compress sendmail.${VER}.tar

ftp: sendmail.${VER}.tar.Z
	rcp ${DISTFILES} ${FTPDIR}
@


1.1.1.4
log
@Import sendmail-8.8.2 onto the vendor branch

Obtained from: Eric Allman <eric@@sendmail.org>
@
text
@d1 1
a1 1
#       @@(#)Makefile	8.15 (Berkeley) 9/21/96
d4 1
a4 1
SUBDIR= src mail.local mailstats makemap praliases smrsh cf/cf
a14 5
	(cd mail.local; sccs check)
	(cd mailstats; sccs check)
	(cd makemap; sccs check)
	(cd praliases; sccs check)
	(cd smrsh; sccs check)
d27 1
a27 6
	(cd src; sh makesendmail)
	(cd mail.local; ${MAKE})
	(cd mailstats; ${MAKE})
	(cd makemap; ${MAKE})
	(cd praliases; ${MAKE})
	(cd smrsh; ${MAKE})
@
