head	1.200;
access;
symbols
	old_RELEASE_4_EOL:1.199
	old_RELEASE_6_2_0:1.193
	old_old_RELEASE_6_1_0:1.183
	old_old_RELEASE_5_5_0:1.183
	old_old_RELEASE_6_0_0:1.175
	old_old_RELEASE_5_4_0:1.162
	old_old_RELEASE_4_11_0:1.148
	old_old_RELEASE_5_3_0:1.142
	old_old_RELEASE_4_10_0:1.121
	old_old_RELEASE_5_2_1:1.101
	old_old_RELEASE_5_2_0:1.101
	old_old_RELEASE_4_9_0:1.101
	old_old_RELEASE_5_1_0:1.100
	old_old_RELEASE_4_8_0:1.99
	old_old_RELEASE_5_0_0:1.95
	old_old_old_RELEASE_4_7_0:1.90
	old_old_old_RELEASE_4_6_2:1.89
	old_old_old_RELEASE_4_6_1:1.89
	old_old_old_RELEASE_4_6_0:1.89
	old_old_old_RELEASE_5_0_DP1:1.89
	old_old_old_RELEASE_4_5_0:1.86
	old_old_old_RELEASE_4_4_0:1.85
	old_old_old_RELEASE_4_3_0:1.82
	old_old_old_RELEASE_4_2_0:1.72
	old_old_old_RELEASE_4_1_1:1.72
	old_old_old_RELEASE_4_1_0:1.71
	old_old_old_RELEASE_3_5_0:1.70
	old_old_old_RELEASE_4_0_0:1.65
	old_old_old_RELEASE_3_4_0:1.62
	old_old_old_RELEASE_3_3_0:1.61
	old_old_old_RELEASE_3_2_0:1.55
	old_old_old_RELEASE_3_1_0:1.54
	old_old_old_RELEASE_2_2_8:1.53
	old_old_old_RELEASE_3_0_0:1.52
	old_old_old_RELEASE_2_2_7:1.51
	old_old_old_RELEASE_2_2_6:1.47
	old_old_old_RELEASE_2_2_5:1.32
	old_old_old_RELEASE_2_2_1:1.24
	old_old_old_RELEASE_2_2_2:1.28
	old_old_old_squid_1_0b11:1.1.1.1
	old_old_old_SQUID:1.1.1;
locks; strict;
comment	@# @;


1.200
date	2007.02.07.08.42.30;	author pav;	state dead;
branches;
next	1.199;

1.199
date	2007.01.24.20.59.50;	author miwi;	state Exp;
branches;
next	1.198;

1.198
date	2007.01.17.04.45.36;	author clsung;	state Exp;
branches;
next	1.197;

1.197
date	2006.12.14.22.18.59;	author miwi;	state Exp;
branches;
next	1.196;

1.196
date	2006.11.14.20.34.58;	author stas;	state Exp;
branches;
next	1.195;

1.195
date	2006.11.08.22.20.49;	author miwi;	state Exp;
branches;
next	1.194;

1.194
date	2006.11.04.23.18.02;	author miwi;	state Exp;
branches;
next	1.193;

1.193
date	2006.08.22.07.56.56;	author miwi;	state Exp;
branches;
next	1.192;

1.192
date	2006.08.06.21.57.57;	author sat;	state Exp;
branches;
next	1.191;

1.191
date	2006.07.10.20.07.00;	author sat;	state Exp;
branches;
next	1.190;

1.190
date	2006.07.10.19.57.12;	author sat;	state Exp;
branches;
next	1.189;

1.189
date	2006.07.09.15.20.10;	author sem;	state Exp;
branches;
next	1.188;

1.188
date	2006.06.05.22.00.46;	author jmelo;	state Exp;
branches;
next	1.187;

1.187
date	2006.06.04.19.55.31;	author sem;	state Exp;
branches;
next	1.186;

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

1.185
date	2006.05.16.21.33.59;	author ehaupt;	state Exp;
branches;
next	1.184;

1.184
date	2006.03.18.17.11.13;	author pav;	state Exp;
branches;
next	1.183;

1.183
date	2006.02.04.11.45.40;	author sem;	state Exp;
branches;
next	1.182;

1.182
date	2006.01.15.15.44.35;	author sem;	state Exp;
branches;
next	1.181;

1.181
date	2006.01.09.13.37.54;	author jylefort;	state Exp;
branches;
next	1.180;

1.180
date	2005.12.25.23.38.47;	author edwin;	state Exp;
branches;
next	1.179;

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

1.178
date	2005.11.01.14.05.59;	author krion;	state Exp;
branches;
next	1.177;

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

1.176
date	2005.10.06.18.47.55;	author mnag;	state Exp;
branches;
next	1.175;

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

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

1.173
date	2005.09.16.17.39.01;	author pav;	state Exp;
branches;
next	1.172;

1.172
date	2005.09.15.20.10.58;	author pav;	state Exp;
branches;
next	1.171;

1.171
date	2005.09.14.23.27.00;	author pav;	state Exp;
branches;
next	1.170;

1.170
date	2005.09.04.07.57.55;	author sem;	state Exp;
branches;
next	1.169;

1.169
date	2005.06.30.19.25.09;	author flz;	state Exp;
branches;
next	1.168;

1.168
date	2005.06.29.20.41.27;	author jylefort;	state Exp;
branches;
next	1.167;

1.167
date	2005.06.28.02.38.39;	author ahze;	state Exp;
branches;
next	1.166;

1.166
date	2005.05.22.13.49.22;	author jylefort;	state Exp;
branches;
next	1.165;

1.165
date	2005.05.19.14.17.01;	author pav;	state Exp;
branches;
next	1.164;

1.164
date	2005.04.21.08.57.57;	author leeym;	state Exp;
branches;
next	1.163;

1.163
date	2005.04.18.01.05.35;	author leeym;	state Exp;
branches;
next	1.162;

1.162
date	2005.03.15.22.50.50;	author ahze;	state Exp;
branches;
next	1.161;

1.161
date	2005.03.13.19.32.53;	author ahze;	state Exp;
branches;
next	1.160;

1.160
date	2005.03.08.23.27.46;	author pav;	state Exp;
branches;
next	1.159;

1.159
date	2005.02.26.15.56.49;	author pav;	state Exp;
branches;
next	1.158;

1.158
date	2005.02.20.17.45.36;	author pav;	state Exp;
branches;
next	1.157;

1.157
date	2005.02.13.17.21.02;	author sem;	state Exp;
branches;
next	1.156;

1.156
date	2005.02.10.23.15.08;	author pav;	state Exp;
branches;
next	1.155;

1.155
date	2005.02.08.15.11.56;	author nectar;	state Exp;
branches;
next	1.154;

1.154
date	2005.02.01.14.11.22;	author sem;	state Exp;
branches;
next	1.153;

1.153
date	2005.01.29.21.49.20;	author sem;	state Exp;
branches;
next	1.152;

1.152
date	2005.01.26.17.56.25;	author sem;	state Exp;
branches;
next	1.151;

1.151
date	2005.01.22.09.31.33;	author edwin;	state Exp;
branches;
next	1.150;

1.150
date	2005.01.19.10.58.40;	author edwin;	state Exp;
branches;
next	1.149;

1.149
date	2005.01.12.22.37.29;	author simon;	state Exp;
branches;
next	1.148;

1.148
date	2004.12.23.12.15.30;	author krion;	state Exp;
branches;
next	1.147;

1.147
date	2004.12.08.23.16.53;	author sem;	state Exp;
branches;
next	1.146;

1.146
date	2004.11.14.09.55.40;	author krion;	state Exp;
branches;
next	1.145;

1.145
date	2004.10.27.08.48.52;	author sergei;	state Exp;
branches;
next	1.144;

1.144
date	2004.10.18.21.50.19;	author sergei;	state Exp;
branches;
next	1.143;

1.143
date	2004.10.13.09.43.48;	author sergei;	state Exp;
branches;
next	1.142;

1.142
date	2004.10.11.07.43.34;	author sergei;	state Exp;
branches;
next	1.141;

1.141
date	2004.10.07.08.42.16;	author sergei;	state Exp;
branches;
next	1.140;

1.140
date	2004.09.02.06.44.14;	author sem;	state Exp;
branches;
next	1.139;

1.139
date	2004.08.28.20.51.36;	author sem;	state Exp;
branches;
next	1.138;

1.138
date	2004.08.21.12.28.56;	author krion;	state Exp;
branches;
next	1.137;

1.137
date	2004.08.20.13.54.30;	author sem;	state Exp;
branches;
next	1.136;

1.136
date	2004.08.07.19.28.16;	author krion;	state Exp;
branches;
next	1.135;

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

1.134
date	2004.07.28.18.56.48;	author krion;	state Exp;
branches;
next	1.133;

1.133
date	2004.07.25.16.30.43;	author pav;	state Exp;
branches;
next	1.132;

1.132
date	2004.07.23.12.25.45;	author eik;	state Exp;
branches;
next	1.131;

1.131
date	2004.07.22.06.09.05;	author krion;	state Exp;
branches;
next	1.130;

1.130
date	2004.07.19.21.25.38;	author krion;	state Exp;
branches;
next	1.129;

1.129
date	2004.07.14.18.33.12;	author krion;	state Exp;
branches;
next	1.128;

1.128
date	2004.06.28.16.56.04;	author krion;	state Exp;
branches;
next	1.127;

1.127
date	2004.06.18.11.49.44;	author krion;	state Exp;
branches;
next	1.126;

1.126
date	2004.06.10.15.40.44;	author krion;	state Exp;
branches;
next	1.125;

1.125
date	2004.06.09.20.33.58;	author des;	state Exp;
branches;
next	1.124;

1.124
date	2004.06.02.18.10.02;	author krion;	state Exp;
branches;
next	1.123;

1.123
date	2004.05.01.20.48.47;	author krion;	state Exp;
branches;
next	1.122;

1.122
date	2004.04.28.19.49.18;	author krion;	state Exp;
branches;
next	1.121;

1.121
date	2004.04.19.19.47.43;	author krion;	state Exp;
branches;
next	1.120;

1.120
date	2004.04.18.17.04.26;	author krion;	state Exp;
branches;
next	1.119;

1.119
date	2004.04.12.13.27.46;	author krion;	state Exp;
branches;
next	1.118;

1.118
date	2004.04.09.18.54.12;	author krion;	state Exp;
branches;
next	1.117;

1.117
date	2004.04.01.14.12.37;	author pav;	state Exp;
branches;
next	1.116;

1.116
date	2004.03.17.07.06.45;	author sergei;	state Exp;
branches;
next	1.115;

1.115
date	2004.02.23.16.41.51;	author eik;	state Exp;
branches;
next	1.114;

1.114
date	2004.02.17.11.07.18;	author sergei;	state Exp;
branches;
next	1.113;

1.113
date	2004.02.02.15.28.16;	author sergei;	state Exp;
branches;
next	1.112;

1.112
date	2004.01.19.03.03.11;	author ijliao;	state Exp;
branches;
next	1.111;

1.111
date	2004.01.16.21.18.20;	author sergei;	state Exp;
branches;
next	1.110;

1.110
date	2004.01.09.17.19.32;	author sergei;	state Exp;
branches;
next	1.109;

1.109
date	2004.01.06.08.12.54;	author sergei;	state Exp;
branches;
next	1.108;

1.108
date	2004.01.05.09.54.57;	author will;	state Exp;
branches;
next	1.107;

1.107
date	2004.01.02.00.28.12;	author edwin;	state Exp;
branches;
next	1.106;

1.106
date	2003.12.30.09.22.31;	author edwin;	state Exp;
branches;
next	1.105;

1.105
date	2003.12.28.11.03.28;	author edwin;	state Exp;
branches;
next	1.104;

1.104
date	2003.12.28.09.58.21;	author edwin;	state Exp;
branches;
next	1.103;

1.103
date	2003.12.28.09.46.35;	author edwin;	state Exp;
branches;
next	1.102;

1.102
date	2003.12.13.13.35.48;	author kuriyama;	state Exp;
branches;
next	1.101;

1.101
date	2003.07.27.08.45.10;	author adrian;	state Exp;
branches;
next	1.100;

1.100
date	2003.04.09.08.31.30;	author adrian;	state Exp;
branches;
next	1.99;

1.99
date	2003.03.09.10.59.07;	author netchild;	state Exp;
branches;
next	1.98;

1.98
date	2003.03.07.06.12.53;	author ade;	state Exp;
branches;
next	1.97;

1.97
date	2003.01.31.09.02.49;	author adrian;	state Exp;
branches;
next	1.96;

1.96
date	2003.01.02.20.21.40;	author seanc;	state Exp;
branches;
next	1.95;

1.95
date	2002.11.05.00.48.06;	author edwin;	state Exp;
branches;
next	1.94;

1.94
date	2002.11.04.22.57.37;	author edwin;	state Exp;
branches;
next	1.93;

1.93
date	2002.11.04.01.13.23;	author edwin;	state Exp;
branches;
next	1.92;

1.92
date	2002.10.14.05.51.12;	author adrian;	state Exp;
branches;
next	1.91;

1.91
date	2002.10.13.21.06.59;	author knu;	state Exp;
branches;
next	1.90;

1.90
date	2002.07.05.09.39.38;	author adrian;	state Exp;
branches;
next	1.89;

1.89
date	2002.03.22.00.19.55;	author adrian;	state Exp;
branches;
next	1.88;

1.88
date	2002.02.20.03.44.04;	author adrian;	state Exp;
branches;
next	1.87;

1.87
date	2002.02.19.13.46.22;	author adrian;	state Exp;
branches;
next	1.86;

1.86
date	2001.12.03.03.39.14;	author adrian;	state Exp;
branches;
next	1.85;

1.85
date	2001.09.01.08.34.14;	author adrian;	state Exp;
branches;
next	1.84;

1.84
date	2001.08.28.16.48.35;	author adrian;	state Exp;
branches;
next	1.83;

1.83
date	2001.06.17.22.24.02;	author adrian;	state Exp;
branches;
next	1.82;

1.82
date	2001.04.10.14.41.19;	author adrian;	state Exp;
branches;
next	1.81;

1.81
date	2001.04.03.09.06.34;	author adrian;	state Exp;
branches;
next	1.80;

1.80
date	2001.03.31.11.41.18;	author adrian;	state Exp;
branches;
next	1.79;

1.79
date	2001.03.29.16.35.01;	author sobomax;	state Exp;
branches;
next	1.78;

1.78
date	2001.03.27.12.56.41;	author adrian;	state Exp;
branches;
next	1.77;

1.77
date	2001.03.27.12.28.47;	author adrian;	state Exp;
branches;
next	1.76;

1.76
date	2001.02.19.13.15.19;	author olgeni;	state Exp;
branches;
next	1.75;

1.75
date	2001.02.05.15.33.48;	author olgeni;	state Exp;
branches;
next	1.74;

1.74
date	2001.01.12.06.46.04;	author peter;	state Exp;
branches;
next	1.73;

1.73
date	2001.01.05.10.49.01;	author peter;	state Exp;
branches;
next	1.72;

1.72
date	2000.07.28.07.27.34;	author sobomax;	state Exp;
branches;
next	1.71;

1.71
date	2000.07.05.12.37.02;	author tg;	state Exp;
branches;
next	1.70;

1.70
date	2000.06.01.06.49.50;	author sobomax;	state Exp;
branches;
next	1.69;

1.69
date	2000.05.29.23.48.03;	author steve;	state Exp;
branches;
next	1.68;

1.68
date	2000.05.17.01.18.36;	author peter;	state Exp;
branches;
next	1.67;

1.67
date	2000.04.17.20.32.57;	author peter;	state Exp;
branches;
next	1.66;

1.66
date	2000.04.10.00.06.52;	author cpiazza;	state Exp;
branches;
next	1.65;

1.65
date	2000.03.05.14.11.42;	author peter;	state Exp;
branches;
next	1.64;

1.64
date	2000.03.05.14.08.48;	author peter;	state Exp;
branches;
next	1.63;

1.63
date	2000.01.29.20.13.16;	author peter;	state Exp;
branches;
next	1.62;

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

1.61
date	99.08.31.02.43.16;	author peter;	state Exp;
branches;
next	1.60;

1.60
date	99.08.27.22.30.30;	author mharo;	state Exp;
branches;
next	1.59;

1.59
date	99.08.22.19.00.55;	author mharo;	state Exp;
branches;
next	1.58;

1.58
date	99.08.08.13.53.34;	author peter;	state Exp;
branches;
next	1.57;

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

1.56
date	99.05.23.21.15.07;	author peter;	state Exp;
branches;
next	1.55;

1.55
date	99.04.18.06.46.51;	author max;	state Exp;
branches;
next	1.54;

1.54
date	98.12.26.15.55.47;	author peter;	state Exp;
branches;
next	1.53;

1.53
date	98.10.19.12.12.45;	author peter;	state Exp;
branches;
next	1.52;

1.52
date	98.10.06.00.19.50;	author peter;	state Exp;
branches;
next	1.51;

1.51
date	98.06.09.15.08.06;	author peter;	state Exp;
branches;
next	1.50;

1.50
date	98.04.26.07.57.20;	author peter;	state Exp;
branches;
next	1.49;

1.49
date	98.04.10.05.11.37;	author peter;	state Exp;
branches;
next	1.48;

1.48
date	98.03.26.13.29.12;	author peter;	state Exp;
branches;
next	1.47;

1.47
date	98.03.20.14.00.51;	author peter;	state Exp;
branches;
next	1.46;

1.46
date	98.03.09.03.35.09;	author peter;	state Exp;
branches;
next	1.45;

1.45
date	98.03.05.06.43.03;	author peter;	state Exp;
branches;
next	1.44;

1.44
date	98.02.16.13.16.37;	author asami;	state Exp;
branches;
next	1.43;

1.43
date	98.02.14.14.36.12;	author peter;	state Exp;
branches;
next	1.42;

1.42
date	98.02.14.03.12.37;	author peter;	state Exp;
branches;
next	1.41;

1.41
date	98.02.09.01.35.20;	author peter;	state Exp;
branches;
next	1.40;

1.40
date	98.02.08.03.39.05;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	98.02.08.03.04.58;	author peter;	state Exp;
branches;
next	1.38;

1.38
date	98.01.21.03.06.06;	author peter;	state Exp;
branches;
next	1.37;

1.37
date	98.01.10.14.38.23;	author peter;	state Exp;
branches;
next	1.36;

1.36
date	98.01.04.09.30.18;	author peter;	state Exp;
branches;
next	1.35;

1.35
date	97.12.06.12.27.32;	author peter;	state Exp;
branches;
next	1.34;

1.34
date	97.11.01.11.10.35;	author peter;	state Exp;
branches;
next	1.33;

1.33
date	97.10.25.02.51.12;	author peter;	state Exp;
branches;
next	1.32;

1.32
date	97.09.07.13.08.51;	author peter;	state Exp;
branches;
next	1.31;

1.31
date	97.08.13.02.59.41;	author peter;	state Exp;
branches;
next	1.30;

1.30
date	97.07.18.05.06.49;	author peter;	state Exp;
branches;
next	1.29;

1.29
date	97.07.01.21.05.22;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	97.05.17.19.54.45;	author peter;	state Exp;
branches;
next	1.27;

1.27
date	97.05.17.19.45.27;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	97.03.31.11.14.41;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	97.03.23.15.43.41;	author peter;	state Exp;
branches;
next	1.24;

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

1.23
date	97.03.02.02.50.41;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	97.02.20.17.17.32;	author peter;	state Exp;
branches;
next	1.21;

1.21
date	97.02.08.16.19.15;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	97.01.29.07.53.58;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	97.01.24.10.30.38;	author asami;	state Exp;
branches;
next	1.18;

1.18
date	97.01.19.03.24.12;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	97.01.07.18.49.06;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	96.12.26.22.00.45;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	96.12.16.06.42.14;	author peter;	state Exp;
branches;
next	1.14;

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

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

1.12
date	96.12.05.08.42.50;	author peter;	state Exp;
branches;
next	1.11;

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

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

1.9
date	96.11.22.14.06.11;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	96.11.18.11.41.50;	author asami;	state Exp;
branches;
next	1.7;

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

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

1.5
date	96.11.12.08.26.06;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	96.11.06.17.20.53;	author peter;	state Exp;
branches;
next	1.3;

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

1.2
date	96.07.10.21.48.58;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.03.02.21.13;	author asami;	state Exp;
branches;
next	;


desc
@@


1.200
log
@Rename

  www/squid -> www/squid25
  www/squid26 -> www/squid

thus effectively updating www/squid to 2.6.STABLE9

PR:		ports/108562
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
Repocopies by:	marcus
@
text
@# New ports collection makefile for:	squid26
# Date created:		2006-06-01
# Whom:			Thomas-Martin Seck <tmseck@@netcologne.de>
#
# $FreeBSD: ports/www/squid26/Makefile,v 1.199 2007/01/24 20:59:50 miwi Exp $
#
# Tunables not (yet) configurable via 'make config':
# SQUID_{U,G}ID
#   Which user/group Squid should run as (default: squid/squid).
#   The user and group will be created if they do not already exist using
#   a uid:gid of 100:100.
#   NOTE: older versions of Squid defaulted to nobody/nogroup.
#   If you wish to run Squid as "nobody" (which is not recommended), please
#   define SQUID_UID=nobody and SQUID_GID=nogroup in your make environment
#   before you start the update or installation of this port.
#
# SQUID_LANGUAGES
#   A list of languages for which error page files should be installed
#   (default: all)
#
#   E.g. use `make SQUID_LANGUAGES="English French"' if you want to
#   install the files for these languages only.
#   Use `make -VSQUID_LANGUAGES' or scroll down to this variable's
#   definition to see which values are valid.
#
# SQUID_DEFAULT_LANG
#   If you define SQUID_LANGUAGES, select which language should be the default
#   one (this variable defaults to English). This setting can be overwritten
#   with squid.conf's error_directory directive.
#
# SQUID_CONFIGURE_ARGS
#   Additional configuration options.
#
#   To enable them, use e.g
#   `make SQUID_CONFIGURE_ARGS="--enable-dlmalloc --enable-truncate" install'
#
#   The list below may be incomplete, please see the configure script
#   in the Squid source distribution for the complete list of additional
#   options.
#   Note that you probably do not need to worry about these options in most
#   cases, they are included in case you want to experiment with them.
#
#    --enable-dlmalloc
#     Compile and use the malloc package from Doug Lea
#    --enable-gnuregex
#     Compile and use the supplied GNUregex routines instead of BSD regex
#     (not recommended).
#    --enable-xmalloc-statistics
#     Show malloc statistics in status page
#    --enable-cachemgr-hostname=some.hostname
#     Set an explicit hostname in cachemgr.cgi
#    --enable-truncate
#     Use truncate() rather than unlink()
#    --disable-unlinkd
#     Do not use "unlinkd"
#    --with-aufs-threads=N_THREADS
#     Tune the number of worker threads for the aufs object
#    --with-coss-membuf-size
#     COSS membuf size (default: 1048576 bytes)
#    --with-maxfd=N
#     Override the maximum number of filedescriptors. Useful if you
#     build as another user who is not privileged to use the amount
#     of filedescriptors the resulting binary is expected to support.
#    --enable-ntlm-fail-open
#     Enable NTLM fail open, where a helper that fails one of the
#     Authentication steps can allow Squid to still authenticate the user
#    --enable-x-accelerator-vary
#     Enable support for the X-Accelerator-Vary HTTP header. Can be used
#     to indicate variance within an accelerator setup. Typically used
#     together with other code that adds custom HTTP headers to the
#     requests.
#    --enable-forward-log
#     Enable experimental forward_log directive.
#    --enable-multicast-miss
#     Enable experimental multicast notification of cachemisses.

PORTNAME=	squid
PORTVERSION=	2.6.9
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
		ftp://ftp.vistech.net/pub/squid/%SUBDIR%/ \
		ftp://mirrors.24-7-solutions.net/pub/squid/%SUBDIR%/ \
		ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \
		ftp://ftp.nl.uu.net/pub/unix/www/squid/%SUBDIR%/ \
		ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/%SUBDIR%/ \
		ftp://ftp.ntua.gr/pub/www/Squid/%SUBDIR%/ \
		ftp://ftp.ccs.neu.edu/pub/mirrors/squid.nlanr.net/pub/%SUBDIR%/ \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,}
MASTER_SITE_SUBDIR=	squid-2/STABLE
DISTNAME=	squid-2.6.STABLE9
DIST_SUBDIR=	squid2.6

PATCH_SITES=	http://www.squid-cache.org/%SUBDIR%/ \
		http://www2.us.squid-cache.org/%SUBDIR%/ \
		http://www3.us.squid-cache.org/%SUBDIR%/ \
		http://www1.at.squid-cache.org/%SUBDIR%/ \
		http://www2.nl.squid-cache.org/%SUBDIR%/ \
		http://www1.ru.squid-cache.org/%SUBDIR%/ \
		http://www1.uk.squid-cache.org/%SUBDIR%/ \
		http://www1.jp.squid-cache.org/%SUBDIR%/ \
		http://www1.tw.squid-cache.org/%SUBDIR%/
PATCH_SITE_SUBDIR=	Versions/v2/2.6/changesets
PATCHFILES=
PATCH_DIST_STRIP=	-p1

MAINTAINER=	tmseck@@netcologne.de
COMMENT=	HTTP Caching Proxy

LATEST_LINK=	squid26

CONFLICTS=	squid-2.[^6]*
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_PERL5=	yes
USE_RC_SUBR=	squid

SQUID_UID?=	squid
SQUID_GID?=	squid

MAN8=		cachemgr.cgi.8 squid.8
docs=		QUICKSTART README RELEASENOTES.html doc/debug-sections.txt
PORTDOCS=	${docs:T}
SUB_FILES+=	pkg-deinstall pkg-install pkg-message
SUB_LIST+=	SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID}

OPTIONS=	SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \
		SQUID_SASL_AUTH "Install SASL authentication helpers" off \
		SQUID_DELAY_POOLS "Enable delay pools" off \
		SQUID_SNMP "Enable SNMP support" off \
		SQUID_CARP "Enable CARP support" on \
		SQUID_SSL "Enable SSL support for reverse proxies" off \
		SQUID_PINGER "Install the icmp helper" off \
		SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \
		SQUID_HTCP "Enable HTCP support" off \
		SQUID_VIA_DB "Enable forward/via database" off \
		SQUID_CACHE_DIGESTS "Enable cache digests" off \
		SQUID_WCCP "Enable Web Cache Coordination Prot. v1" on \
		SQUID_WCCPV2 "Enable Web Cache Coordination Prot. v2" off \
		SQUID_STRICT_HTTP "Be strictly HTTP compliant" off \
		SQUID_IDENT "Enable ident (RFC 931) lookups" on \
		SQUID_REFERER_LOG "Enable Referer-header logging" off \
		SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off \
		SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \
		SQUID_PF "Enable transparent proxying with PF" off \
		SQUID_IPFILTER "Enable transp. proxying with IPFilter" off \
		SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \
		SQUID_ICAP "Enable ICAP client functionality" off \
		SQUID_AUFS "Enable the aufs storage scheme" off \
		SQUID_COSS "Enable the COSS storage scheme" off \
		SQUID_KQUEUE "Use kqueue(2) instead of poll(2)" on \
		SQUID_LARGEFILE "Support log and cache files >2GB" off \
		SQUID_STACKTRACES "Create backtraces on fatal errors" off

etc_files=	squid/cachemgr.conf.default \
		squid/mib.txt squid/mime.conf.default \
		squid/msntauth.conf.default squid/squid.conf.default

icon_files=	anthony-binhex.gif anthony-bomb.gif anthony-box.gif \
		anthony-box2.gif anthony-c.gif anthony-compressed.gif \
		anthony-dir.gif anthony-dirup.gif anthony-dvi.gif \
		anthony-f.gif anthony-image.gif anthony-image2.gif \
		anthony-layout.gif anthony-link.gif anthony-movie.gif \
		anthony-pdf.gif anthony-portal.gif anthony-ps.gif \
		anthony-quill.gif anthony-script.gif anthony-sound.gif \
		anthony-tar.gif anthony-tex.gif anthony-text.gif \
		anthony-unknown.gif anthony-xbm.gif anthony-xpm.gif

error_files=	ERR_ACCESS_DENIED ERR_CACHE_ACCESS_DENIED \
		ERR_CACHE_MGR_ACCESS_DENIED ERR_CANNOT_FORWARD \
		ERR_CONNECT_FAIL ERR_DNS_FAIL ERR_FORWARDING_DENIED \
		ERR_FTP_DISABLED ERR_FTP_FAILURE ERR_FTP_FORBIDDEN \
		ERR_FTP_NOT_FOUND ERR_FTP_PUT_CREATED \
		ERR_FTP_PUT_ERROR ERR_FTP_PUT_MODIFIED ERR_FTP_UNAVAILABLE \
		ERR_INVALID_REQ ERR_INVALID_RESP ERR_INVALID_URL \
		ERR_LIFETIME_EXP ERR_NO_RELAY ERR_ONLY_IF_CACHED_MISS \
		ERR_READ_ERROR ERR_READ_TIMEOUT ERR_SHUTTING_DOWN \
		ERR_SOCKET_FAILURE ERR_TOO_BIG ERR_UNSUP_REQ \
		ERR_URN_RESOLVE ERR_WRITE_ERROR ERR_ZERO_SIZE_OBJECT

libexec=	cachemgr.cgi digest_pw_auth diskd-daemon ip_user_check \
		msnt_auth ncsa_auth ntlm_auth \
		pam_auth smb_auth smb_auth.sh squid_session squid_unix_group \
		wbinfo_group.pl
.if !defined(SQUID_CONFIGURE_ARGS) || ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == ""
libexec+=	unlinkd
.endif

sbin=		RunCache squidclient squid

CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin  \
		--sbindir=${PREFIX}/sbin  \
		--datadir=${PREFIX}/etc/squid \
		--libexecdir=${PREFIX}/libexec/squid \
		--localstatedir=${PREFIX}/squid \
		--sysconfdir=${PREFIX}/etc/squid \
		--enable-removal-policies="lru heap" \
		--disable-linux-netfilter \
		--disable-linux-tproxy \
		--disable-epoll

.include <bsd.port.pre.mk>

# Authentication methods and modules:

basic_auth=	NCSA PAM MSNT SMB
digest_auth=	password
external_acl=	ip_user session unix_group wbinfo_group
MAN8+=		ncsa_auth.8 pam_auth.8 squid_session.8 squid_unix_group.8
.if defined(WITH_SQUID_LDAP_AUTH)
USE_OPENLDAP=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
MAN8+=		squid_ldap_auth.8 squid_ldap_group.8
basic_auth+=	LDAP
digest_auth+=	ldap
external_acl+=	ldap_group
libexec+=	digest_ldap_auth squid_ldap_auth squid_ldap_group
.endif
.if defined(WITH_SQUID_SASL_AUTH)
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
CFLAGS+=	-I${LOCALBASE}/include
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
basic_auth+=	SASL
libexec+=	sasl_auth
.endif
.if !defined(NO_NIS) && !defined(WITHOUT_NIS)
basic_auth+=	YP
libexec+=	yp_auth
.endif
CONFIGURE_ARGS+=	--enable-auth="basic ntlm digest" \
			--enable-basic-auth-helpers="${basic_auth}" \
			--enable-digest-auth-helpers="${digest_auth}" \
			--enable-external-acl-helpers="${external_acl}" \
			--enable-ntlm-auth-helpers="SMB"

# Storage schemes:

storage_schemes=	ufs diskd null
.if defined(WITH_SQUID_AUFS)
storage_schemes+=	aufs
.if ${OSVERSION}>=501000
# Only document libmap.conf where it is available:
EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-src-cf.data.pre.aufs
.endif
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS
CONFIGURE_ARGS+=	--with-pthreads
CFLAGS+=	${PTHREAD_CFLAGS}
.endif
.if defined(WITH_SQUID_COSS)
storage_schemes+=	coss
.if !defined(WITH_SQUID_AUFS)
# use Posix AIO instead of aufs' AIO; note that you then need the kernel to
# supply AIO support, either by loading the aio(4) module (n/a on 4.x) or by
# adding the option VFS_AIO to your kernel configuration if you want to
# actually use COSS storage:
CONFIGURE_ARGS+=	--enable-coss-aio-ops
.endif
sbin+=		cossdump
.endif
CONFIGURE_ARGS+=	--enable-storeio="${storage_schemes}"

# Other options set via 'make config':

.if defined(WITH_SQUID_DELAY_POOLS)
CONFIGURE_ARGS+=	--enable-delay-pools
.endif
.if defined(WITH_SQUID_SNMP)
CONFIGURE_ARGS+=	--enable-snmp
.endif
.if defined(WITHOUT_SQUID_CARP)
CONFIGURE_ARGS+=	--disable-carp
.endif
.if defined(WITH_SQUID_SSL)
# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only
# works when it is defined before bsd.port{.pre}.mk is .included.
# This makes it currently impossible to combine this macro with OPTIONS to
# conditionally include OpenSSL support.
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+=	--enable-ssl \
			--with-openssl="${OPENSSLBASE}"
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}
.endif
.if defined(WITH_SQUID_PINGER)
CONFIGURE_ARGS+=	--enable-icmp
libexec+=	pinger
.endif
.if defined(WITH_SQUID_DNS_HELPER)
CONFIGURE_ARGS+=	--disable-internal-dns
libexec+=	dnsserver
.endif
.if defined(WITH_SQUID_HTCP)
CONFIGURE_ARGS+=	--enable-htcp
.endif
.if defined(WITH_SQUID_VIA_DB)
CONFIGURE_ARGS+=	--enable-forw-via-db
.endif
.if defined(WITH_SQUID_CACHE_DIGESTS)
CONFIGURE_ARGS+=	--enable-cache-digests
.endif
.if defined(WITHOUT_SQUID_WCCP)
CONFIGURE_ARGS+=	--disable-wccp
.endif
.if defined(WITH_SQUID_WCCPV2)
CONFIGURE_ARGS+=	--enable-wccpv2
.endif
.if defined(WITH_SQUID_STRICT_HTTP)
CONFIGURE_ARGS+=	--disable-http-violations
.endif
.if defined(WITHOUT_SQUID_IDENT)
CONFIGURE_ARGS+=	--disable-ident-lookups
.endif
.if defined(WITH_SQUID_REFERER_LOG)
CONFIGURE_ARGS+=	--enable-referer-log
.endif
.if defined(WITH_SQUID_USERAGENT_LOG)
CONFIGURE_ARGS+=	--enable-useragent-log
.endif
.if defined(WITH_SQUID_ARP_ACL)
CONFIGURE_ARGS+=	--enable-arp-acl
.endif
.if defined(WITH_SQUID_PF)
CONFIGURE_ARGS+=	--enable-pf-transparent
.if ${OSVERSION} < 502106
IGNORE=		pf available only in FreeBSD 5.3 and newer
.endif
.endif
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
# they were not installed on FreeBSD 5 from 2002-03-26 (OSVERSION > 500032) to
# 2003-06-27 (OSVERSION < 501101).
#
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
.if defined(WITH_SQUID_IPFILTER)
.if (${OSVERSION} >= 470000 && ${OSVERSION} < 500000) || (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE=		IPFilter headers are not part of the base system
.else
CONFIGURE_ARGS+=	--enable-ipf-transparent
.endif
.endif
.if defined(WITH_SQUID_FOLLOW_XFF)
CONFIGURE_ARGS+=	--enable-follow-x-forwarded-for
.endif
.if defined(WITH_SQUID_ICAP)
EXTRA_PATCHES+=		${PATCHDIR}/icap-2.6-bootstrap.patch \
			${PATCHDIR}/icap-2.6-core.patch
CONFIGURE_ARGS+=	--enable-icap-support
error_files+=		ERR_ICAP_FAILURE
.endif
.if !defined(WITHOUT_SQUID_KQUEUE)
CONFIGURE_ARGS+=	--enable-kqueue
.else
CONFIGURE_ARGS+=	--disable-kqueue
.endif
.if defined(WITH_SQUID_LARGEFILE)
CONFIGURE_ARGS+=	--with-large-files --enable-large-cache-files
.endif
.if defined(WITH_SQUID_STACKTRACES) || defined(WITH_DEBUG)
CONFIGURE_ARGS+=	--enable-stacktraces
CFLAGS+=	-g
STRIP=			""
.endif

# Languages:
#
# If you do not define SQUID_LANGUAGES yourself, all available language files
# will be installed; the default language will be English.

SQUID_LANGUAGES?=	Azerbaijani Bulgarian Catalan Czech Danish Dutch \
			English Estonian Finnish French German Greek Hebrew \
			Hungarian Italian Japanese Korean Lithuanian \
			Polish Portuguese Romanian Russian-1251 Russian-koi8-r \
			Serbian Simplify_Chinese Slovak Spanish Swedish \
			Traditional_Chinese Turkish
SQUID_DEFAULT_LANG?=	English
CONFIGURE_ARGS+=	--enable-err-languages="${SQUID_LANGUAGES}" \
			--enable-default-err-language=${SQUID_DEFAULT_LANG}

# Finally, add additional user specified configuration options:
CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}

CONFIGURE_ENV+=		CFLAGS="${CFLAGS}" \
			CPPFLAGS="${CPPFLAGS}"\
			LDFLAGS="${LDFLAGS}"

PLIST_DIRS=	etc/squid/icons libexec/squid
PLIST_FILES=	${etc_files:S,^,etc/,} ${icon_files:S,^,etc/squid/icons/,} \
		${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,}

.for d in ${SQUID_LANGUAGES}
PLIST_DIRS+=	etc/squid/errors/${d}
PLIST_FILES+=	${error_files:S,^,etc/squid/errors/${d}/,}
.endfor
PLIST_DIRS+=	etc/squid/errors etc/squid squid/logs squid/cache squid

post-patch:
	@@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \
	    -e 's|%%SQUID_GID%%|${SQUID_GID}|g' \
	    -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/cf.data.pre
	@@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
	    ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \
	    ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh

pre-install:
# Prevent installation of .orig files by deleting them.
	@@${FIND} ${WRKSRC} -name '*.bak' -delete
	@@${FIND} ${WRKSRC} -name '*.orig' -delete

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

post-install:
.if defined(WITH_SQUID_PINGER)
	${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \
	${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger
.endif
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR}
.endif
	@@${SETENV} PKG_PREFIX=${PREFIX} \
	    ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

	@@${ECHO_CMD} "===> post-installation information for ${PKGNAME}:"
	@@${ECHO_CMD} ""
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_CMD} ""

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


1.199
log
@- Update to 2.6.STABLE9

PR:		ports/108314
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.198
log
@- Update to 2.6.STABLE7.
- Use OPENSSLLIB when referring to the OpenSSL library path
(thanks to Angelo Turetta for submitting a patch).

Note: this update includes, among others, a fix for Squid bug #1857
(segfault when accessing certain FTP URLs), see also ports/107961.
The security implications of this bug are unknown (to me, the maintainer).

PR:		ports/108006
Submitted by:	maintainer (Thomas-Martin Seck)
@
text
@d78 1
a78 1
PORTVERSION=	2.6.7
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE7
@


1.197
log
@- Update to 2.6.STABLE6
- update the ICAP core patchset to CVS as of 2006/12/14

PR:		ports/106718
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d78 1
a78 1
PORTVERSION=	2.6.6
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE6
d283 1
a283 1
LDFLAGS+=	-L${LOCALBASE}/lib
@


1.196
log
@- Fix typo in LDFLAGS (s,-I,-L,)

Approved by:	maintainer via private email
@
text
@d78 1
a78 1
PORTVERSION=	2.6.5
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE5
d103 1
a103 1
PATCHFILES=	11086.patch
@


1.195
log
@- update to 2.6.STABLE5, including changeset 11086
- correct the setting of configuration options when compiling COSS: only
        specify --enable-coss-aio-ops when COSS is not built alongside with aufs;
        in this scenario the user needs to supply POSIX AIO support via aio(4)
        or the VFS_AIO kernel option; add a note to the storage type section in
        squid.conf.default (thanks to Guido Serassio for explaining this
        to the maintainer)
- remove a no longer needed configuration option in the WITH_SQUID_AUFS case
- update the ICAP core patchset to CVS as of 2006/11/04 (no changes in
        functionality, only in metadata); adapt the ICAP bootstrap patch to the
        latest changes in Squid code

PR:		ports/105296
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d283 1
a283 1
LDFLAGS+=	-I${LOCALBASE}/lib
@


1.194
log
@- Update to 2.6STABLE4

- integrate most of the vendor patches available from
        <http://www.squid-cache.org/Versions/v2/2.6/changesets/> up to
        changeset 11066
- replace the FTP mirror at progeny.com (which seems to be gone and is
        no longer listed on <http://www.squid-cache.org/Mirrors/ftp-mirrors.html>)
        with the one hosted by Vistech
- remove a redundant / from PATCH_SITE_SUBDIR
- update the ICAP patchsets to current ICAP CVS
- add an extra patch that adds a decription of how to remap the threading
        library to the documentation of the aufs file system in squid.conf when
        Squid is built with aufs support on FreeBSD >= 5.1
- make the rc script pass ${squid_flags} in the shutdown and reconfigure
        case (ports/100510)
- fix a path description in pkg-message (pointed out by
"Tuc at the Beach House")
- use "Squid" in the pseudo-user's description, too

PR:		ports/105022
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
@
text
@d78 1
a78 1
PORTVERSION=	2.6.4
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE4
d103 1
a103 5
PATCHFILES=	11036.patch 11037.patch 11038.patch 11041.patch 11042.patch \
		11043.patch 11044.patch 11045.patch 11046.patch 11047.patch \
		11048.patch 11049.patch 11050.patch 11051.patch 11054.patch \
		11059.patch 11060.patch 11061.patch 11062.patch 11063.patch \
		11064.patch 11065.patch 11066.patch
d247 1
a247 2
CONFIGURE_ARGS+=	--enable-async-io \
			--with-pthreads
d252 5
d258 1
@


1.193
log
@- update to 2.6.STABLE3
- update the ICAP core patchset to CVS as of 2006-08-13 and correct
  the name of the CVS branch used in creating the diff
- remove a superfluous hunk from the ICAP bootstrap patchset

PR:		ports/102274
Submitted by:	Thomas-Martin Seck <tmseck(at)netcologne.de>
Approved by:	krion (mentor)
@
text
@d78 1
a78 1
PORTVERSION=	2.6.3
d81 1
a81 1
		ftp://archive.progeny.com/squid/%SUBDIR%/ \
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE3
d102 6
a107 2
PATCH_SITE_SUBDIR=	Versions/v2/2.6/changesets/
PATCHFILES=
d192 1
a192 1
sbin=		RunCache cossdump squidclient squid
d246 4
d258 1
d399 2
a400 1
	    -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre
@


1.192
log
@- Update to 2.6.STABLE2.
- Include most of the post-STABLE2 changes/bugfixes published at
  <http://www.squid-cache.org/Versions/v2/2.6/changesets/>.
- Remove the local fix for the problem that ipfw(4) support was not
  working because the problem was fixed upstream.
- Remove the SQUID_IPFW option again, ipfw(4) should now work out
  of the box as in earlier Squid versions.
- Add ICAP support.

PR:		ports/101422
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d78 1
a78 1
PORTVERSION=	2.6.2
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE2
d103 1
a103 2
PATCHFILES=	10894.patch 10895.patch 10896.patch 10898.patch 10899.patch \
		10900.patch 10901.patch 10902.patch 10903.patch 10904.patch
@


1.191
log
@The previous commit should have read:

- Include official patchsets #10799 and #10801
@
text
@d78 1
a78 2
PORTVERSION=	2.6.1
PORTREVISION=	1
d90 1
a90 1
DISTNAME=	squid-2.6.STABLE1
d103 2
a104 1
PATCHFILES=	10799.patch
a146 1
		SQUID_IPFW "Enable transparent proxying with IPFW" off \
d189 1
a189 1
sbin=		RunCache squidclient squid
a332 3
.if defined(WITH_SQUID_IPFW)
CFLAGS+=	-DIPFW_TRANSPARENT
.endif
d337 4
a340 4
IGNORE=		patches for ICAP support are not yet updated
EXTRA_PATCHES+=
#CONFIGURE_ARGS+=	--enable-icap-support
#error_files+=		ERR_ICAP_FAILURE
@


1.190
log
@- Add an OPTION to enable transparent proxying with IPFW
- Include official patchset #10799
- Minor fixes

Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@@


1.189
log
@The squid developers have just released 2.6.STABLE1 as the new
stable Squid release. Because of the large amount changes introduced
in 2.6, we keep 2.5 as www/squid and make www/squid26.

New OPTIONS:
- WITH_/WITHOUT_SQUID_KQUEUE: use kqueue(2) support (defaults to yes)
- WITH_/WITHOUT_SQUID_WCCPV2: enable WCCPv2 support (defaults to no)
- WITH_/WITHOUT_SQUID_REFERER_LOG: enable referer-header logging (default no)
- make WITH_DEBUG a synonym for WITH_SQUID_STACKTRACES

Removed OPTIONS:
- WITH_SQUID_CUSTOM_LOG: the code is now part of mainline squid and can
  be configured via squid.conf
- WITH_/WITHOUT_SQUID_UNDERSCORES: no longer configurable
- WITH_/WITHOUT_SQUID_CHECK_HOSTNAME: no longer configurable
- WITH_/WITHOUT_SQUID_RCNG: the start script is now rc.d only

Changed default:

- CARP support is enabled by default in squid 2.6 and needs to be
  explicitly disabled defining WITHOUT_SQUID_CARP

Port infrastructural changes:
- no longer check for invalid user/group id; this problem should no longer
  be an issue (if it ever was one, but you never know) and remove the
  'changeuser:' target
- use files/squid.in instead of files/squid.sh.in as template
- remove ancient information about Harvest from pkg-descr, tighten COMMENT
- add some HTTP mirror sites taken from
  <http://www.squid-cache.org/Mirrors/http-mirrors.html> as additional
  PATCH_SITES (thanks to Robert Backhaus for the initial submission)
- ICAP support is not yet available, the squid-devel CVS is not synchronized
  with mainline squid as I write this so mark WITH_SQUID_ICAP as IGNORE for
  now. I'll add the necessary patches ASAP.
- spell "squid" as "Squid" when referring to the project as this seems to be
  the spelling the Squid project prefers
- some cosmetic changes in macro definitions

PR:		ports/99750
Submitted by:	Thomas-Martin Seck <tmseck_at_netcologne.de> (squid maintainer)
@
text
@a71 2
#    --enable-auth-on-acceleration
#     Enable authentication in accelerators.
d79 1
d103 2
a104 2
PATCH_SITE_SUBDIR=	Versions/v2/2.6/bugs
PATCHFILES=
d147 1
d334 3
d342 1
a342 1
EXTRA_PATCHES+=	
@


1.188
log
@- Update the list of MASTER_SITES.
- Update the icap-core patchset to CVS as of 2006-05-25.

PR:		ports/98279
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
Approved by:	mnag (mentor)
@
text
@d1 3
a3 3
# New ports collection makefile for:	squid24
# Date created:		Tue Mar 27 14:56:08 CEST 2001
# Whom:			Adrian Chadd <adrian@@FreeBSD.org>
d9 1
a9 1
#   Which user/group squid should run as (default: squid/squid).
d12 5
a16 9
#   NOTE: before version 2.5.4_6, these settings defaulted to
#   nobody/nogroup.
#   If you wish to keep these settings, please define SQUID_UID=nobody and
#   SQUID_GID=nogroup in your make environment before you start the update.
#   NOTE2:
#   Before version 2.5.4_11 the numerical id chosen for SQUID_UID (and
#   SQUID_GID respectively) was the first free id greater than or equal 3128.
#   If you wish to move your squid user to id 100:100, run "make changeuser",
#   please see the changeuser target's definition for further information.
d38 1
a38 1
#   in the squid source distribution for the complete list of additional
d46 2
a47 1
#     Compile and use the supplied GNUregex routines instead of BSD regex.
a49 2
#    --enable-time-hack
#     Optimize time updates to one per second rather than calling gettimeofday()
d66 12
a77 2
#     Authentication steps can allow squid to still authenticate the user
#
d80 1
a80 2
PORTVERSION=	2.5.14
PORTREVISION=	1
d82 1
a82 2
MASTER_SITES=	\
		ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
d92 2
a93 2
DISTNAME=	squid-2.5.STABLE14
DIST_SUBDIR=	squid2.5
d95 11
a105 2
PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.5/bugs/
PATCHFILES=	squid-2.5.STABLE14-httpReplyDestroy.patch
d109 3
a111 1
COMMENT=	The successful WWW proxy cache and accelerator
d113 1
a113 1
CONFLICTS=	squid-2.[^5]*
d117 1
d132 1
a132 1
		SQUID_CARP "Enable CARP support" off \
d139 2
a140 3
		SQUID_WCCP "Enable Web Cache Coordination Protocol" on \
		SQUID_UNDERSCORES "Allow underscores in hostnames" on \
		SQUID_CHECK_HOSTNAME "Do hostname checking" on \
d143 1
a144 1
		SQUID_CUSTOM_LOG "Enable custom log format" off \
d152 1
d154 1
a154 2
		SQUID_STACKTRACES "Create backtraces on fatal errors" off \
		SQUID_RCNG "Install an rc.d style startup script" on
d182 1
a182 1
libexec=	cachemgr.cgi digest_pw_auth diskd ip_user_check \
d184 2
a185 2
		pam_auth smb_auth smb_auth.sh squid_unix_group \
		wb_auth wb_group wb_ntlmauth wbinfo_group.pl
d190 1
a190 1
sbin=		RunAccel RunCache squidclient squid
d192 2
a193 1
CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin  --sysconfdir=${PREFIX}/etc/squid \
d197 5
a201 1
		--enable-removal-policies="lru heap"
d207 4
a210 3
basic_auth=	NCSA PAM MSNT SMB winbind
external_acl=	ip_user unix_group wbinfo_group winbind_group
MAN8+=		pam_auth.8 squid_unix_group.8
d217 1
d219 1
a219 1
libexec+=	squid_ldap_auth squid_ldap_group
d235 1
a235 1
			--enable-digest-auth-helpers="password" \
d237 1
a237 1
			--enable-ntlm-auth-helpers="SMB winbind"
d239 1
a239 1
# Selection of storage schemes:
d251 1
a251 1
CONFIGURE_ARGS+=	--with-aio
d263 2
a264 2
.if defined(WITH_SQUID_CARP)
CONFIGURE_ARGS+=	--enable-carp
d267 4
a270 3
# we need to .include bsd.openssl.mk manually here because USE_OPENSSL only
# works when it is defined before bsd.port{.pre}.mk is .included and this is
# not possible when using OPTIONS
d297 2
a298 5
.if !defined(WITHOUT_SQUID_UNDERSCORES)
CONFIGURE_ARGS+=	--enable-underscores
.endif
.if defined(WITHOUT_SQUID_CHECK_HOSTNAME)
CONFIGURE_ARGS+=	--disable-hostname-checks
d306 3
a311 3
.if defined(WITH_SQUID_CUSTOM_LOG)
EXTRA_PATCHES+=		${PATCHDIR}/customlog-2.5.patch
.endif
a334 2
EXTRA_PATCHES+=		${PATCHDIR}/follow_xff-2.5.patch \
			${PATCHDIR}/follow_xff-configure.patch
d338 9
a346 4
EXTRA_PATCHES+=		${PATCHDIR}/icap-2.5-core.patch \
			${PATCHDIR}/icap-2.5-bootstrap.patch
CONFIGURE_ARGS+=	--enable-icap-support
error_files+=		ERR_ICAP_FAILURE
d351 1
a351 1
.if defined(WITH_SQUID_STACKTRACES)
a355 10
.if !defined(WITHOUT_SQUID_RCNG)
USE_RC_SUBR=	squid.sh
rc_del=		rcold
rc_state=	rcng
.else
SUB_FILES+=	squid.sh
etc_files+=	rc.d/squid.sh
rc_del=		rcng
rc_state=	rcold
.endif
d362 6
a367 5
SQUID_LANGUAGES?=	\
	Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian Finnish      \
	French German Greek Hebrew Hungarian Italian Japanese Korean Lithuanian \
	Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian     \
	Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish
a400 8
# create the start script:
	@@${REINPLACE_CMD} \
	    -e '/--begin ${rc_del}/,/--end ${rc_del}/d' \
	    -e '/--.*${rc_state}/d' ${WRKDIR}/squid.sh
# create variable information in pkg-message:
	@@${REINPLACE_CMD} \
	    -e '/--begin ${rc_del}/,/--end ${rc_del}/d' \
	    -e '/--.*${rc_state}/d' ${PKGMESSAGE}
a406 4
# Create cachemgr.conf.default manually since squid's install routine
# unfortunately fails to do so:
	${INSTALL_DATA} ${WRKSRC}/src/cachemgr.conf \
	    ${PREFIX}/etc/squid/cachemgr.conf.default
a410 3
.if defined(WITHOUT_SQUID_RCNG)
	${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d/
.endif
a421 45
changeuser:
# Recover from the problem that earlier versions of this port created the
# squid pseudo-user with an id greater than 999 which is not allowed in
# FreeBSD's ports system. The port now uses id 100:100.
# NOTE:
# This target assumes that SQUID_GID is the primary group of SQUID_UID. If you
# have a different setup, do not run this target!
.if ${SQUID_UID:L} == nobody
	@@${ECHO_CMD} "'nobody' is a system user, you do not need to execute"; \
	${ECHO_CMD} "this target!"
	${FALSE}
.endif
	@@if [ `${ID} -u` -ne 0 ]; \
	then ${ECHO_CMD} "Sorry, you must be root to use this target."; ${FALSE}; fi; \
	current_uid=`id -u ${SQUID_UID}`; \
	current_gid=`pw groupshow ${SQUID_GID}|cut -f 3 -d :`; \
	${ECHO_CMD} "I will remove this user:"; \
	${ID} -P $${current_uid}; \
	${ECHO_CMD} "and this group:"; \
	pw groupshow ${SQUID_GID}; \
	${ECHO_CMD} "I will then re-create them with a user and group id of 100."; \
	${ECHO_CMD} "Then all files and directories under ${PREFIX} and /var that"; \
	${ECHO_CMD} "are owned by uid $${current_uid} will be chown(1)'ed."; \
	${ECHO_CMD} "After that, all files and directories that were accessible"; \
	${ECHO_CMD} "by group $${current_gid} will chgrp(1)'ed respectively."; \
	${ECHO_CMD} "Note that this assumes group '${SQUID_GID}' to be the primary"; \
	${ECHO_CMD} "group of user '${SQUID_UID}'. If you have a different setup"; \
	${ECHO_CMD} "please abort this target now."; \
	read -p "Press RETURN to continue or CTRL-C to abort:" dummy ; \
	${ECHO_CMD} "OK, here we go:"; \
	${ECHO_CMD} "deleting user $${current_uid} and his primary group..."; \
	pw userdel -u $${current_uid}; \
	${ECHO_CMD} "adding user ${SQUID_UID} with id 100..."; \
	pw groupadd -n ${SQUID_GID} -g 100; \
	pw useradd -n ${SQUID_UID} -u 100 -c "squid caching-proxy pseudo user" \
	    -d ${PREFIX}/squid -s /sbin/nologin -h - ; \
	${ECHO_CMD} "chown(1)'ing everything under ${PREFIX} from $${current_uid} to 100..."; \
	${FIND} -H ${PREFIX} -user $${current_uid} -exec ${CHOWN} 100 {} \; ; \
	${ECHO_CMD} "chgrp(1)'ing everything under ${PREFIX} from $${current_gid} to 100..."; \
	${FIND} -H ${PREFIX} -group $${current_gid} -exec ${CHOWN} :100 {} \; ; \
	${ECHO_CMD} "chown(1)'ing everything under /var from $${current_uid} to 100..."; \
	${FIND} -H /var -user $${current_uid} -exec ${CHOWN} 100 {} \; ; \
	${ECHO_CMD} "chgrp(1)'ing everything under /var from $${current_gid} to 100..."; \
	${FIND} -H /var -group $${current_gid} -exec ${CHOWN} :100 {} \; ; \
	${ECHO_CMD} "Finished."
@


1.187
log
@- Integrate a vendor patch published on
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/> to fix an "assertion
  failed: HttpReply.c:105: rep" error (squid bug #1606).

- Update the customlog patchset accordingly.

- Bump PORTREVISION.

PR:		ports/97066
Submitted by:	maintainer
@
text
@d80 2
a81 1
		ftp://ftp.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
d83 1
d85 2
@


1.186
log
@- Update to 2.5.STABLE14
- accept 7-CURRENT's WITHOUT_NIS switch as a synonym for NO_NIS
- add a missing "/" in files/pkg-message.in
- update the ICAP core patchset to the latest CVS (2006-05-21)
- update the custom logfile patchset to the latest CVS (2006-05-21)

PR:		ports/97607
Submitted by:	maintainer
@
text
@d76 1
d89 1
a89 1
PATCHFILES=
@


1.185
log
@- Introduce four vendor patches [1] which:

 - simplify definition of the SQUIDHOSTNAMELEN constant (squid bug #1434)
 - correct display of mime icons when visible_hostname contains only the plain
   hostname  without a domain (squid bug #1532)
 - plug a memory leak in the HTCP client code (squid bug #1553)
 - plug a memory leak in the ident processing code (squid bug #1557)

- Bump PORTREVISION

[1] http://www.squid-cache.org/Versions/v2/2.5/bugs/

PR:		97356
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d75 1
a75 2
PORTVERSION=	2.5.13
PORTREVISION=	1
d84 1
a84 1
DISTNAME=	squid-2.5.STABLE13
d88 1
a88 4
PATCHFILES=	squid-2.5.STABLE13-hostnamelen.patch \
		squid-2.5.STABLE13-icons.patch \
		squid-2.5.STABLE13-htcp_leak.patch \
		squid-2.5.STABLE13-ident_leak.patch
d203 1
a203 1
.if !defined(NO_NIS)
@


1.184
log
@- Update to 2.5.STABLE13
- Implement a new option WITH_SQUID_SASL_AUTH, off by default
- Update the ICAP core patchset to the latest CVS
- Extensive portlintification and cleanups

PR:		ports/94642
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d76 1
d89 4
a92 1
PATCHFILES=
@


1.183
log
@Implemented custom log format patch, providing similar functionality
to that of Apache LogFormat and CustomLog configuration directives.
This also allows for output in multiple formats to different log files.

See http://devel.squid-cache.org/customlog/ for more information.

PR:		ports/92522
Submitted by:	Matthew Will <mwill@@spingen.com>
Approved by:	maintainer
@
text
@d75 1
a75 2
PORTVERSION=	2.5.12
PORTREVISION=	4
d84 1
a84 1
DISTNAME=	squid-2.5.STABLE12
d88 1
a88 3
PATCHFILES=	squid-2.5.STABLE12-SMB_BadFetch.patch \
		squid-2.5.STABLE12-wbinfo_group.patch \
		squid-2.5.STABLE12-asyncio_counters.patch
a97 1
USE_REINPLACE=	yes
d105 2
d109 1
d135 1
a135 1
		SQUID_RCNG "Install an rcNG startup script" on
d137 1
a137 1
etc_files=	rc.d/squid.sh squid/cachemgr.conf.default \
d195 8
d330 1
a330 1
USE_RC_SUBR=	yes
d334 2
d346 1
a346 1
	Bulgarian Catalan Czech Danish Dutch English Estonian Finnish      \
d358 1
d384 1
a384 3
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
	    -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \
	    -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
d386 5
a390 2
	    -e '/--.*${rc_state}/d' ${FILESDIR}/squid.sh \
	    >${WRKDIR}/squid.sh
a393 1
	    squid_user=${SQUID_UID} squid_group=${SQUID_GID} \
d405 1
d407 1
d415 4
@


1.182
log
@Integrate two vendor patches being published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- Fix wbinfo_group.pl to correctly work with the wbinfo command
  from samba-3.0.21 (squid bug #1472)

- Fix a crash when accessing async IO function counters via the
  cachemgr CGI in cases where squid was compiled for aufs support
  but not actually using it (squid bug #1464)

While at it, remove an unneeded patch from the ICAP core patchset.

PR:		ports/91831
Submitted by:	maintainer
@
text
@d126 1
d278 3
@


1.181
log
@Rename the rc script back to squid.sh, since some versions of
/etc/rc.d/localpkg only run scripts ending in .sh

PR:		ports/91387
Submitted by:	Tsurutani Naoki <turutani@@scphys.kyoto-u.ac.jp>, maintainer
@
text
@d76 1
a76 1
PORTREVISION=	3
d89 3
a91 1
PATCHFILES=	squid-2.5.STABLE12-SMB_BadFetch.patch
@


1.180
log
@[Maintainer] www/squid: rc(8) related fixups

	- Fix rc(8) preamble in the squid run script
	- Use the .sh suffix only for the old style script
	- Do not refer to "rcNG" in pkg-install anymore, rcNG is the default
	  rc style by now
	- Bump PORTREVISION (to mark this change and because the package content
	  changes)

PR:		ports/90858
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
@
text
@d76 1
a76 1
PORTREVISION=	2
d135 1
a135 1
etc_files=	rc.d/squid${rc_suffix} squid/cachemgr.conf.default \
a319 1
rc_suffix=
a322 1
rc_suffix=	.sh
d389 1
a389 1
	${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d/squid${rc_suffix}
@


1.179
log
@- Integrate vendor patch to fix a problem with the SMB helper when
  --enable-ntlm-fail-open was specified as an additional configuration
  option (squid bug #1022).
  The port does not enable this option by default; document it, while at it.
- Add SHA256 checksum for the squid tarball
- Integrate ICAP client support based upon the icap project's CVS repository,
  turned off by default.
  To activate it, build the port with WITH_SQUID_ICAP defined or rerun
  'make config'.
- Bump PORTREVISION

PR:		ports/90688
Submitted by:	maintainer
@
text
@d76 1
a76 1
PORTREVISION=	1
d135 1
a135 1
etc_files=	rc.d/squid.sh squid/cachemgr.conf.default \
d320 1
d324 1
d369 1
a369 1
# create an rcOld/rcNG squid.sh:
d391 1
a391 1
	${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d
@


1.178
log
@Update to 2.5.STABLE12

PR:		ports/88327
Submitted by:	maintainer
@
text
@d69 3
d76 1
d89 1
d128 1
d302 6
@


1.177
log
@Integrate the following vendor patches as published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- document that tcp_outgoing_xxx works badly in combination with
  server_persistent_connections (squid bug #454)
- add more tracing in test mode of squid_ldap_auth (squid bug #1395)
- fix breakage of accel_single_host when combined with
  server_persistent_connection (squid bug #1402)
- correctly implement the CACHE_HTTP_PORT configuration directive
  (squid bug #1403)
- fix the problem that CNAME addresses were remembered with a wrong TTL
  (squid bug #1404)
- fix incorrect handling of squid-internal-dynamic/netdb in conjunction with
  httpd_accel/transparent proxies (squid bug #1410)
- properly revalidate the cache on HEAD requests (squid bug #1411)
- correct handling of Set-Cookie headers on cache refreshes (squid bug #1419)
- fix a vulnerability in the FTP parsing code (squid bug #1426)

PR:		ports/87637
Submitted by:	maintainer
@
text
@d72 1
a72 2
PORTVERSION=	2.5.11
PORTREVISION=	3
d81 1
a81 1
DISTNAME=	squid-2.5.STABLE11
a84 11
PATCHFILES=	squid-2.5.STABLE11-delaypools_truncated.patch \
		squid-2.5.STABLE11-tcp_outgoing_xxx.patch \
		squid-2.5.STABLE11-ldap_auth.patch \
		squid-2.5.STABLE11.accel_single_host_pconn.patch \
		squid-2.5.STABLE11-CACHE_HTTP_PORT.patch \
		squid-2.5.STABLE11-CNAME.patch \
		squid-2.5.STABLE11-httpd_accel-internal.patch \
		squid-2.5.STABLE11-IMS-HEAD.patch \
		squid-2.5.STABLE11-redirect-CONNECT.patch \
		squid-2.5.STABLE11-setcookie.patch \
		squid-2.5.STABLE11-rfc1738_do_escape.patch
a100 1
.if !defined(NOPORTDOCS)
a101 1
.endif
d364 3
a366 2
	@@${SETENV} squid_user=${SQUID_UID} squid_group=${SQUID_GID} \
	    PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@


1.176
log
@Fix smb_auth helper

PR:		86850
Pointed by:	Dean M. Phillips <dmphilli@@gmail.com>
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d73 1
a73 1
PORTREVISION=	2
d86 11
a96 1
PATCHFILES=	squid-2.5.STABLE11-delaypools_truncated.patch
@


1.175
log
@Integrate a patch from
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:
- fix delay pools behaviour which was broken by the patch for squid bug #500,
  introduced in squid-2.5.10_6 (squid bug #1405)

PR:		ports/86669
Submitted by:	maintainer
@
text
@d73 1
a73 1
PORTREVISION=	1
d351 3
@


1.174
log
@- Update to 2.5-STABLE11
- Adapt the follow-XFF patches to the changes to squid's sources

PR:		ports/86472
Submitted by:	maintainer
@
text
@d73 1
d86 1
a86 1
PATCHFILES=
@


1.173
log
@Update the NTLM-scheme patch to version 2. The first version of the patch is
broken (cf <http://www.squid-cache.org/bugs/show_bug.cgi?id=1391>).

PR:		ports/86215
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d65 4
d72 1
a72 2
PORTVERSION=	2.5.10
PORTREVISION=	7
d81 1
a81 1
DISTNAME=	squid-2.5.STABLE10
d85 1
a85 32
PATCHFILES=	squid-2.5.STABLE10-content_length.patch \
		squid-2.5.STABLE10-spanish.patch \
		squid-2.5.STABLE10-internal_date.patch \
		squid-2.5.STABLE10-chroot-2.patch \
		squid-2.5.STABLE10-transparent-2.patch \
		squid-2.5.STABLE10-redirect_flags.patch \
		squid-2.5.STABLE10-cache_dir_change.patch \
		squid-2.5.STABLE10-snmp_getnext.patch \
		squid-2.5.STABLE10-ftp_title-2.patch \
		squid-2.5.STABLE10-ftp_basehref.patch \
		squid-2.5.STABLE10-wbinfo_groups.patch \
		squid-2.5.STABLE10-64bit_cleanup.patch \
		squid-2.5.STABLE10-wb_ntlm_auth_silent.patch \
		squid-2.5.STABLE10-mail_program.patch \
		squid-2.5.STABLE10-sslConnectTimeout.patch \
		squid-2.5.STABLE10-statHistAssert.patch \
		squid-2.5.STABLE10-chroot_dir.patch \
		squid-2.5.STABLE10-errmsg.patch \
		squid-2.5.STABLE10-FORTIFY_SOURCE.patch \
		squid-2.5.STABLE10-ftp_250.patch \
		squid-2.5.STABLE10-Greek.patch \
		squid-2.5.STABLE10-STORE_PENDING.patch \
		squid-2.5.STABLE10-ldap_auth-U.patch \
		squid-2.5.STABLE10-cacheClientTable.patch \
		squid-2.5.STABLE10-mail_from.patch \
		squid-2.5.STABLE10-LDAP_TLS.patch \
		squid-2.5.STABLE10-storedir_objsize_debug.patch \
		squid-2.5.STABLE10-header_id_enum.patch \
		squid-2.5.STABLE10-allow_coredump.patch \
		squid-2.5.STABLE10-delay_pools.patch \
		squid-2.5.STABLE10-pipeline-CONNECT.patch \
		squid-2.5.STABLE10-NTLM-scheme_assert-2.patch
@


1.172
log
@- Integrate the following vendor patches:
  - LDAP helpers do not work with TLS (-Z option)
    (squid bug #1389)
  - Incorrect store dir selection debug message on objects >2G
    (squid bug #1343)
  - Enums cannot be assumed to be signed ints
    (squid bug #1343)
  - Allow leaving core dumps on Linux
    (squid bug #1335)
  - Do not let clients bypass delay pools by faking a cache hit
    (squid bug #500)
  - Fix problems regarding CONNECT requests when squid is configured with
    "pipeline_prefetch on"
  - Fix a possible DOS condition which may be triggered by certain NTLM
    authentication requests
    (squid bug #1391)
- Remove patching relevant to recently removed pf from ports option

PR:		ports/86179
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d69 1
a69 1
PORTREVISION=	6
d113 1
a113 1
		squid-2.5.STABLE10-NTLM-scheme_assert.patch
@


1.171
log
@- Remove dependencies on security/pf, it was removed. pf is in base since
  502106

Pointy hat to:	pav
@
text
@d69 1
a69 1
PORTREVISION=	5
d106 8
a113 1
		squid-2.5.STABLE10-mail_from.patch
a373 9
pre-patch:
# Check whether we need to create the extra patch that makes pf(4)
# visible to squid's configure script:
.if defined(pf_includedir)
	@@${SED} -e 's|%%PF_INCLUDEDIR%%|${pf_includedir}|g' \
	    -e 's|%%PF_AC_INCLUDEPATH%%|${pf_includedir:S,/,_,g}|g' \
	    ${PATCHDIR}/pf_from_ports.patch.in >${WRKDIR}/pf_from_ports.patch
.endif

@


1.170
log
@- Fix somewhat messed up titles in FTP listings (squid bug #1220)
- FTP listings use "BASE HREF" much more than necessary (squid bug #1204)
- Cleanups for 64bit architectures (squid bug #1316)
- Allow wb_ntlm_auth to run more silent (squid bug #518)
- Add a new 'mail_program' configuration option
- Fix a possible denial of service condition regarding sslConnectTimeout
  (squid bug #1355, Secunia Advisory SA16674)
- Avoid a possible assertion failure in StatHist.c (squid bug #1325)
- Fix issues regarding chroot'ed installations on 'squid -k reconfigure'
  (squid bug #1331)
- Make URLs in error pages more consistent and less confusing (squid bug #1342)
- Fix compilation when _FORTIFY_SOURCE is defined (squid bug #1344)
- Fix handling of unexpected 250 replies from certain odd FTP servers
  (squid bug #1348)
- Add Greek error pages (squid bug #1351)
- Fix a possible denial of service condition with regards to aborted requests
  (squid bug #1368)
- Fix the -U option of squid_ldap_auth (squid bug #1370)
- Fix the output of the SNMP cacheClientTable for IP adresses that consist of
  16 digits (squid bug #1375)
- Make the From: field of mails sent from squid configurable to avoid
  mails getting lost due to spam filtering (squid bug #1380)

PR:		ports/85688
Submitted by:	maintainer
@
text
@d299 1
a299 4
pf_includedir=	${LOCALBASE}/include/pf
BUILD_DEPENDS+=	${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
CFLAGS+=	-I${pf_includedir}
EXTRA_PATCHES+=	${WRKDIR}/pf_from_ports.patch
@


1.169
log
@- Update transparent patch.

PR:		ports/82838
Submitted by:	maintainer
@
text
@d69 1
a69 1
PORTREVISION=	4
d89 18
a106 1
		squid-2.5.STABLE10-snmp_getnext.patch
d347 1
a347 1
	French German Hebrew Hungarian Italian Japanese Korean Lithuanian  \
@


1.168
log
@Update the chroot vendor patch to version 2, cf
http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE10-chroot

PR:		ports/82739
Submitted by:	maintainer
@
text
@d69 1
a69 1
PORTREVISION=	3
d86 1
a86 1
		squid-2.5.STABLE10-transparent.patch \
@


1.167
log
@- Integrate the following vendor patches as published on
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

  + double content-length often harmless (squid bug #1305)
  + update spanish error pages
  + squid internal icons were served with slightly incorrect headers
    (squid bug #1275)
  + squid -k fails in combination with chroot (squid bug #1307)
  + core dump with --enable-ipf-transparent if access to NAT device is denied
    (squid bug #1313)
  + http_accel_single_host incompatible with redirection (squid bug #1314)
  + squid -k reconfigure caused data corruption when a cache_dir type had been
    changed (squid bug #1308)
  + SNMP getnext failed if the given OID was outside the squid MIB (squid bug
    #1317)

PR:		ports/82703
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d69 1
a69 1
PORTREVISION=	2
d85 1
a85 1
		squid-2.5.STABLE10-chroot.patch \
@


1.166
log
@- Read cachemgr.conf rather than cachemgr.conf.default
- Add a missing %SUBDIR% in MASTER_SITES

PR:		ports/81319
Submitted by:	maintainer
@
text
@d69 1
a69 1
PORTREVISION=	1
d82 8
a89 1
PATCHFILES=
@


1.165
log
@- Update Squid to 2.5.STABLE10

PR:		ports/81213
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d69 1
d75 1
a75 1
		ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/ \
d377 4
@


1.164
log
@- Update distinfo for the 2GB patch, this includes a fix for
  squid bugs #1283, 1287 and 1288 (assertion failed in store_client.c:343).
  (already committed)

- Bump portrevision as a datapoint for this bugfix.

PR:		80163
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d68 1
a68 2
PORTVERSION=	2.5.9
PORTREVISION=	5
d74 1
a74 1
		ftp://ftp.leo.org/pub/comp/general/infosys/www/servers/squid/%SUBDIR%/ \
d77 1
a77 1
DISTNAME=	squid-2.5.STABLE9
d81 1
a81 23
PATCHFILES=	squid-2.5.STABLE9-setcookie.patch \
		squid-2.5.STABLE9-ftp_EPLF.patch \
		squid-2.5.STABLE9-ftp_base_href.patch \
		squid-2.5.STABLE9-acl_error.patch \
		squid-2.5.STABLE9-date.patch \
		squid-2.5.STABLE9-reload_into_ims.patch \
		squid-2.5.STABLE9-delay_access_doc.patch \
		squid-2.5.STABLE9-config_overflow.patch \
		squid-2.5.STABLE9-bzero.patch \
		squid-2.5.STABLE9-pid_t.patch \
		squid-2.5.STABLE9-ctype.patch \
		squid-2.5.STABLE9-defer_digest_fetch.patch \
		squid-2.5.STABLE9-dup_content_length.patch \
		squid-2.5.STABLE9-excess_data.patch \
		squid-2.5.STABLE9-aufs.patch \
		squid-2.5.STABLE9-long_basic_auth.patch \
		squid-2.5.STABLE9-CONNECT_truncated.patch \
		squid-2.5.STABLE9-disable_hostname_checks.patch \
		squid-2.5.STABLE9-aufs_shutdown.patch \
		squid-2.5.STABLE9-2GB.patch \
		squid-2.5.STABLE9-cachemgr_objects.patch \
		squid-2.5.STABLE9-extaclauth.patch \
		squid-2.5.STABLE9-syslog.patch
d96 1
a96 1
MAN8=		squid.8
d128 2
a129 1
etc_files=	rc.d/squid.sh squid/mib.txt squid/mime.conf.default \
d288 1
a288 1
IGNORE=		"IPFilter headers are not part of the base system"
a355 1
	@@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/doc/squid.8
@


1.163
log
@Integrate the following vendor patches as published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- Correct several minor aufs issues (squid bug #671)
- Basic authentification fails when login+password totalled to more than
  64 characters (squid bug #1171)
- Fix an assertion that could occur when traffic other than HTTPS was
  tunneled through squid via the CONNECT method (squid bug #1269)
- Make the --disable-hostname-check configuration option actually work
  (squid bug #1270)
- Fix aufs warning about open filedescriptors when the cache was shut down
  (squid bug #671)
- Allow squid to process requests for files larger than 2GB in size
  (squid bug #437)

  Introduce a new OPTION "WITH_SQUID_LARGEFILE", default to off to match
  squid's default behaviour.
  Rebuild squid with -DWITH_SQUID_LARGEFILE or run 'make config' and
  select this new option.

- Add two new cachemgr actions: "pending_objects" and "client_objects"
- Make external acls that require authentication request new credentials
  after access had been denied (squid bug #1278)
- Make squid use "daemon" instead of "local4" as syslog facility (squid bug
  #1227)

PR:		80028
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d69 1
a69 1
PORTREVISION=	4
@


1.162
log
@- Chase checksum of the updated pid_t patch

PR:		ports/78897
Submitted by:	maintainer
@
text
@d69 1
a69 1
PORTREVISION=	3
d95 10
a104 1
		squid-2.5.STABLE9-excess_data.patch
d147 1
d320 3
@


1.161
log
@- Integrate the following vendor patches as published on
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/>:
  + Handle odd data formats (squid bug #321)
  + reload_into_ims fails to revalidate negatively cached entries
    (squid bug #1159)
  + Clarify delay_access function (squid bug #1245)
  + Check several squid.conf directives for int overflows (squid bug #1247)
  + Use memset(3) instead of bzero(3) (squid bug #1256)
  + Fix compile warnings due to pid_t not being an int (squid bug #1257)
  + Fix incorrect use of ctype functions (squid bug #1259)
  + Defer digest fetch if the peer is not allowed to be used (squid bug #1262)
  + Extend relaxed_header_parser to work around "excess data from" errors from
    many major web servers (squid bug #1265)

- Enable IPFilter based transparent proxying on all FreeBSD versions where
  IPFilter headers are part of the base system (i.e. RELENG_4 < 4.7-RELEASE,
  RELENG_5 and 6-CURRENT). Create a new OPTION WITH_SQUID_IPFILTER for this
  purpose. Thanks to sem@@ for keeping track of this issue!

PR:		ports/78780
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d69 1
a69 1
PORTREVISION=	2
@


1.160
log
@Integrate the following vendor patches as published on
- correct a race condition related to the Set-Cookie header
- correct the FTP parser with regards to the EPLF format
  (squid bug #1252)
- correct FTP listing output when the URL was requested without a trailing
  slash (squid bug #1253)
- make ACL configuration errors fatal (squid bug #1255)

PR:		ports/78446
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@a65 8
#    This option does not work on FreeBSD at the moment:
#
#    --enable-ipf-transparent
#     Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#     (IPFilter headers are not currently installed to the base system,
#     PRs ports/60700 and misc/44148 describe the problem; see
#     http://www.squid-cache.org/Doc/FAQ/FAQ-17.html for information
#     about how to do transparent proxying with ipfw)
d69 1
a69 1
PORTREVISION=	1
d85 11
a95 1
		squid-2.5.STABLE9-acl_error.patch
d133 2
a134 1
		SQUID_PF "Enable transp. proxy support using PF" off \
d292 13
@


1.159
log
@- Update to 2.5.STABLE9

PR:		ports/78079
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d77 1
d90 4
a93 1
PATCHFILES=
@


1.158
log
@* Vendor patches:
- fix some cross-platform build format warnings
- allow high characters in generated FTP and Gopher directory listings
  (squid bug #1220)
  - cleanup generation of FTP URLs
  - relax the newly introduced strict HTTP parser slightly to work around some
    more malformed HTTP responses (squid bug #1242)

PR:		ports/77779
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d76 1
a76 2
PORTVERSION=	2.5.8
PORTREVISION=	1
d85 1
a85 1
DISTNAME=	squid-2.5.STABLE8
d89 1
a89 5
PATCHFILES=	squid-2.5.STABLE8-dns_assert.patch \
		squid-2.5.STABLE8-format_fixes.patch \
		squid-2.5.STABLE8-html_high_chars.patch \
		squid-2.5.STABLE8-ftp_cleanup.patch \
		squid-2.5.STABLE8-relaxed_header_parser.patch
@


1.157
log
@- Update to 2.5-STABLE8
- Integrate a vendor patch from:
  http://www.squid-cache.org/Versions/v2/2.5/bugs/
  it fixes a major problem regarding the handling of invalid DNS responses

PR:		ports/77423
Submitted by:	maintainer
@
text
@d77 1
d90 5
a94 1
PATCHFILES=	squid-2.5.STABLE8-dns_assert.patch
@


1.156
log
@- Update header_parsing.patch

PR:		ports/77360
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d76 1
a76 2
PORTVERSION=	2.5.7
PORTREVISION=	13
d85 1
a85 1
DISTNAME=	squid-2.5.STABLE7
d89 1
a89 29
PATCHFILES=	squid-2.5.STABLE7-half_closed_POST.patch \
		squid-2.5.STABLE7-LDAP_version_documentation.patch \
		squid-2.5.STABLE7_req_resp_header.patch \
		squid-2.5.STABLE7-helper_shutdown.patch \
		squid-2.5.STABLE7-blank_response.patch \
		squid-2.5.STABLE7-dothost.patch \
		squid-2.5.STABLE7-PURGE_internal.patch \
		squid-2.5.STABLE7-httpd_accel_vport.patch \
		squid-2.5.STABLE7-cachemgr_vmobjects.patch \
		squid-2.5.STABLE7-empty_acls.patch \
		squid-2.5.STABLE7-close_other.patch \
		squid-2.5.STABLE7-fakeauth_auth.patch \
		squid-2.5.STABLE7-gopher_html_parsing.patch \
		squid-2.5.STABLE7-wccp_denial_of_service.patch \
		squid-2.5.STABLE7-dns_memleak.patch \
		squid-2.5.STABLE7-fqdn_truncated.patch \
		squid-2.5.STABLE7-ldap_spaces.patch \
		squid-2.5.STABLE7-header_parsing.patch \
		squid-2.5.STABLE7-httpd_accel_no_pmtu_disc.patch \
		squid-2.5.STABLE7-ftp_datachannel.patch \
		squid-2.5.STABLE7-short_icons_urls.patch \
		squid-2.5.STABLE7-response_splitting.patch \
		squid-2.5.STABLE7-wccp_buffer_overflow.patch \
		squid-2.5.STABLE7-oversize_reply_headers.patch \
		squid-2.5.STABLE7-ldap_search.patch \
		squid-2.5.STABLE7-ntlm_segfault.patch \
		squid-2.5.STABLE7-post.patch \
		squid-2.5.STABLE7-server_post.patch \
		squid-2.5.STABLE7-wccp_disturb.patch
@


1.155
log
@Integrate the following vendor patch as published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

 - Address HTTP protocol mismatch related to oversized reply headers and
   enhance cache.log on reply header parsing failures (squid bug #1216)
 - correct the search request generated by the LDAP authentication helper
 - fix a race within the NTLM authentication mechanism (squid bug #1127)
 - fix handling of failed PUT/POST requests (squid bug #1224)
 - fix problems with persistent server connections after failed PUT/POST
   requests (squid bug #1122)
 - improve handling of forged WCCP packets (squid bug #1225)

PR:		ports/76967
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
Security:	http://vuxml.freebsd.org/bfda39de-7467-11d9-9e1e-c296ac722cb3.html
@
text
@d77 1
a77 1
PORTREVISION=	12
@


1.154
log
@- Fix fetching.
  * The response_splitting patch has been updated
    to correct a problem with cache digests.

PR:		ports/76889
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	11
d112 7
a118 1
		squid-2.5.STABLE7-wccp_buffer_overflow.patch
@


1.153
log
@- Integrate a vendor patch against a buffer overflow in the WCCP handling,
  see <http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-wccp_buffer_overflow>
  and <http://www.squid-cache.org/Advisories/SQUID-2005_3.txt>.

PR:		ports/76827
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	10
@


1.152
log
@- Integrate vendor patches as published on
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/>:
  + Reject malformed HTTP requests and responses that conflict with the HTTP
    specifications
    This issue is qualified as a security issue by the vendor.
  + PURGE is allowed to delete internal objects (squid bug #1112)
  + Disable Path-MTU discovery on intercepted requests (squid bug #1154)

  (VuXML vid=b4d94fa0-6e38-11d9-9e1e-c296ac722cb3)

- Clean up and correct package list generation. Now installed files
  and directories are visible via PLIST_FILES and PLIST_DIRS.
- Don't claim that squid related files or directories are still present
  after deinstallation when in fact they are not.
- Add "-g" to CFLAGS when WITH_SQUID_STACKTRACES is defined to make this
  option actually useful.

PR:		ports/76628
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	9
d111 2
a112 1
		squid-2.5.STABLE7-response_splitting.patch
@


1.151
log
@[Maintainer/security] www/squid: protect against HTTP resonse split
attack and other patches

    Integrate vendor patches as published on
    <http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

    - FTP data connection fails on some FTP servers when requesting
      a directory without a trailing slash (squid bug #1194)

    - Icons fail to load on non-anonymous FTP when using the
      short_icons_url configuration directive (squid bug #1203)

    - Strengthen squid against HTTP response splitting cache pollution
      attacks (squid bug #1200), classified as security issue by
      the vendor

    Proposed VuXML information, entry date left to be filled in:

    (Note: I added only a publically accessible link to the Sanctum,
    Inc.  whitepaper, the squid bug tracker contains a deep link
    to the PDF itself; if we are allowed to publish it, it could
    instead be used as reference because Sanctum, Inc. wants you
    to register with them before you get access to their whitepapers.)

PR:		ports/76550
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
@
text
@d77 1
a77 1
PORTREVISION=	8
d96 1
d107 2
d156 2
a157 3
PLIST_FILES=	etc/rc.d/squid.sh etc/squid/mib.txt etc/squid/mime.conf.default \
		etc/squid/msntauth.conf.default etc/squid/squid.conf.default \
		sbin/RunAccel sbin/RunCache sbin/squidclient sbin/squid
d174 2
a175 2
		ERR_FTP_PUT_ERROR ERR_FTP_PUT_MODIFIED \
		ERR_FTP_UNAVAILABLE ERR_INVALID_REQ ERR_INVALID_URL \
d181 9
a189 4
libexec=	cachemgr.cgi digest_pw_auth diskd dnsserver ip_user_check \
		squid_ldap_auth squid_ldap_group msnt_auth ncsa_auth ntlm_auth \
		pam_auth pinger smb_auth smb_auth.sh squid_unix_group \
		unlinkd wb_auth wb_group wb_ntlmauth wbinfo_group.pl
d211 1
d262 1
d266 1
d314 1
d346 10
a398 21
# Create package list:
	@@for f in ${libexec}; do \
	    ${TEST} -f ${PREFIX}/libexec/squid/$${f} && \
	    ${ECHO_CMD} "libexec/squid/$${f}" >>${TMPPLIST} || ${TRUE} ; \
	done
	@@${ECHO_CMD} "@@unexec rmdir %D/libexec/squid 2>/dev/null || true" \
	    >>${TMPPLIST}
	@@for f in ${icon_files}; do \
	    ${ECHO_CMD} "etc/squid/icons/$${f}" >>${TMPPLIST}; \
	done
	@@${ECHO_CMD} "@@unexec rmdir %D/etc/squid/icons 2>/dev/null || true" \
	    >>${TMPPLIST}
	@@for d in ${SQUID_LANGUAGES}; do \
	    for f in ${error_files}; do \
		${ECHO_CMD} "etc/squid/errors/$${d}/$${f}" >>${TMPPLIST} ; \
	    done; \
	    ${ECHO_CMD} "@@unexec rmdir %D/etc/squid/errors/$${d} 2>/dev/null || true" \
		>>${TMPPLIST}; \
	done
	@@${ECHO_CMD} "@@unexec rmdir %D/etc/squid/errors 2>/dev/null || true" \
	    >>${TMPPLIST}
@


1.150
log
@[Maintainer/Security] www/squid: integrate vendor patches

	Integrate vendor patches as published on
	<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

	- Sanity check usernames in squid_ldap_auth (squid bug #1187),
	  classified as minor security issue by the vendor, see below for VuXML
	  information
	- FQDN names truncated on compressed DNS responses (squid bug #1136)
	- Internal DNS memory leak on malformed responses (squid bug #1197)

PR:		ports/76364
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
@
text
@d77 1
a77 1
PORTREVISION=	7
d105 4
a108 1
		squid-2.5.STABLE7-ldap_spaces.patch
@


1.149
log
@- Integrate vendor patches as published on
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for the following
  issues:
  + Prevent a possible denial of service attack via WCCP messages (squid bug
    #1190), classified as security issue by the vendor
  + Fix a buffer overflow in the Gopher to HTML conversion routine (squid bug
    #1189), classified as security issue by the vendor
  + Fix a null pointer access and plug memory leaks in the fake_auth NTLM
    helper (squid bug #1183) (this helper app is not installed by default by
    the port)
  + Stop closing open filedescriptors beyond stdin, stdout and stderr on
    startup (squid bug #1177)

- Unbreak the port on NO_NIS systems (thanks to "Alexander <freebsd AT
  nagilum.de>" for reporting this)

- Document the two security issues in VuXML.

PR:		ports/76173
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
Approved by:	erwin (mentor)
@
text
@d77 1
a77 1
PORTREVISION=	6
d102 4
a105 1
		squid-2.5.STABLE7-wccp_denial_of_service.patch
@


1.148
log
@Handle empty ACL definitions properly.

PR:		ports/75403
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	5
d98 5
a102 1
		squid-2.5.STABLE7-empty_acls.patch
d176 1
a176 1
		unlinkd wb_auth wb_group wb_ntlmauth wbinfo_group.pl yp_auth
d188 1
a188 1
basic_auth=	NCSA PAM YP MSNT SMB winbind
d199 4
@


1.147
log
@Integrate the following vendor patches as published on
http://www.squid-cache.org/Versions/v2/2.5/bugs/:

- a malformed hostname can cause squid to return random data as error messages,
  possibly leaking internal information from former requests (squid bug #1143).
  (This is classified as a minor security issue by the squid developers, so
  maintainer cc'ed security-team@@. See VuXML entry.)
- the "httpd_accel_port 0" directive does not work on its own (squid bug #1121)
- fix crashes occuring when using cachemgr's "vm_objects" operation (squid
  bug #1149)

PR:		ports/74859
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	4
d97 2
a98 1
		squid-2.5.STABLE7-cachemgr_vmobjects.patch
@


1.146
log
@- fix shutting down of helper applications on reconfigure or
  logrotation (squid bug #1118)
- properly close the client TCP connection when a malformed blank
  HTTP response was received from the server (squid bug #1116)

PR:		ports/73913
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	3
d94 4
a97 1
		squid-2.5.STABLE7-blank_response.patch
@


1.145
log
@- Integrate the following vendor patches:
  - document the LDAP helpers' -v option
  - correct the implementation of the req_header and resp_header acls
    (the original implementation submitted in squid bug #961 was faulty)
    See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for further details.
- Bump PORTREVISION

PR:		ports/73154
Submitted by:	Thomas-Martin Seck (maintainer)
@
text
@d77 1
a77 1
PORTREVISION=	2
d92 3
a94 1
		squid-2.5.STABLE7_req_resp_header.patch
@


1.144
log
@- Integrate a vendor patch that prevents squid from consuming 100%
  CPU for half closed PUT/POST requests (squid bugs #354, 1096).
  See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for further
  details.
- Adapt the follow_xff patch to changes in some of squid's data
  structures and unbreak the WITH_SQUID_FOLLOW_XFF option.
- Bump PORTREVISION.

PR:		ports/72840
Submitted by:	Thomas-Martin Seck (maintainer)
@
text
@d77 1
a77 1
PORTREVISION=	1
d90 3
a92 1
PATCHFILES=	squid-2.5.STABLE7-half_closed_POST.patch
@


1.143
log
@- Update to 2.5-STABLE7; this release fixes a security issue regarding
  the SNMP module
- Remove a patch that is now part of the distribution
- Miscellaneuous small fixes:
  + in squid.sh, make stop_command poll for the squid processes' exit in
    the rcNG case too; this eliminates the need to do this in restart_command
  + make the information regarding rcNG'ness in pkg-install easier to read
  + install unstripped binaries if WITH_SQUID_STACKTRACES is defined

PR:		ports/72581
Submitted by:	Thomas-Martin Seck (maintainer)
@
text
@d77 1
d90 2
@


1.142
log
@- Unbreak fetching squid again:
  The recently updated client_db_gc patch has been reissued again;
  according to squid CVS to "finetune the client db garbage collection
  interval".  Update distinfo accordingly and bump PORTREVISION.

PR:		ports/72461 [1], ports/72463 [2]
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net> [1],
		Thomas-Martin Seck (maintainer) [2]
Approved by:	portsmgr (krion)
@
text
@d76 1
a76 2
PORTVERSION=	2.5.6
PORTREVISION=	12
d85 1
a85 1
DISTNAME=	squid-2.5.STABLE6
a88 25
PATCHFILES=	squid-2.5.STABLE6-ufs_no_valid_dir.patch \
		squid-2.5.STABLE6-ldap_helpers.patch \
		squid-2.5.STABLE6-concurrent_dns_lookups.patch \
		squid-2.5.STABLE6-request_header_max_size.patch \
		squid-2.5.STABLE6-partial_hit_is_miss.patch \
		squid-2.5.STABLE6-HEAD.patch \
		squid-2.5.STABLE6-ufs_create_error.patch \
		squid-2.5.STABLE6-basic_auth_caseinsensitive.patch \
		squid-2.5.STABLE6-active_requests_delaypool.patch \
		squid-2.5.STABLE6-client_db_gc.patch \
		squid-2.5.STABLE6-ntlmtruncated.patch \
		squid-2.5.STABLE6-grammar.patch \
		squid-2.5.STABLE6-errorpage_quote.patch \
		squid-2.5.STABLE6-heap_segfault.patch \
		squid-2.5.STABLE6-initgroups.patch \
		squid-2.5.STABLE6-external_acl_newlines.patch \
		squid-2.5.STABLE6-ntlm_fetch_string.patch \
		squid-2.5.STABLE6-ntlm_noreuse_leak.patch \
		squid-2.5.STABLE6-ntlm_challengereuse_leak.patch \
		squid-2.5.STABLE6-rotate_error.patch \
		squid-2.5.STABLE6-digest_crash.patch \
		squid-2.5.STABLE6-acl_times.patch \
		squid-2.5.STABLE6-http_header_range.patch \
		squid-2.5.STABLE6-Content-Disposition.patch
PATCH_DIST_STRIP=	-p1
d279 1
@


1.141
log
@- Unbreak fetching:
  The client_db_gc patch contained a wrong debugging information
  and was thus reissued by the vendor.
  Update distinfo accordingly and bump PORTREVISION.

PR:		ports/72387
Submitted by:	Thomas-Martin Seck (maintainer)
Approved by:	portsmgr (krion)
@
text
@d77 1
a77 1
PORTREVISION=	11
@


1.140
log
@Implement vendor patches for the following issues:
- try to prevent crashes of the digest helper (squid bug #1031)
- correct parsing of the acl_time directive when multiple time specifications
  are given (squid bug #1060)
- correct "cachemgr config" output for http_header_* directives
  (squid bug #1056)
- recognize the Content-Disposition header to be able to specify
  http_header_access directives using it (squid bug #961)

See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for further
information.

Reimplement the rcNG support. See UPDATING for details.

PR:		ports/71260
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	10
@


1.139
log
@Integrate vendor patches for the following issues:
- close a memory leak when NTLM authentication without challenge reuse
  is used (squid bug #994)
- close a temporary memory leak when NTLM challenge response reuse is
  enabled (squid bug #910)
- when performing log rotation with 'squid -k rotate' do not crash if a
  swap state file or a cache directory is unwriteable (squid bug #1053)

See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for further
information.

PR:		ports/71082
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	9
d109 5
a113 1
		squid-2.5.STABLE6-rotate_error.patch
d155 2
a156 1
		SQUID_STACKTRACES "Create backtraces on fatal errors" off
d306 8
d354 1
d356 4
a359 1
	    -e 's|%%SQUID_UID%%|${SQUID_UID}|g' ${FILESDIR}/squid.sh \
@


1.138
log
@Fix grammatical and whitespace errors in squid.conf.default.

Set supplementary group membership correctly when running squid
as a non-root user and do not ignore the squid_group setting
when starting squid as root (squid bug #1021)

Enable the external_acl helper protocol to handle newlines
in the embedded data (squid bug #1038)

PR:		ports/70767
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	8
d106 4
a109 1
		squid-2.5.STABLE6-ntlm_fetch_string.patch
@


1.137
log
@* Integrate a vendor patch for a possible DOS against the NTLM
  authentication helpers, see squid bug #1045.
* Bump PORTREVISION.

PR:		ports/70707
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	7
d101 1
d104 2
@


1.136
log
@Integrate new vendor patches:
- fix a problem in the heap policy code that could cause memory
  corruption when a {cache,memory}_replacement_policy other
  than the default "lru" was used (squid bug #1009)
- correct quoting of unknown % escape codes when generating
  error pages (squid bug #1030)

PR:		ports/70110
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	6
d102 2
a103 1
		squid-2.5.STABLE6-heap_segfault.patch
@


1.135
log
@[Maintainer] www/squid: chase re-issued patch, unbreak fetching

    The concurrent_dns_lookups patch was reissued, update distinfo accordingly.

    See <http://www.squid-cache.org/bugs/show_bug.cgi?id=852> for
    further information.

PR:		ports/69764
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
@
text
@d77 1
a77 1
PORTREVISION=	5
d100 3
a102 1
		squid-2.5.STABLE6-ntlmtruncated.patch
@


1.134
log
@- integrate a new version of the LDAP update patch, the
  problems with the previous version are hopefully fixed (squid bug #1018)
- integrate a new NTLM authentication patch to address a problem with
  truncating NTLM authentication blobs (squid bug #1016)
- remove two patches which were withdrawn (see squid bugs #910
  and 994)

PR:		ports/69719
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	4
@


1.133
log
@- Tweaks to RC script
- Fix dynamic plist generation to not include files that happen to be
  in target directories. This prevents their removal on deinstallation
  or upgrade.

PR:		ports/69552, ports/69266
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d77 1
a77 1
PORTREVISION=	3
d91 1
a93 2
		squid-2.5.STABLE6-ntlm_challengereuse_leak.patch \
		squid-2.5.STABLE6-ntlm_noreuse_leak.patch \
d99 2
a100 1
		squid-2.5.STABLE6-client_db_gc.patch
@


1.132
log
@Remove squid-2.5.STABLE6-ldap_helpers.patch until it is fixed.
cf <http://www.squid-cache.org/bugs/show_bug.cgi?id=1018>

Do not bump PORTREVISION, since
a) ldap is not in the default configuration
b) we hope to have that fixed soon

PR:		69465
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d77 1
a77 1
PORTREVISION=	2
d148 27
d353 5
a357 4
	@@cd ${PREFIX} && ${FIND} libexec/squid -type f -o -type l | ${SORT} \
	    >>${TMPPLIST}
	@@${ECHO_CMD} "@@dirrm libexec/squid" >>${TMPPLIST}
	@@cd ${PREFIX} && ${FIND} etc/squid/icons -type f -o -type l | ${SORT} \
d359 4
a362 3
	@@${ECHO_CMD} "@@dirrm etc/squid/icons" >>${TMPPLIST}
.for d in ${SQUID_LANGUAGES}
	@@cd ${PREFIX} && ${FIND} etc/squid/errors/${d} -type f | ${SORT} \
d364 7
a370 2
	@@${ECHO_CMD} "@@dirrm etc/squid/errors/${d}" >>${TMPPLIST}
.endfor
@


1.131
log
@The ldap_helpers patch has been rerolled (a missing return
statement was inserted).

PR:		ports/69408
Submitted by:	maintainer
@
text
@a90 1
		squid-2.5.STABLE6-ldap_helpers.patch \
@


1.130
log
@Integrate the following vendor patches as published on
http://www.squid-cache.org/Versions/v2/2.5/bugs/:

- fix a memory leak in client_db (squid bug #833)
- add delay pools information to cachemgr's active_requests
  page
- make basic authentication operate case insensitive by
  default, case sensitive operation can be enabled via
  squid.conf
- log if cache files cannot be created for some reason
- make sure that a HTTP HEAD request does not return stale data
- correctly log partial hits as TCP_MISS instead of TCP_HIT
- fix memory leaks within the NTLM authentication helper
- handle the request_header_max_size directive correctly
- avoid creating a large number of queued DNS lookups for the
  same domain in case of DNS problems
- update LDAP helper

PR:		ports/69307
Submitted by:	maintainer
@
text
@d77 1
a77 1
PORTREVISION=	1
@


1.129
log
@Update to 2.5-STABLE6

PR:		ports/69060
Submitted by:	maintainer
@
text
@d24 6
d32 3
a34 1
#   (default: English)
d37 9
a45 5
#   To enable them, use an assignment like
#   SQUID_CONFIGURE_ARGS="--enable-dlmalloc --enable-truncate"
#   Below most of the additional configuration options are listed,
#   please see the configure script in the squid source distribution for a
#   complete list. Note that you probably do not need to worry about them.
d77 1
d90 12
a101 1
PATCHFILES=	squid-2.5.STABLE6.ufs_no_valid_dir.patch
@


1.128
log
@Fix the patch that simulates the autotools bootstrap for the
follow-xff-patchset (thanks to Michael Ranner for spotting the
problem and testing the fix). While at it, wordsmith the
comments in the patch.

Use the official patch for the NTLM auth helper vulnerability,
see <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for
details.

Build install the SMB basic authentication helpers by default

PR:		ports/68448
Submitted by:	maintainer
@
text
@d28 34
a61 1
#   Additional configuration options, see below for a list
d64 1
a64 2
PORTVERSION=	2.5.5
PORTREVISION=	12
d73 1
a73 1
DISTNAME=	squid-2.5.STABLE5
d77 1
a77 25
PATCHFILES=	squid-2.5.STABLE5-ntlm_assert.patch \
		squid-2.5.STABLE5-ldap.patch \
		squid-2.5.STABLE5-helper_warning.patch \
		squid-2.5.STABLE5-vary.patch \
		squid-2.5.STABLE5-deny_info.patch \
		squid-2.5.STABLE5-CONNECT_timeout.patch \
		squid-2.5.STABLE5-cache_swap_log.patch \
		squid-2.5.STABLE5-ntlm_warning.patch \
		squid-2.5.STABLE5-rfc1035NameUnpack.patch \
		squid-2.5.STABLE5-digest_blank.patch \
		squid-2.5.STABLE5-post_assert.patch \
		squid-2.5.STABLE5-digest_ERR.patch \
		squid-2.5.STABLE5-turkish_ERR_DNS_FAIL.patch \
		squid-2.5.STABLE5-vary_negatively.patch \
		squid-2.5.STABLE5-range_offset_limit.patch \
		squid-2.5.STABLE5-large_cache_mem.patch \
		squid-2.5.STABLE5-least-load.patch \
		squid-2.5.STABLE5-cacheCurrentUnlinkRequests.patch \
		squid-2.5.STABLE5-debug_client_ip.patch \
		squid-2.5.STABLE5-ftp_html_doctype.patch \
		squid-2.5.STABLE5-dns_localhost.patch \
		squid-2.5.STABLE5-msnt_auth_doc.patch \
		squid-2.5.STABLE5-CONNECT_log_size.patch \
		squid-2.5.STABLE5-proxy_abuse.patch \
		squid-2.5.STABLE5-ntlm_auth_overflow.patch
d257 1
a257 32
# Other not so common configure options you can set via SQUID_CONFIGURE_ARGS:
# Please see the configure script in the squid source distribution for a
# complete list.
#
# --enable-dlmalloc
#  Compile and use the malloc package from Doug Lea
# --enable-gnuregex
#  Compile and use the supplied GNUregex routines instead of BSD regex.
# --enable-xmalloc-statistics
#  Show malloc statistics in status page
# --enable-time-hack
#  Optimize time updates to one per second rather than calling gettimeofday()
# --enable-cachemgr-hostname=some.hostname
#  Set an explicit hostname in cachemgr.cgi
# --enable-truncate
#  Use truncate() rather than unlink()
# --disable-unlinkd
#  Do not use "unlinkd"
# --with-aufs-threads=N_THREADS
#  Tune the number of worker threads for the aufs object
# --with-coss-membuf-size
#  COSS membuf size (default: 1048576 bytes)
#
# This option does not yet work on FreeBSD:
#
# --enable-ipf-transparent
#  Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#  (IPFilter headers are not currently installed to the base system,
#  PRs ports/60700 and misc/44148 describe the problem; see
#  http://www.squid-cache.org/Doc/FAQ/FAQ-17.html for information
#  about how to do transparent proxying with ipfw)

@


1.127
log
@Correct the patch for the NTLM helper vulnerability according
to <http://www.squid-cache.org/bugs/show_bug.cgi?id=998>

Apply some cleanups:
 + prefer PATCHDIR over FILEDIR when referring patches
 + remove unnecessary quotes
 + move all substitution tasks to the post-patch target
 + use "${FALSE}" instead of "exit 1" to generate error 1 from a shell

Bump PORTREVISION

PR:		ports/68078
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	11
d68 2
a69 1
		squid-2.5.STABLE5-proxy_abuse.patch
d127 1
a127 1
basic_auth=	NCSA PAM YP MSNT winbind
@


1.126
log
@- Support systems where pf(4) must be installed from ports (see
  ports/67724, submitted by Michal F. Hanula)
- Change ": foo=${foo:=bar}" into "foo=${foo:-bar}" to make the
  shell scripts easier to read and understand
- Correct credits for the recently published NTLM auth
  vulnerability and fix a nearby braino, too
- Bump PORTREVISION

PR:		ports/67797
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	10
d221 1
a221 1
CFLAGS+=	"-I${pf_includedir}"
d287 1
a287 1
# visible for squid's configure script:
d291 1
a291 1
	    ${FILESDIR}/pf_from_ports.patch.in >${WRKDIR}/pf_from_ports.patch
a296 2

pre-configure:
d349 1
a349 1
	exit 1
d352 1
a352 1
	then ${ECHO_CMD} "Sorry, you must be root to use this target."; exit 1; fi; \
@


1.125
log
@Add a couple of patches, including one for a buffer overflow in the NTLM
authentication helper.

PR:		ports/67764
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	9
a216 4
.if ${OSVERSION} >= 502106
# This will work only systems where PF is part of the base system for now.
# If someone is eager to teach squid's configure script how to pick up the pf
# port on 5.[0-2] systems instead, go on, I will integrate your patch.
d218 5
a222 2
.else
IGNORE=	WITH_SQUID_PF only works on systems where pf is part of the base system.
d284 9
@


1.124
log
@- correct report of available cache memory for cache sizes >2GB
  in cache.log (squid bug #570)
- correct the least-load store directory selection algorithm
  for the cache directories using the "ufs" storage scheme (squid bug #676)
- correct the type of the cacheCurrentUnlinkRequests SNMP variable
  (squid bug #946)
- include client IP addresses in debug output (squid bug #948)
- correct the HTML doctype for autogenerated FTP directory listings
  (squid bug #969)
- if no resolv.conf is present the dns_servers variable now defaults
  to 127.0.0.1 (squid bug #991)
- update the documentation of the MSNT basic authentication helper
  (squid bug #717)

PR:		ports/67495
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	8
d66 3
a68 1
		squid-2.5.STABLE5-msnt_auth_doc.patch
@


1.123
log
@- Add new vendor patches:
  + clarify the meaning of the ERR keyword in digest authentication
  + correct a spelling error in the Turkish ERR_DNS_FAIL error page
    (squid bug #950)
  + fix a problem regarding negatively cached 404 replies with VARY: header
    (squid bug #616)
  + correct a parsing bug which rejected a 'range_offset_limit -1 KB'
    statement in squid.conf (squid bug #968)
- Bump PORTREVISION

PR:		ports/66139
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	7
d59 8
a66 1
		squid-2.5.STABLE5-range_offset_limit.patch
@


1.122
log
@- Fix plist
- Bump PORTREVISION
- Clean up pkg-deinstall:
  + remove an unnecessary variable
  + replace rmdir -p with two distinct rmdir calls since we
    do not want to delete $PKG_PREFIX too if it happens to be empty

PR:		ports/65918
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	6
d55 5
a59 1
		squid-2.5.STABLE5-post_assert.patch
@


1.121
log
@- Add a vendor patch to fix an assertion failure that could
  occur in certain rare conditions involving aborted POST/PUT
  requests (squid bug #943)
- Bump PORTREVISION

PR:		ports/65776
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	5
d317 1
a317 1
	@@${ECHO_CMD} "@@unexec rmdir etc/squid/errors 2>/dev/null || true" \
@


1.120
log
@- integrate a vendor patch to fix a segfault that occured when
  submitting a blank username in digest authentication (squid bug #954)
  and bump PORTREVISION
- follow Duane Wessel's squid book and use "storage scheme"
  instead of "store type"
- remove trailing whitespace
- no longer hardcode the path of the nologin binary in
  pkg-install and re-wrap pw(8)'s arguments for better readability

PR:		ports/65723
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	4
d54 2
a55 1
		squid-2.5.STABLE5-digest_blank.patch
@


1.119
log
@- Integrate a vendor patch that fixes an assertion caused by
  truncated DNS replies (squid bug #962)
- Bump PORTREVISION

PR:		ports/65458
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	3
d53 2
a54 1
		squid-2.5.STABLE5-rfc1035NameUnpack.patch
d94 2
a95 2
		SQUID_AUFS "Enable the aufs store type" off \
		SQUID_COSS "Enable the COSS store type" off \
d129 1
a129 1
# Selection of store types:
d131 1
a131 1
store_types=	ufs diskd null
d133 1
a133 1
store_types+=	aufs
d140 1
a140 1
store_types+=	coss
d143 1
a143 1
CONFIGURE_ARGS+=	--enable-storeio="${store_types}"
d160 1
a160 1
.include "${PORTSDIR}/Mk/bsd.openssl.mk" 
@


1.118
log
@- Integrate two new vendor patches, please see
  <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for details
- Correct OpenSSL support and, while at it, clean up CFLAGS and
  LDFLAGS handling (thanks to dinoex for lots of helpful advice!).
- better be safe than sorry and pass PTHREAD_CFLAGS through in
  case we are compiling with threads
- try to remove the errorpages directory silently since user
  defined directories might legitimately be present
- clean up shell scripting:
  + do not use too many variables
  + use /bin/sh's features instead of external commands

PR:		ports/65356
Submitted by:	maintainer
@
text
@d32 1
a32 1
PORTREVISION=	2
d52 2
a53 1
		squid-2.5.STABLE5-ntlm_warning.patch
@


1.117
log
@- Integrate four new vendor patches applicable to FreeBSD, see
  http://www.squid-cache.org/Versions/v2/2.5/bugs/ for details
- Fix OPTIONS parser to handle a default-to-on option correctly
  when either the portoptions file does not exist and/or is not read
  (i.e. the PACKAGE_BUILDING and BATCH cases)
- use IGNORE instead of .error to abort
- use ${ID} consistently
- inform the user of squid.sh's rcNG-ness when /etc/rc.subr is present
  at installation time
- bump PORTREVISION

PR:		ports/64946
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (maintainer)
@
text
@d32 1
a32 1
PORTREVISION=	1
d50 3
a52 1
		squid-2.5.STABLE5-CONNECT_timeout.patch
d115 2
a116 2
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
d133 3
a135 1
CONFIGURE_ARGS+=	--enable-async-io --with-pthreads
d155 8
a162 1
CONFIGURE_ARGS+=	--enable-ssl
d203 2
a204 2
# If someone is eager to teach autoconf to pick up the pf port
# on 5.[0-2] systems instead, go on, I will integrate your patch.
d267 3
d287 1
a287 1
	@@${SETENV} SQUID_USER=${SQUID_UID} SQUID_GROUP=${SQUID_GID} \
d314 2
a315 1
	@@${ECHO_CMD} "@@dirrm etc/squid/errors" >>${TMPPLIST}
@


1.116
log
@- update to squid-2.5.STABLE5, including two vendor patches issued so far
- provide more OPTIONS, including (untested) support for pf(4)
- integrate the follow-XFF-patch from devel.squid-cache.org (submitted by
  Michael Ranner), this should improve interaction with dansguardian
- use id 100 for the squid pseudo user instead of choosing the first free
  id greater than 3127, a behaviour introduced with PORTVERSION 2.5.4_6.
  Provide a 'changeuser' target to make migration from a high id to id 100
  possible (requested by Kris Kennaway)
- don't let the port CONFLICT with itself (criticized by Oliver Eikemeier)
- provide rcNG support in squid.sh only on systems with /etc/rc.subr

PR:		ports/64061
Submitted by:	Thomas-Martin Seck (maintainer)
@
text
@d32 1
d46 5
a50 1
		squid-2.5.STABLE5-ldap.patch
d171 1
a171 1
.if defined(WITH_SQUID_UNDERSCORES)
d196 1
a196 1
.error WITH_SQUID_PF only works on systems where pf is part of the base system.
d314 1
a314 1
	@@if [ `id -u` -ne 0 ]; \
@


1.115
log
@- Integrate a new set of vendor patches, see
  http://www.squid-cache.org/Versions/v2/2.5/bugs/ for details
- Remove two local patches in favour of the respective vendor patches
- Bump PORTREVISION

PR:		63030
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
Obtained from:	http://www.squid-cache.org/Versions/v2/2.5/bugs/
@
text
@d10 2
a11 1
#   The user and group will be created if they do not already exist.
d16 5
d31 1
a31 2
PORTVERSION=	2.5.4
PORTREVISION=	10
d40 1
a40 1
DISTNAME=	squid-2.5.STABLE4
d44 2
a45 52
PATCHFILES=	squid-2.5.STABLE4-reconfigure_message.patch \
		squid-2.5.STABLE4-digest_auth_pwchange.patch \
		squid-2.5.STABLE4-redirect_login_space.patch \
		squid-2.5.STABLE4-fqdnnegcache.patch \
		pam_auth-2.2.patch \
		squid-2.5.STABLE4_auth_param_doc.patch \
		squid-2.5.STABLE4-errorpages.patch \
		squid-2.5.STABLE4-error_load_text.patch \
		squid-2.5.STABLE4-xpi_mime.patch \
		squid-2.5.STABLE4-size_overflow.patch \
		squid-2.5.STABLE4-extacl_auth_loop.patch \
		squid-2.5.STABLE4-squid_ldap_group.patch \
		squid-2.5.STABLE4-positive_dns_ttl.patch \
		squid-2.5.STABLE4-gopherhtml.patch \
		squid-2.5.STABLE4-netroute.patch \
		squid-2.5.STABLE4-synflood.patch \
		squid-2.5.STABLE4-fqdn.patch \
		squid-2.5.STABLE4-connect_cleanup.patch \
		squid-2.5.STABLE4-pconn_post.patch \
		squid-2.5.STABLE4-ftp_put.patch \
		squid-2.5.STABLE4-pconn-load.patch \
		squid-2.5.STABLE4-icon_urls.patch \
		squid-2.5.STABLE4-redirector_access.patch \
		squid-2.5.STABLE4-pconn-lifo.patch \
		squid-2.5.STABLE4-cache_peer_maxconn.patch \
		squid-2.5.STABLE4-pid_filename_none.patch \
		squid-2.5.STABLE4-dns_namelength.patch \
		squid-2.5.STABLE4-urllogin_acl.patch \
		squid-2.5.STABLE4-russian.patch \
		squid-2.5.STABLE4-redirlog.patch \
		squid-2.5.STABLE4-pinger.patch \
		squid-2.5.STABLE4-partial_reload.patch \
		squid-2.5.STABLE4-ldap_tls.patch \
		squid-2.5.STABLE4-ldap_group_bufsize.patch \
		squid-2.5.STABLE4-http_workarounds.patch \
		squid-2.5.STABLE4-empty_proxy_auth.patch \
		squid-2.5.STABLE4-ftp_telnet.patch \
		squid-2.5.STABLE4-ntlm_auth_popups.patch \
		squid-2.5.STABLE4-ldap_group-S.patch \
		squid-2.5.STABLE4-ipcache_purge.patch \
		squid-2.5.STABLE4-cache_peer_access_ntlm.patch \
		squid-2.5.STABLE4-wbinfo_group.patch \
		squid-2.5.STABLE4-SMB_ntlm_auth.patch \
		squid-2.5.STABLE4-miss_access_internal.patch \
		squid-2.5.STABLE4-squidclient_auth.patch \
		squid-2.5.STABLE4-authfixes.patch \
		squid-2.5.STABLE4-arp-FreeBSD.patch \
		squid-2.5.STABLE4-deny_info_reply.patch \
		squid-2.5.STABLE4-authfixes2.patch \
		squid-2.5.STABLE4-reply_body_max_size.patch \
		squid-2.5.STABLE4-digest-abort.patch \
		squid-2.5.STABLE4-ntlm_auth_user_hash_pointer-leak.patch
d51 1
a51 1
CONFLICTS=	squid-*
d78 1
d82 6
a87 1
		SQUID_ARP_ACL "Enable ACLs based on ethernet address" off
d97 1
a97 2
		--enable-storeio="ufs diskd null" \
		--enable-removal-policies="lru heap" \
d120 14
d169 3
d184 18
a232 6
# --disable-hostname-checks
#  Squid by default rejects any host names with odd characters in their name
#  to conform with internet standards. If you disagree with this you may use
#  this switch to turn off any such checks, provided that the resolver used by
#  Squid does not reject such host names. This may be required to participate
#  in testbeds for international domain names.
d235 4
a238 2
# --enable-stacktraces
#  Enable automatic call backtrace on fatal errors
a253 3
# Prevent installation of .orig files by deleting them.
	@@${FIND} ${WRKSRC} -name '*.bak' -delete
	@@${FIND} ${WRKSRC} -name '*.orig' -delete
d260 3
d281 2
a282 8

# Work around the fact that the errorpages.patch creates files in
# an "Attic" subdir:
.if exists(${PREFIX}/etc/squid/errors/Lithuanian)
	@@${FIND} ${WRKSRC}/errors/Lithuanian/Attic -type f \
   	    -exec ${INSTALL_DATA} {} ${PREFIX}/etc/squid/errors/Lithuanian/ \;
.endif
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d296 46
@


1.114
log
@- integrate a new patch from squid-cache.org, see
  http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE4-ftp_telnet
  for details
- integrate a patch by Glen Gibb to enable ARP based ACLs and make this an
  OPTION; see also http://www.squid-cache.org/bugs/show_bug.cgi?id=909
  for his original bug report
- integrate additional vendor patches
- make --enable-underscores an OPTION
- set a tighter ACL on libexec/pinger
- use $SQUID_USER and $SQUID_GROUP in pkg-install
- wordsmith comments
- bump PORTREVISION

PR:		ports/62442
Submitted by:	maintainer

- Fix checksum for updated errorpages patch

PR:		ports/62923
Submitted by:	Michal Pasternak <dotz@@irc.pl>
Approved by:	maintainer
@
text
@d26 1
a26 1
PORTREVISION=	9
d79 12
a90 1
		squid-2.5.STABLE4-cache_peer_access_ntlm.patch
@


1.113
log
@- Update distinfo for the http_workarounds patch (again)
  Please see http://www.squid-cache.org/bugs/show_bug.cgi?id=890 for details.
  Bump PORTREVISION
- Update to use new ports collection features:
  + USE_SIZE
  + use PORTDOCS and PLIST_FILES and extend the dynamic package list creation
    to include squid's icon files, too
  + move file and directory cleanup on deinstallation to pkg-deinstall
  + get rid of pkg-plist
  + use OPTIONS for the most commonly used options,
    leave SQUID_CONFIGURE_OPTIONS for more obscure options
- document known non-working features
- use lowercase for local variables
- other minor cleanups

PR:		ports/62222
Submitted by:	maintainer
@
text
@d26 1
a26 1
PORTREVISION=	8
d74 6
a79 1
		squid-2.5.STABLE4-empty_proxy_auth.patch
d111 1
d114 2
a115 1
		SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off
a126 1
		--enable-underscores
d149 1
a149 1
# Options set via 'make config':
d181 3
d193 3
d200 1
a200 1
# will be installed; the default language will be english.
d238 1
a238 1
# These options do not yet work on FreeBSD:
a239 3
# --enable-arp-acl
#  Enable ACL based on ethernet address (eg: for machines with dynamic DHCP
#  assigned IP addresses)
d266 1
a266 1
	@@${SETENV} SQUID_UID=${SQUID_UID} SQUID_GID=${SQUID_GID} \
d271 1
a271 1
	${CHMOD} 4710 ${PREFIX}/libexec/squid/pinger; \
@


1.112
log
@- integrate another patch from squid-cache.org, see
  http://www.squid-cache.org/Versions/v2/2.5/bugs/ for details
- cleanup dynamic plist generation:
  sort files, replace needlessly complex ex-scripting with a ${REINPLACE_CMD}
  one-liner
- integrate a patch to make the SMB-NTLM helper compile on 5.x and hook this
  helper up to the build (thanks to Stefano Tagliaferri for reporting the bug
  and testing the patch)
- bump PORTREVISION

PR:		61543
Submitted by:	maintainer
@
text
@d7 1
a7 6
# Tunables:
# WITH_SQUID_PINGER
#   install the external icmp helper program (`pinger') for hierarchy stats and
#   selection
# WITH_SQUID_LDAP_AUTH
#   install external modules for authentication against LDAP servers
d26 1
a26 1
PORTREVISION=	7
d90 23
a112 1
DOCS=		QUICKSTART README RELEASENOTES.html doc/debug-sections.txt
d122 1
a122 3
.if defined(WITH_SQUID_PINGER)
CONFIGURE_ARGS+=	--enable-icmp
.endif
d143 42
d199 1
a199 1
# Other configure options you might want to set using SQUID_CONFIGURE_ARGS:
a208 12
# --enable-carp
#  Enable CARP support
# --enable-delay-pools
#  Enable delay pools to limit bandwidth usage
# --enable-useragent-log
#  Enable logging of the User-Agent header
# --disable-wccp
#  Disable Web Cache Coordination Protocol
# --enable-snmp
#  Turn on SNMP server support
# --enable-ssl
#  Turn on SSL server support for reverse proxies
a212 21
# --enable-arp-acl
#  Enable ACL based on ethernet address (eg: for machines with dynamic DHCP
#  assigned IP addresses)
# --enable-htcp
#  Enable HTCP protocol
# --enable-forw-via-db
#  Enable Forw/Via database
# --enable-cache-digests
#  Use Cache Digests - see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html
# --disable-http-violations
#  Strict HTTP compliance
# --enable-ipf-transparent
#  Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#  (Note: this is currently broken due to ipf headers not being installed to
#  the base system, see PRs ports/60700 and misc/44148 for details)
#  Note: see http://www.squid-cache.org/Doc/FAQ/FAQ-17.html for information
#  about how to do transparent proxying with ipfw(8).
# --disable-ident-lookups
#  Compile out code that does optional Ident (RFC931) lookups
# --disable-internal-dns
#  Install the old external "dnsserver" binary
d225 12
d268 1
a268 1
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
a270 1
.if exists(${PREFIX}/etc/squid/errors/Lithuanian)
d273 1
d278 7
a284 6
# Generate parts of pkg-plist on the fly:
	@@cd ${PREFIX} && ${FIND} libexec/squid -type f -o -type l | sort \
	    >${WRKDIR}/plist.dynamic
	@@${ECHO_CMD} "@@dirrm libexec/squid" >>${WRKDIR}/plist.dynamic
# Only register what we should have installed, there may be local additions
# present:
d286 3
a288 3
	@@cd ${PREFIX} && ${FIND} etc/squid/errors/${d} -type f | sort \
	    >>${WRKDIR}/plist.dynamic
	@@${ECHO_CMD} "@@dirrm etc/squid/errors/${d}" >>${WRKDIR}/plist.dynamic
d290 1
a290 3
	@@${REINPLACE_CMD} -e \
	    '/@@comment Start of dynamically generated plist/r${WRKDIR}/plist.dynamic' \
	    ${TMPPLIST}
d292 1
a292 1
.include <bsd.port.mk>
@


1.111
log
@- configure squid to run under a dedicated "squid" user by default; make use
  of SQUID_{UID,GID} which other squid-related ports already implemented.
  The user/group will be created on the fly if they do not already exist.
- introduce WITH_SQUID_LDAP_AUTH to pull in the necessary bits to compile and
  use the ldap_auth helper
- install some more authentication helper applications by default
- install helper applications to ${PREFIX}/libexec/squid instead of
  ${PREFIX}/libexec, add notes about it in pkg-install and pkg-descr
- cleanup the pre-installation tasks and move them from Makefile and pkg-plist
  into the pkg-install script; make 'make install' and 'pkg_add' actually do
  the same thing
- introduce a pkg-deinstall script
- make squid.sh rcNG compatible (when either /etc/rc_subr or
  ${PREFIX}/etc/rc_subr is present, the first one will be used, otherwise the
  script will work as a "rc classic" script so no additional dependency on
  the rc_subr port should be needed)
- some Makefile cleanups:
  + the squid installation procedure now correctly strips binaries, so there
    is no need to do this manually anymore
  + generate those parts of pkg-plist dynamically that may be affected by user
    set tunables (currently the localized error pages and helper applications)
  + document the available configuration options in a slightly different style
  + remove some obsolete variable declarations and comments
  + honor NOPORTDOCS
- add CONFLICTS
- add another vendor patch, see
  http://www.squid-cache.org/bugs/show_bug.cgi?id=890 for a thorough
  explanation of what has been fixed.
- since we can no longer take the presence of Lithuanian error pages for
  granted, wrap the workaround for the errorpages.patch with '.if exists()'
- bump PORTREVISION

PR:		61315
Submitted by:	maintainer
@
text
@d31 1
a31 1
PORTREVISION=	6
d78 2
a79 1
		squid-2.5.STABLE4-http_workarounds.patch
d126 1
a126 1
			--enable-ntlm-auth-helpers="winbind"
d243 1
a243 1
	@@cd ${PREFIX} && ${FIND} libexec/squid -type f -o -type l \
d249 1
a249 1
	@@cd ${PREFIX} && ${FIND} etc/squid/errors/${d} -type f \
d253 3
a255 6
	@@${ECHO_CMD} "r ${TMPPLIST}" >${WRKDIR}/ex.script
	@@${ECHO_CMD} "/Start of dynamically generated plist" >>${WRKDIR}/ex.script
	@@${ECHO_CMD} "r ${WRKDIR}/plist.dynamic" >>${WRKDIR}/ex.script
	@@${ECHO_CMD} "x!" >>${WRKDIR}/ex.script
	@@${CP} -p ${TMPPLIST} ${TMPPLIST}.orig
	@@cd ${WRKDIR} && ex <ex.script >/dev/null
@


1.110
log
@- Integrate another patch for the LDAP authentication helper
  (see <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for details)
- Correct MASTER_SITES:
  + fix URL for Melbourne University's ftp server
  + replace unreachable ftp mirror at Loughborough University with
    the one at LEO.org, Munich
- Bump PORTREVISION

PR:		61128
Submitted by:	maintainer
@
text
@d7 21
d31 1
a31 1
PORTREVISION=	5
a40 1
EXTRACT_SUFX=	.tar.bz2
d77 2
a78 1
		squid-2.5.STABLE4-ldap_group_bufsize.patch
d84 1
d89 7
a95 1
# Follow the apache port's lead...
d98 1
d102 100
a201 67
		--enable-auth=basic --enable-basic-auth-helpers="NCSA PAM YP" \
		--enable-external-acl-helpers="ip_user unix_group" \
		--enable-underscores ${SQUID_CONFIGURE_ARGS}

MAKEFILE=	Makefile
MAN8=	pam_auth.8 squid_unix_group.8 squid.8

# Some other configure options..
#  - Compile and use the malloc package from Doug Lea
#CONFIGURE_ARGS+= --enable-dlmalloc
#  - Compile and use the supplied GNUregex routines instead of BSD regex.
#CONFIGURE_ARGS+= --enable-gnuregex
#  - Enable simple malloc debugging
#CONFIGURE_ARGS+= --enable-xmalloc-debug
#  - Detailed trace of memory allocations
#CONFIGURE_ARGS+= --enable-xmalloc-debug-count
#  - Show malloc statistics in cachemgr status pages
#CONFIGURE_ARGS+= --enable-xmalloc-statistics
#  - Enable CARP support
#CONFIGURE_ARGS+= --enable-carp
#  - Enable ICMP pinging for heirarchy stats and selection
#CONFIGURE_ARGS+= --enable-icmp
#  - Enable delay pools to limit bandwidth usage
#CONFIGURE_ARGS+= --enable-delay-pools
#  - Enable generic memory use tracing
#CONFIGURE_ARGS+= --enable-mem-gen-trace
#  - Enable logging of the User-Agent header
#CONFIGURE_ARGS+= --enable-useragent-log
#  - Disable Web Cache Coordination Protocol
#CONFIGURE_ARGS+= --disable-wccp
#  - Kill parent (eg: RunCache) on shutdown (use with great care!!)
#CONFIGURE_ARGS+= --enable-kill-parent-hack
#  - Turn on SNMP server support
#CONFIGURE_ARGS+= --enable-snmp
#  - Turn on SSL server support for reverse proxies
#CONFIGURE_ARGS+= --enable-ssl
#  - Optimize time updates to one per second rather than calling gettimeofday()
#CONFIGURE_ARGS+= --enable-time-hack
#  - Set an explicit hostname in cachemgr.cgi
#CONFIGURE_ARGS+= --enable-cachemgr-hostname=some.hostname
#  - Enable ACL based on ethernet address (eg: for machines with dynamic DHCP
#    assigned IP addresses)
#CONFIGURE_ARGS+= --enable-arp-acl
#  - Enable HTCP protocol
#CONFIGURE_ARGS+= --enable-htcp
#  - Enable Forw/Via database
#CONFIGURE_ARGS+= --enable-forw-via-db
#  - Use Cache Digests - see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html
#CONFIGURE_ARGS+= --enable-cache-digests
#  - Select language for Error pages (see errors dir)
#CONFIGURE_ARGS+= --enable-err-language=lang
#  (--enable-poll is not needed, it's detected correctly on 3.0)
#  - Strict HTTP compliance
#CONFIGURE_ARGS+= --disable-http-violations
#  - Enable Transparent Proxy support for IP-Filter systems (incl 3.0)
#CONFIGURE_ARGS+= --enable-ipf-transparent
# (--enable-leakfinder is a developer support tool only)
#  - Compile out code that does optional Ident (RFC931) lookups
#CONFIGURE_ARGS+= --disable-ident-lookups
#  - Disable squid's internal async DNS lookup code.
#CONFIGURE_ARGS+= --disable-internal-dns
#  - Use truncate() rather than unlink()
#CONFIGURE_ARGS+= --enable-truncate
#  - accept the illegal '_' character in hostnames.
#CONFIGURE_ARGS+= --enable-underscores
#  - Enable control of different heap replacement algorithms at runtime.
#CONFIGURE_ARGS+= --enable-removal-policies
d210 13
d224 9
a232 26
#	I don't think many people use the pinger nowadays, and if you
#	do you'll want squid in its own group so as to restrict access
#	to it.
#	cd ${WRKSRC}/src; make install-pinger
.for sbin_file in client squid
	if [ -f ${PREFIX}/sbin/${sbin_file} ] ; then \
		${STRIP_CMD} ${PREFIX}/sbin/${sbin_file} ; \
	fi
.endfor
.for libexec_file in cachemgr.cgi dnsserver pinger unlinkd
	if [ -f ${PREFIX}/libexec/${libexec_file} ] ; then \
		${STRIP_CMD} ${PREFIX}/libexec/${libexec_file} ; \
	fi
.endfor
	@@if [ ! -d ${PREFIX}/squid/logs ]; then			\
		${MKDIR} ${PREFIX}/squid/logs;		  	\
		${CHOWN} nobody:nogroup ${PREFIX}/squid/logs;   \
	fi
	@@if [ ! -d ${PREFIX}/squid/cache ]; then		\
		${MKDIR} ${PREFIX}/squid/cache;			\
		${CHOWN} nobody:nogroup ${PREFIX}/squid/cache;  \
	fi
	@@if [ ! -f ${PREFIX}/etc/rc.d/squid.sh ]; then \
		${ECHO} "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/squid.sh ${PREFIX}/etc/rc.d/squid.sh; \
	fi
d234 1
d238 20
a257 1
	-exec ${INSTALL_DATA} {} ${PREFIX}/etc/squid/errors/Lithuanian/ \;
@


1.109
log
@- Integrate a new patch issued by the squid development team
  to correct the behaviour of the LDAP authentication helper wrt TLS,
  see <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for details
- Reinstate the errorpages.patch and work around its partial brokenness
  by installing some Lithuanian error pages manually.
- Bump PORTREVISION

PR:		60950
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	4
d14 1
a14 1
		ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
d16 1
a16 1
		ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \
d56 2
a57 1
		squid-2.5.STABLE4-ldap_tls.patch
@


1.108
log
@Change maintainer to Thomas-Martin Seck.

Approved by:	adrian
@
text
@d10 1
a10 1
PORTREVISION=	3
d30 1
d55 2
a56 1
		squid-2.5.STABLE4-partial_reload.patch
d174 5
@


1.107
log
@More patches for squid, to keep up to date with the squid distribution.

Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de> (privately)
Approved by:	maintainer timeout (still)
@
text
@d57 1
a57 1
MAINTAINER=	adrian@@freebsd.org
@


1.106
log
@Add more patch files for www/squid

PR:		ports/59091 (based on)
Submitted by:	Thomas-Martin Seck <tmseck@@netcologne.de>
@
text
@d10 1
a10 1
PORTREVISION=	2
d13 5
a17 5
	ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \
	ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \
	${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,}
a29 1
		squid-2.5.STABLE4-errorpages.patch \
d49 6
a54 1
		squid-2.5.STABLE4-dns_namelength.patch
d141 1
a141 1
	# Prevent installation of .orig files by deleting them.
@


1.105
log
@Uncomment the lines I needed to test the port. Mea Culpa.

*grabs pointy hat*
@
text
@d10 1
a10 1
PORTREVISION=	1
d47 4
a50 1
		squid-2.5.STABLE4-pconn-lifo.patch
@


1.104
log
@[PATCH] www/squid: update to 2.5-STABLE4 (+ vendor patches)

[...]
- Add 2.5-STABLE4 vendor patches
  - cache.log message on "squid -k reconfigure" confusing
  - digest auth never detects password changes
  - login with space confuses redirector helpers
  - FQDNcache discards negative responses when using internal DNS
  - Full details at http://www.squid-cache.org/Versions/v2/2.5/bugs/#STABLE4
[...]

PR:		ports/58090
Submitted by:	Jonathan Noack <noackj@@concordiacrusaders.org>
Approved by: 	MAINTAINER TIMEOUT
@
text
@d155 1
a156 1
#		${CHOWN} nobody:nogroup ${PREFIX}/squid/logs;   \
d159 1
a160 1
#		${CHOWN} nobody:nogroup ${PREFIX}/squid/cache;  \
@


1.103
log
@[PATCH] www/squid: update to 2.5 STABLE 4

	- Update to 2.5-STABLE4
	- plist is correct -- see ports/56392 for details on extra files

PR:		ports/56926
Submitted by:	Jonathan Noack <noackj@@concordiacrusaders.org>
Approved by:	MAINTAINER TIMEOUT
@
text
@d10 1
d24 24
a47 1
PATCHFILES=
d110 1
a110 1
#  - Use Cache Digests - see http://squid.nlanr.net/Squid/FAQ/FAQ-16.html
d134 3
a154 1
		${CHOWN} nobody:nogroup ${PREFIX}/squid/logs;   \
d156 1
a158 1
		${CHOWN} nobody:nogroup ${PREFIX}/squid/cache;  \
d160 1
@


1.102
log
@o Allow to use $SQUID_CONFIGURE_ARGS in /etc/make.conf for additional
  $CONFIGURE_ARGS.

No response from:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	2.5
PORTREVISION=	4
d18 1
a18 1
DISTNAME=	squid-2.5.STABLE3
d23 1
a23 23
PATCHFILES=	squid-2.5.STABLE3-deny_info.patch \
		squid-2.5.STABLE3-cache_dir_doc.patch \
		squid-2.5.STABLE3-devnull.patch \
		squid-2.5.STABLE3-log_quote.patch \
		squid-2.5.STABLE3-rfc_reference.patch \
		squid-2.5.STABLE3-external_acl_ident.patch \
		squid-2.5.STABLE3-gcc-3_3.patch \
		squid-2.5.STABLE3-carpfactor.patch \
		squid-2.5.STABLE3-neighbor_type_domain.patch \
		squid-2.5.STABLE3-header_access_peer.patch \
		squid-2.5.STABLE3-memwarnsbrk.patch \
		squid-2.5.STABLE3-hostscomments.patch \
		squid-2.5.STABLE3-store_check_cachable_stats.patch \
		squid-2.5.STABLE3-cachePeerPingsSentsnmp.patch \
		squid-2.5.STABLE3-minimum_retry_timeout.patch \
		squid-2.5.STABLE3-tcp_reset_leak.patch \
		squid-2.5.STABLE3-hostheader.patch \
		squid-2.5.STABLE3-reply_body_max_size.patch \
		squid-2.5.STABLE3-ie_refresh.patch \
		squid-2.5.STABLE3-http_reply_access-denied.patch \
		squid-2.5.STABLE3-SENT_PASV.patch \
		squid-2.5.STABLE3-peer_digest_not_found_assertion.patch \
		squid-2.5.STABLE3-round_robin_max_size.patch
@


1.101
log
@Massive upgrade to 2.5-stable3. Thanks!

PR:		ports/54153
Submitted by:	Jon Noack <noackjr@@alumni.rice.edu>
@
text
@d64 1
a64 1
		--enable-underscores
@


1.100
log
@Bring the squid-2.5 port up to 2.5.STABLE2.
Expect another few commits soon to improve features :)
@
text
@d10 1
a10 1
PORTREVISION=	3
d12 1
a12 1
MASTER_SITES=  \
d19 3
a21 2
DISTNAME=	squid-2.5.STABLE2
EXTRACT_SUFX=	.tar.gz
d24 24
a51 2
DIST_SUBDIR=	squid2.5
PATCH_DIST_STRIP= -p1
d53 1
d58 1
a58 1
		--datadir=${PREFIX}/etc/squid/ \
a65 1
STRIP=		# won't install scripts correctly otherwise.
d67 1
d128 1
a128 1
#CONFIGURE_ARGS+= --enable-heap-replacement
d132 1
d139 3
a141 3
.for file in client squid
	if [ -f ${PREFIX}/sbin/${file} ] ; then \
		strip ${PREFIX}/sbin/${file} ; \
d144 3
a146 3
.for file in cachemgr.cgi dnsserver pinger unlinkd
	if [ -f ${PREFIX}/libexec/${file} ] ; then \
		strip ${PREFIX}/libexec/${file} ; \
@


1.99
log
@Add vendor patches:
 - fixes for some security issues
 - fixes for Samba 2.2.6 or later
 - fixes for OpenSSL 0.9.7 or later
 - performance fixes
 - reliability fixes
 - stability fixes
 - documentation fixes
 - fixes/improvements for OpenLDAP 2.1.x or later
 - ...

Have a look at http://www.squid-cache.org/Versions/v2/2.5/bugs/ for a
more detailed description.

Maintainer timeout after:	~3 months
Submitted by:	marius@@alchemy.franken.de
Approved by:	kris
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 1
a19 1
DISTNAME=	squid-2.5.STABLE1
a22 68
PATCHFILES=	squid-2.5.STABLE1-disable-ident-lookups.patch \
		squid-2.5.STABLE1-disable-http-violations.patch \
		squid-2.5.STABLE1-proxy_auth.patch \
		squid-2.5.STABLE1-max_user_ip.patch \
		squid-2.5.STABLE1-cache_dir_docs.patch \
		squid-2.5.STABLE1-load_icons.patch \
		squid-2.5.STABLE1-referer_log.patch \
		squid-2.5.STABLE1-ldap_auth.patch \
		squid-2.5.STABLE1-addlang.patch \
		squid-2.5.STABLE1-pthreads.patch \
		squid-2.5.STABLE1-strwordtok.patch \
		squid-2.5.STABLE1-wccp.patch \
		squid-2.5.STABLE1-memstat.patch \
		squid-2.5.STABLE1-aufs.patch \
		squid-2.5.STABLE1-acl_leak.patch \
		squid-2.5.STABLE1-ext_acl_comma.patch \
		squid-2.5.STABLE1-request_entity.patch \
		squid-2.5.STABLE1-ext_acl_exit.patch \
		squid-2.5.STABLE1-uninstall.patch \
		squid-2.5.STABLE1-cachemgr.patch \
		squid-2.5.STABLE1-auth-proxy.patch \
		squid-2.5.STABLE1-dnsserver.patch \
		squid-2.5.STABLE1-spaces.patch \
		squid-2.5.STABLE1-flags_open.patch \
		squid-2.5.STABLE1-ldap_group-compile.patch \
		squid-2.5.STABLE1-aufs_performance.patch \
		squid-2.5.STABLE1-RunCache.patch \
		squid-2.5.STABLE1-rebuild_assert.patch \
		squid-2.5.STABLE1-offline_mode.patch \
		squid-2.5.STABLE1-S.patch \
		squid-2.5.STABLE1-chroot.patch \
		squid-2.5.STABLE1-aufs_reentrant.patch\
		squid-2.5.STABLE1-relnote11.patch \
		squid-2.5.STABLE1-ldap_group.patch \
		squid-2.5.STABLE1-offline_toggle.patch \
		squid-2.5.STABLE1-failure_ratio.patch \
		squid-2.5.STABLE1-hostnames.patch \
		squid-2.5.STABLE1-sbrk.patch \
		squid-2.5.STABLE1-log_mime_hdrs.patch \
		squid-2.5.STABLE1-peer_select_alg.patch \
		squid-2.5.STABLE1-mempoolstat.patch \
		squid-2.5.STABLE1-copy_offset.patch \
		squid-2.5.STABLE1-select_fds_hist.patch \
		squid-2.5.STABLE1-select_stat.patch \
		squid-2.5.STABLE1-pidfile.patch \
		squid-2.5.STABLE1-http_reply_max_size.patch \
		squid-2.5.STABLE1-cachemgr_non_get.patch \
		squid-2.5.STABLE1-authsheme_realloc.patch \
		squid-2.5.STABLE1-ftp_abort.patch \
		squid-2.5.STABLE1-helper_stats.patch \
		squid-2.5.STABLE1-delay_pools_docs.patch \
		squid-2.5.STABLE1-auth_connection.patch \
		squid-2.5.STABLE1-authenticate_program_docs.patch \
		squid-2.5.STABLE1-with_aufs_threads_trap.patch \
		squid-2.5.STABLE1-shutdown_assert.patch \
		squid-2.5.STABLE1-cachemgr_passwd.patch \
		squid-2.5.STABLE1-etc_hosts_fdleak.patch \
		squid-2.5.STABLE1-openssl097.patch \
		squid-2.5.STABLE1-HEAD_bad_headers.patch \
		squid-2.5.STABLE1-time_acl_list.patch \
		squid-2.5.STABLE1-CONNECT_pipeline.patch \
		squid-2.5.STABLE1-winbind.patch \
		squid-2.5.STABLE1-mib.patch \
		squid-2.5.STABLE1-error-http-ident.patch \
		squid-2.5.STABLE1-distclean_icons.patch \
		squid-2.5.STABLE1-external_acl_auth_segfault.patch \
		squid-2.5.STABLE1-auth_digest.patch \
		squid-2.5.STABLE1-external_acl_user.patch
@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 68
a90 1
PATCHFILES=
d96 1
a96 1
PATCH_DIST_STRIP= -p0
d174 1
a174 1
post-extract:
@


1.97
log
@Grab the patch against squid24 from a PR..

PR:		42747
@
text
@d26 1
@


1.96
log
@Document the configure argument for reverse SSL proxies.
@
text
@d124 8
a131 4
	${MKDIR} ${PREFIX}/squid/logs
	${CHOWN} nobody:nogroup ${PREFIX}/squid/logs
	${MKDIR} ${PREFIX}/squid/cache
	${CHOWN} nobody:nogroup ${PREFIX}/squid/cache
@


1.95
log
@Removed double USE_PERL5

Submitted by:	marius@@alchemy.franken.de
@
text
@d72 2
@


1.94
log
@Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.

Noticed on bento and others (full mailbox :-)
@
text
@a28 1
USE_PERL5=	yes
@


1.93
log
@PERL -> REINPLACE
Noticed by: bento
@
text
@d29 1
d31 1
@


1.92
log
@Update the port to squid-2.5.stable1.

Notable features:

* I'm building _all_ of the error page languages now
* I'm building a handful of the helper modules (the ones that don't
  require ldap or samba to be installed)
* underscores in hostnames are enabled - every few weeks we squid people
  get emails asking why someone can't get to some_user.geocities.com .
  Bad geocities. :)
@
text
@d23 1
a23 1
PATCHFILES=	
d30 1
d104 1
a104 1
	@@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@


1.91
log
@- Use MASTER_SITE_SUBDIR.
- Add MASTER_SITE_RINGSERVER to MASTER_SITES.
@
text
@d9 2
a10 2
PORTVERSION=	2.4
PORTREVISION=	10
d19 2
a20 2
DISTNAME=	squid-2.4.STABLE7
EXTRACT_SUFX=	-src.tar.gz
d22 1
a22 1
PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.4/bugs/
d27 1
a27 1
DIST_SUBDIR=	squid2.4
d32 1
d36 3
d41 1
a41 1
MAKEFILE=	makefile
@


1.90
log
@Update squid port to squid-2.4stable7.
This fixes a few security bugs so users should upgrade.
(Thanks for the reminder! :)

PR:		40175
@
text
@d13 6
a18 4
	ftp://ftp.squid-cache.org/pub/squid-2/STABLE/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-2/STABLE/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-2/STABLE/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-2/STABLE/
@


1.89
log
@Update the squid24 port to Squid-2.4.STABLE6.

STABLE5 was a buggy release, so we're skipping that one.
@
text
@d10 1
a10 1
PORTREVISION=	9
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE6
@


1.88
log
@Fix a typo, spotted by des.
@
text
@d10 1
a10 1
PORTREVISION=	8
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE4
@


1.87
log
@Update the port to squid-2.4stable4 .
@
text
@d55 1
a55 1
#CONFIGURE+ARGS+= --enable-mem-gen-trace
@


1.86
log
@Update the port to squid-2.4STABLE3.

From the ChangeLog:

Changes to Squid-2.4.STABLE3 (Nov 28, 2001):

        - Fixed bug #255: core dump on SSL/CONNECT if access denied by
          miss_access
        - Fixed bug #246: corrupt on-disk meta information preventing
          rebuilds of lost swap.state files
        - Fixed bug #243: squid_ldap_auth now supports spaces in passwords
        - Fixed a coredump when creating FTP directories
        - Fixed a compile time problem with statHistDump prototype
	  mistmatch, reported by some compilers
        - Fixed a potential coredump situation on snmpwalk in certain
          configurations
        - Fixed bug #229: filedescriptor leakage in the "aufs" cache_dir
          store implementation
        - Serbian error message translations
@
text
@d10 1
a10 1
PORTREVISION=	7
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE3
@


1.85
log
@Remove the RunCache stuff and let squid handle its own child maintainence.
This now means that 'stop' as an argument works correctly, and doesn't
end up having squid restarted.

I've added some sleep code to wait for squid to complete its shutdown,
but I have commented it out for the time being as I don't know whether
its good practice to have your machine sleep during shutdown.
I'll research it some more. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.84 2001/08/28 16:48:35 adrian Exp $
d10 1
a10 1
PORTREVISION=	6
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE2
@


1.84
log
@* Update the port to use the newly-release squid-2.4STABLE2
* Fix the Makefile to actually chown our log/cache dirs to nobody
  when they're created
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.83 2001/06/17 22:24:02 adrian Exp $
d10 1
a10 1
PORTREVISION=	5
@


1.83
log
@Make sure we don't delete mime.conf and squid.conf at package
uninstallation time if they've been modified.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.82 2001/04/10 14:41:19 adrian Exp $
d10 1
a10 1
PORTREVISION=	4
d17 1
a17 1
DISTNAME=	squid-2.4.STABLE1
d21 1
a21 6
PATCHFILES=	squid-2.4.stable1-wrong_sign_on_timestamp_check.patch \
		squid-2.4.stable1-high_cpu_with_peers.patch \
		squid-2.4.stable1-force_valid_blksize.patch \
		squid-2.4.stable1-kill_parent_on_child_sigkill.patch \
		squid-2.4.stable1-htcp_assertion_fix.patch \
		squid-2.4.stable1-diskd_fixed_path.patch
d115 1
d117 1
@


1.82
log
@PR:	26339

Fix the diskd path issue. diskd should now be found by squid and work happy.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.81 2001/04/03 09:06:34 adrian Exp $
d10 1
a10 1
PORTREVISION=	3
@


1.81
log
@Add the latest patch - a HTCP (cache control protocol, not a HTTP extension)
fix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.80 2001/03/31 11:41:18 adrian Exp $
d10 1
a10 1
PORTREVISION=	2
d25 2
a26 1
		squid-2.4.stable1-htcp_assertion_fix.patch
@


1.80
log
@Add some PATCHFILES to this port, and bump its PORTREVISION.

I ran off and updated the patch files on the squid website for 2.4.stable1,
and then updated this port to use them.

Note that diskd is still broken here - I haven't actually
committed a fix to squid yet .. :-P
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.79 2001/03/29 16:35:01 sobomax Exp $
d10 1
a10 1
PORTREVISION=	1
d24 2
a25 1
		squid-2.4.stable1-kill_parent_on_child_sigkill.patch
@


1.79
log
@-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.78 2001/03/27 12:56:41 adrian Exp $
d10 1
d21 4
a24 1
PATCHFILES=
@


1.78
log
@ .. and update the Makefile to indicate that its my port, built by me. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.77 2001/03/27 12:28:47 adrian Exp $
d96 1
a96 1
	@@${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
@


1.77
log
@PR:		26059

Update the squid-2.4 port to actually _be_ squid-2.4 . Phew.
This port builds, installs, packages, pkg_delete's cleanly.

I'm going to run it through some more linting and tidying up before
I'm completely done with it.

Differences from squid22/squid23 :

* install-pinger isn't built. I'll tackle this later, possibly by creating
  a squid user/group. I don't like having suid binaries installed,
  even more so when 99% of the users of this port won't even enable
  ICMP pinging.

* I've enabled the lru and heap replacement policies. LRU is used by
  default, the beauty here is that the user can choose one or the other
  without needing a recompile.

* I've enabled ufs (sync), diskd (async) and null (no caching, only proxying).
  This again lets users choose what they want without needing a recompile.
  The default is still a 100mb cache in /usr/local/squid/cache/ running
  ufs. I would change it to diskd but if the user hasn't tweaked their
  sysV shm/msg parameters sufficiently they'll just be puzzled when squid
  gives mysterious sysV errors (and if they load it up enough to have UFS
  become an issue, they'd be better off reading the squid FAQ anyhow..)
@
text
@d1 3
a3 3
# New ports collection makefile for:	squid
# Date created:		Thu Nov  7 00:53:18 WST 1996
# Whom:			Peter Wemm <peter@@freebsd.org>
d5 1
a5 1
# $FreeBSD: ports/www/squid24/Makefile,v 1.76 2001/02/19 13:15:19 olgeni Exp $
@


1.76
log
@Fix typo: othervise -> otherwise.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.75 2001/02/05 15:33:48 olgeni Exp $
d9 1
a9 1
PORTVERSION=	2.3
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE4
d19 2
a20 8
PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.3/bugs/
PATCHFILES=	squid-2.3.stable4-ftp_icon_not_found.patch \
		squid-2.3.stable4-internal_dns_rcode_table_formatting.patch \
		squid-2.3.stable4-ipfw_configure.patch \
		squid-2.3.stable4-invalid_ip_acl_entry.patch \
		squid-2.3.stable4-accel_only_access.patch \
		squid-2.3.stable4-html_quoting.patch \
		squid-2.3.stable4-carp-assertion.patch
d24 1
a24 1
DIST_SUBDIR=	squid2.3
d29 4
a32 1
		--localstatedir=${PREFIX}/squid
a48 2
#  - Use ASYNC disk I/O (Requires real threads, apparently runs on 3.0 libc_r)
#CONFIGURE_ARGS+= --enable-async-io
d99 4
a102 1
	cd ${WRKSRC}/src; make install-pinger
@


1.75
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.74 2001/01/12 06:46:04 peter Exp $
d36 1
a36 1
STRIP=		# won't install scripts correctly othervise.
@


1.74
log
@Pass the maintainership bit to adrian (who happens to be a squid committer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.73 2001/01/05 10:49:01 peter Exp $
d9 1
a9 1
PORTVERSION= 	2.3
@


1.73
log
@Long overdue update. Add some vendor supplied patches.

Nagged by: many folks
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.72 2000/07/28 07:27:34 sobomax Exp $
d28 1
a28 1
MAINTAINER=	peter@@freebsd.org
@


1.72
log
@Update to the latest 2.3.STABLE4 version plus official patches.

PR:		20211
Submitted by:	Naoki IDO <ido@@hitachi-ms.co.jp>
Reviewed by:	adrian
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.71 2000/07/05 12:37:02 tg Exp $
d12 1
a12 1
	ftp://squid.nlanr.net/pub/squid-2/STABLE/ \
d21 6
a26 1
		squid-2.3.stable4-internal_dns_rcode_table_formatting.patch
@


1.71
log
@As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.70 2000/06/01 06:49:50 sobomax Exp $
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE3
d20 2
a21 1
PATCHFILES=	squid-2.3.stable3-storeExpiredReferenceAge.patch
a30 1
CONFIGURE_ENV=	CFLAGS=""
d94 3
@


1.70
log
@Add an official patch.

Synopsis:

"If you fill up your squid cache, CPU will go to 100% but the cache will not be
cleaned up."

PR:		18920
Submitted by:	Mike Harding <mvh@@ix.netcom.com>
Obtained from:	http://www.squid-cache.org/Versions/v2/2.3/bugs/
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.69 2000/05/29 23:48:03 steve Exp $
d111 1
a111 5
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "	(cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; ${ECHO} -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${ECHO} "fi" >> ${PREFIX}/etc/rc.d/squid.sh; \
		${CHMOD} 751 ${PREFIX}/etc/rc.d/squid.sh; \
@


1.69
log
@Correct a typo.

PR:		16476
Submitted by:	Christopher J. Michaels <cjm2@@altavista.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.68 2000/05/17 01:18:36 peter Exp $
d19 2
a20 2
#PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.3/bugs/
#PATCHFILES=	
@


1.68
log
@Update from squid 2.3-stable2 to 2.3-stable3.  Unfortunately the new
package version mechanism doesn't seem to have a place to show this new
release. :-(
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.67 2000/04/17 20:32:57 peter Exp $
d83 1
a83 1
# (--enable-leakfinfer is a developer support tool only)
@


1.67
log
@Update the squid23 port to fix a few loose ends:
- the distributed patches got regenerated to have the correct paths
- disable optimization because of gcc bugs (as recommended by squid folks)
- list a few new --enable/--disable options
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.66 2000/04/10 00:06:52 cpiazza Exp $
d16 1
a16 1
DISTNAME=	squid-2.3.STABLE2
d19 2
a20 11
PATCH_SITES=	http://www.squid-cache.org/Versions/v2/2.3/bugs/
PATCHFILES=	squid-2.3.stable2-EOF_in_cf.data.pre.patch \
		squid-2.3.stable2-USE_DNSSERVER.patch \
		squid-2.3.stable2-USE_DNSSERVER_part2.patch \
		squid-2.3.stable2-hostname_whitespace.patch \
		squid-2.3.stable2-netdb_exchange_loop.patch \
		squid-2.3.stable2-getMyHostname.patch \
		squid-2.3.stable2-redirected_username_logging.patch \
		squid-2.3.stable2-snmp-problems.patch \
		squid-2.3.stable2-getpwnam_return_value.patch \
		squid-2.3.stable2-mimeGetIconURL_returns_NULL.patch
@


1.66
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.65 2000/03/05 14:11:42 peter Exp $
d21 9
a29 1
		squid-2.3.stable2-USE_DNSSERVER.patch
d39 1
a42 6
.if defined(PATCH_DEBUG)
PATCH_DIST_ARGS?=       -d ${WRKSRC}/src -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS?=       -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
.endif

d66 2
d95 8
@


1.65
log
@Remove NO_LATEST_LINK - both squid ports had it, which obviously isn't
useful.
@
text
@a1 1
# Version required:	2.3.STABLE2
d5 1
a5 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.64 2000/03/05 14:08:48 peter Exp $
d8 2
a9 2
DISTNAME=	squid-2.3.STABLE2
PKGNAME=	squid-2.3
d16 1
d71 1
a71 1
#  - Enable ACL based on ethernet address (eg: for machines with dynamic DHCP 
@


1.64
log
@Update to squid 2.3-stable2.  This has matured enough that it should
probably be used instead of -stable1 now.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.63 2000/01/29 20:13:16 peter Exp $
a32 1
NO_LATEST_LINK=	yes
@


1.63
log
@Update squid2.2-STABLE5 -> squid2.3-STABLE1 after a repo copy from
ports/www/squid22.
@
text
@d2 1
a2 1
# Version required:	2.3.STABLE1
d6 1
a6 1
# $FreeBSD: ports/www/squid23/Makefile,v 1.62 1999/11/11 02:40:18 peter Exp $
d9 1
a9 1
DISTNAME=	squid-2.3.STABLE1
d19 4
d34 6
@


1.62
log
@Update from squid-2.2.STABLE4 -> squid-2.2.STABLE5
@
text
@d2 1
a2 1
# Version required:	2.2.STABLE5
d6 1
a6 1
# $FreeBSD: ports/www/squid22/Makefile,v 1.61 1999/08/31 02:43:16 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.2.STABLE5
PKGNAME=	squid-2.2
d21 1
a21 1
DIST_SUBDIR=	squid2.2
@


1.61
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# Version required:	2.2.STABLE3
d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=	squid-2.2.STABLE4
@


1.60
log
@echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.59 1999/08/22 19:00:55 mharo Exp $
@


1.59
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.58 1999/08/08 13:53:34 peter Exp $
d97 5
a101 5
		echo "Installing ${PREFIX}/etc/rc.d/squid.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/squid.sh; \
		echo "if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "	(cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "fi" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.58
log
@Update from 2.2-STABLE3 -> 2.2-STABLE4
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.57 1999/06/05 19:58:02 mharo Exp $
d102 1
a102 1
		chmod 751 ${PREFIX}/etc/rc.d/squid.sh; \
@


1.57
log
@s,/usr/local,${PREFIX},g
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.56 1999/05/23 21:15:07 peter Exp $
d9 1
a9 1
DISTNAME=	squid-2.2.STABLE3
@


1.56
log
@Update from squid 2.1 -> 2.2 after repository copy.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.55 1999/04/18 06:46:51 max Exp $
d99 2
a100 2
		echo "if [ -x /usr/local/sbin/RunCache -a -f /usr/local/etc/squid/squid.conf ]; then" >> ${PREFIX}/etc/rc.d/squid.sh; \
		echo "	(cd /tmp; /usr/local/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.55
log
@Update the MASTER_SITES.
@
text
@d2 1
a2 1
# Version required:	2.1.PATCH2
d6 1
a6 1
# $Id: Makefile,v 1.54 1998/12/26 15:55:47 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.1.PATCH2
PKGNAME=	squid-2.1
a18 3
PATCH_SITES=	http://squid.nlanr.net/Squid/v2/2.1/
PATCHFILES=	squid-2.1.PATCH2-clientHandleIMSReply-leak.patch

d21 1
a21 1
DIST_SUBDIR=	squid2.1
d78 3
@


1.54
log
@Update from squid 2.0 -> squid 2.1 (after repository copy)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.53 1998/10/19 12:12:45 peter Exp $
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-2/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-2/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-2/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-2/
@


1.53
log
@Add patches to bring up to 2.0 patchlevel 2
@
text
@d2 1
a2 1
# Version required:	2.0.RELEASE
d6 1
a6 1
# $Id: Makefile,v 1.52 1998/10/06 00:19:50 peter Exp $
d9 2
a10 2
DISTNAME=	squid-2.0.RELEASE
PKGNAME=	squid-2.0
d19 2
a20 3
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	diff-2.0.RELEASE-2.0.PATCH1.gz \
		diff-2.0.PATCH1-2.0.PATCH2.gz
d24 2
a25 2
DIST_SUBDIR=	squid2.0
PATCH_DIST_STRIP= -p1
d47 1
a47 1
#  - Use ASYNC disk I/O (Requires real pthreads)
a105 3

# Put on peril sensitive sunglasses in case of stupid GNU make v2.5!
PATCH:=         env POSIXLY_CORRECT=yes ${PATCH}
@


1.52
log
@Update from squid-1.2beta22 -> 2.0.RELEASE after a repository copy.
Squid 2.0 is the-version-formerly-known-as-1.2.
v2.0 has NOVM-like functionality internally, so there's no seperate
NOVM version.  v1.1.* is no longer officially supported.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.51 1998/06/09 15:08:06 peter Exp $
d19 3
a21 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta21-1.patches
d26 1
@


1.51
log
@Update from squid 1.2b20 -> 1.2b22
@
text
@d2 1
a2 1
# Version required:	1.2-beta22
d6 1
a6 1
# $Id: Makefile,v 1.50 1998/04/26 07:57:20 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta22
PKGNAME=	squid-1.2b22
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-1.2.beta/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.2.beta/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.2.beta/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.2.beta/
d24 1
a24 1
DIST_SUBDIR=	squid1.2b22
a37 2
#  - Use tree function to store ACL lists
#CONFIGURE_ARGS+= --enable-splaytree
d44 2
d50 2
a51 2
#  - Enable delay hack to limit bandwidth usage
#CONFIGURE_ARGS+= --enable-delay-hack
d57 1
a57 1
#CONFIGURE_ARGS+= --enable-kill-parent
d67 13
@


1.50
log
@Update from 1.2.beta19 -> 1.2.beta20 (+patch 1)
@
text
@d2 1
a2 1
# Version required:	1.2-beta20
d6 1
a6 1
# $Id: Makefile,v 1.49 1998/04/10 05:11:37 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta20
PKGNAME=	squid-1.2b20
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta20-1.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b20
@


1.49
log
@Update squid-1.2b18 -> 1.2.b19 (with dist patch)
Read ChangeLog for the large list of bugfixes/changes/new features.
@
text
@d2 1
a2 1
# Version required:	1.2-beta19
d6 1
a6 1
# $Id: Makefile,v 1.48 1998/03/26 13:29:12 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta19
PKGNAME=	squid-1.2b19
d20 1
a20 1
PATCHFILES+=    1.2.beta19.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b19
@


1.48
log
@Update squid-1.2beta17 -> 1.2beta18
@
text
@d2 1
a2 1
# Version required:	1.2-beta18
d6 1
a6 1
# $Id: Makefile,v 1.47 1998/03/20 14:00:51 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta18
PKGNAME=	squid-1.2b18
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta18.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b18
d39 1
a39 2
#CONFIGURE_ARGS+= --enable-acltree=bin
#CONFIGURE_ARGS+= --enable-acltree=splay
d46 1
a46 1
#  - Use ASYNC disk I/O (Requires real pthreads, libc_r probably doesn't work)
@


1.47
log
@Update squid 1.2.beta16 -> 1.2.beta17
@
text
@d2 1
a2 1
# Version required:	1.2-beta17
d6 1
a6 1
# $Id: Makefile,v 1.46 1998/03/09 03:35:09 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta17
PKGNAME=	squid-1.2b17
d20 1
a20 1
#PATCHFILES+=    1.2.beta17.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b17
d53 2
@


1.46
log
@Include the regularly-scheduled post-beta-release patch.
@
text
@d2 1
a2 1
# Version required:	1.2-beta16
d6 1
a6 1
# $Id: Makefile,v 1.45 1998/03/05 06:43:03 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta16
PKGNAME=	squid-1.2b16
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta16.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.2b16
@


1.45
log
@Update squid1.2.beta14 -> beta16.

Note: the b14 -> b15 change will loose your cache unless you take
the steps on http://squid.nlanr.net/ to recover it.

Read the Changelog for details, this is a fairly large update.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.44 1998/02/16 13:16:37 asami Exp $
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta16.patches
@


1.44
log
@Define NO_LATEST_LINK for net/ncftp3 and www/squid12 because these are
unstable betas with better versions in the tree.  (There are probably more
but these were the only ones I could pull off the top of my head.)
@
text
@d2 1
a2 1
# Version required:	1.2-beta14
d6 1
a6 1
# $Id: Makefile,v 1.43 1998/02/14 14:36:12 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta14
PKGNAME=	squid-1.2b14
d19 2
a20 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta14.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b14
@


1.43
log
@Argh.. yet another botch..  Sigh.. :-/

Pointed out by:	 Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.42 1998/02/14 03:12:37 peter Exp $
d31 1
@


1.42
log
@Include 1.2.beta14 patches

Submitted by:	Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.41 1998/02/09 01:35:20 peter Exp $
d74 2
a75 2
	if [ -f ${PREFIX}/sbin/${file} ] ; then \
		strip ${PREFIX}/sbin/${file} ; \
@


1.41
log
@I forgot to strip the binaries in the new locations, I missed this
change in the Makefile Evan sent me.

Submitted by:	Evan Champion <evanc@@piano.synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.40 1998/02/08 03:39:05 peter Exp $
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
#PATCHFILES+=    1.2.beta14.patches
@


1.40
log
@Evan sent me a port update moments after I committed one.  Pick out some
of the changes he's made..  (Although I'm not so sure about moving the
cache to /var/spool/squid...)

Reviewed by:	Evan Champion <evanc@@synapse.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.39 1998/02/08 03:04:58 peter Exp $
d68 6
a73 1
.for file in cachemgr.cgi client dnsserver pinger squid
@


1.39
log
@Update from 1.2.beta11 -> 1.2beta14
Major changes:
  - the URL and SHA cache key methods are gone, MD5 is the only option.
  - the swap.state system has been redesigned as a transaction log for
    much faster restarts and crash recovery.
  - SIZE on ftp binary transfers.
  - Lots of bug fixes and code cleanups.

From the web page; http://squid.nlanr.net/Squid/1.2.beta/

WARNING, with beta12 we are starting to stuff object metadata into
the beginning of objects on disk.  With beta13 we have changed the
"swap.state" file format to binary instead of text. When you run this
version for the first time you WILL LOSE YOUR CACHE!

The previous warning still stands:
This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.38 1998/01/21 03:06:06 peter Exp $
d27 2
a28 2
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/squid --bindir=${PREFIX}/sbin \
		--libexecdir=${PREFIX}/sbin --localstatedir=${PREFIX}/squid
a32 2
#  - Use ASYNC disk I/O (Requires real pthreads, libc_r probably doesn't work)
#CONFIGURE_ARGS+= --enable-async-io
d35 2
d40 8
a64 6
#  - Enable simple malloc debugging
#CONFIGURE_ARGS+= --enable-xmalloc-debug
#  - Detailed trace of memory allocations
#CONFIGURE_ARGS+= --enable-xmalloc-debug-count
#  - Show malloc statistics in cachemgr status pages
#CONFIGURE_ARGS+= --enable-xmalloc-statistics
@


1.38
log
@Update this for the benefit of the new broken patch.  Tell it to look at
Index: like posix says, rather than going into dummy mode.  The distributed
patches are generated with standard cvs and don't have ache's hack (which
doesn't work when new files are added anyway).
@
text
@d2 1
a2 1
# Version required:	1.2-beta11
d6 1
a6 1
# $Id: Makefile,v 1.37 1998/01/10 14:38:23 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta11
PKGNAME=	squid-1.2b11
d19 2
a20 5
# Note, these are generated with CVS and the new patch does not correctly
# apply them, so we have to force the new patch into better POSIX compliant
# mode. See end of Makefile.  See also post-extract.
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.2.beta/
PATCHFILES+=    1.2.beta11.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b11
a32 3
# - Use hash function as store index, instead of URL (trades CPU for memory)
#CONFIGURE_ARGS+= --enable-new-storekey=sha
#CONFIGURE_ARGS+= --enable-new-storekey=md5
a63 4
# For the benefit of the new broken patch.
post-extract:
	touch ${WRKSRC}/lib/malloc-2.6.4.c

d84 1
a84 1
# Stupid GNU Make 2.5!!!
@


1.37
log
@Update squid-1.2.beta10+dist_patches -> squid-1.2.beta11+dist_patches
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.36 1998/01/04 09:30:18 peter Exp $
d19 3
d70 3
d93 3
@


1.36
log
@Update 1.2b8 -> 1.2b10 (plus dist patch)
@
text
@d2 1
a2 1
# Version required:	1.2-beta10
d6 1
a6 1
# $Id: Makefile,v 1.35 1997/12/06 12:27:32 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta10
PKGNAME=	squid-1.2b10
d20 1
a20 1
PATCHFILES+=    1.2.beta10.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b10
a31 7
# To turn on SNMP, uncomment these three.  I'm not sure how this works,
# I think you need some sort of snmp multiplexor if you run another snmp
# server as well.
#MAKE_ENV+=	SQUID_SNMP="-DSQUID_SNMP=1"
#MAKE_ENV+=	SQUID_MIB="mib.txt"
#MAKE_ENV+=	SQUID_SNMP_LIBS="-L../snmplib -lsnmp"

d34 3
a36 3
#CONFIGURE_ARGS+= --enable-hashkey=sha
#CONFIGURE_ARGS+= --enable-hashkey=md5
#  - Use ASYNC disk I/O (Requires pthreads, probably doesn't work yet)
d38 28
a66 10
# There are several other configurable options in ${WRKSRC}/src/options.h[.in]
# CACHEMGR_HOSTNAME	- alternate method for cachemgr.cgi to get hostname
# USE_ICMP 1		- enable ICMP pings (using pinger) for selecting hosts.
# DELAY_HACK 1		- see code.
# USE_USERAGENT_LOG 1	- log user agents
# KILL_PARENT_OPT 1	- kill parent (such as runcache) on SIGTERM etc.
# USE_SPLAY_TREE 1	- use splay or binary trees for storing and searching
# USE_BIN_TREE 1	  the in-memory cache contents table.
# ALARM_UPDATES_TIME 1	- optimize gettimeofday calls (default on)
# USE_ARP_ACL 1		- enable ethernet hardware address ACL's
@


1.35
log
@Initial squid 1.2beta8 port.  As the squid www page says:
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"

"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.

Here is a brief list of the major features of this version:
   HTTP/1.1 persisitent connections.
   Lower VM usage; in-transit objects are not held fully in memory.
   Totally independent swap directories.
   Customizable error texts.
   FTP supported internally; no more ftpget.
   Asynchronous disk operations (optional, requires pthreads library).
   Internal icons for FTP and gopher directories.
   snprintf() used everywhere instead of sprintf().
   ...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.

Please see  http://squid.nlanr.net/Squid/1.2.beta/  before using.
@
text
@d2 1
a2 1
# Version required:	1.2-beta8
d6 1
a6 1
# $Id: Makefile,v 1.34 1997/11/01 11:10:35 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.2.beta8
PKGNAME=	squid-1.2b8
d20 1
a20 1
PATCHFILES+=    1.2.beta8.patches
d24 1
a24 1
DIST_SUBDIR=	squid1.2b8
a31 15
# If you need to set any of these options, read the source and uncomment
# these if appropriate.
#MAKE_ENV+=	HOST_OPT="-DCACHEMGR_HOSTNAME=\"getfullhostname()\""
#MAKE_ENV+=	ICMP_OPT="-DUSE_ICMP=1"
#MAKE_ENV+=	DELAY_HACK="-DDELAY_HACK=1"
#MAKE_ENV+=	USERAGENT_OPT="-DUSE_USERAGENT_LOG=1"
#MAKE_ENV+=	KILL_PARENT_OPT="-DKILL_PARENT_OPT"
# do NOT define both USE_SPLAY_TREE and USE_BIN_TREE at the same time!
#MAKE_ENV+=	USE_SPLAY_TREE="-DUSE_SPLAY_TREE"
#MAKE_ENV+=	USE_BIN_TREE="-DUSE_BIN_TREE"
#MAKE_ENV+=	ALARM_UPDATES_TIME="-DALARM_UPDATES_TIME=1"
#MAKE_ENV+=	STORE_KEY_SHA="-DSTORE_KEY_SHA=1"
#MAKE_ENV+=	STORE_KEY_MD5="-DSTORE_KEY_MD5=1"
#MAKE_ENV+=	USE_ASYNC_IO="-DUSE_ASYNC_IO=1"

d39 17
@


1.34
log
@Update squid 1.1.17 -> 1.1.18
@
text
@d2 1
a2 1
# Version required:	1.1.18
d6 1
a6 1
# $Id: Makefile,v 1.33 1997/10/25 02:51:12 peter Exp $
d9 2
a10 1
DISTNAME=	squid-1.1.18
d13 4
a16 4
	ftp://squid.nlanr.net/pub/squid-1.1/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.1/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.1/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.1/
d19 2
a20 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.11/
#PATCHFILES+=    config.h.in.patch long-dns-coredump.patch
d24 1
a24 1
DIST_SUBDIR=	squid1.1.18
a34 2
#MAKE_ENV+=	AUTH_OPT="-DUSE_PROXY_AUTH=1"
#MAKE_ENV+=	LOG_HDRS_OPT="-DLOG_FULL_HEADERS=1"
a38 1
#MAKE_ENV+=	USE_POLL_OPT="-DUSE_POLL"
d42 12
a53 2
#MAKE_ENV+=	RELOAD_INTO_IMS="-DRELOAD_INTO_IMS"
#MAKE_ENV+=	UNDERSCORES_OPT="-DALLOW_HOSTNAME_UNDERSCORES"
d57 1
a57 1
.for file in cachemgr.cgi client dnsserver ftpget pinger squid
@


1.33
log
@Update 1.1.16 -> 1.1.17
@
text
@d2 1
a2 1
# Version required:	1.1.17
d6 1
a6 1
# $Id: Makefile,v 1.32 1997/09/07 13:08:51 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.17
d23 1
a23 1
DIST_SUBDIR=	squid1.1.17
d45 1
@


1.32
log
@Update 1.1.15 -> 1.1.16.  Minor fixes - the ChangeLog has the details.
@
text
@d2 1
a2 1
# Version required:	1.1.16
d6 1
a6 1
# $Id: Makefile,v 1.31 1997/08/13 02:59:41 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.16
d23 1
a23 1
DIST_SUBDIR=	squid1.1.16
@


1.31
log
@Update to squid 1.1.15,  Among the changes is the fix for fetch's very slow
tranfsers due to it's T/TCP-style send-request-and-half-shutdown query.
@
text
@d2 1
a2 1
# Version required:	1.1.15
d6 1
a6 1
# $Id: Makefile,v 1.30 1997/07/18 05:06:49 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.15
d23 1
a23 1
DIST_SUBDIR=	squid1.1.15
@


1.30
log
@Update squid-1.1.11 -> 1.1.14.  See ChangeLog for details, there are some
important fixes, but note that 1.1.12 and 1.1.13 were withdrawn due to
stability problems.
@
text
@d2 1
a2 1
# Version required:	1.1.14
d6 1
a6 1
# $Id: Makefile,v 1.29 1997/07/01 21:05:22 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.14
d23 1
a23 1
DIST_SUBDIR=	squid1.1.14
d44 1
@


1.29
log
@Update squid-1.1.10 to squid-1.1.11
@
text
@d2 1
a2 1
# Version required:	1.1.11
d6 1
a6 1
# $Id: Makefile,v 1.28 1997/05/17 19:54:45 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.11
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.11/
PATCHFILES+=    config.h.in.patch long-dns-coredump.patch
d23 1
a23 1
DIST_SUBDIR=	squid1111
@


1.28
log
@Oops, editor glitch..  (and my xterm scrollback proves it.. :-)
@
text
@d2 1
a2 1
# Version required:	1.1.10
d6 1
a6 1
# $Id: Makefile,v 1.27 1997/05/17 19:45:27 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.10
d18 2
a19 2
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.10/
#PATCHFILES+=    fixes.patch
d23 1
a23 1
DIST_SUBDIR=	squid1110
@


1.27
log
@Update 1.1.9 -> 1.1.10.  See ChangeLog for details.
@
text
@d2 1
a2 1
# Version required:	1.1.910
d6 1
a6 1
# $Id: Makefile,v 1.26 1997/03/31 11:14:41 peter Exp $
@


1.26
log
@Update 1.1.8+patches -> 1.1.9.

See ChangeLog for the (large) list of changes.
@
text
@d2 1
a2 1
# Version required:	1.1.9
d6 1
a6 1
# $Id: Makefile,v 1.25 1997/03/23 15:43:41 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.9
d18 1
a18 1
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.9/
d23 1
a23 1
DIST_SUBDIR=	squid119
@


1.25
log
@Use official patches from dist site.  Included is a possible fix to the
slowdown problem.

Note, I've changed the DIST_SUBDIR.. all the patches files seem to be
called "fixes.patch" and were colliding with each other.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.8
d6 1
a6 1
# $Id: Makefile,v 1.24 1997/03/04 12:03:23 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.8
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.8/
PATCHFILES+=    fixes.patch
d23 1
a23 1
DIST_SUBDIR=	squid118
d46 1
d48 3
a50 1
	strip ${PREFIX}/sbin/${file}
@


1.24
log
@Update from 1.1.7+patches to 1.1.8.  This fixes a number of unresolved
problems, including a patching braino on my part...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.23 1997/03/02 02:50:41 peter Exp $
d18 3
d23 1
a23 1
DIST_SUBDIR=	squid
@


1.23
log
@Update 1.1.6 -> 1.1.7 + vendor patches.

Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version.  It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
@
text
@d2 1
a2 1
# Version required:	1.1.7
d6 1
a6 1
# $Id: Makefile,v 1.22 1997/02/20 17:17:32 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.7
a16 5

#Sigh. cannot use this since the author botched it so badly. :-(
#see patches/patch-ab
#PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.7/
#PATCHFILES+=    fixes.patch
@


1.22
log
@Include patch distributed on the web page to tie up some problems:
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.6
d6 1
a6 1
# $Id: Makefile,v 1.21 1997/02/08 16:19:15 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.6
d18 4
a21 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.6/
PATCHFILES+=    fixes.patch
d43 3
a45 1
#MAKE_ENV+=	ANON_OPT="-DUSE_ANONYMIZER"
@


1.21
log
@Update 1.1.5+patches -> 1.1.6

Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details.  Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default.  This may require changes to the port to create a
user or something.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.20 1997/01/29 07:53:58 peter Exp $
d17 3
@


1.20
log
@Update 1.1.4+vendor patches to 1.1.5+vendor patches
@
text
@d2 1
a2 1
# Version required:	1.1.5
d6 1
a6 1
# $Id: Makefile,v 1.19 1997/01/24 10:30:38 asami Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.5
a16 3

PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.5/
PATCHFILES+=    acl.c.patch main.c.patch redirect.c.patch
@


1.19
log
@Put DIST_SUBDIR in right place.
@
text
@d2 1
a2 1
# Version required:	1.1.4
d6 1
a6 1
# $Id: Makefile,v 1.18 1997/01/19 03:24:12 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.4
d18 2
a19 2
PATCH_SITES+=   http://squid.nlanr.net/Squid/1.1/1.1.4/
PATCHFILES+=    ftpget.c.patch icp.c.patch ipcache.c.patch neighbors.c.patch
@


1.18
log
@Update 1.1.3 -> 1.1.4 + distributed patches

Among the changes are some patches submitted to the maintainers by
yours truly to improve the password support in cachemgr.cgi.  It also
reports the resource "maxrss" correctly for what it is.

The distributed patches to 1.1.4:
    * ftpget.c.patch: Changes the default MIME type to
      "application/octet-stream" and fixes directory listings from
      NetWare servers.
    * icp.c.patch: Fixes "Unknown status reply from server: 0!" error
      messages in Netscape.
    * ipcache.c.patch: Fixes ipcache_dnsHandleRead() coredumps.
    * neighbors.c.patch: Fixes BIT_SET/BIT_TEST typo in
      getDefaultParent().

Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.17 1997/01/07 18:49:06 peter Exp $
a20 2
DIST_SUBDIR=	squid

d23 1
@


1.17
log
@Update 1.1.2 -> 1.1.3
@
text
@d2 1
a2 1
# Version required:	1.1.3
d6 1
a6 1
# $Id: Makefile,v 1.16 1996/12/26 22:00:45 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.3
d18 5
d31 12
@


1.16
log
@Update 1.1.1 -> 1.1.2
The usual bug fixes, including one that prevented ftp objects being
cached (they immediately timed out).....
@
text
@d2 1
a2 1
# Version required:	1.1.2
d6 1
a6 1
# $Id: Makefile,v 1.15 1996/12/16 06:42:14 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.2
d31 2
a32 2
	${MKDIR} -p ${PREFIX}/squid/logs
	${MKDIR} -p ${PREFIX}/squid/cache
@


1.15
log
@Update 1.1.0 -> 1.1.1 ; from the Changelog:
- Fixed announcement bug.  Announcements were always off unless
  a file was specified.
- Fixed wrong number of args to examine_select() debug.
- Fixed null-string content-type
- Don't cache replies with 'Set-Cookie:' headers.
- Fixed bug when client issues IMS, Squid has stale object and
  Squid's lastmod time is greater than the client IMS time.
  A 304 reply would be appropriate for Squid, but not the client
  (diagnosed by Mark Treacy).
- Fixed httpBuildRequestHeader() content length bug which breaks for
  really large POST requests (Takahiro Yugawa).
- Fixed 'passthrough_proxy' to pick up port number from list of
  neighbors.
- Ensure pid file is world-readable if umask is set otherwise
  (Doug Urner).
- Collect statistics on a few more HTTP headers.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.1
d6 1
a6 1
# $Id: Makefile,v 1.14 1996/12/07 06:25:26 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.1
@


1.14
log
@Update 1.1.beta28 -> 1.1.0
@
text
@d2 1
a2 1
# Version required:	1.1.0
d6 1
a6 1
# $Id: Makefile,v 1.13 1996/12/06 11:17:57 peter Exp $
d9 1
a9 1
DISTNAME=	squid-1.1.0
@


1.13
log
@Update 1.1.beta27 to 1.1.beta28.

This fixes some small bugs, including a CR/LF problem and (I think) two
problems with aborting.  The author has hinted that this might be the last
beta before 1.1.0.
@
text
@d2 1
a2 1
# Version required:	1.1.beta28
d6 1
a6 1
# $Id: Makefile,v 1.12 1996/12/05 08:42:50 peter Exp $
d9 1
a9 2
DISTNAME=	squid-1.1.beta28
PKGNAME=	squid-1.1b28
d12 4
a15 4
	ftp://squid.nlanr.net/pub/squid-1.1.beta/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.1.beta/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.1.beta/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.1.beta/
@


1.12
log
@Update 1.1beta26 -> 1.1beta27

Among the changes is a strcasecmp() fix to make POST operations work.
@
text
@d2 1
a2 1
# Version required:	1.1.beta27
d6 1
a6 1
# $Id: Makefile,v 1.11 1996/12/04 15:58:27 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta27
PKGNAME=	squid-1.1b27
@


1.11
log
@Update 1.1.beta25 -> 1.1.beta26

Among the changes:
 - remove patch-aa, it's now in the standard distribution
 - checks for libgnumalloc for <= FreeBSD-2.1.x systems to avoid the
   nasty libc malloc problems.
 - more useful data in the logs
 - support for poll() syscall with unlimited number of file descriptors
   if present instead of select()'s restrictions.
   (Standard FreeBSD doesn't yet have poll()..)
 - the usual bug fixes
@
text
@d2 1
a2 1
# Version required:	1.1.beta26
d6 1
a6 1
# $Id: Makefile,v 1.10 1996/12/02 09:52:27 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta26
PKGNAME=	squid-1.1b26
@


1.10
log
@Update 1.1.beta20 to 1.1.beta25

Lots of changes, see ChangeLog

Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta25
d6 1
a6 1
# $Id: Makefile,v 1.9 1996/11/22 14:06:11 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta25
PKGNAME=	squid-1.1b25
@


1.9
log
@Update 1.1beta19 to 1.1beta20 - more bug fixes.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta20
d6 1
a6 1
# $Id: Makefile,v 1.8 1996/11/18 11:41:50 asami Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta20
PKGNAME=	squid-1.1b20
@


1.8
log
@Use MAN? macros.  CATEGORIES+= -> CATEGORIES.
@
text
@d2 1
a2 1
# Version required:	1.1.beta19
d6 1
a6 1
# $Id: Makefile,v 1.7 1996/11/15 12:41:53 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta19
PKGNAME=	squid-1.1b19
@


1.7
log
@Update 1.1.beta16 -> 1.1.beta19

Mostly bug fixes.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1996/11/12 08:38:31 peter Exp $
d11 1
a11 1
CATEGORIES+=	www
@


1.6
log
@Update 1.1.beta13 -> 1.1.beta16

Included in this update:
 - large objects fix, apparently large objects could get stuck (eg:
   netscape, msie downloads etc)
 - configurable 1st and 2nd level directory hash sizes
 - can have a password in squid.conf for cachemgr.cgi
 - POST is now passthrough
 - other bugfixes
 - other new features and corresponding bugfixes :-)
Reviewed by:
Submitted by:
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta16
d6 1
a6 1
# $Id: Makefile,v 1.5 1996/11/12 08:26:06 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta16
PKGNAME=	squid-1.1b16
d32 2
a33 2
	${MKDIR} ${PREFIX}/squid/logs
	${MKDIR} ${PREFIX}/squid/cache
@


1.5
log
@Shorten PKGNAME
Don't send RunCache's output to /dev/console when run from the rc.d script,
it's a bit messy and unneeded.

Reviewed by:
Submitted by:	asami
Obtained from:
@
text
@d2 1
a2 1
# Version required:	1.1.beta13
d6 1
a6 1
# $Id: Makefile,v 1.4 1996/11/06 17:20:53 peter Exp $
d9 2
a10 2
DISTNAME=	squid-1.1.beta13
PKGNAME=	squid-1.1b13
@


1.4
log
@Squid-1.1.beta13.  This was a little unusual in that the www/squid ncvs
files were repository copied to www/squid11, then this commit brings it
to 1.1.b13.  (This was Satoshi's idea :-) It preserves the history)

Squid-1.0 and 1.1 are under parallel development, kinda like when we had
2.1-stable and 2.2-current in parallel development.  The 1.0 code is well
polished, and 1.1 is "on the bleeding edge" as such.  The features and
performance are much improved, but it can be a bit hair-raising.  I
personally have no major hassles with 1.1beta13.

Among the nicer things that this version has over 1.0:
- URL redirector..  ie: you can rewrite url's of sites with "mirrors"
  so that you don't have 15 copies of the same files.
- optional ident logging
- improved acl's
- dramatically improved cache directory structure (scales much better with
  gigantic disk caches)
- much improved DNS ttl handling (esp. with resolver hack)
- more control over neighbor status; parent, sibling etc.
- much improved refresh rules to help combat stupid sites that needlessly
  set the Expires: field to zero when it doesn't need to be.  (This is fine
  when it's genuinely needed, but some sites really abuse it to to attempt
  to negate caching to get inflated hit counts etc)
Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1996/11/06 16:37:10 peter Exp $
d10 1
d38 1
a38 1
		echo "	(cd /tmp; /usr/local/sbin/RunCache &) ; echo -n ' squid'" >> ${PREFIX}/etc/rc.d/squid.sh; \
@


1.3
log
@Update from squid-1.0.0 to 1.0.20.  There are a large number of bug fixes
and stability measures.

This port installs in a "FreeBSD-native" tree (like apache) rather than
with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...}

(the default behavior seems to have changed between 1.0.0 and 1.0.20)

Also, build a rc.d/squid.sh script.
@
text
@d2 3
a4 3
# Version required:	1.0.20
# Date created:		Fri May 17 04:02:53 EET DST 1996
# Whom:			Andrew Stesin <stesin@@elvisti.kiev.ua>
d6 1
a6 1
# $Id: Makefile,v 1.2 1996/07/10 21:48:58 asami Exp $
d9 1
a9 1
DISTNAME=	squid-1.0.20
d12 4
a15 4
	ftp://squid.nlanr.net/pub/squid-1.0/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/squid-1.0/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/squid-1.0/ \
	ftp://ftp.net.lut.ac.uk/squid/squid-1.0/
d18 1
a18 1
MAINTAINER=	stesin@@elvisti.kiev.ua
d28 1
a28 1
.for file in cachemgr.cgi client dnsserver ftpget squid
@


1.2
log
@Upgrade from 1.0 beta11 to 1.0 release.

Submitted by:	Andrew Stesin <stesin@@elvisti.kiev.ua>
@
text
@d2 1
a2 1
# Version required:	1.0.0
d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1996/06/03 02:21:13 asami Exp $
d9 1
a9 2
DISTNAME=	squid-1.0.0
PKGNAME=	squid-1.0
d12 4
a15 4
	ftp://www.nlanr.net/Software/Squid/ \
	ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/ \
	ftp://sunsite.auc.dk/pub/infosystems/squid/ \
	ftp://ftp.net.lut.ac.uk/squid/
d21 3
a23 2
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
CONFIGURE_ENV=	env "STD_CFLAGS=${CFLAGS}"
d25 1
d29 1
a29 1
	strip ${PREFIX}/bin/${file}
d31 10
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:	1.0.beta11
d6 1
a6 1
# $Id$
d9 2
a10 2
DISTNAME=	squid-1.0.beta11
PKGNAME=	squid-1.0b11
d12 1
a12 1
MASTER_SITES=  ftp://www.unimelb.edu.au/pub/cwis/servers/unix/squid/ \
d14 1
d19 1
a19 1
MAINTAINER=		stesin@@elvisti.kiev.ua
@


1.1.1.1
log
@A post-harvest www cache proxy.

Submitted by:	Andrew V. Stesin <stesin@@elvisti.kiev.ua> and Peter Stubbs <PETERS@@staidan.qld.edu.au>
@
text
@@
