head	1.227;
access;
symbols
	RELEASE_8_3_0:1.210
	RELEASE_9_0_0:1.208
	RELEASE_7_4_0:1.201
	RELEASE_8_2_0:1.201
	RELEASE_6_EOL:1.199
	RELEASE_8_1_0:1.187
	RELEASE_7_3_0:1.178
	RELEASE_8_0_0:1.165
	RELEASE_7_2_0:1.154
	RELEASE_7_1_0:1.131
	RELEASE_6_4_0:1.131
	RELEASE_5_EOL:1.118
	RELEASE_7_0_0:1.113
	RELEASE_6_3_0:1.113
	PRE_XORG_7:1.105
	RELEASE_4_EOL:1.104
	RELEASE_6_2_0:1.102
	RELEASE_6_1_0:1.87
	RELEASE_5_5_0:1.87
	RELEASE_6_0_0:1.84
	RELEASE_5_4_0:1.69
	RELEASE_4_11_0:1.64
	RELEASE_5_3_0:1.59
	RELEASE_4_10_0:1.49
	RELEASE_5_2_1:1.28
	RELEASE_5_2_0:1.28
	RELEASE_4_9_0:1.17
	old_RELEASE_5_1_0:1.4
	old_RELEASE_4_8_0:1.3;
locks; strict;
comment	@# @;


1.227
date	2013.02.18.00.21.43;	author svnexp;	state Exp;
branches;
next	1.226;

1.226
date	2013.02.11.01.21.52;	author svnexp;	state Exp;
branches;
next	1.225;

1.225
date	2013.02.09.11.58.06;	author svnexp;	state Exp;
branches;
next	1.224;

1.224
date	2013.01.25.15.46.21;	author svnexp;	state Exp;
branches;
next	1.223;

1.223
date	2013.01.13.20.45.05;	author svnexp;	state Exp;
branches;
next	1.222;

1.222
date	2013.01.09.00.51.27;	author svnexp;	state Exp;
branches;
next	1.221;

1.221
date	2012.11.20.14.23.24;	author svnexp;	state Exp;
branches;
next	1.220;

1.220
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.219;

1.219
date	2012.10.05.12.41.45;	author garga;	state Exp;
branches;
next	1.218;

1.218
date	2012.09.17.20.18.45;	author garga;	state Exp;
branches;
next	1.217;

1.217
date	2012.09.06.17.33.48;	author garga;	state Exp;
branches;
next	1.216;

1.216
date	2012.08.15.21.26.18;	author garga;	state Exp;
branches;
next	1.215;

1.215
date	2012.08.03.15.34.45;	author garga;	state Exp;
branches;
next	1.214;

1.214
date	2012.06.29.19.44.52;	author garga;	state Exp;
branches;
next	1.213;

1.213
date	2012.06.29.18.56.24;	author garga;	state Exp;
branches;
next	1.212;

1.212
date	2012.06.29.16.24.54;	author garga;	state Exp;
branches;
next	1.211;

1.211
date	2012.04.08.11.05.27;	author garga;	state Exp;
branches;
next	1.210;

1.210
date	2012.03.10.14.54.34;	author garga;	state Exp;
branches;
next	1.209;

1.209
date	2011.12.28.14.58.10;	author garga;	state Exp;
branches;
next	1.208;

1.208
date	2011.11.19.14.22.25;	author garga;	state Exp;
branches;
next	1.207;

1.207
date	2011.11.04.20.01.34;	author garga;	state Exp;
branches;
next	1.206;

1.206
date	2011.09.23.22.25.09;	author amdmi3;	state Exp;
branches;
next	1.205;

1.205
date	2011.07.04.23.54.44;	author garga;	state Exp;
branches;
next	1.204;

1.204
date	2011.05.19.11.35.28;	author garga;	state Exp;
branches;
next	1.203;

1.203
date	2011.02.23.15.32.46;	author garga;	state Exp;
branches;
next	1.202;

1.202
date	2011.02.21.11.35.52;	author garga;	state Exp;
branches;
next	1.201;

1.201
date	2011.02.04.16.28.43;	author garga;	state Exp;
branches;
next	1.200;

1.200
date	2010.12.04.07.33.22;	author ade;	state Exp;
branches;
next	1.199;

1.199
date	2010.10.29.16.22.07;	author garga;	state Exp;
branches;
next	1.198;

1.198
date	2010.10.26.16.26.48;	author garga;	state Exp;
branches;
next	1.197;

1.197
date	2010.10.21.20.31.36;	author garga;	state Exp;
branches;
next	1.196;

1.196
date	2010.10.19.15.01.09;	author garga;	state Exp;
branches;
next	1.195;

1.195
date	2010.10.15.17.22.05;	author garga;	state Exp;
branches;
next	1.194;

1.194
date	2010.09.27.16.57.33;	author garga;	state Exp;
branches;
next	1.193;

1.193
date	2010.09.20.18.15.34;	author garga;	state Exp;
branches;
next	1.192;

1.192
date	2010.09.16.13.34.13;	author garga;	state Exp;
branches;
next	1.191;

1.191
date	2010.09.13.11.30.16;	author garga;	state Exp;
branches;
next	1.190;

1.190
date	2010.08.24.17.30.03;	author garga;	state Exp;
branches;
next	1.189;

1.189
date	2010.08.13.11.29.48;	author garga;	state Exp;
branches;
next	1.188;

1.188
date	2010.08.10.13.25.24;	author garga;	state Exp;
branches;
next	1.187;

1.187
date	2010.06.24.16.14.06;	author garga;	state Exp;
branches;
next	1.186;

1.186
date	2010.05.21.12.28.24;	author garga;	state Exp;
branches;
next	1.185;

1.185
date	2010.05.04.16.15.44;	author garga;	state Exp;
branches;
next	1.184;

1.184
date	2010.04.12.13.16.10;	author garga;	state Exp;
branches;
next	1.183;

1.183
date	2010.04.12.12.56.56;	author garga;	state Exp;
branches;
next	1.182;

1.182
date	2010.04.09.18.50.56;	author garga;	state Exp;
branches;
next	1.181;

1.181
date	2010.04.06.17.46.26;	author garga;	state Exp;
branches;
next	1.180;

1.180
date	2010.03.12.20.51.33;	author garga;	state Exp;
branches;
next	1.179;

1.179
date	2010.03.09.11.57.16;	author garga;	state Exp;
branches;
next	1.178;

1.178
date	2010.01.28.14.18.26;	author garga;	state Exp;
branches;
next	1.177;

1.177
date	2010.01.27.16.59.05;	author garga;	state Exp;
branches;
next	1.176;

1.176
date	2010.01.22.11.41.22;	author garga;	state Exp;
branches;
next	1.175;

1.175
date	2010.01.05.11.48.17;	author garga;	state Exp;
branches;
next	1.174;

1.174
date	2009.12.23.11.52.18;	author garga;	state Exp;
branches;
next	1.173;

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

1.172
date	2009.12.16.15.18.55;	author garga;	state Exp;
branches;
next	1.171;

1.171
date	2009.11.25.11.30.06;	author garga;	state Exp;
branches;
next	1.170;

1.170
date	2009.11.04.19.33.07;	author garga;	state Exp;
branches;
next	1.169;

1.169
date	2009.10.29.11.14.38;	author garga;	state Exp;
branches;
next	1.168;

1.168
date	2009.10.13.13.37.07;	author garga;	state Exp;
branches;
next	1.167;

1.167
date	2009.09.30.10.50.06;	author garga;	state Exp;
branches;
next	1.166;

1.166
date	2009.09.30.10.47.43;	author garga;	state Exp;
branches;
next	1.165;

1.165
date	2009.08.27.16.51.02;	author garga;	state Exp;
branches;
next	1.164;

1.164
date	2009.08.19.15.32.48;	author garga;	state Exp;
branches;
next	1.163;

1.163
date	2009.08.07.14.14.49;	author garga;	state Exp;
branches;
next	1.162;

1.162
date	2009.07.22.16.35.50;	author garga;	state Exp;
branches;
next	1.161;

1.161
date	2009.06.26.12.53.56;	author garga;	state Exp;
branches;
next	1.160;

1.160
date	2009.06.08.18.57.53;	author garga;	state Exp;
branches;
next	1.159;

1.159
date	2009.06.02.13.57.25;	author garga;	state Exp;
branches;
next	1.158;

1.158
date	2009.05.09.19.42.55;	author garga;	state Exp;
branches;
next	1.157;

1.157
date	2009.05.06.14.05.43;	author garga;	state Exp;
branches;
next	1.156;

1.156
date	2009.04.30.14.48.17;	author garga;	state Exp;
branches;
next	1.155;

1.155
date	2009.04.21.13.52.36;	author garga;	state Exp;
branches;
next	1.154;

1.154
date	2009.04.08.19.10.26;	author garga;	state Exp;
branches;
next	1.153;

1.153
date	2009.04.03.11.40.20;	author garga;	state Exp;
branches;
next	1.152;

1.152
date	2009.03.28.17.53.22;	author garga;	state Exp;
branches;
next	1.151;

1.151
date	2009.03.27.12.05.23;	author garga;	state Exp;
branches;
next	1.150;

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

1.149
date	2009.03.16.17.43.54;	author garga;	state Exp;
branches;
next	1.148;

1.148
date	2009.03.09.13.50.48;	author garga;	state Exp;
branches;
next	1.147;

1.147
date	2009.03.04.12.09.30;	author garga;	state Exp;
branches;
next	1.146;

1.146
date	2009.03.02.11.31.02;	author garga;	state Exp;
branches;
next	1.145;

1.145
date	2009.02.26.12.50.39;	author garga;	state Exp;
branches;
next	1.144;

1.144
date	2009.02.23.13.24.00;	author garga;	state Exp;
branches;
next	1.143;

1.143
date	2009.02.20.14.16.24;	author garga;	state Exp;
branches;
next	1.142;

1.142
date	2009.02.19.12.49.21;	author garga;	state Exp;
branches;
next	1.141;

1.141
date	2009.02.18.12.52.33;	author garga;	state Exp;
branches;
next	1.140;

1.140
date	2009.02.18.11.41.57;	author garga;	state Exp;
branches;
next	1.139;

1.139
date	2009.01.07.19.12.51;	author garga;	state Exp;
branches;
next	1.138;

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

1.137
date	2008.12.09.15.36.56;	author garga;	state Exp;
branches;
next	1.136;

1.136
date	2008.11.28.10.36.23;	author garga;	state Exp;
branches;
next	1.135;

1.135
date	2008.11.25.10.41.53;	author garga;	state Exp;
branches;
next	1.134;

1.134
date	2008.11.17.19.07.59;	author garga;	state Exp;
branches;
next	1.133;

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

1.132
date	2008.10.16.16.20.11;	author garga;	state Exp;
branches;
next	1.131;

1.131
date	2008.08.21.14.25.33;	author garga;	state Exp;
branches;
next	1.130;

1.130
date	2008.08.21.06.18.13;	author rafan;	state Exp;
branches;
next	1.129;

1.129
date	2008.08.19.11.25.56;	author garga;	state Exp;
branches;
next	1.128;

1.128
date	2008.08.18.18.43.12;	author garga;	state Exp;
branches;
next	1.127;

1.127
date	2008.08.11.16.50.25;	author garga;	state Exp;
branches;
next	1.126;

1.126
date	2008.08.05.14.41.36;	author garga;	state Exp;
branches;
next	1.125;

1.125
date	2008.07.25.17.25.34;	author garga;	state Exp;
branches;
next	1.124;

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

1.123
date	2008.07.08.16.17.39;	author garga;	state Exp;
branches;
next	1.122;

1.122
date	2008.06.17.11.20.03;	author garga;	state Exp;
branches;
next	1.121;

1.121
date	2008.06.16.19.28.23;	author garga;	state Exp;
branches;
next	1.120;

1.120
date	2008.06.09.23.55.20;	author garga;	state Exp;
branches;
next	1.119;

1.119
date	2008.06.09.23.50.09;	author garga;	state Exp;
branches;
next	1.118;

1.118
date	2008.05.20.17.45.57;	author garga;	state Exp;
branches;
next	1.117;

1.117
date	2008.02.21.15.38.31;	author garga;	state Exp;
branches;
next	1.116;

1.116
date	2008.01.24.16.35.39;	author garga;	state Exp;
branches;
next	1.115;

1.115
date	2008.01.21.18.04.29;	author garga;	state Exp;
branches;
next	1.114;

1.114
date	2007.12.12.11.15.27;	author garga;	state Exp;
branches;
next	1.113;

1.113
date	2007.10.11.18.31.17;	author garga;	state Exp;
branches;
next	1.112;

1.112
date	2007.08.30.16.25.07;	author garga;	state Exp;
branches;
next	1.111;

1.111
date	2007.07.24.13.35.11;	author garga;	state Exp;
branches;
next	1.110;

1.110
date	2007.07.23.09.36.27;	author rafan;	state Exp;
branches;
next	1.109;

1.109
date	2007.07.11.13.13.42;	author garga;	state Exp;
branches;
next	1.108;

1.108
date	2007.07.11.12.50.12;	author garga;	state Exp;
branches;
next	1.107;

1.107
date	2007.05.31.00.44.57;	author garga;	state Exp;
branches;
next	1.106;

1.106
date	2007.05.29.17.33.51;	author garga;	state Exp;
branches;
next	1.105;

1.105
date	2007.02.18.18.36.49;	author garga;	state Exp;
branches;
next	1.104;

1.104
date	2006.12.17.15.34.27;	author garga;	state Exp;
branches;
next	1.103;

1.103
date	2006.12.13.01.41.51;	author mnag;	state Exp;
branches;
next	1.102;

1.102
date	2006.10.30.13.52.36;	author garga;	state Exp;
branches;
next	1.101;

1.101
date	2006.10.20.14.53.54;	author mnag;	state Exp;
branches;
next	1.100;

1.100
date	2006.09.22.11.46.54;	author garga;	state Exp;
branches;
next	1.99;

1.99
date	2006.09.05.13.56.23;	author garga;	state Exp;
branches;
next	1.98;

1.98
date	2006.08.08.14.43.18;	author garga;	state Exp;
branches;
next	1.97;

1.97
date	2006.07.24.15.20.02;	author garga;	state Exp;
branches;
next	1.96;

1.96
date	2006.07.03.12.56.58;	author garga;	state Exp;
branches;
next	1.95;

1.95
date	2006.05.26.16.49.10;	author garga;	state Exp;
branches;
next	1.94;

1.94
date	2006.05.25.12.21.45;	author garga;	state Exp;
branches;
next	1.93;

1.93
date	2006.05.10.14.46.46;	author ale;	state Exp;
branches;
next	1.92;

1.92
date	2006.05.03.13.14.58;	author garga;	state Exp;
branches;
next	1.91;

1.91
date	2006.04.26.12.47.50;	author garga;	state Exp;
branches;
next	1.90;

1.90
date	2006.04.07.10.10.20;	author garga;	state Exp;
branches;
next	1.89;

1.89
date	2006.04.07.10.07.49;	author garga;	state Exp;
branches;
next	1.88;

1.88
date	2006.04.06.17.24.25;	author mnag;	state Exp;
branches;
next	1.87;

1.87
date	2006.02.23.10.38.53;	author ade;	state Exp;
branches;
next	1.86;

1.86
date	2005.11.15.06.50.55;	author ade;	state Exp;
branches;
next	1.85;

1.85
date	2005.11.07.09.41.07;	author garga;	state Exp;
branches;
next	1.84;

1.84
date	2005.10.04.13.39.49;	author mnag;	state Exp;
branches;
next	1.83;

1.83
date	2005.09.24.08.35.43;	author simon;	state Exp;
branches;
next	1.82;

1.82
date	2005.07.21.17.53.45;	author garga;	state Exp;
branches;
next	1.81;

1.81
date	2005.07.04.17.38.52;	author novel;	state Exp;
branches;
next	1.80;

1.80
date	2005.06.24.08.02.04;	author sem;	state Exp;
branches;
next	1.79;

1.79
date	2005.06.23.13.22.22;	author jylefort;	state Exp;
branches;
next	1.78;

1.78
date	2005.06.22.10.50.39;	author jylefort;	state Exp;
branches;
next	1.77;

1.77
date	2005.06.14.19.35.44;	author novel;	state Exp;
branches;
next	1.76;

1.76
date	2005.06.10.10.01.21;	author novel;	state Exp;
branches;
next	1.75;

1.75
date	2005.05.30.20.40.05;	author pav;	state Exp;
branches;
next	1.74;

1.74
date	2005.05.24.18.29.17;	author novel;	state Exp;
branches;
next	1.73;

1.73
date	2005.05.06.08.05.02;	author pav;	state Exp;
branches;
next	1.72;

1.72
date	2005.04.12.03.26.27;	author obrien;	state Exp;
branches;
next	1.71;

1.71
date	2005.04.11.08.03.57;	author obrien;	state Exp;
branches;
next	1.70;

1.70
date	2005.04.09.20.17.07;	author pav;	state Exp;
branches;
next	1.69;

1.69
date	2005.02.11.22.19.43;	author kris;	state Exp;
branches;
next	1.68;

1.68
date	2005.01.27.12.50.32;	author yar;	state Exp;
branches;
next	1.67;

1.67
date	2005.01.27.12.15.27;	author yar;	state Exp;
branches;
next	1.66;

1.66
date	2005.01.12.18.22.56;	author yar;	state Exp;
branches;
next	1.65;

1.65
date	2005.01.12.15.09.50;	author niels;	state Exp;
branches;
next	1.64;

1.64
date	2004.12.22.02.10.12;	author edwin;	state Exp;
branches;
next	1.63;

1.63
date	2004.12.15.09.57.27;	author ale;	state Exp;
branches;
next	1.62;

1.62
date	2004.12.03.09.52.20;	author ale;	state Exp;
branches;
next	1.61;

1.61
date	2004.11.04.22.49.52;	author pav;	state Exp;
branches;
next	1.60;

1.60
date	2004.10.15.17.32.45;	author ade;	state Exp;
branches;
next	1.59;

1.59
date	2004.09.02.15.24.16;	author vs;	state Exp;
branches;
next	1.58;

1.58
date	2004.07.04.11.02.30;	author eik;	state Exp;
branches;
next	1.57;

1.57
date	2004.06.11.20.04.30;	author pav;	state Exp;
branches;
next	1.56;

1.56
date	2004.06.09.18.04.11;	author mi;	state Exp;
branches;
next	1.55;

1.55
date	2004.06.03.22.14.40;	author pav;	state Exp;
branches;
next	1.54;

1.54
date	2004.05.25.12.49.28;	author eik;	state Exp;
branches;
next	1.53;

1.53
date	2004.05.25.09.36.35;	author pav;	state Exp;
branches;
next	1.52;

1.52
date	2004.05.24.23.02.23;	author pav;	state Exp;
branches;
next	1.51;

1.51
date	2004.05.23.16.50.21;	author pav;	state Exp;
branches;
next	1.50;

1.50
date	2004.05.03.20.22.55;	author dinoex;	state Exp;
branches;
next	1.49;

1.49
date	2004.04.20.10.27.53;	author arved;	state Exp;
branches;
next	1.48;

1.48
date	2004.04.06.15.32.08;	author dinoex;	state Exp;
branches;
next	1.47;

1.47
date	2004.03.22.13.08.09;	author clement;	state Exp;
branches;
next	1.46;

1.46
date	2004.03.16.06.33.00;	author daichi;	state Exp;
branches;
next	1.45;

1.45
date	2004.03.14.06.17.17;	author ade;	state Exp;
branches;
next	1.44;

1.44
date	2004.03.12.02.48.24;	author ade;	state Exp;
branches;
next	1.43;

1.43
date	2004.03.01.10.35.30;	author mbr;	state Exp;
branches;
next	1.42;

1.42
date	2004.02.18.20.24.40;	author dinoex;	state Exp;
branches;
next	1.41;

1.41
date	2004.02.17.00.16.33;	author kris;	state Exp;
branches;
next	1.40;

1.40
date	2004.02.11.10.39.34;	author dinoex;	state Exp;
branches;
next	1.39;

1.39
date	2004.02.04.05.08.43;	author marcus;	state Exp;
branches;
next	1.38;

1.38
date	2004.01.30.18.45.04;	author dinoex;	state Exp;
branches;
next	1.37;

1.37
date	2004.01.28.13.50.04;	author dinoex;	state Exp;
branches;
next	1.36;

1.36
date	2004.01.21.14.41.02;	author dinoex;	state Exp;
branches;
next	1.35;

1.35
date	2004.01.16.17.39.46;	author clement;	state Exp;
branches;
next	1.34;

1.34
date	2004.01.13.16.22.04;	author dinoex;	state Exp;
branches;
next	1.33;

1.33
date	2004.01.05.13.29.00;	author dinoex;	state Exp;
branches;
next	1.32;

1.32
date	2004.01.05.03.56.18;	author petef;	state Exp;
branches;
next	1.31;

1.31
date	2003.12.30.15.42.38;	author dinoex;	state Exp;
branches;
next	1.30;

1.30
date	2003.12.22.19.57.25;	author dinoex;	state Exp;
branches;
next	1.29;

1.29
date	2003.12.11.15.33.10;	author dinoex;	state Exp;
branches;
next	1.28;

1.28
date	2003.11.19.16.19.23;	author dinoex;	state Exp;
branches;
next	1.27;

1.27
date	2003.11.12.21.14.56;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2003.10.30.16.14.49;	author dinoex;	state Exp;
branches;
next	1.25;

1.25
date	2003.10.21.11.10.15;	author dinoex;	state Exp;
branches;
next	1.24;

1.24
date	2003.10.15.02.32.54;	author dinoex;	state Exp;
branches;
next	1.23;

1.23
date	2003.10.12.05.48.03;	author dinoex;	state Exp;
branches;
next	1.22;

1.22
date	2003.10.03.13.31.25;	author dinoex;	state Exp;
branches;
next	1.21;

1.21
date	2003.09.30.18.21.48;	author dinoex;	state Exp;
branches;
next	1.20;

1.20
date	2003.09.30.03.39.11;	author dinoex;	state Exp;
branches;
next	1.19;

1.19
date	2003.09.26.17.34.19;	author dinoex;	state Exp;
branches;
next	1.18;

1.18
date	2003.09.26.12.19.55;	author dinoex;	state Exp;
branches;
next	1.17;

1.17
date	2003.09.04.02.53.25;	author dinoex;	state Exp;
branches;
next	1.16;

1.16
date	2003.08.08.17.09.11;	author leeym;	state Exp;
branches;
next	1.15;

1.15
date	2003.08.04.09.24.25;	author leeym;	state Exp;
branches;
next	1.14;

1.14
date	2003.07.24.20.33.43;	author osa;	state Exp;
branches;
next	1.13;

1.13
date	2003.07.22.13.54.09;	author leeym;	state Exp;
branches;
next	1.12;

1.12
date	2003.07.22.12.55.07;	author daichi;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.07.05.43.35;	author daichi;	state Exp;
branches;
next	1.10;

1.10
date	2003.06.26.10.55.19;	author nork;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.25.12.33.31;	author nork;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.24.16.34.05;	author obraun;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.18.09.43.05;	author nork;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.11.16.58.37;	author nork;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.08.16.16.49;	author leeym;	state Exp;
branches;
next	1.4;

1.4
date	2003.05.18.02.40.47;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	2003.02.21.13.26.42;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.05.13.09.19;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.20.03.41.52;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.227
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312458
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Rob Evers <rob@@debank.tv>
# $FreeBSD: head/security/clamav-devel/Makefile 312458 2013-02-17 23:26:39Z garga $

PORTNAME=	clamav
PORTVERSION=	20130217
CATEGORIES=	security
MASTER_SITES=	http://www.clamav.net/snapshot/ \
		LOCAL/garga/clamav-devel
PKGNAMESUFFIX=	-devel
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	garga@@FreeBSD.org
COMMENT=	Command line virus scanner written entirely in C

LICENSE=	GPLv2

OPTIONS_DEFINE=	ARC ARJ LHA UNZOO UNRAR LLVM TESTS MILTER LDAP ICONV STDERR DOCS

ARC_DESC=	Enable arch archives support
ARJ_DESC=	Enable arj archives support
LHA_DESC=	Enable lha archives support
UNZOO_DESC=	Enable zoo archives support
UNRAR_DESC=	Enable rar archives support (req. for unit tests)
LLVM_DESC=	Enable JIT Bytecode compiler (bundled LLVM)
TESTS_DESC=	Run compile-time tests (req. python)
MILTER_DESC=	Compile the milter interface
STDERR_DESC=	Print logs to stderr instead of stdout

OPTIONS_DEFAULT=	ARC ARJ LHA UNZOO UNRAR LLVM TESTS DOCS

GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes
USE_LDCONFIG=	yes
USE_GMAKE=	yes
USE_GCC=	any
USE_RC_SUBR=	clamav-clamd clamav-freshclam
CLAM_CONF_FILES=	clamd freshclam

PORTDOCS=	*

DBDIR=		/var/db/clamav
LOGDIR=		/var/log/clamav
RUNDIR=		/var/run/clamav
PLIST_SUB+=	DBDIR=${DBDIR} LOGDIR=${LOGDIR} RUNDIR=${RUNDIR}
PY_NO_THREAD=	${WRKDIR}/.python-has-no-threads
USE_AUTOTOOLS=	libltdl

CONFIGURE_ARGS=	--libdir=${PREFIX}/lib \
		--with-dbdir=${DBDIR} \
		--with-zlib=/usr \
		--disable-clamuko \
		--disable-clamav \
		--enable-bigstack \
		--enable-readdir_r \
		--enable-gethostbyname_r \
		--disable-dependency-tracking \
		--enable-clamdtop \
		--enable-experimental
CPPFLAGS+=	-I${LOCALBASE}/include \
		${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib \
		${PTHREAD_LIBS}

# This port has a problem with -pthread,
# force to use -lthr until it's not fixed.
PTHREAD_LIBS=	-lthr

MAN1=		clambc.1 \
		clamconf.1 \
		clamscan.1 \
		freshclam.1 \
		sigtool.1 \
		clamdscan.1 \
		clamdtop.1
MAN5=		clamav-milter.conf.5 \
		clamd.conf.5 \
		freshclam.conf.5
MAN8=		clamd.8 \
		clamav-milter.8

CONFLICTS=	clamav-0.[0-9]* clamav-milter-[0-9]*

CLAMAVUSER?=	clamav
CLAMAVGROUP?=	clamav

CLAMAV_CLAMD_SOCKET?=	${RUNDIR}/clamd.sock
CLAMAV_MILTER_SOCKET?=	${RUNDIR}/clmilter.sock

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST+=	DBDIR=${DBDIR} \
		LOGDIR=${LOGDIR} \
		RUNDIR=${RUNDIR} \
		CLAMAVUSER=${CLAMAVUSER} \
		CLAMAVGROUP=${CLAMAVGROUP} \
		CLAMAV_CLAMD_SOCKET=${CLAMAV_CLAMD_SOCKET} \
		CLAMAV_MILTER_SOCKET=${CLAMAV_MILTER_SOCKET} \
		CHMOD=${CHMOD} \
		CHOWN=${CHOWN}

SED_CONF=	-E -e 's|^\#?(Example)$$|\#\1|' \
		-e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 ${LOGDIR}/\3|' \
		-e 's|^\#?(PidFile) .*/([a-z\-]+\.pid)$$|\1 ${RUNDIR}/\2|' \
		-e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \
		-e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \
		-e 's|^\#?(AllowSupplementaryGroups).*$$|\1 yes|' \
		-e 's|^\#?(ScanMail).*$$|\1 yes|' \
		-e 's|^\#?(DatabaseDirectory) .*$$|\1 ${DBDIR}|' \
		-e 's|^\#?(DatabaseOwner) .*$$|\1 ${CLAMAVUSER}|' \
		-e 's|^\#?(FixStaleSocket).*$$|\1 yes|' \
		-e 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|' \
		-e 's|^\#?(MilterSocket) */tmp.*$$|\1 ${CLAMAV_MILTER_SOCKET}|' \
		-e 's|^\#?(ClamdSocket).*$$|\1 unix:${CLAMAV_CLAMD_SOCKET}|'

PLIST_SUB+=	CLAMAVUSER=${CLAMAVUSER} \
		CLAMAVGROUP=${CLAMAVGROUP}

PORTSCOUT=	ignore:1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MARC}
RUN_DEPENDS+=	arc:${PORTSDIR}/archivers/arc
.endif
.if ${PORT_OPTIONS:MARJ}
RUN_DEPENDS+=	arj:${PORTSDIR}/archivers/arj
.endif
.if ${PORT_OPTIONS:MLHA}
RUN_DEPENDS+=	lha:${PORTSDIR}/archivers/lha
.endif
.if ${PORT_OPTIONS:MUNZOO}
RUN_DEPENDS+=	unzoo:${PORTSDIR}/archivers/unzoo
.endif
.if ${PORT_OPTIONS:MUNRAR}
PLIST_SUB+=	UNRAR=""
.else
PLIST_SUB+=	UNRAR="@@comment "
CONFIGURE_ARGS+=--disable-unrar
.endif
.if ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=--with-iconv
USE_ICONV=	yes
.else
CONFIGURE_ARGS+=--without-iconv
.endif

.if ${PORT_OPTIONS:MLLVM} && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
CONFIGURE_ARGS+=--enable-llvm
. if defined(WITH_TESTS)
USE_PYTHON_BUILD=	yes
. endif
.else
CONFIGURE_ARGS+=--disable-llvm
.endif

.if ${PORT_OPTIONS:MMILTER}
USE_RC_SUBR+=	clamav-milter
CLAM_CONF_FILES+=	clamav-milter
. if ${PORT_OPTIONS:MLDAP} && exists(${LOCALBASE}/lib/libldap.so)
USE_OPENLDAP=	yes
LDFLAGS+=	-lldap
. endif

. if !exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a)
BUILD_DEPENDS+=	${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE}/sbin/sendmail
. else
CONFIGURE_ARGS+=--with-sendmail=/usr/sbin/sendmail
. endif

CONFIGURE_ARGS+=--enable-milter
PLIST_SUB+=	CLAMAV-MILTER=""
.else
PLIST_SUB+=	CLAMAV-MILTER="@@comment "
.endif

.if ${PORT_OPTIONS:MSTDERR}
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-shared_output.c
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CFLAGS+=	-march=i486
.endif

.if ${PORT_OPTIONS:MTESTS} && ${OSVERSION} >= 700000
BUILD_DEPENDS+=	${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck
CONFIGURE_ARGS+=--enable-check
.else
CONFIGURE_ARGS+=--disable-check
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \
		${WRKSRC}/${CONFIGURE_SCRIPT}
	@@${REINPLACE_CMD} -e 's,^\(pkgconfigdir = \).*$$,\1$$\(prefix\)/libdata/pkgconfig,g' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} ${SED_CONF} \
		${WRKSRC}/etc/clamd.conf \
		${WRKSRC}/etc/freshclam.conf \
		${WRKSRC}/etc/clamav-milter.conf
	@@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
		${WRKSRC}/libclamunrar/unrar.c

.if ${PORT_OPTIONS:MLLVM} && ${PORT_OPTIONS:MTESTS}
pre-configure:
	@@if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \
		${ECHO_MSG} ""; \
		${ECHO_MSG} "==========================================================================="; \
		${ECHO_MSG} "= Unit tests REQUIRES python built with thread support, and yours is not. ="; \
		${ECHO_MSG} "= It will not be called during this build                                 ="; \
		${ECHO_MSG} "==========================================================================="; \
		${ECHO_MSG} ""; \
		${TOUCH} ${PY_NO_THREAD}; \
	fi
.endif

.if ${PORT_OPTIONS:MTESTS} && ${PORT_OPTIONS:MUNRAR} && ${OSVERSION} >= 700000
post-build:
	@@if [ ! -f "${PY_NO_THREAD}" ]; then \
		${GMAKE} -C ${WRKSRC} check; \
	fi
.endif

pre-su-install:
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

post-install:
	${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include
.for c in ${CLAM_CONF_FILES}
	@@[ -f ${PREFIX}/etc/${c}.conf ] || \
		${CP} -v ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf
.endfor
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/ChangeLog ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}/html
.endif
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

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


1.226
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312036
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 312036 2013-02-11 00:56:21Z garga $
d5 1
a5 1
PORTVERSION=	20130209
@


1.225
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311967
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 311967 2013-02-09 11:09:40Z garga $
d35 1
@


1.224
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310981
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 310981 2013-01-25 15:21:18Z garga $
d5 1
a5 1
PORTVERSION=	20130125
d23 1
a23 1
UNRAR_DESC=	Enable rar archives support
d217 1
a217 1
.if ${PORT_OPTIONS:MTESTS} && ${OSVERSION} >= 700000
@


1.223
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310330
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 310330 2013-01-13 20:32:43Z garga $
d5 1
a5 1
PORTVERSION=	20130113
@


1.222
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310115
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310115 | garga | 2013-01-08 23:58:30 +0000 (Tue, 08 Jan 2013) | 2 lines
## SVN ##
## SVN ## Update to 20130108
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 310115 2013-01-08 23:58:30Z garga $
d5 1
a5 1
PORTVERSION=	20130108
@


1.221
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307585
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307585 | garga | 2012-11-20 14:17:04 +0000 (Tue, 20 Nov 2012) | 4 lines
## SVN ##
## SVN ## Update to 20121120
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 307585 2012-11-20 14:17:04Z garga $
d5 1
a5 1
PORTVERSION=	20121120
@


1.220
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/security/clamav-devel/Makefile 305298 2012-10-05 12:41:45Z garga $
d5 1
a5 1
PORTVERSION=	20120917
@


1.219
log
@SVN rev 305298 on 2012-10-05 12:41:45Z by garga

Change headers of all ports maintained by me to new format
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.218
log
@SVN rev 304421 on 2012-09-17 20:18:45Z by garga

Update to 20120917
@
text
@d1 1
a1 4
# New ports collection makefile for:	clamav-devel
# Date created:				13 June 2003
# Whom:					Rob Evers <rob@@debank.tv>
#
a2 1
#
@


1.217
log
@SVN rev 303783 on 2012-09-06 17:33:48Z by garga

Update to 20120906
@
text
@d9 1
a9 1
PORTVERSION=	20120906
@


1.216
log
@SVN rev 302604 on 2012-08-15 21:26:18Z by garga

Update to 20120815
@
text
@d9 1
a9 1
PORTVERSION=	20120815
@


1.215
log
@SVN rev 301957 on 2012-08-03 15:34:45Z by garga

Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
@
text
@d9 1
a9 1
PORTVERSION=	20120629
@


1.214
log
@Remove LDAP_DESC and ICONV_DESC, they are already present in bsd.options.desc.mk
@
text
@d21 1
a21 1
OPTIONS_DEFINE=	ARC ARJ LHA UNZOO UNRAR LLVM TESTS MILTER LDAP ICONV STDERR
d33 1
a33 1
OPTIONS_DEFAULT=	ARC ARJ LHA UNZOO UNRAR LLVM TESTS
@


1.213
log
@- Convert to OPTIONSng
- Move LICENSE to right place and silent portlint
@
text
@a30 2
LDAP_DESC=	libmilter was built with LDAP
ICONV_DESC=	Enable ICONV support
@


1.212
log
@- Update to 20120629
- Remove LLVM_PORTS option, clamav requires llvm 2.9 and we have 3.1 on ports
@
text
@d19 17
a35 11
OPTIONS=	ARC "Enable arch archives support" On \
		ARJ "Enable arj archives support" On \
		LHA "Enable lha archives support" On \
		UNZOO "Enable zoo archives support" On \
		UNRAR "Enable rar archives support" On \
		LLVM "Enable JIT Bytecode compiler (bundled LLVM)" On \
		TESTS "Run compile-time tests (req. python)" On \
		MILTER "Compile the milter interface" Off \
		LDAP "libmilter was built with LDAP" Off \
		ICONV "Enable ICONV support" Off \
		STDERR "Print logs to stderr instead of stdout" Off
a43 2
LICENSE=	GPLv2

d126 1
a126 1
.if defined(WITH_ARC)
d129 1
a129 1
.if defined(WITH_ARJ)
d132 1
a132 1
.if defined(WITH_LHA)
d135 1
a135 1
.if defined(WITH_UNZOO)
d138 1
a138 1
.if defined(WITH_UNRAR)
d144 1
a144 1
.if defined(WITH_ICONV)
d151 1
a151 1
.if defined(WITH_LLVM) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
d160 1
a160 1
.if defined(WITH_MILTER)
d163 1
a163 1
. if defined(WITH_LDAP) && exists(${LOCALBASE}/lib/libldap.so)
d181 1
a181 1
.if defined(WITH_STDERR)
d191 1
a191 1
.if defined(WITH_TESTS) && ${OSVERSION} >= 700000
d210 1
a210 1
.if defined(WITH_LLVM) && defined(WITH_TESTS)
d223 1
a223 1
.if defined(WITH_TESTS) && ${OSVERSION} >= 700000
d239 1
a239 1
.if !defined(NOPORTDOCS)
@


1.211
log
@Update to 20120407

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	20120407
a24 1
		LLVM_PORTS "Enable JIT Bytecode compiler (from Ports)" Off \
d147 1
a147 1
.if (defined(WITH_LLVM) || defined(WITH_LLVM_PORTS)) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
a148 7
. if defined(WITH_LLVM_PORTS)
BUILD_DEPENDS+=	llvm-config:${PORTSDIR}/devel/llvm
CONFIGURE_ARGS+=--with-system-llvm=${LOCALBASE}/bin/llvm-config
. endif
. if defined(WITH_LLVM) && defined(WITH_LLVM_PORTS)
IGNORE=Select only one LLVM
. endif
d206 1
a206 1
.if (defined(WITH_LLVM) || defined(WITH_LLVM_PORTS)) && defined(WITH_TESTS)
@


1.210
log
@Update to 20120305

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	20120305
@


1.209
log
@Update to 20111228
@
text
@d9 1
a9 1
PORTVERSION=	20111223
@


1.208
log
@- Remove unecessary dependency (libcheck) when option TESTS is off [1]
- Add clamav-milter as CONFLICTS, this new meta port will be added soon

PR:		ports/161872
Submitted by:	Alexey Markov <redrat@@mail.ru>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	20111104
@


1.207
log
@Update to 20111104
@
text
@d83 1
a83 1
CONFLICTS=	clamav-0.[0-9]*
d195 1
a195 1
.if ${OSVERSION} >= 700000
@


1.206
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	20110704
@


1.205
log
@Update to 20110704
@
text
@a49 2
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}"
@


1.204
log
@- s/CONF_FILES/CLAM_CONF_FILES/ to avoid a conflict in the future with new
  options with the same name that will be added to bsd.port.mk

PR:		ports/157161, ports/157162
Submitted by:	Chris Rees <utisoft@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	20110223
d35 1
d72 2
a73 1
MAN1=		clamconf.1 \
a151 1
USE_GMAKE=	yes
d232 1
a232 1
		${MAKE} -C ${WRKSRC} check; \
@


1.203
log
@- Update to 20110223
- Align with clamav port new option to use llvm from ports
@
text
@d36 1
a36 1
CONF_FILES=	clamd freshclam
d167 1
a167 1
CONF_FILES+=	clamav-milter
d240 1
a240 1
.for c in ${CONF_FILES}
@


1.202
log
@Fix detection if python was built with threads support and run make check
accordingly

PR:		ports/154848
Submitted by:	Martin Simmons <martin@@lispworks.com>
@
text
@d9 1
a9 1
PORTVERSION=	20110204
d24 2
a25 1
		LLVM "Enable JIT Bytecode compiler" On \
d148 1
a148 1
.if defined(WITH_LLVM) && ${ARCH} != "sparc64"
d151 7
d215 1
a215 1
.if defined(WITH_LLVM) && defined(WITH_TESTS)
@


1.201
log
@Update to 20110204

Feature safe:	yes
@
text
@d222 1
a222 1
	@@if [ -f "${PY_NO_THREAD}" ]; then \
@


1.200
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 1
PORTVERSION=	20101029
@


1.199
log
@Update to 20101029
@
text
@d46 1
a46 1
USE_AUTOTOOLS=	libltdl:22
@


1.198
log
@Update to 20101026
@
text
@d9 1
a9 1
PORTVERSION=	20101026
@


1.197
log
@Update to 20101021
@
text
@d9 1
a9 1
PORTVERSION=	20101021
@


1.196
log
@Update to 20101019
@
text
@d9 1
a9 1
PORTVERSION=	20101019
@


1.195
log
@Update to 20101015
@
text
@d9 1
a9 1
PORTVERSION=	20101015
@


1.194
log
@- Update to 20100927
- Remove GCC 4.2+ dependency, now it builds file with 3.4.6
- Add a new OPTION to TESTS, since it requires python on build time and some
  people don't like this. Leave it ON by default to run tests on package
  building
@
text
@d9 1
a9 1
PORTVERSION=	20100927
@


1.193
log
@Update to 20100920
@
text
@d9 1
a9 1
PORTVERSION=	20100920
d25 1
d31 5
a35 5
GNU_CONFIGURE=		yes
MAKE_JOBS_SAFE=		yes
USE_LDCONFIG=		yes
USE_RC_SUBR=		clamav-clamd clamav-freshclam
CONF_FILES=		clamd freshclam
d149 2
d152 1
a152 2
USE_GMAKE=		yes
USE_GCC=		4.2+
d207 1
a207 1
.if defined(WITH_LLVM)
d220 1
a220 1
.if ${OSVERSION} >= 700000
@


1.192
log
@Update to 20100916
@
text
@d9 1
a9 1
PORTVERSION=	20100916
@


1.191
log
@- Add missing dependency (libltdl) to clamav and clamav-devel ports
- Bump PORTREVISION

PR:		ports/150512
Submitted by:	Philippe Pepiot <phil@@philpep.org>
@
text
@d9 1
a9 2
PORTVERSION=	20100824
PORTREVISION=	1
@


1.190
log
@- Update to 20100824
- Add LICENSE
@
text
@d10 1
d46 1
@


1.189
log
@pav@@ noted LICENSE code don't work fine with ports using @@cwd in plist, and
it'll be fixed soon. Remove LICENSE from clamav ports for now.
@
text
@d9 1
a9 1
PORTVERSION=	20100810
d36 2
@


1.188
log
@- Update to 20100810
- While i'm here, add LICENSE
@
text
@a35 2
LICENSE=	GPLv2

@


1.187
log
@Update to 20100624

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	20100624
d36 2
@


1.186
log
@Gcc 4.2+ is only needed to build clamav with LLVM/JIT support, remove this
dependency when LLVM is not set.

Submitted by:	Guy Antony Halse <G.Halse@@ru.ac.za>
@
text
@d9 1
a9 1
PORTVERSION=	20100504
d72 2
a73 1
MAN5=		clamd.conf.5 \
@


1.185
log
@- Update to 20100504
- Try to fix build on sparc64 disabling LLVM/JIT build
@
text
@a29 1
USE_GCC=		4.2+
d146 1
@


1.184
log
@- Update to 20100412
- Use ${TOUCH} instead of touch
- Fix pkg-plist to delete directories installed out of PREFIX (on /var)
@
text
@d9 1
a9 1
PORTVERSION=	20100412
d143 1
a143 1
.if defined(WITH_LLVM)
@


1.183
log
@Unit tests require python built with thread support, disable make check when
local python doesn't have this

PR:		ports/145520
Submitted by:	Michael Scheidell <scheidell at secnap.net>
@
text
@d9 1
a9 1
PORTVERSION=	20100406
d210 1
a210 1
		touch ${PY_NO_THREAD}; \
@


1.182
log
@Python and gmake are just necessary when LLVM option is set
@
text
@d43 1
d201 13
d216 3
a218 1
	@@${MAKE} -C ${WRKSRC} check
@


1.181
log
@- Update to 20100406
- Reduce differences between it and security/clamav
- Make JIT bytecode compiler as an OPTION, On by default
@
text
@a30 2
USE_PYTHON_BUILD=	yes
USE_GMAKE=		yes
d115 1
a115 12
.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CFLAGS+=	-march=i486
.endif

.if ${OSVERSION} >= 700000
BUILD_DEPENDS+=	${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck
CONFIGURE_ARGS+=--enable-check
.else
CONFIGURE_ARGS+=--disable-check
.endif
d144 2
d175 13
@


1.180
log
@Update to 20100312
@
text
@d9 1
a9 1
PORTVERSION=	20100312
d24 1
d30 8
a37 6
USE_GCC=	4.2+
GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes
USE_LDCONFIG=	yes
USE_RC_SUBR=	clamav-clamd clamav-freshclam
CONF_FILES=	clamd freshclam
d56 3
a58 2
		--enable-experimental \
		--disable-dependency-tracking
d124 4
a127 2
BUILD_DEPENDS+=		${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck
CONFIGURE_ARGS+=	--enable-check
d146 1
a146 1
CONFIGURE_ARGS+=	--disable-unrar
d155 6
d171 1
a171 1
CONFIGURE_ARGS+=	--with-sendmail=${LOCALBASE}/sbin/sendmail
d173 1
a173 1
CONFIGURE_ARGS+=	--with-sendmail=/usr/sbin/sendmail
d176 1
a176 1
CONFIGURE_ARGS+=	--enable-milter
@


1.179
log
@- Update to 20100308
- Disable make check for 6.x, it doesn't work (segfault) because libcheck is
  linked against -pthread and test program is linked against -lthr
@
text
@d9 1
a9 1
PORTVERSION=	20100308
@


1.178
log
@Fix build on 9-current and recent 8-stable
@
text
@d9 1
a9 2
PORTVERSION=	20100127
PORTREVISION=	1
d119 5
d186 1
d189 1
@


1.177
log
@- Update to 20100127
- Execute a "make check" at post-build target
- Reduce differences between security/clamav
- Remove --enable-llvm=no and add a CFLAGS+=-march=i486 when ARCH = i386 to make
  llvm build possible
- Remove USE_GMAKE since now it builds with bsd make again
@
text
@d10 1
@


1.176
log
@Update to 20100122
@
text
@d9 1
a9 1
PORTVERSION=	20100122
d29 1
a29 1
USE_GMAKE=	yes
d31 1
a32 1
MAKE_JOBS_SAFE=	yes
a52 1
		--disable-dependency-tracking \
d54 1
a54 1
		--enable-llvm=no
d115 4
d181 3
@


1.175
log
@Define rules for PORTSCOUT checking in some of my ports
@
text
@d9 1
a9 1
PORTVERSION=	20091223
@


1.174
log
@- Update to 20091223
- The new bytecode engine needs llvm option to build, turn it off for now since
  it's not building on i386. There is a bug opened in clamav project to fix it.
@
text
@d112 2
@


1.173
log
@- Update to 20091221
- Remove patches that were applied upstream
- Fix build on FreeBSD < 8.0 [1]

Reported by:	many people by email [1]
@
text
@d9 1
a9 1
PORTVERSION=	20091221
d54 2
a55 1
		--enable-experimental
@


1.172
log
@Update to 20091216
@
text
@d9 1
a9 1
PORTVERSION=	20091216
@


1.171
log
@Update to 20091125
@
text
@d9 1
a9 1
PORTVERSION=	20091125
@


1.170
log
@Update to 20091104
@
text
@d9 1
a9 1
PORTVERSION=	20091104
@


1.169
log
@Update to 20091029
@
text
@d9 1
a9 1
PORTVERSION=	20091029
@


1.168
log
@Update to 20091013
@
text
@d9 1
a9 1
PORTVERSION=	20091013
@


1.167
log
@Use LOCAL on MASTER_SITES and remove MASTER_SITE_SUBDIR
@
text
@d9 1
a9 1
PORTVERSION=	20090930
@


1.166
log
@Update to 20090930
@
text
@d12 1
a12 2
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	garga/clamav-devel
@


1.165
log
@Update to 20090827
@
text
@d9 1
a9 1
PORTVERSION=	20090827
@


1.164
log
@Update to 20090819
@
text
@d9 1
a9 1
PORTVERSION=	20090819
@


1.163
log
@Update to 20090807
@
text
@d9 1
a9 1
PORTVERSION=	20090807
@


1.162
log
@Update to 20090722
@
text
@d9 1
a9 1
PORTVERSION=	20090722
@


1.161
log
@Update to 20090625
@
text
@d9 1
a9 1
PORTVERSION=	20090625
d30 1
@


1.160
log
@- Update to 20090608
@
text
@d9 1
a9 1
PORTVERSION=	20090608
@


1.159
log
@- Update to 20090602
@
text
@d9 1
a9 1
PORTVERSION=	20090602
@


1.158
log
@- Update to 20090509
@
text
@d9 1
a9 1
PORTVERSION=	20090509
@


1.157
log
@- Update to 20090506
@
text
@d9 1
a9 1
PORTVERSION=	20090506
@


1.156
log
@- Update to 20090430
@
text
@d9 1
a9 1
PORTVERSION=	20090430
@


1.155
log
@- Update to 20090420
- Add reload option to startup script, like was made on clamav port
@
text
@d9 1
a9 1
PORTVERSION=	20090420
@


1.154
log
@- Update to 20090408
@
text
@d9 1
a9 1
PORTVERSION=	20090408
@


1.153
log
@- Update to 20090403
@
text
@d9 1
a9 1
PORTVERSION=	20090403
@


1.152
log
@Mark all my ports as MAKE_JOBS_SAFE and MAKE_JOBS_UNSAFE
@
text
@d9 1
a9 1
PORTVERSION=	20090327
@


1.151
log
@- Update to 20090327
@
text
@d32 1
@


1.150
log
@- Update to 20090318
@
text
@d9 1
a9 1
PORTVERSION=	20090318
@


1.149
log
@- Update to 20090316
@
text
@d9 1
a9 1
PORTVERSION=	20090316
@


1.148
log
@- Update to 20090309
@
text
@d9 1
a9 1
PORTVERSION=	20090309
@


1.147
log
@- Update to 20090304
@
text
@d9 1
a9 1
PORTVERSION=	20090304
@


1.146
log
@- Update to 20090302
@
text
@d9 1
a9 1
PORTVERSION=	20090302
@


1.145
log
@- Update to 20090226 to align witth 0.95rc1
- Remove USE_GMAKE, it's not needed
- Remove libgmp dependency, it's using libtommath instead
- Some cosmetic changes to align with clamav port and pacify portlint
- libs version bumped .5 -> .6, it'll fail as dependency of some ports for now
@
text
@d9 1
a9 1
PORTVERSION=	20090226
@


1.144
log
@- Update to 20090223
@
text
@d9 1
a9 1
PORTVERSION=	20090223
a19 2
LIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4

a32 1
USE_GMAKE=	yes
d51 1
a52 1
		--enable-gethostbyname_r \
d67 2
a68 1
		clamdscan.1
d165 1
a165 1
	@@${REINPLACE_CMD} -E 's,^(pkgconfigdir = ).*$$,\1$$(prefix)/libdata/pkgconfig,g' \
a186 3
. if defined(WITH_MILTER)
	${INSTALL_DATA} ${WRKSRC}/clamav-milter/INSTALL ${DOCSDIR}/INSTALL.clamav-milter
. endif
@


1.143
log
@- Update to 20090220
@
text
@d9 1
a9 1
PORTVERSION=	20090220
@


1.142
log
@- Update to 20090219
@
text
@d9 1
a9 1
PORTVERSION=	20090219
@


1.141
log
@- Fix instalation of clamav-milter.conf when MILTER option is disabled
- Bump PORTREVISION

Reported by:	QAT
@
text
@d9 1
a9 2
PORTVERSION=	20090218
PORTREVISION=	1
a168 2
	@@${REINPLACE_CMD} -e '/PidFile *\/var\/run\/clamd.pid/ s,clamd.pid,clamav-milter.pid,' \
		${WRKSRC}/etc/clamav-milter.conf
@


1.140
log
@- Update to 20090218
- All clamav-milter command line parameters were moved to clamav-milter.conf,
  modify startup script acordingly
- Remove pidfile from clamd startup script since this can be changed in
  clamav-clamd.conf
@
text
@d10 1
d37 1
d142 1
d184 1
a184 1
.for c in clamd freshclam clamav-milter
@


1.139
log
@- Update to 20090107
@
text
@d9 1
a9 1
PORTVERSION=	20090107
d96 1
a96 1
		-e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 ${RUNDIR}/\2|' \
d104 3
a106 1
		-e 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|'
d167 2
d171 2
a172 1
		${WRKSRC}/etc/freshclam.conf
d181 1
a181 1
.for c in clamd freshclam
@


1.138
log
@- Update to 20081223
@
text
@d9 1
a9 1
PORTVERSION=	20081223
@


1.137
log
@- Update to 20081209
@
text
@d9 1
a9 1
PORTVERSION=	20081209
@


1.136
log
@- Update to 20081128
@
text
@d9 1
a9 1
PORTVERSION=	20081128
@


1.135
log
@- Update to 20081125
@
text
@d9 1
a9 1
PORTVERSION=	20081125
@


1.134
log
@- Update to 20081117
- Remove --disable-zlib-vcheck, it's not necessary anymore and is generating a
  warning on configure script
- Remove libtool from dependencies and leave it using its own libtool, without
  it, clamav doesn't build anymore

Discussed with:	Trk Edwin at clamav-devel maillist
@
text
@d9 1
a9 1
PORTVERSION=	20081117
@


1.133
log
@- Update to 20081105
@
text
@d9 1
a9 1
PORTVERSION=	20081105
d32 1
a32 1
USE_AUTOTOOLS=	libtool:15
a48 1
		--disable-zlib-vcheck \
@


1.132
log
@- Update to 20081016
@
text
@d9 1
a9 1
PORTVERSION=	20081016
d46 2
a47 1
CONFIGURE_ARGS=	--with-dbdir=${DBDIR} \
@


1.131
log
@- Change pre-install: target to pre-su-install: since user and group are
  created there (via pkg-install), and it must be done as root.
- While i'm here, fix the same on clamav-devel port

PR:		ports/126701
Submitted by:	grog
@
text
@d9 1
a9 1
PORTVERSION=	20080818
@


1.130
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d171 1
a171 1
pre-install:
@


1.129
log
@- Update to 20080818 to align with 0.94-RC1
@
text
@a32 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.128
log
@- Permit to ser owner and group to clamav milter socket [1]
- Remove @@ to show some install commands, and add -v to cp
- Install clamav-milter doc
- User CHOWN and CHMOD from bsd.commands.mk

PR:		ports/126069 [1]
Submitted by:	Matthew D. Fuller <fullermd@@over-yonder.net> [1]
@
text
@d9 1
a9 1
PORTVERSION=	20080811
@


1.127
log
@- Update to 20080811
@
text
@d91 3
a93 1
		CLAMAV_MILTER_SOCKET=${CLAMAV_MILTER_SOCKET}
d176 1
a176 1
	@@${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include
d179 1
a179 1
		${CP} ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf
d183 5
a187 2
	@@${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/ChangeLog ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}/html
@


1.126
log
@- Update to 20080805
@
text
@d9 1
a9 1
PORTVERSION=	20080805
@


1.125
log
@- Upgrade to 20080725
@
text
@d9 1
a9 1
PORTVERSION=	20080725
@


1.124
log
@- Update to 20080724
@
text
@d9 1
a9 1
PORTVERSION=	20080724
@


1.123
log
@- Update to 20080708
- Align clamav-milter startup script with security/clamav version, that waits
  for milter sock before chmod it
@
text
@d9 1
a9 1
PORTVERSION=	20080708
@


1.122
log
@- Fix checking of database viruses at startup script that i broke on last
  commit
- Bump PORTREVISION again

Submitted by:	George L. Yermulnik <yz@@iptcom.net>
Pointyhat to:	me
@
text
@d9 1
a9 2
PORTVERSION=	20080520
PORTREVISION=	2
@


1.121
log
@- Fix clamd startup script to support cld containers for virus databases
- Bump PORTREVISION

Reported by:	Robert Huff <roberthuff@@rcn.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.120
log
@- Forgot to remove one conditional about PTHREAD_LIB on last commit
@
text
@d10 1
@


1.119
log
@- Remove < 6.1 conditional since it's no longer supported
@
text
@d62 4
a109 8
# This port has a problem with -pthread,
# force to use -lthr until it's not fixed.
.if ${OSVERSION} >= 601000
PTHREAD_LIBS=	-lthr
.else
PTHREAD_LIBS=	-lpthread
.endif

@


1.118
log
@- Update to 20080520
- Change OPTION UNRAR on by default to align with clamav port
- USE_GMAKE to build fine new version
@
text
@d55 1
a105 6
.if ${OSVERSION} < 601103
CONFIGURE_ARGS+=	--disable-gethostbyname_r
.else
CONFIGURE_ARGS+=	--enable-gethostbyname_r
.endif

@


1.117
log
@- Update to 20080221
- Fix pthread problem on 5.x to align with security/clamav
- Fix pkg-install to five correct permissions to log, db and run dirs
@
text
@d9 1
a9 1
PORTVERSION=	20080221
d26 1
a26 1
		UNRAR "Enable rar archives support" Off \
d36 1
a56 1
		-I../libclamav \
a114 5
# Maybe the port is broken for
# FreeBSD 5.2.1 since -lc_r
# and -pthread have both issues there.
.elif ${OSVERSION} == 502010
PTHREAD_LIBS=	-pthread
@


1.116
log
@- Update to 20080124
- Add a new OPTION ICONV (off by default), with it fix an auto iconv detection
  problem on last version

Reported by:	pavmail
@
text
@d9 1
a9 1
PORTVERSION=	20080124
a114 1
.endif
d118 1
a118 1
.if ${OSVERSION} == 502010
d120 2
@


1.115
log
@- Update to 20080121
@
text
@d9 1
a9 1
PORTVERSION=	20080121
d29 1
d141 6
@


1.114
log
@- Update to 20071212
- Unrar code was removed from clamav source due to license problems, and a patch
  was created. I've added an UNRAR option, Off by default.
- Cosmetic changes
- Fix rc.d/clamav-milter to change socket permissions after startup. It fixes
  proclems when sendmail or postfix cannot connect to this socket. [1]

Submitted by:	Chris St Denis <chris@@smartt.com>  by email
@
text
@d9 1
a9 1
PORTVERSION=	20071212
d135 4
a138 4
PATCH_SITES+=	http://www.clamav.net/patches/
PATCHFILES+=	unrar.diff
PATCH_DIST_STRIP+=	-p1
CONFIGURE_ARGS+=	--enable-unrar
a172 1
.if defined(WITH_UNRAR)
a174 1
.endif
@


1.113
log
@- Update to 20071011 to reflect 0.92RC2
@
text
@d9 1
a9 1
PORTVERSION=	20071011
d25 2
a26 1
		UNZOO "Enavle zoo archives support" On \
d122 1
a122 1
.if !defined(WITHOUT_ARC)
d125 1
a125 1
.if !defined(WITHOUT_ARJ)
d128 1
a128 1
.if !defined(WITHOUT_LHA)
d131 1
a131 1
.if !defined(WITHOUT_UNZOO)
d134 6
a169 2
	@@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
		${WRKSRC}/libclamav/unrar/unrar.c
d173 4
@


1.112
log
@Update to 20070830
@
text
@d9 1
a9 1
PORTVERSION=	20070830
@


1.111
log
@- Update to 20070724

PR:		ports/114854
Submitted by:	delphij
@
text
@d9 1
a9 1
PORTVERSION=	20070724
@


1.110
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d9 1
a9 1
PORTVERSION=	20070711
@


1.109
log
@- Remove CURL option, forgotten on last commit. It's not needed anymore
@
text
@a45 1
		--mandir=${MANPREFIX}/man \
@


1.108
log
@- Update to 20070711
@
text
@a27 1
		CURL "Support URL downloading" Off \
a154 7
.if defined(WITH_CURL)
LIB_DEPENDS+=		curl.4:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=	--with-libcurl
.else
CONFIGURE_ARGS+=	--without-libcurl
.endif

@


1.107
log
@- Fix CLAMAV_CLAMD_SOCKET

Reported by:	Robert Huff <roberthuff@@rcn.com>
@
text
@d9 1
a9 2
PORTVERSION=	20070529
PORTREVISION=	1
@


1.106
log
@- Update to 20070529
- Make all last changes that i've made on security/clamav:
  o Make arc, arj, lha and unzoo achives support dependency as OPTIONS
  o Fix build with gethostbyname_r after 601103
  o Install clamav-config.h
  o Change clamav-milter rc.d script to use a var to determine seconds of
    timeout to wait clamd socket be started, just if clamav_clamd_enable
    is set
@
text
@d10 1
d77 1
a77 1
CLAMAV_CLAMD_SOCKET?=	${RUNDIR}/clamd
@


1.105
log
@- Update to 20070218
- Make all cleanups and changes i made on security/clamav port
- Add CURL and LDAP OPTION
@
text
@d9 1
a9 1
PORTVERSION=	20070218
a20 4
RUN_DEPENDS=	lha:${PORTSDIR}/archivers/lha \
		arj:${PORTSDIR}/archivers/arj \
		unzoo:${PORTSDIR}/archivers/unzoo \
		arc:${PORTSDIR}/archivers/arc
d22 5
a26 1
OPTIONS=	MILTER "Compile the milter interface" Off \
a51 1
		--disable-gethostbyname_r \
d105 14
d123 13
d168 1
a168 1
	@@${REINPLACE_CMD} -e 's|-pthread -lc_r|${PTHREAD_LIBS}|g' \
d182 1
@


1.104
log
@- Update to 20061217
@
text
@d9 1
a9 1
PORTVERSION=	20061217
a22 1
		unrar:${PORTSDIR}/archivers/unrar \
d24 1
a24 2
		arc:${PORTSDIR}/archivers/arc \
		unzip:${PORTSDIR}/archivers/unzip
d27 2
d36 1
a36 1
PORTDOCS=	NEWS ChangeLog html
d43 2
d55 1
a55 2
		--enable-experimental \
		--without-libcurl
d62 9
a70 6
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}"

MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1
MAN5=		clamd.conf.5 freshclam.conf.5
MAN8=		clamd.8 clamav-milter.8
d76 1
d81 1
a81 1
SUB_LIST=	DBDIR=${DBDIR} \
d94 2
a95 3
		-e 's|^\#?(AllowSupplementaryGroups)$$|\1|' \
		-e 's|^\#?(ScanMail)$$|\1|' \
		-e 's|^\#?(NotifyClamd)$$|\1|' \
d98 2
a99 1
		-e 's|^\#?(FixStaleSocket)$$|\1|'
d112 1
a112 1
. if !defined(WITHOUT_LDAP) && exists(${LOCALBASE}/lib/libldap.so)
d117 1
a117 1
. if !exists(/usr/lib/libmilter.a)
d119 1
a119 1
CONFIGURE_ENV+=	SENDMAIL="${LOCALBASE}/sbin/sendmail"
d121 1
a121 1
CONFIGURE_ENV+=	SENDMAIL="/usr/sbin/sendmail"
d130 7
d142 3
a144 1
	@@${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,$$(prefix)/libdata/pkgconfig,' \
d146 5
a150 15
	@@${REINPLACE_CMD} -e 's|-pthread -lc_r|${PTHREAD_LIBS}|g' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
	@@${REINPLACE_CMD} -e 's,unarj,arj,g' \
		${WRKSRC}/docs/man/clamscan.1

pre-build:
	@@if ${LDCONFIG} -r | ${GREP} -qw -e -lclamav; then \
		${ECHO_MSG} "===>  *** WARNING ***"; \
		${ECHO_MSG} "      Installed version of libclamav found."; \
		${ECHO_MSG} "      This might cause build problems."; \
	fi

post-build:
	@@${REINPLACE_CMD} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamd.conf
	@@${REINPLACE_CMD} ${SED_CONF} ${BUILD_WRKSRC}/etc/freshclam.conf
d153 1
a153 2
	@@${SETENV} PKG_PREFIX=${PREFIX} PKG_DESTDIR=${DESTDIR} \
		${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL
a155 1
	@@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DESTDIR}${DBDIR}
d157 2
a158 2
	@@[ -f ${DESTDIR}${PREFIX}/etc/${c}.conf ] || \
		${CP} ${DESTDIR}${PREFIX}/etc/${c}.conf.default ${DESTDIR}${PREFIX}/etc/${c}.conf
d161 3
a163 6
	@@${MKDIR} ${DESTDIR}${DOCSDIR}
	@@${INSTALL_DATA} ${INSTALL_WRKSRC}/NEWS ${INSTALL_WRKSRC}/ChangeLog \
		${DESTDIR}${DOCSDIR}
	@@${MKDIR} ${DESTDIR}${DOCSDIR}/html
	@@${INSTALL_DATA} ${INSTALL_WRKSRC}/docs/html/*.* \
		${DESTDIR}${DOCSDIR}/html
d165 1
a165 2
	@@${SETENV} PKG_PREFIX=${PREFIX} PKG_DESTDIR=${DESTDIR} \
		${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
@


1.103
log
@- Mark as FORBIDDEN

Security:	http://www.vuxml.org/freebsd/eb5124a4-8a20-11db-b033-00123ffe8333.html
With hat:	secteam
@
text
@d9 1
a9 1
PORTVERSION=	20061029
a27 2
FORBIDDEN=	http://www.vuxml.org/freebsd/eb5124a4-8a20-11db-b033-00123ffe8333.html

@


1.102
log
@Update to 20061029 to fix vulnerability

Approved by:	portmgr (erwin)
Security:	http://www.vuxml.org/freebsd/8012a79d-5d21-11db-bb8d-00123ffe8333.html
@
text
@d28 2
@


1.101
log
@- Mark as forbidden

Approved by:	portmgr (secteam blanket)
Security:	http://www.vuxml.org/freebsd/8012a79d-5d21-11db-bb8d-00123ffe8333.html
@
text
@d9 1
a9 1
PORTVERSION=	20060922
a19 2
FORBIDDEN=	http://www.vuxml.org/freebsd/8012a79d-5d21-11db-bb8d-00123ffe8333.html

@


1.100
log
@- Update do 20060922 snapshot.
- Add --enable-experimental and remove CURL option to test new code that
  doesn't depend of external curl.
@
text
@d20 2
@


1.99
log
@Update to 20060905 snapshot
@
text
@d9 1
a9 1
PORTVERSION=	20060905
a28 1
		CURL "Support URL downloading" Off \
d52 3
a54 1
		--disable-dependency-tracking
a124 7
.if defined(WITH_CURL)
LIB_DEPENDS+=		curl.3:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=	--with-libcurl
.else
CONFIGURE_ARGS+=	--without-libcurl
.endif

@


1.98
log
@- Update to 20060808
- s/INSTALLS_SHLIB/USE_LDCONFIG/
@
text
@d9 1
a9 1
PORTVERSION=	20060808
@


1.97
log
@Update to 20060724
@
text
@d9 1
a9 1
PORTVERSION=	20060724
d34 1
a34 1
INSTALLS_SHLIB=	yes
@


1.96
log
@Update to 20060703
@
text
@d9 1
a9 1
PORTVERSION=	20060703
@


1.95
log
@- Add an option to print logs on stderr instead stdout, it's useful to catch
  logs and use on smtp log. In preparation to update spamcontro to 2.4 series.
- s/unarj/arj/ on clamscan man [1]
- Bump PORTREVISION because man change

Reported by:	Anton Yuzhaninov <citrin at citrin.ru> [1]
@
text
@d9 1
a9 2
PORTVERSION=	20060525
PORTREVISION=	1
d12 2
a13 1
		http://www.galle.com.br/~garga/clamav-devel/
d46 1
@


1.94
log
@- Update to 20060525
- Use arj and unzoo instead unarj and zoo
@
text
@d10 1
d29 2
a30 1
		CURL "Support URL downloading" Off
d130 4
d139 2
@


1.93
log
@Chase gmp library and bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	20060503
PORTREVISION=	1
d21 1
a21 1
		unarj:${PORTSDIR}/archivers/unarj \
d23 1
a23 1
		zoo:${PORTSDIR}/archivers/zoo \
@


1.92
log
@Update to 20060503
@
text
@d10 1
d20 1
a20 1
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
@


1.91
log
@- Update to 20060426
@
text
@d9 1
a9 1
PORTVERSION=	20060426
@


1.90
log
@- Update to 20060406 snapshot -- fix multiple vulnerabilities
   * CVE-2006-1614
      Damian Put discovered an integer overflow in the PE header parser.
      This is only exploitable if the ArchiveMaxFileSize option is disabled.
   * CVE-2006-1615
      Format string vulnerabilities in the logging code have been discovered,
      which might lead to the execution of arbitrary code.
   * CVE-2006-1630
      David Luyer discovered, that ClamAV can be tricked into an invalid
      memory access in the cli_bitset_set() function, which may lead to
      a denial of service.

- Synchronize with clamav port using SUB_FILES, USE_RC_SUBR

PR:		ports/95425
Submitted by:	garga
Security:	VuXML 6a5174bd-c580-11da-9110-00123ffe8333
@
text
@d9 1
a9 1
PORTVERSION=	20060406
d52 1
@


1.89
log
@Take over maintainership

Approved by:	maintainer by email
@
text
@d9 1
a9 2
PORTVERSION=	20051104
PORTREVISION=	1
a18 2
FORBIDDEN=	Security issues. http://www.vuxml.org/freebsd/6a5174bd-c580-11da-9110-00123ffe8333.html

d30 1
a30 2
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
a31 2
USE_AUTOTOOLS=	automake:19 autoconf:259 libtool:15
LIBTOOLFILES=	acinclude.m4
d33 1
a33 4
USE_RC_SUBR=	yes

PKGINSTALL=	${WRKDIR}/pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
d51 7
a57 4
CPPFLAGS+=	-I${LOCALBASE}/include
CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
d70 8
a77 8
SED_SCRIPT=	-e 's|%%PREFIX%%|${PREFIX}|g' \
		-e 's|%%DBDIR%%|${DBDIR}|g' \
		-e 's|%%LOGDIR%%|${LOGDIR}|g' \
		-e 's|%%RUNDIR%%|${RUNDIR}|g' \
		-e 's|%%CLAMAVUSER%%|${CLAMAVUSER}|g' \
		-e 's|%%CLAMAVGROUP%%|${CLAMAVGROUP}|g' \
		-e 's|%%CLAMAV_CLAMD_SOCKET%%|${CLAMAV_CLAMD_SOCKET}|g' \
		-e 's|%%CLAMAV_MILTER_SOCKET%%|${CLAMAV_MILTER_SOCKET}|g'
a86 1
		-e 's|^\#?(Checks)$$|\#\1|' \
d94 1
a94 7
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}
d96 3
a98 1
.include <bsd.port.pre.mk>
d101 7
a107 1
.if !exists(/usr/lib/libmilter.a)
d110 1
a110 1
.else
d112 2
a113 1
.endif
d127 5
a131 2
pre-configure:
	@@cd ${WRKSRC} && ${ACLOCAL}
a142 10
	@@${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-install >${PKGINSTALL}
	@@${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-deinstall >${PKGDEINSTALL}
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-clamd.sh \
		>${WRKDIR}/clamav-clamd.sh
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-freshclam.sh \
		>${WRKDIR}/clamav-freshclam.sh
.	if defined(WITH_MILTER)
		@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-milter.sh \
			>${WRKDIR}/clamav-milter.sh
.	endif
a148 4
	@@${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \
		${DESTDIR}${RC_DIR}/clamav-clamd${RC_SUFX}
	@@${INSTALL_SCRIPT} ${WRKDIR}/clamav-freshclam.sh \
		${DESTDIR}${RC_DIR}/clamav-freshclam${RC_SUFX}
d150 12
a161 17
.	for c in clamd freshclam
		@@[ -f ${DESTDIR}${PREFIX}/etc/${c}.conf ] || \
			${CP} ${DESTDIR}${PREFIX}/etc/${c}.conf.default \
				${DESTDIR}${PREFIX}/etc/${c}.conf
.	endfor
.	if defined(WITH_MILTER)
		@@${INSTALL_SCRIPT} ${WRKDIR}/clamav-milter.sh \
			${DESTDIR}${RC_DIR}/clamav-milter${RC_SUFX}
.	endif
.	if !defined(NOPORTDOCS)
		@@${MKDIR} ${DESTDIR}${DOCSDIR}
		@@${INSTALL_DATA} ${INSTALL_WRKSRC}/NEWS ${INSTALL_WRKSRC}/ChangeLog \
			${DESTDIR}${DOCSDIR}
		@@${MKDIR} ${DESTDIR}${DOCSDIR}/html
		@@${INSTALL_DATA} ${INSTALL_WRKSRC}/docs/html/*.* \
			${DESTDIR}${DOCSDIR}/html
.	endif
@


1.88
log
@- Mark as FORBIDDEN

Security:	http://www.vuxml.org/freebsd/6a5174bd-c580-11da-9110-00123ffe8333.html
@
text
@d17 1
a17 1
MAINTAINER=	rob@@debank.tv
@


1.87
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d20 2
@


1.86
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d10 1
@


1.85
log
@- Update to 20051104

PR:		88483
Approved by:	rob@@debank.tv (simon bypass maintainer timeout)
Security:	CAN-2005-3303, http://www.zerodayinitiative.com/advisories/ZDI-05-002.html
@
text
@d33 1
a33 3
USE_AUTOCONF_VER=259
USE_AUTOMAKE_VER=19
USE_LIBTOOL_VER=15
@


1.84
log
@Update to 20051003
Unmark FORBIDDEN

PR:		86878
Approved by:	rob@@debank.tv (maintainer), pav (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	20051003
@


1.83
log
@Mark FORBIDDEN due to arbitrary code execution vulnerability.

Security:	http://vuxml.FreeBSD.org/271498a9-2cd4-11da-a263-0001020eed82.html
With hat:	secteam
@
text
@d9 1
a9 1
PORTVERSION=	20050704
a18 2
FORBIDDEN=	http://vuxml.FreeBSD.org/271498a9-2cd4-11da-a263-0001020eed82.html

d149 4
a152 4
.if defined(WITH_MILTER)
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-milter.sh \
		>${WRKDIR}/clamav-milter.sh
.endif
d164 17
a180 16
.for c in clamd freshclam
	@@[ -f ${DESTDIR}${PREFIX}/etc/${c}.conf ] || \
		${CP} ${DESTDIR}${PREFIX}/etc/${c}.conf.default ${DESTDIR}${PREFIX}/etc/${c}.conf
.endfor
.if defined(WITH_MILTER)
	@@${INSTALL_SCRIPT} ${WRKDIR}/clamav-milter.sh \
		${DESTDIR}${RC_DIR}/clamav-milter${RC_SUFX}
.endif
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DESTDIR}${DOCSDIR}
	@@${INSTALL_DATA} ${INSTALL_WRKSRC}/NEWS ${INSTALL_WRKSRC}/ChangeLog \
		${DESTDIR}${DOCSDIR}
	@@${MKDIR} ${DESTDIR}${DOCSDIR}/html
	@@${INSTALL_DATA} ${INSTALL_WRKSRC}/docs/html/*.* \
		${DESTDIR}${DOCSDIR}/html
.endif
@


1.82
log
@Change MASTERSITE from ~renato to ~garga because I change my account
here

Approved by:	flz (mentor)
@
text
@d19 2
@


1.81
log
@Update to 20050704.

PR:		82972
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	Rob Evers (maintainer)
@
text
@d12 1
a12 1
		http://www.galle.com.br/~renato/clamav-devel/
@


1.80
log
@- Bump PORTREVISION

Requested by:	Pavel Rochnyack (irc)
@
text
@d9 1
a9 2
PORTVERSION=	20050614
PORTREVISION=	1
@


1.79
log
@- Fix compilation of the milter interface
- Unconditionally define PORTDOCS, as bsd.port.mk now tests ${NOPORTDOCS}
@
text
@d10 1
@


1.78
log
@Fix the packing list
@
text
@a42 1
.if !defined(NOPORTDOCS)
a43 1
.endif
@


1.77
log
@Update to 20050614 (0.86rc1).

PR:		82222
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	Rob Evers (maintainer)
@
text
@d43 1
d45 1
@


1.76
log
@Update to 20050608.

PR:		82042
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	Rob Evers (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20050608
@


1.75
log
@- Update to 20050529

PR:		ports/81681
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20050529
@


1.74
log
@Update to 20050524.

PR:		81441
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	Rob Evers (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20050524
@


1.73
log
@- Update to 20050503

PR:		ports/80581
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
Approved by:	rob@@debank.tv (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20050503
@


1.72
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 1
PORTVERSION=	20050408
d11 2
a12 1
MASTER_SITES=	http://www.clamav.net/snapshot/
d29 1
@


1.71
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d30 1
a30 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.70
log
@- Update to 20050408, unbreak

PR:		ports/79688
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
@
text
@d30 1
a30 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.69
log
@BROKEN: Unfetchable
@
text
@d9 1
a9 2
PORTVERSION=	20050110
PORTREVISION=	1
a25 2
BROKEN=		Unfetchable

@


1.68
log
@Drop a log-related SED_SCRIPT rule undeeded since rev#1.61.
Since then, there has been a common rule for both LogFile and
UpdateLogFile.
@
text
@d27 2
@


1.67
log
@Introduce a variable LOGDIR instead of using a literal log directory
pathname everywhere.

Approved by:	Rob Evers (maintainer)
@
text
@a93 1
		-e 's|^\#?(UpdateLogFile) .*$$|\1 ${LOGDIR}/freshclam.log|' \
@


1.66
log
@Finish incorporating the changes proposed in
ports/75607 into clamav-devel.

In particular, the last change to this port makes
use of the clamav-milter pidfile, which wouldn't be
recorded without the present change.

PR:		ports/75607
Approved by:	maintainer
@
text
@d45 1
d47 1
a47 1
PLIST_SUB+=	DBDIR=${DBDIR} RUNDIR=${RUNDIR}
d76 1
d84 1
a84 1
		-e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 /var/log/clamav/\3|' \
d94 1
a94 1
		-e 's|^\#?(UpdateLogFile) .*$$|\1 /var/log/clamav/freshclam.log|' \
@


1.65
log
@Unbreak security/clamav-devel by updating it to 20050110 (maintainer update)

PR:		ports/76086
Submitted by:	maintainer
Approved by:	nectar (mentor)
@
text
@d10 1
@


1.64
log
@Fix ports: security/clamav and security/clamav-devel (change db
directory to /var/db/clamav and fix removal of db on deinstall)

	For the sake of coherence, the ClamAV database should be
	installed in /var/db/clamav, not /usr/local/share/clamav.
	Also fixes the database removal on package deinstallation.

PR:		ports/74172
Submitted by:	Jean-Yves Lefort <jylefort@@brutele.be>
Approved by:	Rob Evers <rob@@debank.tv>
@
text
@d9 1
a9 2
PORTVERSION=	20041213
PORTREVISION=	1
d44 3
a46 1
PLIST_SUB+=	DBDIR=${DBDIR}
d69 2
a70 2
CLAMAV_CLAMD_SOCKET?=	/var/run/clamav/clamd
CLAMAV_MILTER_SOCKET?=	/var/run/clamav/clmilter.sock
d74 1
d82 1
a82 1
		-e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 /var/run/clamav/\2|' \
@


1.63
log
@Update to 20041213 snapshot.

Approved by:	maintainer
@
text
@d10 1
d44 3
a46 1
CONFIGURE_ARGS=	--with-dbdir=${DATADIR} \
d72 1
a72 1
		-e 's|%%DATADIR%%|${DATADIR}|g' \
d87 1
a87 1
		-e 's|^\#?(DatabaseDirectory) .*$$|\1 ${DATADIR}|' \
d158 1
a158 1
	@@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DESTDIR}${DATADIR}
@


1.62
log
@Update to 20041201 snapshot.

Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	20041201
d45 1
@


1.61
log
@- Update to 20041101
- Configuration file was renamed to clamd.conf!

PR:		ports/73491
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20041101
d44 1
@


1.60
log
@Kill off automake18, switching to automake19.  Requiem Mors Pacem.
@
text
@d9 1
a9 1
PORTVERSION=	20040826
d26 2
a27 1
OPTIONS=	MILTER "Compile the milter interface" off
a28 1
USE_GMAKE=	yes
d38 5
d47 2
d56 1
a56 1
MAN5=		clamav.conf.5 freshclam.conf.5
d59 1
a59 1
CONFLICTS=	clamav-0.*
a64 1
DOCSDIR?=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
d74 2
a75 2
		-e 's|^\#?(LogFile) .*$$|\1 /var/log/clamav/clamd.log|' \
		-e 's|^\#?(PidFile) .*$$|\1 /var/run/clamav/clamd.pid|' \
d80 1
a99 5
.if ${OSVERSION} < 501001
# compiles only with libcipher
LDFLAGS+=	-lcipher
.endif

d103 3
d113 8
a120 5
post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/lib/sendmail|/usr/sbin/sendmail|g' \
		${WRKSRC}/clamav-milter/clamav-milter.c
	@@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
		${WRKSRC}/Makefile.am
d123 7
d131 4
a134 8
	@@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf \
		> ${BUILD_WRKSRC}/etc/clamav.conf.default
	@@${CP} ${BUILD_WRKSRC}/etc/clamav.conf.default \
		${BUILD_WRKSRC}/etc/clamav.conf
	@@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/freshclam.conf \
		> ${BUILD_WRKSRC}/etc/freshclam.conf.default
	@@${CP} ${BUILD_WRKSRC}/etc/freshclam.conf.default \
		${BUILD_WRKSRC}/etc/freshclam.conf
d136 4
a139 1
		> ${WRKDIR}/clamav-clamd.sh
d141 2
a142 3
		> ${WRKDIR}/clamav-milter.sh
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-freshclam.sh \
		> ${WRKDIR}/clamav-freshclam.sh
d145 1
a145 1
	@@${SETENV} PKG_PREFIX=${PREFIX} \
a146 4
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}
.endif
a148 13
	@@[ -f ${PREFIX}/etc/clamav.conf ] || \
		${CP} ${BUILD_WRKSRC}/etc/clamav.conf.default \
			${PREFIX}/etc/clamav.conf
	@@[ -f ${PREFIX}/etc/clamav.conf.default ] || \
		${CP} ${BUILD_WRKSRC}/etc/clamav.conf.default \
			${PREFIX}/etc/clamav.conf.default
	@@[ -f ${PREFIX}/etc/freshclam.conf ] || \
		${CP} ${BUILD_WRKSRC}/etc/freshclam.conf.default \
			${PREFIX}/etc/freshclam.conf
	@@[ -f ${PREFIX}/etc/freshclam.conf.default ] || \
		${CP} ${BUILD_WRKSRC}/etc/freshclam.conf.default \
			${PREFIX}/etc/freshclam.conf.default
	@@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DATADIR}
d150 1
a150 1
		${RC_DIR}/clamav-clamd${RC_SUFX}
d152 6
a157 1
		${RC_DIR}/clamav-freshclam${RC_SUFX}
d160 9
a168 1
		${RC_DIR}/clamav-milter${RC_SUFX}
d170 2
@


1.59
log
@- Update to 20040826 snapshot
- Fix fetching
- Fix -pthread/-lc_r issue for good
   (courtesy of bsd.autotools.mk, who'd have guessed...)

PR:		ports/71168
Submitted by:	Rob Evers (maintainer), me
@
text
@d32 1
a32 1
USE_AUTOMAKE_VER=18
d113 1
@


1.58
log
@Unbreak (fetching) and update security/clamav-devel to 20040701 snapshot

PR:		68596
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040701
d11 1
a11 1
MASTER_SITES=	http://clamav.sourceforge.net/snapshot/
d32 3
a34 1
USE_LIBTOOL_VER=13
d44 3
a46 3
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}" "CPPFLAGS=${CPPFLAGS}"
d112 1
a112 1
		${WRKSRC}/Makefile.in
@


1.57
log
@- Update to 20040610

PR:		ports/67792
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040610
a28 1
USE_GNOME=	pkgconfig
@


1.56
log
@Update to today's release. Propagate CPPFLAGS to CONFIGURE_ENV to enable
building of the milter part. Use autoconf-2.59 instead of the deprecated
2.57

Approved by:	Rob Evers (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040609
d29 1
d110 2
@


1.55
log
@- Update to 20040603

PR:		ports/67524
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040603
d31 1
a31 1
USE_AUTOCONF_VER=257
d44 1
a44 1
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
@


1.54
log
@undo chmod on socket directory

Approved by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	20040524
PORTREVISION=	2
d47 1
a47 1
MAN5=		clamav.conf.5
@


1.53
log
@- Change permissions on socket directory to 750.
  This unbreaks sendmail.

Submitted by:	ume
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.52
log
@- Update to 20040524
- Rename rc script freshclam.sh -> clamav-freshclam.sh for consistency
  BEWARE if you're using freshclam daemon you must update your rc.conf!
- Chmod 770 socket directory
- Diff reduction against security/clamav port

PR:		ports/67125
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d10 1
@


1.51
log
@- Update to 20040521

PR:		ports/67040
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040521
a57 3
PLIST_SUB+=	CLAMAVUSER="${CLAMAVUSER}"
PLIST_SUB+=	CLAMAVGROUP="${CLAMAVGROUP}"

d78 3
a107 1
		-e 's|<malloc.h>|<stdlib.h>|' \
d123 2
a124 1
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/freshclam.sh > ${WRKDIR}/freshclam.sh
d150 2
a151 1
	@@${INSTALL_SCRIPT} ${WRKDIR}/freshclam.sh ${RC_DIR}/freshclam${RC_SUFX}
@


1.50
log
@- update to 20040503
AllowSupplementaryGroups enabled by default
Removed OSVERSION check (not needed anymore)
Make the port look a bit more like security/clamav

PR:		66203
Submitted by:	Rob Evers
@
text
@d9 1
a9 1
PORTVERSION=	20040503
d97 3
a99 1
.if exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a)
a101 4
.else
BROKEN=		requires Sendmail 8.12
PLIST_SUB+=	CLAMAV-MILTER="@@comment "
.endif
@


1.49
log
@Update to 20040419

PR:		65764
Submitted by:	Rob Evers <rob@@debank.tv>
@
text
@d9 1
a9 1
PORTVERSION=	20040419
d34 1
d37 5
a41 1
		--disable-clamav --enable-bigstack
d73 1
a80 3
.include <bsd.port.pre.mk>

USE_RC_SUBR=	yes
d89 2
d92 1
a92 2
# compiles only with optimizer
CFLAGS+=	-O
d97 6
a102 3
.if exists(${LOCALBASE}/lib/libmilter.a)
CPPFLAGS+=     -I${LOCALBASE}/include
CONFIGURE_ENV+=        CPPFLAGS="${CPPFLAGS}"
a103 2
CONFIGURE_ARGS+=	--enable-milter
PLIST_SUB+=	CLAMAV-MILTER:=""
d105 1
a105 1
PLIST_SUB+=	CLAMAV-MILTER:="@@comment "
d129 1
a129 1
	 ${SETENV} PKG_PREFIX=${PREFIX} \
@


1.48
log
@- update to 20040404
PR:		65205
Submitted by:	Rob Evers

- fix deinstallation on clean system.
sed modifies clamav.conf.default and freshclam.conf.default only.
when installing on a clean system from port (package is fine),
clamav.conf.default and clamav.conf are diffrent
also freshclam.conf.default and freshclam.conf are diffrent,
and a deinstallation will leave stale files.
@
text
@d9 1
a9 1
PORTVERSION=	20040404
d66 1
a66 1
		-e 's|^\#?(LocalSocket) .*$$|\1 /var/run/clamav/clamd|' \
@


1.47
log
@- Update to 20040321 snapshot

PR:             64564
Submitted by:   Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040321
d111 2
d115 2
@


1.46
log
@Update to 20040313

PR:		ports/64224
Submitted by:	Rob Evers <rob@@haha.debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20040313
@


1.45
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d9 1
a9 1
PORTVERSION=	20040229
@


1.44
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
@d32 1
a32 1
USE_LIBTOOL=	yes
@


1.43
log
@Upgrade to 20040229 snapshot.

Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d31 1
a31 2
USE_AUTOCONF=	yes
WANT_AUTOCONF_VER=257
@


1.42
log
@- Unbreak threading issue
PR:		63022
Submitted by:	rob@@debank.tv

- Use fixStaleSocket by default
- Add clamav user to mail group (for exim users)
- clean up DOCSDIR variable
PR:		63022
Submitted by:	rob@@debank.tv
Suggested by:	eik
@
text
@d9 1
a9 2
PORTVERSION=	20040210
PORTREVISION=	1
d31 2
d39 1
a39 1
LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
d94 4
a104 5
.if ${OSVERSION} >= 502102
	@@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.else
	@@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.endif
@


1.41
log
@FORBIDDEN on 502102: Links against libc_r and libpthread
@
text
@d10 1
d51 1
d72 2
a73 1
		-e 's|^\#?(UpdateLogFile) .*$$|\1 /var/log/clamav/freshclam.log|'
a76 4
.if ${OSVERSION} >= 502102
FORBIDDEN=	"Links against conflicting thread libraries"
.endif

d100 3
d104 1
d124 2
a125 2
	@@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
	@@${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}${PKGNAMESUFFIX}
@


1.40
log
@- update to 20040210
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port

You have to run freshclam manually once after upgrade to restore the database.

PR:		62653
Submitted by:	rob@@debank.tv

- Fix deinstall when no database was installed.
Submitted by:	dinoex
@
text
@d74 4
@


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

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	20040129
PORTREVISION=	1
d26 1
a26 1
#OPTIONS=	MILTER "Compile the milter interface" off
a101 6
pre-configure:
	@@${REINPLACE_CMD} -e 's|clamav.conf|&.default|' \
		-e 's|freshclam.conf|&.default|' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
		${CONFIGURE_WRKSRC}/etc/Makefile.in

d125 3
d131 3
a137 1
	@@${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
@


1.38
log
@- udpate to 20040129 (Various OLE2/VBA fixes)
Get default config files from BUILD_WRKSRC to fix upgrade when config files are untouched
Really use the POST-INSTALL target

PR:		62112
Submitted by:	rob@@debank.tv
@
text
@d10 1
@


1.37
log
@- update to 20040126
Various bugfixes
Added support for OLE2 / VBA streams scanning

PR:		61948
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20040126
d124 1
a124 1
	${INSTALL_DATA} ${WRKSRC}/docs/*pdf ${DOCSDIR}${PKGNAMESUFFIX}
d129 1
a129 1
		${CP} ${PREFIX}/etc/clamav.conf.default \
d132 1
a132 1
		${CP} ${PREFIX}/etc/freshclam.conf.default \
d138 1
@


1.36
log
@- update to 20040120
- Added some docs
PR:		61675
Submitted by:	rob@@debank.tv

- Fix: remove docdir
@
text
@d9 1
a9 1
PORTVERSION=	20040120
@


1.35
log
@- Update to 0.9.1
- Revert to clamav_milter_enable (rc.subr)

PR:                 61431
Submitted by:       Rob Evers <rob@@debank.tv> (maintainer)
Approved by:        erwin (mentor) (implicitly)
@
text
@d9 1
a9 1
PORTVERSION=	20040116
d26 1
a71 1

d122 4
@


1.34
log
@- Update to 20040113
Add freshclam daemon startup script
Modify freshclam.conf with sane values
Milter script cleanup (Milter socket changed)

PR:		61313
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20040113
@


1.33
log
@- Fix build with WRKDIRPREFIX set,
hardcoded ./work removed.
@
text
@d9 1
a9 1
PORTVERSION=	20040103
d13 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-fixed
a25 2
WRKSRC=		${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

d48 1
a48 1
CLAMAV_MILTER_SOCKET?=	/var/run/clmilter.sock
d65 6
a70 1
		-e 's|^\#?(ScanMail)$$|\1|'
d117 1
d133 1
@


1.32
log
@Emergency update to 20040103.

PR:		60865
Submitted by:	maintainer
@
text
@d26 1
a26 1
WRKSRC=		work/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
@


1.31
log
@- update to 20031229
- new config file freshclam.conf
Fix problem with clamscan --mbox
Approved by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031229
d13 1
a13 1
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
d25 2
@


1.30
log
@- Fix build under 5.1 RELEASE (malloc.h)
- Update to 20031222
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031222
d99 1
d106 2
d121 3
@


1.29
log
@- Update to 20031211
clamd: UseProcesses: use processes instead of threads (initial version)
clamav-milter: Added --quarantine-dir
clamd: new directive ArchiveMaxCompressionRatio
Various fixes

PR:		60137
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031211
d94 1
@


1.28
log
@- update to 20031118
- Fix manpage with option WITH_MILTER
Submitted by:   rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031118
@


1.27
log
@- update to 20031112
PR:		59219
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031112
@


1.26
log
@- update to 20031030
This snapshot supports cvd database updates
PR:             58727
Submitted by:   rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031030
d39 1
a39 1
MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1 clamav-milter.1
d41 1
a41 1
MAN8=		clamd.8
@


1.25
log
@- update to 20031020
- Added LIB_DEPENDS libgmp (for signed virus signatures)
- sigtool: receive digital signature from remote ClamAV Signing Service
PR:		58274
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031020
@


1.24
log
@- Add conflict with clamav port
PR:		58036
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031014
d18 1
d36 1
a36 1
LDFLAGS+=	${PTHREAD_LIBS}
@


1.23
log
@- Update to 20031011

PR:		57867
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20031011
d41 2
@


1.22
log
@- Upgrade to 20031001
- added RC-ng scripts
- Fix build on CURENT
PR:		57451
Submitted by:	rob@@debank.tv, eikemeier@@fillmore-labs.com, dinoex
@
text
@d9 1
a9 1
PORTVERSION=	20031001
@


1.21
log
@- Upgrade to 20030930
- This snapshot should be much more stable
- Some minor cleanup

PR:		57404
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20030930
d44 2
d51 5
a55 1
		-e 's|%%DATADIR%%|${DATADIR}|g'
d66 9
a87 6
post-extract:
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-milter.sh \
		> ${WRKSRC}/clamav-milter.sh
	@@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-clamd.sh \
		> ${WRKSRC}/clamav-clamd.sh

d100 5
a104 1
		>${BUILD_WRKSRC}/etc/clamav.conf.default
d108 1
a108 1
		${SH} ${PKGINSTALL} ${PREFIX}
d112 2
a113 1
		${CP} ${PREFIX}/etc/clamav.conf.default ${PREFIX}/etc/clamav.conf
d115 2
a116 2
	${INSTALL_SCRIPT} ${WRKSRC}/clamav-clamd.sh \
		${LOCALBASE}/etc/rc.d/clamav-clamd.sh.sample
d118 2
a119 2
	${INSTALL_SCRIPT} ${WRKSRC}/clamav-milter.sh \
		${LOCALBASE}/etc/rc.d/clamav-milter.sh.sample
@


1.20
log
@Update to 20030928
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- Change log and pid file location to more universal one
- RC-ng scripts for clamd and clamav-milter are planned

- Thanks to Oliver Eikemeier from whom I stole most (clamav-port)

PR:		57371
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20030928
d32 1
a32 1
CONFIGURE_ARGS=	--prefix=${PREFIX} \
d42 2
a43 2
CLAMAVUSER?=    clamav
CLAMAVGROUP?=   clamav
d45 2
a46 2
PLIST_SUB+=     CLAMAVUSER="${CLAMAVUSER}"
PLIST_SUB+=     CLAMAVGROUP="${CLAMAVGROUP}"
a87 4
.ifdef USE_LIBTOOL_VER
	@@${REINPLACE_CMD} -e '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
d95 1
a95 1
                ${SH} ${PKGINSTALL} ${PREFIX}
@


1.19
log
@- Udpate to 20030926
add a few switches for spooldir and user
The clamav-user doesn't get deinstalled by default (easy when upgrading),
after deinstall a message is presented to remove the clamav-user if neccesary.

PR:		57254
Submitted by:	rob@@debank.tv
@
text
@d9 1
a9 1
PORTVERSION=	20030926
d35 1
d42 15
a56 4
CLAMAVUSER?=	clamav
SPOOLDIR?=	/var/clamd
PLIST_SUB+=	SPOOLDIR="${SPOOLDIR}"
PLIST_SUB+=	CLAMAVUSER="${CLAMAVUSER}"
d60 1
a60 1
.if ${OSVERSION} < 510001
d74 1
a74 1
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/clamav-milter.sh \
d76 1
a76 1
	@@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/clamav-clamd.sh \
d84 17
d102 3
a104 2
	${SETENV} PKG_PREFIX=${PREFIX} \
		${SH} ${PKGINSTALL} ${PREFIX}
@


1.18
log
@- add sample rc-script for clamav-clamd and clamav-milter
- Fix path to sendmail binary
- Fix pthread on current
Approved by: rob@@debank.tv
@
text
@d9 1
a9 2
PORTVERSION=	20030829
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
d41 5
a71 4
pre-install:
	@@${ECHO} "===>  Creating custom user to run clamav..."
	${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

d73 2
a74 3
	@@${ECHO} "===>  Setting permissions..."
	@@${SETENV} PKG_PREFIX=${PREFIX} \
	${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
@


1.17
log
@- Update to 20030829
- Fix build under stable
PR:		56374
Submitted by:	rob@@debank.tv
@
text
@d10 1
d26 1
a50 1
USE_GCC=	3.2
d57 11
d74 1
a74 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${sh} \
d76 6
@


1.16
log
@The clamav-people do nightly snapshots now, hence the port must be updated
every day or snapshots have to be preserved elsewhere, this patch changes
the master_sites to a mirror which keeps the clamav-devel package for a
longer time. And while we're at it update to the latest snapshot.

PR:		55294
Submitted by:	Rob Evers <rob@@debank.tv>
@
text
@d9 1
a9 1
PORTVERSION=	20030805
d11 1
a11 1
MASTER_SITES=	http://members.chello.nl/e.prochowski/
d13 1
a13 1
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
d33 2
d41 6
@


1.15
log
@Upgrade security/clamav-devel to 20030803

PR:		55224
Submitted by:	Rob Evers <rob@@debank.tv>
@
text
@d9 1
a9 1
PORTVERSION=	20030803
d11 1
a11 4
MASTER_SITES=	http://clamav.elektrapro.com/snapshot/ \
		http://clamav.essentkabel.com/snapshot/ \
		http://clamav.ozforces.com/ \
		http://clamav.rulez.pl/snapshot/
@


1.14
log
@Fix pkg-plist, bump PORTREVISION

Submitted by:	Rob <rob@@debank.tv> (maintainer)
PR:		54818
@
text
@d9 1
a9 2
PORTVERSION=	20030720
PORTREVISION?=	1
d16 1
@


1.13
log
@add a knob of WITH_MILTER in Makefile and update description.

Submitted by:	Rob <rob@@debank.tv> (maintainer)
@
text
@d10 1
@


1.12
log
@update security/clamav-devel: 20030705 -> 20030720

PR:		54701
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
Reviewed by:	leeym
@
text
@d42 2
a43 1
.if exists(/usr/include/libmilter/mfapi.h)
@


1.11
log
@update security/clamav-devel: 20030625 --> 20030705

PR:		54150
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20030705
d42 1
a42 1
.if ${OSVERSION} > 500000
@


1.10
log
@Add --enable-bigstack (to CONFIGURE_ARGS) and a manual (to MAN1).

PR:		ports/53759
Submitted by:	Rob Evers <rob@@debank.tv> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20030625
@


1.9
log
@Add new port of clamav-devel after repo copy.
Update to snapshot(20030625).

PR:		ports/53306
Submitted by:	Rob Evers <rob@@debank.tv>
Approved by:	portmgr (marcus)
Repo copyed by:	cvs (joe)
@
text
@d34 1
a34 1
		--disable-clamav
d36 1
a36 1
MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1
@


1.8
log
@* Upgrade to 0.60.
* Add --enable-bigstack.

PR:		ports/53632
Submitted by:	Rob <rob@@debank.tv>
Approved by:	maintainer
@
text
@d1 3
a3 3
# New ports collection makefile for:	clamav
# Date created:		15 July 2002
# Whom:			markun@@onohara.to
d9 1
a9 1
PORTVERSION=	0.60
d11 5
a15 2
MASTER_SITES=	http://clamav.elektrapro.com/stable/ \
		http://clamav.essentkabel.com/stable/
d17 1
a17 1
MAINTAINER=	markun@@onohara.to
d29 1
a29 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
d34 1
a34 2
		--disable-clamav \
		--enable-bigstack
d36 1
a36 1
MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1 clamav-milter.1
d42 7
d50 1
a50 1
	@@${ECHO} "===>   Creating custom user to run clamav..."
d54 1
a54 1
	@@${ECHO} "===>   Setting permissions..."
@


1.7
log
@o Add mirror site.
o Remove unnecsesary patches for current.
o Add/remove users when installing/removing.
o Set permissions on virus database dir.

PR:		ports/53305
Submitted by:	Rob Evers<rob@@debank.tv>
Approved by:	TERAMOTO Masahiro <markun@@onohara.to> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.54
PORTREVISION=	1
a13 1

a22 1
LIB_DEPENDS=	pth.20:${PORTSDIR}/devel/pth
d30 3
a32 1
CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-clamav
d34 1
a34 1
MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1
@


1.6
log
@Fix install error.

PR:		ports/53112
Submitted by:	Michal F. Hanula <frankie@@kyblik.pieskovisko.sk>
		Rob <rob@@debank.tv>
@
text
@d12 3
a14 1
MASTER_SITES=	http://clamav.elektrapro.com/stable/
d41 3
a43 3
.if ${OSVERSION} >= 500000
EXTRA_PATCHES=	${FILESDIR}/patch5-*
.endif
d45 4
a48 3
pre-install:
	@@${ECHO} "==>  Creating custom user to run clamav..."
#	${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@


1.5
log
@Enable pthread support using devel/pth.
Turn on building clamd and clamdscan.

PR:		53056
Pointed out by:	Olivier Tharan <olive@@oban.frmug.org>
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d10 1
d26 2
@


1.4
log
@PR:		52226
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Maintainer update: Clam AntiVirus contains OAV database, but its database is
developed independently.

	Pointed out by Tomasz Kojim <zolw@@konarski.edu.pl>
		developer of Clam AntiVirus
@
text
@d22 1
d25 2
a26 1
HAS_CONFIGURE=	yes
d28 1
a28 1
CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-clamav --disable-pthreads
@


1.3
log
@De-pkg-comment.
@
text
@d14 1
a14 1
COMMENT=	Command line virus scanner using database from OpenAntiVirus
@


1.2
log
@maintainer-update: security/clamav to 0.54

PR:		ports/47291
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d14 1
@


1.1
log
@new port: security/clamav

	Clam Antivirus is command line virus scanner using database
	from OpenAntiVirus.

PR:		ports/40602
Submitted by:	TERAMOTO Masahiro <markun@@onohara.to>
@
text
@d9 1
a9 1
PORTVERSION=	0.20
d27 9
a35 1
MAN1=		clamscan.1 freshclam.1 sigtool.1
d39 1
a39 1
	${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
d41 1
a41 1
.include <bsd.port.mk>
@

