head	1.212;
access;
symbols
	RELEASE_8_3_0:1.204
	RELEASE_9_0_0:1.197
	RELEASE_7_4_0:1.190
	RELEASE_8_2_0:1.190
	RELEASE_6_EOL:1.187
	RELEASE_8_1_0:1.180
	RELEASE_7_3_0:1.169
	RELEASE_8_0_0:1.157
	RELEASE_7_2_0:1.150
	RELEASE_7_1_0:1.143
	RELEASE_6_4_0:1.143
	RELEASE_5_EOL:1.134
	RELEASE_7_0_0:1.124
	RELEASE_6_3_0:1.124
	PRE_XORG_7:1.106
	RELEASE_4_EOL:1.101
	RELEASE_6_2_0:1.89
	RELEASE_6_1_0:1.82
	RELEASE_5_5_0:1.82
	RELEASE_6_0_0:1.78
	RELEASE_5_4_0:1.73
	RELEASE_4_11_0:1.72
	RELEASE_5_3_0:1.67
	RELEASE_4_10_0:1.64
	RELEASE_5_2_1:1.57
	RELEASE_5_2_0:1.57
	RELEASE_4_9_0:1.56
	RELEASE_5_1_0:1.54
	RELEASE_4_8_0:1.54
	RELEASE_5_0_0:1.49
	RELEASE_4_7_0:1.48
	RELEASE_4_6_2:1.46
	RELEASE_4_6_1:1.46
	RELEASE_4_6_0:1.46
	RELEASE_5_0_DP1:1.46
	RELEASE_4_5_0:1.45
	RELEASE_4_4_0:1.43
	RELEASE_4_3_0:1.39
	RELEASE_4_2_0:1.28
	RELEASE_4_1_1:1.28
	RELEASE_4_1_0:1.27
	RELEASE_3_5_0:1.26
	RELEASE_4_0_0:1.25
	RELEASE_3_4_0:1.22
	RELEASE_3_3_0:1.16
	RELEASE_3_2_0:1.12
	RELEASE_3_1_0:1.7
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.4
	RELEASE_2_2_6:1.2
	proftpd_1_0_0:1.1.1.1
	STEPHANE:1.1.1;
locks; strict;
comment	@# @;


1.212
date	2013.03.09.11.08.13;	author svnexp;	state Exp;
branches;
next	1.211;

1.211
date	2013.03.07.15.16.44;	author svnexp;	state Exp;
branches;
next	1.210;

1.210
date	2012.12.10.19.24.01;	author svnexp;	state Exp;
branches;
next	1.209;

1.209
date	2012.11.17.05.57.30;	author svnexp;	state Exp;
branches;
next	1.208;

1.208
date	2012.08.04.07.11.32;	author mm;	state Exp;
branches;
next	1.207;

1.207
date	2012.07.17.14.38.28;	author mm;	state Exp;
branches;
next	1.206;

1.206
date	2012.04.13.17.48.18;	author vanilla;	state Exp;
branches;
next	1.205;

1.205
date	2012.04.13.16.46.38;	author jgh;	state Exp;
branches;
next	1.204;

1.204
date	2012.02.14.13.02.44;	author mm;	state Exp;
branches;
next	1.203;

1.203
date	2012.02.14.12.45.19;	author mm;	state Exp;
branches;
next	1.202;

1.202
date	2012.01.28.16.37.18;	author mm;	state Exp;
branches;
next	1.201;

1.201
date	2012.01.26.23.06.57;	author mm;	state Exp;
branches;
next	1.200;

1.200
date	2012.01.26.09.33.05;	author mm;	state Exp;
branches;
next	1.199;

1.199
date	2012.01.13.20.18.39;	author mm;	state Exp;
branches;
next	1.198;

1.198
date	2011.12.29.20.58.59;	author mm;	state Exp;
branches;
next	1.197;

1.197
date	2011.12.23.19.08.39;	author delphij;	state Exp;
branches;
next	1.196;

1.196
date	2011.12.22.10.48.57;	author linimon;	state Exp;
branches;
next	1.195;

1.195
date	2011.11.10.23.28.21;	author mm;	state Exp;
branches;
next	1.194;

1.194
date	2011.10.05.20.06.55;	author mm;	state Exp;
branches;
next	1.193;

1.193
date	2011.10.01.10.52.07;	author mm;	state Exp;
branches;
next	1.192;

1.192
date	2011.05.03.11.17.49;	author mm;	state Exp;
branches;
next	1.191;

1.191
date	2011.03.23.15.53.18;	author mm;	state Exp;
branches;
next	1.190;

1.190
date	2011.01.07.19.57.46;	author wxs;	state Exp;
branches;
next	1.189;

1.189
date	2010.12.24.12.18.08;	author mm;	state Exp;
branches;
next	1.188;

1.188
date	2010.12.04.07.31.40;	author ade;	state Exp;
branches;
next	1.187;

1.187
date	2010.12.01.11.06.46;	author mm;	state Exp;
branches;
next	1.186;

1.186
date	2010.12.01.08.58.41;	author mm;	state Exp;
branches;
next	1.185;

1.185
date	2010.11.14.21.52.10;	author mm;	state Exp;
branches;
next	1.184;

1.184
date	2010.11.04.19.52.19;	author mm;	state Exp;
branches;
next	1.183;

1.183
date	2010.10.29.13.15.42;	author mm;	state Exp;
branches;
next	1.182;

1.182
date	2010.10.16.11.52.04;	author ade;	state Exp;
branches;
next	1.181;

1.181
date	2010.09.15.18.34.26;	author ade;	state Exp;
branches;
next	1.180;

1.180
date	2010.07.05.21.43.07;	author mm;	state Exp;
branches;
next	1.179;

1.179
date	2010.07.05.09.15.02;	author mm;	state Exp;
branches;
next	1.178;

1.178
date	2010.06.09.16.44.14;	author mm;	state Exp;
branches;
next	1.177;

1.177
date	2010.06.07.11.50.33;	author mm;	state Exp;
branches;
next	1.176;

1.176
date	2010.05.31.01.58.52;	author ade;	state Exp;
branches;
next	1.175;

1.175
date	2010.05.16.10.41.07;	author mm;	state Exp;
branches;
next	1.174;

1.174
date	2010.04.08.14.59.28;	author mm;	state Exp;
branches;
next	1.173;

1.173
date	2010.04.06.12.01.51;	author garga;	state Exp;
branches;
next	1.172;

1.172
date	2010.03.25.15.07.49;	author mm;	state Exp;
branches;
next	1.171;

1.171
date	2010.03.24.16.45.10;	author mm;	state Exp;
branches;
next	1.170;

1.170
date	2010.03.24.10.32.17;	author mm;	state Exp;
branches;
next	1.169;

1.169
date	2010.03.01.10.05.39;	author mm;	state Exp;
branches;
next	1.168;

1.168
date	2010.02.21.16.50.05;	author mm;	state Exp;
branches;
next	1.167;

1.167
date	2010.01.12.11.51.02;	author mm;	state Exp;
branches;
next	1.166;

1.166
date	2010.01.04.04.34.06;	author pgollucci;	state Exp;
branches;
next	1.165;

1.165
date	2009.12.15.19.48.23;	author linimon;	state Exp;
branches;
next	1.164;

1.164
date	2009.12.04.02.38.49;	author linimon;	state Exp;
branches;
next	1.163;

1.163
date	2009.11.26.00.36.46;	author linimon;	state Exp;
branches;
next	1.162;

1.162
date	2009.10.26.13.36.31;	author wxs;	state Exp;
branches;
next	1.161;

1.161
date	2009.10.16.18.09.23;	author wxs;	state Exp;
branches;
next	1.160;

1.160
date	2009.10.15.02.26.17;	author wxs;	state Exp;
branches;
next	1.159;

1.159
date	2009.10.12.13.20.01;	author wxs;	state Exp;
branches;
next	1.158;

1.158
date	2009.10.11.11.53.06;	author wxs;	state Exp;
branches;
next	1.157;

1.157
date	2009.09.24.20.18.38;	author wxs;	state Exp;
branches;
next	1.156;

1.156
date	2009.09.23.13.34.35;	author wxs;	state Exp;
branches;
next	1.155;

1.155
date	2009.09.19.22.52.35;	author miwi;	state Exp;
branches;
next	1.154;

1.154
date	2009.09.19.13.59.50;	author miwi;	state Exp;
branches;
next	1.153;

1.153
date	2009.08.28.16.52.26;	author linimon;	state Exp;
branches;
next	1.152;

1.152
date	2009.07.28.10.02.12;	author pav;	state Exp;
branches;
next	1.151;

1.151
date	2009.06.16.17.16.17;	author miwi;	state Exp;
branches;
next	1.150;

1.150
date	2009.03.27.11.53.02;	author garga;	state Exp;
branches;
next	1.149;

1.149
date	2009.02.06.04.31.25;	author beech;	state Exp;
branches;
next	1.148;

1.148
date	2009.01.28.20.58.19;	author beech;	state Exp;
branches;
next	1.147;

1.147
date	2009.01.27.15.21.06;	author beech;	state Exp;
branches;
next	1.146;

1.146
date	2009.01.05.21.18.10;	author beech;	state Exp;
branches;
next	1.145;

1.145
date	2008.12.10.00.39.07;	author beech;	state Exp;
branches;
next	1.144;

1.144
date	2008.12.09.23.40.02;	author beech;	state Exp;
branches;
next	1.143;

1.143
date	2008.09.25.20.23.38;	author beech;	state Exp;
branches;
next	1.142;

1.142
date	2008.09.24.22.09.23;	author beech;	state Exp;
branches;
next	1.141;

1.141
date	2008.09.23.22.42.46;	author beech;	state Exp;
branches;
next	1.140;

1.140
date	2008.09.23.20.15.55;	author beech;	state Exp;
branches;
next	1.139;

1.139
date	2008.09.17.05.11.19;	author beech;	state Exp;
branches;
next	1.138;

1.138
date	2008.09.15.19.56.33;	author garga;	state Exp;
branches;
next	1.137;

1.137
date	2008.08.20.00.56.42;	author ade;	state Exp;
branches;
next	1.136;

1.136
date	2008.08.06.14.32.25;	author beech;	state Exp;
branches;
next	1.135;

1.135
date	2008.06.06.14.33.37;	author edwin;	state Exp;
branches;
next	1.134;

1.134
date	2008.04.18.09.38.31;	author beech;	state Exp;
branches;
next	1.133;

1.133
date	2008.04.16.16.10.18;	author garga;	state Exp;
branches;
next	1.132;

1.132
date	2008.04.02.01.15.46;	author beech;	state Exp;
branches;
next	1.131;

1.131
date	2008.03.27.19.36.11;	author beech;	state Exp;
branches;
next	1.130;

1.130
date	2008.03.27.03.37.53;	author beech;	state Exp;
branches;
next	1.129;

1.129
date	2008.03.03.22.12.52;	author beech;	state Exp;
branches;
next	1.128;

1.128
date	2008.02.20.21.04.16;	author beech;	state Exp;
branches;
next	1.127;

1.127
date	2008.02.16.22.43.28;	author beech;	state Exp;
branches;
next	1.126;

1.126
date	2008.01.17.03.53.18;	author beech;	state Exp;
branches;
next	1.125;

1.125
date	2008.01.07.20.55.35;	author beech;	state Exp;
branches;
next	1.124;

1.124
date	2007.12.19.23.08.35;	author garga;	state Exp;
branches;
next	1.123;

1.123
date	2007.12.13.23.39.02;	author beech;	state Exp;
branches;
next	1.122;

1.122
date	2007.11.14.21.00.58;	author beech;	state Exp;
branches;
next	1.121;

1.121
date	2007.10.08.19.22.45;	author beech;	state Exp;
branches;
next	1.120;

1.120
date	2007.10.06.19.12.44;	author beech;	state Exp;
branches;
next	1.119;

1.119
date	2007.09.30.04.46.50;	author linimon;	state Exp;
branches;
next	1.118;

1.118
date	2007.09.18.00.10.24;	author beech;	state Exp;
branches;
next	1.117;

1.117
date	2007.09.15.20.41.29;	author miwi;	state Exp;
branches;
next	1.116;

1.116
date	2007.08.30.18.33.30;	author beech;	state Exp;
branches;
next	1.115;

1.115
date	2007.07.24.21.34.34;	author beech;	state Exp;
branches;
next	1.114;

1.114
date	2007.07.18.21.09.14;	author beech;	state Exp;
branches;
next	1.113;

1.113
date	2007.07.17.06.11.59;	author beech;	state Exp;
branches;
next	1.112;

1.112
date	2007.07.12.07.19.10;	author beech;	state Exp;
branches;
next	1.111;

1.111
date	2007.07.07.11.35.24;	author beech;	state Exp;
branches;
next	1.110;

1.110
date	2007.07.06.05.45.08;	author beech;	state Exp;
branches;
next	1.109;

1.109
date	2007.06.15.09.32.11;	author beech;	state Exp;
branches;
next	1.108;

1.108
date	2007.05.26.20.09.07;	author sat;	state Exp;
branches;
next	1.107;

1.107
date	2007.05.20.19.27.55;	author sat;	state Exp;
branches;
next	1.106;

1.106
date	2007.04.06.09.59.20;	author sat;	state Exp;
branches;
next	1.105;

1.105
date	2007.03.25.01.33.59;	author sat;	state Exp;
branches;
next	1.104;

1.104
date	2007.03.06.00.54.39;	author clsung;	state Exp;
branches;
next	1.103;

1.103
date	2007.03.02.20.12.48;	author sat;	state Exp;
branches;
next	1.102;

1.102
date	2007.02.27.07.39.18;	author miwi;	state Exp;
branches;
next	1.101;

1.101
date	2007.01.23.04.27.17;	author itetcu;	state Exp;
branches;
next	1.100;

1.100
date	2007.01.17.22.45.20;	author miwi;	state Exp;
branches;
next	1.99;

1.99
date	2007.01.16.09.36.53;	author itetcu;	state Exp;
branches;
next	1.98;

1.98
date	2007.01.07.10.45.34;	author erwin;	state Exp;
branches;
next	1.97;

1.97
date	2007.01.01.12.44.05;	author miwi;	state Exp;
branches;
next	1.96;

1.96
date	2006.12.30.22.45.40;	author miwi;	state Exp;
branches;
next	1.95;

1.95
date	2006.12.26.16.59.14;	author shaun;	state Exp;
branches;
next	1.94;

1.94
date	2006.12.21.22.13.40;	author miwi;	state Exp;
branches;
next	1.93;

1.93
date	2006.12.12.16.08.09;	author delphij;	state Exp;
branches;
next	1.92;

1.92
date	2006.11.15.19.22.23;	author shaun;	state Exp;
branches;
next	1.91;

1.91
date	2006.11.15.00.05.59;	author shaun;	state Exp;
branches;
next	1.90;

1.90
date	2006.11.04.00.39.33;	author sat;	state Exp;
branches;
next	1.89;

1.89
date	2006.08.04.00.12.19;	author rafan;	state Exp;
branches;
next	1.88;

1.88
date	2006.06.25.02.51.59;	author itetcu;	state Exp;
branches;
next	1.87;

1.87
date	2006.05.26.18.39.14;	author pav;	state Exp;
branches;
next	1.86;

1.86
date	2006.05.20.09.52.39;	author itetcu;	state Exp;
branches;
next	1.85;

1.85
date	2006.05.10.21.32.16;	author ehaupt;	state Exp;
branches;
next	1.84;

1.84
date	2006.05.03.07.49.02;	author az;	state Exp;
branches;
next	1.83;

1.83
date	2006.05.01.07.56.08;	author erwin;	state Exp;
branches;
next	1.82;

1.82
date	2005.11.29.17.50.27;	author flz;	state Exp;
branches;
next	1.81;

1.81
date	2005.10.13.15.29.43;	author flz;	state Exp;
branches;
next	1.80;

1.80
date	2005.10.10.05.38.26;	author mharo;	state Exp;
branches;
next	1.79;

1.79
date	2005.10.10.05.28.57;	author mharo;	state Exp;
branches;
next	1.78;

1.78
date	2005.07.30.04.51.41;	author mharo;	state Exp;
branches;
next	1.77;

1.77
date	2005.07.26.19.46.51;	author pav;	state Exp;
branches;
next	1.76;

1.76
date	2005.06.25.19.08.44;	author flz;	state Exp;
branches;
next	1.75;

1.75
date	2005.06.22.18.48.38;	author flz;	state Exp;
branches;
next	1.74;

1.74
date	2005.04.20.00.24.49;	author mharo;	state Exp;
branches;
next	1.73;

1.73
date	2005.01.31.00.35.46;	author girgen;	state Exp;
branches;
next	1.72;

1.72
date	2004.12.14.06.16.43;	author mharo;	state Exp;
branches;
next	1.71;

1.71
date	2004.11.16.08.52.36;	author mharo;	state Exp;
branches;
next	1.70;

1.70
date	2004.11.15.17.10.45;	author mharo;	state Exp;
branches;
next	1.69;

1.69
date	2004.10.17.21.43.54;	author mharo;	state Exp;
branches;
next	1.68;

1.68
date	2004.10.17.04.45.43;	author mharo;	state Exp;
branches;
next	1.67;

1.67
date	2004.08.28.18.10.38;	author mharo;	state Exp;
branches;
next	1.66;

1.66
date	2004.08.08.00.06.27;	author mharo;	state Exp;
branches;
next	1.65;

1.65
date	2004.05.14.06.46.12;	author mharo;	state Exp;
branches;
next	1.64;

1.64
date	2004.04.19.21.57.55;	author mharo;	state Exp;
branches;
next	1.63;

1.63
date	2004.04.01.09.44.53;	author mharo;	state Exp;
branches;
next	1.62;

1.62
date	2004.03.26.20.17.38;	author mharo;	state Exp;
branches;
next	1.61;

1.61
date	2004.03.12.02.48.23;	author ade;	state Exp;
branches;
next	1.60;

1.60
date	2004.02.04.05.20.14;	author marcus;	state Exp;
branches;
next	1.59;

1.59
date	2004.01.11.11.54.29;	author edwin;	state Exp;
branches;
next	1.58;

1.58
date	2003.12.17.03.51.50;	author mharo;	state Exp;
branches;
next	1.57;

1.57
date	2003.11.03.19.40.38;	author mharo;	state Exp;
branches;
next	1.56;

1.56
date	2003.09.23.18.42.43;	author mharo;	state Exp;
branches;
next	1.55;

1.55
date	2003.09.23.15.34.38;	author nectar;	state Exp;
branches;
next	1.54;

1.54
date	2003.03.24.13.33.28;	author nectar;	state Exp;
branches;
next	1.53;

1.53
date	2003.03.07.06.02.05;	author ade;	state Exp;
branches;
next	1.52;

1.52
date	2003.02.24.02.26.51;	author edwin;	state Exp;
branches;
next	1.51;

1.51
date	2003.02.23.10.36.51;	author leeym;	state Exp;
branches;
next	1.50;

1.50
date	2003.01.04.15.53.38;	author seanc;	state Exp;
branches;
next	1.49;

1.49
date	2002.11.01.17.12.50;	author ijliao;	state Exp;
branches;
next	1.48;

1.48
date	2002.09.14.18.50.14;	author mharo;	state Exp;
branches;
next	1.47;

1.47
date	2002.06.13.21.00.22;	author mharo;	state Exp;
branches;
next	1.46;

1.46
date	2002.02.18.21.35.50;	author des;	state Exp;
branches;
next	1.45;

1.45
date	2001.10.19.20.19.44;	author mharo;	state Exp;
branches;
next	1.44;

1.44
date	2001.10.18.19.17.41;	author mharo;	state Exp;
branches;
next	1.43;

1.43
date	2001.08.17.19.00.51;	author mharo;	state Exp;
branches;
next	1.42;

1.42
date	2001.06.20.10.07.27;	author mharo;	state Exp;
branches;
next	1.41;

1.41
date	2001.05.31.19.28.27;	author mharo;	state Exp;
branches;
next	1.40;

1.40
date	2001.05.31.19.23.18;	author mharo;	state Exp;
branches;
next	1.39;

1.39
date	2001.03.29.19.56.45;	author mharo;	state Exp;
branches;
next	1.38;

1.38
date	2001.03.15.23.35.56;	author mharo;	state Exp;
branches;
next	1.37;

1.37
date	2001.03.07.00.33.55;	author mharo;	state Exp;
branches;
next	1.36;

1.36
date	2001.03.07.00.32.00;	author mharo;	state Exp;
branches;
next	1.35;

1.35
date	2001.02.11.21.26.52;	author mharo;	state Exp;
branches;
next	1.34;

1.34
date	2001.01.21.15.40.39;	author dirk;	state Exp;
branches;
next	1.33;

1.33
date	2000.12.16.04.33.48;	author mharo;	state Exp;
branches;
next	1.32;

1.32
date	2000.11.24.23.06.16;	author mharo;	state Exp;
branches;
next	1.31;

1.31
date	2000.11.24.22.40.01;	author mharo;	state Exp;
branches;
next	1.30;

1.30
date	2000.11.24.22.29.11;	author mharo;	state Exp;
branches;
next	1.29;

1.29
date	2000.11.24.22.23.38;	author mharo;	state Exp;
branches;
next	1.28;

1.28
date	2000.07.28.18.00.59;	author mharo;	state Exp;
branches;
next	1.27;

1.27
date	2000.07.07.09.35.20;	author kris;	state Exp;
branches;
next	1.26;

1.26
date	2000.04.12.05.31.21;	author mharo;	state Exp;
branches;
next	1.25;

1.25
date	2000.02.18.18.24.31;	author mharo;	state Exp;
branches;
next	1.24;

1.24
date	2000.01.28.07.35.12;	author mharo;	state Exp;
branches;
next	1.23;

1.23
date	99.12.22.18.05.00;	author mharo;	state Exp;
branches;
next	1.22;

1.22
date	99.12.05.19.29.51;	author mharo;	state Exp;
branches;
next	1.21;

1.21
date	99.10.11.04.41.53;	author mharo;	state Exp;
branches;
next	1.20;

1.20
date	99.10.10.07.10.39;	author mharo;	state Exp;
branches;
next	1.19;

1.19
date	99.10.10.06.40.17;	author mharo;	state Exp;
branches;
next	1.18;

1.18
date	99.09.28.07.30.13;	author mharo;	state Exp;
branches;
next	1.17;

1.17
date	99.09.18.07.56.36;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	99.09.10.16.18.42;	author mharo;	state Exp;
branches;
next	1.15;

1.15
date	99.08.25.05.55.22;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	99.08.23.00.00.18;	author mharo;	state Exp;
branches;
next	1.13;

1.13
date	99.08.02.10.43.56;	author asami;	state Exp;
branches;
next	1.12;

1.12
date	99.04.22.16.01.10;	author mharo;	state Exp;
branches;
next	1.11;

1.11
date	99.04.09.17.25.44;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	99.04.03.00.50.18;	author steve;	state Exp;
branches;
next	1.9;

1.9
date	99.04.02.03.35.02;	author steve;	state Exp;
branches;
next	1.8;

1.8
date	99.03.15.02.13.32;	author steve;	state Exp;
branches;
next	1.7;

1.7
date	99.02.12.21.55.04;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	98.12.17.10.43.52;	author asami;	state Exp;
branches;
next	1.5;

1.5
date	98.12.14.22.13.37;	author billf;	state Exp;
branches;
next	1.4;

1.4
date	98.07.02.11.06.26;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	98.06.14.15.56.40;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	98.02.20.06.39.07;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	98.02.13.17.39.02;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.02.13.17.39.02;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.212
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313680
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	proftpd
# Date created:		26 January 1998
# Whom:			Stephane Legrand
#
# $FreeBSD: head/ftp/proftpd/Makefile 313680 2013-03-08 23:00:33Z mm $
#

PORTNAME?=	proftpd
PORTVERSION?=	1.3.4c
PORTREVISION?=	1
CATEGORIES?=	ftp
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
		https://github.com/downloads/proftpd/proftpd.github.com/ \
		ftp://proftpd.networkedsystems.co.uk/distrib/source/ \
		http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/ \
		http://labratsoftware.com/mod_sql_tds/:sql_tds \
		LOCAL/beech:sql_tds
#		https://secure.thrallingpenguin.com/redmine/attachments/download/1/:clam
.if defined(_BUILDING_PROFTPD_MODULE)
DISTNAME=	proftpd-${PORTVERSION}
.endif

MAINTAINER?=	mm@@FreeBSD.org
COMMENT?=	Highly configurable FTP daemon

LICENSE?=	GPLv2
LICENSE_FILE?=	${WRKSRC}/COPYING

.if defined(_BUILDING_PROFTPD_MODULE)
BUILD_DEPENDS+=	${LOCALBASE}/sbin/proftpd:${PORTSDIR}/ftp/proftpd
RUN_DEPENDS+=	${LOCALBASE}/sbin/proftpd:${PORTSDIR}/ftp/proftpd
.endif

.if defined(_BUILDING_PROFTPD_MODULE)
DISTFILES+=	${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY+=	${DISTNAME}${EXTRACT_SUFX}
WRKSRC=		${WRKDIR}/proftpd-${PORTVERSION}
. if defined(_PROFTPD_MODULE_EXTRACT_ONLY)
EXTRACT_ONLY+=	${_PROFTPD_MODULE_EXTRACT_ONLY}
. endif
. if defined(_PROFTPD_MODULE_DISTFILES)
DISTFILES+=	${_PROFTPD_MODULE_DISTFILES}
. endif
.endif

.if !defined(_BUILDING_PROFTPD_MODULE)
MAN1=	ftpcount.1 ftpmail.1 ftpasswd.1 ftpquota.1 ftpwho.1 ftptop.1
MAN5=	xferlog.5
MAN8=	proftpd.8 ftpscrub.8 ftpshut.8 ftpdctl.8

PORTDOCS=	*
.endif

MAKE_JOBS_UNSAFE=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	autoconf
GNU_CONFIGURE=	yes

.if !defined(_BUILDING_PROFTPD_MODULE)
USE_OPENSSL=	yes
USE_RC_SUBR=	proftpd
.endif

LOCALSTATEDIR?=	/var/run

CONFIGURE_ARGS=--localstatedir=${LOCALSTATEDIR} \
		--libexecdir=${PREFIX}/libexec/proftpd \
		--with-pkgconfig=libdata/pkgconfig \
		--sysconfdir=${PREFIX}/etc \
		--enable-ctrls \
		--enable-dso \
		--disable-sendfile

.if defined(_BUILDING_PROFTPD_MODULE)
MODULES=		${_BUILDING_PROFTPD_MODULE}
.for m in ${MODULES}
__MODULES:=${__MODULES}:${m}
.endfor
CONFIGURE_ARGS+=	--with-shared=${__MODULES:C/^://g}
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include/proftpd
ALL_TARGET=	shared
BUILD_WRKSRC=	${WRKSRC}/modules
INSTALL_WRKSRC=	${WRKSRC}/modules
PLIST=		${WRKDIR}/PLIST
.for m in ${MODULES}
PLIST_FILES+=	libexec/proftpd/${m}.a \
		libexec/proftpd/${m}.la \
		libexec/proftpd/${m}.so
.endfor
PLIST_DIRSTRY+=	libexec/proftpd
.else
OPTIONS_DEFINE=	HTMLDOCS IPV6 NLS MEMCACHE PCRE
OPTIONS_DEFAULT=	IPV6 NLS PCRE

#CLAMAV_DESC=		Include mod_clamav
HTMLDOCS_DESC=		Include HTML documentation
MEMCACHE_DESC=		Memcache support using libmemcached

PLIST_SUB+=	LOCALSTATEDIR="${LOCALSTATEDIR}"

.endif #!defined(_BUILDING_PROFTPD_MODULE)

.include <bsd.port.pre.mk>

.if defined(USE_OPENSSL)
CFLAGS+=	-DHAVE_OPENSSL -I${OPENSSLINC}
PROFTPD_LIBS+=	-lssl -lcrypto -L${OPENSSLLIB}
.endif

.if !defined(_BUILDING_PROFTPD_MODULE)
LIBDIRS?=	${LOCALBASE}/lib
INCLUDEDIRS?=	${LOCALBASE}/include

# Always built modules
MODULES+=	mod_ban \
		mod_copy \
		mod_ctrls_admin \
		mod_deflate \
		mod_dynmasq \
		mod_exec \
		mod_ifsession \
		mod_ifversion \
		mod_qos \
		mod_quotatab \
		mod_quotatab_file \
		mod_quotatab_radius \
		mod_quotatab_sql \
		mod_radius \
		mod_ratio \
		mod_readme \
		mod_rewrite \
		mod_sftp \
		mod_sftp_pam \
		mod_sftp_sql \
		mod_shaper \
		mod_site_misc \
		mod_sql \
		mod_sql_passwd \
		mod_tls \
		mod_tls_shmcache \
		mod_unique_id \
		mod_wrap2 \
		mod_wrap2_file \
		mod_wrap2_sql

# FreeBSD-SA-11:07.chroot
.if ${OSVERSION} < 800000
CHROOT_TEST !=	${GREP} __FreeBSD_libc_enter_restricted_mode \
	/usr/include/unistd.h > /dev/null || ${ECHO_CMD} error
. if ${CHROOT_TEST} == "error"
BROKEN=__FreeBSD_libc_enter_restricted_mode is not supported
. endif
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-7-src-fsio.c
.else
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-8-src-fsio.c
.endif

.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=	--enable-nls
USE_GETTEXT=yes
PROFTPD_LIBS+=	-lintl -L${LOCALBASE}/lib
PLIST_SUB+=	NLS=""
.else
PLIST_SUB+=	NLS="@@comment "
.endif

.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+=		pcre:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+=	--enable-pcre
.else
CONFIGURE_ARGS+=	--disable-pcre
.endif

.if make(makesum) || defined(FETCH_ALL)
DISTFILES+=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
		mod_sql_tds-4.13${EXTRACT_SUFX}:sql_tds
.endif

#.if ${PORT_OPTIONS:MCLAMAV} || make(makesum) || defined(FETCH_ALL)
#DISTFILES+=	mod_clamav-0.11rc.tar.gz:clam
#EXTRA_PATCHES+=	${FILESDIR}/extra-patch-modules_mod_xfer.c
#USE_CLAMAV=	yes
#MODULES+=	mod_clamav
#LIB_DEPENDS+=	clamav.7:${PORTSDIR}/security/clamav
#PLIST_SUB+=	CLAMAV=""
#PROFTPD_LIBS+=	-lclamav
#.else
PLIST_SUB+=	CLAMAV="@@comment "
#.endif

.if ${PORT_OPTIONS:MMEMCACHE}
MODULES+=		mod_memcache \
			mod_tls_memcache
LIB_DEPENDS+=		memcached:${PORTSDIR}/databases/libmemcached
CONFIGURE_ARGS+=	--enable-memcache
PROFTPD_LIBS+=		-lmemcached -lmemcachedutil
PLIST_SUB+=	MEMCACHE=""
.else
CONFIGURE_ARGS+=	--disable-memcache
PLIST_SUB+=	MEMCACHE="@@comment "
.endif

# Generate modules configuration string
.for m in ${MODULES}
_MODULES:=${_MODULES}:${m}
.endfor

# Keep this here below, in case similar constructs need to be made
CONFIGURE_ENV+=		LIBS="${PROFTPD_LIBS}"
CONFIGURE_ARGS+=	--with-shared=${_MODULES:C/^://g}

.endif #!defined(_BUILDING_PROFTPD_MODULE)

CONFIGURE_ARGS+=	--with-includes=${INCLUDEDIRS}
CONFIGURE_ARGS+=	--with-libraries=${LIBDIRS}

.if !defined(_BUILDING_PROFTPD_MODULE)
#post-extract:
#.if ${PORT_OPTIONS:MCLAMAV}
#	(cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/mod_clamav-0.11rc.tar.gz ${EXTRACT_AFTER_ARGS})
#	@@${CP} ${WRKDIR}/mod_clamav-0.11rc/mod_clamav.* ${WRKSRC}/contrib
#.endif

post-patch:
.if ${PORT_OPTIONS:MNLS}
	@@${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in
.endif
	@@${REINPLACE_CMD} -e 's|proftpd\.conf|proftpd.conf.sample|g' ${WRKSRC}/Makefile.in

pre-configure:
	@@${ECHO_MSG} "==> Configuring with following modules:"
	@@${ECHO_MSG} "${MODULES:C/^://g}"

post-configure:
	${REINPLACE_CMD} -e 's: -lnsl::' ${WRKSRC}/Make.rules
	${REINPLACE_CMD} -e 's:/usr/sbin:${PREFIX}/sbin:' \
		-e 's:/usr/bin:${PREFIX}/bin:' \
		${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \
		${WRKSRC}/utils/ftpcount.1

.endif #!defined(_BUILDING_PROFTPD_MODULE)

.if defined(_BUILDING_PROFTPD_MODULE)
pre-build:
	@@cd ${WRKSRC} && ${MAKE} include/buildstamp.h
.else
post-install:
	@@cd  ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf
	@@${MKDIR} ${LOCALSTATEDIR}/proftpd
	@@cd  ${PREFIX}/etc/proftpd && ${CP} -n dhparams.pem.sample dhparams.pem
	@@cd  ${PREFIX}/etc/proftpd && ${CP} -n blacklist.dat.sample blacklist.dat
.if ${PORT_OPTIONS:MDOCS}
	@@${INSTALL} -d ${DOCSDIR}
	@@cd ${WRKSRC} && ${CP} README* RELEASE_NOTES ${DOCSDIR}
	@@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} license.txt ${DOCSDIR}
. if ${PORT_OPTIONS:MHTMLDOCS}
	@@${INSTALL} -d ${DOCSDIR}/html
	@@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} Configuration.html faq.html ${DOCSDIR}/html
	@@${CP} -RP ${WRKSRC}/doc/contrib ${DOCSDIR}/html/contrib
	@@${CP} -RP ${WRKSRC}/doc/modules ${DOCSDIR}/html/modules
	@@${CP} -RP ${WRKSRC}/doc/howto ${DOCSDIR}/html/howto
. endif
.endif
	@@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/
.endif #!defined(_BUILDING_PROFTPD_MODULE)

.include <bsd.port.post.mk>
@


1.211
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313596
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d5 1
a5 1
# $FreeBSD: head/ftp/proftpd/Makefile 313596 2013-03-07 15:10:02Z mm $
d10 1
@


1.210
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/ftp/proftpd/Makefile 308630 2012-12-10 19:11:11Z mm $
d9 1
a9 2
PORTVERSION?=	1.3.4b
#PORTREVISION?=	1
@


1.209
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/ftp/proftpd/Makefile 302003 2012-08-04 07:11:32Z mm $
d10 1
a10 1
#PORTREVISION?=	0
@


1.208
log
@SVN rev 302003 on 2012-08-04 07:11:32Z by mm

Update ProFTPd to 1.3.4b
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.207
log
@SVN rev 301006 on 2012-07-17 14:38:28Z by mm

Unbreak ProFTPD on sparc [1].
Significantly simplify proftpd port options.
Slave ports will follow in separate commits.

PR:		169644 [1]
Submitted by:	Dmitry Afanasiev [1]
@
text
@d9 2
a10 2
PORTVERSION?=	1.3.4a
PORTREVISION?=	3
d13 1
a13 3
		ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
		ftp://ftp.dataguard.no/ftp/pub/proftpd/distrib/source/ \
		ftp://spirit.bentel.sk/mirrors/Proftpd/distrib/source/ \
a14 1
		http://mirrors.ibiblio.org/pub/mirrors/proftpd/distrib/source/ \
a55 1
USE_BZIP2=	yes
d181 2
a182 2
DISTFILES+=	mod_sql_tds-4.13.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.13.tar.bz2
@


1.206
log
@1: Upgrade libmemcached to 1.0.6.
2: bump revision to chase shared library version.
3: drop maintainer
@
text
@d10 1
a10 1
PORTREVISION?=	2
a19 1
		https://secure.thrallingpenguin.com/redmine/attachments/download/1/:clam \
d21 4
a24 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
d32 15
a46 3
.if defined(_PROFTPD_MODULE)
_BUILDING_PROFTPD_MODULE=	yes
DISTNAME=	proftpd-${PORTVERSION}
d64 1
a65 2
.else
RUN_DEPENDS=	${LOCALBASE}/sbin/proftpd:${PORTSDIR}/ftp/proftpd
d74 1
d79 6
a84 2
CONFIGURE_ARGS+=	--with-shared=${_PROFTPD_MODULE}
INCLUDEDIRS:=${INCLUDEDIRS}:${WRKSRC}:${WRKSRC}/include
d89 5
a93 3
PLIST_FILES+=	libexec/proftpd/${_PROFTPD_MODULE}.a \
		libexec/proftpd/${_PROFTPD_MODULE}.la \
		libexec/proftpd/${_PROFTPD_MODULE}.so
d96 6
a101 48
OPTIONS=	BAN "Include mod_ban (requires CTRLS)" off \
		COPY "Include mod_copy" on \
		CLAMAV "Include mod_clamav" off \
		CTRLS "Enable controls via ftpdctl" on \
		CTRLS_ADMIN "Include mod_ctrls_admin (requires CTRLS)" off \
		DEFLATE "Include mod_deflate" on \
		DYNMASQ "Include mod_dynmasq" off \
		EXEC "Include mod_exec" off \
		HTMLDOCS "Include HTML documentation" off \
		IFSESSION "Include mod_ifsession" on \
		IFVERSION "Include mod_ifversion" on \
		IPV6 "Support IPv6" on \
		LDAP "Include mod_ldap" off \
		LDAP_TLS "TLS for mod_ldap (requires LDAP, TLS)" off \
		MEMCACHE "Include mod_memcache" off \
		NLS "Use nls (builds mod_lang)" on \
		ODBC "Include mod_sql_odbc (requires SQL)" off \
		PCRE "Use pcre for regular expressions" on \
		QOS "Include mod_qos" off \
		QUOTATAB "Include mod_quotatab" on \
		QUOTATAB_FILE "Include mod_quotatab_file" on \
		QUOTATAB_LDAP "Include mod_quotatab_ldap (requires LDAP)" off \
		QUOTATAB_SQL "Include mod_quotatab_sql (requires SQL)" on \
		QUOTATAB_RADIUS "Include mod_quotatab_radius" off \
		SFTP "Include mod_sftp" on \
		SFTP_SQL "Include mod_sftp_sql (requires SFTP, SQL)" off \
		SFTP_PAM "Include mod_sftp_pam (requires SFTP)" off \
		SITE_MISC "Include mod_site_misc" off \
		SHAPER "Include mod_shaper (requires CTRLS)" off \
		SQL "Include mod_sql" on \
		SQL_PASSWD "Include mod_sql_passwd (requires SQL)" off \
		SQLITE "Include mod_sql_sqlite (requires SQL)" off \
		RADIUS "Include mod_radius" on \
		RATIO "Include mod_ratio" on \
		README "Include mod_readme" on \
		REWRITE "Include mod_rewrite" on \
		TLS "Include mod_tls" on \
		TLS_MEMCACHE "mod_tls_memcache (requires MEMCACHE)" off \
		TLS_SHMCACHE "TLS SHM session cache (requires TLS)" off \
		TDS "Include mod_sql_tds (requires SQL)" off \
		UNIQUE "Include mod_unique_id" off \
		WRAP "Include mod_wrap2" on \
		WRAP_FILE "Include mod_wrap2_file (requires WRAP)" off \
		WRAP_SQL "Include mod_wrap2_sql (requires SQL, WRAP)" off

MODULES?=
LIBDIRS?=
INCLUDEDIRS?=
d109 5
d115 34
d162 1
a162 192
.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000
BROKEN=	Does not compile on sparc64-9: storage size of 'utx' isn't known
.endif

.if !defined(WITHOUT_RATIO)
MODULES:=${MODULES}:mod_ratio
PLIST_SUB+=	MOD_RATIO=""
.else
PLIST_SUB+=	MOD_RATIO="@@comment "
.endif

.if !defined(WITHOUT_README)
MODULES:=${MODULES}:mod_readme
PLIST_SUB+=	MOD_README=""
.else
PLIST_SUB+=	MOD_README="@@comment "
.endif

.if !defined(WITHOUT_REWRITE)
MODULES:=${MODULES}:mod_rewrite
PLIST_SUB+=	MOD_REWRITE=""
.else
PLIST_SUB+=	MOD_REWRITE="@@comment "
.endif

.if defined(WITH_WRAP_FILE)
AUTOSELECT_WRAP=	yes
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
MODULES:=${MODULES}:mod_wrap2_file
PLIST_SUB+=	MOD_WRAP_FILE=""
.else
PLIST_SUB+=	MOD_WRAP_FILE="@@comment "
.endif

.if defined(WITH_WRAP_SQL)
AUTOSELECT_SQL=	yes
AUTOSELECT_WRAP=	yes
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
MODULES:=${MODULES}:mod_wrap2_sql
PLIST_SUB+=	MOD_WRAP_SQL=""
.else
PLIST_SUB+=	MOD_WRAP_SQL="@@comment "
.endif

.if defined(WITH_BAN)
AUTOSELECT_CTRLS=	yes
MODULES:=${MODULES}:mod_ban
PLIST_SUB+=	MOD_BAN=""
.else
PLIST_SUB+=	MOD_BAN="@@comment "
.endif

.if !defined(WITHOUT_COPY)
MODULES:=${MODULES}:mod_copy
PLIST_SUB+=	MOD_COPY=""
.else
PLIST_SUB+=	MOD_COPY="@@comment "
.endif

.if defined(WITH_CTRLS_ADMIN)
AUTOSELECT_CTRLS=	yes
MODULES:=${MODULES}:mod_ctrls_admin
PLIST_SUB+=	MOD_CTRLS_ADMIN=""
.else
PLIST_SUB+=	MOD_CTRLS_ADMIN="@@comment "
.endif

.if !defined(WITHOUT_DEFLATE)
MODULES:=${MODULES}:mod_deflate
PLIST_SUB+=	MOD_DEFLATE=""
.else
PLIST_SUB+=	MOD_DEFLATE="@@comment "
.endif

.if defined(WITH_DYNMASQ)
MODULES:=${MODULES}:mod_dynmasq
PLIST_SUB+=	MOD_DYNMASQ=""
.else
PLIST_SUB+=	MOD_DYNMASQ="@@comment "
.endif

.if defined(WITH_EXEC)
MODULES:=${MODULES}:mod_exec
PLIST_SUB+=	MOD_EXEC=""
.else
PLIST_SUB+=	MOD_EXEC="@@comment "
.endif

.if !defined(WITHOUT_IFSESSION)
MODULES:=${MODULES}:mod_ifsession
PLIST_SUB+=     MOD_IFSESSION=""
.else
PLIST_SUB+=     MOD_IFSESSION="@@comment "
.endif

.if !defined(WITHOUT_IFVERSION)
MODULES:=${MODULES}:mod_ifversion
PLIST_SUB+=	MOD_IFVERSION=""
.else
PLIST_SUB+=	MOD_IFVERSION="@@comment "
.endif

.if defined(WITH_TLS_MEMCACHE)
AUTOSELECT_MEMCACHE=	yes
AUTOSELECT_TLS=		yes
MODULES:=${MODULES}:mod_tls_memcache
PLIST_SUB+=	MOD_TLS_MEMCACHE=""
.else
PLIST_SUB+=	MOD_TLS_MEMCACHE="@@comment "
.endif

.if !defined(WITHOUT_RADIUS)
MODULES:=${MODULES}:mod_radius
PLIST_SUB+=	MOD_RADIUS=""
.else
PLIST_SUB+=	MOD_RADIUS="@@comment "
.endif

.if defined(WITH_QOS)
MODULES:=${MODULES}:mod_qos
PLIST_SUB+=	MOD_QOS=""
.else
PLIST_SUB+=	MOD_QOS="@@comment "
.endif

.if !defined(WITHOUT_QUOTATAB_FILE)
AUTOSELECT_QUOTATAB=	yes
MODULES:=${MODULES}:mod_quotatab_file
PLIST_SUB+=	MOD_QUOTATAB_FILE=""
.else
PLIST_SUB+=	MOD_QUOTATAB_FILE="@@comment "
.endif

.if defined(WITH_QUOTATAB_LDAP)
AUTOSELECT_QUOTATAB=	yes
AUTOSELECT_LDAP=	yes
MODULES:=${MODULES}:mod_quotatab_ldap
PLIST_SUB+=	MOD_QUOTATAB_LDAP=""
.else
PLIST_SUB+=	MOD_QUOTATAB_LDAP="@@comment "
.endif

.if defined(WITH_QUOTATAB_RADIUS)
AUTOSELECT_QUOTATAB=	yes
MODULES:=${MODULES}:mod_quotatab_radius
PLIST_SUB+=	MOD_QUOTATAB_RADIUS=""
.else
PLIST_SUB+=	MOD_QUOTATAB_RADIUS="@@comment "
.endif

.if !defined(WITHOUT_QUOTATAB_SQL)
AUTOSELECT_QUOTATAB=	yes
AUTOSELECT_SQL=	yes
MODULES:=${MODULES}:mod_quotatab_sql
PLIST_SUB+=	MOD_QUOTATAB_SQL=""
.else
PLIST_SUB+=	MOD_QUOTATAB_SQL="@@comment "
.endif

.if defined(WITH_SHAPER)
AUTOSELECT_CTRLS=	yes
MODULES:=${MODULES}:mod_shaper
PLIST_SUB+=	MOD_SHAPER=""
.else
PLIST_SUB+=	MOD_SHAPER="@@comment "
.endif

.if defined(WITH_SITE_MISC)
MODULES:=${MODULES}:mod_site_misc
PLIST_SUB+=	MOD_SITE_MISC=""
.else
PLIST_SUB+=	MOD_SITE_MISC="@@comment "
.endif

.if defined(WITH_UNIQUE)
MODULES:=${MODULES}:mod_unique_id
PLIST_SUB+=	MOD_UNIQUE=""
.else
PLIST_SUB+=	MOD_UNIQUE="@@comment "
.endif

.if defined(WITH_SETPASSENT)
CONFIGURE_ARGS+=	--enable-force-setpassent
.endif

.if defined(WITHOUT_PAM)
CONFIGURE_ARGS+=	--disable-auth-pam
.endif

.if defined(WITH_IPV6)
d168 1
a168 3
.if !defined(WITHOUT_NLS)
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
d177 2
a178 4
.if !defined(WITHOUT_PCRE)
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
LIB_DEPENDS+=		pcre.1:${PORTSDIR}/devel/pcre
d184 1
a184 38
.if defined(WITH_LDAP)
. if defined(WITH_LDAP_TLS)
AUTOSELECT_TLS=	yes
. endif
USE_OPENLDAP=	yes
MODULES:=${MODULES}:mod_ldap
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=	MOD_LDAP=""
.else
PLIST_SUB+=	MOD_LDAP="@@comment "
.endif

.if defined(WITH_SQLITE)
AUTOSELECT_SQL=	yes
USE_SQLITE=     yes
MODULES:=${MODULES}:mod_sql_sqlite
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=	MOD_SQL_SQLITE=""
.else
PLIST_SUB+=	MOD_SQL_SQLITE="@@comment "
.endif

.if defined(WITH_ODBC)
AUTOSELECT_SQL=	yes
LIB_DEPENDS=    iodbc.3:${PORTSDIR}/databases/libiodbc
MODULES:=${MODULES}:mod_sql_odbc
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
CONFIGURE_ARGS+=LIBS=-liodbc LD_LIBRARY_PATH=${LOCALBASE}/lib LDFLAGS=-L${LOCALBASE}/lib
PLIST_SUB+=	MOD_ODBC=""
.else
PLIST_SUB+=	MOD_ODBC="@@comment "
.endif

.if defined(WITH_TDS) || make(makesum) || defined(FETCH_ALL)
AUTOSELECT_SQL=	yes
a186 23
MODULES:=${MODULES}:mod_sql_tds
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
LIB_DEPENDS+=	sybdb.5:${PORTSDIR}/databases/freetds
PLIST_SUB+=	MOD_SQL_TDS=""
.else
PLIST_SUB+=	MOD_SQL_TDS="@@comment "
.endif

.if defined(WITH_SQL_PASSWD)
AUTOSELECT_SQL=	yes
MODULES:=${MODULES}:mod_sql_passwd
PLIST_SUB+=	MOD_SQL_PASSWD=""
.else
PLIST_SUB+=	MOD_SQL_PASSWD="@@comment "
.endif

.if defined(WITH_TLS_SHMCACHE)
AUTOSELECT_TLS=	yes
MODULES:=${MODULES}:mod_tls_shmcache
PLIST_SUB+=	MOD_TLS_SHMCACHE=""
.else
PLIST_SUB+=	MOD_TLS_SHMCACHE="@@comment "
d189 16
a204 45
.if defined(WITH_CLAMAV) || make(makesum) || defined(FETCH_ALL)
DISTFILES+=	mod_clamav-0.11rc.tar.gz:clam
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-modules_mod_xfer.c
USE_CLAMAV=	yes
MODULES:=${MODULES}:mod_clamav
LIB_DEPENDS+=	clamav.7:${PORTSDIR}/security/clamav
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=	MOD_CLAMAV=""
.else
PLIST_SUB+=	MOD_CLAMAV="@@comment "
.endif

.if defined(WITH_SFTP_SQL)
AUTOSELECT_SFTP=	yes
AUTOSELECT_SQL=		yes
MODULES:=${MODULES}:mod_sftp_sql
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=     MOD_SFTP_SQL=""
.else
PLIST_SUB+=     MOD_SFTP_SQL="@@comment "
.endif

.if defined(WITH_SFTP_PAM)
AUTOSELECT_SFTP=	yes
MODULES:=${MODULES}:mod_sftp_pam
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=     MOD_SFTP_PAM=""
.else
PLIST_SUB+=     MOD_SFTP_PAM="@@comment "
.endif

# Handle autoselectable configuration at the end
.if !defined(WITHOUT_CTRLS) || defined(AUTOSELECT_CTRLS)
CONFIGURE_ARGS+=	--enable-ctrls
PLIST_SUB+=	CTRLS=""
.else
CONFIGURE_ARGS+=	--disable-ctrls
PLIST_SUB+=	CTRLS="@@comment "
.endif

.if defined(WITH_MEMCACHE) || defined(AUTOSELECT_MEMCACHE)
LIB_DEPENDS+=		memcached.10:${PORTSDIR}/databases/libmemcached
d206 2
a207 1
PLIST_SUB+=	MOD_MEMCACHE=""
d210 1
a210 34
PLIST_SUB+=	MOD_MEMCACHE="@@comment "
.endif

.if !defined(WITHOUT_QUOTATAB) || defined(AUTOSELECT_QUOTATAB)
MODULES:=${MODULES}:mod_quotatab
PLIST_SUB+=	MOD_QUOTATAB=""
.else
PLIST_SUB+=	MOD_QUOTATAB="@@comment "
.endif

.if !defined(WITHOUT_SFTP) || defined(AUTOSELECT_SFTP)
MODULES:=${MODULES}:mod_sftp
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=     MOD_SFTP=""
.else
PLIST_SUB+=     MOD_SFTP="@@comment "
.endif

.if !defined(WITHOUT_SQL) || defined(AUTOSELECT_SQL)
MODULES:=${MODULES}:mod_sql
PLIST_SUB+=	MOD_SQL=""
.else
PLIST_SUB+=	MOD_SQL="@@comment "
.endif

.if defined(WITH_OPENSSL) || !defined(WITHOUT_TLS) || defined(AUTOSELECT_TLS)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CFLAGS+=	-DHAVE_OPENSSL -I${OPENSSLINC}
PROFTPD_LIBS+=	-lssl -lcrypto -L${OPENSSLLIB}
MODULES:=${MODULES}:mod_tls
PLIST_SUB+=	MOD_TLS=""
.else
PLIST_SUB+=	MOD_TLS="@@comment "
d213 4
a216 8
.if !defined(WITHOUT_WRAP) || defined(AUTOSELECT_WRAP)
MODULES:=${MODULES}:mod_wrap2
INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=	MOD_WRAP=""
.else
PLIST_SUB+=	MOD_WRAP="@@comment "
.endif
d219 2
a220 31
CONFIGURE_ENV+=	"LIBS=${PROFTPD_LIBS}"

.if !empty(MODULES)
CONFIGURE_ARGS+=	--with-shared=${MODULES:C/^://g}
PLIST_SUB+=	MODULES=""
.else
PLIST_SUB+=	MODULES="@@comment "
.endif

# Create list of autoselected modules
.if defined(WITHOUT_CTRLS) && defined(AUTOSELECT_CTRLS)
AUTOSELECT_MODULES+=	mod_ctrls
.endif
.if !defined(WITH_MEMCACHE) && defined(AUTOSELECT_MEMCACHE)
AUTOSELECT_MODULES+=	mod_memcache
.endif
.if defined(WITHOUT_QUOTATAB) && defined(AUTOSELECT_QUOTATAB)
AUTOSELECT_MODULES+=	mod_quotatab
.endif
.if defined(WITHOUT_SFTP) && defined(AUTOSELECT_SFTP)
AUTOSELECT_MODULES+=	mod_sftp
.endif
.if defined(WITHOUT_SQL) && defined(AUTOSELECT_SQL)
AUTOSELECT_MODULES+=	mod_sql
.endif
.if defined(WITHOUT_TLS) && defined(AUTOSELECT_TLS)
AUTOSELECT_MODULES+=	mod_tls
.endif
.if defined(WITHOUT_WRAP) && defined(AUTOSELECT_WRAP)
AUTOSELECT_MODULES+=	mod_wrap
.endif
a223 1
.if !empty(INCLUDEDIRS)
a224 3
.endif

.if !empty(LIBDIRS)
a225 1
.endif
d227 6
a232 9
.if !defined(BUILDING_PROFTPD_MODULE)
post-extract:
.if defined(WITH_CLAMAV)
	(cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/mod_clamav-0.11rc.tar.gz ${EXTRACT_AFTER_ARGS})
	@@${CP} ${WRKDIR}/mod_clamav-0.11rc/mod_clamav.* ${WRKSRC}/contrib
.endif
.if defined(WITH_TDS)
	 @@${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib/
.endif
d235 1
a235 1
.if defined(WITH_NLS)
a237 4
.if defined(WITH_LDAP_TLS)
	@@${REINPLACE_CMD} -e 's:/\* #define USE_LDAP_TLS \*/:#define USE_LDAP_TLS:' \
		${WRKSRC}/contrib/mod_ldap.c
.endif
a240 7
.if defined(AUTOSELECT_MODULES)
	@@${ECHO_MSG} "*** NOTICE ***"
	@@${ECHO_MSG} "The following modules are required by the current\
	configuration and have been automatically added to the build:"
	@@${ECHO_MSG} ${AUTOSELECT_MODULES}
	@@${ECHO_MSG} ""
.endif
a259 1
.if defined(WITH_SFTP)
d262 1
a262 2
.endif
.if !defined(NOPORTDOCS)
d266 1
a266 1
. if defined(WITH_HTMLDOCS)
a273 2
.if defined(WITH_CTRLS)
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/
a274 1
.endif
@


1.205
log
@- chase libmemcached shared library bump 8=>9

Approved by:	maintainer (implicit)
@
text
@d10 1
a10 1
PORTREVISION?=	1
d472 1
a472 1
LIB_DEPENDS+=		memcached.9:${PORTSDIR}/databases/libmemcached
@


1.204
log
@Fix includes/libs if using WITH_PCRE

PR:		ports/165133
Reported by:	Henrik Larsson <freebsd@@spambox.dk>
@
text
@d472 1
a472 1
LIB_DEPENDS+=		memcached.8:${PORTSDIR}/databases/libmemcached
@


1.203
log
@Bump pcre library dependency due to 8.30 update
@
text
@d355 2
@


1.202
log
@Fix typo in Makefile - add missing double quotation mark to MOD_WRAP_FILE

Reported by:	David Froehlich <dfroe@@gmx.de>
@
text
@d10 1
d355 1
a355 1
LIB_DEPENDS+=		pcre.0:${PORTSDIR}/devel/pcre
@


1.201
log
@Fix typo in pkg-plist and mod_sql_sqlite packing list
@
text
@d175 1
a175 1
PLIST_SUB+=	MOD_WRAP_FILE="
@


1.200
log
@Update to 1.3.4a
Switch to using dynamic modules
Autosellect required modules instead of exiting with IGNORE
Add slave port infrastructure for building individual modules
@
text
@d379 1
a379 1
PLIST_SUB+=	MOD_SQLITE=""
d381 1
a381 1
PLIST_SUB+=	MOD_SQLITE="@@comment "
@


1.199
log
@Allow build on patched FreeBSD 7.x (FreeBSD-SA-11:07.chroot)
WITH_SHAPER requires WITH_CTRLS [1]

PR:		ports/163941 [1]
Reported by:	Matthew Pounsett <matt@@conundrum.com> [1]
@
text
@d8 2
a9 3
PORTNAME=	proftpd
PORTVERSION=	1.3.3g
PORTREVISION=	2
d25 1
a25 1
COMMENT?=	Highly configurable ftp daemon
d27 2
a28 2
LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING
d30 7
a36 1
MAN1=	ftpcount.1 ftpwho.1 ftptop.1
a39 1
MAKE_JOBS_UNSAFE=	yes
d41 1
d43 1
d49 1
a49 2
CONFLICTS=	proftpd-devel-1.[0-9].*

d51 3
d57 2
a58 1
CONFIGURE_ARGS=	--localstatedir=${LOCALSTATEDIR} \
d64 12
d77 1
d79 3
a81 1
		CTRLS "Include controls" off \
d86 22
a107 20
		IPV6 "Use IPv6" on \
		LDAP "Use LDAP" off \
		LDAP_TLS "Use LDAP TLS (requires LDAP, OPENSSL)" off

# Set the MYSQL option based upon the setting from the
# slave port (ftp/proftpd-mysql).
.if defined(WITH_MYSQL)
OPTIONS+=	MYSQL "MySQL auth" on
.else
OPTIONS+=	MYSQL "MySQL auth" off
.endif

OPTIONS+=	NLS "Use nls (builds mod_lang)" on \
		ODBC "ODBC" off \
		OPENSSL "Include mod_tls" on \
		PGSQL "Postgres auth" off \
		QUOTA "Include mod_quota" off \
		QUOTATAB_RADIUS "include mod_quotatab_radius" off \
		SHAPER "Shaper module (requires CTRLS)" off \
		SQLITE "SQLite auth" off \
d112 4
a115 7
		TLS_SHMCACHE "TLS SHM session cache (requires OPENSSL)" off \
		TDS "Include mod_sql_tds" off \
		SFTP "Include mod_sftp" off\
		SFTP_SQL "Include mod_sftp_sql" off \
		SFTP_PAM "Include mod_sftp_pam" off \
		SITE_MISC "Include mod_site_misc" off \
		SQL_PASSWD "Include mod_sql_passwd" off \
d119 1
a119 1
		WRAP_SQL "Include mod_wrap2_sql (requires WRAP)" off
d127 2
d131 2
d146 1
a146 1
BROKEN=		Does not compile on sparc64-9: storage size of 'utx' isn't known
d151 3
d158 3
d165 1
a165 7
.endif

.if !defined(WITHOUT_WRAP)
MODULES:=${MODULES}:mod_wrap2
INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
PLIST_SUB+=	WRAP=""
d167 1
a167 5
PLIST_SUB+=	WRAP="@@comment "
.endif

.if ( defined(WITH_WRAP_FILE) || defined(WITH_WRAP_SQL) ) && defined(WITHOUT_WRAP)
IGNORE=	options WRAP_FILE and WRAP_FILE_SQL require WRAP
d171 1
d175 3
d181 2
d186 33
d223 3
d230 3
d235 24
a258 1
.if defined(WITH_RADIUS)
d260 3
d265 5
a269 3
.if defined(WITH_SHAPER)
.if !defined(WITH_CTRLS)
IGNORE=	option BAN requires CTRLS
d271 7
a277 1
MODULES:=${MODULES}:mod_shaper
d280 7
a286 2
.if defined(WITH_SITE_MISC)
MODULES:=${MODULES}:mod_site_misc
d290 1
d292 12
d306 6
a311 3
.if defined(WITH_BAN)
.if !defined(WITH_CTRLS)
IGNORE=	option BAN requires CTRLS
d313 6
a318 1
MODULES:=${MODULES}:mod_ban
d323 3
d353 6
a358 5
#allow user to override
MODULES?=	mod_ratio:mod_readme:mod_rewrite:mod_wrap2:mod_ifsession:mod_lang

INCLUDEDIRS?=
LIBDIRS?=
d361 3
d368 3
a370 26
.endif

# LDAP_TLS and TLS_SHMCACHE require OPENSSL
.if ( defined(WITH_LDAP_TLS) || defined(WITH_TLS_SHMCACHE) ) && !defined(WITH_OPENSSL)
IGNORE=	options LDAP_TLS and TLS_SHMCACHE require OPENSSL
.endif

# MYSQL, PGSQL, SQLITE, ODBC, TDS, SFTP_SQL and SQL_PASSWD require mod_sql
.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || \
defined(WITH_SQLITE) || defined(WITH_ODBC) || defined(WITH_TDS) \
|| defined(WITH_SFTP_SQL) || defined (WITH_SQL_PASSWD)
MODULES:=${MODULES}:mod_sql
.endif

.if defined(WITH_MYSQL)
USE_MYSQL=	yes
MODULES:=${MODULES}:mod_sql_mysql
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include:${LOCALBASE}/include/mysql:${WRKSRC}/contrib
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib/mysql
.endif

.if defined(WITH_PGSQL)
USE_PGSQL=	yes
MODULES:=${MODULES}:mod_sql_postgres
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
d374 1
d379 3
d385 1
d391 3
d397 1
d404 3
d410 1
d412 1
a412 4
.endif

.if ${MODULES:M*mod_sql*}
PLIST_SUB+=	SQL=""
d414 1
a414 1
PLIST_SUB+=	SQL="@@comment "
d418 1
d420 1
a420 8
.endif

.if defined(WITH_OPENSSL)
.include <${PORTSDIR}/Mk/bsd.openssl.mk>
CFLAGS+=	-DHAVE_OPENSSL -I${OPENSSLINC}
PROFTPD_LIBS+=	-lssl -lcrypto -L${OPENSSLLIB}
MODULES:=${MODULES}:mod_tls
PLIST_SUB+=	TLS=""
d422 1
a422 26
PLIST_SUB+=	TLS="@@comment "
.endif

.if defined(WITH_CTRLS)
CONFIGURE_ARGS+=	--enable-ctrls
.if !defined(WITHOUT_CTRLS_ADMIN)
MODULES:=${MODULES}:mod_ctrls_admin
.endif
PLIST_SUB+=	CTRLS_ADMIN=""
.else
PLIST_SUB+=	CTRLS_ADMIN="@@comment "
.endif

# LDAP, PGSQL and MYSQL options due nothing (in this case)
# without QUOTA support.
.if defined(WITH_QUOTA)
MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file
PLIST_SUB+=	QUOTA=""
.if defined(WITH_LDAP)
MODULES:=${MODULES}:mod_quotatab_ldap
.endif
.if defined(WITH_PGSQL) || defined(WITH_MYSQL)
MODULES:=${MODULES}:mod_quotatab_sql
.endif
.else
PLIST_SUB+=	QUOTA="@@comment "
d433 1
a433 1
PLIST_SUB+=	CLAMAV=""
d435 1
a435 1
PLIST_SUB+=	CLAMAV="@@comment "
d438 4
a441 2
.if defined(WITH_SFTP)
MODULES:=${MODULES}:mod_sftp
d444 1
a444 1
PLIST_SUB+=     SFTP=""
d446 1
a446 1
PLIST_SUB+=     SFTP="@@comment "
d449 3
a451 2
.if defined(WITH_SFTP_SQL)
MODULES:=${MODULES}:mod_sftp_sql
d454 1
a454 1
PLIST_SUB+=     SFTP_SQL=""
d456 1
a456 1
PLIST_SUB+=     SFTP_SQL="@@comment "
d459 27
a485 2
.if defined(WITH_SFTP_PAM)
MODULES:=${MODULES}:mod_sftp_pam
d488 18
a505 1
PLIST_SUB+=     SFTP_PAM=""
d507 1
a507 1
PLIST_SUB+=     SFTP_PAM="@@comment "
d510 7
a516 3
# mod_ifsession should be the last item in the modules list
.if !defined(WITHOUT_IFSESSION)
MODULES:=${MODULES}:mod_ifsession
d523 4
a526 1
CONFIGURE_ARGS+=	--with-modules=${MODULES:C/^://g}
d529 25
d562 1
d583 9
a591 1
	@@${ECHO_MSG} "==> Configuring with ${MODULES:C/^://g}"
d600 6
d629 1
@


1.198
log
@As of FreeBSD-SA-11:07.chroot, the port now works on both patched and
unpatched systems. On unpatched systems chroot automatically fails.
FreeBSD-SA-11:07.chroot

Add MOD_DYNMASQ
@
text
@d55 1
a55 1
OPTIONS=	BAN "Include mod_ban (Requires CTRLS)" off \
d64 1
a64 1
		LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off
d80 1
a80 1
		SHAPER "Shaper module" off \
d106 12
d172 3
@


1.197
log
@Apply a patch after FreeBSD-SA-11:07.chroot which addresses an arbitrary
code execution vulnerability.

Please note that in order to build this the system needs to be patched
with FreeBSD-SA-11:07.chroot and the resulting binary also needs to the
change because it depends on a new libc API.

Feature safe:	yes
Approved by:	portmgr, maintainer (mm)
@
text
@d10 1
a10 1
PORTREVISION=	1
d58 1
d147 4
@


1.196
log
@Mark as broken on sparc64-9: fails to compile.

Hat:		portmgr
@
text
@d10 1
@


1.195
log
@Update to 1.3.3g

Feature safe:	yes
@
text
@d104 4
@


1.194
log
@Fix distinfo and its creation

PR:	ports/161305
@
text
@d9 1
a9 1
PORTVERSION=	1.3.3f
@


1.193
log
@Update to 1.3.3f
@
text
@d251 1
a251 1
.if defined(WITH_TDS)
d309 1
a309 1
.if defined(WITH_CLAMAV)
@


1.192
log
@Update to 1.3.3e
@
text
@d9 1
a9 1
PORTVERSION=	1.3.3e
@


1.191
log
@- Add LICENSE knob(s)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.3d
@


1.190
log
@Fix extraction when using clamav option.

Approved by:	mm@@ (maintainer)
@
text
@d27 3
@


1.189
log
@- Update to 1.3.3d
@
text
@a307 1
EXTRACT_ONLY+=	mod_clamav-0.11rc.tar.gz
@


1.188
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 2
PORTVERSION=	1.3.3c
PORTREVISION=	3
@


1.187
log
@- Revert to old distinfo and SAVE US FROM THE DOOM!

Spotted by:	Sergey A. Osokin <osa@@FreeBSD.org>
@
text
@d37 1
a37 1
USE_AUTOTOOLS=	autoconf:268
@


1.186
log
@- Update distfile to match upstream source

Reported by:	Daniel Austin <me@@dan.me.uk>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.185
log
@- Update mod_sql_tds to 4.13
- Bump PORTREVISION

PR:		ports/152078
Submitted by:	Patrick Muldoon <doon@@inoc.net>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.184
log
@- Update to 1.3.3c
- Update mod_sql_tds to 4.12 [1]

PR:		ports/151943 [1]
Submitted by:	Patrick Muldoon <doon@@inoc.net>
@
text
@d10 1
d250 2
a251 2
DISTFILES+=	mod_sql_tds-4.12.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.12.tar.bz2
@


1.183
log
@- Update to 1.3.3b
@
text
@d9 1
a9 1
PORTVERSION=	1.3.3b
d249 2
a250 3
DISTFILES+=	mod_sql_tds-4.11.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.11.tar.bz2
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-contrib-mod_sql_tds.c
@


1.182
log
@Punt autoconf267->autoconf268
@
text
@d9 1
a9 2
PORTVERSION=	1.3.3a
PORTREVISION=	1
@


1.181
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d37 1
a37 1
USE_AUTOTOOLS=	autoconf:267
@


1.180
log
@- Fix version that has gone backwards (DISTVERSION -> PORTVERSION)

Feature safe:	yes
@
text
@d10 1
d37 1
a37 1
USE_AUTOTOOLS=	autoconf:262
@


1.179
log
@- Update to 1.3.3a

Feature safe:	yes
@
text
@d9 1
a9 1
DISTVERSION=	1.3.3a
@


1.178
log
@- Fix mkdir -> mkdir -p in package
- Bump PORTREVISION
@
text
@d9 1
a9 2
PORTVERSION=	1.3.3
PORTREVISION=	5
@


1.177
log
@- Enable DSO support

PR:		ports/146740
Submitted by:	John Lihtsey <jd@@cpanel.net>
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.176
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	3
d49 1
@


1.175
log
@- Remove support for mod_digest (doesnt work with 1.3.3)
- Add support for mod_site_misc
- Bump PORTREVISION

Suggested by:	David Ordal <david@@ordal.com>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.174
log
@- Create ${localstatedir}/run/proftpd on install [1]
- Add patches for FreeBSD 8 and 9 [2]
- Bump PORTREVISION

PR:		ports/145253 [1]
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@@gmail.com> [1]
Reported by:	Gunnar Beutner <gunnar.beutner@@hetzner.de> [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
a20 2
		http://www.smartftp.com/oss/proftpd/:digest \
		LOCAL/beech:digest \
a53 1
		DIGEST "Include mod_digest" off \
d86 1
d150 4
a320 5
.if defined(WITH_DIGEST)
DISTFILES+=	mod_digest.c:digest
MODULES:=${MODULES}:mod_digest
.endif

a372 3
.if defined(WITH_DIGEST)
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/
.endif
@


1.173
log
@Chase clamav's lib bump
@
text
@d10 1
d46 3
a48 1
CONFIGURE_ARGS=	--localstatedir=/var/run \
d99 2
d405 1
@


1.172
log
@- Remove unnecessary sqlite dependency on mod_sftp*
@
text
@d306 1
a306 1
LIB_DEPENDS+=	clamav.6:${PORTSDIR}/security/clamav
@


1.171
log
@- Remove etc/proftpd creation from Makefile
- Fix directory creation bug in patch-contrib-mod_sftp-Makefile.in
@
text
@a319 1
USE_SQLITE=     yes
a328 1
USE_SQLITE=     yes
a337 1
USE_SQLITE=     yes
@


1.170
log
@- Update to 1.3.3
- Add new modules to OPTIONS
- Disable HTML documentation by default (new HTMLDOCS knob in OPTIONS)
- Disable EXAMPLES and move to HTMLDOCS
- Simplify, make portlint more happy
- Fix inter-option requires
@
text
@a403 1
	@@${INSTALL} -d ${PREFIX}/etc/proftpd
@


1.169
log
@- Update to 1.3.2e

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.3.2e
d31 1
a31 1
MAN8=	proftpd.8 ftpshut.8 ftpdctl.8
d34 1
a34 17
PORTDOCSdoc=	Configuration.html faq.html
PORTDOCScontrib=mod_ifsession.html mod_radius.html mod_rewrite.html \
		mod_tls.html mod_wrap2.html mod_wrap2_file.html mod_wrap2_sql.html \
		mod_ban.html mod_quotatab_radius.html ftpasswd.html
PORTDOCSreadme=	README README.DSO README.FreeBSD README.IPv6 README.LDAP README.PAM \
		README.capabilities README.classes README.facl README.modules \
		README.ports RELEASE_NOTES
PORTDOCS=	${PORTDOCSdoc} ${PORTDOCScontrib} ${PORTDOCSreadme}

PORTEXAMPLES=	ASCII.html CreateHome.html Filters.html SQL.html Umask.html \
		AuthFiles.html DNS.html Globbing.html SSH.html Upgrade.html \
		Authentication.html DSO.html Limit.html Scoreboard.html Vhost.html \
		BCP.html Debugging.html ListOptions.html ServerType.html \
		VirtualUsers.html Chroot.html Directory.html Logging.html Stopping.html \
		index.html Classes.html DisplayFiles.html NAT.html TLS.html ConfigFile.html \
		FTP.html Quotas.html Timestamps.html Controls.html \
		FXP.html Regex.html Tracing.html
d54 2
d59 12
a70 2
		LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off \
		NLS "Use nls (builds mod_lang)" on \
d72 1
a72 1
		PGSQL "Postgres auth (Can be combined with MYSQL)" off \
d75 2
d81 7
a87 1
		TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
d89 2
a90 9
		WRAP_FILE "Include mod_wrap2_file" off \
		WRAP_SQL "Include mod_wrap2_sql" off
# Set the MYSQL option based upon the setting from the
# slave port (ftp/proftpd-mysql).
.if defined(WITH_MYSQL)
OPTIONS+=	MYSQL "MySQL auth (Can be combined with PGSQL)" on
.else
OPTIONS+=	MYSQL "MySQL auth (Can be combined with PGSQL)" off
.endif
d119 4
a123 3
.if defined(WITHOUT_WRAP)
IGNORE=	WRAP_FILE and WRAP_FILE_SQL require WRAP.
.endif
a129 3
.if defined(WITHOUT_WRAP)
IGNORE=	WRAP_FILE and WRAP_FILE_SQL require WRAP.
.endif
d135 4
d143 4
d152 3
d158 4
d176 1
a176 1
.if defined(WITH_NLS)
d200 9
a208 3
# MYSQL, PGSQL and TDS require mod_sql to be built but specifying it
# more than once causes configure script to complain.
.if defined(WITH_MYSQL) || defined(WITH_PGSQL) || defined(WITH_TDS)
d226 30
a255 1
.if ${MODULES:M*mod_sql_*}
d261 4
d270 3
d319 23
a341 5
.if defined(WITH_TDS)
DISTFILES+=	mod_sql_tds-4.11.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.11.tar.bz2
MODULES:=${MODULES}:mod_sql_tds
PLIST_SUB+=	TDS=""
d344 1
a344 1
LIB_DEPENDS+=	sybdb.5:${PORTSDIR}/databases/freetds
d346 1
a346 1
PLIST_SUB+=	TDS="@@comment "
d358 1
a358 1
CONFIGURE_ARGS+=	--with-modules=${MODULES}
a368 4
#Todo: Fix this to not use != if possible.
#      Will leave as is for now.
MODULES!=${ECHO} ${MODULES} | ${SED} -e 's,^:,,' -e 's,:$$,,'

d392 1
a392 1
	@@${ECHO_MSG} "==> Configuring with ${MODULES}"
d403 5
d409 10
a418 8
	@@${INSTALL} -d ${DOCSDIR}/
	@@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCSdoc} ${DOCSDIR}/
	@@cd ${WRKSRC}/doc/contrib && ${INSTALL_DATA} ${PORTDOCScontrib} ${DOCSDIR}/
	@@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCSreadme} ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
	@@${INSTALL} -d ${EXAMPLESDIR}/
	@@cd ${WRKSRC}/doc/howto/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
@


1.168
log
@- Update to 1.3.2d (maintenance)

PR:		ports/144106
Submitted by:	Bartlomiej Syryjczyk <guzik@@anka.net.pl>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.3.2d
@


1.167
log
@- Update to 1.3.2c
- Take maintainership
@
text
@d9 1
a9 1
PORTVERSION=	1.3.2c
@


1.166
log
@- Pull the pidfile path from a central location (the config file)
  instead of hard coding it again in the rc.d script

PR:             ports/141945
Submitted by:   Danil <desruptorrogue@@gmail.com>
@
text
@d9 1
a9 2
PORTVERSION=	1.3.2b
PORTREVISION=	1
d26 1
a26 1
MAINTAINER?=	ports@@FreeBSD.org
@


1.165
log
@Reset maintainer at his request.

PR:		ports/141647
@
text
@d10 1
d60 1
a60 1
USE_RC_SUBR=	proftpd.sh
@


1.164
log
@Reinstate maintainer at his request.
@
text
@d26 1
a26 1
MAINTAINER?=	chris@@officialunix.com
@


1.163
log
@Temporarily reassign ports maintained by chris@@officialunix.com back to
the pool for the duration of his upcoming move.

Requested by:	maintainer
@
text
@d26 1
a26 1
MAINTAINER?=	ports@@FreeBSD.org
@


1.162
log
@- Update to 1.3.2b
- Fix whitespace in distinfo

PR:		ports/139832
Submitted by:	Sylvio Cesar <scjamorim@@bsd.com.br>
Approved by:	chris@@officialunix.com (maintainer)
@
text
@d26 1
a26 1
MAINTAINER?=	chris@@officialunix.com
@


1.161
log
@- Rework QUOTA support to fix build breakage.

Noticed by:	Peter Czanik <pczanik@@fang.fa.au.hu>
Approved by:	chris@@officialunix.com (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.2a
@


1.160
log
@- Fix MYSQL option so it displays correctly with slave port.
- Handle inter-option dependencies correctly (some would cause build errors).
  If there are more of these please let me know but I think I tested most
  configurations.
- General cleanups all around.
- This also fixes the build failure seen on pointyhat.
- None of these change the package in any way so don't bump PORTREVISION.

Approved by:	chris@@officialunix.com (maintainer)
@
text
@d233 2
d237 1
a237 3
QUOTA_SUB=	QUOTA=""
.else
QUOTA_SUB=	QUOTA="@@comment "
d242 1
a242 2
MODULES:=${MODULES}:mod_quotatab_sql:mod_quotatab
QUOTA_SUB=	QUOTA=""
d244 2
a247 2
PLIST_SUB+=	${QUOTA_SUB}

@


1.159
log
@- Use PLIST_SUB instead of PLIST_FILES in some cases.
- Whitespace fix to pet portlint.

PR:		ports/138977
Submitted by:	Chris Petrik <c.petrik.sosa@@gmail.com> (maintainer)
@
text
@d73 1
a73 2
		LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off\
		MYSQL "MySQL auth (Can be combined with PGSQL)" off \
d87 8
d123 3
d132 3
d162 1
a162 3
.endif

.if !defined(WITH_IPV6)
d190 6
d199 1
a199 1
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include:${LOCALBASE}/include/mysql
a210 1
MODULES:=mod_sql${MODULES}
d235 1
a235 1
PLIST_SUB+=	QUOTA=""
d237 1
a237 1
PLIST_SUB+=	QUOTA="@@comment "
d242 2
a243 1
MODULES:=${MODULES}:mod_quotatab_sql
d247 2
a271 1
MODULES:=mod_sql${MODULES}
a272 2
.else
PLIST_SUB+=	TDS="@@comment "
d276 2
@


1.158
log
@- Fix clamav extraction.

PR:		ports/139270
Submitted by:	Chris Petrik <chris@@officialunix.com> (maintainer)
@
text
@d23 2
a24 2
DISTFILES=      ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}
d110 3
a112 1
PLIST_FILES+=	include/proftpd/mod_wrap2.h
d195 3
a197 1
PLIST_FILES+=	include/proftpd/mod_sql.h
a208 1
PLIST_FILES+=	sbin/ftpdctl
d212 3
d219 3
a221 1
PLIST_FILES+=	include/proftpd/mod_quotatab.h
d254 3
a256 1
PLIST_FILES+=	include/proftpd/mod_sql.h
@


1.157
log
@- Use ?= for CATEGORIES and fix whitespace.

Submitted by:	maintainer, privately
Feature safe:	yes
@
text
@d23 2
a222 1
#https://secure.thrallingpenguin.com/redmine/attachments/download/1/mod_clamav-0.11rc.tar.gz
d224 1
a224 1
#EXTRACT_ONLY+=	mod_clamav-0.11rc.tar.gz
@


1.156
log
@- Update to 1.3.2a

PR:		ports/138977
Submitted by:	Chris Petrik <c.petrik.sosa@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@d10 1
a10 1
CATEGORIES=	ftp
d241 2
a242 2
DISTFILES+=     mod_sql_tds-4.11.tar.bz2:sql_tds
EXTRACT_ONLY+=  mod_sql_tds-4.11.tar.bz2
@


1.155
log
@- Update mod_sql_tds to 4.11

PR:		13618
Submitted by:	Patrick Muldoon <doon@@inoc.net>
Approved by:	maintainer via irc
Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	1.3.2
PORTREVISION=	1
a22 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
d271 2
@


1.154
log
@- Pass maintainership to submitter

Submitted by:	Chris Petrik <chris@@officialunix.com> (requested via #bsdports)
Feature safe:	yes
@
text
@d10 1
d244 2
a245 2
DISTFILES+=     mod_sql_tds-4.9.tar.bz2:sql_tds
EXTRACT_ONLY+=  mod_sql_tds-4.9.tar.bz2
@


1.153
log
@Reset beech@@FreeBSD.org while he works on restoring his email situation.

Hat:		portmgr
@
text
@d26 1
a26 1
MAINTAINER?=	ports@@FreeBSD.org
@


1.152
log
@- Update mod_clamav to 0.11rc (which works with new clamav again)

Requested by:	Daniel Ryslink <daniel.ryslink@@firma.volny.cz>
@
text
@d26 1
a26 1
MAINTAINER?=	beech@@FreeBSD.org
@


1.151
log
@- make MAKE_JOBS_UNSAFE

PR:		135554
Submitted by:	pgollucci
Approved by:	maintainer implicit
@
text
@d19 1
a19 1
		http://www.alaskaparadise.com/freebsd/:clam \
a20 1
		LOCAL/beech:clam \
d223 3
a225 3
#http://www.thrallingpenguin.com/resources/mod_clamav-0.10.tar.bz2
DISTFILES+=	mod_clamav-0.10.tar.bz2:clam
EXTRACT_ONLY+=	mod_clamav-0.10.tar.bz2
d277 2
a278 1
	@@${CP} ${WRKDIR}/mod_clamav-0.10/mod_clamav.* ${WRKSRC}/contrib
@


1.150
log
@- Bump necessary PORTREVISIONS and fix some ports to new clamav API
@
text
@d34 1
@


1.149
log
@- Update to 1.3.2 (stable)
- Upgrade proftpd-mod_sql_tds to version 4.9 [1]

PR:		ports/131429
Submitted by:	Patrick Muldoon <doon@@inoc.net> [1]
@
text
@d229 1
a229 1
LIB_DEPENDS+=	clamav.5:${PORTSDIR}/security/clamav
@


1.148
log
@- Default ipv6 to on & bump portrevision
@
text
@d9 1
a9 2
DISTVERSION=	1.3.2rc4
PORTREVISION=	1
d243 2
a244 2
DISTFILES+=	mod_sql_tds-4.8.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.8.tar.bz2
@


1.147
log
@- Update to 1.3.2rc4
- Fix NLS knob
@
text
@d10 1
@


1.146
log
@- Update mod_sql_tds to 4.8
- Bump portrevision

PR:		ports/130201
Submitted by:	Patrick Muldoon <doon@@inoc.net>
@
text
@d9 1
a9 2
DISTVERSION=	1.3.2rc3
PORTREVISION=	1
d71 1
a71 1
		IPV6 "Use IPv6" off \
d75 1
a75 1
		NLS "Use nls (builds mod_lang)" off \
d159 3
d165 1
a165 1
MODULES?=	mod_ratio:mod_readme:mod_rewrite:mod_wrap2:mod_ifsession
d232 1
a232 1
PLIST_SUB=	CLAMAV=""
d234 1
a234 1
PLIST_SUB=	CLAMAV="@@comment "
@


1.145
log
@- Update third party mod_sql_tds to 4.7
@
text
@d10 1
d241 2
a242 2
DISTFILES+=	mod_sql_tds-4.7.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.7.tar.bz2
d293 1
a293 1
	
@


1.144
log
@- Update to 1.3.2rc3
@
text
@d18 1
a18 1
		http://www.alaskaparadise.com/freebsd/:sql_tds \
d240 2
a241 2
DISTFILES+=	mod_sql_tds-4.6.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.6.tar.bz2
d280 1
a280 1
	 @@${MV} ${WRKDIR}/mod_sql_tds-4.6/mod_sql_tds.c ${WRKSRC}/contrib/
@


1.143
log
@- Re-add mod_sql_tds option and update to 4.6
- Bump portrevision
@
text
@d9 1
a9 2
DISTVERSION=	1.3.2rc2
PORTREVISION=	1
@


1.142
log
@- Replace path hack with configure arg
- Update proftpd.conf to reflect changes listed in UPDATING
@
text
@d10 1
d19 1
d23 2
a24 1
		LOCAL/beech:digest
d85 1
d240 11
d280 3
@


1.141
log
@- Fix install and plist for proftpd.pc

Reported by:	QAT
@
text
@d60 1
d275 1
a275 1

a286 2
	@@${MV} ${PREFIX}/lib/pkgconfig/proftpd.pc ${PREFIX}/libdata/pkgconfig
	@@${RM} -rf ${PREFIX}/lib/pkgconfig
@


1.140
log
@- Update to 1.3.2rc2
- Patch long command processing vulnerability (http://bugs.proftpd.org/show_bug.cgi?id=3115)
- Remove third party modules mod_codeconv, mod_comb, mod_sql_tds (won't build)
- Update mod_clamav
@
text
@d286 2
@


1.139
log
@- Patch src netio.c - wrong telnet filter
- Telnet filters input data, but Russian symbols deleted

PR:		ports/127096
Submitted by:	Sherbacov Dmitriy <sherbacov@@bsys.ru>
Approved by:	portmgr (linimon)
@
text
@d9 1
a9 2
DISTVERSION=	1.3.1
PORTREVISION=	14
d18 1
a18 1
		CENKES:clam \
d20 2
a21 5
		http://lev.serebryakov.spb.ru/mod_comb/:comb\
		http://labratsoftware.com/mod_sql_tds/:sql_tds \
		LOCAL/beech:digest \
		LOCAL/beech:comb \
		LOCAL/beech:sql_tds
d63 6
a68 1
OPTIONS=	IPV6 "Use IPv6" off \
d72 2
a74 2
		TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
		OPENSSL "Include mod_tls" on \
d76 3
a78 1
		IFSESSION "Include mod_ifsession" on \
a79 2
		RATIO "Include mod_ratio" on \
		CTRLS "Include controls" off \
d83 1
a83 10
		WRAP_SQL "Include mod_wrap2_sql" off \
		RADIUS "Include mod_radius" on \
		QUOTATAB_RADIUS "include mod_quotatab_radius" off \
		BAN "Include mod_ban (Requires CTRLS)" off \
		NLS "Use nls (builds mod_lang)" off \
		CLAMAV "Include mod_clamav" off \
		DIGEST "Include mod_digest" off \
		COMB "Include mod_comb (multistream upload)" off \
		CODECONV "Use charset conversion (possibly broken)" off \
		RUSSIANCHAR "Disable telnet filterning (Fix Russian)" off 
d216 4
a219 3
#http://www.uglyboxindustries.com/mod_clamav_new.c
DISTFILES+=	mod_clamav-0.5.1.tar.bz2:clam
EXTRACT_ONLY+=	mod_clamav-0.5.1.tar.bz2
d225 3
a234 34
.if defined(WITH_COMB)
COMB_VERSION=	0.1
DISTFILES+=	mod_comb-${COMB_VERSION}.tar.bz2:comb
EXTRACT_ONLY+=	mod_comb-${COMB_VERSION}.tar.bz2
MODULES:=${MODULES}:mod_comb
PORTDOCScontrib+=mod_comb.html
PORTDOCSreadme+=README.mod_comb
.endif

.if defined(WITH_TDS)
DISTFILES+=	mod_sql_tds-4.5.tar.bz2:sql_tds
EXTRACT_ONLY+=	mod_sql_tds-4.5.tar.bz2
MODULES:=${MODULES}:mod_sql_tds
MODULES:=mod_sql${MODULES}
PLIST_FILES+=	include/proftpd/mod_sql.h
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
LIB_DEPENDS+=	sybdb.5:${PORTSDIR}/databases/freetds
.endif

.if defined(WITH_CODECONV)
USE_ICONV=	YES
MODULES:=${MODULES}:mod_codeconv
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
CONFIGURE_ARGS+=	--disable-sendfile
PROFTPD_LIBS+=	-liconv -L${LOCALBASE}/lib
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-mod-codeconv
.endif

.if defined(WITH_RUSSIANCHAR)
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src-netio.c
.endif


d259 1
a259 1
	@@${MV} ${WRKDIR}/mod_clamav_new.c ${WRKSRC}/modules/mod_clamav.c
a263 9
.if defined(WITH_COMB)
	@@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/mod_comb.c ${WRKSRC}/contrib/
	@@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/README ${WRKSRC}/README.mod_comb
	@@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/mod_comb.html ${WRKSRC}/doc/contrib/
.endif

.if defined(WITH_TDS)
	 @@${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib/
.endif
@


1.138
log
@- Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
@
text
@d90 2
a91 2
		CODECONV "Use charset conversion (possibly broken)" off

d268 5
@


1.137
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d229 1
a229 1
LIB_DEPENDS+=	clamav.4:${PORTSDIR}/security/clamav
@


1.136
log
@- Mark option mod_codeconv as possibly broken.
@
text
@d56 1
a56 1
USE_AUTOTOOLS=	autoconf:261
@


1.135
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d90 1
a90 1
		CODECONV "Use charset conversion (mod_codeconv)" off
@


1.134
log
@- Add conflicts
@
text
@d10 1
a10 1
PORTREVISION=	13
@


1.133
log
@- Chase clamav library to version 4
- Bump PORTREVISION

Following ports are marked as BROKEN since they don't build with new clamav
0.93:

www/c-icap
mail/claws-mail-clamav
www/gurlchecker
www/havp
security/klamav
devel/p5-Mail-ClamAV
devel/py-clamav
www/squidclam

This clamav version needed to be updated without wait other ports fixes
because it fixes important vulnerabilities.
@
text
@d59 2
@


1.132
log
@- Remove cyrillic-fix-netio.c (handled by CODECONV)
- Bump portrevision

PR:		ports/122355
Submitted by:	Alex Keda <admin@@lissyara.su>
@
text
@d10 1
a10 1
PORTREVISION=	12
d227 1
a227 1
LIB_DEPENDS+=	clamav.3:${PORTSDIR}/security/clamav
@


1.131
log
@- Re-add OPTIONS CODECONV (mod_codeconv) with v1.3.1 fixes for international users
- Bump portrevision

Submitted by:	Alexey V. Drozdov <nyquist@@ctam.tu-bryansk.ru>
@
text
@d10 1
a10 1
PORTREVISION=	11
a84 1
		CYRFIX "Patch to fix cyrillic encoding" off \
a162 4
.if defined (WITH_CYRFIX)
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-cyrillic-fix-netio.c
.endif

@


1.130
log
@- Fix segfault in mod_quotatab_sql if the SQL query returns NULL bytes/files values
- Bump portrevision
@
text
@d10 1
a10 1
PORTREVISION=	10
d88 2
a89 1
		COMB "Include mod_comb (multistream upload)" off
d262 9
@


1.129
log
@- Add vendor patch
- Bump portrevision

- The mod_wrap2_file module does not
support comma-delimited lists of clients in the allow/deny files, unlike the
standard libwrap library.

Obtained from: TJ Saunders <tj@@castaglia.org> (vendor)
@
text
@d10 1
a10 1
PORTREVISION=	9
@


1.128
log
@- Add mod_sql_tds, which allows proftpd to auth using sql against Sybase and MS
  SQL servers.
- Bump portrevision.

Submitted by:	Patrick Muldoon <doon@@inoc.net> (author)
@
text
@d10 1
a10 1
PORTREVISION=	8
@


1.127
log
@- Add two optional third-party modules:
- Bump portrevision

(1) mod_digest by Mathias Berchtold (http://www.smartftp.com/oss/proftpd/)
which implements all digest commands.

(2) mod_comb (http://lev.serebryakov.spb.ru/mod_comb/) by Lev Serebryakov,
which adds COMB support.

PR:		ports/120742
Submitted by:	Lev A. Serebryakov <lev@@FreeBSD.org>
@
text
@d10 1
a10 1
PORTREVISION=	7
d22 1
d24 2
a25 1
		LOCAL/beech:comb
d68 3
a70 2
		MYSQL "Use MySQL" off \
		PGSQL "Use Postgres" off \
d250 11
d296 4
@


1.126
log
@- Fix IPv4-mapped IPv6 connections not matched properly against IP
  glob ACLs.
- Bump portrevision.

Submitted by:	TJ Saunders <tj@@castaglia.org> (vendor)
Approved by:	linimon	(mentor)
@
text
@d10 1
a10 1
PORTREVISION=	6
d19 5
a23 1
		CENKES:clam
d25 1
d83 3
a85 1
		CLAMAV "Include mod_clamav " off
d225 1
d233 14
d273 8
@


1.125
log
@- Fix issue, if compiled with both base and port versions of openssl
installed, mod_tls will fail to load.
- Bump portrevision

PR:		ports/119243
Submitted by:	Joe Horn <joehorn@@gmail.com>
Approved by:	linimon (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.124
log
@- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
  issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports

Approved by:	portmgr (pav)
Security:	CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
@
text
@d10 1
a10 1
PORTREVISION=	4
a189 1
CFLAGS+=	-DHAVE_OPENSSL
d191 2
a192 1
PROFTPD_LIBS+=	-lssl -lcrypto -L${LOCALBASE}/lib
@


1.123
log
@- Bug fix mod_clamav
- Bump portrevision

Fix:
correction mod_clamav.c str. 158, 167, 169
error: "/home/ftp/incoming//incoming/test.com: lstat() failed. ERROR"

Submitted by:	Roman <netadmin@@sun-nsk.com>
Approved by:	linimon (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	3
d220 1
a220 1
LIB_DEPENDS+=	clamav.2:${PORTSDIR}/security/clamav
@


1.122
log
@- Fix connect stops with Sig11 on FreeBSD AMD64
- Remove option --enable-builtin-getnameinfo
- Add README docs
- Bump portrevision

Submitted by:	http://bugs.proftpd.org/show_bug.cgi?id=3000
Approved by:	portmgr (linimon, mentor)
@
text
@d10 1
a10 1
PORTREVISION=	2
d217 1
a217 1
DISTFILES+=	mod_clamav-0.5.tar.bz2:clam
@


1.121
log
@- Add vendor patch to fix bug - Authoritative PAM is not honored
- Bump portrevision

Reported by: TJ Saunders <tj@@castaglia.org> (developer)

Approved by:	sat (mentor, implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
d33 4
a36 1
PORTDOCS=	${PORTDOCSdoc} ${PORTDOCScontrib}
a55 1
		--enable-builtin-getnameinfo \
d278 1
@


1.120
log
@- Update to 1.3.1 Final

- Bugfixes:
- Fixed compilation error in mod_sql_mysql.
- Fixed handling of the --ipv4 and --ipv6 command-line options.
- Fixed "directory not accessible" errors when using the mod_facl
  module.
- Patches integrated upstream.

Approved by:	sat (mentor), portmgr (linimon)
@
text
@d10 1
@


1.119
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d9 1
a9 2
DISTVERSION=	1.3.1rc3
PORTREVISION=	6
a164 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-contrib-mod_ldap.c
@


1.118
log
@- Add patch to fix build.

Approved by:	sat (maintainer)
Obtained from:	TJ Saunders <tj@@castaglia.org> (developer)
@
text
@d10 1
a10 1
PORTREVISION=	5
d46 1
a46 1
USE_AUTOTOOLS=	autoconf:259
@


1.117
log
@ - Switch mod_tls and mod_radius as default on

Approved by:	beech on irc
@
text
@d219 1
a219 1
LIB_DEPENDS+=   clamav.2:${PORTSDIR}/security/clamav
@


1.116
log
@- Add support for clamav
- Fix ldap support

PR:		ports/115752, ports/115867
Submitted by:	Vladimir Korkodinov <viper@@perm.raid.ru> (ports/115752),
		Thomas Vogt <thomas@@bsdunix.ch> (ports/115867)
Approved by:	sat (mantor)
@
text
@d61 1
a61 1
		OPENSSL "Include mod_tls" off \
d71 1
a71 1
		RADIUS "Include mod_radius" off \
@


1.115
log
@- Add vendor patch to address dirtree issue.
- Bump portrevision

Obtained from: TJ Saunders <tj@@castaglia.org> (proftpd developer)
@
text
@d10 1
a10 1
PORTREVISION=	4
d18 3
a20 1
		http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/
d58 1
a58 1
		LDAP_TLS "Use LDAP TLS (Requires LDAP)" off\
d66 1
a66 1
		CTRLS "include controls" off \
d69 2
a70 2
		WRAP_FILE "include mod_wrap2_file" off \
		WRAP_SQL "include mod_wrap2_sql" off \
d73 1
a73 1
		BAN "include mod_ban (Requires CTRLS)" off \
d75 2
a76 1
		CYRFIX "Use patch for fix cyrillic encoding" off
d166 1
a192 3
.if defined(WITH_LDAP_TLS)
EXTRA_PATCHES+=	${FILESDIR}/extra_patch-ldap-tls-mod_ldap.c
.endif
d214 10
d246 5
d255 4
@


1.114
log
@- Remove mod_codeconv
- Patch reviewed upstream. Not compatible with 1.3.1rc3. Duplicates and
  conflicts with utf8 functionality

PR:		ports/114502
Approved by:	sat (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.113
log
@- Remove pkg-message (no longer valid).

Reported by:	Hartleigh Burton <hburton@@mraentertainment.com> (user)
Approved by:	sat (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	2
d73 1
a73 2
		CYRFIX "Use patch for fix cyrillic encoding" off \
		CODECONV "Use charset conversion (mod_codeconv)" off
a212 9
.if defined(WITH_CODECONV)
USE_ICONV=	YES
MODULES:=${MODULES}:mod_codeconv
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
CONFIGURE_ARGS+=	--disable-sendfile
PROFTPD_LIBS+=	-liconv -L${LOCALBASE}/lib
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-mod-codeconv
.endif

@


1.112
log
@- Fix extra-patch-mod-codeconv
- Bump portrevision

PR:		ports/114502
Reported by:	Oleg Gawriloff <barzog@@telecom.by>
Approved by:	sat (mentor)
@
text
@a271 3
.if !defined(WITHOUT_PAM)
	@@${CAT} ${PKGMESSAGE}
.endif
@


1.111
log
@- Fix pkg-plist
- Tweak Makefile

Reported by:	pointyhat via pav
Approved by:	sat (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d218 1
@


1.110
log
@- Update to 1.3.1r3
- Remove patches integrated upstream
- Makefile cleanup
- Bugfixes:

    Fixed segfault which can occur if NLST is used twice, the first time
    on a path which does not exist.

    Fixed reporting of addresses via EPSV for IPv6 addresses.

    Fixes occurrences of "ai_family not supported" for inetd-run
    proftpd daemons.

    DisplayLogin, DisplayQuit, and DisplayTransferFiles files now work
    regardless of whether the session process is chrooted.

Approved by:	sat (mentor)
@
text
@d10 1
a170 3
PLIST_SUB+=	MYSQL=""
.else
PLIST_SUB+=	MYSQL="@@comment "
d182 1
d205 1
@


1.109
log
@- Add master_sites mirrors.
- Change maintainer address.

Approved by:	sat (mentor)
@
text
@d9 1
a9 2
DISTVERSION=	1.3.1rc2
PORTREVISION=	4
d32 9
d49 1
a49 1
		--sysconfdir=${EXAMPLESDIR}/etc \
d246 1
a246 1
	${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in
d248 1
a253 1
	${REINPLACE_CMD} -e 's:${EXAMPLESDIR}:${PREFIX}:' ${WRKSRC}/config.h
d261 1
a261 4
	@@if [ ! -f ${PREFIX}/etc/proftpd.conf ]; then \
	${CP} -p ${EXAMPLESDIR}/etc/proftpd.conf ${PREFIX}/etc/proftpd.conf ; \
    fi

d263 7
a269 7
	@@${MKDIR} ${PREFIX}/share/doc/proftpd
.for f in ${PORTDOCSdoc}
	@@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/proftpd
.endfor
.for f in ${PORTDOCScontrib}
	@@${INSTALL_DATA} ${WRKSRC}/doc/contrib/${f} ${PREFIX}/share/doc/proftpd
.endfor
a270 1

a273 1

d275 2
a276 2
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ftpdctl
	@@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${PREFIX}/man/man8/ftpdctl.8
@


1.108
log
@- Fix plist in case mod_wrap2 is disabled

Reported by:	pav
Submitted by:	Beech Rintoul <freebsd@@alaskaparadise.com> (maintainer)
@
text
@d17 2
a18 2
		ftp://ftp.ethereal.com/mirrors/ftp.proftpd.org/distrib/source/ \
		ftp://mirror.cybercomm.nl/pub/proftpd/distrib/source/
d20 1
a20 1
MAINTAINER?=	beech@@alaskaparadise.com
@


1.107
log
@- Fix build with sql enabled
- Bump portrevision

PR:		ports/112551
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
Reported by:	T.J. Saunders
Approved by:	portmgr (erwin)
@
text
@d89 1
@


1.106
log
@- Allow support for MYSQL and PGSQL to be selected simultaneously

PR:		ports/111307 (based on)
Submitted by:	Dmitry A Grigorovich <odip@@bionet.nsc.ru>
Approved by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
d174 1
a174 1
MODULES:=${MODULES}:mod_sql
@


1.105
log
@- Use built-in getnameinfo

PR:		ports/110739 [1], ports/110742 [2]
Submitted by:	Adam Jacob Muller <Adam@@mail.adam.gs> [1]
		Beech Rintoul <beech@@alaskaparadise.com> (maintainer) [2]
@
text
@d49 1
a49 1
		POSTGRESQL "Use Postgres" off \
d158 1
a158 1
MODULES:=${MODULES}:mod_sql:mod_sql_mysql
d166 1
a166 1
.if defined(WITH_POSTGRESQL)
d168 1
a168 1
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
d173 4
d200 1
a200 1
.if defined(WITH_POSTGRESQL) || defined(WITH_MYSQL)
@


1.104
log
@- Fix problem when WITH_CODECONV option is enabled

PR:		ports/109932
Submitted by:	Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
Approved by:	maintainer (Beech Rintoul)
@
text
@d42 1
@


1.103
log
@- Convert one patch to sed magic

Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d201 1
d203 1
@


1.102
log
@- Add mode_codeconv patches and option into Makefile
  (mod_codeconv allow change filename's charsets "on the fly")
- Add "Cyrrilic charset fix" patch and option into Makefile
- Fix mode_nls patch problems
- Bump PORTREVISION

PR:             108244
Submitted by:   Denis Barov<dindin@@freebsd.org.ua>
Approved by:    maintainer
@
text
@a135 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-nls-Makefile.in
d228 5
@


1.101
log
@- Add autoconf:259 to fix on build cluster.
- Bump PORTREVISION for depends change

PR:		108231
Submitted by:	Beech Rintoul (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
d35 2
a36 2
USE=AUTOTOOLS=	autoconf:259
GNU_CONFIGURE=yes
d62 3
a64 1
		NLS "Use nls (builds mod_lang)" off
a71 5
.if ${OSVERSION} < 500000
CONFIGURE_ARGS+=	--without-getopt
USE_AUTOTOOLS=	autoconf:259
.endif

d139 4
d201 6
@


1.100
log
@- Fix build with mysql
- Bump PORTREVISION

PR:		108055
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d35 1
@


1.99
log
@Update to 1.3.1rc2

PR:		ports/107974
Submitted by:	Beech Rintoul (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	0
d157 1
a157 1
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
@


1.98
log
@*Bumped PORTREVISION
*Added combined patch-contrib-mod_sql.c
 Addresses distributor bugs #2828 & #2869 -
 mod_sql botches WHERE clauses and Support variables in SQL WHERE directives.
*Added include/proftpd/mod_sql.h to pkg-plist

PR:		107416
Submitted by:	"Beech Rintoul" <beech@@alaskaparadise.com> (maintainer)
@
text
@d9 2
a10 2
DISTVERSION=	1.3.1rc1
PORTREVISION=	3
@


1.97
log
@- Fixed Makefile to not overwrite proftpd.conf

PR:		ports/107379
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
d61 1
a61 1
		NLS "Use nls-builds mod_lang" off
d159 3
d233 3
a235 2
	[ -f ${PREFIX}/etc/proftpd.conf ] || \
		${CP} ${EXAMPLESDIR}/etc/proftpd.conf ${PREFIX}/etc/proftpd.conf.sample
@


1.96
log
@- Fixed Makefile
- Added patch - patch-getopt.c (Upgrades lib/getopt.c to version 1.4
- Bumped PORTREVISION

PR:		ports/107221
                ports/107107
                ports/105947
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
                Johan Svensson<johan@@loxley.se>
                Matus UHLAR - fantomas<uhlar@@fantomas.sk>
@
text
@d10 1
a10 1
PORTREVISION=	1
d231 1
a231 1
		${CP} ${EXAMPLESDIR}/etc/proftpd.conf ${PREFIX}/etc/proftpd.conf
@


1.95
log
@- Fix INDEX build on 4.x.
- Remove BROKEN, since it compiles.

Noticed by:	Dan Langille
@
text
@d10 1
a57 1
		LANG "include mod_lang" off \
d61 1
a61 1
		NLS "Use nls" off
a111 4
.if defined(WITH_LANG)
MODULES:=${MODULES}:mod_lang
.endif

d136 3
d142 1
a142 1
MODULES?=	mod_ratio:mod_readme:mod_rewrite:mod_wrap:mod_ifsession
@


1.94
log
@- Update to 1.3.1-rc1

PR:		ports/106821
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d64 2
a252 4
.if ${OSVERSION} < 500000
BROKEN=		Does not compile on 4.x
.endif

@


1.93
log
@Add two security patches:
	patch-support.c: fixes CVE-2006-5815 remote code execution
	patch-mod_tls.c: fixes Bug#2860 Failure to check for data
			 length in mod_tls could lead to remote
			 buffer overwriting.

Submitted by:	maintainer
PR:		ports/106623
@
text
@d9 1
a9 2
DISTVERSION=	1.3.0
PORTREVISION=	5
d28 2
a29 1
		mod_tls.html mod_wrap.html ftpasswd.html
a32 1
GNU_CONFIGURE=	yes
d34 1
d52 1
d54 8
a61 2
		WRAP "Include mod_wrap" on \
		RADIUS "Include mod_radius" off
a68 1
EXTRA_PATCHES=	${FILESDIR}/extra_patch-configure.in
d85 15
a99 1
MODULES:=${MODULES}:mod_wrap
d106 12
d134 6
d251 4
@


1.92
log
@- Fix the last imported patch (which came from proftpd's CVS repo),
  as it was causing segfaults prior to login.
- Add the new CommandBufferSize variable into the default config file to
  stop proftpd complaining.

Reported by:	many
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.91
log
@Add a patch from CVS to fix a security vulnerability.

PR:		ports/105510
Submitted by:	Alex Samorukov <samm@@os2.kiev.ua>
Approved by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
Security:	VuXML cca97f5f-7435-11db-91de-0008743bf21a
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.90
log
@- Allow a couple vars to be overridden from a slave port

PR:		ports/104452
Submitted by:	Denis Barov <dindin@@freebsd.org.ua>
Approved by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer timeout, 17 days)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.89
log
@- pet portlint(1)

PR:		ports/101337
Submitted by:	Beech Rintoul <beech at alaskaparadise.com> (maintainer)
@
text
@d105 2
a106 2
INCLUDEDIRS=
LIBDIRS=
@


1.88
log
@Maintainer wants to use a different email adress.

PR:		99435
Submitted by:	maintainer
@
text
@a130 1
USE_OPENSSL=	yes
@


1.87
log
@- Fix build on FreeBSD 4.X

PR:		ports/97674
Submitted by:	Beech Rintoul <beech@@mangohealth.org> (maintainer)
@
text
@d20 1
a20 1
MAINTAINER?=	beech@@mangohealth.org
@


1.86
log
@- mark broken on 4.x if libgnugetopt is installed [1], [2]
- re-add LDAP TLS support [1]
- fix options handling [1]

PR:		ports/97369 [1], ports/97341 [2]
Reported by:	Frank Altpeter <frank@@altpeter.de> [2]
Submitted by:	maintainer [1]
Approved by:	lawrance (mentor)
@
text
@d61 3
a63 3
.if exists (${LOCALBASE}/include/getopt.h)
BROKEN=	Does not build when libgnugetopt is installed
.endif
d136 1
a136 1
EXTRA_PATCHES=${FILESDIR}/extra_patch-ldap-tls-mod_ldap.c
@


1.85
log
@Remove broken extra patch files/extra-patch-module-mod_ldap.c the patch itself
is actually repeated 3 times so it tries to reverse itself and fails. This patch
is only applied if the LDAP know is checked so it doesn't appear on all builds.

The patch itself defines TLS support in the LDAP module. There are two problems
with doing this. One, it breaks LDAP if the server doesn't support TLS. And two
it causes the build to fail on 4.x. The patch to do this was a requested option,
and isn't critical for most people.

The maintainer is going to add another option knob for LDAP_TLS support once the
4.x build problems are resolved.

PR:		96713
Submitted by:	Beech Rintoul <beech@@mangohealth.org> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d44 1
d56 2
d60 5
a64 1
MODULES?=
d66 1
a66 1
.if defined(WITH_RATIO)
d70 1
a70 1
.if defined(WITH_README)
d74 1
a74 1
.if defined(WITH_REWRITE)
d78 1
a78 1
.if defined(WITH_WRAP)
d98 1
a98 1
.if defined(WITHOUT_IPV6)
d135 3
d159 1
a159 1
.if defined(WITH_IFSESSION)
@


1.84
log
@- Update to version 1.3.0
- Fixed makefile syntax after ports/96141
-

PR:	ports/96630
Submitted by:	Beecher Rintoul <akbeech@@gmail.com>
Approved by:	Beech Rintoul <beech@@mangohealth.org> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	0
d55 2
a58 2
.include <bsd.port.pre.mk>

a127 4

.if defined(WITH_LDAP)
EXTRA_PATCHES=${FILESDIR}/extra-patch-module-mod_ldap.c
.endif
@


1.83
log
@Hand maintainership to submitter

PR:		96544
Submitted by:	beech@@mangohealth.org
Approved by:	mharo (previous maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.3.0rc3
a34 1
USE_REINPLACE=	yes
d55 1
a55 1
MODULES?=	
d128 4
@


1.82
log
@- Update to 1.3.0.rc3.
- Add SHA256 checksum.
- Remove patch-configure since it has been integrated in genuine configure script.
- Rename patch-af to patch-proftpd.8.in.

PR:		ports/88433
Submitted by:	Dmitry A Grigorovich <odip@@bionet.nsc.ru>
Approved by:	maintainer timeout (4 weeks)
@
text
@d20 1
a20 1
MAINTAINER?=	mharo@@FreeBSD.org
@


1.81
log
@- Add a patch to fix ipv6 dependancy.

PR:		ports/84607
Submitted by:	Max Campos <mcampos@@bpsw.biz>
Approved by:	maintainer timeout (2 months)
Obtained from:	ProFTPD Bug Tracking System
@
text
@d9 2
a10 2
DISTVERSION=	1.3.0rc2
PORTREVISION=	3
@


1.80
log
@86623
mod_ifsession should be the last in modules list
Matus UHLAR - fantomas <uhlar@@fantomas.sk>

85675
Add reload command to rc.d/proftpd.sh script
Patrick Gibson <patrick@@retrix.com>

85616
Added mod_radius
Boris Kovalenko <boris@@tagnet.ru>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.79
log
@Fix WITH_CTRLS option

PR:		80832
Submitted by:	Matus UHLAR - fantomas
@
text
@d10 1
a10 1
PORTREVISION=	1
d53 2
a54 1
		WRAP "Include mod_wrap" on
a59 4
.if defined(WITH_IFSESSION)
MODULES:=${MODULES}:mod_ifsession
.endif

d76 4
d97 1
a97 1
MODULES?=	mod_ifsession:mod_ratio:mod_readme:mod_rewrite:mod_wrap
d149 5
@


1.78
log
@Upgrade to 1.3.0rc2
@
text
@d10 1
a10 1
PORTREVISION=	0
d132 4
a135 2
MAN8+=		ftpdctl.8
.else
d194 5
@


1.77
log
@- Fix OpenSSL handling

PR:		ports/83141
Approved by:	maintainer timeout (19 days)
@
text
@d9 2
a10 2
PORTVERSION=	1.2.10
PORTREVISION=	3
d104 2
a105 2
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
d111 2
a112 2
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
d118 2
a119 2
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
d184 1
a184 1
	@@${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${PREFIX}/share/doc/proftpd
@


1.76
log
@- Fix bogus configuration file location introduced by latest commit.

PR:		ports/82612
Submitted by:	milan toth <admin@@yegon.sk>
Pointyhat to:	flz
@
text
@a100 5
.if defined(WITH_OPENSSL)
USE_OPENSSL=	yes
MODULES:=${MODULES}:mod_tls
.endif

d125 3
a127 1
PROFTPD_LIBS+=	-lssl -lcrypto
@


1.75
log
@- Use USE_RC_SUBR's true force.
- Use default do-install target.
- Install ftpdctl.
- Fix scoreboard issue.
- Move proftpd binary from ${PREFIX}/libexec/ to ${PREFIX}/sbin.

Approved by:	mharo
@
text
@d10 1
a10 1
PORTREVISION=	2
d170 1
@


1.74
log
@change --disable-pam to --disable-auth-pam in Makefile

PR:		80099
@
text
@d10 1
a10 1
PORTREVISION=	1
a18 1
DISTNAME=	${PORTNAME}-1.2.10
d25 1
a25 1
MAN8=	proftpd.8 ftpshut.8
d35 1
d37 1
a37 10
SED_SCRIPT=	-e 's|%%PREFIX%%|${PREFIX}|g'

USE_RC_SUBR=	yes
RC_DIR=		${PREFIX}/etc/rc.d
RC_SUFX=	.sh
SED_SCRIPT+=	-e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
		-e 's|%%RC_DIR%%|${RC_DIR}|g' \
		-e 's|%%RC_SUFX%%|${RC_SUFX}|g'
PLIST_SUB+=	RC_DIR=${RC_DIR} \
		RC_SUFX=${RC_SUFX}
d40 1
d170 2
a171 7
	@@${MV} ${WRKSRC}/Make.rules ${WRKSRC}/Make.rules.pre_sed
	@@${SED}	-e 's: -lnsl::' \
		< ${WRKSRC}/Make.rules.pre_sed > ${WRKSRC}/Make.rules

	@@${MV} ${WRKSRC}/src/proftpd.8 ${WRKSRC}/src/proftpd.8.pre_sed
	@@${SED}	-e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
		-e 's:/usr/sbin:${PREFIX}/sbin:' \
d173 2
a174 1
		< ${WRKSRC}/src/proftpd.8.pre_sed > ${WRKSRC}/src/proftpd.8
d176 3
a178 31
	@@${MV} ${WRKSRC}/utils/ftpshut.8 ${WRKSRC}/utils/ftpshut.8.pre_sed
	@@${SED}	-e 's:/usr/sbin:${PREFIX}/sbin:' \
		-e 's:/etc:/var/run:' \
		< ${WRKSRC}/utils/ftpshut.8.pre_sed > ${WRKSRC}/utils/ftpshut.8

	@@${MV} ${WRKSRC}/utils/ftpcount.1 ${WRKSRC}/utils/ftpcount.1.pre_sed
	@@${SED}	-e 's:/usr/bin:${PREFIX}/bin:' \
		< ${WRKSRC}/utils/ftpcount.1.pre_sed > ${WRKSRC}/utils/ftpcount.1

post-build:
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/proftpd.sh > ${WRKSRC}/proftpd.sh

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpcount ${PREFIX}/bin/ftpcount
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpwho ${PREFIX}/bin/ftpwho
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftptop ${PREFIX}/bin/ftptop
	@@${INSTALL_PROGRAM} ${WRKSRC}/proftpd ${PREFIX}/libexec/proftpd
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpshut ${PREFIX}/sbin/ftpshut
	@@${INSTALL_MAN} ${WRKSRC}/utils/ftpcount.1 ${PREFIX}/man/man1/ftpcount.1
	@@${INSTALL_MAN} ${WRKSRC}/utils/ftpwho.1 ${PREFIX}/man/man1/ftpwho.1
	@@${INSTALL_MAN} ${WRKSRC}/utils/ftptop.1 ${PREFIX}/man/man1/ftptop.1
	@@${INSTALL_MAN} ${WRKSRC}/src/xferlog.5 ${PREFIX}/man/man5/xferlog.5
	@@${INSTALL_MAN} ${WRKSRC}/utils/ftpshut.8 ${PREFIX}/man/man8/ftpshut.8
	@@${INSTALL_MAN} ${WRKSRC}/src/proftpd.8 ${PREFIX}/man/man8/proftpd.8
	@@${INSTALL_DATA} \
		${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf.default
	@@if [ ! -f ${PREFIX}/etc/proftpd.conf ]; then \
		${INSTALL_DATA} \
		${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
	fi
	@@${INSTALL_SCRIPT} ${WRKSRC}/proftpd.sh ${PREFIX}/etc/rc.d/proftpd${RC_SUFX}
@


1.73
log
@Split the postgresql ports into a server and a client part.

All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@@ (kris), ade & sean (mentors)
@
text
@d92 1
a92 1
CONFIGURE_ARGS+=	--disable-pam
@


1.72
log
@compile in more modules by default.

place all MODULES in OPTIONS
@
text
@d129 1
a129 2
POSTGRESQL_PORT?=	databases/postgresql7
LIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
@


1.71
log
@update MASTER_SITES

PR:		73977
Submitted by:	Jason Harris <jharris@@widomaker.com>
@
text
@d10 1
a10 1
PORTREVISION=	0
d51 36
d104 1
a104 1
MODULES?=	mod_ratio:mod_readme:mod_wrap
d173 2
d235 1
a235 1
.include <bsd.port.mk>
@


1.70
log
@update MASTER_SITE
@
text
@d13 6
a18 14
		ftp://ftp.stikman.com/pub/proftpd/ \
		ftp://ftp.empora.de/pub/mirrors/ftp.proftpd.org/ \
		ftp://ftp.fastorama.com/ \
		ftp://ftp.middle-earth.it/proftpd/ \
		ftp://ftp.dataguard.no/pub/proftpd/ \
		ftp://spirit.bentel.sk/mirrors/Proftpd/ \
		ftp://ftp.task.gda.pl/pub/proftpd/ \
		ftp://mirror1.dataphone.se/pub/ProFTPD/ \
		ftp://ftp.oss.eznetsols.org/proftpd/ \
		ftp://ftp.ccp14.ac.uk/ccp14/ftp-mirror/programming/proftpd/ \
		ftp://proftpd.networkedsystems.co.uk/ \
		ftp://www.linuxceptional.com/proftpd/ \
		ftp://ftp.ethereal.com/mirrors/ftp.proftpd.org/ \
		ftp://mirror.cybercomm.nl/
@


1.69
log
@fix a mistake with ctrls option

Submitted by:	Valerio Alliod <valerio.alliod@@ieio.vda.it>
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://ftp.proftpd.net/distrib/source/ \
@


1.68
log
@Upgrade to 1.2.10
@
text
@d115 1
a115 1
CFLAGS+=	--enable-ctrls
@


1.67
log
@add option to compile with support for quotas

PR:		68644
Submitted by:	Krzysztof Stryjek <wtp+proftpd@@bsdguru.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.10.r3
d27 1
a27 1
DISTNAME=	${PORTNAME}-1.2.10rc3
d69 4
@


1.66
log
@update to 1.2.10rc3
@
text
@d116 10
@


1.65
log
@Upgrade to 1.2.10rc1

Allow for slave ports
@
text
@d9 1
a9 1
PORTVERSION=	1.2.10.r1
d27 1
a27 1
DISTNAME=	${PORTNAME}-1.2.10rc1
d108 6
@


1.64
log
@WITH_POSTGRES -> WITH_POSTGRESQL

PR:		62557
Submitted by:	Ulrich Spoerlein <q@@uni.de>
@
text
@d9 2
a10 2
PORTVERSION=	1.2.9
PORTREVISION=	3
d26 2
a27 1
		ftp://mirror.cybercomm.nl/ \
d29 2
a30 2
MAINTAINER=	mharo@@FreeBSD.org
COMMENT=	Highly configurable ftp daemon
@


1.63
log
@Support WITH_OPENSSL

PR:		65006
Submitted by:	Jochen Gensch <incmc@@gmx.de>
@
text
@d95 1
a95 1
.if defined(WITH_POSTGRES)
@


1.62
log
@Add build knob WITH_IPV6 to enable IPV6 support.  Note that when
IPv6 is enabled IPv4 is not listened to by default.  You need
to update proftpd.conf if you want to support both.

Also, remove a substitution that was incorrectly 'fixing'
the manpage.
@
text
@a42 1
# USE_AUTOCONF_VER=213
d75 5
@


1.61
log
@Replace all known incantations of WANT_{AUTOMAKE,AUTOCONF,LIBTOOL}* with
the USE_<x> equivalents.  In the current scheme of things, the WANT_
variables in this case are synonymous with the USE_ ones, and thus need
to be exterminated.

First in a series of major autotools cleanups.
@
text
@d10 1
a10 1
PORTREVISION=	2
d67 4
d129 1
a129 2
	@@${SED}	-e 's:/etc:${PREFIX}/etc:' \
		-e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
@


1.60
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d43 1
a43 2
# WANT_AUTOCONF_VER=213
# USE_AUTOCONF=	yes
@


1.59
log
@ProFTPd port does not install docs for optional modules

	The ftp/proftpd port creates /usr/local/share/doc/proftpd and
	installs the two HTML files from ProFTPd's docs directory
	into it.  But it doesn't copy the html files from the contrib
	directory which describe the optional modules (mod_tls,
	mod_radius, etc.) and their configuration options.

Also moved the portdocs to the PORTDOCS environment variable.

PR:		ports/56511
Submitted by:	Pat Lashley <patl+freebsd@@volant.org>
Reviewed by:	maintainer timeout
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.58
log
@Update mastersites and portlint
@
text
@d10 1
d35 5
d163 1
d166 6
a171 2
	@@${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
	@@${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${PREFIX}/share/doc/proftpd
@


1.57
log
@58774 Andrew J. Caines <A.J.Caines@@halplant.com>
upgrade to 1.2.9

58415 Melvyn Sopacua <mdev@@idg.nl>
add WITH_OPENSSL

57385 Martin Matuska <martin@@tradex.sk>
adds rc_subr support

54783 Bruce M Simpson <bms@@spc.org>
Ability to support multiple versions MYSQL and LDAP using the WITH_*
variables.
I ended up using the stuff provided in bsd.port.mk with his patches
@
text
@d12 14
a25 3
		ftp://ftp.stikman.com/pub/proftpd/source/ \
		ftp://ftp.dataguard.no/pub/proftpd/distrib/source/ \
		ftp://ftp.club-internet.fr/pub/mirrors/ftp.proftpd.org/distrib/source/
d98 1
a98 1
 
d100 1
a100 1
CONFIGURE_ARGS+= --with-modules=${MODULES}
d104 1
a104 1
CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS}
d108 1
a108 1
CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
a136 1

@


1.56
log
@Update to fix vulnerability in proftpd

Submitted by:	osa
Approved by:	portmgr (marcus)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.8
PORTREVISION=	1
a14 2
DISTNAME=	${PORTNAME}-${PORTVERSION}p
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d29 11
d58 1
a59 1
BUILD_DEPENDS+=	${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap12
d65 1
a66 1
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
d73 1
a74 1
LIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
d79 9
d124 4
d146 1
a146 1
	@@${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/proftpd.sh.sample > ${PREFIX}/etc/rc.d/proftpd.sh.sample
@


1.55
log
@Mark FORBIDDEN due to remotely exploitable vulnerability.
http://xforce.iss.net/xforce/alerts/id/154
@
text
@d10 1
d16 2
a17 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
a20 2

FORBIDDEN=	Remotely exploitable vulnerability.  http://xforce.iss.net/xforce/alerts/id/154
@


1.54
log
@Update 1.2.6 -> 1.2.8

PR:		ports/50031
Supersedes:	ports/44498, ports/46189, ports/47134, ports/48071,
		ports/48096, ports/48966
Submitted by:	Randy Philipp <randy@@umbc.edu>
@
text
@d20 2
@


1.53
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
d15 1
a15 1
DISTNAME=	${PORTNAME}-1.2.6
d20 1
a20 1
MAN1=	ftpcount.1 ftpwho.1
d26 3
a28 1
USE_BZIP2=	YES
d65 1
a65 1
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
d96 1
a96 1
	@@${MV} ${WRKSRC}/src/ftpshut.8 ${WRKSRC}/src/ftpshut.8.pre_sed
d99 1
a99 1
		< ${WRKSRC}/src/ftpshut.8.pre_sed > ${WRKSRC}/src/ftpshut.8
d101 1
a101 1
	@@${MV} ${WRKSRC}/src/ftpcount.1 ${WRKSRC}/src/ftpcount.1.pre_sed
d103 1
a103 1
		< ${WRKSRC}/src/ftpcount.1.pre_sed > ${WRKSRC}/src/ftpcount.1
d108 1
d111 3
a113 2
	@@${INSTALL_MAN} ${WRKSRC}/src/ftpcount.1 ${PREFIX}/man/man1/ftpcount.1
	@@${INSTALL_MAN} ${WRKSRC}/src/ftpwho.1 ${PREFIX}/man/man1/ftpwho.1
d115 1
a115 1
	@@${INSTALL_MAN} ${WRKSRC}/src/ftpshut.8 ${PREFIX}/man/man8/ftpshut.8
@


1.52
log
@Point dependencies on net/openldap to net/openldap12
@
text
@d18 1
@


1.51
log
@fix typo in Makefile (remove redundant backslash)

PR:		48583
Submitted by:	Dmitry Panov <redfox@@Fluffy.Khv.RU>
@
text
@d46 1
a46 1
BUILD_DEPENDS+=	${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap
@


1.50
log
@Chase libpq version bump.
@
text
@d61 1
a61 1
LIB_DEPENDS+=	pq.3:\${PORTSDIR}/${POSTGRESQL_PORT}
@


1.49
log
@make pgsql support work again

PR:		43741
Submitted by:	Rong-en Fan <rafan@@infor.org>
Approved by:	maintainer (mharo) timeout (1 month)
@
text
@d59 1
d61 2
a62 2
LIB_DEPENDS+=	pq.2:\${PORTSDIR}/databases/postgresql7
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
@


1.48
log
@update to 1.2.6
@
text
@d61 1
a61 1
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
@


1.47
log
@update to 1.2.5
@
text
@d9 1
a9 1
PORTVERSION=	1.2.5
d15 1
a15 1
DISTNAME=	${PORTNAME}-1.2.5
d24 1
a24 1
USE_AUTOCONF=	yes
d39 1
a39 1
MODULES?=	mod_ratio:mod_readme:mod_quota:mod_wrap
@


1.46
log
@Make this play nice with PAM.

Approved by:	maintainer timeout
@
text
@d9 1
a9 2
PORTVERSION=	1.2.4
PORTREVISION=	1
d15 1
d81 4
d121 1
a121 1
	@@${INSTALL_DATA} ${WRKSRC}/doc/FAQ-config.html ${PREFIX}/share/doc/proftpd
@


1.45
log
@update to 1.2.4
@
text
@d10 1
@


1.44
log
@Upgrade to 1.2.3
@
text
@d9 1
a9 1
PORTVERSION=	1.2.3
@


1.43
log
@ - update to 1.2.2 final release
 - add postgres support
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.42 2001/06/20 10:07:27 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.2
d28 4
@


1.42
log
@update to 1.2.2rc3
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.41 2001/05/31 19:28:27 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.2rc3
d51 7
@


1.41
log
@Update to 1.2.2rc2

PR:		27344
Submitted by:	    David W. Chapman Jr. <dwcjr@@inethouston.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.40 2001/05/31 19:23:18 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.2rc2
@


1.40
log
@fix build with LDAP and MYSQL support

PR:		27431
Submitted by:	Josh Elsasser <josh@@elsasser.org>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.39 2001/03/29 19:56:45 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.2rc1
d11 1
a11 1
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
@


1.39
log
@update to 1.2.2rc1 - this version fixes the DOS bug in 1.2.1
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.38 2001/03/15 23:35:56 mharo Exp $
a17 6
.if defined(WITH_LDAP)
MASTER_SITES+=	http://www.horde.net/~jwm/software/proftpd-ldap/
MOD_LDAP=	mod_ldap-2.7.4.tar.bz2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${MOD_LDAP}
.endif

d36 3
d42 2
a43 1
CONFIGURE_ENV+=	CFLAGS="-I/usr/local/include -g" LDFLAGS=-L/usr/local/lib
d49 2
a50 1
CONFIGURE_ENV+=	CFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib/mysql"
d57 6
a62 4
.if defined(WITH_LDAP)
post-extract:
	${RM} -rf ${WRKSRC}/contrib/mod_ldap.c
	tar --to-stdout -xvz -f ${DISTDIR}/${MOD_LDAP} */mod_ldap.c > ${WRKSRC}/contrib/mod_ldap.c
@


1.38
log
@Mark forbidden

Specefic remote commands will cause the daemon process starts to consume
all CPU and memory resources available to it.  Multiple simultaneous
instances will result in faster depletion of resources, causing either
the daemon process or the server to crash.

(http://bugs.proftpd.org/show_bug.cgi?id=1066)
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.37 2001/03/07 00:33:55 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.1
a16 2

FORBIDDEN=	"Security vulnerability - check back in a few days"
@


1.37
log
@portlint
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.36 2001/03/07 00:32:00 mharo Exp $
d17 2
@


1.36
log
@Update to 1.2.1

* Update master sites
* Use bzip2 distfiles instead of gzip
* Add WITHOUT_PAM support.
* Add the quota and wrap (TCP Wrappers support) modules.

Submitted by:	Anders Nordby <anders@@fix.no>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.35 2001/02/11 21:26:52 mharo Exp $
d43 1
a43 1
MODULES:=$(MODULES):mod_ldap
d49 1
a49 1
MODULES:=$(MODULES):mod_sql:mod_sql_mysql
d60 1
a60 1
	rm -rf ${WRKSRC}/contrib/mod_ldap.c
@


1.35
log
@update to 1.2.0rc3

Submitted by:	Anders Nordby <anders@@fix.no>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.34 2001/01/21 15:40:39 dirk Exp $
d9 1
a9 1
PORTVERSION=	1.2.0rc3
d11 4
a14 5
MASTER_SITES=	ftp://ftp.tos.net/pub/proftpd/ \
		ftp://ftp.stikman.com/pub/proftpd/ \
		ftp://ftp.linux.co.uk/pub/packages/proftpd/ \
		ftp://ftp.drenik.net/linux/ftp/proftpd/
DISTNAME=	${PORTNAME}-1.2.0rc3
d20 1
a20 1
MOD_LDAP=	mod_ldap-2.7.4.tar.gz
d30 1
d35 4
d40 1
a40 1
MODULES?=	mod_ratio:mod_readme
a47 5
# Currently not supported by the ProFTPd project, but it's patched in with
# bugfixes as well. For myself (anders@@fix.no):
# patch-bc: bugid 330 (cached passwords not cleared properly)
# patch-bd: bugid 405 (sqlauthorative broken)
# patch-be: bugid 457 (speed improvement)
d49 1
a49 1
MODULES:=$(MODULES):mod_sqlpw:mod_mysql
d51 1
a51 1
CONFIGURE_ENV+=	CFLAGS="-I${PREFIX}/include/mysql" LDFLAGS="-L${PREFIX}/lib/mysql"
d107 1
d109 1
@


1.34
log
@Switch from mysql322-{client,server} to mysql323-{client,server}.

mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.33 2000/12/16 04:33:48 mharo Exp $
d9 1
a9 2
PORTVERSION=	1.2.0rc2
PORTREVISION=	1
d15 1
a15 1
DISTNAME=	${PORTNAME}-1.2.0rc2
d21 2
a22 2
MOD_LDAP=	mod_ldap-2.6.1.tar.gz
DISTFILES=	${DISTNAME}.${EXTRACT_SUFX} ${MOD_LDAP}
d36 1
a36 1
MODULES?=	mod_ratio:mod_readme:mod_tar
d44 5
@


1.33
log
@Add MYSQL support

PR:		23452
Submitted by:	    Anders Nordby <anders@@fix.no>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.32 2000/11/24 23:06:16 mharo Exp $
d47 1
a47 1
LIB_DEPENDS+=	mysqlclient.6:${PORTSDIR}/databases/mysql322-client
@


1.32
log
@bump PORTREVISION

Submitted by:	kkenn
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.31 2000/11/24 22:40:01 mharo Exp $
d43 6
@


1.31
log
@LDAP support for proftpd

PR:		19812
Submitted by:	    Jimmy Olgeni <Jimmy Olgeni <olgeni@@uli.it>>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.30 2000/11/24 22:29:11 mharo Exp $
d10 1
@


1.30
log
@add mod_tar

PR:		20356
Submitted by:	    Dmitry S. Sivachenko <dima@@Chg.RU>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.29 2000/11/24 22:23:38 mharo Exp $
d19 6
d38 6
d46 6
@


1.29
log
@Add docs to ftp/proftpd.

PR:		22736
Submitted by:	    Dominic Mitchell <hdm@@mistral.co.uk>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.28 2000/07/28 18:00:59 mharo Exp $
d29 2
a30 1
MODULES?=	mod_ratio:mod_readme
@


1.28
log
@Update to proftpd 1.2.0rc2
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.27 2000/07/07 09:35:20 kris Exp $
d72 5
@


1.27
log
@Mark FORBIDDEN: yet another remote root exploit.
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.26 2000/04/12 05:31:21 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.2.0p10
d15 1
a15 1
DISTNAME=	${PORTNAME}-1.2.0pre10
a17 2

FORBIDDEN=	"Remote root hole, exploitable anonymously"
@


1.26
log
@PORTNAME/PORTVERSION stuff
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.25 2000/02/18 18:24:31 mharo Exp $
d18 2
@


1.25
log
@compile with mod_readme by default

Submitted by:	Dmitry Sivachenko <dima@@Chg.RU>
@
text
@a1 1
# Version required:	1.2.0pl10
d5 1
a5 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.24 2000/01/28 07:35:12 mharo Exp $
d8 2
a9 2
DISTNAME=	proftpd-1.2.0pre10
PKGNAME=	proftpd-1.2.0p10
d15 1
@


1.24
log
@Update to pre10
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.23 1999/12/22 18:05:00 mharo Exp $
d29 1
a29 1
MODULES?=	mod_ratio
@


1.23
log
@add more mastersites, disable use of sendfile until bugs are fixed
with it and include updates from proftpd cvs repository.
@
text
@d2 1
a2 1
# Version required:	1.2.0pl9
d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.22 1999/12/05 19:29:51 mharo Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.2.0pre9
PKGNAME=	proftpd-1.2.0p9
d14 2
a15 2
		ftp://ftp.linux.co.uk:/pub/packages/proftpd/ \
		ftp://ftp.drenik.net:/linux/ftp/proftpd/
@


1.22
log
@update to 1.2.0p9
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.21 1999/10/11 04:41:53 mharo Exp $
d12 4
a15 1
MASTER_SITES=	ftp://ftp.tos.net/pub/proftpd/
d26 2
a27 1
CONFIGURE_ARGS=	--localstatedir=/var/run
d31 1
d33 1
@


1.21
log
@- install ftpwho
- install xferlog.5 manpage
- create /var/run/proftpd in the rc.d startup script so that it will
  be recreated during the next boot.
@
text
@d2 1
a2 1
# Version required:	1.2.0pl8
d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.20 1999/10/10 07:10:39 mharo Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.2.0pre8
PKGNAME=	proftpd-1.2.0p8
d23 8
a30 2
CONFIGURE_ARGS=	--localstatedir=/var/run \
		--with-modules=mod_ratio
d51 1
a51 1
	@@(cd ${PREFIX}/bin && ${LN} -s ftpcount ftpwho)
@


1.20
log
@- add a startup script for use with standalone mode
- don't install config files as scripts
- strip binary on install
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.19 1999/10/10 06:40:17 mharo Exp $
d16 2
a17 1
MAN1=	ftpcount.1
a42 1
#STRIP=
a43 1
	@@${MKDIR} /var/run/proftpd
d45 1
d49 2
@


1.19
log
@update to 1.2.0pre8
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.18 1999/09/28 07:30:13 mharo Exp $
d42 1
a42 1
STRIP=
d44 1
d51 1
a51 1
	@@${INSTALL_SCRIPT} \
d54 1
a54 1
		${INSTALL_SCRIPT} \
d57 1
@


1.18
log
@Update to pre7
@
text
@d2 1
a2 1
# Version required:	1.2.0pl7
d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.17 1999/09/18 07:56:36 mharo Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.2.0pre7
PKGNAME=	proftpd-1.2.0p7
@


1.17
log
@Update to pre6 which increases security.
@
text
@d2 1
a2 1
# Version required:	1.2.0pl3
d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.16 1999/09/10 16:18:42 mharo Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.2.0pre6
PKGNAME=	proftpd-1.2.0p6
@


1.16
log
@Mark port as forbidden due to security problems.  With any luck
the new release will come out today.
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/proftpd/Makefile,v 1.15 1999/08/25 05:55:22 obrien Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.2.0pre3
PKGNAME=	proftpd-1.2.0
d12 1
a12 6
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/ \
		ftp://ftp3.proftpd.org/distrib/

PATCH_SITES=	ftp://ftp.tos.net/pub/proftpd/
PATCHFILES=	proftpd-1.2.0pre3a.patch.gz
PATCH_DIST_STRIP= -p1
d20 1
a20 1
GNU_CONFIGURE=	yes
a24 2
FORBIDDEN=	security problems

d56 2
@


1.15
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d29 2
@


1.14
log
@update to 1.2.0pre3a

Submitted by: Jeremy Chadwick yoshi@@parodius.com
PR: 		13230
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1999/08/02 10:43:56 asami Exp $
@


1.13
log
@Change "net" -> "ftp".
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.12 1999/04/22 16:01:10 mharo Exp $
d15 4
d47 1
d55 2
d59 1
a59 1
	${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
@


1.12
log
@Change MAINTAINER email address to mharo@@FreeBSD.org and add
an additional MASTER_SITE
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1999/04/09 17:25:44 obrien Exp $
d11 1
a11 1
CATEGORIES=	net
@


1.11
log
@Found a maintainier.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1999/04/03 00:50:18 steve Exp $
d12 2
a13 1
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/
d15 1
a15 1
MAINTAINER=	mharo@@area51.fremont.ca.us
@


1.10
log
@Maintainer asked to be removed.

PR:		9989
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1999/04/02 03:35:02 steve Exp $
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.9
log
@Update to version 1.2.0pre3.

PR:		10830
Submitted by:	Micahel Haro <mharo@@area51.fremont.ca.us>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1999/03/15 02:13:32 steve Exp $
d14 1
a14 1
MAINTAINER=	stephane@@lituus.fr
@


1.8
log
@Update to version 1.2.0pre2.

PR:		10186
Submitted by:	Michael Haro <mharo@@area51.fremont.ca.us>
@
text
@d2 1
a2 1
# Version required:	1.0.3pl1
d6 1
a6 1
# $Id: Makefile,v 1.7 1999/02/12 21:55:04 obrien Exp $
d9 1
a9 1
DISTNAME=	proftpd-1.2.0pre2
d23 1
a23 1
			--with-modules=mod_ratio
a25 1

a42 1

@


1.7
log
@add buffer overflow vulnerability reduction patch

Submitted by:	Michael <mharo@@area51.fremont.ca.us>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/12/17 10:43:52 asami Exp $
d9 1
a9 1
DISTNAME=	proftpd-1.2.0pre1
a12 4

PATCH_SITES=	ftp://ftp.proftpd.org/patches/
PATCHFILES=	proftpd-1.2.0pre1-path_exploit3.patch
PATCH_DIST_STRIP=	-p1
@


1.6
log
@No need to use += for variable defined only once.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/12/14 22:13:37 billf Exp $
d13 4
@


1.5
log
@Upgrade to 1.2.0, and associated changes.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1998/07/02 11:06:26 vanilla Exp $
d22 1
a22 1
CONFIGURE_ARGS+=	--localstatedir=/var/run \
@


1.4
log
@Enabling anonymous ftp in proftpd can be confusing with the average setup
PR:		ports/6982
Submitted by:	Bill Fumerola <billf@@chc-chimes.com>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/06/14 15:56:40 steve Exp $
d9 2
a10 2
DISTNAME=	proftpd-1.0.3pl1
PKGNAME=	proftpd-1.0.3
d16 1
a16 1
MAN1=	ftpwho.1 ftpcount.1
d22 2
a23 6
#
# - "configure --prefix=..." doesn't seem to work :(
#   do a "sed" to set prefix to $PREFIX
#
# - do a "sed" to set the config dir to ${PREFIX}/etc
#
a25 8
	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
	${SED}	-e "s:^prefix=\/usr:prefix=${PREFIX}:" \
		-e "s:^etcdir=\/etc:etcdir=${PREFIX}\/etc:" \
		< ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile

	${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.pre_sed
	${SED}	-e 's:\/etc\/proftpd\.conf:${PREFIX}\/etc\/proftpd.conf:' \
		< ${WRKSRC}/config.h.pre_sed > ${WRKSRC}/config.h
a38 4
	@@${MV} ${WRKSRC}/src/ftpwho.1 ${WRKSRC}/src/ftpwho.1.pre_sed
	@@${SED}	-e 's:/usr/bin:${PREFIX}/bin:' \
		< ${WRKSRC}/src/ftpwho.1.pre_sed > ${WRKSRC}/src/ftpwho.1

d43 12
a54 5
post-install:
	strip ${PREFIX}/bin/ftpcount \
		${PREFIX}/bin/ftpwho \
		${PREFIX}/libexec/proftpd \
		${PREFIX}/sbin/ftpshut \
@


1.3
log
@Upgrade to version 1.0.3pl1.

PR:		6884
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1998/02/20 06:39:07 obrien Exp $
a20 1
CONFIGURE_ENV=	CFLAGS="${CFLAGS}"
@


1.2
log
@Make manpages reflect reality as far as files' paths go.
Put control file `shutmsg' in /var/run, not /etc
@
text
@d2 1
a2 1
# Version required:	1.0.0
d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/02/13 17:39:02 vanilla Exp $
d9 2
a10 1
DISTNAME=	proftpd-1.0.0
d24 2
a25 2
# Ugly but "configure --prefix=..." doesn't seem work :(
# So, do a "sed" to set prefix to $PREFIX
d27 1
a27 1
# Ugly again, do a "sed" to set the config dir to ${PREFIX}/etc
a33 1
		-e "s:^libexecdir=\/libexec:libexecdir=${PREFIX}\/libexec:" \
d64 1
a64 1
		${PREFIX}/sbin/ftpshut
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d29 30
a58 12
pre-build:
	${SED} -e "s:^prefix=\/usr:prefix=${PREFIX}:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp
	${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile

	${SED} -e "s:^etcdir=\/etc:etcdir=${PREFIX}\/etc:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp
	${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile

	${SED} -e "s:^libexecdir=\/libexec:libexecdir=${PREFIX}\/libexec:" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp
	${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile

	${SED} -e 's:\/etc\/proftpd\.conf:${PREFIX}\/etc\/proftpd.conf:' < ${WRKSRC}/config.h > ${WRKSRC}/config.h.tmp
	${MV} ${WRKSRC}/config.h.tmp ${WRKSRC}/config.h
d61 4
a64 4
	strip ${PREFIX}/bin/ftpcount
	strip ${PREFIX}/bin/ftpwho
	strip ${PREFIX}/libexec/proftpd
	strip ${PREFIX}/sbin/ftpshut
@


1.1.1.1
log
@proftpd is a highly configurable ftp daemon.
PR:		ports/5588
Submitted by:	Stephane Legrand <stephane@@lituus.fr>
@
text
@@
