head	1.114;
access;
symbols
	RELENG_8_4:1.113.0.2
	RELENG_9_1_0_RELEASE:1.112.2.1.4.2
	RELENG_9_1:1.112.2.1.0.4
	RELENG_9_1_BP:1.112.2.1
	RELENG_8_3_0_RELEASE:1.111.2.2.6.1
	RELENG_8_3:1.111.2.2.0.6
	RELENG_8_3_BP:1.111.2.2
	RELENG_9_0_0_RELEASE:1.112.2.1.2.1
	RELENG_9_0:1.112.2.1.0.2
	RELENG_9_0_BP:1.112.2.1
	RELENG_9:1.112.0.2
	RELENG_9_BP:1.112
	RELENG_7_4_0_RELEASE:1.110.12.1
	RELENG_8_2_0_RELEASE:1.111.2.2.4.1
	RELENG_7_4:1.110.0.12
	RELENG_7_4_BP:1.110
	RELENG_8_2:1.111.2.2.0.4
	RELENG_8_2_BP:1.111.2.2
	RELENG_8_1_0_RELEASE:1.111.2.2.2.1
	RELENG_8_1:1.111.2.2.0.2
	RELENG_8_1_BP:1.111.2.2
	RELENG_7_3_0_RELEASE:1.110.10.1
	RELENG_7_3:1.110.0.10
	RELENG_7_3_BP:1.110
	RELENG_8_0_0_RELEASE:1.111.2.1.2.1
	RELENG_8_0:1.111.2.1.0.2
	RELENG_8_0_BP:1.111.2.1
	RELENG_8:1.111.0.2
	RELENG_8_BP:1.111
	RELENG_7_2_0_RELEASE:1.110.8.1
	RELENG_7_2:1.110.0.8
	RELENG_7_2_BP:1.110
	RELENG_7_1_0_RELEASE:1.110.6.1
	RELENG_6_4_0_RELEASE:1.109.12.1
	RELENG_7_1:1.110.0.6
	RELENG_7_1_BP:1.110
	RELENG_6_4:1.109.0.12
	RELENG_6_4_BP:1.109
	RELENG_7_0_0_RELEASE:1.110
	RELENG_6_3_0_RELEASE:1.109
	RELENG_7_0:1.110.0.4
	RELENG_7_0_BP:1.110
	RELENG_6_3:1.109.0.10
	RELENG_6_3_BP:1.109
	RELENG_7:1.110.0.2
	RELENG_7_BP:1.110
	RELENG_6_2_0_RELEASE:1.109
	RELENG_6_2:1.109.0.8
	RELENG_6_2_BP:1.109
	RELENG_5_5_0_RELEASE:1.101.2.1
	RELENG_5_5:1.101.2.1.0.4
	RELENG_5_5_BP:1.101.2.1
	RELENG_6_1_0_RELEASE:1.109
	RELENG_6_1:1.109.0.6
	RELENG_6_1_BP:1.109
	RELENG_6_0_0_RELEASE:1.109
	RELENG_6_0:1.109.0.4
	RELENG_6_0_BP:1.109
	RELENG_6:1.109.0.2
	RELENG_6_BP:1.109
	RELENG_5_4_0_RELEASE:1.101.2.1
	RELENG_5_4:1.101.2.1.0.2
	RELENG_5_4_BP:1.101.2.1
	RELENG_4_11_0_RELEASE:1.73.2.9
	RELENG_4_11:1.73.2.9.0.2
	RELENG_4_11_BP:1.73.2.9
	RELENG_5_3_0_RELEASE:1.101
	RELENG_5_3:1.101.0.4
	RELENG_5_3_BP:1.101
	RELENG_5:1.101.0.2
	RELENG_5_BP:1.101
	RELENG_4_10_0_RELEASE:1.73.2.8
	RELENG_4_10:1.73.2.8.0.8
	RELENG_4_10_BP:1.73.2.8
	RELENG_5_2_1_RELEASE:1.100
	RELENG_5_2_0_RELEASE:1.100
	RELENG_5_2:1.100.0.2
	RELENG_5_2_BP:1.100
	RELENG_4_9_0_RELEASE:1.73.2.8
	RELENG_4_9:1.73.2.8.0.6
	RELENG_4_9_BP:1.73.2.8
	RELENG_5_1_0_RELEASE:1.96
	RELENG_5_1:1.96.0.2
	RELENG_5_1_BP:1.96
	RELENG_4_8_0_RELEASE:1.73.2.8
	RELENG_4_8:1.73.2.8.0.4
	RELENG_4_8_BP:1.73.2.8
	RELENG_5_0_0_RELEASE:1.94
	RELENG_5_0:1.94.0.2
	RELENG_5_0_BP:1.94
	RELENG_4_7_0_RELEASE:1.73.2.8
	RELENG_4_7:1.73.2.8.0.2
	RELENG_4_7_BP:1.73.2.8
	RELENG_4_6_2_RELEASE:1.73.2.7
	RELENG_4_6_1_RELEASE:1.73.2.7
	RELENG_4_6_0_RELEASE:1.73.2.7
	RELENG_4_6:1.73.2.7.0.6
	RELENG_4_6_BP:1.73.2.7
	RELENG_4_5_0_RELEASE:1.73.2.7
	RELENG_4_5:1.73.2.7.0.4
	RELENG_4_5_BP:1.73.2.7
	RELENG_4_4_0_RELEASE:1.73.2.7
	RELENG_4_4:1.73.2.7.0.2
	RELENG_4_4_BP:1.73.2.7
	RELENG_4_3_0_RELEASE:1.73.2.3
	RELENG_4_3:1.73.2.3.0.2
	RELENG_4_3_BP:1.73.2.3
	RELENG_4_2_0_RELEASE:1.73.2.2
	NETGRAPH:1.76.0.2
	RELENG_4_1_1_RELEASE:1.73.2.2
	PRE_SMPNG:1.75
	RELENG_4_1_0_RELEASE:1.73.2.1
	RELENG_3_5_0_RELEASE:1.50.2.14
	RELENG_4_0_0_RELEASE:1.73
	RELENG_4:1.73.0.2
	RELENG_4_BP:1.73
	RELENG_3_4_0_RELEASE:1.50.2.11
	RELENG_3_3_0_RELEASE:1.50.2.7
	RELENG_3_2_PAO:1.50.2.3.0.2
	RELENG_3_2_PAO_BP:1.50.2.3
	RELENG_3_2_0_RELEASE:1.50.2.3
	RELENG_3_1_0_RELEASE:1.50
	RELENG_3:1.50.0.2
	RELENG_3_BP:1.50
	RELENG_2_2_8_RELEASE:1.9.2.18
	RELENG_3_0_0_RELEASE:1.48
	RELENG_2_2_7_RELEASE:1.9.2.17
	RELENG_2_2_6_RELEASE:1.9.2.14
	MP:1.36.0.2
	RELENG_2_2_5_RELEASE:1.9.2.12
	RELENG_2_2_2_RELEASE:1.9.2.4
	RELENG_2_2_1_RELEASE:1.9.2.3
	RELENG_2_2_0_RELEASE:1.9.2.3
	RELENG_2_1_7_RELEASE:1.2.4.2
	RELENG_2_1_6_1_RELEASE:1.2.4.2
	RELENG_2_1_6_RELEASE:1.2.4.2
	RELENG_2_2:1.9.0.2
	RELENG_2_2_BP:1.9
	RELENG_2_1_5_RELEASE:1.2.4.2
	RELENG_2_1_0_RELEASE:1.2.4.1
	RELENG_2_1_0:1.2.0.4
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.2
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	SOURCE:1.1.1.1
	R093:1.1.1;
locks; strict;
comment	@# @;


1.114
date	2013.06.03.00.56.21;	author svnexp;	state Exp;
branches;
next	1.113;

1.113
date	2012.11.17.01.54.54;	author svnexp;	state Exp;
branches
	1.113.2.1;
next	1.112;

1.112
date	2010.01.16.12.20.26;	author antoine;	state Exp;
branches
	1.112.2.1;
next	1.111;

1.111
date	2008.05.26.10.40.09;	author bz;	state Exp;
branches
	1.111.2.1;
next	1.110;

1.110
date	2006.03.17.18.54.42;	author ru;	state Exp;
branches
	1.110.2.1
	1.110.6.1
	1.110.8.1
	1.110.10.1
	1.110.12.1;
next	1.109;

1.109
date	2004.12.21.12.49.24;	author ru;	state Exp;
branches
	1.109.2.1
	1.109.12.1;
next	1.108;

1.108
date	2004.12.21.12.01.15;	author ru;	state Exp;
branches;
next	1.107;

1.107
date	2004.12.21.10.49.28;	author ru;	state Exp;
branches;
next	1.106;

1.106
date	2004.12.21.10.16.03;	author ru;	state Exp;
branches;
next	1.105;

1.105
date	2004.12.21.09.08.06;	author ru;	state Exp;
branches;
next	1.104;

1.104
date	2004.10.24.15.33.08;	author ru;	state Exp;
branches;
next	1.103;

1.103
date	2004.09.06.05.57.42;	author marcel;	state Exp;
branches;
next	1.102;

1.102
date	2004.09.05.01.46.51;	author brian;	state Exp;
branches;
next	1.101;

1.101
date	2004.08.06.07.27.07;	author cperciva;	state Exp;
branches
	1.101.2.1;
next	1.100;

1.100
date	2003.10.29.20.32.19;	author ru;	state Exp;
branches;
next	1.99;

1.99
date	2003.07.24.20.20.16;	author markm;	state Exp;
branches;
next	1.98;

1.98
date	2003.07.24.18.30.24;	author markm;	state Exp;
branches;
next	1.97;

1.97
date	2003.06.23.15.37.08;	author rwatson;	state Exp;
branches;
next	1.96;

1.96
date	2003.05.20.07.07.48;	author ru;	state Exp;
branches;
next	1.95;

1.95
date	2003.05.19.15.52.01;	author des;	state Exp;
branches;
next	1.94;

1.94
date	2002.03.30.17.57.51;	author ru;	state Exp;
branches;
next	1.93;

1.93
date	2002.03.30.12.30.08;	author brian;	state Exp;
branches;
next	1.92;

1.92
date	2001.10.23.10.20.24;	author peter;	state Exp;
branches;
next	1.91;

1.91
date	2001.08.14.16.05.50;	author brian;	state Exp;
branches;
next	1.90;

1.90
date	2001.08.11.18.27.14;	author brian;	state Exp;
branches;
next	1.89;

1.89
date	2001.07.28.11.58.41;	author brian;	state Exp;
branches;
next	1.88;

1.88
date	2001.07.25.11.44.04;	author brian;	state Exp;
branches;
next	1.87;

1.87
date	2001.07.20.06.20.13;	author obrien;	state Exp;
branches;
next	1.86;

1.86
date	2001.07.20.04.23.10;	author obrien;	state Exp;
branches;
next	1.85;

1.85
date	2001.03.31.17.07.55;	author ru;	state Exp;
branches;
next	1.84;

1.84
date	2001.03.26.14.41.22;	author ru;	state Exp;
branches;
next	1.83;

1.83
date	2001.03.23.13.28.28;	author brian;	state Exp;
branches;
next	1.82;

1.82
date	2001.03.23.11.43.21;	author brian;	state Exp;
branches;
next	1.81;

1.81
date	2001.03.20.18.16.58;	author ru;	state Exp;
branches;
next	1.80;

1.80
date	2000.11.28.13.18.30;	author brian;	state Exp;
branches;
next	1.79;

1.79
date	2000.10.31.05.00.25;	author hosokawa;	state Exp;
branches;
next	1.78;

1.78
date	2000.10.30.00.15.04;	author brian;	state Exp;
branches;
next	1.77;

1.77
date	2000.10.15.00.46.58;	author brian;	state Exp;
branches;
next	1.76;

1.76
date	2000.09.14.22.02.54;	author brian;	state Exp;
branches
	1.76.2.1;
next	1.75;

1.75
date	2000.08.18.00.01.43;	author brian;	state Exp;
branches;
next	1.74;

1.74
date	2000.03.14.19.33.13;	author brian;	state Exp;
branches;
next	1.73;

1.73
date	2000.03.11.22.34.07;	author kris;	state Exp;
branches
	1.73.2.1;
next	1.72;

1.72
date	2000.03.09.06.29.02;	author kris;	state Exp;
branches;
next	1.71;

1.71
date	2000.02.29.11.44.18;	author markm;	state Exp;
branches;
next	1.70;

1.70
date	2000.02.24.21.10.26;	author markm;	state Exp;
branches;
next	1.69;

1.69
date	2000.01.29.11.08.00;	author brian;	state Exp;
branches;
next	1.68;

1.68
date	99.11.20.10.55.27;	author brian;	state Exp;
branches;
next	1.67;

1.67
date	99.11.11.02.25.17;	author brian;	state Exp;
branches;
next	1.66;

1.66
date	99.11.09.00.16.30;	author brian;	state Exp;
branches;
next	1.65;

1.65
date	99.11.06.22.50.49;	author brian;	state Exp;
branches;
next	1.64;

1.64
date	99.09.22.00.44.45;	author brian;	state Exp;
branches;
next	1.63;

1.63
date	99.09.08.07.34.51;	author brian;	state Exp;
branches;
next	1.62;

1.62
date	99.08.28.01.18.13;	author peter;	state Exp;
branches;
next	1.61;

1.61
date	99.08.27.07.47.17;	author jkh;	state Exp;
branches;
next	1.60;

1.60
date	99.08.27.06.01.27;	author jkh;	state Exp;
branches;
next	1.59;

1.59
date	99.08.23.23.13.59;	author brian;	state Exp;
branches;
next	1.58;

1.58
date	99.08.22.23.17.57;	author brian;	state Exp;
branches;
next	1.57;

1.57
date	99.08.08.17.35.35;	author brian;	state Exp;
branches;
next	1.56;

1.56
date	99.08.06.20.04.00;	author brian;	state Exp;
branches;
next	1.55;

1.55
date	99.05.15.19.21.15;	author phk;	state Exp;
branches;
next	1.54;

1.54
date	99.05.12.09.48.38;	author brian;	state Exp;
branches;
next	1.53;

1.53
date	99.05.08.11.05.54;	author brian;	state Exp;
branches;
next	1.52;

1.52
date	99.01.28.15.16.38;	author brian;	state Exp;
branches;
next	1.51;

1.51
date	99.01.28.01.56.30;	author brian;	state Exp;
branches;
next	1.50;

1.50
date	98.10.22.02.32.48;	author brian;	state Exp;
branches
	1.50.2.1;
next	1.49;

1.49
date	98.10.20.00.19.38;	author brian;	state Exp;
branches;
next	1.48;

1.48
date	98.09.19.22.42.11;	author obrien;	state Exp;
branches;
next	1.47;

1.47
date	98.08.31.12.14.31;	author brian;	state Exp;
branches;
next	1.46;

1.46
date	98.08.30.23.53.25;	author brian;	state Exp;
branches;
next	1.45;

1.45
date	98.08.07.18.42.47;	author brian;	state Exp;
branches;
next	1.44;

1.44
date	98.06.27.14.17.22;	author brian;	state Exp;
branches;
next	1.43;

1.43
date	98.06.26.18.50.29;	author brian;	state Exp;
branches;
next	1.42;

1.42
date	98.06.24.19.33.30;	author brian;	state Exp;
branches;
next	1.41;

1.41
date	98.06.09.05.36.37;	author imp;	state Exp;
branches;
next	1.40;

1.40
date	98.06.07.17.08.42;	author brian;	state Exp;
branches;
next	1.39;

1.39
date	98.06.07.00.16.57;	author brian;	state Exp;
branches;
next	1.38;

1.38
date	98.05.21.23.38.08;	author brian;	state Exp;
branches;
next	1.37;

1.37
date	98.05.21.21.43.36;	author brian;	state Exp;
branches;
next	1.36;

1.36
date	98.01.29.00.42.04;	author brian;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	98.01.17.14.21.21;	author brian;	state Exp;
branches;
next	1.34;

1.34
date	97.12.13.02.37.20;	author brian;	state Exp;
branches;
next	1.33;

1.33
date	97.12.03.10.23.44;	author brian;	state Exp;
branches;
next	1.32;

1.32
date	97.11.22.03.37.21;	author brian;	state Exp;
branches;
next	1.31;

1.31
date	97.11.18.14.52.03;	author brian;	state Exp;
branches;
next	1.30;

1.30
date	97.11.16.22.15.02;	author brian;	state Exp;
branches;
next	1.29;

1.29
date	97.11.09.06.22.37;	author brian;	state Exp;
branches;
next	1.28;

1.28
date	97.10.26.01.01.58;	author brian;	state Exp;
branches;
next	1.27;

1.27
date	97.09.28.20.17.59;	author brian;	state Exp;
branches;
next	1.26;

1.26
date	97.09.27.19.11.39;	author brian;	state Exp;
branches;
next	1.25;

1.25
date	97.09.25.00.52.31;	author brian;	state Exp;
branches;
next	1.24;

1.24
date	97.09.04.00.38.17;	author brian;	state Exp;
branches;
next	1.23;

1.23
date	97.08.31.20.18.03;	author brian;	state Exp;
branches;
next	1.22;

1.22
date	97.06.25.19.29.58;	author brian;	state Exp;
branches;
next	1.21;

1.21
date	97.06.09.03.27.10;	author brian;	state Exp;
branches;
next	1.20;

1.20
date	97.05.26.00.43.54;	author brian;	state Exp;
branches;
next	1.19;

1.19
date	97.05.23.04.53.49;	author brian;	state Exp;
branches;
next	1.18;

1.18
date	97.03.31.22.50.59;	author brian;	state Exp;
branches;
next	1.17;

1.17
date	97.03.30.12.12.20;	author brian;	state Exp;
branches;
next	1.16;

1.16
date	97.03.13.12.45.26;	author brian;	state Exp;
branches;
next	1.15;

1.15
date	97.03.09.20.03.27;	author ache;	state Exp;
branches;
next	1.14;

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

1.13
date	97.02.19.01.14.32;	author brian;	state Exp;
branches;
next	1.12;

1.12
date	97.01.14.07.15.01;	author jkh;	state Exp;
branches;
next	1.11;

1.11
date	97.01.06.07.05.08;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	96.12.12.14.39.16;	author jkh;	state Exp;
branches;
next	1.9;

1.9
date	96.10.18.03.47.51;	author jkh;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	96.10.18.01.44.45;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	96.10.06.13.32.26;	author jkh;	state Exp;
branches;
next	1.6;

1.6
date	96.03.04.10.38.41;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	96.01.30.20.04.20;	author phk;	state Exp;
branches;
next	1.4;

1.4
date	96.01.11.17.48.33;	author phk;	state Exp;
branches;
next	1.3;

1.3
date	95.09.02.17.20.48;	author amurai;	state Exp;
branches;
next	1.2;

1.2
date	95.02.26.12.17.08;	author amurai;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	95.01.31.06.29.54;	author amurai;	state Exp;
branches
	1.1.1.1;
next	;

1.113.2.1
date	2012.11.17.01.54.54;	author svnexp;	state dead;
branches;
next	1.113.2.2;

1.113.2.2
date	2013.03.28.13.06.22;	author svnexp;	state Exp;
branches;
next	;

1.112.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.112.2.1.2.1
	1.112.2.1.4.1;
next	1.112.2.2;

1.112.2.2
date	2012.11.17.11.37.46;	author svnexp;	state Exp;
branches;
next	;

1.112.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.112.2.1.2.2;

1.112.2.1.2.2
date	2012.11.17.08.37.43;	author svnexp;	state Exp;
branches;
next	;

1.112.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.112.2.1.4.2;

1.112.2.1.4.2
date	2012.11.17.08.48.34;	author svnexp;	state Exp;
branches;
next	;

1.111.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.111.2.1.2.1;
next	1.111.2.2;

1.111.2.2
date	2010.01.30.15.40.00;	author antoine;	state Exp;
branches
	1.111.2.2.2.1
	1.111.2.2.4.1
	1.111.2.2.6.1;
next	1.111.2.3;

1.111.2.3
date	2012.11.17.10.37.25;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.111.2.2.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.111.2.2.6.2;

1.111.2.2.6.2
date	2012.11.17.08.25.56;	author svnexp;	state Exp;
branches;
next	;

1.110.2.1
date	2012.11.17.08.09.04;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.110.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.110.12.2;

1.110.12.2
date	2012.11.17.08.17.49;	author svnexp;	state Exp;
branches;
next	;

1.109.2.1
date	2012.11.17.07.46.33;	author svnexp;	state Exp;
branches;
next	;

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

1.101.2.1
date	2005.02.13.07.23.45;	author obrien;	state Exp;
branches;
next	;

1.76.2.1
date	2000.10.15.00.47.35;	author brian;	state Exp;
branches;
next	1.76.2.2;

1.76.2.2
date	2000.10.29.05.15.22;	author brian;	state Exp;
branches;
next	1.76.2.3;

1.76.2.3
date	2000.10.30.00.17.15;	author brian;	state Exp;
branches;
next	1.76.2.4;

1.76.2.4
date	2000.11.28.15.20.13;	author brian;	state Exp;
branches;
next	1.76.2.5;

1.76.2.5
date	2001.03.23.13.29.20;	author brian;	state Exp;
branches;
next	1.76.2.6;

1.76.2.6
date	2001.07.25.11.44.55;	author brian;	state Exp;
branches;
next	1.76.2.7;

1.76.2.7
date	2001.07.28.11.59.42;	author brian;	state Exp;
branches;
next	1.76.2.8;

1.76.2.8
date	2001.08.11.18.43.56;	author brian;	state Exp;
branches;
next	1.76.2.9;

1.76.2.9
date	2001.08.14.18.42.27;	author brian;	state Exp;
branches;
next	1.76.2.10;

1.76.2.10
date	2002.03.05.19.57.25;	author brian;	state Exp;
branches;
next	;

1.73.2.1
date	2000.03.21.10.22.57;	author brian;	state Exp;
branches;
next	1.73.2.2;

1.73.2.2
date	2000.08.19.09.29.59;	author brian;	state Exp;
branches;
next	1.73.2.3;

1.73.2.3
date	2000.12.18.01.46.42;	author brian;	state Exp;
branches;
next	1.73.2.4;

1.73.2.4
date	2001.04.25.12.10.33;	author ru;	state Exp;
branches;
next	1.73.2.5;

1.73.2.5
date	2001.05.17.19.11.46;	author brian;	state Exp;
branches;
next	1.73.2.6;

1.73.2.6
date	2001.07.28.11.34.17;	author brian;	state Exp;
branches;
next	1.73.2.7;

1.73.2.7
date	2001.07.28.12.00.05;	author brian;	state Exp;
branches;
next	1.73.2.8;

1.73.2.8
date	2002.09.01.02.12.22;	author brian;	state Exp;
branches;
next	1.73.2.9;

1.73.2.9
date	2004.12.13.13.50.02;	author marius;	state Exp;
branches;
next	1.73.2.10;

1.73.2.10
date	2012.11.17.07.28.31;	author svnexp;	state Exp;
branches;
next	;

1.50.2.1
date	99.03.24.18.03.07;	author brian;	state Exp;
branches;
next	1.50.2.2;

1.50.2.2
date	99.04.20.08.09.11;	author brian;	state Exp;
branches;
next	1.50.2.3;

1.50.2.3
date	99.05.02.08.59.31;	author brian;	state Exp;
branches;
next	1.50.2.4;

1.50.2.4
date	99.08.23.21.59.18;	author brian;	state Exp;
branches;
next	1.50.2.5;

1.50.2.5
date	99.08.27.06.02.00;	author jkh;	state Exp;
branches;
next	1.50.2.6;

1.50.2.6
date	99.08.27.07.47.42;	author jkh;	state Exp;
branches;
next	1.50.2.7;

1.50.2.7
date	99.08.29.15.45.38;	author peter;	state Exp;
branches;
next	1.50.2.8;

1.50.2.8
date	99.11.15.22.41.23;	author joe;	state Exp;
branches;
next	1.50.2.9;

1.50.2.9
date	99.11.19.23.47.48;	author brian;	state Exp;
branches;
next	1.50.2.10;

1.50.2.10
date	99.11.23.00.45.19;	author brian;	state Exp;
branches;
next	1.50.2.11;

1.50.2.11
date	99.11.30.23.59.40;	author brian;	state Exp;
branches;
next	1.50.2.12;

1.50.2.12
date	2000.06.01.00.48.50;	author brian;	state Exp;
branches;
next	1.50.2.13;

1.50.2.13
date	2000.06.04.18.37.19;	author brian;	state Exp;
branches;
next	1.50.2.14;

1.50.2.14
date	2000.06.05.14.18.40;	author brian;	state Exp;
branches;
next	;

1.36.2.1
date	98.01.29.00.49.10;	author brian;	state Exp;
branches;
next	1.36.2.2;

1.36.2.2
date	98.01.30.19.45.24;	author brian;	state Exp;
branches;
next	1.36.2.3;

1.36.2.3
date	98.02.02.19.31.59;	author brian;	state Exp;
branches;
next	1.36.2.4;

1.36.2.4
date	98.02.06.02.23.26;	author brian;	state Exp;
branches;
next	1.36.2.5;

1.36.2.5
date	98.02.07.20.49.12;	author brian;	state Exp;
branches;
next	1.36.2.6;

1.36.2.6
date	98.02.10.03.23.04;	author brian;	state Exp;
branches;
next	1.36.2.7;

1.36.2.7
date	98.02.15.23.59.34;	author brian;	state Exp;
branches;
next	1.36.2.8;

1.36.2.8
date	98.04.03.19.21.03;	author brian;	state Exp;
branches;
next	1.36.2.9;

1.36.2.9
date	98.04.03.19.25.19;	author brian;	state Exp;
branches;
next	1.36.2.10;

1.36.2.10
date	98.04.16.00.25.45;	author brian;	state Exp;
branches;
next	1.36.2.11;

1.36.2.11
date	98.04.25.10.48.41;	author brian;	state Exp;
branches;
next	1.36.2.12;

1.36.2.12
date	98.05.04.03.01.34;	author brian;	state Exp;
branches;
next	1.36.2.13;

1.36.2.13
date	98.05.23.17.27.39;	author brian;	state dead;
branches;
next	;

1.9.2.1
date	96.12.13.11.30.37;	author jkh;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	96.12.23.18.13.25;	author jkh;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	97.02.22.17.59.04;	author joerg;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	97.05.11.12.58.57;	author brian;	state Exp;
branches;
next	1.9.2.5;

1.9.2.5
date	97.05.24.10.29.22;	author brian;	state Exp;
branches;
next	1.9.2.6;

1.9.2.6
date	97.05.26.00.52.12;	author brian;	state Exp;
branches;
next	1.9.2.7;

1.9.2.7
date	97.06.10.09.42.54;	author brian;	state Exp;
branches;
next	1.9.2.8;

1.9.2.8
date	97.06.25.19.32.24;	author brian;	state Exp;
branches;
next	1.9.2.9;

1.9.2.9
date	97.08.25.00.34.18;	author brian;	state Exp;
branches;
next	1.9.2.10;

1.9.2.10
date	97.08.31.20.19.29;	author brian;	state Exp;
branches;
next	1.9.2.11;

1.9.2.11
date	97.09.05.23.07.12;	author brian;	state Exp;
branches;
next	1.9.2.12;

1.9.2.12
date	97.09.27.19.13.31;	author brian;	state Exp;
branches;
next	1.9.2.13;

1.9.2.13
date	98.01.26.20.04.11;	author brian;	state Exp;
branches;
next	1.9.2.14;

1.9.2.14
date	98.01.29.00.44.14;	author brian;	state Exp;
branches;
next	1.9.2.15;

1.9.2.15
date	98.06.07.00.18.30;	author brian;	state Exp;
branches;
next	1.9.2.16;

1.9.2.16
date	98.06.07.17.10.22;	author brian;	state Exp;
branches;
next	1.9.2.17;

1.9.2.17
date	98.06.26.18.52.44;	author brian;	state Exp;
branches;
next	1.9.2.18;

1.9.2.18
date	98.11.26.07.14.37;	author jkh;	state Exp;
branches;
next	1.9.2.19;

1.9.2.19
date	99.09.05.11.40.47;	author peter;	state Exp;
branches;
next	;

1.2.4.1
date	95.10.06.11.24.29;	author davidg;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	96.02.05.17.02.37;	author dfr;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	99.09.05.11.44.33;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	95.01.31.06.29.55;	author amurai;	state Exp;
branches;
next	;


desc
@@


1.114
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251279
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/usr.sbin/ppp/Makefile 251279 2013-06-02 23:56:38Z brian $

.include <bsd.own.mk>

PROG=	ppp
MAN=	ppp.8
SRCS=	acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
	command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
	iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
	proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
	tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
WARNS?=	3
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
PPP_NO_ATM=
PPP_NO_DES=
PPP_NO_KLDLOAD=
PPP_NO_NAT=
PPP_NO_PAM=
PPP_NO_RADIUS=
PPP_NO_SUID=
.endif

.if ${MK_ATM} == "no"
PPP_NO_ATM=
.endif
.if ${MK_NETGRAPH} == "no"
PPP_NO_NETGRAPH=
.endif
.if ${MK_PAM_SUPPORT} == "no"
PPP_NO_PAM=
.endif

.if defined(PPP_NO_SUID)
BINMODE=550
.else
BINMODE=4550
BINOWN=	root
.endif
BINGRP=	network
M4FLAGS=

LDADD= -lcrypt -lmd -lutil -lz
DPADD=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}

.if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
.endif

.if defined(PPP_NO_KLDLOAD)
CFLAGS+=-DNOKLDLOAD
.endif

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

.if defined(PPP_NO_NAT)
CFLAGS+=-DNONAT
.else
SRCS+=	nat_cmd.c
LDADD+=	-lalias
DPADD+= ${LIBALIAS}
.endif

.if defined(PPP_NO_ATM)
CFLAGS+=-DNOATM
.else
SRCS+=	atm.c
.endif

.if defined(PPP_NO_SUID)
CFLAGS+=-DNOSUID
.else
SRCS+=	id.c
.endif

.if defined(RELEASE_CRUNCH) || ${MK_OPENSSL} == "no" || \
    defined(PPP_NO_DES)
CFLAGS+=-DNODES
.else
SRCS+=	chap_ms.c mppe.c
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
.endif

.if defined(PPP_NO_RADIUS)
CFLAGS+=-DNORADIUS
.else
SRCS+=	radius.c
LDADD+=	-lradius
DPADD+= ${LIBRADIUS}
.endif

.if defined(PPP_NO_NETGRAPH)
CFLAGS+=-DNONETGRAPH
.else
SRCS+=	ether.c
LDADD+=	-lnetgraph
DPADD+= ${LIBNETGRAPH}
.if defined(EXPERIMENTAL_NETGRAPH)
CFLAGS+=-DEXPERIMENTAL_NETGRAPH
SRCS+=	netgraph.c
.endif
.endif

.if defined(PPP_NO_PAM)
CFLAGS+=-DNOPAM
.else
LDADD+=	${MINUSLPAM}
DPADD+=	${LIBPAM}
.endif

.include <bsd.prog.mk>
@


1.113
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/usr.sbin/ppp/Makefile 202440 2010-01-16 12:20:26Z antoine $
a46 7
.SUFFIXES: .8 .8.m4

.8.m4.8:
	m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}

CLEANFILES= ppp.8

@


1.113.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:22 +0000
@
text
@d1 122
@


1.113.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 122
# $FreeBSD: releng/8.4/usr.sbin/ppp/Makefile 203196 2010-01-30 15:40:00Z antoine $

.include <bsd.own.mk>

PROG=	ppp
MAN=	ppp.8
SRCS=	acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
	command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
	iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
	proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
	tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
WARNS?=	3
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
PPP_NO_ATM=
PPP_NO_DES=
PPP_NO_KLDLOAD=
PPP_NO_NAT=
PPP_NO_PAM=
PPP_NO_RADIUS=
PPP_NO_SUID=
.endif

.if ${MK_ATM} == "no"
PPP_NO_ATM=
.endif
.if ${MK_NETGRAPH} == "no"
PPP_NO_NETGRAPH=
.endif
.if ${MK_PAM_SUPPORT} == "no"
PPP_NO_PAM=
.endif

.if defined(PPP_NO_SUID)
BINMODE=550
.else
BINMODE=4550
BINOWN=	root
.endif
BINGRP=	network
M4FLAGS=

LDADD= -lcrypt -lmd -lutil -lz
DPADD=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}

.SUFFIXES: .8 .8.m4

.8.m4.8:
	m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}

CLEANFILES= ppp.8

.if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
.endif

.if defined(PPP_NO_KLDLOAD)
CFLAGS+=-DNOKLDLOAD
.endif

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

.if defined(PPP_NO_NAT)
CFLAGS+=-DNONAT
.else
SRCS+=	nat_cmd.c
LDADD+=	-lalias
DPADD+= ${LIBALIAS}
.endif

.if defined(PPP_NO_ATM)
CFLAGS+=-DNOATM
.else
SRCS+=	atm.c
.endif

.if defined(PPP_NO_SUID)
CFLAGS+=-DNOSUID
.else
SRCS+=	id.c
.endif

.if defined(RELEASE_CRUNCH) || ${MK_OPENSSL} == "no" || \
    defined(PPP_NO_DES)
CFLAGS+=-DNODES
.else
SRCS+=	chap_ms.c mppe.c
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
.endif

.if defined(PPP_NO_RADIUS)
CFLAGS+=-DNORADIUS
.else
SRCS+=	radius.c
LDADD+=	-lradius
DPADD+= ${LIBRADIUS}
.endif

.if defined(PPP_NO_NETGRAPH)
CFLAGS+=-DNONETGRAPH
.else
SRCS+=	ether.c
LDADD+=	-lnetgraph
DPADD+= ${LIBNETGRAPH}
.if defined(EXPERIMENTAL_NETGRAPH)
CFLAGS+=-DEXPERIMENTAL_NETGRAPH
SRCS+=	netgraph.c
.endif
.endif

.if defined(PPP_NO_PAM)
CFLAGS+=-DNOPAM
.else
LDADD+=	${MINUSLPAM}
DPADD+=	${LIBPAM}
.endif

.include <bsd.prog.mk>
@


1.112
log
@SVN rev 202440 on 2010-01-16 12:20:26Z by antoine

Unbreak world WITHOUT_NETGRAPH.

PR:		137487
Submitted by:	bf (previous version)
No objections:	net@@
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.112.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.112.2.2
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
@d1 1
a1 1
# $FreeBSD: stable/9/usr.sbin/ppp/Makefile 202440 2010-01-16 12:20:26Z antoine $
@


1.112.2.1.4.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.112.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/usr.sbin/ppp/Makefile 202440 2010-01-16 12:20:26Z antoine $
@


1.112.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.112.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/usr.sbin/ppp/Makefile 202440 2010-01-16 12:20:26Z antoine $
@


1.111
log
@Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
@
text
@d28 3
@


1.111.2.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.111.2.2
log
@SVN rev 203196 on 2010-01-30 15:40:00Z by antoine

MFC r202440 to stable/8:
  Unbreak world WITHOUT_NETGRAPH.

  PR:		137487
  Submitted by:	bf (previous version)
  No objections:	net@@
@
text
@a27 3
.if ${MK_NETGRAPH} == "no"
PPP_NO_NETGRAPH=
.endif
@


1.111.2.3
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
@d1 1
a1 1
# $FreeBSD: stable/8/usr.sbin/ppp/Makefile 203196 2010-01-30 15:40:00Z antoine $
@


1.111.2.2.6.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.111.2.2.6.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/usr.sbin/ppp/Makefile 203196 2010-01-30 15:40:00Z antoine $
@


1.111.2.2.4.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.111.2.2.2.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.111.2.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.110
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
@a17 1
PPP_NO_I4B=
a27 3
.if ${MK_I4B} == "no"
PPP_NO_I4B=
.endif
a99 6
.if defined(PPP_NO_I4B) || ${MACHINE_ARCH} != "i386"
CFLAGS+=-DNOI4B
.else
SRCS+=	i4b.c
.endif

@


1.110.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/usr.sbin/ppp/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.110.12.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.110.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/usr.sbin/ppp/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.110.10.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.110.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.110.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.109
log
@NOPAM -> NO_PAM
@
text
@d3 2
d26 1
a26 1
.if defined(NO_ATM)
d29 1
a29 1
.if defined(NO_I4B)
d32 1
a32 1
.if defined(NO_PAM)
d63 1
a63 1
.if defined(NO_INET6)
d87 1
a87 1
.if defined(RELEASE_CRUNCH) || defined(NO_CRYPT) || defined(NO_OPENSSL) || \
@


1.109.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/usr.sbin/ppp/Makefile 139126 2004-12-21 12:49:24Z ru $
@


1.109.12.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.108
log
@Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID
@
text
@d30 3
@


1.107
log
@NOINET6 -> NO_INET6
@
text
@d14 8
a21 8
NO_ATM=
NODES=
NOI4B=
NONAT=
NOKLDLOAD=
NOPAM=
NORADIUS=
NOSUID=
d24 8
a31 1
.if defined(NOSUID) || defined(PPP_NOSUID)
d54 1
a54 1
.if defined(NOKLDLOAD)
d62 1
a62 1
.if defined(NOALIAS) || defined(NONAT)
d70 1
a70 1
.if defined(NO_ATM)
d76 1
a76 1
.if defined(NOSUID) || defined(PPP_NOSUID)
d82 2
a83 1
.if defined(RELEASE_CRUNCH) || defined(NO_CRYPT) || defined(NO_OPENSSL)
d91 1
a91 1
.if defined(NORADIUS)
d99 1
a99 1
.if defined(NOI4B) || ${MACHINE_ARCH} != "i386"
d105 1
a105 1
.if defined(NONETGRAPH)
d117 1
a117 1
.if defined(NOPAM)
@


1.106
log
@NOCRYPT -> NO_CRYPT
@
text
@d51 1
a51 1
.if defined(NOINET6)
@


1.105
log
@NOATM -> NO_ATM
@
text
@d75 1
a75 1
.if defined(RELEASE_CRUNCH) || defined(NOCRYPT) || defined(NO_OPENSSL)
@


1.104
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d14 1
a14 1
NOATM=
d63 1
a63 1
.if defined(NOATM)
@


1.103
log
@Reduce WARNS level to 3. Casting causes alignment warnings on platforms
with strong alignment (All 64-bit platforms, except amd64).
@
text
@d14 8
a21 8
NOATM=		true
NODES=		true
NOI4B=		true
NONAT=		true
NOKLDLOAD=	true
NOPAM=		true
NORADIUS=	true
NOSUID=		true
@


1.102
log
@Make ppp WARNS=5 clean
@
text
@d11 1
a11 1
WARNS?=	5
@


1.101
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
@d11 1
@


1.101.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d13 8
a20 8
NOATM=
NODES=
NOI4B=
NONAT=
NOKLDLOAD=
NOPAM=
NORADIUS=
NOSUID=
@


1.100
log
@Basic PAM authentication support.
@
text
@a76 1
DISTRIBUTION=crypto
@


1.99
log
@Hide more crypto from being crunched at release time.
@
text
@d18 1
d107 7
@


1.98
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
@d73 1
a73 1
.if defined(NOCRYPT) || defined(NO_OPENSSL)
@


1.97
log
@Remove world read bit from the ppp binary; we don't do world-execute,
so it was inconsistent (although probably not harmful) to have
world-read.

Submitted by:	Socketd <db@@traceroute.dk>
@
text
@d73 1
a73 1
.if !exists(${.CURDIR}/../../crypto) || defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NODES)
@


1.96
log
@Previous revision broke release building, unbreak it.

Prodded by:	scottl
@
text
@d23 1
a23 1
BINMODE=554
d25 1
a25 1
BINMODE=4554
@


1.95
log
@Retire the useless NOSECURE knob.

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


1.94
log
@Fix CLEANFILES.
@
text
@a17 1
NOSECURE=	true
d72 1
a72 1
.if !exists(${.CURDIR}/../../secure) || defined(NOCRYPT) || defined(NOSECURE) || defined(NO_OPENSSL) || defined(NODES)
@


1.93
log
@Merge the NETGRAPH branch into HEAD.  tty devices now use netgraph's line
discipline to do the async escaping, but no other benefits are available yet.

Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency.

Make the Makefile a little more sane WRT RELEASE_CRUNCH.
@
text
@d39 1
@


1.92
log
@ia64 support.  Due to the bogus placement of some i4b includes, it is
i386-only, even though it would work on all the isa-capable platforms.
Change the NOI4B so that instead of excluding alpha, it only includes i386.
@
text
@d11 11
a38 3
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
.endif
a54 1
.if !defined(RELEASE_CRUNCH)
a58 1
.endif
d60 1
a60 1
.if defined(NOATM) || defined(RELEASE_CRUNCH)
a68 1
.if !defined(RELEASE_CRUNCH)
a70 1
.endif
d72 3
a74 1
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
a75 1
CFLAGS+=-DHAVE_DES
a83 1
.if !defined(RELEASE_CRUNCH)
a87 1
.endif
d101 3
a104 3

.if defined(RELEASE_CRUNCH)
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNOSUID
@


1.91
log
@o Add ipv6 support, abstracting most NCP addresses into opaque
  structures (well, they're treated as opaque).

  It's now possible to manage IPv6 interface addresses and routing
  table entries and to filter IPV6 traffic whether encapsulated or
  not.

  IPV6CP support is crude for now, and hasn't been tested against
  any other implementations.

  RADIUS and IPv6 are independent of eachother for now.

  ppp.linkup/ppp.linkdown aren't currently used by IPV6CP

o Understand all protocols(5) in filter rules rather than only a select
  few.

o Allow a mask specification for the ``delete'' command.  It's now
  possible to specifically delete one of two conflicting routes.

o When creating and deleting proxy arp entries, do it for all IPv4
  interface addresses rather than doing it just for the ``current''
  peer address.

o When iface-alias isn't in effect, don't blow away manually (via ``iface
  add'') added interface addresses.

o When listening on a tcp server (diagnostic) socket, bind so that a
  tcp46 socket is created -- allowing both IPv4 and IPv6 connections.

o When displaying ICMP traffic, don't display the icmp type twice.
  When display traffic, display at least some information about unrecognised
  traffic.

o Bump version

Inspired after filtering work by: Makoto MATSUSHITA <matusita@@jp.FreeBSD.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.90 2001/08/11 18:27:14 brian Exp $
d86 1
a86 1
.if defined(NOI4B) || ${MACHINE_ARCH} == "alpha"
@


1.90
log
@Preprocess ppp.8.m4 into ppp.8, taking into account any compile time
options used to build ppp.

Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases.

This will be used for the upcoming ipv6 changes, and allows a shared
man page between OpenBSD and FreeBSD.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.89 2001/07/28 11:58:41 brian Exp $
d7 4
a10 4
	iface.c ip.c ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c pap.c physical.c pred.c probe.c prompt.c proto.c route.c \
	server.c sig.c slcompress.c sync.c systems.c tcp.c tcpmss.c \
	throughput.c timer.c tty.c tun.c udp.c vjcomp.c
@


1.89
log
@Change permissions back to 4554/554

Suggested by:	kris
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.88 2001/07/25 11:44:04 brian Exp $
d18 1
d22 5
@


1.88
log
@Change permissions from [4]554 to [4]551

MFC after: 3 days
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.87 2001/07/20 06:20:13 obrien Exp $
d12 1
a12 1
BINMODE=551
d14 1
a14 1
BINMODE=4551
@


1.87
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
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.86 2001/07/20 04:23:10 obrien Exp $
d12 1
a12 1
BINMODE=554
d14 1
a14 1
BINMODE=4554
@


1.86
log
@Remove GCC'isms in CFLAGS.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.85 2001/03/31 17:07:55 ru Exp $
d4 1
a10 2
LDADD+= -lcrypt -lmd -lutil -lz
DPADD+=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
d18 3
a20 1
MAN=	ppp.8
@


1.85
log
@-DRELEASE_CRUNCH moved into crunchgen(1) config files for
release building.  Remove a hack that is no longer needed.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.84 2001/03/26 14:41:22 ru Exp $
a9 1
CFLAGS+=-Wall
@


1.84
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.83 2001/03/23 13:28:28 brian Exp $
a94 2
# We must create these objects because crunchgen will link them,
# and we don't want any unused symbols to spoil the final link.
a95 4
OBJS+=	chap_ms.o mppe.o id.o nat_cmd.o radius.o
chap_ms.o mppe.o id.o nat_cmd.o radius.o:
	>null_${.PREFIX}.c
	cc -c -o ${.TARGET} null_${.PREFIX}.c
@


1.83
log
@Quote PPP_CONFDIR in CFLAGS
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.82 2001/03/23 11:43:21 brian Exp $
d20 1
@


1.82
log
@Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.81 2001/03/20 18:16:58 ru Exp $
d26 1
a26 1
CFLAGS+=-DPPP_CONFDIR=${PPP_CONFDIR}
@


1.81
log
@Set the default manual section for usr.sbin/ to 8.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.80 2000/11/28 13:18:30 brian Exp $
d23 4
@


1.80
log
@Add ``enable/disable tcpmssfixup'', defaulting to enabled.

Suggested by:	julian
Hijacked from:	ru (ports/net/tcpmssd)
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.79 2000/10/31 05:00:25 hosokawa Exp $
a19 1
MAN8=	ppp.8
@


1.79
log
@Forgotten RELEASE_CRUNCH hack for mppe.c.
This fix is for "make release" and "make boot.flp".
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.78 2000/10/30 00:15:04 brian Exp $
d8 2
a9 2
	server.c sig.c slcompress.c sync.c systems.c tcp.c throughput.c \
	timer.c tty.c tun.c udp.c vjcomp.c
@


1.78
log
@Add MPPE and MSChap v2 support (denied and disabled by default)

Submitted by: Ustimenko Semen <semen@@iclub.nsu.ru>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.77 2000/10/15 00:46:58 brian Exp $
d94 2
a95 2
OBJS+=	chap_ms.o id.o nat_cmd.o radius.o
chap_ms.o id.o nat_cmd.o radius.o:
@


1.77
log
@Don't define NOATM now that /usr/include/netnatm/ is created properly.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76 2000/09/14 22:02:54 brian Exp $
d61 1
a61 1
SRCS+=	chap_ms.c
@


1.76
log
@Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist

Submitted by: Jakob Stoklund Olesen <stoklund@@taxidriver.dk>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.75 2000/08/18 00:01:43 brian Exp $
a43 1
NOATM=	/usr/include/netnatm required
@


1.76.2.1
log
@MFC: Don't define NOATM now that /usr/include/netnatm/ is created properly.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76 2000/09/14 22:02:54 brian Exp $
d44 1
@


1.76.2.2
log
@Introduce a generic netgraph device.

This is so-far undocumented, but should work for pretty much any
netgraph node type(s) that understand ASCII messages.  If the PPPoE
node could accept ASCII data (it may be able to soon - it's what I've
been testing with !), a PPPoE connection could be created generically
using:

ng:
 enable lqr
 set mru 1492
 set mtu 1492
 set device netgraph:[ether:ed1]:orphans.ethernet[pppoe:pppoe].data
 set login "TIMEOUT 10 \"\" \"pppoe: pppoe_connect { hook=\\\"data\\\" data_len=8 data=\\\"pppoe-in\\\" }\\c\" cmdid"

Use at your peril !
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.1 2000/10/15 00:47:35 brian Exp $
d85 1
a85 1
SRCS+=	ether.c netgraph.c
@


1.76.2.3
log
@MFC: Add MPPE and MSChap v2 support
     staticise mbuftype()
     Various whitespace changes.
     Make some functions static.
     Move the MPPE keysize display in ``show ccp''.
     Bump our version to reflect the recent MPPE additions (and ccp struct
     size change).
     Add ``all'' logging.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.2 2000/10/29 05:15:22 brian Exp $
d61 1
a61 1
SRCS+=	chap_ms.c mppe.c
@


1.76.2.4
log
@MFC: Add tcpmssfixup option
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.3 2000/10/30 00:17:15 brian Exp $
d8 2
a9 2
	server.c sig.c slcompress.c sync.c systems.c tcp.c tcpmss.c \
	throughput.c timer.c tty.c tun.c udp.c vjcomp.c
@


1.76.2.5
log
@MFC: _PATH_PPP -> PPP_CONFDIR
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.4 2000/11/28 15:20:13 brian Exp $
a23 4
.endif

.if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
@


1.76.2.6
log
@MFC: mode [4]554 -> [4]551
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.5 2001/03/23 13:29:20 brian Exp $
d14 1
a14 1
BINMODE=551
d16 1
a16 1
BINMODE=4551
@


1.76.2.7
log
@MFC: Revert 4551/551 permissions to 4554/554
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.6 2001/07/25 11:44:55 brian Exp $
d14 1
a14 1
BINMODE=554
d16 1
a16 1
BINMODE=4554
@


1.76.2.8
log
@MFC: Preprocess ppp.8.m4 into ppp.8 and sync other cosmetic changes
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.7 2001/07/28 11:59:42 brian Exp $
a3 1
MAN=	ppp.8
d10 3
d20 1
a20 9
M4FLAGS=

LDADD= -lcrypt -lmd -lutil -lz
DPADD=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}

.SUFFIXES: .8 .8.m4

.8.m4.8:
	m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}
d95 2
d98 4
@


1.76.2.9
log
@MFC: IPv6 support
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.76.2.8 2001/08/11 18:43:56 brian Exp $
d7 4
a10 4
	iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
	proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
	tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
@


1.76.2.10
log
@Dust off the NETGRAPH branch.
@
text
@d1 1
a1 1
# $FreeBSD$
d86 1
a86 1
.if defined(NOI4B) || ${MACHINE_ARCH} != "i386"
@


1.75
log
@Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
capabilities.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.74 2000/03/14 19:33:13 brian Exp $
d42 7
@


1.74
log
@Understand -DNOINET6
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73 2000/03/11 22:34:07 kris Exp $
d6 1
a6 1
	id.c iface.c ip.c ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c \
d13 3
d18 1
d44 8
d87 3
a89 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B
OBJS+=	chap_ms.o nat_cmd.o radius.o
chap_ms.o nat_cmd.o radius.o:
@


1.73
log
@Remove the last vestiges of libRSAglue now that it's an empty stub.
This should fix the buildworld problems some people were seeing.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.72 2000/03/09 06:29:02 kris Exp $
d24 4
@


1.73.2.1
log
@MFC:
  Understand environment variables in commands
  Understand IP6 addresses in ``show route''
  Correct an alignment bug in ``show route''
  Add the ``resolv'' command
  Add ``dns'' logging
  Rename struct descriptor -> struct fdescriptor
  Fix some printf-style parameter-type bugs
  Use <nnn> instead of <???> when something's not understood
  Log (debug) information about incoming fragment handling
  Correct two bugs in the timer code
  Add some {Net,Open}BSD compatibility stuff
  Fix some gramar and line breaks in ppp.8

Requested by: peter
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73 2000/03/11 22:34:07 kris Exp $
a23 4
.endif

.if defined(NOINET6)
CFLAGS+=-DNOINET6
@


1.73.2.2
log
@MFC: -DPPP_NOSUID support
     ``!'' escaping
     autoload fixes and enhancments
     filter timeout specs and PPPoUDP recognition
     Support ppp idents
     Warn about the depricated alias command
     Don't run setproctitle() as uid 0
     Default ISDN B channel speeds to 65536^H^H^H^H4000
     Don't delete sticky routes
     Allow multiple ``allow users'' lines per section
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.1 2000/03/21 10:22:57 brian Exp $
d6 1
a6 1
	iface.c ip.c ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c \
a12 3
.if defined(NOSUID) || defined(PPP_NOSUID)
BINMODE=554
.else
a14 1
.endif
a39 8
.if defined(NOSUID) || defined(PPP_NOSUID)
CFLAGS+=-DNOSUID
.else
.if !defined(RELEASE_CRUNCH)
SRCS+=	id.c
.endif
.endif

d75 3
a77 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNOSUID
OBJS+=	chap_ms.o id.o nat_cmd.o radius.o
chap_ms.o id.o nat_cmd.o radius.o:
@


1.73.2.3
log
@MFC: Add MPPE, MSChapv2 and tcpmssfixup
     Add ``set log all''
     Display the mtu with ``show iface''
     Support RADIUS accounting
     Use the correct negotiated CCP options
     Document how to tunnel using PPP/UDP and MPPE
     Fix examples of using ``add''
     Fix another comment parsing bug
     Make pppoe netgraph messages consistent with -current
     Fix some lines >80 characters
     Mention what mbuf type can't be allocated
     Increase M_MAXLEN so that it's consistent with HDLCSIZE
     Retry sending data when we get ENOBUFS
     Don't assuming UDP sockets to be unconnected in -direct mode
     Bump to version 2.3
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.2 2000/08/19 09:29:59 brian Exp $
d8 2
a9 2
	server.c sig.c slcompress.c sync.c systems.c tcp.c tcpmss.c \
	throughput.c timer.c tty.c tun.c udp.c vjcomp.c
d55 1
a55 1
SRCS+=	chap_ms.c mppe.c
d88 2
a89 2
OBJS+=	chap_ms.o mppe.o id.o nat_cmd.o radius.o
chap_ms.o mppe.o id.o nat_cmd.o radius.o:
@


1.73.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.3 2000/12/18 01:46:42 brian Exp $
d20 1
a20 1
MAN=	ppp.8
@


1.73.2.5
log
@MFC: Support -DPPP_CONFDIR
     Send PROTO_IP traffic when possible in single-link MP mode
     MAXPATHLEN -> PATH_MAX
     Update route MTUs when the interface MTU changes
     Show diagnostic socket info in ``show bundle''
     Support ``set server open'', ``set server closed'' and SIGUSR1
     Load netgraph.ko when required
     Support ipencap packets
     Be more consistent with the NET_RT_IFLIST sysctl when creating an interface
     Optimise out deleting and re-adding the same ifaddr on the tun interface
     Fix some man page markup and add some further examples.
     Call ourself ``localhost'' if we have no hostname
     Allow embedded NULs in radius passwords and challenges
     Do ioctl(TUNSIFINFO) as uid 0
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.4 2001/04/25 12:10:33 ru Exp $
a23 4
.endif

.if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
@


1.73.2.6
log
@MFC: Use 4551/551 permissions rather than 4554/554
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.5 2001/05/17 19:11:46 brian Exp $
d14 1
a14 1
BINMODE=551
d16 1
a16 1
BINMODE=4551
@


1.73.2.7
log
@MFC: Revert 4551/551 permissions to 4554/554
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.6 2001/07/28 11:34:17 brian Exp $
d14 1
a14 1
BINMODE=554
d16 1
a16 1
BINMODE=4554
@


1.73.2.8
log
@MFC: Everything

Notably, this includes the following:

o  IPv6 support
o  Better RADIUS support (including MS-CHAP)
o  Improved handling of bad negotiation options
o  Improved negotiation diagnostics
o  Improved sockaddr (RTAX) parsing
o  More consistent compile time options (NOXXX to compile something out)
o  More available macros
o  Firewall punching
o  Improved ``proxy'' and ``proxyall'' handling
o  Handle connected UDP sockets on descriptor 0 in -direct mode
o  Fix a load of typos
o  Update to internal version 3.1
@
text
@d1 1
a1 1
# $FreeBSD$
a3 1
MAN=	ppp.8
d6 7
a12 15
	iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
	proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
	tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
NOATM=		true
NOI4B=		true
NONAT=		true
NOKLDLOAD=	true
NORADIUS=	true
NOSECURE=	true
NOSUID=		true
.endif

d20 1
a20 1
M4FLAGS=
d22 3
a24 9
LDADD= -lcrypt -lmd -lutil -lz
DPADD=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}

.SUFFIXES: .8 .8.m4

.8.m4.8:
	m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}

CLEANFILES= ppp.8
d41 1
a45 5

.if defined(NOATM)
CFLAGS+=-DNOATM
.else
SRCS+=	atm.c
d51 1
d54 1
d56 1
a56 3
.if !exists(${.CURDIR}/../../secure) || defined(NOCRYPT) || defined(NOSECURE) || defined(NO_OPENSSL) || defined(NODES)
CFLAGS+=-DNODES
.else
d58 1
d67 1
d72 1
d74 1
a74 1
.if defined(NOI4B) || ${MACHINE_ARCH} != "i386"
a85 3
.if defined(EXPERIMENTAL_NETGRAPH)
CFLAGS+=-DEXPERIMENTAL_NETGRAPH
SRCS+=	netgraph.c
d87 9
@


1.73.2.9
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
@a13 1
NODES=		true
d18 1
d73 1
a73 1
.if !exists(${.CURDIR}/../../crypto) || defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NODES)
@


1.73.2.10
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/usr.sbin/ppp/Makefile 138803 2004-12-13 13:50:02Z marius $
@


1.72
log
@Buildworld fixes for NO_OPENSSH and NO_OPENSSL

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.71 2000/02/29 11:44:18 markm Exp $
a41 4
.if defined(RSAREF) && ${RSAREF} == YES
LDADD+=	-lRSAglue
DPADD+= ${LIBRSAGLUE}
.endif
@


1.71
log
@Update DISTRIBUTION for new crypto world order
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.70 2000/02/24 21:10:26 markm Exp $
d36 1
a36 1
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH)
@


1.70
log
@Use libcrypto instead of libdes.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.69 2000/01/29 11:08:00 brian Exp $
d37 1
a37 1
DISTRIBUTION=des
@


1.69
log
@Remove MAINTAINER=

I don't claim to own the code and certainly don't want to discourage
people from fixing or updating it.

[I know it's the 29th, but the FREEZE hasn't yet been posted to committers]
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.68 1999/11/20 10:55:27 brian Exp $
d40 6
a45 2
LDADD+= -ldes
DPADD+= ${LIBDES}
@


1.68
log
@Don't compile NETGRAPH out of ppp for the release crunch
@
text
@d1 1
a1 3
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.67 1999/11/11 02:25:17 brian Exp $

MAINTAINER=brian@@FreeBSD.org
@


1.67
log
@Oops, netgraph.o -> ether.o for the RELEASE build.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.66 1999/11/09 00:16:30 brian Exp $
d73 3
a75 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNONETGRAPH
OBJS+=	chap_ms.o ether.o nat_cmd.o radius.o
chap_ms.o ether.o nat_cmd.o radius.o:
@


1.66
log
@Add an empty netgraph.o when building a release to keep the
crunch stuff happy.

Breakage spotted by: phk
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.65 1999/11/06 22:50:49 brian Exp $
d74 2
a75 2
OBJS+=	chap_ms.o nat_cmd.o netgraph.o radius.o
chap_ms.o nat_cmd.o netgraph.o radius.o:
@


1.65
log
@Support PPPoE

Help (lots) from: julian, archie
Facilities from: ahebert@@pubnix.net
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.64 1999/09/22 00:44:45 brian Exp $
d74 2
a75 2
OBJS+=	nat_cmd.o chap_ms.o radius.o
chap_ms.o nat_cmd.o radius.o:
@


1.64
log
@Allow ``make -DNOKLDLOAD''
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.63 1999/09/08 07:34:51 brian Exp $
d62 8
d73 1
a73 1
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B
@


1.63
log
@Cosmetic:
  alias_cmd -> nat_cmd after a repo-copy
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.62 1999/08/28 01:18:13 peter Exp $
d22 4
@


1.62
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d28 1
a28 1
SRCS+=	alias_cmd.c
d62 2
a63 2
OBJS+=	alias_cmd.o chap_ms.o radius.o
chap_ms.o alias_cmd.o radius.o:
@


1.61
log
@I misunderstood the failure mode - revert BINMODE to 4554.  I'm still
going to remove ppp from the installation options in 5 days if ppp is
still broken, however, as it hasn't worked at installation time
for several weeks now and it's only causing people to fill my mailbox
with questions.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.60 1999/08/27 06:01:27 jkh Exp $
@


1.60
log
@I don't know who decided that an install mode of 4544 was correct, but
for a binary it's far from it.  This is why sysinstall is unable to run
ppp at startup time and causing weirdies in -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.59 1999/08/23 23:13:59 brian Exp $
d15 1
a15 1
BINMODE=4755
@


1.59
log
@Cosmetic:  bring closer to RELENG_3
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.58 1999/08/22 23:17:57 brian Exp $
d15 1
a15 1
BINMODE=4554
@


1.58
log
@NOALIAS -> NONAT
Reminded by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.57 1999/08/08 17:35:35 brian Exp $
d24 1
a24 1
.if defined(NONAT) || defined(NOALIAS)
d52 1
a52 1
.if defined(NOI4B)|| ${MACHINE_ARCH} == "alpha"
@


1.57
log
@Don't includei 4b support on the alpha
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.56 1999/08/06 20:04:00 brian Exp $
d24 2
a25 2
.if defined(NOALIAS)
CFLAGS+=-DNOALIAS
d61 1
a61 1
CFLAGS+=-DNOALIAS -DNORADIUS -DNOI4B
@


1.56
log
@Add ISDN support via isdnd & i4b.  This requires version
0.81.1 of the i4b code - namely support of the I4B_VR_REQ
ioctl via the i4brbchX device.

Ppp controls the phone number, but idle timers and
SYNC/RAW decisions are still made by isdnd (in isdnd.rc).

This involves a new datalink state machine phase.  The
``wait for carrier'' phase happens after dialing but
before logging in.  The whole dial state should really
be abstracted so that each device type can deal with it
in its own way (thinking about PPPoE) - but that'll have
to wait.

The ``set cd'' symantics remain the same for tty devices,
but we now delay until we either get CD or timeout waiting
(at which time we drop the link if we require CD).

For i4b devices we always insist on carrier.

Thanks to hm@@ for his help, and especially for pointing out
that I *don't* need to re-implement isdnd (that was a huge
waste of time !) :-]
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.55 1999/05/15 19:21:15 phk Exp $
d52 1
a52 1
.if defined(NOI4B)
@


1.55
log
@Be more non-crypto friendly at make release time.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.54 1999/05/12 09:48:38 brian Exp $
d52 6
d61 1
a61 1
CFLAGS+=-DNOALIAS -DNORADIUS
@


1.54
log
@Allow ``host:port/udp'' devices and support ``host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.53 1999/05/08 11:05:54 brian Exp $
d56 1
a56 1
SRCS+=	alias_cmd.c chap_ms.c radius.c
@


1.53
log
@o Redesign the layering mechanism and make the aliasing code part of
  the layering.

  We now ``stack'' layers as soon as we open the device (when we figure
  out what we're dealing with).  A static set of `dispatch' routines are
  also declared for dealing with incoming packets after they've been
  `pulled' up through the stacked layers.

  Physical devices are now assigned handlers based on the device type
  when they're opened.  For the moment there are three device types;
  ttys, execs and tcps.

o Increment version number to 2.2
o Make an entry in [uw]tmp for non-tty -direct invocations (after
  pap/chap authentication).
o Make throughput counters quad_t's
o Account for the absolute number of mbuf malloc()s and free()s in
  ``show mem''.
o ``show modem'' becomes ``show physical''.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.52 1999/01/28 15:16:38 brian Exp $
d11 1
a11 1
	timer.c tty.c tun.c vjcomp.c
@


1.52
log
@MAINTAINER=brian@@FreeBSD.org
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.51 1999/01/28 01:56:30 brian Exp $
d6 6
a11 5
SRCS=	arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \
	datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c iface.c ip.c \
	ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c mbuf.c modem.c \
	mp.c pap.c physical.c pred.c probe.c prompt.c route.c server.c \
	sig.c slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c
@


1.51
log
@Initial RADIUS support (using libradius).  See the man page for
details.  Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
      to be supplied as a set of routines so that ppp doesn't
      have to wait indefinitely for the radius server(s).  Instead,
      we need to get a descriptor back, select() on the descriptor,
      and ask libradius to service it when necessary.
      For now, ppp blocks SIGALRM while in rad_send_request(), so
      it misses PAP/CHAP retries & timeouts if they occur.

      Only PAP is functional.  When CHAP is attempted, libradius
      complains that no User-Password has been specified... rfc2138
      says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland
@
text
@d1 3
a3 1
#	$Id: Makefile,v 1.50 1998/10/22 02:32:48 brian Exp $
@


1.50
log
@Solve the ``first connection'' problem that occurs on
demand-dial links with dynamic IP numbers where the program
that causes the dial bind()s to an interface address that is
subsequently changed after ppp negotiation.

The problem is defeated by adding negotiated addresses to the
tun interface as additional alias addresses and providing a set
of ``iface'' commands for managing the interface.  Libalias is
also required (and what a name clash!) - it happily IP-aliases
the address so that the source is that of the primary (negotiated)
interface and un-IP-aliases it on the way back.

An ``enable iface-alias'' is done implicitly by the -alias command
line switch.  If -alias isn't given, iface-aliasing is disabled by
default and can't be enabled 'till an ``alias enable yes'' is done.
``alias enable no'' silently disables iface-alias.

So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah''
will work for the first connection, although existing bindings will
not survive a disconnect/connect as the TCP peer will be trying to
send to the old IP address - the packets won't route.

It's now a lot easier to add IPXCP to ppp with minor updates to
the new iface.[ch] (if anyone ever gets 'round to it).

It's also now possible to manually add interface aliases with
something like ``iface add 1.2.3.4/24 5.6.7.8''.  This allows
multi-homed ppp links :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.49 1998/10/20 00:19:38 brian Exp $
d10 2
a11 2
LDADD+= -lutil -lz
DPADD+=	${LIBUTIL} ${LIBZ}
a15 2
LDADD+=	-lmd -lcrypt
DPADD+= ${LIBMD} ${LIBCRYPT}
d39 10
d50 1
a50 1
# We must create these objects because the crunchgen will link them,
d52 3
a54 3
CFLAGS+=-DNOALIAS
SRCS+=	alias_cmd.c chap_ms.c
chap_ms.o alias_cmd.o:
@


1.50.2.1
log
@MFC:
o Add radius support.
o Add ``alias proxy'' and ``alias pptp'' support.
o Support server-side M$Chap authentication.
o Support client & server-side M$LANMan authentication.
o Support ``!program'' passwords.
o Use pipes only for unidirectional IPC.
o Extend ``set *retries'' commands.
o Don't ResetReq when doing Predictor compression.
o Delay carrier detection by a default of 1 second and implement
  ``set cd''.
o Implement incremental redial timeouts via ``set redial''.
o Don't use hard-coded quotes or brackets in the man page.
o ``random'' redials means 1-30 seconds, not 0-29.
o Close rather than hanging if the peer never responds to auth requests.
o Nuke outstanding authentication request timers when the layer is closed
  unexpectedly.
o Log CCP errors as in the CCP log (not as a WARNING).
o Ensure that all TLU/TLD and TLS/TLF pairs are balanced.
o OR the peers ACCMAP with our own during LCP negotiations.
o Set the interface netmask correctly and show it in ``show ipcp''.
o Drop the correct diagnostic connections and remove the correct local
  domain socket from ``set server''.
o If our config file doesn't exist, moan about that rather than claiming
  that the ``default'' section doesn't exist.
@
text
@d1 1
a1 3
#	$Id: Makefile,v 1.52 1999/01/28 15:16:38 brian Exp $

MAINTAINER=brian@@FreeBSD.org
d10 2
a11 2
LDADD+= -lcrypt -lmd -lutil -lz
DPADD+=	${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
d16 2
a40 10
.if defined(NORADIUS)
CFLAGS+=-DNORADIUS
.else
.if !defined(RELEASE_CRUNCH)
SRCS+=	radius.c
LDADD+=	-lradius
DPADD+= ${LIBRADIUS}
.endif
.endif

d42 1
a42 1
# We must create these objects because crunchgen will link them,
d44 3
a46 3
CFLAGS+=-DNOALIAS -DNORADIUS
SRCS+=	alias_cmd.c chap_ms.c radius.c
chap_ms.o alias_cmd.o radius.o:
@


1.50.2.2
log
@o Support ranges in ``alias port''.
o Avoid some alpha/Wall warnings.
o Becareful about aligning mbufs before casting bits of them.
o Don't accept pap/chap packets unless we're in the right PHASE.
o Be smarter when detecting HDLC headers.
o Use a combination of the peers accmap and our own when async
  encoding, and back out the previous LCP changes.
o Add an extra sig_Handle() to avoid hanging under certain
  curcumstances.
o Tidy up macro usage in the man page.
o Don't change \r\n to \r\r\n in tty raw mode.
@
text
@@


1.50.2.3
log
@MFC: NetBSD changes
     ``set device'' changes
     AFCComp man page description

I haven't merged the port 80/81 changes as they've been
questioned :-/
@
text
@@


1.50.2.4
log
@MFC: Abstract the physical device layer (``show modem'' is now ``show
     physical'').
     Support ``physical'' and ``sync'' logging.
     ``set weight'' -> ``set bandwidth'' and a ``set autoload'' rewrite.
     ``set cd'' and better carrier detection.
     PPPoISDN support (.defined out in the Makefile as it's only
     functional with i4b-00.83.00 or better installed)
     PPPoUDP support
     -alias -> -nat
     Add -foreground and -quiet command lines switches
     Minimum idle timer support
     ``alias port'' range support
     Some alignment wrinkles ironed out
     Support for TUNSIFMODE and TUNSLMODE (if defined)
     Assorted throughput measurement improvements
     ``enable/disable keep-session'' support
     Adjust filter sets built with MYADDR and HISADDR when the IPs change
     Allow forward jumps in filter rules
     Support ospf filtering
     Better handing of ``no number'' CBCP REQs
     Handle file descriptor close-on-exec flags properly before exec()s
     Drop packets received when the current state is wrong
     Expand PROCESSID correctly when executing commands
     Add a new CARRIER phase (this is temporary - 'till ``set dial'' is
     abstracted and made device specific)
     Handle IPCP code rejects
     Support ``deny enddisc''
     Don't moan about group write permissions to ppp.conf
     More verbiage (now I'm making words up) in ``show mp''
     Show the correct `next' values in ``show timer''
     Plus an assortment of other minor changes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.50.2.3 1999/05/02 08:59:31 brian Exp $
d6 5
a10 6
SRCS=	acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
	command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
	id.c iface.c ip.c ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c \
	mbuf.c mp.c pap.c physical.c pred.c probe.c prompt.c proto.c route.c \
	server.c sig.c slcompress.c sync.c systems.c tcp.c throughput.c \
	timer.c tty.c tun.c udp.c vjcomp.c
d23 2
a24 2
.if defined(NOALIAS) || defined(NONAT)
CFLAGS+=-DNONAT
a50 9
# Remove this line if you've installed I4B 00.83.00 or higher
NOI4B=TRUE

.if defined(NOI4B) || ${MACHINE_ARCH} == "alpha"
CFLAGS+=-DNOI4B
.else
SRCS+=	i4b.c
.endif

d54 2
a55 2
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B
OBJS+=	alias_cmd.o chap_ms.o radius.o
@


1.50.2.5
log
@MFC: correct BINMODE
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.50.2.4 1999/08/23 21:59:18 brian Exp $
d15 1
a15 1
BINMODE=4755
@


1.50.2.6
log
@MFC: revert BINMODE; ppp is failing for other reasons.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.50.2.5 1999/08/27 06:02:00 jkh Exp $
d15 1
a15 1
BINMODE=4554
@


1.50.2.7
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.50.2.8
log
@MFC: Synchronise -stable's I4B with version 0.83 from -current, and
	enable PPPoISDN.

Approved by: hm and brian
@
text
@d53 1
a53 1
#NOI4B=TRUE
@


1.50.2.9
log
@MFC: Support PPPoE (PPP over Ethernet), but disabled for now.
     Moan about -alias (but still honour it).
     kldload the tun module if required.
     Add -unit and -foreground command line arguments.
     Support fast-queue configuration.
     Make ``set autoload'' functional.
     Allow GRE packet filtering
     Many bug fixes
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.8 1999/11/15 22:41:23 joe Exp $
a23 4
.if defined(NOKLDLOAD)
CFLAGS+=-DNOKLDLOAD
.endif

d28 1
a28 1
SRCS+=	nat_cmd.c
d52 3
a60 10
NONETGRAPH=	TRUE

.if defined(NONETGRAPH)
CFLAGS+=-DNONETGRAPH
.else
SRCS+=	ether.c
LDADD+=	-lnetgraph
DPADD+= ${LIBNETGRAPH}
.endif

d64 3
a66 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNONETGRAPH
OBJS+=	chap_ms.o ether.o nat_cmd.o radius.o
chap_ms.o ether.o nat_cmd.o radius.o:
@


1.50.2.10
log
@Enable NETGRAPH :-)
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.9 1999/11/19 23:47:48 brian Exp $
d61 2
@


1.50.2.11
log
@Don't build netgraph support for the release floppy.

Reminded by: Andrzej Bialecki <abial@@webgiro.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.10 1999/11/23 00:45:19 brian Exp $
d62 1
a62 1
.if defined(NONETGRAPH) || defined(RELEASE_CRUNCH)
@


1.50.2.12
log
@MF4: Include netgraph support when building with RELEASE_CRUNCH
     Make mbufs more like kernel mbufs
     Allocate mbufs in buckets rather than individually
     Tidy up (and fix) sockaddr parsing of mib structures
     Parse quotes properly and complain about unbalanced ones
     Allow comments at the end of lines
     Use ioctl(TUNSIFHEAD) on the tun device if possible
     Correct CBCP redials
     Correct cmsghdr handling when passing links
     Don't fork to lose the current session when we're about to exit
     Tell the tun device when we change pid
     Show hex/decimal values rather than ??? for things not understood
     Depricate (but still support) -alias in favour of -nat
     Support DNS0/DNS1 macros, add the ``resolv'' command and dns logging
     Support redial/reconnect properly, and tell the -background parent
     Some constification, staticising, spelling and better diagnostics
     Default carrier behaviour based on the device type
     Differentiate between failing to start a program and the program exiting
     Fix the MP link-passing race by using a local-domain UDP socket
     Add "nat target"
     Fix some timer issues where timers are removed before they are triggered
     Handle pap text messages longer than 255 bytes
     Make -foreground a real option
     Bump version
@
text
@d1 3
a3 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.11 1999/11/30 23:59:40 brian Exp $
a27 5
NOINET6=true
.if defined(NOINET6)
CFLAGS+=-DNOINET6
.endif

d62 1
a62 1
.if defined(NONETGRAPH)
d73 3
a75 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B
OBJS+=	chap_ms.o nat_cmd.o radius.o
chap_ms.o nat_cmd.o radius.o:
@


1.50.2.13
log
@The RELENG_3 release doesn't have NETGRAPH
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.12 2000/06/01 00:48:50 brian Exp $
a18 1
NONETGRAPH=true
@


1.50.2.14
log
@Get it right... RELENG_3's release doesn't have NETGRAPH !
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.50.2.13 2000/06/04 18:37:19 brian Exp $
d18 5
a68 1
.if !defined(RELEASE_CRUNCH)
a72 1
.endif
d77 3
a79 3
CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNONETGRAPH
OBJS+=	chap_ms.o nat_cmd.o radius.o ether.o
chap_ms.o nat_cmd.o radius.o ether.o:
@


1.49
log
@Specify BINOWN explicitly - we don't want to depend on bsd.own.mk
setting it to ``root''.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.47 1998/08/31 12:14:31 brian Exp $
d5 1
a5 1
	datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c ip.c \
@


1.48
log
@Remove useless `BINOWN=root' now that it is the default.
@
text
@d13 1
@


1.47
log
@Remove OpenBSD build support - let the Makefile vary per
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.46 1998/08/30 23:53:25 brian Exp $
a12 1
BINOWN=	root
@


1.46
log
@Add OpenBSD build support
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.45 1998/08/07 18:42:47 brian Exp $
a14 5

OPSYS!=	uname -s
.if (${OPSYS} == "OpenBSD")
MAN=	ppp.8
.else
a17 1
.endif
a27 5
.if (${OPSYS} == "OpenBSD")
CFLAGS+=-I../libalias
LDADD+=	../libalias/libalias.a
DPADD+= ../libalias/libalias.a
.else
a29 1
.endif
@


1.45
log
@o Support callback types NONE, E.164, AUTH and CBCP.
  (see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
  ``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
  allow a fifth field for specifying auth/cbcp dialback
  parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
  rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.44 1998/06/27 14:17:22 brian Exp $
d34 5
d41 1
@


1.44
log
@Don't dlopen()/dlsym() libalias, use it in the same way
as the rest of the world uses libraries.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.43 1998/06/26 18:50:29 brian Exp $
d4 1
a4 1
SRCS=	arp.c async.c auth.c bundle.c ccp.c chap.c chat.c command.c \
@


1.43
log
@DISTRIBUTION=des
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.42 1998/06/24 19:33:30 brian Exp $
d29 1
a29 1
.if defined(NOALIAS) || defined(RELEASE_CRUNCH)
d32 5
a36 1
SRCS+=	alias_cmd.c loadalias.c
d50 3
a52 2
SRCS+=	alias_cmd.c loadalias.c chap_ms.c
chap_ms.o alias_cmd.o loadalias.o:
@


1.42
log
@o If we come out of select() with only write descriptors that
  end up writing zero bytes, sleep for 1/10 of a second so that
  we don't end up using up too much cpu.
  This should only ever happen on systems that wrongly report a
  descriptor as writable despite the tty buffer being full.
  Discussed with: Jeff Evarts

o Do an initial run-time check to see if select() alters the passed
  timeval.  This knowledge isn't yet used, but will be soon.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.41 1998/06/09 05:36:37 imp Exp $
d36 1
@


1.41
log
@$@@ is deprecated, use longer forms of single char macros
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.40 1998/06/07 17:08:42 brian Exp $
d7 2
a8 2
	mp.c pap.c physical.c pred.c prompt.c route.c server.c sig.c \
	slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c
@


1.40
log
@Fix previous commit.  bit 1 is the execute bit, not the read bit *blush*
ie, BINMODE=4551 -> BINMODE=4554
Pointed out by: Bruce Evans <bde@@zeta.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.39 1998/06/07 00:16:57 brian Exp $
d47 2
a48 2
	>null_$*.c
	cc -c -o $@@ null_$*.c
@


1.39
log
@Make ppp world-readable so that root can get at it over
NFS when nobody isn't in group network :-)

Pointed out by: Bruce Evans <bde@@zeta.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.38 1998/05/21 23:38:08 brian Exp $
d12 1
a12 1
BINMODE=4551
@


1.38
log
@Remove -Wpointer-arith
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.37 1998/05/21 21:43:36 brian Exp $
d12 1
a12 1
BINMODE=4550
@


1.37
log
@MFMP: Make ppp multilink capable.
      See the file README.changes, and re-read the man page.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.12 1998/05/04 03:01:34 brian Exp $
d9 1
a9 1
CFLAGS+=-Wall -Wpointer-arith
@


1.36
log
@Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.35 1998/01/17 14:21:21 brian Exp $
d4 8
a11 9
SRCS=	arp.c async.c auth.c ccp.c chap.c chat.c command.c deflate.c \
	defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c iplist.c lcp.c \
	log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c \
	pred.c route.c server.c sig.c slcompress.c systems.c throughput.c \
	timer.c tun.c vars.c vjcomp.c
CFLAGS+=-Wall
LDADD+= -lmd -lcrypt -lutil -lz
DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
MAN8=	ppp.8
d15 9
@


1.36.2.1
log
@Create a new MP branch for `multilink protocol'.

Do lots of initial shuffling and grouping.
Submitted by: Eivind Eklund <perhaps@@yes.no>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36 1998/01/29 00:42:04 brian Exp $
d6 1
a6 1
	log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c physical.c \
d9 1
a9 1
CFLAGS+=-Wall -Wpointer-arith
@


1.36.2.2
log
@Create `struct link' - the logical link from which
`struct physical' (and the future `struct logical')
are derived.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.1 1998/01/29 00:49:10 brian Exp $
d6 1
a6 1
	link.c log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c physical.c \
@


1.36.2.3
log
@Create `struct bundle' - the top level control structure.
This structure will eventually contain a list of NCPs (currently
only IPCP is supported) and a list of physical `struct link's.
It will also derive from a struct link itself.
Make ModemTimeout() static - it's way to dangerous to be called
from outside !
Bump version to 1.9.  Our first MP release should be 2.0.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.2 1998/01/30 19:45:24 brian Exp $
d4 1
a4 1
SRCS=	arp.c async.c auth.c bundle.c ccp.c chap.c chat.c command.c deflate.c \
d6 1
a6 1
	link.c log.c lqr.c main.c mbuf.c modem.c pap.c phase.c physical.c \
@


1.36.2.4
log
@Move pppVars.physical into the bundle (for the moment).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.3 1998/02/02 19:31:59 brian Exp $
a43 2

STRIP=
@


1.36.2.5
log
@o Hook the FSMs into our bundle.
o The FSM layering is now more sane.
o Move a lot of the NCP stuff into our ipcpstate rather than having it
  in the bundle, including control of the configured IP addresses.  We
  don't need hacks like the global `linkup' variable any more as the
  FSM decides when our ppp.link* files get run.  This is going to eventually
  be configurable based on FSM events anyway.
o Fix a few inconsistencies when both sides require authentication.
o We now have "Ppp..." and "PPp" prompts, reflecting authentication
  and network phase.  We don't print loads of spurious prompts as we
  change phases any more.
o Our phase is part of the bundle now.
o Fix a bug where the FSM wasn't calling LayerFinish.
o Close the FSM down correctly with a signal rather than slamming it
  down as if the line was dropped (the undocumented ``down'' command
  is still available though).
o Remove the forgotten `tunno' variable and fix references to it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.4 1998/02/06 02:23:26 brian Exp $
d6 1
a6 1
	link.c log.c lqr.c main.c mbuf.c modem.c pap.c physical.c \
d44 2
@


1.36.2.6
log
@Move the terminal/diagnostic socket stuff out of main.c
and into the new `prompt.c'.  struct prompt is (of course)
a `sort' of descriptor.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.5 1998/02/07 20:49:12 brian Exp $
d6 2
a7 2
	link.c log.c lqr.c main.c mbuf.c modem.c pap.c physical.c pred.c \
	prompt.c route.c server.c sig.c slcompress.c systems.c throughput.c \
@


1.36.2.7
log
@Create struct datalink.

This is a type of physical link that can chat and talk
LCP & CCP.  A bundle contains a list of these (only one
in the list for the moment).

The datalink is a type of descriptor, and dials, enters
LCP (& does CCP), kicks the bundle when its FSMs do
something interesting and does the hangup chat script
on the way down.  It also handles redials and reconnects.

There are lots of loose ends, and probably lots of bugs,
but the data structures are getting there !
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.6 1998/02/10 03:23:04 brian Exp $
d5 2
a6 2
	datalink.c defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c iplist.c \
	lcp.c link.c log.c lqr.c main.c mbuf.c modem.c pap.c physical.c pred.c \
@


1.36.2.8
log
@o Move struct lcp and struct ccp into struct link.
o Remove bundle2lcp(), bundle2ccp() and bundle2link().
  They're too resource-hungry and we have `owner pointers'
  to do their job.
o Make our FSM understand LCPs that are always ST_OPENED
  (with a minimum code that != 1).
o Send FSM code rejects for invalid codes.
o Make our bundle fsm_parent deal with multiple links.
o Make timer diagnostics pretty and allow access via ~t
  in `term' mode (not just when logging debug) and
  `show timers'.  Only show timers every second in debug
  mode, otherwise we get too many diagnostics to be useful
  (we probably still do).  Also, don't restrict ~m in term
  mode to depend on debug logging.
o Rationalise our bundles' phases.
o Create struct mp (multilink protocol).  This is both an
  NCP and a type of struct link.  It feeds off other NCPs
  for output, passing fragmented packets into the queues
  of available datalinks.  It also gets PROTO_MP input,
  reassembles the fragments into ppp frames, and passes
  them back to the HDLC layer that the fragments were passed
  from.
  ** It's not yet possible to enter multilink mode :-( **
o Add `set weight' (requires context) for deciding on a links
  weighting in multilink mode.  Weighting is simplistic (and
  probably badly implemented) for now.
o Remove the function pointers in struct link.  They ended up
  only applying to physical links.
o Configure our tun device with an MTU equal to the MRU from
  struct mp's LCP and a speed equal to the sum of our link
  speeds.
o `show {lcp,ccp,proto}' and `set deflate' now have optional
  context and use ChooseLink() to decide on which `struct link'
  to use.  This allows behaviour as before when in non-multilink
  mode, and allows access to the MP logical link in multilink
  mode.
o Ignore reconnect and redial values when in -direct mode and
  when cleaning up.  Always redial when in -ddial or -dedicated
  mode (unless cleaning up).
o Tell our links to `staydown' when we close them due to a signal.
o Remove remaining `#ifdef SIGALRM's (ppp doesn't function without
  alarms).
o Don't bother strdup()ing our physical link name.
o Various other cosmetic changes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.7 1998/02/15 23:59:34 brian Exp $
d4 5
a8 5
SRCS=	arp.c async.c auth.c bundle.c ccp.c chap.c chat.c command.c \
	deflate.c datalink.c defs.c filter.c fsm.c hdlc.c id.c ip.c \
	ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c mbuf.c modem.c \
	mp.c pap.c physical.c pred.c prompt.c route.c server.c sig.c \
	slcompress.c systems.c throughput.c timer.c tun.c vars.c vjcomp.c
@


1.36.2.9
log
@Deglobalise `struct prompt':
  o Our diagnostic socket has its password set in the `set socket'
    line only (not in ppp.secret).
  o Passwords are per server socket (*VarAuthKey are gone)
  o Authority is per prompt (VarLocalAuth is gone).
  o Local logging is per prompt.
  o Add a `show who' command to see who's connected.  No identd
    routine - just a `where the connection came from' display.
  o SIGUSR1 is disabled for now - we have no way of choosing a
    password for the socket created :-(

Prompts are attached as a list of `struct descriptor's in
struct bundle, and serviced under the bundles descriptor
service routines.  Ultimately, everything should be done
like this.

Cosmetic:
  o alphabeticalise SRCS in Makefile.
  o Add a few comments in command.h

TODO: Start checking that we don't overflow the descriptor sets
      in select() now that we can have any number of descriptors.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.8 1998/04/03 19:21:03 brian Exp $
d5 1
a5 1
	datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c ip.c \
@


1.36.2.10
log
@o Move the accept/deny/disable/enable globals either to the
  bundle (non-negotiated vars) or to their respective IPCP,
  LCP or CCP.
o Enable rolling throughput statistics by default.
o Remove the `display' command.  These values now appear in
  `show bundle', `show ipcp', `show ccp' and `show lcp'.
o Initialise auth name & key at bundle create time (oops).
o Rename pppd-deflate (the id-24 hack) to deflate24.
o Don't send both a REJ and a NAK to an IPCP or LCP REQ.
  Favour the REJ (already done at the CCP level).
o Recurse in datalink_UpdateSet() when we change state, otherwise
  we end up setting no descriptors and getting jammed in the
  imminent select() instead of doing the dial/login/hangup.
o Display our CHAP encryption method despite being built with DES.
o Display VJ as not negotiated in ``show ipcp'' when necessary.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.9 1998/04/03 19:25:19 brian Exp $
d8 1
a8 1
	slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c
@


1.36.2.11
log
@Make gcc-2.8.1 build ppp cleanly.
Support OpenBSD again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.10 1998/04/16 00:25:45 brian Exp $
d10 1
a10 1
LDADD+= -lutil -lz
d12 1
a15 8

OPSYS!=	uname -s
.if (${OPSYS} == "OpenBSD")
MAN=	ppp.8
.else
MAN8=	ppp.8
LDADD+=	-lmd -lcrypt
.endif
@


1.36.2.12
log
@Keep DPADD and LDADD consistent.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.11 1998/04/25 10:48:41 brian Exp $
d11 1
a11 1
DPADD+=	${LIBUTIL} ${LIBZ}
a21 1
DPADD+= ${LIBMD} ${LIBCRYPT}
@


1.36.2.13
log
@Nuke everything in the MP branch, it's now -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36.2.12 1998/05/04 03:01:34 brian Exp $
@


1.35
log
@Remove the necessity of -ldes and -lalias etc from release/Makefile.
When building a release, RELEASE_CRUNCH is defined for a `make' of
the objects required by the crunch of each program.  The object list
is still obtained in the same way, so you must make sure that all
objects are built (empty if necessary) by this make.  ppp/Makefile
provides an example.

Reviewed by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.34 1997/12/13 02:37:20 brian Exp $
d16 4
@


1.34
log
@Allow random IP number allocation to peer.
Validate the peers suggested IP by attempting to make a routing table
entry.
Give up IPCP negotiation if the peer NAKs us with an unusable IP.
Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device.
Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't
want)!!!
Allow up to 200 interface names (was 50) (now that ppp can play server
properly).
Up the version number (1.5 -> 1.6).

Cosmetic:
  Log unexpected CCP packets in the CCP log rather than the ERROR log.
  Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather
  than the ERROR log.
  Log failed route additions and deletions with WARN, not TCPIP.
  Log the option id and length for unrecognised IPCP options.
  Change some .Sq to .Ar in the man page.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.33 1997/12/03 10:23:44 brian Exp $
d17 1
a17 1
.if defined(NOALIAS)
d23 1
a23 1
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
d28 9
@


1.33
log
@Abstract the CCP layer a level.
Add DEFLATE support.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.32 1997/11/22 03:37:21 brian Exp $
d5 1
a5 1
	defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c lcp.c \
@


1.32
log
@Fix prototypes.
Remove extraneous decls.
Add ``const'' to several places.
Allow ``make NOALIAS=1'' to remove IP aliasing.
Merge with OpenBSD - only the Makefiles vary.

We can now survive a compile with
  -Wall -Wbad-function-cast -Wcast-align -Wcast-qual
  -Winline -Wmissing-declarations -Wmissing-prototypes
  -Wnested-externs -Wpointer-arith -Wredundant-decls
  -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts
(although the Makefile just contains -Wall).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.31 1997/11/18 14:52:03 brian Exp $
d4 2
a5 2
SRCS=	arp.c async.c auth.c ccp.c chap.c chat.c \
	command.c defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c lcp.c \
d10 2
a11 2
LDADD+= -lmd -lcrypt -lutil
DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.31
log
@Add throughput logging (disabled by default).
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.30 1997/11/16 22:15:02 brian Exp $
d4 1
a4 1
SRCS=	alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c \
d6 1
a6 1
	loadalias.c log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c \
d9 1
a9 1
CFLAGS+=-Wall -Wmissing-prototypes
d16 6
@


1.30
log
@Abstract data read from and written to the tun device,
allowing for a possible header on the front of all packets.
In OpenBSD, there's a structure containing the address
family here.
If we're building under OpenBSD, set up the ``flags'' part
of struct tuninfo (not there under FreeBSD) so that we config
the interface as POINTOPOINT.
Prefix prototypes with ``extern'' in os.c for consistency.

These changes are cosmetic under FreeBSD, but allow ppp to
build & work under OpenBSD (bar the srandomdev() stuff,
the inclusing of <net/if_var.h> and some Makefile symantecs).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.29 1997/11/09 06:22:37 brian Exp $
d7 2
a8 2
	pred.c route.c server.c sig.c slcompress.c systems.c timer.c tun.c \
	vars.c vjcomp.c
@


1.29
log
@Introduce ID0 logging.
Stay as the invoking uid as much as possible.
Execution as a normal user is still forbidden for now,
so these changes are pretty ineffective.
The next commit will implement the modifications suggested
on -hackers a number of days ago.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.28 1997/10/26 01:01:58 brian Exp $
d4 5
a8 4
SRCS=	alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
	defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c lcp.c loadalias.c log.c \
	lqr.c main.c mbuf.c modem.c os.c pap.c phase.c pred.c route.c \
	server.c sig.c slcompress.c systems.c timer.c vars.c vjcomp.c
@


1.28
log
@Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.27 1997/09/28 20:17:59 brian Exp $
d5 1
a5 1
	defs.c filter.c fsm.c hdlc.c ip.c ipcp.c lcp.c loadalias.c log.c \
@


1.27
log
@Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.26 1997/09/27 19:11:39 brian Exp $
d5 4
a8 4
	filter.c fsm.c hdlc.c ip.c ipcp.c lcp.c loadalias.c log.c lqr.c \
	main.c mbuf.c modem.c os.c pap.c pred.c route.c server.c sig.c \
	slcompress.c systems.c timer.c vars.c vjcomp.c
CFLAGS+=-Wall
@


1.26
log
@Don't login twice when using passwdauth
Suggested by:	Peter Childs <pjchilds@@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.25 1997/09/25 00:52:31 brian Exp $
d16 1
a16 1
.if exists(${DESTDIR}/usr/include/des.h) && !defined(NOSECURE)
@


1.25
log
@Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by:	Gabor Kincses <gabor@@acm.org>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.24 1997/09/04 00:38:17 brian Exp $
d6 2
a7 2
	main.c mbuf.c modem.c os.c pap.c passwdauth.c pred.c route.c \
	server.c sig.c slcompress.c systems.c timer.c vars.c vjcomp.c
@


1.24
log
@Install as group ``network''
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.23 1997/08/31 20:18:03 brian Exp $
d15 7
@


1.23
log
@Make ppp owner root.ppp, mode 4550
Suggested by: guido
Condoned by: eivind
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.22 1997/06/25 19:29:58 brian Exp $
d14 1
a14 1
BINGRP=	ppp
@


1.22
log
@Add "set server" to control the server socket.
Catch SIGUSR1 to re-init listening socket.
Document signal behaviour.

Add missing '\n's to LogPrintf(LogWARN,...)
Main() returns int not void.

AF_LOCAL ideal suggested a long time ago by: joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.21 1997/06/09 03:27:10 brian Exp $
d12 1
a12 1
BINMODE=4555
d14 1
@


1.21
log
@Overhaul ppp:
  o Use syslog
  o Remove references to stdout/stderr (incl perror())
  o Introduce VarTerm - the interactive terminal or zero
  o Allow "set timeout" to affect current session
  o Change "set debug" to "set log"
  o Allow "set log [+|-]flag"
  o Make MSEXT and PASSWDAUTH stuff the default
  o Move all #ifdef DEBUG stuff into the code - this
    shouldn't be too much overhead.  It's now controlled
    with "set log +debug"
  o Add "set log command, debug, tun, warn, error, alert"
  o Remove cdefs.h, and assume an ansi compiler.
  o Improve all diagnostic output
  o Don't trap SIGSEGV
  o SIGHUP now terminates again (log files are controlled
    by syslog)
  o Call CloseModem() when changing devices
  o Fix parsing of third arg of "delete"

I think this fixes the "magic is same" problems that some
people have been experiencing.
The man page is being rewritten.  It'll follow soon.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.20 1997/05/26 00:43:54 brian Exp $
d6 2
a7 2
	main.c mbuf.c modem.c os.c pap.c passwdauth.c pred.c route.c sig.c \
	slcompress.c systems.c timer.c vars.c vjcomp.c
@


1.20
log
@De-couple ppp from libalias.  If libalias isn't there, the
alias commands simply won't work.  Only root may specify the
location of the alias lib (otherwise, it's hard-coded).

Make logprintf silently fail if LogOpen hasn't been called.

Suggested by:	eivind
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.19 1997/05/23 04:53:49 brian Exp $
d8 3
a10 4
#CFLAGS+= -DHAVE_SHELL_CMD_WITH_ANY_MODE
CFLAGS += -Wall -DMSEXT -DPASSWDAUTH
LDADD += -lmd -lcrypt -lutil
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.19
log
@Use the latest alias engine - now in libalias.

Submitted by:	Charles Mott <cmott@@srv.net>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.18 1997/03/31 22:50:59 brian Exp $
d5 3
a7 3
	filter.c fsm.c hdlc.c ip.c ipcp.c lcp.c log.c lqr.c main.c mbuf.c \
	modem.c os.c pap.c passwdauth.c pred.c route.c sig.c slcompress.c \
	systems.c timer.c vars.c vjcomp.c
d10 2
a11 2
LDADD += -lmd -lcrypt -lutil -lalias
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL} ${LIBALIAS}
@


1.18
log
@Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by:	ache@@freebsd.org
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.17 1997/03/30 12:12:20 brian Exp $
d4 4
a7 5
SRCS=	async.c auth.c ccp.c chap.c chat.c command.c filter.c fsm.c hdlc.c \
	ip.c ipcp.c lcp.c lqr.c log.c main.c mbuf.c modem.c os.c \
	pap.c pred.c route.c slcompress.c timer.c systems.c vars.c \
	vjcomp.c arp.c alias.c alias_db.c alias_ftp.c alias_util.c \
	passwdauth.c sig.c
d10 2
a11 2
LDADD += -lmd -lcrypt -lutil
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.17
log
@Move uucplock into libutil and create a manual page.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1997/03/13 12:45:26 brian Exp $
d10 1
a10 1
CFLAGS += -Wall -DUSE_PERROR -DMSEXT -DPASSWDAUTH
@


1.16
log
@Reviewed by:	ache@@freebsd.org
These changes should fix the signal "problems" in ppp.
The signal changes should really be put into 2.2 too !
The following patches should do it.  There were some other
changes made by Andrey recently that havn't been brought
into 2.2, it may be worth doing them now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1997/03/09 20:03:27 ache Exp $
d6 1
a6 1
	pap.c pred.c route.c slcompress.c timer.c systems.c uucplock.c vars.c \
a15 2

.PATH: ${.CURDIR}/../../sbin/startslip
@


1.15
log
@I remove pending signals completely, they are not useless, they are
dangerous! Signal handlers themself must be fixed to not call malloc,
but no pended handlers, it will be correct fix. In finite case each signal
handler can set some variable which will be analized later, but calling
handler functions manually is too dangerous (f.e. signals not blocked while
the handler or handlers switch executed in this case). Of course this
code can be fixed instead of removing, but it not worth fixing in any case.

Should go into 2.2

In addition sig.c code shows following dangerous fragments (there can be more,
but I stop after two):

This fragment

    if (fn == SIG_DFL || fn == SIG_IGN) {
	handler[sig-1] = (sig_type)0;
	<------------- here
        signal(sig,fn);
    } else {

cause NULL pointer reference when signal comes
"here", but more worse fragment is below:

void handle_signals() {
    int sig;

    if (caused)
       for (sig=0; sig<__MAXSIG; sig++, caused>>=1)
           if (caused&1)
               (*handler[sig])(sig+1);
}

caused is bitmask which set corresponding bit on each signal coming.
And now imagine, what happens when some signal comes (bit sets) while loop
is executed (see caused>>=1 !!!)

In this light carrier drop situation was (as gdb shows)
1. SIGSEGV in handle_signals because some junk called as *handler reference.
2. Since SIGSEGV was pended too (== never happens),
it can cause various range of disasters.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1997/02/22 16:09:55 peter Exp $
d8 1
a8 1
	passwdauth.c
@


1.14
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
d8 1
a8 1
	passwdauth.c sig.c
@


1.13
log
@Tidy up signal handling.
All signal() calls have been changed to pending_signal() calls.
pending_signal() is defined in the new sig.c file.  It remembers
the handler and traps the signal with a function that will remember
the signal.

main.c now calls handle_signals() to actually call the required
handlers (if the above handler was called).

If this doesn't close PR2662 (was PR2347), I'll cry.

Joerg, I think this should go into 2.2, but I havn't done anything
about it because I'm bound to botch it with the new sig.[ch] files.

I've just "cvs add"'d sig.[ch] so far.... can you update to 2.2 and
tell me what you did ?  Thanks.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.12
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d8 1
a8 1
	passwdauth.c
@


1.11
log
@Updated DPADD to match LDADD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1996/12/12 14:39:16 jkh Exp $
@


1.10
log
@The infamous IP aliasing code for ppp, modified to work as a runtime option
(otherwise ppp's behavior remains unchanged) and documented by myself,
Steve Sims, Nate Williams, Martin Renters and god-only-knows who else. :-)
Submitted by:	nate
Obtained from:	Charles Mott <cmott@@srv.net>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1996/10/18 03:47:51 jkh Exp $
d12 1
a12 1
DPADD += ${LIBMD}
@


1.9
log
@Make changes suggested in PR#1825, closing it.  Removes default local
hack behavior better than previous commit.
Submitted-By: Peter Childs <pjchilds@@imforei.apana.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1996/10/18 01:44:45 jkh Exp $
d7 2
a8 1
	vjcomp.c arp.c passwdauth.c
@


1.9.2.1
log
@This one merits its own comment:  Merge in the IP alias features from
-current.  There is *strong* support for this going into 2.2.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1996/12/12 14:39:16 jkh Exp $
d7 1
a7 2
	vjcomp.c arp.c alias.c alias_db.c alias_ftp.c alias_util.c \
	passwdauth.c
@


1.9.2.2
log
@Merge from -current.
@
text
@@


1.9.2.3
log
@YAMFC: clean up the signal handling, as committed to -current by
Brian on 97/02/18 17:14:44.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.2 1996/12/23 18:13:25 jkh Exp $
d8 1
a8 1
	passwdauth.c sig.c
@


1.9.2.4
log
@Use uu_lock et al from libutil.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.3 1997/02/22 17:59:04 joerg Exp $
d6 1
a6 1
	pap.c pred.c route.c slcompress.c timer.c systems.c vars.c \
d10 1
a10 1
CFLAGS += -Wall -DMSEXT -DPASSWDAUTH
d12 1
a12 1
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
d16 2
@


1.9.2.5
log
@YAMFC: Bring the alias stuff up to date.

Submitted by:	Charles Mott <cmott@@srv.net>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.4 1997/05/11 12:58:57 brian Exp $
d4 5
a8 4
SRCS=	alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
	filter.c fsm.c hdlc.c ip.c ipcp.c lcp.c log.c lqr.c main.c mbuf.c \
	modem.c os.c pap.c passwdauth.c pred.c route.c sig.c slcompress.c \
	systems.c timer.c vars.c vjcomp.c
d11 2
a12 2
LDADD += -lmd -lcrypt -lutil -lalias
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL} ${LIBALIAS}
@


1.9.2.6
log
@YAMFC: De-couple ppp from libalias.  If libalias isn't there, the
       alias commands simply won't work.  Only root may specify the
       location of the alias lib (otherwise, it's hard-coded).

       Make logprintf silently fail if LogOpen hasn't been called.

Suggested by:   eivind
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.5 1997/05/24 10:29:22 brian Exp $
d5 3
a7 3
	filter.c fsm.c hdlc.c ip.c ipcp.c lcp.c loadalias.c log.c lqr.c \
	main.c mbuf.c modem.c os.c pap.c passwdauth.c pred.c route.c sig.c \
	slcompress.c systems.c timer.c vars.c vjcomp.c
d10 2
a11 2
LDADD += -lmd -lcrypt -lutil
DPADD += ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.9.2.7
log
@YAMFC: Overhaul ppp:
       o Use syslog
       o Remove references to stdout/stderr (incl perror())
       o Introduce VarTerm - the interactive terminal or zero
       o Allow "set timeout" to affect current session
       o Change "set debug" to "set log"
       o Allow "set log [+|-]flag"
       o Make MSEXT and PASSWDAUTH stuff the default
       o Move all #ifdef DEBUG stuff into the code - this
         shouldn't be too much overhead.  It's now controlled
         with "set log +debug"
       o Add "set log command, debug, tun, warn, error, alert"
       o Remove cdefs.h, and assume an ansi compiler.
       o Improve all diagnostic output
       o Don't trap SIGSEGV
       o SIGHUP now terminates again (log files are controlled
         by syslog)
       o Call CloseModem() when changing devices
       o Fix parsing of third arg of "delete"
       o Make the man page a little more detailed.
       o Update the version number to 1.00.
       o Increase the predictor-1 buffer by 2 bytes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.21 1997/06/09 03:27:10 brian Exp $
d8 4
a11 3
CFLAGS+=-Wall
LDADD+= -lmd -lcrypt -lutil
DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.9.2.8
log
@YAMFC: Add "set server" to control the server socket.
       Catch SIGUSR1 to re-init listening socket.
       Document signal behaviour.

       Add missing '\n's to LogPrintf(LogWARN,...)
       Main() returns int not void.

       AF_LOCAL idea suggested a long time ago by: joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.7 1997/06/10 09:42:54 brian Exp $
d6 2
a7 2
	main.c mbuf.c modem.c os.c pap.c passwdauth.c pred.c route.c \
	server.c sig.c slcompress.c systems.c timer.c vars.c vjcomp.c
@


1.9.2.9
log
@MFC: Make the code format more in line with style(9).
     Update loadalias to use the new libalias api.
     Update to version 1.1.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.22 1997/06/25 19:29:58 brian Exp $
@


1.9.2.10
log
@MFC: Make ppp owner root.ppp, mode 4550
     Suggested by: guido
     Condoned by: eivind
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.9 1997/08/25 00:34:18 brian Exp $
d12 1
a12 1
BINMODE=4550
a13 1
BINGRP=	ppp
@


1.9.2.11
log
@YAMFC: Install as group ``network''
       Insist that uid == 0 for client ppp
       Disallow client sockets if no password is specified
       Don't exit on failure to open client socket for listening
       Allow specification of null local password
       Use reasonable size (smaller) ``vector''s in auth.c
       Fix "passwd ..." usage message
       Insist on "all" as arg to "quit" (if any)
       Drop client socket connection before Cleanup() when "quit all"
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.10 1997/08/31 20:19:29 brian Exp $
d14 1
a14 1
BINGRP=	network
@


1.9.2.12
log
@MFC: Don't login twice when using passwdauth
     Suggested by:	Peter Childs <pjchilds@@imforei.apana.org.au>
     Merge the whole module into a few lines in pap.c
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.11 1997/09/05 23:07:12 brian Exp $
d6 2
a7 2
	main.c mbuf.c modem.c os.c pap.c pred.c route.c server.c sig.c \
	slcompress.c systems.c timer.c vars.c vjcomp.c
@


1.9.2.13
log
@MFC: Bring the -current ppp into RELENG_2_2
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.35 1998/01/17 14:21:21 brian Exp $
d4 4
a7 5
SRCS=	arp.c async.c auth.c ccp.c chap.c chat.c command.c deflate.c \
	defs.c filter.c fsm.c hdlc.c id.c ip.c ipcp.c iplist.c lcp.c \
	log.c lqr.c main.c mbuf.c modem.c os.c pap.c phase.c \
	pred.c route.c server.c sig.c slcompress.c systems.c throughput.c \
	timer.c tun.c vars.c vjcomp.c
d9 2
a10 2
LDADD+= -lmd -lcrypt -lutil -lz
DPADD+= ${LIBMD} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
a14 22

.if defined(NOALIAS) || defined(RELEASE_CRUNCH)
CFLAGS+=-DNOALIAS
.else
SRCS+=	alias_cmd.c loadalias.c
.endif

.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH)
CFLAGS+=-DHAVE_DES
SRCS+=	chap_ms.c
LDADD+= -ldes
DPADD+= ${LIBDES}
.endif

.if defined(RELEASE_CRUNCH)
# We must create these objects because the crunchgen will link them,
# and we don't want any unused symbols to spoil the final link.
SRCS+=	alias_cmd.c loadalias.c chap_ms.c
chap_ms.o alias_cmd.o loadalias.o:
	>null_$*.c
	cc -c -o $@@ null_$*.c
.endif
@


1.9.2.14
log
@Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.13 1998/01/26 20:04:11 brian Exp $
a15 4

.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
.endif
@


1.9.2.15
log
@MFC: Make ppp world-readable so that root can get at it over
     NFS when nobody isn't in group network :-)

     Pointed out by: Bruce Evans <bde@@zeta.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.14 1998/01/29 00:44:14 brian Exp $
d13 1
a13 1
BINMODE=4551
@


1.9.2.16
log
@MFC: Fix previous commit.  bit 1 is the execute bit, not the read bit *blush*
     ie, BINMODE=4551 -> BINMODE=4554
     Pointed out by: Bruce Evans <bde@@zeta.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.15 1998/06/07 00:18:30 brian Exp $
d13 1
a13 1
BINMODE=4554
@


1.9.2.17
log
@MFC: DISTRIBUTION=des
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9.2.16 1998/06/07 17:10:22 brian Exp $
a27 1
DISTRIBUTION=des
@


1.9.2.18
log
@MFC: megacommit to bring 2.2 ppp up to full merge status with 3.0.  This
has been tested at several sites and proven to be substantially
less buggy than the 2.2 version.  New files have already been tagged
in, though they do not appear in this commit.

OK'd by:	brian
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.50 1998/10/22 02:32:48 brian Exp $
d4 5
a8 5
SRCS=	arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \
	datalink.c deflate.c defs.c filter.c fsm.c hdlc.c id.c iface.c ip.c \
	ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c mbuf.c modem.c \
	mp.c pap.c physical.c pred.c probe.c prompt.c route.c server.c \
	sig.c slcompress.c systems.c throughput.c timer.c tun.c vjcomp.c
d10 3
a12 2
LDADD+= -lutil -lz
DPADD+=	${LIBUTIL} ${LIBZ}
a15 3
MAN8=	ppp.8
LDADD+=	-lmd -lcrypt
DPADD+= ${LIBMD} ${LIBCRYPT}
d21 1
a21 1
.if defined(NOALIAS)
d24 1
a24 5
.if !defined(RELEASE_CRUNCH)
SRCS+=	alias_cmd.c
LDADD+=	-lalias
DPADD+= ${LIBALIAS}
.endif
d38 4
a41 5
CFLAGS+=-DNOALIAS
SRCS+=	alias_cmd.c chap_ms.c
chap_ms.o alias_cmd.o:
	>null_${.PREFIX}.c
	cc -c -o ${.TARGET} null_${.PREFIX}.c
@


1.9.2.19
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.8
log
@Turn LOCALHACK off by default (whoops!)
Noticed-By: Atsushi Murai <amurai@@spec.co.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1996/10/06 13:32:26 jkh Exp $
d9 1
a9 1
CFLAGS += -Wall -DUSE_PERROR -DMSEXT -DPASSWDAUTH # -DLOCALHACK
@


1.7
log
@Add support for the Evil Microsoft ppp extentions.  Yes, they did it
on their own without even attempting to get concensus in the IETF, but
there are also lots of Win95/NT boxes out there.

CLoses PR#1494
Submitted-By: Peter Childs <pjchilds@@imforei.apana.org.au>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1996/03/04 10:38:41 ache Exp $
d9 1
a9 1
CFLAGS += -Wall -DUSE_PERROR -DMSEXT -DPASSWDAUTH -DLOCALHACK
@


1.6
log
@Eliminate multiply uucplock.c
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1996/01/30 20:04:20 phk Exp $
d7 1
a7 1
	vjcomp.c arp.c
d9 2
a10 2
CFLAGS += -Wall -DUSE_PERROR
LDADD += -lmd
@


1.5
log
@Use libmd's MD5.
inline hdlc checksum calculation.
make big tables const.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1996/01/11 17:48:33 phk Exp $
d9 1
a9 1
CFLAGS += -Wall
d15 2
@


1.4
log
@Final cleanup for now. -Wall is now silent.  A couple of bogons found.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1995/09/02 17:20:48 amurai Exp $
d5 1
a5 1
	ip.c ipcp.c lcp.c lqr.c log.c main.c mbuf.c md5c.c modem.c os.c \
d10 2
@


1.3
log
@1. Do not log the password itself to ppp.log ( Mr. Rich Murphey )
2. Add ability to execute shell commands and suspend back into
   invoking shell (Mr. J Wunsch)

Reviewed by:	amurai@@spec.co.jp
Submitted by:	joerg_wunsch@@uriah.heep.sax.de (Joerg Wunsch)
		Rich Murphey <rich@@lamprey.utmb.edu>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1995/02/26 12:17:08 amurai Exp $
d9 1
@


1.2
log
@New user Process PPP based on iij-ppp0.94beta2.

   o Supporting SYNC SIO device (But need a device driver)
     - add "set speed sync"
   o Fixing bug for Predictor-1 function.
   o Add new parameter that re-sent interval for set timeout commands.
   o Improving RTT (Round Trip Time) and reducing processor time.
     - Previous Timer service was using polling, and now using
       SIGALRM ;-)
     - A 0.94beta2 will not work correctly....

   -- Follows are additinal feature not including 0.94beta2
   o Support Proxy ARP
     - add "enable/disable proxy" commands
   o Marging common routine in CHAP/PAP.
   o Enhancing LCP/IPCP log information.
   o Support local Authfication connection on port 300x and tty.
     - You can set up pair of your "hostname -s" and
       password in ppp.secret. if either ppp.secret file nor
       your hostname line don't exist, It will notify a message
       and working as same as previous version.(Backword compatibility)
     - If you did set up them, It's allow connection but nothing to do
       except help and passwd command.
     - add "passwd yourpasswd" commands
   o Support afilter - keep Alive filter that a packet can send/receiving
     according to ifilter/ofilter but doesn't count it as preventing idle
     timer expires.
     - Same syntax of other filters.
   o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai (amurai@@spec.co.jp)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1.1.1 1995/01/31 06:29:55 amurai Exp $
d8 1
@


1.2.4.1
log
@Brought in changes from main branch: various bugfixes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1995/09/02 17:20:48 amurai Exp $
a7 1
#CFLAGS+= -DHAVE_SHELL_CMD_WITH_ANY_MODE
@


1.2.4.2
log
@Brought in changes from main branch: Compile time warnings, various stability
fixes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2.4.1 1995/10/06 11:24:29 davidg Exp $
d5 1
a5 1
	ip.c ipcp.c lcp.c lqr.c log.c main.c mbuf.c modem.c os.c \
a8 3
CFLAGS += -Wall
LDADD += -lmd
DPADD += ${LIBMD}
@


1.2.4.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$Id:$
d7 1
a7 1
	vjcomp.c
@


1.1.1.1
log
@
@
text
@@
