head	1.392;
access;
symbols
	RELEASE_8_3_0:1.316
	RELEASE_9_0_0:1.290
	RELEASE_7_4_0:1.247
	RELEASE_8_2_0:1.247
	RELEASE_6_EOL:1.239
	RELEASE_8_1_0:1.226
	RELEASE_7_3_0:1.199
	RELEASE_8_0_0:1.162
	RELEASE_7_2_0:1.146
	RELEASE_7_1_0:1.136
	RELEASE_6_4_0:1.136
	RELEASE_5_EOL:1.135
	RELEASE_7_0_0:1.130
	RELEASE_6_3_0:1.130
	PRE_XORG_7:1.110
	RELEASE_4_EOL:1.102
	RELEASE_6_2_0:1.89
	RELEASE_6_1_0:1.62
	RELEASE_5_5_0:1.62
	RELEASE_6_0_0:1.34
	RELEASE_5_4_0:1.22
	RELEASE_4_11_0:1.12;
locks; strict;
comment	@# @;


1.392
date	2013.03.22.21.22.09;	author svnexp;	state Exp;
branches;
next	1.391;

1.391
date	2013.03.21.22.00.06;	author svnexp;	state Exp;
branches;
next	1.390;

1.390
date	2013.03.21.19.03.35;	author svnexp;	state Exp;
branches;
next	1.389;

1.389
date	2013.03.20.00.16.16;	author svnexp;	state Exp;
branches;
next	1.388;

1.388
date	2013.03.20.00.04.14;	author svnexp;	state Exp;
branches;
next	1.387;

1.387
date	2013.03.19.23.36.12;	author svnexp;	state Exp;
branches;
next	1.386;

1.386
date	2013.03.14.18.40.15;	author svnexp;	state Exp;
branches;
next	1.385;

1.385
date	2013.03.07.15.00.31;	author svnexp;	state Exp;
branches;
next	1.384;

1.384
date	2013.02.24.07.41.40;	author svnexp;	state Exp;
branches;
next	1.383;

1.383
date	2013.02.23.11.44.56;	author svnexp;	state Exp;
branches;
next	1.382;

1.382
date	2013.02.20.17.58.42;	author svnexp;	state Exp;
branches;
next	1.381;

1.381
date	2013.02.19.19.36.52;	author svnexp;	state Exp;
branches;
next	1.380;

1.380
date	2013.02.13.10.53.47;	author svnexp;	state Exp;
branches;
next	1.379;

1.379
date	2013.02.13.04.41.59;	author svnexp;	state Exp;
branches;
next	1.378;

1.378
date	2013.02.07.14.08.07;	author svnexp;	state Exp;
branches;
next	1.377;

1.377
date	2013.02.07.03.41.44;	author svnexp;	state Exp;
branches;
next	1.376;

1.376
date	2013.01.17.04.21.02;	author svnexp;	state Exp;
branches;
next	1.375;

1.375
date	2013.01.09.17.39.19;	author svnexp;	state Exp;
branches;
next	1.374;

1.374
date	2012.12.21.05.36.38;	author svnexp;	state Exp;
branches;
next	1.373;

1.373
date	2012.12.11.19.07.48;	author svnexp;	state Exp;
branches;
next	1.372;

1.372
date	2012.12.11.18.54.10;	author svnexp;	state Exp;
branches;
next	1.371;

1.371
date	2012.12.10.19.24.06;	author svnexp;	state Exp;
branches;
next	1.370;

1.370
date	2012.11.22.03.49.48;	author svnexp;	state Exp;
branches;
next	1.369;

1.369
date	2012.11.17.18.34.35;	author svnexp;	state Exp;
branches;
next	1.368;

1.368
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.367;

1.367
date	2012.10.17.02.17.42;	author osa;	state Exp;
branches;
next	1.366;

1.366
date	2012.09.26.03.18.26;	author osa;	state Exp;
branches;
next	1.365;

1.365
date	2012.09.20.03.56.11;	author osa;	state Exp;
branches;
next	1.364;

1.364
date	2012.09.20.03.44.21;	author osa;	state Exp;
branches;
next	1.363;

1.363
date	2012.09.19.18.29.13;	author osa;	state Exp;
branches;
next	1.362;

1.362
date	2012.08.28.18.01.09;	author osa;	state Exp;
branches;
next	1.361;

1.361
date	2012.08.26.16.56.32;	author osa;	state Exp;
branches;
next	1.360;

1.360
date	2012.08.26.10.58.50;	author osa;	state Exp;
branches;
next	1.359;

1.359
date	2012.08.21.03.38.25;	author osa;	state Exp;
branches;
next	1.358;

1.358
date	2012.08.15.16.02.13;	author osa;	state Exp;
branches;
next	1.357;

1.357
date	2012.08.13.16.38.07;	author osa;	state Exp;
branches;
next	1.356;

1.356
date	2012.08.07.17.30.44;	author osa;	state Exp;
branches;
next	1.355;

1.355
date	2012.08.07.17.12.09;	author osa;	state Exp;
branches;
next	1.354;

1.354
date	2012.08.04.06.01.12;	author osa;	state Exp;
branches;
next	1.353;

1.353
date	2012.07.31.17.50.50;	author osa;	state Exp;
branches;
next	1.352;

1.352
date	2012.07.26.06.28.01;	author ak;	state Exp;
branches;
next	1.351;

1.351
date	2012.07.22.13.39.34;	author osa;	state Exp;
branches;
next	1.350;

1.350
date	2012.07.16.17.47.56;	author osa;	state Exp;
branches;
next	1.349;

1.349
date	2012.07.16.17.38.33;	author osa;	state Exp;
branches;
next	1.348;

1.348
date	2012.07.03.17.09.44;	author osa;	state Exp;
branches;
next	1.347;

1.347
date	2012.07.03.03.48.32;	author osa;	state Exp;
branches;
next	1.346;

1.346
date	2012.06.29.21.01.03;	author osa;	state Exp;
branches;
next	1.345;

1.345
date	2012.06.28.14.25.06;	author osa;	state Exp;
branches;
next	1.344;

1.344
date	2012.06.21.06.35.24;	author osa;	state Exp;
branches;
next	1.343;

1.343
date	2012.06.19.06.27.32;	author osa;	state Exp;
branches;
next	1.342;

1.342
date	2012.06.18.16.12.38;	author osa;	state Exp;
branches;
next	1.341;

1.341
date	2012.06.17.17.54.56;	author osa;	state Exp;
branches;
next	1.340;

1.340
date	2012.06.14.11.29.07;	author osa;	state Exp;
branches;
next	1.339;

1.339
date	2012.06.14.10.53.34;	author osa;	state Exp;
branches;
next	1.338;

1.338
date	2012.06.14.08.12.28;	author osa;	state Exp;
branches;
next	1.337;

1.337
date	2012.06.13.04.46.13;	author osa;	state Exp;
branches;
next	1.336;

1.336
date	2012.06.07.16.57.23;	author osa;	state Exp;
branches;
next	1.335;

1.335
date	2012.06.07.01.09.44;	author osa;	state Exp;
branches;
next	1.334;

1.334
date	2012.06.06.12.58.58;	author osa;	state Exp;
branches;
next	1.333;

1.333
date	2012.06.06.12.57.03;	author osa;	state Exp;
branches;
next	1.332;

1.332
date	2012.06.06.12.10.13;	author osa;	state Exp;
branches;
next	1.331;

1.331
date	2012.06.04.17.33.25;	author osa;	state Exp;
branches;
next	1.330;

1.330
date	2012.06.04.04.07.38;	author osa;	state Exp;
branches;
next	1.329;

1.329
date	2012.05.24.08.04.58;	author osa;	state Exp;
branches;
next	1.328;

1.328
date	2012.05.18.04.43.42;	author osa;	state Exp;
branches;
next	1.327;

1.327
date	2012.05.16.11.24.12;	author osa;	state Exp;
branches;
next	1.326;

1.326
date	2012.05.15.15.11.42;	author osa;	state Exp;
branches;
next	1.325;

1.325
date	2012.05.11.10.42.25;	author osa;	state Exp;
branches;
next	1.324;

1.324
date	2012.04.26.08.11.11;	author osa;	state Exp;
branches;
next	1.323;

1.323
date	2012.04.25.17.01.38;	author osa;	state Exp;
branches;
next	1.322;

1.322
date	2012.04.23.14.01.34;	author osa;	state Exp;
branches;
next	1.321;

1.321
date	2012.04.23.12.18.43;	author osa;	state Exp;
branches;
next	1.320;

1.320
date	2012.04.23.12.04.37;	author osa;	state Exp;
branches;
next	1.319;

1.319
date	2012.04.22.18.52.25;	author osa;	state Exp;
branches;
next	1.318;

1.318
date	2012.04.13.12.11.04;	author osa;	state Exp;
branches;
next	1.317;

1.317
date	2012.04.03.16.16.10;	author osa;	state Exp;
branches;
next	1.316;

1.316
date	2012.03.15.13.49.37;	author osa;	state Exp;
branches;
next	1.315;

1.315
date	2012.03.05.16.16.44;	author osa;	state Exp;
branches;
next	1.314;

1.314
date	2012.02.29.19.53.16;	author osa;	state Exp;
branches;
next	1.313;

1.313
date	2012.02.29.19.35.03;	author osa;	state Exp;
branches;
next	1.312;

1.312
date	2012.02.29.05.32.27;	author osa;	state Exp;
branches;
next	1.311;

1.311
date	2012.02.28.17.43.56;	author osa;	state Exp;
branches;
next	1.310;

1.310
date	2012.02.28.13.59.45;	author osa;	state Exp;
branches;
next	1.309;

1.309
date	2012.02.23.09.30.11;	author osa;	state Exp;
branches;
next	1.308;

1.308
date	2012.02.14.12.45.33;	author mm;	state Exp;
branches;
next	1.307;

1.307
date	2012.02.06.17.50.45;	author osa;	state Exp;
branches;
next	1.306;

1.306
date	2012.02.06.17.48.29;	author osa;	state Exp;
branches;
next	1.305;

1.305
date	2012.02.01.13.51.20;	author osa;	state Exp;
branches;
next	1.304;

1.304
date	2012.02.01.04.43.10;	author osa;	state Exp;
branches;
next	1.303;

1.303
date	2012.01.19.18.09.09;	author osa;	state Exp;
branches;
next	1.302;

1.302
date	2012.01.17.12.58.38;	author osa;	state Exp;
branches;
next	1.301;

1.301
date	2012.01.17.12.16.09;	author osa;	state Exp;
branches;
next	1.300;

1.300
date	2012.01.16.07.49.11;	author osa;	state Exp;
branches;
next	1.299;

1.299
date	2012.01.13.09.57.20;	author osa;	state Exp;
branches;
next	1.298;

1.298
date	2012.01.12.08.24.09;	author osa;	state Exp;
branches;
next	1.297;

1.297
date	2012.01.11.15.33.30;	author osa;	state Exp;
branches;
next	1.296;

1.296
date	2011.12.30.09.51.49;	author osa;	state Exp;
branches;
next	1.295;

1.295
date	2011.12.29.11.30.39;	author osa;	state Exp;
branches;
next	1.294;

1.294
date	2011.12.29.07.30.05;	author osa;	state Exp;
branches;
next	1.293;

1.293
date	2011.12.29.07.15.30;	author osa;	state Exp;
branches;
next	1.292;

1.292
date	2011.12.20.13.58.02;	author osa;	state Exp;
branches;
next	1.291;

1.291
date	2011.12.15.19.14.39;	author osa;	state Exp;
branches;
next	1.290;

1.290
date	2011.12.09.13.57.24;	author osa;	state Exp;
branches;
next	1.289;

1.289
date	2011.11.28.13.59.58;	author osa;	state Exp;
branches;
next	1.288;

1.288
date	2011.11.25.15.23.48;	author osa;	state Exp;
branches;
next	1.287;

1.287
date	2011.11.21.10.16.47;	author osa;	state Exp;
branches;
next	1.286;

1.286
date	2011.11.15.09.59.38;	author osa;	state Exp;
branches;
next	1.285;

1.285
date	2011.11.02.17.37.59;	author osa;	state Exp;
branches;
next	1.284;

1.284
date	2011.11.01.19.36.11;	author osa;	state Exp;
branches;
next	1.283;

1.283
date	2011.10.10.13.19.03;	author osa;	state Exp;
branches;
next	1.282;

1.282
date	2011.10.01.07.33.44;	author osa;	state Exp;
branches;
next	1.281;

1.281
date	2011.09.30.16.49.30;	author osa;	state Exp;
branches;
next	1.280;

1.280
date	2011.09.28.17.21.23;	author osa;	state Exp;
branches;
next	1.279;

1.279
date	2011.09.06.23.40.31;	author pawel;	state Exp;
branches;
next	1.278;

1.278
date	2011.09.05.08.40.25;	author osa;	state Exp;
branches;
next	1.277;

1.277
date	2011.09.02.09.32.02;	author osa;	state Exp;
branches;
next	1.276;

1.276
date	2011.08.29.15.53.39;	author osa;	state Exp;
branches;
next	1.275;

1.275
date	2011.08.24.16.56.00;	author osa;	state Exp;
branches;
next	1.274;

1.274
date	2011.08.12.16.13.46;	author osa;	state Exp;
branches;
next	1.273;

1.273
date	2011.08.10.16.22.57;	author osa;	state Exp;
branches;
next	1.272;

1.272
date	2011.08.04.07.51.26;	author osa;	state Exp;
branches;
next	1.271;

1.271
date	2011.07.22.07.14.13;	author osa;	state Exp;
branches;
next	1.270;

1.270
date	2011.07.20.10.50.50;	author osa;	state Exp;
branches;
next	1.269;

1.269
date	2011.07.13.09.21.17;	author osa;	state Exp;
branches;
next	1.268;

1.268
date	2011.07.12.15.46.56;	author osa;	state Exp;
branches;
next	1.267;

1.267
date	2011.07.12.12.18.21;	author osa;	state Exp;
branches;
next	1.266;

1.266
date	2011.07.12.09.41.28;	author osa;	state Exp;
branches;
next	1.265;

1.265
date	2011.07.11.11.22.01;	author osa;	state Exp;
branches;
next	1.264;

1.264
date	2011.06.08.07.07.43;	author osa;	state Exp;
branches;
next	1.263;

1.263
date	2011.06.08.06.56.25;	author osa;	state Exp;
branches;
next	1.262;

1.262
date	2011.06.01.12.06.11;	author osa;	state Exp;
branches;
next	1.261;

1.261
date	2011.05.25.16.20.24;	author osa;	state Exp;
branches;
next	1.260;

1.260
date	2011.05.10.13.48.04;	author osa;	state Exp;
branches;
next	1.259;

1.259
date	2011.05.03.19.54.31;	author osa;	state Exp;
branches;
next	1.258;

1.258
date	2011.04.19.12.47.23;	author osa;	state Exp;
branches;
next	1.257;

1.257
date	2011.04.14.11.31.29;	author osa;	state Exp;
branches;
next	1.256;

1.256
date	2011.04.12.10.20.31;	author osa;	state Exp;
branches;
next	1.255;

1.255
date	2011.04.04.18.33.35;	author osa;	state Exp;
branches;
next	1.254;

1.254
date	2011.04.04.10.41.52;	author osa;	state Exp;
branches;
next	1.253;

1.253
date	2011.04.04.07.59.11;	author osa;	state Exp;
branches;
next	1.252;

1.252
date	2011.03.15.17.03.11;	author osa;	state Exp;
branches;
next	1.251;

1.251
date	2011.03.11.14.37.59;	author osa;	state Exp;
branches;
next	1.250;

1.250
date	2011.03.02.19.13.54;	author osa;	state Exp;
branches;
next	1.249;

1.249
date	2011.02.27.13.01.19;	author miwi;	state Exp;
branches;
next	1.248;

1.248
date	2011.02.25.11.07.44;	author osa;	state Exp;
branches;
next	1.247;

1.247
date	2011.02.01.10.47.21;	author osa;	state Exp;
branches;
next	1.246;

1.246
date	2010.12.20.04.15.22;	author osa;	state Exp;
branches;
next	1.245;

1.245
date	2010.12.17.21.57.02;	author osa;	state Exp;
branches;
next	1.244;

1.244
date	2010.12.17.14.49.00;	author osa;	state Exp;
branches;
next	1.243;

1.243
date	2010.12.14.12.04.11;	author osa;	state Exp;
branches;
next	1.242;

1.242
date	2010.12.12.13.20.05;	author osa;	state Exp;
branches;
next	1.241;

1.241
date	2010.12.12.12.22.46;	author osa;	state Exp;
branches;
next	1.240;

1.240
date	2010.12.01.20.18.56;	author osa;	state Exp;
branches;
next	1.239;

1.239
date	2010.11.23.12.39.08;	author osa;	state Exp;
branches;
next	1.238;

1.238
date	2010.11.16.19.32.10;	author osa;	state Exp;
branches;
next	1.237;

1.237
date	2010.10.28.09.45.30;	author osa;	state Exp;
branches;
next	1.236;

1.236
date	2010.10.18.12.58.15;	author osa;	state Exp;
branches;
next	1.235;

1.235
date	2010.09.28.07.27.09;	author osa;	state Exp;
branches;
next	1.234;

1.234
date	2010.09.28.06.32.16;	author osa;	state Exp;
branches;
next	1.233;

1.233
date	2010.09.28.04.00.32;	author osa;	state Exp;
branches;
next	1.232;

1.232
date	2010.09.14.18.57.55;	author osa;	state Exp;
branches;
next	1.231;

1.231
date	2010.09.13.17.10.35;	author osa;	state Exp;
branches;
next	1.230;

1.230
date	2010.09.03.13.28.39;	author osa;	state Exp;
branches;
next	1.229;

1.229
date	2010.09.03.03.59.26;	author osa;	state Exp;
branches;
next	1.228;

1.228
date	2010.08.18.09.37.34;	author osa;	state Exp;
branches;
next	1.227;

1.227
date	2010.08.12.03.30.56;	author osa;	state Exp;
branches;
next	1.226;

1.226
date	2010.07.01.15.22.20;	author osa;	state Exp;
branches;
next	1.225;

1.225
date	2010.06.30.17.35.57;	author osa;	state Exp;
branches;
next	1.224;

1.224
date	2010.06.24.03.45.16;	author osa;	state Exp;
branches;
next	1.223;

1.223
date	2010.06.18.06.55.17;	author osa;	state Exp;
branches;
next	1.222;

1.222
date	2010.06.15.12.25.52;	author osa;	state Exp;
branches;
next	1.221;

1.221
date	2010.06.10.17.12.30;	author osa;	state Exp;
branches;
next	1.220;

1.220
date	2010.06.08.11.28.41;	author osa;	state Exp;
branches;
next	1.219;

1.219
date	2010.06.08.04.47.29;	author osa;	state Exp;
branches;
next	1.218;

1.218
date	2010.06.07.14.32.02;	author osa;	state Exp;
branches;
next	1.217;

1.217
date	2010.06.07.02.45.13;	author osa;	state Exp;
branches;
next	1.216;

1.216
date	2010.06.06.07.09.18;	author osa;	state Exp;
branches;
next	1.215;

1.215
date	2010.06.02.17.14.56;	author osa;	state Exp;
branches;
next	1.214;

1.214
date	2010.06.01.09.43.02;	author osa;	state Exp;
branches;
next	1.213;

1.213
date	2010.05.25.16.10.56;	author osa;	state Exp;
branches;
next	1.212;

1.212
date	2010.05.07.03.56.18;	author osa;	state Exp;
branches;
next	1.211;

1.211
date	2010.05.03.13.58.42;	author osa;	state Exp;
branches;
next	1.210;

1.210
date	2010.04.29.04.18.24;	author osa;	state Exp;
branches;
next	1.209;

1.209
date	2010.04.28.19.18.28;	author osa;	state Exp;
branches;
next	1.208;

1.208
date	2010.04.23.03.48.29;	author osa;	state Exp;
branches;
next	1.207;

1.207
date	2010.04.08.11.08.04;	author osa;	state Exp;
branches;
next	1.206;

1.206
date	2010.03.28.04.44.54;	author dougb;	state Exp;
branches;
next	1.205;

1.205
date	2010.03.25.10.02.43;	author osa;	state Exp;
branches;
next	1.204;

1.204
date	2010.03.25.02.37.06;	author osa;	state Exp;
branches;
next	1.203;

1.203
date	2010.03.23.05.01.02;	author osa;	state Exp;
branches;
next	1.202;

1.202
date	2010.03.10.04.30.34;	author osa;	state Exp;
branches;
next	1.201;

1.201
date	2010.03.09.09.49.08;	author osa;	state Exp;
branches;
next	1.200;

1.200
date	2010.03.05.11.46.00;	author osa;	state Exp;
branches;
next	1.199;

1.199
date	2010.03.02.10.31.37;	author osa;	state Exp;
branches;
next	1.198;

1.198
date	2010.02.27.19.56.07;	author osa;	state Exp;
branches;
next	1.197;

1.197
date	2010.02.27.19.20.20;	author osa;	state Exp;
branches;
next	1.196;

1.196
date	2010.02.22.17.29.33;	author osa;	state Exp;
branches;
next	1.195;

1.195
date	2010.02.22.13.53.24;	author osa;	state Exp;
branches;
next	1.194;

1.194
date	2010.02.18.19.16.13;	author osa;	state Exp;
branches;
next	1.193;

1.193
date	2010.02.08.03.56.36;	author osa;	state Exp;
branches;
next	1.192;

1.192
date	2010.02.06.18.52.55;	author osa;	state Exp;
branches;
next	1.191;

1.191
date	2010.02.04.10.08.55;	author osa;	state Exp;
branches;
next	1.190;

1.190
date	2010.02.02.16.19.51;	author osa;	state Exp;
branches;
next	1.189;

1.189
date	2010.01.18.19.53.37;	author osa;	state Exp;
branches;
next	1.188;

1.188
date	2010.01.14.18.55.41;	author osa;	state Exp;
branches;
next	1.187;

1.187
date	2010.01.11.07.43.38;	author osa;	state Exp;
branches;
next	1.186;

1.186
date	2010.01.09.19.19.03;	author osa;	state Exp;
branches;
next	1.185;

1.185
date	2010.01.08.19.34.15;	author osa;	state Exp;
branches;
next	1.184;

1.184
date	2010.01.06.20.29.50;	author osa;	state Exp;
branches;
next	1.183;

1.183
date	2010.01.05.22.06.42;	author osa;	state Exp;
branches;
next	1.182;

1.182
date	2010.01.03.17.53.21;	author osa;	state Exp;
branches;
next	1.181;

1.181
date	2009.12.29.07.14.11;	author osa;	state Exp;
branches;
next	1.180;

1.180
date	2009.12.29.07.04.32;	author osa;	state Exp;
branches;
next	1.179;

1.179
date	2009.12.26.13.04.40;	author osa;	state Exp;
branches;
next	1.178;

1.178
date	2009.12.25.15.22.18;	author osa;	state Exp;
branches;
next	1.177;

1.177
date	2009.12.25.15.20.14;	author osa;	state Exp;
branches;
next	1.176;

1.176
date	2009.12.25.09.53.03;	author osa;	state Exp;
branches;
next	1.175;

1.175
date	2009.12.23.21.23.46;	author osa;	state Exp;
branches;
next	1.174;

1.174
date	2009.12.22.11.47.47;	author osa;	state Exp;
branches;
next	1.173;

1.173
date	2009.12.21.20.31.46;	author osa;	state Exp;
branches;
next	1.172;

1.172
date	2009.12.21.18.46.05;	author osa;	state Exp;
branches;
next	1.171;

1.171
date	2009.12.19.23.05.27;	author osa;	state Exp;
branches;
next	1.170;

1.170
date	2009.12.19.10.56.33;	author osa;	state Exp;
branches;
next	1.169;

1.169
date	2009.12.17.11.23.05;	author osa;	state Exp;
branches;
next	1.168;

1.168
date	2009.12.01.04.22.09;	author osa;	state Exp;
branches;
next	1.167;

1.167
date	2009.11.24.11.56.26;	author osa;	state Exp;
branches;
next	1.166;

1.166
date	2009.11.19.08.36.18;	author osa;	state Exp;
branches;
next	1.165;

1.165
date	2009.11.09.19.51.42;	author osa;	state Exp;
branches;
next	1.164;

1.164
date	2009.11.04.21.24.35;	author osa;	state Exp;
branches;
next	1.163;

1.163
date	2009.10.26.21.44.55;	author osa;	state Exp;
branches;
next	1.162;

1.162
date	2009.09.22.19.54.43;	author osa;	state Exp;
branches;
next	1.161;

1.161
date	2009.09.14.17.17.09;	author osa;	state Exp;
branches;
next	1.160;

1.160
date	2009.09.13.09.05.35;	author osa;	state Exp;
branches;
next	1.159;

1.159
date	2009.07.27.05.59.19;	author osa;	state Exp;
branches;
next	1.158;

1.158
date	2009.07.20.10.56.44;	author osa;	state Exp;
branches;
next	1.157;

1.157
date	2009.07.15.14.09.33;	author osa;	state Exp;
branches;
next	1.156;

1.156
date	2009.07.15.13.53.21;	author osa;	state Exp;
branches;
next	1.155;

1.155
date	2009.07.02.10.31.12;	author osa;	state Exp;
branches;
next	1.154;

1.154
date	2009.07.02.09.00.15;	author osa;	state Exp;
branches;
next	1.153;

1.153
date	2009.06.26.08.16.27;	author osa;	state Exp;
branches;
next	1.152;

1.152
date	2009.06.22.15.31.01;	author osa;	state Exp;
branches;
next	1.151;

1.151
date	2009.06.22.12.28.51;	author osa;	state Exp;
branches;
next	1.150;

1.150
date	2009.06.18.06.54.15;	author osa;	state Exp;
branches;
next	1.149;

1.149
date	2009.06.16.08.42.38;	author osa;	state Exp;
branches;
next	1.148;

1.148
date	2009.05.28.19.48.11;	author osa;	state Exp;
branches;
next	1.147;

1.147
date	2009.05.19.05.13.38;	author osa;	state Exp;
branches;
next	1.146;

1.146
date	2009.04.07.10.14.16;	author osa;	state Exp;
branches;
next	1.145;

1.145
date	2009.04.02.07.58.05;	author osa;	state Exp;
branches;
next	1.144;

1.144
date	2009.03.31.13.56.56;	author osa;	state Exp;
branches;
next	1.143;

1.143
date	2009.03.26.14.12.29;	author osa;	state Exp;
branches;
next	1.142;

1.142
date	2009.02.09.06.58.02;	author osa;	state Exp;
branches;
next	1.141;

1.141
date	2009.02.06.14.38.44;	author osa;	state Exp;
branches;
next	1.140;

1.140
date	2009.01.27.09.47.09;	author osa;	state Exp;
branches;
next	1.139;

1.139
date	2008.12.03.08.53.19;	author osa;	state Exp;
branches;
next	1.138;

1.138
date	2008.11.21.12.39.18;	author osa;	state Exp;
branches;
next	1.137;

1.137
date	2008.10.15.07.36.38;	author osa;	state Exp;
branches;
next	1.136;

1.136
date	2008.07.07.14.07.48;	author osa;	state Exp;
branches;
next	1.135;

1.135
date	2008.05.19.12.01.13;	author osa;	state Exp;
branches;
next	1.134;

1.134
date	2008.05.04.14.26.12;	author osa;	state Exp;
branches;
next	1.133;

1.133
date	2008.01.22.07.38.32;	author osa;	state Exp;
branches;
next	1.132;

1.132
date	2008.01.10.15.18.25;	author osa;	state Exp;
branches;
next	1.131;

1.131
date	2007.12.14.09.28.34;	author osa;	state Exp;
branches;
next	1.130;

1.130
date	2007.11.13.07.54.35;	author osa;	state Exp;
branches;
next	1.129;

1.129
date	2007.10.08.15.32.12;	author osa;	state Exp;
branches;
next	1.128;

1.128
date	2007.09.19.08.48.24;	author osa;	state Exp;
branches;
next	1.127;

1.127
date	2007.08.16.08.43.06;	author osa;	state Exp;
branches;
next	1.126;

1.126
date	2007.08.04.11.41.27;	author gabor;	state Exp;
branches;
next	1.125;

1.125
date	2007.07.30.10.48.35;	author osa;	state Exp;
branches;
next	1.124;

1.124
date	2007.07.30.10.45.23;	author osa;	state Exp;
branches;
next	1.123;

1.123
date	2007.07.23.09.18.54;	author osa;	state Exp;
branches;
next	1.122;

1.122
date	2007.07.17.11.53.48;	author osa;	state Exp;
branches;
next	1.121;

1.121
date	2007.07.09.08.14.03;	author osa;	state Exp;
branches;
next	1.120;

1.120
date	2007.06.28.15.18.57;	author osa;	state Exp;
branches;
next	1.119;

1.119
date	2007.06.18.07.08.45;	author osa;	state Exp;
branches;
next	1.118;

1.118
date	2007.06.15.08.28.20;	author osa;	state Exp;
branches;
next	1.117;

1.117
date	2007.06.14.10.32.32;	author osa;	state Exp;
branches;
next	1.116;

1.116
date	2007.06.13.07.09.00;	author osa;	state Exp;
branches;
next	1.115;

1.115
date	2007.06.06.07.05.18;	author osa;	state Exp;
branches;
next	1.114;

1.114
date	2007.06.04.14.35.36;	author osa;	state Exp;
branches;
next	1.113;

1.113
date	2007.05.29.12.19.39;	author osa;	state Exp;
branches;
next	1.112;

1.112
date	2007.05.28.16.08.17;	author osa;	state Exp;
branches;
next	1.111;

1.111
date	2007.05.25.06.34.39;	author osa;	state Exp;
branches;
next	1.110;

1.110
date	2007.04.24.06.54.08;	author osa;	state Exp;
branches;
next	1.109;

1.109
date	2007.04.20.06.27.38;	author osa;	state Exp;
branches;
next	1.108;

1.108
date	2007.04.02.11.26.05;	author osa;	state Exp;
branches;
next	1.107;

1.107
date	2007.03.19.14.17.48;	author osa;	state Exp;
branches;
next	1.106;

1.106
date	2007.02.28.13.33.39;	author osa;	state Exp;
branches;
next	1.105;

1.105
date	2007.02.19.14.30.23;	author osa;	state Exp;
branches;
next	1.104;

1.104
date	2007.02.12.16.43.42;	author osa;	state Exp;
branches;
next	1.103;

1.103
date	2007.02.06.08.19.02;	author osa;	state Exp;
branches;
next	1.102;

1.102
date	2007.01.26.11.17.33;	author osa;	state Exp;
branches;
next	1.101;

1.101
date	2007.01.25.16.59.40;	author osa;	state Exp;
branches;
next	1.100;

1.100
date	2007.01.22.14.28.41;	author osa;	state Exp;
branches;
next	1.99;

1.99
date	2007.01.16.16.30.05;	author osa;	state Exp;
branches;
next	1.98;

1.98
date	2007.01.15.09.28.59;	author osa;	state Exp;
branches;
next	1.97;

1.97
date	2006.12.25.08.41.25;	author osa;	state Exp;
branches;
next	1.96;

1.96
date	2006.12.15.09.17.54;	author osa;	state Exp;
branches;
next	1.95;

1.95
date	2006.12.14.07.27.22;	author osa;	state Exp;
branches;
next	1.94;

1.94
date	2006.12.05.09.20.22;	author osa;	state Exp;
branches;
next	1.93;

1.93
date	2006.11.27.16.06.57;	author osa;	state Exp;
branches;
next	1.92;

1.92
date	2006.11.16.07.39.35;	author osa;	state Exp;
branches;
next	1.91;

1.91
date	2006.11.01.08.39.49;	author osa;	state Exp;
branches;
next	1.90;

1.90
date	2006.10.31.08.59.18;	author osa;	state Exp;
branches;
next	1.89;

1.89
date	2006.10.09.06.24.00;	author osa;	state Exp;
branches;
next	1.88;

1.88
date	2006.09.14.18.03.37;	author osa;	state Exp;
branches;
next	1.87;

1.87
date	2006.09.14.14.37.45;	author osa;	state Exp;
branches;
next	1.86;

1.86
date	2006.08.31.08.59.30;	author osa;	state Exp;
branches;
next	1.85;

1.85
date	2006.08.20.20.33.32;	author osa;	state Exp;
branches;
next	1.84;

1.84
date	2006.08.16.13.19.36;	author osa;	state Exp;
branches;
next	1.83;

1.83
date	2006.08.10.07.41.14;	author osa;	state Exp;
branches;
next	1.82;

1.82
date	2006.08.07.08.01.35;	author osa;	state Exp;
branches;
next	1.81;

1.81
date	2006.07.31.12.07.08;	author osa;	state Exp;
branches;
next	1.80;

1.80
date	2006.07.11.14.16.11;	author osa;	state Exp;
branches;
next	1.79;

1.79
date	2006.07.04.06.32.37;	author osa;	state Exp;
branches;
next	1.78;

1.78
date	2006.06.30.12.45.38;	author osa;	state Exp;
branches;
next	1.77;

1.77
date	2006.06.30.12.26.27;	author osa;	state Exp;
branches;
next	1.76;

1.76
date	2006.06.29.06.48.39;	author osa;	state Exp;
branches;
next	1.75;

1.75
date	2006.05.31.14.45.08;	author osa;	state Exp;
branches;
next	1.74;

1.74
date	2006.05.29.18.04.37;	author osa;	state Exp;
branches;
next	1.73;

1.73
date	2006.05.25.10.42.10;	author osa;	state Exp;
branches;
next	1.72;

1.72
date	2006.05.11.14.28.04;	author osa;	state Exp;
branches;
next	1.71;

1.71
date	2006.05.10.09.55.02;	author osa;	state Exp;
branches;
next	1.70;

1.70
date	2006.04.21.11.24.50;	author osa;	state Exp;
branches;
next	1.69;

1.69
date	2006.04.18.07.15.17;	author osa;	state Exp;
branches;
next	1.68;

1.68
date	2006.04.14.09.54.18;	author osa;	state Exp;
branches;
next	1.67;

1.67
date	2006.04.07.14.03.48;	author osa;	state Exp;
branches;
next	1.66;

1.66
date	2006.04.05.13.16.35;	author osa;	state Exp;
branches;
next	1.65;

1.65
date	2006.04.01.09.28.48;	author osa;	state Exp;
branches;
next	1.64;

1.64
date	2006.03.15.22.08.51;	author osa;	state Exp;
branches;
next	1.63;

1.63
date	2006.03.15.08.35.27;	author osa;	state Exp;
branches;
next	1.62;

1.62
date	2006.02.23.08.31.16;	author osa;	state Exp;
branches;
next	1.61;

1.61
date	2006.02.21.08.07.27;	author osa;	state Exp;
branches;
next	1.60;

1.60
date	2006.02.16.15.33.19;	author osa;	state Exp;
branches;
next	1.59;

1.59
date	2006.02.08.16.49.21;	author osa;	state Exp;
branches;
next	1.58;

1.58
date	2006.02.03.13.09.42;	author osa;	state Exp;
branches;
next	1.57;

1.57
date	2006.02.02.09.29.17;	author osa;	state Exp;
branches;
next	1.56;

1.56
date	2006.01.11.15.33.49;	author osa;	state Exp;
branches;
next	1.55;

1.55
date	2005.12.28.14.33.53;	author osa;	state Exp;
branches;
next	1.54;

1.54
date	2005.12.27.08.37.38;	author osa;	state Exp;
branches;
next	1.53;

1.53
date	2005.12.19.15.46.34;	author osa;	state Exp;
branches;
next	1.52;

1.52
date	2005.12.07.16.04.46;	author osa;	state Exp;
branches;
next	1.51;

1.51
date	2005.12.05.18.46.07;	author osa;	state Exp;
branches;
next	1.50;

1.50
date	2005.12.05.15.42.42;	author osa;	state Exp;
branches;
next	1.49;

1.49
date	2005.11.27.10.25.33;	author osa;	state Exp;
branches;
next	1.48;

1.48
date	2005.11.21.09.07.05;	author osa;	state Exp;
branches;
next	1.47;

1.47
date	2005.11.15.14.43.31;	author osa;	state Exp;
branches;
next	1.46;

1.46
date	2005.11.15.12.59.44;	author osa;	state Exp;
branches;
next	1.45;

1.45
date	2005.11.10.08.06.58;	author osa;	state Exp;
branches;
next	1.44;

1.44
date	2005.10.27.15.01.15;	author osa;	state Exp;
branches;
next	1.43;

1.43
date	2005.10.26.07.27.17;	author osa;	state Exp;
branches;
next	1.42;

1.42
date	2005.10.25.06.29.36;	author osa;	state Exp;
branches;
next	1.41;

1.41
date	2005.10.19.14.08.25;	author osa;	state Exp;
branches;
next	1.40;

1.40
date	2005.10.12.14.36.42;	author osa;	state Exp;
branches;
next	1.39;

1.39
date	2005.10.05.13.50.46;	author osa;	state Exp;
branches;
next	1.38;

1.38
date	2005.10.05.07.11.13;	author osa;	state Exp;
branches;
next	1.37;

1.37
date	2005.10.03.12.58.40;	author osa;	state Exp;
branches;
next	1.36;

1.36
date	2005.10.03.09.42.27;	author osa;	state Exp;
branches;
next	1.35;

1.35
date	2005.08.30.11.54.06;	author osa;	state Exp;
branches;
next	1.34;

1.34
date	2005.08.05.12.12.03;	author osa;	state Exp;
branches;
next	1.33;

1.33
date	2005.07.26.08.20.47;	author osa;	state Exp;
branches;
next	1.32;

1.32
date	2005.07.22.13.38.39;	author osa;	state Exp;
branches;
next	1.31;

1.31
date	2005.07.14.13.01.36;	author osa;	state Exp;
branches;
next	1.30;

1.30
date	2005.06.27.14.53.50;	author osa;	state Exp;
branches;
next	1.29;

1.29
date	2005.06.24.09.19.25;	author osa;	state Exp;
branches;
next	1.28;

1.28
date	2005.06.16.06.57.06;	author osa;	state Exp;
branches;
next	1.27;

1.27
date	2005.06.08.06.48.40;	author osa;	state Exp;
branches;
next	1.26;

1.26
date	2005.05.23.14.57.05;	author osa;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.16.14.25.14;	author osa;	state Exp;
branches;
next	1.24;

1.24
date	2005.04.11.11.36.36;	author osa;	state Exp;
branches;
next	1.23;

1.23
date	2005.04.04.06.54.54;	author osa;	state Exp;
branches;
next	1.22;

1.22
date	2005.03.21.08.23.26;	author osa;	state Exp;
branches;
next	1.21;

1.21
date	2005.03.04.15.29.06;	author osa;	state Exp;
branches;
next	1.20;

1.20
date	2005.03.02.07.44.18;	author osa;	state Exp;
branches;
next	1.19;

1.19
date	2005.02.24.14.26.07;	author osa;	state Exp;
branches;
next	1.18;

1.18
date	2005.02.22.15.01.06;	author osa;	state Exp;
branches;
next	1.17;

1.17
date	2005.02.17.12.11.31;	author osa;	state Exp;
branches;
next	1.16;

1.16
date	2005.02.16.13.56.54;	author osa;	state Exp;
branches;
next	1.15;

1.15
date	2005.02.14.15.09.31;	author osa;	state Exp;
branches;
next	1.14;

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

1.13
date	2005.01.25.09.05.30;	author osa;	state Exp;
branches;
next	1.12;

1.12
date	2004.12.24.13.53.39;	author osa;	state Exp;
branches;
next	1.11;

1.11
date	2004.12.07.09.07.43;	author osa;	state Exp;
branches;
next	1.10;

1.10
date	2004.12.03.09.12.30;	author osa;	state Exp;
branches;
next	1.9;

1.9
date	2004.11.26.09.47.24;	author osa;	state Exp;
branches;
next	1.8;

1.8
date	2004.11.25.14.44.39;	author osa;	state Exp;
branches;
next	1.7;

1.7
date	2004.11.22.07.03.24;	author osa;	state Exp;
branches;
next	1.6;

1.6
date	2004.11.17.08.50.02;	author osa;	state Exp;
branches;
next	1.5;

1.5
date	2004.11.12.07.56.56;	author osa;	state Exp;
branches;
next	1.4;

1.4
date	2004.11.11.14.52.40;	author osa;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.26.08.34.28;	author osa;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.24.17.23.47;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2004.10.21.17.54.45;	author osa;	state Exp;
branches;
next	;


desc
@@


1.392
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314947
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Sergey A. Osokin <osa@@FreeBSD.org>
# $FreeBSD: head/www/nginx/Makefile 314947 2013-03-22 16:41:10Z osa $

PORTNAME=	nginx
PORTVERSION=	1.2.7
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	http://nginx.org/download/
MASTER_SITES+=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	osa
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	osa@@FreeBSD.org
COMMENT=	Robust and small WWW server

LICENSE=	BSD

NO_OPTIONS_SORT=	yes
OPTIONS_DEFINE=	\
	DEBUG \
	DEBUGLOG \
	FILE_AIO \
	IPV6 \
	GOOGLE_PERFTOOLS \
	HTTP \
	HTTP_ADDITION \
	HTTP_CACHE \
	HTTP_DAV \
	HTTP_FLV \
	HTTP_GEOIP \
	HTTP_GZIP_STATIC \
	HTTP_IMAGE_FILTER \
	HTTP_PERL \
	HTTP_RANDOM_INDEX \
	HTTP_REALIP \
	HTTP_REWRITE \
	HTTP_SECURE_LINK \
	HTTP_SSL \
	HTTP_STATUS \
	HTTP_SUB \
	HTTP_XSLT \
	MAIL \
	MAIL_IMAP \
	MAIL_POP3 \
	MAIL_SMTP \
	MAIL_SSL \
	WWW \
	CACHE_PURGE \
	CTPP2 \
	ECHO \
	HEADERS_MORE \
	HTTP_ACCEPT_LANGUAGE \
	HTTP_ACCESSKEY \
	HTTP_AUTH_DIGEST \
	HTTP_AUTH_LDAP \
	HTTP_AUTH_PAM \
	HTTP_AUTH_REQ \
	HTTP_DAV_EXT \
	HTTP_EVAL \
	HTTP_FANCYINDEX \
	HTTP_GUNZIP_FILTER \
	HTTP_MOGILEFS \
	HTTP_NOTICE \
	HTTP_PUSH \
	HTTP_PUSH_STREAM \
	HTTP_REDIS \
	HTTP_RESPONSE \
	HTTP_SUBS_FILTER \
	HTTP_UPLOAD \
	HTTP_UPLOAD_PROGRESS \
	HTTP_UPSTREAM_FAIR \
	HTTP_UPSTREAM_HASH \
	HTTP_UPSTREAM_STICKY \
	HTTP_ZIP \
	ARRAYVAR \
	CHUNKIN \
	DRIZZLE \
	ENCRYPTSESSION \
	FORMINPUT \
	GRIDFS \
	ICONV \
	LET \
	LUA \
	MEMC \
	NAXSI \
	PASSENGER \
	POSTGRES \
	RDS_CSV \
	RDS_JSON \
	REDIS2 \
	RTMP \
	SET_MISC \
	SFLOW \
	SLOWFS_CACHE \
	SRCACHE \
	SUPERVISORD \
	SYSLOG_SUPPORT \
	TCP_PROXY \
	UDPLOG \
	XRID_HEADER \
	XSS \
	VIDEO

OPTIONS_SINGLE=		VIDEO
OPTIONS_SINGLE_VIDEO=	HTTP_MP4 HTTP_MP4_H264
OPTIONS_DEFAULT=	IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_STATUS WWW

DEBUGLOG_DESC=			Enable debug log (--with-debug)
FILE_AIO_DESC=			Enable file aio
GOOGLE_PERFTOOLS_DESC=		Enable google perftools module
HTTP_DESC=			Enable HTTP module
HTTP_ADDITION_DESC=		Enable http_addition module
HTTP_CACHE_DESC=		Enable http_cache module
HTTP_DAV_DESC=			Enable http_webdav module
HTTP_FLV_DESC=			Enable http_flv module
HTTP_GEOIP_DESC=		Enable http_geoip module
HTTP_GZIP_STATIC_DESC=		Enable http_gzip_static module
HTTP_IMAGE_FILTER_DESC=		Enable http_image_filter module
HTTP_MP4_DESC=			Enable http_mp4 module
HTTP_PERL_DESC=			Enable http_perl module
HTTP_RANDOM_INDEX_DESC=		Enable http_random_index module
HTTP_REALIP_DESC=		Enable http_realip module
HTTP_REWRITE_DESC=		Enable http_rewrite module
HTTP_SECURE_LINK_DESC=		Enable http_secure_link module
HTTP_SSL_DESC=			Enable http_ssl module
HTTP_STATUS_DESC=		Enable http_stub_status module
HTTP_SUB_DESC=			Enable http_sub module
HTTP_XSLT_DESC=			Enable http_xslt module
MAIL_DESC=			Enable IMAP4/POP3/SMTP proxy module
MAIL_IMAP_DESC=			Enable IMAP4 proxy module
MAIL_POP3_DESC=			Enable POP3 proxy module
MAIL_SMTP_DESC=			Enable SMTP proxy module
MAIL_SSL_DESC=			Enable mail_ssl module
WWW_DESC=			Enable html sample files
CACHE_PURGE_DESC=		3rd party cache_purge module
CTPP2_DESC=			3rd party CT++ module
ECHO_DESC=			3rd party echo module
HEADERS_MORE_DESC=		3rd party headers_more module
HTTP_ACCEPT_LANGUAGE_DESC=	3rd party accept_language module
HTTP_ACCESSKEY_DESC=		3rd party http_accesskey module
HTTP_AUTH_DIGEST_DESC=		3rd party http_authdigest module
HTTP_AUTH_LDAP_DESC=		3rd party http_auth_ldap module
HTTP_AUTH_PAM_DESC=		3rd party http_auth_pam module
HTTP_AUTH_REQ_DESC=		3rd party http_auth_request module
HTTP_DAV_EXT_DESC=		3rd party webdav_ext module
HTTP_EVAL_DESC=			3rd party eval module
HTTP_FANCYINDEX_DESC=		3rd party http_fancyindex module
HTTP_GUNZIP_FILTER_DESC=	3rd party http_gunzip_filter module
HTTP_MOGILEFS_DESC=		3rd party mogilefs module
HTTP_MP4_H264_DESC=		3rd party mp4/h264 module
HTTP_NOTICE_DESC=		3rd party notice module
HTTP_PUSH_DESC=			3rd party push module
HTTP_PUSH_STREAM_DESC=		3rd party push stream module
HTTP_REDIS_DESC=		3rd party http_redis module
HTTP_RESPONSE_DESC=		3rd party http_response module
HTTP_SUBS_FILTER_DESC=		3rd party subs filter module
HTTP_UPLOAD_DESC=		3rd party upload module
HTTP_UPLOAD_PROGRESS_DESC=	3rd party uploadprogress module
HTTP_UPSTREAM_FAIR_DESC=	3rd party upstream fair module
HTTP_UPSTREAM_HASH_DESC=	3rd party upstream hash module
HTTP_UPSTREAM_STICKY_DESC=	3rd party upstream sticky module
HTTP_ZIP_DESC=			3rd party http_zip module
ARRAYVAR_DESC=			3rd party array_var module
CHUNKIN_DESC=			3rd party chunkin module
DRIZZLE_DESC=			3rd party drizzlie module
ENCRYPTSESSION_DESC=		3rd party encrypted_session module
FORMINPUT_DESC=			3rd party form_input module
GRIDFS_DESC=			3rd party gridfs module
ICONV_DESC=			3rd party iconv module
LET_DESC=			3rd party let module
LUA_DESC=			3rd party lua module
MEMC_DESC=			3rd party memc (memcached) module
NAXSI_DESC=			3rd party naxsi module
PASSENGER_DESC=			3rd party passenger module
POSTGRES_DESC=			3rd party postgresql module
RDS_CSV_DESC=			3rd party rds_csv module
RDS_JSON_DESC=			3rd party rds_json module
REDIS2_DESC=			3rd party redis2 module
RTMP_DESC=			3rd party rtmp module
SET_MISC_DESC=			3rd party set_misc module
SFLOW_DESC=			3rd party sflow module
SLOWFS_CACHE_DESC=		3rd party slowfs_cache module
SRCACHE_DESC=			3rd party srcache module
SUPERVISORD_DESC=		3rd party supervisord module
SYSLOG_SUPPORT_DESC=		3rd party syslog support
TCP_PROXY_DESC=			3rd party tcp_proxy module
UDPLOG_DESC=			3rd party udplog (syslog) module
XRID_HEADER_DESC=		3rd party x-rid header module
XSS_DESC=			3rd party xss module
VIDEO_DESC=			Video module support

WANT_GNOME=	yes
MAKE_JOBS_SAFE=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPASSENGER}
CATEGORIES+=	ruby
USE_RUBY=	yes
USE_RAKE=	yes
.endif

NGINX_VARDIR?=	/var
NGINX_LOGDIR?=	${NGINX_VARDIR}/log
NGINX_RUNDIR?=	${NGINX_VARDIR}/run
NGINX_TMPDIR?=	${NGINX_VARDIR}/tmp/nginx
HTTP_PORT?=	80

NGINX_ACCESSLOG?=	${NGINX_LOGDIR}/nginx-access.log
NGINX_ERRORLOG?=	${NGINX_LOGDIR}/nginx-error.log

CONFLICTS?=	nginx-devel-1.*
USE_RC_SUBR=	nginx
SUB_LIST+=	WWWOWN=${WWWOWN} \
		WWWGRP=${WWWGRP} \
		NGINX_RUNDIR=${NGINX_RUNDIR} \
		NGINX_TMPDIR=${NGINX_TMPDIR}
.if !defined(NO_INSTALL_MANPAGES)
MAN8=		nginx.8
.endif

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
		--with-cc-opt="-I ${LOCALBASE}/include" \
		--with-ld-opt="-L ${LOCALBASE}/lib" \
		--conf-path=${ETCDIR}/nginx.conf \
		--sbin-path=${PREFIX}/sbin/nginx \
		--pid-path=${NGINX_RUNDIR}/nginx.pid \
		--error-log-path=${NGINX_ERRORLOG} \
		--user=${WWWOWN} --group=${WWWGRP}

.if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL)
IGNORE=		requires at least HTTP or MAIL to \
		be defined.  Please do 'make config' again
.endif

.if ${PORT_OPTIONS:MDEBUG}
CFLAGS+=	-g
STRIP=		#do not strip if nginx with debug information
.endif

.if ${PORT_OPTIONS:MDEBUGLOG}
CONFIGURE_ARGS+=--with-debug
.endif

.if ${PORT_OPTIONS:MFILE_AIO}
CONFIGURE_ARGS+=--with-file-aio
.endif

.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=--with-ipv6
CATEGORIES+=	ipv6
.endif

.if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS}
LIB_DEPENDS+=	profiler:${PORTSDIR}/devel/google-perftools
CONFIGURE_ARGS+=--with-google_perftools_module
.endif

.if ${PORT_OPTIONS:MHTTP}
CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
		--http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \
		--http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \
		--http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \
		--http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \
		--http-log-path=${NGINX_ACCESSLOG}

.if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE}
GIT_ACCEPT_LANGUAGE_VERSION=	02262ce
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/giom/nginx_accept_language_module/tarball/master/:accept_language
DISTFILES+=	giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_VERSION}.tar.gz:accept_language
CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_ACCESSKEY}
NGINX_ACCESSKEY_VERSION=	2.0.3
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:accesskey/}
MASTER_SITE_SUBDIR+=	osa/:accesskey
DISTFILES+=	nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_ADDITION}
CONFIGURE_ARGS+=--with-http_addition_module
.endif

.if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST}
GIT_AUTH_DIGEST_VERSION=	bd1c86a
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/samizdatco/nginx-http-auth-digest/tarball/master/:auth_digest
DISTFILES+=	samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_VERSION}.tar.gz:auth_digest
CONFIGURE_ARGS+=--add-module=${WRKDIR}/samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_AUTH_LDAP}
# WWW: https://github.com/kvspb/nginx-auth-ldap
GIT_HTTP_AUTH_LDAP_VERSION=	c4dc7c9153
MASTER_SITES+=	LOCAL/rm:http_auth_ldap
DISTFILES+=	http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION}.tar.gz:http_auth_ldap
CONFIGURE_ARGS+=--add-module=${WRKDIR}/http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION}
USE_OPENLDAP=	yes
.endif

.if ${PORT_OPTIONS:MHTTP_AUTH_PAM}
NGINX_AUTH_PAM_VERSION=	1.2
MASTER_SITES+=	http://web.iti.upv.es/~sto/nginx/:auth_pam
DISTFILES+=	ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_AUTH_REQ}
NGINX_AUTH_REQ_VERSION=	0.2
MASTER_SITES+=	http://mdounin.ru/files/:auth_request
DISTFILES+=	ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION}.tar.gz:auth_request
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION}
.endif

.if empty(PORT_OPTIONS:MHTTP_CACHE)
CONFIGURE_ARGS+=--without-http-cache
.endif

.if ${PORT_OPTIONS:MCACHE_PURGE}
NGINX_CACHE_PURGE_VERSION=	2.1
MASTER_SITES+=	http://labs.frickle.com/files/:cache_purge
DISTFILES+=	ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}
.endif

.if ${PORT_OPTIONS:MCTPP2}
LIB_DEPENDS+=	ctpp2:${PORTSDIR}/textproc/ctpp2
NGINX_CTPP2_VERSION=	0.5
MASTER_SITES+=	http://dl.vbart.ru/ngx-ctpp/:ctpp2
DISTFILES+=	ngx_ctpp2-${NGINX_CTPP2_VERSION}.tar.gz:ctpp2
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_ctpp2-${NGINX_CTPP2_VERSION}
.endif

.if ${PORT_OPTIONS:MECHO}
NGINX_ECHO_VERSION=	0.42
GIT_ECHO_VERSION=	0-gfb90d17
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/echo-nginx-module/tarball/v${NGINX_ECHO_VERSION}/:echo
DISTFILES+=	agentzh-echo-nginx-module-v${NGINX_ECHO_VERSION}-${GIT_ECHO_VERSION}.tar.gz:echo
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-echo-nginx-module-${GIT_ECHO_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHEADERS_MORE}
NGINX_HEADERS_MORE_VERSION=	0.19
GIT_HEADERS_MORE_VERSION=	0-g27bcbd2
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/headers-more-nginx-module/tarball/v${NGINX_HEADERS_MORE_VERSION}/:headers_more
DISTFILES+=	agentzh-headers-more-nginx-module-v${NGINX_HEADERS_MORE_VERSION}-${GIT_HEADERS_MORE_VERSION}.tar.gz:headers_more
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-headers-more-nginx-module-${GIT_HEADERS_MORE_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV)
CONFIGURE_ARGS+=--with-http_dav_module
.endif

.if ${PORT_OPTIONS:MHTTP_DAV_EXT}
USE_HTTP_DAV=	yes
LIB_DEPENDS+=	expat:${PORTSDIR}/textproc/expat2
NGINX_DAV_EXT_VERSION=	0.0.2
GIT_DAV_EXT_VERSION=	0-g0e07a3e
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/arut/nginx-dav-ext-module/tarball/v${NGINX_DAV_EXT_VERSION}/:dav_ext
DISTFILES+=	arut-nginx-dav-ext-module-v${NGINX_DAV_EXT_VERSION}-${GIT_DAV_EXT_VERSION}.tar.gz:dav_ext
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-dav-ext-module-${GIT_DAV_EXT_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHTTP_EVAL}
NGINX_EVAL_VERSION=	1.0.3
GIT_EVAL_VERSION=	0-g125fa2e
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/vkholodkov/nginx-eval-module/tarball/${NGINX_EVAL_VERSION}/:eval
DISTFILES+=	vkholodkov-nginx-eval-module-${NGINX_EVAL_VERSION}-${GIT_EVAL_VERSION}.tar.gz:eval
CONFIGURE_ARGS+=--add-module=${WRKDIR}/vkholodkov-nginx-eval-module-${GIT_EVAL_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHTTP_FANCYINDEX}
NGINX_FANCYINDEX_VERSION=	0.3.1
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:fancyindex/}
MASTER_SITE_SUBDIR+=	osa/:fancyindex
DISTFILES+=	ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}.tar.gz:fancyindex
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER}
NGINX_GUNZIP_FILTER_VERSION=	0.4
MASTER_SITES+=	http://mdounin.ru/files/:gunzipfilter
DISTFILES+=	ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_VERSION}.tar.gz:gunzipfilter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_FLV}
CONFIGURE_ARGS+=--with-http_flv_module
.endif

.if ${PORT_OPTIONS:MHTTP_GEOIP}
CONFIGURE_ARGS+=--with-http_geoip_module
LIB_DEPENDS+=	GeoIP:${PORTSDIR}/net/GeoIP
.endif

.if ${PORT_OPTIONS:MHTTP_GZIP_STATIC}
CONFIGURE_ARGS+=--with-http_gzip_static_module
.endif

.if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER}
LIB_DEPENDS+=	gd:${PORTSDIR}/graphics/gd
CONFIGURE_ARGS+=--with-http_image_filter_module
.endif

.if ${PORT_OPTIONS:MHTTP_MP4}
CONFIGURE_ARGS+=--with-http_mp4_module
.endif

.if ${PORT_OPTIONS:MHTTP_MOGILEFS}
NGINX_MOGILEFS_VERSION=	1.0.4
MASTER_SITES+=	http://www.grid.net.ru/nginx/download/:mogilefs
DISTFILES+=	nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_MP4_H264}
NGINX_H264_VERSION=	2.2.7
MASTER_SITES+=	http://h264.code-shop.com/download/:mp4streaming
DISTFILES+=	nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_streaming_module.c
.endif

.if ${PORT_OPTIONS:MHTTP_NOTICE}
GIT_NOTICE_VERSION=	0-g3c95966
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/kr/nginx-notice/tarball/master/:notice
DISTFILES+=	kr-nginx-notice-${GIT_NOTICE_VERSION}.tar.gz:notice
CONFIGURE_ARGS+=--add-module=${WRKDIR}/kr-nginx-notice-${GIT_NOTICE_VERSION:S/^0-g//}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_notice_module.c
.endif

.if ${PORT_OPTIONS:MHTTP_PERL}
CATEGORIES+=	perl5
CONFIGURE_ARGS+=--with-http_perl_module
USE_PERL5=	yes
.endif

.if ${PORT_OPTIONS:MHTTP_PUSH}
NGINX_PUSH_VERSION=	0.692
MASTER_SITES+=	http://pushmodule.slact.net/downloads/:push
DISTFILES+=	nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_PUSH_STREAM}
NGINX_PUSH_STREAM_VERSION=	0.3.4
GIT_PUSH_STREAM_VERSION=	0-g28d9df7
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/wandenberg/nginx-push-stream-module/tarball/${NGINX_PUSH_STREAM_VERSION}/:pushstream
DISTFILES+=	wandenberg-nginx-push-stream-module-${NGINX_PUSH_STREAM_VERSION}-${GIT_PUSH_STREAM_VERSION}.tar.gz:pushstream
CONFIGURE_ARGS+=--add-module=${WRKDIR}/wandenberg-nginx-push-stream-module-${GIT_PUSH_STREAM_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX}
CONFIGURE_ARGS+=--with-http_random_index_module
.endif

.if ${PORT_OPTIONS:MHTTP_REALIP}
CONFIGURE_ARGS+=--with-http_realip_module
.endif

.if ${PORT_OPTIONS:MHTTP_REDIS}
NGINX_REDIS_VERSION=	0.3.6
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:redis/}
MASTER_SITE_SUBDIR+=	osa/:redis
DISTFILES+=	ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_RESPONSE}
NGINX_RESPONSE_VERSION=	0.3
MASTER_SITES+=	http://catap.ru/downloads/nginx/:response
DISTFILES+=	ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_SUBS_FILTER}
USE_HTTP_REWRITE=	yes
NGINX_HTTP_SUBS_FILTER_VERSION=	0.6.2
GIT_HTTP_SUBS_FILTER_VERSION=	0-g27a01b3
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/yaoweibin/ngx_http_substitutions_filter_module/tarball/${NGINX_HTTP_SUBS_FILTER_VERSION}/:subs_filter
DISTFILES+=	yaoweibin-ngx_http_substitutions_filter_module-${NGINX_HTTP_SUBS_FILTER_VERSION}-${GIT_HTTP_SUBS_FILTER_VERSION}.tar.gz:subs_filter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/yaoweibin-ngx_http_substitutions_filter_module-${GIT_HTTP_SUBS_FILTER_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MHTTP_SECURE_LINK}
CONFIGURE_ARGS+=--with-http_secure_link_module
.endif

.if ${PORT_OPTIONS:MHTTP_STATUS}
CONFIGURE_ARGS+=--with-http_stub_status_module
.endif

.if ${PORT_OPTIONS:MHTTP_SUB}
CONFIGURE_ARGS+=--with-http_sub_module
.endif

.if ${PORT_OPTIONS:MHTTP_UPLOAD}
NGINX_UPLOAD_VERSION=	2.2.0
MASTER_SITES+=	http://www.grid.net.ru/nginx/download/:upload
DISTFILES+=	nginx_upload_module-${NGINX_UPLOAD_VERSION}.tar.gz:upload
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upload_module-${NGINX_UPLOAD_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS}
NGINX_UPLOADPROGRESS_VERSION=	0.9.0
GIT_UPLOADPROGRESS_VERSION=	0-ga788dea
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/masterzen/nginx-upload-progress-module/tarball/v${NGINX_UPLOADPROGRESS_VERSION}/:uploadprogress
DISTFILES+=	masterzen-nginx-upload-progress-module-v${NGINX_UPLOADPROGRESS_VERSION}-${GIT_UPLOADPROGRESS_VERSION}.tar.gz:uploadprogress
CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${GIT_UPLOADPROGRESS_VERSION:S/^0-g//}
.endif

.if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) || !empty(PORT_OPTIONS:MSUPERVISORD)
NGINX_UPSTREAM_FAIR_VERSION=	20090923
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
MASTER_SITE_SUBDIR+=	osa/:upstreamfair
DISTFILES+=	nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_UPSTREAM_HASH}
NGINX_UPSTREAM_HASH_VERSION=	0.3.1
MASTER_SITES+=	http://wiki.nginx.org/images/1/11/:upstreamhash
DISTFILES+=	Nginx_upstream_hash-${NGINX_UPSTREAM_HASH_VERSION}.tar.gz:upstreamhash
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_hash-${NGINX_UPSTREAM_HASH_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_upstream.h
.endif

.if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY}
USE_HTTP_SSL=	yes
NGINX_UPSTREAM_STICKY_VERSION=	1.0
MASTER_SITES+=	http://nginx-sticky-module.googlecode.com/files/:upstreamsticky
DISTFILES+=	nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}
.endif

.if ${PORT_OPTIONS:MHTTP_XSLT}
USE_GNOME=	libxml2 libxslt
CONFIGURE_ARGS+=--with-http_xslt_module
.endif

.if ${PORT_OPTIONS:MHTTP_ZIP}
NGINX_ZIP_VERSION=	1.1.6
MASTER_SITES+=	http://mod-zip.googlecode.com/files/:zip
DISTFILES+=	mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip
CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}
.endif

.if ${PORT_OPTIONS:MCHUNKIN}
NGINX_CHUNKIN_VERSION=	0.23
GIT_CHUNKIN_VERSION=	0-g81c04f6
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/chunkin-nginx-module/tarball/v${NGINX_CHUNKIN_VERSION}/:chunkin
DISTFILES+=	agentzh-chunkin-nginx-module-v${NGINX_CHUNKIN_VERSION}-${GIT_CHUNKIN_VERSION}.tar.gz:chunkin
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-chunkin-nginx-module-${GIT_CHUNKIN_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MDRIZZLE}
LIB_DEPENDS+=	drizzle:${PORTSDIR}/databases/drizzle
NGINX_DRIZZLE_VERSION=	0.1.4
GIT_DRIZZLE_VERSION=	0-g59e12ad
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/chaoslawful/drizzle-nginx-module/tarball/v${NGINX_DRIZZLE_VERSION}/:drizzle
DISTFILES+=	chaoslawful-drizzle-nginx-module-v${NGINX_DRIZZLE_VERSION}-${GIT_DRIZZLE_VERSION}.tar.gz:drizzle
CONFIGURE_ARGS+=--add-module=${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_VERSION:S/^0-g//}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-chaoslawful-drizzle-nginx-module-config
.endif

.if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC}
NGINX_DEVEL_KIT_VERSION=	0.2.18
GIT_DEVEL_KIT_VERSION=	0-g48bc5dd
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/simpl/ngx_devel_kit/tarball/v${NGINX_DEVEL_KIT_VERSION}/:devel_kit
DISTFILES+=	simpl-ngx_devel_kit-v${NGINX_DEVEL_KIT_VERSION}-${GIT_DEVEL_KIT_VERSION}.tar.gz:devel_kit
CONFIGURE_ARGS+=--add-module=${WRKDIR}/simpl-ngx_devel_kit-${GIT_DEVEL_KIT_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MENCRYPTSESSION}
NGINX_ENCRYPTSESSION_VERSION=	0.02
GIT_ENCRYPTSESSION_VERSION=	0-gc752861
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/encrypted-session-nginx-module/tarball/v${NGINX_ENCRYPTSESSION_VERSION}/:encryptsession
DISTFILES+=	agentzh-encrypted-session-nginx-module-v${NGINX_ENCRYPTSESSION_VERSION}-${GIT_ENCRYPTSESSION_VERSION}.tar.gz:encryptsession
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-encrypted-session-nginx-module-${GIT_ENCRYPTSESSION_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MGRIDFS}
NGINX_GRIDFS_VERSION=	0.8
GIT_GRIDFS_VERSION=	0-gb5f8113
MONGO_C_DRIVER_VERSION=		0.3.1
GIT_MONGO_C_DRIVER_VERSION=	0-g9b4b232
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/mdirolf/nginx-gridfs/tarball/v${NGINX_GRIDFS_VERSION}/:gridfs
MASTER_SITES+=	https://github.com/mongodb/mongo-c-driver/tarball/v${MONGO_C_DRIVER_VERSION}/:mongo_c
DISTFILES+=	mdirolf-nginx-gridfs-v${NGINX_GRIDFS_VERSION}-${GIT_GRIDFS_VERSION}.tar.gz:gridfs
DISTFILES+=	mongodb-mongo-c-driver-v${MONGO_C_DRIVER_VERSION}-${GIT_MONGO_C_DRIVER_VERSION}.tar.gz:mongo_c
CONFIGURE_ARGS+=--add-module=${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MLET}
NGINX_LET_VERSION=	0.0.4
GIT_LET_VERSION=	0-ga5e1dc5
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/arut/nginx-let-module/tarball/v${NGINX_LET_VERSION}/:let
DISTFILES+=	arut-nginx-let-module-v${NGINX_LET_VERSION}-${GIT_LET_VERSION}.tar.gz:let
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-let-module-${GIT_LET_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MLUA}
LIB_DEPENDS+=	luajit-5.1:${PORTSDIR}/lang/luajit
CONFIGURE_ENV+=	"LUAJIT_INC=${LOCALBASE}/include/luajit-2.0"
CONFIGURE_ENV+=	"LUAJIT_LIB=${LOCALBASE}/lib"
NGINX_LUA_VERSION=	0.7.15
GIT_LUA_VERSION=	0-g57a6471
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/chaoslawful/lua-nginx-module/tarball/v${NGINX_LUA_VERSION}/:lua
DISTFILES+=	chaoslawful-lua-nginx-module-v${NGINX_LUA_VERSION}-${GIT_LUA_VERSION}.tar.gz:lua
CONFIGURE_ARGS+=--add-module=${WRKDIR}/chaoslawful-lua-nginx-module-${GIT_LUA_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MMEMC}
NGINX_MEMC_VERSION=	0.13rc3
GIT_MEMC_VERSION=	0-g4007350
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/memc-nginx-module/tarball/v${NGINX_MEMC_VERSION}/:memc
DISTFILES+=	agentzh-memc-nginx-module-v${NGINX_MEMC_VERSION}-${GIT_MEMC_VERSION}.tar.gz:memc
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-memc-nginx-module-${GIT_MEMC_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MNAXSI}
NGINX_NAXSI_VERSION=	0.50
MASTER_SITES+=	http://naxsi.googlecode.com/files/:naxsi
DISTFILES+=	naxsi-core-${NGINX_NAXSI_VERSION}.tgz:naxsi
CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_src
.endif

.if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE)
LIB_DEPENDS+=	pcre:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+=--with-pcre
.else
PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-nopcre
CONFIGURE_ARGS+=--without-http_rewrite_module \
		--without-pcre
.endif

.if ${PORT_OPTIONS:MPASSENGER}
PASSENGER_VERSION=	3.0.19
MASTER_SITES+=	RF/passenger/:passenger
DISTFILES+=	passenger-${PASSENGER_VERSION}.tar.gz:passenger
CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger-build-nginx.rb
.if empty(PORT_OPTIONS:MDEBUG)
CONFIGURE_ENV+=	OPTIMIZE="yes"
CFLAGS+=	-DNDEBUG
.endif
.endif

.if ${PORT_OPTIONS:MPOSTGRES}
USE_PGSQL=	yes
NGINX_POSTGRES_VERSION=	0.9
MASTER_SITES+=	http://labs.frickle.com/files/:postgres
DISTFILES+=	ngx_postgres-${NGINX_POSTGRES_VERSION}.tar.gz:postgres
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_postgres-config
.endif

.if ${PORT_OPTIONS:MRDS_CSV}
NGINX_RDS_CSV_VERSION=	0.05rc2
GIT_RDS_CSV_VERSION=	0-gc15d3a4
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/rds-csv-nginx-module/tarball/v${NGINX_RDS_CSV_VERSION}/:rdscsv
DISTFILES+=	agentzh-rds-csv-nginx-module-v${NGINX_RDS_CSV_VERSION}-${GIT_RDS_CSV_VERSION}.tar.gz:rdscsv
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-rds-csv-nginx-module-${GIT_RDS_CSV_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MRDS_JSON}
NGINX_RDS_JSON_VERSION=	0.12rc10
GIT_RDS_JSON_VERSION=	0-g74c21b3
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/rds-json-nginx-module/tarball/v${NGINX_RDS_JSON_VERSION}/:rdsjson
DISTFILES+=	agentzh-rds-json-nginx-module-v${NGINX_RDS_JSON_VERSION}-${GIT_RDS_JSON_VERSION}.tar.gz:rdsjson
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-rds-json-nginx-module-${GIT_RDS_JSON_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MREDIS2}
NGINX_REDIS2_VERSION=	0.09
GIT_REDIS2_VERSION=	0-g279beee
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/redis2-nginx-module/tarball/v${NGINX_REDIS2_VERSION}/:redis2
DISTFILES+=	agentzh-redis2-nginx-module-v${NGINX_REDIS2_VERSION}-${GIT_REDIS2_VERSION}.tar.gz:redis2
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-redis2-nginx-module-${GIT_REDIS2_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MRTMP}
NGINX_RTMP_VERSION=	0.9.13
GIT_RTMP_VERSION=	0-gb631008
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/arut/nginx-rtmp-module/tarball/v${NGINX_RTMP_VERSION}/:rtmp
DISTFILES+=	arut-rtmp-nginx-module-v${NGINX_RTMP_VERSION}-${GIT_RTMP_VERSION}.tar.gz:rtmp
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-rtmp-module-${GIT_RTMP_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MSET_MISC}
NGINX_SET_MISC_VERSION=	0.22rc8
GIT_SET_MISC_VERSION=	0-g658c235
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/set-misc-nginx-module/tarball/v${NGINX_SET_MISC_VERSION}/:setmisc
DISTFILES+=	agentzh-set-misc-nginx-module-v${NGINX_SET_MISC_VERSION}-${GIT_SET_MISC_VERSION}.tar.gz:setmisc
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-set-misc-nginx-module-${GIT_SET_MISC_VERSION:S/^0-g//}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-agentzh-set-misc-nginx-module-config
.endif

.if ${PORT_OPTIONS:MSFLOW}
NGINX_SFLOW_VERSION=	0.9.6
MASTER_SITES+=	http://nginx-sflow-module.googlecode.com/files/:sflow
DISTFILES+=	nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \
		${PATCHDIR}/extra-patch-ngx_http_sflow_config.h
.endif

.if ${PORT_OPTIONS:MSLOWFS_CACHE}
NGINX_SLOWFS_CACHE_VERSION=	1.10
MASTER_SITES+=	http://labs.frickle.com/files/:slowfs_cache
DISTFILES+=	ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}
.endif

.if ${PORT_OPTIONS:MSRCACHE}
NGINX_SRCACHE_VERSION=	0.19
GIT_SRCACHE_VERSION=	0-gf957c0f
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/srcache-nginx-module/tarball/v${NGINX_SRCACHE_VERSION}/:srcache
DISTFILES+=	agentzh-srcache-nginx-module-v${NGINX_SRCACHE_VERSION}-${GIT_SRCACHE_VERSION}.tar.gz:srcache
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-srcache-nginx-module-${GIT_SRCACHE_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MSUPERVISORD}
NGINX_SUPERVISORD_VERSION=	1.4
MASTER_SITES+=	http://labs.frickle.com/files/:supervisord
DISTFILES+=	ngx_supervisord-${NGINX_SUPERVISORD_VERSION}.tar.gz:supervisord
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}
.endif

.if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
NGINX_SYSLOG_SUPPORT_FACILITY?=	LOG_DAEMON
CONFIGURE_ARGS+=--with-syslog --with-syslog-facility=${NGINX_SYSLOG_SUPPORT_FACILITY}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-syslog_support
.endif

.if ${PORT_OPTIONS:MTCP_PROXY}
NGINX_TCP_PROXY_VERSION=	0.26
GIT_TCP_PROXY_VERSION=	0-gb83e5a6
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/yaoweibin/nginx_tcp_proxy_module/tarball/v${NGINX_TCP_PROXY_VERSION}/:tcp_proxy
DISTFILES+=	yaoweibin-nginx_tcp_proxy_module-v${NGINX_TCP_PROXY_VERSION}-${GIT_TCP_PROXY_VERSION}.tar.gz:tcp_proxy
CONFIGURE_ARGS+=--add-module=${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MUDPLOG}
NGINX_UDPLOG_VERSION=	1.0.0
MASTER_SITES+=	http://www.grid.net.ru/nginx/download/:udplog
DISTFILES+=	nginx_udplog_module-${NGINX_UDPLOG_VERSION}.tar.gz:udplog
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_udplog_module.c
.endif

.if ${PORT_OPTIONS:MXRID_HEADER}
GIT_XRID_VERSION=	0daa3cc
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/gabor/nginx-x-rid-header/tarball/master/:xrid
DISTFILES+=	gabor-nginx-x-rid-header-${GIT_XRID_VERSION}.tar.gz:xrid
CONFIGURE_ARGS+=--add-module=${WRKDIR}/gabor-nginx-x-rid-header-${GIT_XRID_VERSION}
.endif

.if ${PORT_OPTIONS:MXSS}
NGINX_XSS_VERSION=	0.03rc9
GIT_XSS_VERSION=	0-gbeddbe1
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/xss-nginx-module/tarball/v${NGINX_XSS_VERSION}/:xss
DISTFILES+=	agentzh-xss-nginx-module-v${NGINX_XSS_VERSION}-${GIT_XSS_VERSION}.tar.gz:xss
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-xss-nginx-module-${GIT_XSS_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MWWW}
PLIST_SUB+=	WWWDATA=""
.else
PLIST_SUB+=	WWWDATA="@@comment "
.endif

.else
CONFIGURE_ARGS+=--without-http
PLIST_SUB+=	WWWDATA="@@comment "
.endif		# WITH_HTTP

.if ${PORT_OPTIONS:MMAIL}
CONFIGURE_ARGS+=--with-mail
.if empty(PORT_OPTIONS:MMAIL_IMAP)
CONFIGURE_ARGS+=--without-mail_imap_module
.endif
.if empty(PORT_OPTIONS:MMAIL_POP3)
CONFIGURE_ARGS+=--without-mail_pop3_module
.endif
.if empty(PORT_OPTIONS:MMAIL_SMTP)
CONFIGURE_ARGS+=--without-mail_smtp_module
.endif
.if ${PORT_OPTIONS:MMAIL_SSL}
NGINX_OPENSSL=	yes
CONFIGURE_ARGS+=--with-mail_ssl_module
.endif
.endif		# WITH_MAIL

.if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL)
NGINX_OPENSSL=	yes
CONFIGURE_ARGS+=--with-http_ssl_module
.endif

.if ${PORT_OPTIONS:MARRAYVAR}
NGINX_ARRAYVAR_VERSION=	0.03rc1
GIT_ARRAYVAR_VERSION=	0-gfed751a
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/agentzh/array-var-nginx-module/tarball/v${NGINX_ARRAYVAR_VERSION}/:arrayvar
DISTFILES+=	agentzh-array-var-nginx-module-v${NGINX_ARRAYVAR_VERSION}-${GIT_ARRAYVAR_VERSION}.tar.gz:arrayvar
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-array-var-nginx-module-${GIT_ARRAYVAR_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MFORMINPUT}
NGINX_FORMINPUT_VERSION=	0.07
GIT_FORMINPUT_VERSION=	0-g78de845
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/calio/form-input-nginx-module/tarball/v${NGINX_FORMINPUT_VERSION}/:forminput
DISTFILES+=	calio-form-input-nginx-module-v${NGINX_FORMINPUT_VERSION}-${GIT_FORMINPUT_VERSION}.tar.gz:forminput
CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-form-input-nginx-module-${GIT_FORMINPUT_VERSION:S/^0-g//}
.endif

.if ${PORT_OPTIONS:MICONV}
LIB_DEPENDS+=	iconv:${PORTSDIR}/converters/libiconv
NGINX_ICONV_VERSION=	0.10rc7
GIT_ICONV_VERSION=	0-gabdac17
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/calio/iconv-nginx-module/tarball/v${NGINX_ICONV_VERSION}/:iconv
DISTFILES+=	calio-iconv-nginx-module-v${NGINX_ICONV_VERSION}-${GIT_ICONV_VERSION}.tar.gz:iconv
CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_VERSION:S/^0-g//}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config
.endif

PLIST_SUB+=	NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

USERS?=	${WWWOWN}
GROUPS?=${WWWGRP}

.if defined(NGINX_OPENSSL)
USE_OPENSSL=	yes
.endif

pre-everything::
	@@${ECHO_MSG}
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR}
	@@${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support"
.endif
.if ${PORT_OPTIONS:MPASSENGER}
	@@${ECHO_MSG} "This port install Passenger module only"
.endif
	@@${ECHO_MSG}

post-extract:
.if ${PORT_OPTIONS:MGRIDFS}
	@@${RMDIR} ${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/mongo-c-driver/
	@@${MV} \
	${WRKDIR}/mongodb-mongo-c-driver-${GIT_MONGO_C_DRIVER_VERSION:S/^0-g//}/ \
	${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/mongo-c-driver/
.endif

post-patch:
	@@${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \
		s!%%PREFIX%%!${PREFIX}!' \
		${WRKSRC}/conf/nginx.conf
.if ${PORT_OPTIONS:MHTTP_ACCESSKEY}
	@@${REINPLACE_CMD} \
		's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \
		${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config
.endif
# linker error acquire if --std=c99 defined, add "static" to inline function
.if ${PORT_OPTIONS:MHTTP_ZIP}
	@@${REINPLACE_CMD} \
		's!^inline!static inline!' \
		${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.*
.endif
.if ${PORT_OPTIONS:MDRIZZLE}
	@@${REINPLACE_CMD} \
		's!%%PREFIX%%!${LOCALBASE}!g' \
		${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_VERSION:S/^0-g//}/config
.endif
# Respect CFLAGS by remove needless --std=c99 flag
.if ${PORT_OPTIONS:MGRIDFS}
	@@${REINPLACE_CMD} \
		's!--std=c99!-DMONGO_HAVE_STDINT!' \
		${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/config
.endif
.if ${PORT_OPTIONS:MPASSENGER}
	@@${REINPLACE_CMD} 's!-Wall!!g; \
		s!#{PlatformInfo.debugging_cflags}!${CFLAGS}!g; \
		s!-O2!!g; \
		42s!true!false!' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/build/config.rb
	@@${REINPLACE_CMD} \
		's!-I/usr/include/libev!!; \
		s!-lev!!; \
		s!-Iext/libev!!' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb
.endif
.if ${PORT_OPTIONS:MPOSTGRES}
	@@${REINPLACE_CMD} \
		's!%%PREFIX%%!${LOCALBASE}!g' \
		${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION}/config
.endif
.if ${PORT_OPTIONS:MSFLOW}
	@@${REINPLACE_CMD} \
		's!%%PREFIX%%!${LOCALBASE}!g' \
		${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h
.endif
.if ${PORT_OPTIONS:MSUPERVISORD}
	( cd ${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} && \
		${PATCH} -p0 < \
			${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_fair_module.patch )
	( cd ${WRKSRC} && \
		${PATCH} -p0 < \
			${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_init_busy-0.8.17.patch )
.endif
.if ${PORT_OPTIONS:MTCP_PROXY}
	( cd ${WRKSRC} && \
		${PATCH} -p1 < \
			${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//}/tcp.patch )
.endif
.if ${PORT_OPTIONS:MICONV}
	@@${REINPLACE_CMD} \
		's!%%PREFIX%%!${LOCALBASE}!g' \
		${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_VERSION:S/^0-g//}/config
.endif

do-build:
	@@cd ${WRKSRC} && ${MAKE}

do-install:
	${MKDIR} ${ETCDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin
.for i in koi-utf koi-win win-utf
	${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}
.endfor
.for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params
	[ -f ${ETCDIR}/${i} ] || \
		${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}
	${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}/${i}-dist
.endfor
.if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW)
	${MKDIR} ${PREFIX}/www/nginx-dist
.for i in index.html 50x.html
	${INSTALL_DATA} ${WRKSRC}/html/${i} ${PREFIX}/www/nginx-dist
.endfor
	${ECHO_CMD} "" >>${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
	[ -e ${PREFIX}/www/nginx ] || \
		${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx
.endif

.if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL)
	${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx
	${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
		${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx
	${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs \
		${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx
	${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
		${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/
.endif

.if ${PORT_OPTIONS:MNAXSI}
	${INSTALL_DATA} \
	${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \
	${ETCDIR}
.endif

post-install:
.if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL)
	${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.so >> ${TMPPLIST}
	${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.bs >> ${TMPPLIST}
	${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST}
	${ECHO_CMD} @@dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST}
.endif
.if !defined(NO_INSTALL_MANPAGES)
	@@${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${MAN8PREFIX}/man/man8
.endif

.if ${PORT_OPTIONS:MNAXSI}
	${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST}
.endif

.include <bsd.port.mk>
@


1.391
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314818
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314818 2013-03-21 07:17:23Z osa $
d707 2
a708 2
NGINX_RTMP_VERSION=	0.9.12
GIT_RTMP_VERSION=	0-g6d328d3
@


1.390
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314798
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314798 2013-03-21 02:54:52Z osa $
d562 2
a563 2
NGINX_CHUNKIN_VERSION=	0.22rc1
GIT_CHUNKIN_VERSION=	0-gb0a3ee3
@


1.389
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314677
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314677 2013-03-19 18:50:47Z osa $
d643 1
a643 1
NGINX_NAXSI_VERSION=	0.49
d707 2
a708 2
NGINX_RTMP_VERSION=	0.9.11
GIT_RTMP_VERSION=	0-gcb5e1df
@


1.388
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314675
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314675 2013-03-19 18:41:57Z osa $
a757 1
IGNORE= incompatible with syslog_support patch
@


1.387
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314672
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314672 2013-03-19 18:36:00Z osa $
d707 2
a708 2
NGINX_RTMP_VERSION=	0.9.8
GIT_RTMP_VERSION=	0-g568ce8f
@


1.386
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314170
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 314170 2013-03-14 16:47:23Z sbz $
d325 1
a325 1
NGINX_CACHE_PURGE_VERSION=	2.0
@


1.385
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313591
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 313591 2013-03-07 14:30:47Z osa $
d643 1
a643 1
NGINX_NAXSI_VERSION=	0.46-1
d645 2
a646 3
DISTFILES+=	naxsi-${NGINX_NAXSI_VERSION}.tgz:naxsi
CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_src
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-naxsi_runtime.c
d990 1
a990 1
	${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \
@


1.384
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312862
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312862 2013-02-24 07:03:47Z osa $
d736 1
a736 1
NGINX_SLOWFS_CACHE_VERSION=	1.9
@


1.383
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312805
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312805 2013-02-23 10:44:18Z osa $
d708 2
a709 2
NGINX_RTMP_VERSION=	0.8.7
GIT_RTMP_VERSION=	0-g544c73b
@


1.382
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312634
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312634 2013-02-20 17:47:36Z osa $
d340 2
a341 2
NGINX_ECHO_VERSION=	0.41
GIT_ECHO_VERSION=	0-gd3eb42d
d349 2
a350 2
NGINX_HEADERS_MORE_VERSION=	0.18
GIT_HEADERS_MORE_VERSION=	0-g6586984
d625 2
a626 2
NGINX_LUA_VERSION=	0.6.10
GIT_LUA_VERSION=	0-g73d8dd2
d743 2
a744 2
NGINX_SRCACHE_VERSION=	0.16
GIT_SRCACHE_VERSION=	0-g9350a49
d842 2
a843 2
NGINX_FORMINPUT_VERSION=	0.07rc5
GIT_FORMINPUT_VERSION=	0-gd41681d
@


1.381
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312593
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312593 2013-02-19 17:36:55Z osa $
d298 2
a299 1
GIT_HTTP_AUTH_LDAP_VERSION=	c2c3d5ea4919
@


1.380
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312147
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312147 2013-02-13 09:23:58Z osa $
d66 1
d154 1
d454 9
@


1.379
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312141
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 312141 2013-02-13 04:33:53Z osa $
d6 1
@


1.378
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311829
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 311829 2013-02-07 12:37:48Z gahr $
d5 1
a5 1
PORTVERSION=	1.2.6
d746 1
@


1.377
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311809
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 311809 2013-02-07 03:16:16Z osa $
a900 2
	@@${REINPLACE_CMD} 's!-lpthread!${PTHREAD_LIBS}!g' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx/config
a910 2
	@@${REINPLACE_CMD} 's!-lpthread!${PTHREAD_LIBS}!g' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/lib/phusion_passenger/platform_info/compiler.rb
@


1.376
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310538
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 310538 2013-01-17 03:36:31Z osa $
d568 9
a577 1
USE_NGINX_DEVEL_KIT=	yes
a611 1
USE_NGINX_DEVEL_KIT=	yes
a703 1
USE_NGINX_DEVEL_KIT=	yes
a817 9
.if defined(USE_NGINX_DEVEL_KIT)
NGINX_DEVEL_KIT_VERSION=	0.2.17
GIT_DEVEL_KIT_VERSION=	0-gbc97eea
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/simpl/ngx_devel_kit/tarball/v${NGINX_DEVEL_KIT_VERSION}/:devel_kit
DISTFILES+=	simpl-ngx_devel_kit-v${NGINX_DEVEL_KIT_VERSION}-${GIT_DEVEL_KIT_VERSION}.tar.gz:devel_kit
CONFIGURE_ARGS+=--add-module=${WRKDIR}/simpl-ngx_devel_kit-${GIT_DEVEL_KIT_VERSION:S/^0-g//}
.endif

a818 1
USE_NGINX_DEVEL_KIT=	yes
a827 1
USE_NGINX_DEVEL_KIT=	yes
a837 1
USE_NGINX_DEVEL_KIT=	yes
@


1.375
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310153
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310153 | osa | 2013-01-09 15:52:34 +0000 (Wed, 09 Jan 2013) | 25 lines
## SVN ##
## SVN ## Update from 3.0.17 to 3.0.19:
## SVN ##
## SVN ## o) www/rubygem-passenger;
## SVN ## o) third-party passenger module for www/nginx and www/nginx-devel.
## SVN ##
## SVN ## <Changes>
## SVN ##
## SVN ## Release 3.0.19
## SVN ## --------------
## SVN ##
## SVN ## * Nginx security fix: do not display Nginx version when
## SVN ##   server_tokens are off.
## SVN ## * Fixed compilation problems on some systems.
## SVN ## * Fixed some Union Station-related bugs.
## SVN ##
## SVN ## Release 3.0.18
## SVN ## --------------
## SVN ##
## SVN ## * Fixed compilation problems on Fedora 17.
## SVN ## * Fixed Union Station compatibility with Rails 3.2.
## SVN ## * Phusion Passenger Enterprise Standalone now supports rolling
## SVN ##   restarts and deployment error resistance.
## SVN ##
## SVN ## </Changes>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 310153 2013-01-09 15:52:34Z osa $
d688 2
a689 2
NGINX_RTMP_VERSION=	0.8.4
GIT_RTMP_VERSION=	0-g2aeefa3
@


1.374
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309338
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309338 | osa | 2012-12-21 05:20:28 +0000 (Fri, 21 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update rtmp third-party module from 0.6.1 to 0.8.4.
## SVN ##
## SVN ## Spotted by:	Roman Arutyunyan <arutyunyan.roman@@gmail.com> (author)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 309338 2012-12-21 05:20:28Z osa $
d640 1
a640 1
PASSENGER_VERSION=	3.0.17
@


1.373
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308706
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308706 | osa | 2012-12-11 19:05:27 +0000 (Tue, 11 Dec 2012) | 2 lines
## SVN ##
## SVN ## Update third-party ngx_cache_purge module from 1.6 to 2.0.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 308706 2012-12-11 19:05:27Z osa $
d688 2
a689 2
NGINX_RTMP_VERSION=	0.6.1
GIT_RTMP_VERSION=	0-gf1eeb39
@


1.372
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308705
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308705 | osa | 2012-12-11 18:51:14 +0000 (Tue, 11 Dec 2012) | 14 lines
## SVN ##
## SVN ## Update from 1.2.5 to 1.2.6.
## SVN ##
## SVN ## <ChangeLog>
## SVN ##
## SVN ## *) Feature: the $request_time and $msec variables can now be used not
## SVN ##    only in the "log_format" directive.
## SVN ##
## SVN ## *) Bugfix: cache manager and cache loader processes might not be able to
## SVN ##    start if more than 512 listen sockets were used.
## SVN ##
## SVN ## *) Bugfix: in the ngx_http_dav_module.
## SVN ##
## SVN ## </ChangeLog>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 308705 2012-12-11 18:51:14Z osa $
d321 1
a321 1
NGINX_CACHE_PURGE_VERSION=	1.6
@


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


1.370
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307636
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307636 | osa | 2012-11-22 03:47:20 +0000 (Thu, 22 Nov 2012) | 6 lines
## SVN ##
## SVN ## Use more canonical names for patches.
## SVN ## No functionaly changes.
## SVN ## Don't bump PORTREVISION.
## SVN ##
## SVN ## Feature safe: yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 307636 2012-11-22 03:47:20Z osa $
d6 1
@


1.369
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307382
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307382 | osa | 2012-11-13 15:58:00 +0000 (Tue, 13 Nov 2012) | 25 lines
## SVN ##
## SVN ## Update from 1.2.4 to 1.2.5.
## SVN ##
## SVN ## Feature safe: yes
## SVN ##
## SVN ## <ChangeLog>
## SVN ##
## SVN ## *) Feature: the "optional_no_ca" parameter of the "ssl_verify_client"
## SVN ##    directive.
## SVN ##    Thanks to Mike Kazantsev and Eric O'Connor.
## SVN ##
## SVN ## *) Feature: the $bytes_sent, $connection, and $connection_requests
## SVN ##    variables can now be used not only in the "log_format" directive.
## SVN ##    Thanks to Benjamin Gr?\209?\134?\226?\149?\164ssing.
## SVN ##
## SVN ## *) Feature: resolver now randomly rotates addresses returned from cache.
## SVN ##    Thanks to Anton Jouline.
## SVN ##
## SVN ## *) Feature: the "auto" parameter of the "worker_processes" directive.
## SVN ##
## SVN ## *) Bugfix: "cache file ... has md5 collision" alert.
## SVN ##
## SVN ## *) Bugfix: OpenSSL 0.9.7 compatibility.
## SVN ##
## SVN ## </ChangeLog>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 307382 2012-11-13 15:58:00Z osa $
d565 1
a565 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-chaoslawful-drizzle-nginx-module::config
d644 1
a644 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger::build::nginx.rb
d657 1
a657 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_postgres::config
d704 1
a704 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-agentzh-set-misc-nginx-module::config
d850 1
a850 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-calio-iconv-nginx-module::config
@


1.368
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/nginx/Makefile 305998 2012-10-17 02:17:42Z osa $
d5 1
a5 1
PORTVERSION=	1.2.4
@


1.367
log
@SVN rev 305998 on 2012-10-17 02:17:42Z by osa

Update third-party modules:

o) drizzle - from 0.1.2 to 0.1.4;
o) lua     - from 0.5.14 to 0.6.10;
o) redis2  - from 0.08rc4 to 0.09;
o) rtmp    - from 0.2.3 to 0.6.1;
o) srcache - from 0.14 to 0.16.

Convert header to modern manner.

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.366
log
@SVN rev 304873 on 2012-09-26 03:18:26Z by osa

Update from 1.2.3 to 1.2.4.

<ChangeLog>

*) Bugfix: in the "limit_req" directive; the bug had appeared in 1.1.14.
   Thanks to Charles Chen.

*) Bugfix: nginx could not be built by gcc 4.7 with -O2 optimization if
   the --with-ipv6 option was used.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "map" directive was used with variables as values.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "geo" directive was used with the "ranges" parameter but without the
   "default" parameter; the bug had appeared in 0.8.43.
   Thanks to Zhen Chen and Weibin Yao.

*) Bugfix: in the -p command-line parameter handling.

*) Bugfix: in the mail proxy server.

*) Bugfix: of minor potential bugs.
   Thanks to Coverity.

*) Bugfix: nginx/Windows could not be built with Visual Studio 2005
   Express.
   Thanks to HAYASHI Kentaro.

</ChangeLog>
@
text
@d1 1
a1 4
# New ports collection makefile for:	nginx
# Date created:				11 Oct 2004
# Whom:					osa
#
a2 1
#
d559 2
a560 2
NGINX_DRIZZLE_VERSION=	0.1.2
GIT_DRIZZLE_VERSION=	0-gb05c67f
d605 2
a606 2
NGINX_LUA_VERSION=	0.5.14
GIT_LUA_VERSION=	0-g7b363ee
d679 2
a680 2
NGINX_REDIS2_VERSION=	0.08rc4
GIT_REDIS2_VERSION=	0-g5044f16
d688 2
a689 2
NGINX_RTMP_VERSION=	0.2.3
GIT_RTMP_VERSION=	0-gf7f24ba
a693 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_rtmp_exec_module.c
d724 2
a725 2
NGINX_SRCACHE_VERSION=	0.14
GIT_SRCACHE_VERSION=	0-gbee0276
@


1.365
log
@SVN rev 304561 on 2012-09-20 03:56:11Z by osa

Add third-party CT++ module.

Subnmitted:	Veniamin Gvozdikov <g.veniamin@@googlemail.com>
PR:		171702
@
text
@d9 1
a9 2
PORTVERSION=	1.2.3
PORTREVISION=	1
@


1.364
log
@SVN rev 304560 on 2012-09-20 03:44:21Z by osa

Add third-party http_auth_ldap module.

Submitted by:	rm
PR:		171745
@
text
@d54 1
d140 1
d332 8
@


1.363
log
@SVN rev 304538 on 2012-09-19 18:29:13Z by osa

Fix rc script for nginx with profiles.		(*)
Configure build with original http_dav if third-party http_dav_ext defined.

Bump PORTREVISIONs.

Found by:	Slava Kokorin <slava.kokorin@@gmail.com> (*)
@
text
@d59 1
d144 1
d297 8
@


1.362
log
@SVN rev 303294 on 2012-08-28 18:01:09Z by osa

Update from 3.0.15 to 3.0.17:

o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
@
text
@d10 1
d338 1
a338 1
.if ${PORT_OPTIONS:MHTTP_DAV}
d343 1
@


1.361
log
@SVN rev 303192 on 2012-08-26 16:56:32Z by osa

Update third-party http_substitutions_filter module to "numeric"
release - 0.6.2.
@
text
@d623 1
a623 1
PASSENGER_VERSION=	3.0.15
@


1.360
log
@SVN rev 303186 on 2012-08-26 10:58:50Z by osa

Update third-party http_substitutions_filter module to latest snapshot.
@
text
@d459 2
a460 1
GIT_HTTP_SUBS_FILTER_VERSION=	0-g183b4a1
d462 2
a463 2
MASTER_SITES+=	https://github.com/yaoweibin/ngx_http_substitutions_filter_module/tarball/master/:subs_filter
DISTFILES+=	yaoweibin-ngx_http_substitutions_filter_module-${GIT_HTTP_SUBS_FILTER_VERSION}.tar.gz:subs_filter
@


1.359
log
@SVN rev 302838 on 2012-08-21 03:38:25Z by osa

Update third-party http_substitutions_filter module from 0.5.2.r59 to 0.6.0,
relocated to github.

Fix typo for upstream_fair module.				[*]

Submitted by:		Artis Caune <Artis.Caune@@gmail.com>	[*]
PR:			170795					[*]
@
text
@d459 1
a459 1
GIT_HTTP_SUBS_FILTER_VERSION=	0-gb32237d
@


1.358
log
@SVN rev 302583 on 2012-08-15 16:02:13Z by osa

Update third-party modules (sync with openresty-1.2.1.14):

o) lua from 0.5.13 to 0.5.14;
o) srcache from 0.13rc8 to 0.14.
@
text
@d459 5
a463 6
NGINX_HTTP_SUBS_FILTER_VERSION=	0.5.2.r59
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:subs_filter/}
MASTER_SITE_SUBDIR+=	osa/:subs_filter
DISTFILES+=	ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_VERSION}.tar.gz:subs_filter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_VERSION}
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_subs_filter_module.c
d847 1
a847 1
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR)
@


1.357
log
@SVN rev 302474 on 2012-08-13 16:38:07Z by osa

Update third-party modules (sync with openresty-1.2.1.13):

o) lua from 0.5.12 to 0.5.13;
o) echo from 0.38rc2 to 0.41.
@
text
@d588 2
a589 2
NGINX_LUA_VERSION=	0.5.13
GIT_LUA_VERSION=	0-ga70c1e4
d708 2
a709 2
NGINX_SRCACHE_VERSION=	0.13rc8
GIT_SRCACHE_VERSION=	0-g5237f26
@


1.356
log
@SVN rev 302253 on 2012-08-07 17:30:44Z by osa

Update third-party modules (sync with openresty-1.2.1.9):

o) lua from 0.5.7 to 0.5.12;
o) headers_more from 0.17 to 0.18;
o) drizzle from 0.1.2rc7 to 0.1.2.
@
text
@d320 2
a321 2
NGINX_ECHO_VERSION=	0.38rc2
GIT_ECHO_VERSION=	0-g43c8843
d588 2
a589 2
NGINX_LUA_VERSION=	0.5.12
GIT_LUA_VERSION=	0-g3388d42
@


1.355
log
@SVN rev 302251 on 2012-08-07 17:12:09Z by osa

Update from 1.2.2 to 1.2.3.

<ChangeLog>

*) Feature: the Clang compiler support.

*) Bugfix: extra listening sockets might be created.
   Thanks to Roman Odaisky.

*) Bugfix: nginx/Windows might hog CPU if a worker process failed to
   start.
   Thanks to Ricardo Villalobos Guevara.

*) Bugfix: the "proxy_pass_header", "fastcgi_pass_header",
   "scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header",
   "fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header"
   directives might be inherited incorrectly.

*) Bugfix: trailing dot in a source value was not ignored if the "map"
   directive was used with the "hostnames" parameter.

*) Bugfix: incorrect location might be used to process a request if a
   URI was changed via a "rewrite" directive before an internal redirect
   to a named location.

</ChangeLog>
@
text
@d329 2
a330 2
NGINX_HEADERS_MORE_VERSION=	0.17
GIT_HEADERS_MORE_VERSION=	0-gb7c8cfc
d542 2
a543 2
NGINX_DRIZZLE_VERSION=	0.1.2rc7
GIT_DRIZZLE_VERSION=	0-g272cabf
d588 2
a589 2
NGINX_LUA_VERSION=	0.5.7
GIT_LUA_VERSION=	0-g54c0a35
@


1.354
log
@SVN rev 302000 on 2012-08-04 06:01:12Z by osa

Update from 3.0.14 to 3.0.15:

o) www/rubygem-passenger;
o) third-party modules for www/nginx and www/nginx-devel.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2
@


1.353
log
@SVN rev 301802 on 2012-07-31 17:50:50Z by osa

Update:

o) third-party rtmp module from 0.1.10 to 0.2.3;		(*)
o) prefix path for third-party sflow module.

Requested by:	Rudolph Sand aka r dot sand at new-net dot net	(*)
@
text
@d623 1
a623 1
PASSENGER_VERSION=	3.0.14
@


1.352
log
@SVN rev 301543 on 2012-07-26 06:28:01Z by ak

- Fix MAIL_* options

Approved by:	osa (maintainer)
@
text
@d671 2
a672 2
NGINX_RTMP_VERSION=	0.1.10
GIT_RTMP_VERSION=	0-g80db4c4
d696 2
a697 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_sflow_config.c
d911 5
@


1.351
log
@SVN rev 301327 on 2012-07-22 13:39:34Z by osa

Update passenger from 3.0.13 to 3.0.14.
@
text
@d775 1
a775 1
.if empty(PORT_OPTIONS:NMAIL_IMAP)
d778 1
a778 1
.if empty(PORT_OPTIONS:NMAIL_POP3)
d781 1
a781 1
.if empty(PORT_OPTIONS:NMAIL_SMTP)
@


1.350
log
@SVN rev 300963 on 2012-07-16 17:47:56Z by osa

Move rc script nginx.sh.in to more canonical nginx.in.
@
text
@d623 1
a623 1
PASSENGER_VERSION=	3.0.13
@


1.349
log
@SVN rev 300961 on 2012-07-16 17:38:33Z by osa

Update third-party modules:

o) lua from 0.5.0rc30 to 0.5.7;
o) headers_more from 0.17rc1 to 0.17.
s/_MODULE//.
@
text
@d211 1
a211 1
USE_RC_SUBR=	nginx.sh
@


1.348
log
@Update from 1.2.1 to 1.2.2.

<ChangeLog>

*) Change: the "single" parameter of the "keepalive" directive is now
   ignored.

*) Change: SSL compression is now disabled when using all versions of
   OpenSSL, including ones prior to 1.0.0.

*) Feature: the "proxy_pass", "fastcgi_pass", "scgi_pass", "uwsgi_pass"
   directives, and the "server" directive inside the "upstream" block,
   now support IPv6 addresses.

*) Feature: the "resolver" directive now support IPv6 addresses and an
   optional port specification.

*) Feature: the "least_conn" directive inside the "upstream" block.

*) Feature: it is now possible to specify a weight for servers while
   using the "ip_hash" directive.

*) Feature: it is now possible to use the "ip_hash" directive to balance
   IPv6 clients.

*) Feature: the $status variable can now be used not only in the
   "log_format" directive.

*) Bugfix: nginx could not be built with ngx_cpp_test_module; the bug
   had appeared in 1.1.12.

*) Bugfix: access to variables from SSI and embedded perl module might
   not work after reconfiguration.
   Thanks to Yichun Zhang.

*) Bugfix: in the ngx_http_xslt_filter_module.
   Thanks to Kuramoto Eiji.

*) Bugfix: memory leak if $geoip_org variable was used.
   Thanks to Denis F. Latypoff.

*) Bugfix: in the "proxy_cookie_domain" and "proxy_cookie_path"
   directives.

*) Bugfix: a segmentation fault might occur in a worker process on
   shutdown if the "resolver" directive was used.

*) Bugfix: a segmentation fault might occur in a worker process if the
   ngx_http_mp4_module was used.

*) Bugfix: in the ngx_http_mp4_module.

*) Bugfix: a segmentation fault might occur in a worker process if
   conflicting wildcard server names were used.

*) Bugfix: nginx might be terminated abnormally on a SIGBUS signal on
   ARM platform.

*) Bugfix: an alert "sendmsg() failed (9: Bad file number)" on HP-UX
   while reconfiguration.

</ChangeLog>
@
text
@d329 2
a330 2
NGINX_HEADERS_MORE_VERSION=	0.17rc1
GIT_HEADERS_MORE_VERSION=	0-g3580526
d588 2
a589 2
NGINX_LUA_VERSION=	0.5.0rc30
GIT_LUA_VERSION=	0-g3b1e9aa
@


1.347
log
@Update third-party modules:

o) cache_purge from 1.5 to 1.6;
o) slowfs_cache from 1.8 to 1.9;
o) upload_progress from 0.8.3 to 0.9.0.	[*]

Remove needless extra patch.

PR:	169602				[*]
@
text
@d9 1
a9 2
PORTVERSION=	1.2.1
PORTREVISION=	2
d464 1
d610 1
@


1.346
log
@Truncate variable name for third-party h264_streaming module, s/_MODULE//.
@
text
@d314 1
a314 1
NGINX_CACHE_PURGE_VERSION=	1.5
d487 2
a488 2
NGINX_UPLOADPROGRESS_VERSION=	0.8.3
GIT_UPLOADPROGRESS_VERSION=	0-gc7c663f
a492 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_uploadprogress_module.c
d699 1
a699 1
NGINX_SLOWFS_CACHE_VERSION=	1.8
@


1.345
log
@Fix build without mail-specific modules after switch to OptionsNG.

PR:	169498
@
text
@d406 1
a406 1
NGINX_H264_MODULE_VERSION=	2.2.7
d408 2
a409 2
DISTFILES+=	nginx_mod_h264_streaming-${NGINX_H264_MODULE_VERSION}.tar.gz:mp4streaming
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_MODULE_VERSION}
@


1.344
log
@Add third-party tcp_proxy module, ver.0.26,
https://github.com/yaoweibin/nginx_tcp_proxy_module/

Requested by:	Weibin Yao <yaoweibin@@gmail.com>
@
text
@d775 1
a775 1
.if ${PORT_OPTIONS:NMAIL_IMAP}
d778 1
a778 1
.if ${PORT_OPTIONS:NMAIL_POP3}
d781 1
a781 1
.if ${PORT_OPTIONS:NMAIL_SMTP}
d784 1
a784 1
.if ${PORT_OPTIONS:MMAIL_SSL)
@


1.343
log
@Do not require specific versions of shared libraries.
@
text
@d100 1
d185 1
d728 9
d918 5
@


1.342
log
@Update subs_filter third-party module from 0.5.2.r53 to 0.5.2.r59.
Configure pcre module support if subs_filter module defined.
@
text
@d253 1
a253 1
LIB_DEPENDS+=	profiler.1:${PORTSDIR}/devel/google-perftools
d341 1
a341 1
LIB_DEPENDS+=	expat.6:${PORTSDIR}/textproc/expat2
d380 1
a380 1
LIB_DEPENDS+=	GeoIP.5:${PORTSDIR}/net/GeoIP
d388 1
a388 1
LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
d540 1
a540 1
LIB_DEPENDS+=	drizzle.0:${PORTSDIR}/databases/drizzle
d583 1
a583 1
LIB_DEPENDS+=	luajit-5.1.2:${PORTSDIR}/lang/luajit
d612 1
a612 1
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
@


1.341
log
@Remove needless bsd.ports.[pre|post].mk includes, use bsd.port.mk.
@
text
@d457 2
a458 1
NGINX_HTTP_SUBS_FILTER_VERSION=	0.5.2.r53
d611 1
a611 1
.if ${PORT_OPTIONS:MHTTP_REWRITE}
@


1.340
log
@Update third-party modules:

o) drizzle - from 0.1.2rc6 to 0.1.2rc7, sync with
   ngx_openresty 1.0.15.10 stable;
o) rtmp    - from 0.1.5 to 0.1.10.

Do not bump PORTREVISION because these modules are disabled by default.
@
text
@a828 2
.include <bsd.port.pre.mk>

d967 1
a967 1
.include <bsd.port.post.mk>
@


1.339
log
@Update from 3.0.12 to 3.0.13:

o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
@
text
@d540 2
a541 2
NGINX_DRIZZLE_VERSION=	0.1.2rc6
GIT_DRIZZLE_VERSION=	0-ge05b5ff
d668 2
a669 2
NGINX_RTMP_VERSION=	0.1.5
GIT_RTMP_VERSION=	0-gd216f3d
d674 1
@


1.338
log
@Create temporary directory with install(1).
Remove duplicate code from Makefile and pkg-plist.

Bump PORTREVISION.

Requested by:	dougb
@
text
@d620 1
a620 1
PASSENGER_VERSION=	3.0.12
@


1.337
log
@Check existence temporary directory %%NGINX_TMPDIR%% before
test configuration.	(1)
Use %%NGINX_RUNDIR%%, %%WWWOWN%% and %%WWWGRP%% variables defined
in Makefile instead of hardcoded or new values.

Bump PORTREVISION.

Idea from PR:	168836	(1)
@
text
@d10 1
a10 1
PORTREVISION=	1
d917 1
a917 2
	${MKDIR} ${ETCDIR} ${NGINX_TMPDIR}
	${CHOWN} ${WWWOWN}:${WWWGRP} ${NGINX_TMPDIR}
@


1.336
log
@Update third-party modules:

o) lua      - from 0.5.0rc28 to 0.5.0rc30;
o) rds-json - from 0.12rc7 to 0.12rc10.

Do not bump PORTREVISION because these modules are disabled by default.
@
text
@d10 1
d211 4
a214 1
SUB_LIST+=	WWWOWN=${WWWOWN}
@


1.335
log
@Add third-party slow module, v.0.9.6,
http://code.google.com/p/nginx-sflow-module/.

Do not bump PORTREVISION because this module is disabled by default.
@
text
@d582 2
a583 2
NGINX_LUA_VERSION=	0.5.0rc28
GIT_LUA_VERSION=	0-g7a7ac79
d646 2
a647 2
NGINX_RDS_JSON_VERSION=	0.12rc7
GIT_RDS_JSON_VERSION=	0-g253db2b
@


1.334
log
@Return back XSS third-party module.
@
text
@d94 1
d178 1
d683 8
@


1.333
log
@Update from 1.2.0 to 1.2.1.

<ChangeLog>

*) Security: now nginx/Windows ignores trailing dot in URI path
   component, and does not allow URIs with ":$" in it.
   Thanks to Vladimir Kochetkov, Positive Research Center.

*) Feature: the "debug_connection" directive now supports IPv6 addresses
   and the "unix:" parameter.

*) Feature: the "set_real_ip_from" directive and the "proxy" parameter
   of the "geo" directive now support IPv6 addresses.

*) Feature: the "real_ip_recursive", "geoip_proxy", and
   "geoip_proxy_recursive" directives.

*) Feature: the "proxy_recursive" parameter of the "geo" directive.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "resolver" directive was used.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "fastcgi_pass", "scgi_pass", or "uwsgi_pass" directives were used and
   backend returned incorrect response.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "rewrite" directive was used and new request arguments in a
   replacement used variables.

*) Bugfix: nginx might hog CPU if the open file resource limit was
   reached.

*) Bugfix: nginx might loop infinitely over backends if the
   "proxy_next_upstream" directive with the "http_404" parameter was
   used and there were backup servers specified in an upstream block.

*) Bugfix: adding the "down" parameter of the "server" directive might
   cause unneeded client redistribution among backend servers if the
   "ip_hash" directive was used.

*) Bugfix: socket leak.
   Thanks to Yichun Zhang.

*) Bugfix: in the ngx_http_fastcgi_module.

</ChangeLog>
@
text
@d100 1
@


1.332
log
@Fix issue with HTTP_CACHE option.

Spotted by:	many people
@
text
@d9 1
a9 2
PORTVERSION=	1.2.0
PORTREVISION=	1
@


1.331
log
@Add VIDEO knob to OPTIONS_DEFINE for choose original or third-party
MP4 module.
@
text
@d301 1
a301 1
.if ${PORT_OPTIONS:MHTTP_CACHE}
@


1.330
log
@OptionsNGfy.
Most name of variables are shortened, s/_MODULE_//g.

Thanks to:	bapt
@
text
@d100 2
a101 1
	XRID_HEADER
d184 1
@


1.329
log
@Update third-party module naxsi from 0.45 to 0.46-1.

Do not bump PORTREVISION because this module is disabled by default.
@
text
@d23 160
a182 79
OPTIONS=	DEBUG			"Enable nginx debugging" off \
		DEBUGLOG		"Enable debug log (--with-debug)" off \
		FILE_AIO		"Enable file aio" off \
		IPV6			"Enable IPv6" on \
		GOOGLE_PERFTOOLS	"Enable google perftools module" off \
		HTTP_MODULE		"Enable HTTP module" on \
		HTTP_ADDITION_MODULE	"Enable http_addition module" off \
		HTTP_CACHE_MODULE	"Enable http_cache module" on \
		HTTP_DAV_MODULE		"Enable http_webdav module" off \
		HTTP_FLV_MODULE		"Enable http_flv module" off \
		HTTP_GEOIP_MODULE	"Enable http_geoip module" off \
		HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
		HTTP_IMAGE_FILTER_MODULE "Enable http_image_filter module" off \
		HTTP_MP4_MODULE		"Enable http_mp4 module" off \
		HTTP_PERL_MODULE	"Enable http_perl module" off \
		HTTP_RANDOM_INDEX_MODULE "Enable http_random_index module" off \
		HTTP_REALIP_MODULE	"Enable http_realip module" off \
		HTTP_REWRITE_MODULE	"Enable http_rewrite module" on \
		HTTP_SECURE_LINK_MODULE "Enable http_secure_link module" off \
		HTTP_SSL_MODULE		"Enable http_ssl module" off \
		HTTP_STATUS_MODULE	"Enable http_stub_status module" on \
		HTTP_SUB_MODULE		"Enable http_sub module" off \
		HTTP_XSLT_MODULE	"Enable http_xslt module" off \
		MAIL_MODULE		"Enable IMAP4/POP3/SMTP proxy module" off \
		MAIL_IMAP_MODULE	"Enable IMAP4 proxy module" off \
		MAIL_POP3_MODULE	"Enable POP3 proxy module" off \
		MAIL_SMTP_MODULE	"Enable SMTP proxy module" off \
		MAIL_SSL_MODULE		"Enable mail_ssl module" off \
		WWW			"Enable html sample files" on \
		CACHE_PURGE_MODULE	"3rd party cache_purge module" off \
		ECHO_MODULE		"3rd party echo module" off \
		HEADERS_MORE_MODULE	"3rd party headers_more module" off \
		HTTP_ACCEPT_LANGUAGE	"3rd party accept_language module" off \
		HTTP_ACCESSKEY_MODULE	"3rd party http_accesskey module" off \
		HTTP_AUTH_DIGEST_MODULE	"3rd party http_authdigest module" off \
		HTTP_AUTH_PAM_MODULE	"3rd party http_auth_pam module" off \
		HTTP_AUTH_REQ_MODULE	"3rd party http_auth_request module" off \
		HTTP_DAV_EXT_MODULE	"3rd party webdav_ext module" off \
		HTTP_EVAL_MODULE	"3rd party eval module" off \
		HTTP_FANCYINDEX_MODULE	"3rd party http_fancyindex module" off \
		HTTP_GUNZIP_FILTER	"3rd party http_gunzip_filter module" off \
		HTTP_MOGILEFS_MODULE	"3rd party mogilefs module" off \
		HTTP_MP4_H264_MODULE	"3rd party mp4/h264 module" off \
		HTTP_NOTICE_MODULE	"3rd party notice module" off \
		HTTP_PUSH_MODULE	"3rd party push module" off \
		HTTP_REDIS_MODULE	"3rd party http_redis module" off \
		HTTP_RESPONSE_MODULE	"3rd party http_response module" off \
		HTTP_SUBS_FILTER_MODULE	"3rd party subs filter module" off \
		HTTP_UPLOAD_MODULE	"3rd party upload module" off \
		HTTP_UPLOAD_PROGRESS	"3rd party uploadprogress module" off \
		HTTP_UPSTREAM_FAIR	"3rd party upstream fair module" off \
		HTTP_UPSTREAM_HASH	"3rd party upstream hash module" off \
		HTTP_UPSTREAM_STICKY	"3rd party upstream sticky module" off \
		HTTP_ZIP_MODULE		"3rd party http_zip module" off \
		ARRAYVAR_MODULE		"3rd party array_var module" off \
		CHUNKIN_MODULE		"3rd party chunkin module" off \
		DRIZZLE_MODULE		"3rd party drizzlie module" off \
		ENCRYPTSESSION_MODULE	"3rd party encrypted_session module" off \
		FORMINPUT_MODULE	"3rd party form_input module" off \
		GRIDFS_MODULE		"3rd party gridfs module" off \
		ICONV_MODULE		"3rd party iconv module" off \
		LET_MODULE		"3rd party let module" off \
		LUA_MODULE		"3rd party lua module" off \
		MEMC_MODULE		"3rd party memc (memcached) module" off \
		NAXSI_MODULE		"3rd party naxsi module" off \
		PASSENGER_MODULE	"3rd party passenger module" off \
		POSTGRES_MODULE		"3rd party postgresql module" off \
		RDS_CSV_MODULE		"3rd party rds_csv module" off \
		RDS_JSON_MODULE		"3rd party rds_json module" off \
		REDIS2_MODULE		"3rd party redis2 module" off \
		RTMP_MODULE		"3rd party rtmp module" off \
		SET_MISC_MODULE		"3rd party set_misc module" off \
		SLOWFS_CACHE_MODULE	"3rd party slowfs_cache module" off \
		SRCACHE_MODULE		"3rd party srcache module" off \
		SUPERVISORD_MODULE	"3rd party supervisord module" off \
		SYSLOG_SUPPORT		"3rd party syslog support" off \
		UDPLOG_MODULE		"3rd party udplog (syslog) module" off \
		XRID_HEADER_MODULE	"3rd party x-rid header module" off \
		XSS_MODULE		"3rd party xss module" off
d189 1
a189 1
.if defined(WITH_PASSENGER_MODULE)
d221 3
a223 3
.if defined(WITHOUT_HTTP_MODULE) && defined(WITHOUT_MAIL_MODULE)
IGNORE=		requires at least HTTP_MODULE or MAIL_MODULE to \
		be defined.  Please 'make config' again
d226 1
a226 1
.if defined(WITH_DEBUG)
d231 1
a231 1
.if defined(WITH_DEBUGLOG)
d235 1
a235 1
.if defined(WITH_FILE_AIO)
d239 1
a239 1
.if !defined(WITHOUT_IPV6)
d244 1
a244 1
.if defined(WITH_GOOGLE_PERFTOOLS)
d249 1
a249 1
.if defined(WITH_HTTP_MODULE)
d257 2
a258 2
.if defined(WITH_HTTP_ACCEPT_LANGUAGE)
GIT_ACCEPT_LANGUAGE_MODULE_VERSION=	02262ce
d261 2
a262 2
DISTFILES+=	giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_MODULE_VERSION}.tar.gz:accept_language
CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_MODULE_VERSION}
d265 2
a266 2
.if defined(WITH_HTTP_ACCESSKEY_MODULE)
NGINX_ACCESSKEY_MODULE_VERSION=	2.0.3
d269 2
a270 2
DISTFILES+=	nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}
d273 1
a273 1
.if defined(WITH_HTTP_ADDITION_MODULE)
d277 2
a278 2
.if defined(WITH_HTTP_AUTH_DIGEST_MODULE)
GIT_AUTH_DIGEST_MODULE_VERSION=	bd1c86a
d281 2
a282 2
DISTFILES+=	samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_MODULE_VERSION}.tar.gz:auth_digest
CONFIGURE_ARGS+=--add-module=${WRKDIR}/samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_MODULE_VERSION}
d285 2
a286 2
.if defined(WITH_HTTP_AUTH_PAM_MODULE)
NGINX_AUTH_PAM_MODULE_VERSION=	1.2
d288 2
a289 2
DISTFILES+=	ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}.tar.gz:auth_pam
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}
d292 2
a293 2
.if defined(WITH_HTTP_AUTH_REQ_MODULE)
NGINX_AUTH_REQ_MODULE_VERSION=	0.2
d295 2
a296 2
DISTFILES+=	ngx_http_auth_request_module-${NGINX_AUTH_REQ_MODULE_VERSION}.tar.gz:auth_request
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request_module-${NGINX_AUTH_REQ_MODULE_VERSION}
d299 1
a299 1
.if defined(WITHOUT_HTTP_CACHE_MODULE)
d303 2
a304 2
.if defined(WITH_CACHE_PURGE_MODULE)
NGINX_CACHE_PURGE_MODULE_VERSION=	1.5
d306 2
a307 2
DISTFILES+=	ngx_cache_purge-${NGINX_CACHE_PURGE_MODULE_VERSION}.tar.gz:cache_purge
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_MODULE_VERSION}
d310 3
a312 3
.if defined(WITH_ECHO_MODULE)
NGINX_ECHO_MODULE_VERSION=	0.38rc2
GIT_ECHO_MODULE_VERSION=	0-g43c8843
d314 3
a316 3
MASTER_SITES+=	https://github.com/agentzh/echo-nginx-module/tarball/v${NGINX_ECHO_MODULE_VERSION}/:echo
DISTFILES+=	agentzh-echo-nginx-module-v${NGINX_ECHO_MODULE_VERSION}-${GIT_ECHO_MODULE_VERSION}.tar.gz:echo
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-echo-nginx-module-${GIT_ECHO_MODULE_VERSION:S/^0-g//}
d319 3
a321 3
.if defined(WITH_HEADERS_MORE_MODULE)
NGINX_HEADERS_MORE_MODULE_VERSION=	0.17rc1
GIT_HEADERS_MORE_MODULE_VERSION=	0-g3580526
d323 3
a325 3
MASTER_SITES+=	https://github.com/agentzh/headers-more-nginx-module/tarball/v${NGINX_HEADERS_MORE_MODULE_VERSION}/:headers_more
DISTFILES+=	agentzh-headers-more-nginx-module-v${NGINX_HEADERS_MORE_MODULE_VERSION}-${GIT_HEADERS_MORE_MODULE_VERSION}.tar.gz:headers_more
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-headers-more-nginx-module-${GIT_HEADERS_MORE_MODULE_VERSION:S/^0-g//}
d328 1
a328 1
.if defined(WITH_HTTP_DAV_MODULE)
d332 1
a332 1
.if defined(WITH_HTTP_DAV_EXT_MODULE)
d334 2
a335 2
NGINX_DAV_EXT_MODULE_VERSION=	0.0.2
GIT_DAV_EXT_MODULE_VERSION=	0-g0e07a3e
d337 3
a339 3
MASTER_SITES+=	https://github.com/arut/nginx-dav-ext-module/tarball/v${NGINX_DAV_EXT_MODULE_VERSION}/:dav_ext
DISTFILES+=	arut-nginx-dav-ext-module-v${NGINX_DAV_EXT_MODULE_VERSION}-${GIT_DAV_EXT_MODULE_VERSION}.tar.gz:dav_ext
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-dav-ext-module-${GIT_DAV_EXT_MODULE_VERSION:S/^0-g//}
d342 3
a344 3
.if defined(WITH_HTTP_EVAL_MODULE)
NGINX_EVAL_MODULE_VERSION=	1.0.3
GIT_EVAL_MODULE_VERSION=	0-g125fa2e
d346 3
a348 3
MASTER_SITES+=	https://github.com/vkholodkov/nginx-eval-module/tarball/${NGINX_EVAL_MODULE_VERSION}/:eval
DISTFILES+=	vkholodkov-nginx-eval-module-${NGINX_EVAL_MODULE_VERSION}-${GIT_EVAL_MODULE_VERSION}.tar.gz:eval
CONFIGURE_ARGS+=--add-module=${WRKDIR}/vkholodkov-nginx-eval-module-${GIT_EVAL_MODULE_VERSION:S/^0-g//}
d351 2
a352 2
.if defined(WITH_HTTP_FANCYINDEX_MODULE)
NGINX_FANCYINDEX_MODULE_VERSION=	0.3.1
d355 2
a356 2
DISTFILES+=	ngx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION}.tar.gz:fancyindex
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION}
d359 2
a360 2
.if defined(WITH_HTTP_GUNZIP_FILTER)
NGINX_GUNZIP_FILTER_MODULE_VERSION=	0.4
d362 2
a363 2
DISTFILES+=	ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_MODULE_VERSION}.tar.gz:gunzipfilter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_MODULE_VERSION}
d366 1
a366 1
.if defined(WITH_HTTP_FLV_MODULE)
d370 1
a370 1
.if defined(WITH_HTTP_GEOIP_MODULE)
d375 1
a375 1
.if defined(WITH_HTTP_GZIP_STATIC_MODULE)
d379 1
a379 1
.if defined(WITH_HTTP_IMAGE_FILTER_MODULE)
d384 1
a384 5
.if defined(WITH_HTTP_MP4_MODULE) && defined(WITH_HTTP_MP4_H264_MODULE)
IGNORE=	http_mp4 and third-party http_mp4_h264 modules are incompatible. Please select one
.endif

.if defined(WITH_HTTP_MP4_MODULE)
d388 2
a389 2
.if defined(WITH_HTTP_MOGILEFS_MODULE)
NGINX_MOGILEFS_MODULE_VERSION=	1.0.4
d391 2
a392 2
DISTFILES+=	nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}.tar.gz:mogilefs
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}
d395 1
a395 1
.if defined(WITH_HTTP_MP4_H264_MODULE)
d403 2
a404 2
.if defined(WITH_HTTP_NOTICE_MODULE)
GIT_NOTICE_MODULE_VERSION=	0-g3c95966
d407 2
a408 2
DISTFILES+=	kr-nginx-notice-${GIT_NOTICE_MODULE_VERSION}.tar.gz:notice
CONFIGURE_ARGS+=--add-module=${WRKDIR}/kr-nginx-notice-${GIT_NOTICE_MODULE_VERSION:S/^0-g//}
d412 1
a412 1
.if defined(WITH_HTTP_PERL_MODULE)
d418 2
a419 2
.if defined(WITH_HTTP_PUSH_MODULE)
NGINX_PUSH_MODULE_VERSION=	0.692
d421 2
a422 2
DISTFILES+=	nginx_http_push_module-${NGINX_PUSH_MODULE_VERSION}.tar.gz:push
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_MODULE_VERSION}
d425 1
a425 1
.if defined(WITH_HTTP_RANDOM_INDEX_MODULE)
d429 1
a429 1
.if defined(WITH_HTTP_REALIP_MODULE)
d433 2
a434 2
.if defined(WITH_HTTP_REDIS_MODULE)
NGINX_REDIS_MODULE_VERSION=	0.3.6
d437 2
a438 2
DISTFILES+=	ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}.tar.gz:redis
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}
d441 2
a442 2
.if defined(WITH_HTTP_RESPONSE_MODULE)
NGINX_RESPONSE_MODULE_VERSION=	0.3
d444 2
a445 2
DISTFILES+=	ngx_http_response-${NGINX_RESPONSE_MODULE_VERSION}.tar.gz:response
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_MODULE_VERSION}
d448 2
a449 2
.if defined(WITH_HTTP_SUBS_FILTER_MODULE)
NGINX_HTTP_SUBS_FILTER_MODULE_VERSION=	0.5.2.r53
d452 2
a453 2
DISTFILES+=	ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_MODULE_VERSION}.tar.gz:subs_filter
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_subs_filter_module-${NGINX_HTTP_SUBS_FILTER_MODULE_VERSION}
d456 1
a456 1
.if defined(WITH_HTTP_SECURE_LINK_MODULE)
d460 1
a460 1
.if defined(WITH_HTTP_STATUS_MODULE)
d464 1
a464 1
.if defined(WITH_HTTP_SUB_MODULE)
d468 2
a469 2
.if defined(WITH_HTTP_UPLOAD_MODULE)
NGINX_UPLOAD_MODULE_VERSION=	2.2.0
d471 2
a472 2
DISTFILES+=	nginx_upload_module-${NGINX_UPLOAD_MODULE_VERSION}.tar.gz:upload
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upload_module-${NGINX_UPLOAD_MODULE_VERSION}
d475 3
a477 3
.if defined(WITH_HTTP_UPLOAD_PROGRESS)
NGINX_UPLOADPROGRESS_MODULE_VERSION=	0.8.3
GIT_UPLOADPROGRESS_MODULE_VERSION=	0-gc7c663f
d479 3
a481 3
MASTER_SITES+=	https://github.com/masterzen/nginx-upload-progress-module/tarball/v${NGINX_UPLOADPROGRESS_MODULE_VERSION}/:uploadprogress
DISTFILES+=	masterzen-nginx-upload-progress-module-v${NGINX_UPLOADPROGRESS_MODULE_VERSION}-${GIT_UPLOADPROGRESS_MODULE_VERSION}.tar.gz:uploadprogress
CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${GIT_UPLOADPROGRESS_MODULE_VERSION:S/^0-g//}
d485 1
a485 1
.if defined(WITH_HTTP_UPSTREAM_FAIR) || defined(WITH_SUPERVISORD_MODULE)
d493 1
a493 1
.if defined(WITH_HTTP_UPSTREAM_HASH)
d501 2
a502 2
.if defined(WITH_HTTP_UPSTREAM_STICKY)
USE_HTTP_SSL_MODULE=	yes
d509 1
a509 1
.if defined(WITH_HTTP_XSLT_MODULE)
d514 2
a515 2
.if defined(WITH_HTTP_ZIP_MODULE)
NGINX_ZIP_MODULE_VERSION=	1.1.6
d517 2
a518 2
DISTFILES+=	mod_zip-${NGINX_ZIP_MODULE_VERSION}.tar.gz:zip
CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_MODULE_VERSION}
d521 3
a523 3
.if defined(WITH_CHUNKIN_MODULE)
NGINX_CHUNKIN_MODULE_VERSION=	0.22rc1
GIT_CHUNKIN_MODULE_VERSION=	0-gb0a3ee3
d525 3
a527 3
MASTER_SITES+=	https://github.com/agentzh/chunkin-nginx-module/tarball/v${NGINX_CHUNKIN_MODULE_VERSION}/:chunkin
DISTFILES+=	agentzh-chunkin-nginx-module-v${NGINX_CHUNKIN_MODULE_VERSION}-${GIT_CHUNKIN_MODULE_VERSION}.tar.gz:chunkin
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-chunkin-nginx-module-${GIT_CHUNKIN_MODULE_VERSION:S/^0-g//}
d530 1
a530 1
.if defined(WITH_DRIZZLE_MODULE)
d532 2
a533 2
NGINX_DRIZZLE_MODULE_VERSION=	0.1.2rc6
GIT_DRIZZLE_MODULE_VERSION=	0-ge05b5ff
d535 3
a537 3
MASTER_SITES+=	https://github.com/chaoslawful/drizzle-nginx-module/tarball/v${NGINX_DRIZZLE_MODULE_VERSION}/:drizzle
DISTFILES+=	chaoslawful-drizzle-nginx-module-v${NGINX_DRIZZLE_MODULE_VERSION}-${GIT_DRIZZLE_MODULE_VERSION}.tar.gz:drizzle
CONFIGURE_ARGS+=--add-module=${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_MODULE_VERSION:S/^0-g//}
d541 1
a541 1
.if defined(WITH_ENCRYPTSESSION_MODULE)
d543 2
a544 2
NGINX_ENCRYPTSESSION_MODULE_VERSION=	0.02
GIT_ENCRYPTSESSION_MODULE_VERSION=	0-gc752861
d546 3
a548 3
MASTER_SITES+=	https://github.com/agentzh/encrypted-session-nginx-module/tarball/v${NGINX_ENCRYPTSESSION_MODULE_VERSION}/:encryptsession
DISTFILES+=	agentzh-encrypted-session-nginx-module-v${NGINX_ENCRYPTSESSION_MODULE_VERSION}-${GIT_ENCRYPTSESSION_MODULE_VERSION}.tar.gz:encryptsession
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-encrypted-session-nginx-module-${GIT_ENCRYPTSESSION_MODULE_VERSION:S/^0-g//}
d551 3
a553 3
.if defined(WITH_GRIDFS_MODULE)
NGINX_GRIDFS_MODULE_VERSION=	0.8
GIT_GRIDFS_MODULE_VERSION=	0-gb5f8113
d557 1
a557 1
MASTER_SITES+=	https://github.com/mdirolf/nginx-gridfs/tarball/v${NGINX_GRIDFS_MODULE_VERSION}/:gridfs
d559 1
a559 1
DISTFILES+=	mdirolf-nginx-gridfs-v${NGINX_GRIDFS_MODULE_VERSION}-${GIT_GRIDFS_MODULE_VERSION}.tar.gz:gridfs
d561 1
a561 1
CONFIGURE_ARGS+=--add-module=${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_MODULE_VERSION:S/^0-g//}
d564 3
a566 3
.if defined(WITH_LET_MODULE)
NGINX_LET_MODULE_VERSION=	0.0.4
GIT_LET_MODULE_VERSION=	0-ga5e1dc5
d568 3
a570 3
MASTER_SITES+=	https://github.com/arut/nginx-let-module/tarball/v${NGINX_LET_MODULE_VERSION}/:let
DISTFILES+=	arut-nginx-let-module-v${NGINX_LET_MODULE_VERSION}-${GIT_LET_MODULE_VERSION}.tar.gz:let
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-let-module-${GIT_LET_MODULE_VERSION:S/^0-g//}
d573 1
a573 1
.if defined(WITH_LUA_MODULE)
d578 2
a579 2
NGINX_LUA_MODULE_VERSION=	0.5.0rc28
GIT_LUA_MODULE_VERSION=	0-g7a7ac79
d581 3
a583 3
MASTER_SITES+=	https://github.com/chaoslawful/lua-nginx-module/tarball/v${NGINX_LUA_MODULE_VERSION}/:lua
DISTFILES+=	chaoslawful-lua-nginx-module-v${NGINX_LUA_MODULE_VERSION}-${GIT_LUA_MODULE_VERSION}.tar.gz:lua
CONFIGURE_ARGS+=--add-module=${WRKDIR}/chaoslawful-lua-nginx-module-${GIT_LUA_MODULE_VERSION:S/^0-g//}
d586 3
a588 3
.if defined(WITH_MEMC_MODULE)
NGINX_MEMC_MODULE_VERSION=	0.13rc3
GIT_MEMC_MODULE_VERSION=	0-g4007350
d590 3
a592 3
MASTER_SITES+=	https://github.com/agentzh/memc-nginx-module/tarball/v${NGINX_MEMC_MODULE_VERSION}/:memc
DISTFILES+=	agentzh-memc-nginx-module-v${NGINX_MEMC_MODULE_VERSION}-${GIT_MEMC_MODULE_VERSION}.tar.gz:memc
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-memc-nginx-module-${GIT_MEMC_MODULE_VERSION:S/^0-g//}
d595 2
a596 2
.if defined(WITH_NAXSI_MODULE)
NGINX_NAXSI_MODULE_VERSION=	0.46-1
d598 2
a599 2
DISTFILES+=	naxsi-${NGINX_NAXSI_MODULE_VERSION}.tgz:naxsi
CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_MODULE_VERSION}/naxsi_src
d602 4
a605 1
.if defined(WITHOUT_HTTP_REWRITE_MODULE) || defined(WITHOUT_PCRE)
a608 3
.else
LIB_DEPENDS+=	pcre.1:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+=--with-pcre
d611 1
a611 1
.if defined(WITH_PASSENGER_MODULE)
d617 1
a617 1
.if !defined(WITH_DEBUG)
d623 1
a623 1
.if defined(WITH_POSTGRES_MODULE)
d625 1
a625 1
NGINX_POSTGRES_MODULE_VERSION=	0.9
d627 2
a628 2
DISTFILES+=	ngx_postgres-${NGINX_POSTGRES_MODULE_VERSION}.tar.gz:postgres
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_MODULE_VERSION}
d632 3
a634 3
.if defined(WITH_RDS_CSV_MODULE)
NGINX_RDS_CSV_MODULE_VERSION=	0.05rc2
GIT_RDS_CSV_MODULE_VERSION=	0-gc15d3a4
d636 3
a638 3
MASTER_SITES+=	https://github.com/agentzh/rds-csv-nginx-module/tarball/v${NGINX_RDS_CSV_MODULE_VERSION}/:rdscsv
DISTFILES+=	agentzh-rds-csv-nginx-module-v${NGINX_RDS_CSV_MODULE_VERSION}-${GIT_RDS_CSV_MODULE_VERSION}.tar.gz:rdscsv
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-rds-csv-nginx-module-${GIT_RDS_CSV_MODULE_VERSION:S/^0-g//}
d641 3
a643 3
.if defined(WITH_RDS_JSON_MODULE)
NGINX_RDS_JSON_MODULE_VERSION=	0.12rc7
GIT_RDS_JSON_MODULE_VERSION=	0-g253db2b
d645 3
a647 3
MASTER_SITES+=	https://github.com/agentzh/rds-json-nginx-module/tarball/v${NGINX_RDS_JSON_MODULE_VERSION}/:rdsjson
DISTFILES+=	agentzh-rds-json-nginx-module-v${NGINX_RDS_JSON_MODULE_VERSION}-${GIT_RDS_JSON_MODULE_VERSION}.tar.gz:rdsjson
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-rds-json-nginx-module-${GIT_RDS_JSON_MODULE_VERSION:S/^0-g//}
d650 3
a652 3
.if defined(WITH_REDIS2_MODULE)
NGINX_REDIS2_MODULE_VERSION=	0.08rc4
GIT_REDIS2_MODULE_VERSION=	0-g5044f16
d654 3
a656 3
MASTER_SITES+=	https://github.com/agentzh/redis2-nginx-module/tarball/v${NGINX_REDIS2_MODULE_VERSION}/:redis2
DISTFILES+=	agentzh-redis2-nginx-module-v${NGINX_REDIS2_MODULE_VERSION}-${GIT_REDIS2_MODULE_VERSION}.tar.gz:redis2
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-redis2-nginx-module-${GIT_REDIS2_MODULE_VERSION:S/^0-g//}
d659 3
a661 3
.if defined(WITH_RTMP_MODULE)
NGINX_RTMP_MODULE_VERSION=	0.1.5
GIT_RTMP_MODULE_VERSION=	0-gd216f3d
d663 3
a665 3
MASTER_SITES+=	https://github.com/arut/nginx-rtmp-module/tarball/v${NGINX_RTMP_MODULE_VERSION}/:rtmp
DISTFILES+=	arut-rtmp-nginx-module-v${NGINX_RTMP_MODULE_VERSION}-${GIT_RTMP_MODULE_VERSION}.tar.gz:rtmp
CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-rtmp-module-${GIT_RTMP_MODULE_VERSION:S/^0-g//}
d668 1
a668 1
.if defined(WITH_SET_MISC_MODULE)
d670 1
a670 1
NGINX_SET_MISC_MODULE_VERSION=	0.22rc8
d673 2
a674 2
MASTER_SITES+=	https://github.com/agentzh/set-misc-nginx-module/tarball/v${NGINX_SET_MISC_MODULE_VERSION}/:setmisc
DISTFILES+=	agentzh-set-misc-nginx-module-v${NGINX_SET_MISC_MODULE_VERSION}-${GIT_SET_MISC_VERSION}.tar.gz:setmisc
d679 2
a680 2
.if defined(WITH_SLOWFS_CACHE_MODULE)
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.8
d682 2
a683 2
DISTFILES+=	ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_MODULE_VERSION}.tar.gz:slowfs_cache
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_MODULE_VERSION}
d686 3
a688 3
.if defined(WITH_SRCACHE_MODULE)
NGINX_SRCACHE_MODULE_VERSION=	0.13rc8
GIT_SRCACHE_MODULE_VERSION=	0-g5237f26
d690 3
a692 3
MASTER_SITES+=	https://github.com/agentzh/srcache-nginx-module/tarball/v${NGINX_SRCACHE_MODULE_VERSION}/:srcache
DISTFILES+=	agentzh-srcache-nginx-module-v${NGINX_SRCACHE_MODULE_VERSION}-${GIT_SRCACHE_MODULE_VERSION}.tar.gz:srcache
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-srcache-nginx-module-${GIT_SRCACHE_MODULE_VERSION:S/^0-g//}
d695 2
a696 2
.if defined(WITH_SUPERVISORD_MODULE)
NGINX_SUPERVISORD_MODULE_VERSION=	1.4
d698 2
a699 2
DISTFILES+=	ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}.tar.gz:supervisord
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}
d702 1
a702 1
.if defined(WITH_SYSLOG_SUPPORT)
d708 2
a709 2
.if defined(WITH_UDPLOG_MODULE)
NGINX_UDPLOG_MODULE_VERSION=	1.0.0
d711 2
a712 2
DISTFILES+=	nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}.tar.gz:udplog
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}
d716 2
a717 2
.if defined(WITH_XRID_HEADER_MODULE)
GIT_XRID_MODULE_VERSION=	0daa3cc
d720 2
a721 2
DISTFILES+=	gabor-nginx-x-rid-header-${GIT_XRID_MODULE_VERSION}.tar.gz:xrid
CONFIGURE_ARGS+=--add-module=${WRKDIR}/gabor-nginx-x-rid-header-${GIT_XRID_MODULE_VERSION}
d724 3
a726 3
.if defined(WITH_XSS_MODULE)
NGINX_XSS_MODULE_VERSION=	0.03rc9
GIT_XSS_MODULE_VERSION=	0-gbeddbe1
d728 3
a730 3
MASTER_SITES+=	https://github.com/agentzh/xss-nginx-module/tarball/v${NGINX_XSS_MODULE_VERSION}/:xss
DISTFILES+=	agentzh-xss-nginx-module-v${NGINX_XSS_MODULE_VERSION}-${GIT_XSS_MODULE_VERSION}.tar.gz:xss
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-xss-nginx-module-${GIT_XSS_MODULE_VERSION:S/^0-g//}
d733 1
a733 1
.if defined(WITH_WWW)
d742 1
a742 1
.endif		# WITH_HTTP_MODULE
d744 1
a744 1
.if defined(WITH_MAIL_MODULE)
d746 1
a746 1
.if defined(WITHOUT_MAIL_IMAP_MODULE)
d749 1
a749 1
.if defined(WITHOUT_MAIL_POP3_MODULE)
d752 1
a752 1
.if defined(WITHOUT_MAIL_SMTP_MODULE)
d755 1
a755 1
.if defined(WITH_MAIL_SSL_MODULE)
d759 1
a759 1
.endif		# WITH_MAIL_MODULE
d761 1
a761 1
.if defined(WITH_HTTP_SSL_MODULE) || defined(USE_HTTP_SSL_MODULE)
d767 2
a768 2
NGINX_DEVEL_KIT_MODULE_VERSION=	0.2.17
GIT_DEVEL_KIT_MODULE_VERSION=	0-gbc97eea
d770 3
a772 3
MASTER_SITES+=	https://github.com/simpl/ngx_devel_kit/tarball/v${NGINX_DEVEL_KIT_MODULE_VERSION}/:devel_kit
DISTFILES+=	simpl-ngx_devel_kit-v${NGINX_DEVEL_KIT_MODULE_VERSION}-${GIT_DEVEL_KIT_MODULE_VERSION}.tar.gz:devel_kit
CONFIGURE_ARGS+=--add-module=${WRKDIR}/simpl-ngx_devel_kit-${GIT_DEVEL_KIT_MODULE_VERSION:S/^0-g//}
d775 1
a775 1
.if defined(WITH_ARRAYVAR_MODULE)
d777 2
a778 2
NGINX_ARRAYVAR_MODULE_VERSION=	0.03rc1
GIT_ARRAYVAR_MODULE_VERSION=	0-gfed751a
d780 3
a782 3
MASTER_SITES+=	https://github.com/agentzh/array-var-nginx-module/tarball/v${NGINX_ARRAYVAR_MODULE_VERSION}/:arrayvar
DISTFILES+=	agentzh-array-var-nginx-module-v${NGINX_ARRAYVAR_MODULE_VERSION}-${GIT_ARRAYVAR_MODULE_VERSION}.tar.gz:arrayvar
CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-array-var-nginx-module-${GIT_ARRAYVAR_MODULE_VERSION:S/^0-g//}
d785 1
a785 1
.if defined(WITH_FORMINPUT_MODULE)
d787 2
a788 2
NGINX_FORMINPUT_MODULE_VERSION=	0.07rc5
GIT_FORMINPUT_MODULE_VERSION=	0-gd41681d
d790 3
a792 3
MASTER_SITES+=	https://github.com/calio/form-input-nginx-module/tarball/v${NGINX_FORMINPUT_MODULE_VERSION}/:forminput
DISTFILES+=	calio-form-input-nginx-module-v${NGINX_FORMINPUT_MODULE_VERSION}-${GIT_FORMINPUT_MODULE_VERSION}.tar.gz:forminput
CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-form-input-nginx-module-${GIT_FORMINPUT_MODULE_VERSION:S/^0-g//}
d795 1
a795 1
.if defined(WITH_ICONV_MODULE)
d798 2
a799 2
NGINX_ICONV_MODULE_VERSION=	0.10rc7
GIT_ICONV_MODULE_VERSION=	0-gabdac17
d801 3
a803 3
MASTER_SITES+=	https://github.com/calio/iconv-nginx-module/tarball/v${NGINX_ICONV_MODULE_VERSION}/:iconv
DISTFILES+=	calio-iconv-nginx-module-v${NGINX_ICONV_MODULE_VERSION}-${GIT_ICONV_MODULE_VERSION}.tar.gz:iconv
CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_MODULE_VERSION:S/^0-g//}
d820 1
a820 1
.if defined(WITH_HTTP_UPSTREAM_FAIR)
d823 1
a823 1
.if defined(WITH_PASSENGER_MODULE)
d829 2
a830 2
.if defined(WITH_GRIDFS_MODULE)
	@@${RMDIR} ${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_MODULE_VERSION:S/^0-g//}/mongo-c-driver/
d833 1
a833 1
	${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_MODULE_VERSION:S/^0-g//}/mongo-c-driver/
d840 1
a840 1
.if defined(WITH_HTTP_ACCESSKEY_MODULE)
d843 1
a843 1
		${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}/config
d846 1
a846 1
.if defined(WITH_HTTP_ZIP_MODULE)
d849 1
a849 1
		${WRKDIR}/mod_zip-${NGINX_ZIP_MODULE_VERSION}/ngx_http_zip_parsers.*
d851 1
a851 1
.if defined(WITH_DRIZZLE_MODULE)
d854 1
a854 1
		${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_MODULE_VERSION:S/^0-g//}/config
d857 1
a857 1
.if defined(WITH_GRIDFS_MODULE)
d860 1
a860 1
		${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_MODULE_VERSION:S/^0-g//}/config
d862 1
a862 1
.if defined(WITH_PASSENGER_MODULE)
d878 1
a878 1
.if defined(WITH_POSTGRES_MODULE)
d881 1
a881 1
		${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_MODULE_VERSION}/config
d883 1
a883 1
.if defined(WITH_SUPERVISORD_MODULE)
d886 1
a886 1
			${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}/patches/ngx_http_upstream_fair_module.patch )
d889 1
a889 1
			${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}/patches/ngx_http_upstream_init_busy-0.8.17.patch )
d891 1
a891 1
.if defined(WITH_ICONV_MODULE)
d894 1
a894 1
		${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_MODULE_VERSION:S/^0-g//}/config
d912 1
a912 1
.if defined(WITH_HTTP_MODULE) && defined(WITH_WWW)
d922 1
a922 1
.if defined(WITH_HTTP_MODULE) && defined(WITH_HTTP_PERL_MODULE)
d932 1
a932 1
.if defined(WITH_NAXSI_MODULE)
d934 1
a934 1
	${WRKDIR}/naxsi-${NGINX_NAXSI_MODULE_VERSION}/naxsi_config/naxsi_core.rules \
d939 1
a939 1
.if defined(WITH_HTTP_MODULE) && defined(WITH_HTTP_PERL_MODULE)
d949 1
a949 1
.if defined(WITH_NAXSI_MODULE)
@


1.328
log
@Add third-party RTMP module, v.0.1.5,
https://github.com/arut/nginx-rtmp-module.

Note! The RTMP module does not share data between workers and only
works in one-worker mode.

Do not bump PORTREVISION because this module is disabled by default.

Spotted by:	Patrick Ernst aka patrick dot ernst at maxxbone dot com
@
text
@d519 1
a519 1
NGINX_NAXSI_MODULE_VERSION=	0.45
@


1.327
log
@Update third-party modules (openresty 1.0.15.5):

o) lua     - from 0.5.0rc27 to 0.5.0rc28;
o) rds_scv - from 0.05rc1 to 0.05rc2.

Remove needless patch.

Do not bump PORTREVISIONs because these modules are disabled by default.
@
text
@d93 1
d582 9
@


1.326
log
@Update third-party modules (openresty 1.0.15.3):

o) lua      - from 0.5.0rc24 to 0.5.0rc27;
o) set_misc - from 0.22rc5 to 0.22rc7;
o) srcache  - from 0.13rc6 to 0.13rc8;

Do not bump PORTREVISIONs because these modules are disabled by default.
@
text
@d500 2
a501 2
NGINX_LUA_MODULE_VERSION=	0.5.0rc27
GIT_LUA_MODULE_VERSION=	0-gdbe0dc4
a505 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-chaoslawful-lua-nginx-module::config
d555 2
a556 2
NGINX_RDS_CSV_MODULE_VERSION=	0.05rc1
GIT_RDS_CSV_MODULE_VERSION=	0-g98c7907
a774 5
.if defined(WITH_LUA_MODULE)
	@@${REINPLACE_CMD} \
		's!%%PREFIX%%!${LOCALBASE}!g' \
		${WRKDIR}/chaoslawful-lua-nginx-module-${GIT_LUA_MODULE_VERSION:S/^0-g//}/config
.endif
@


1.325
log
@Add two new third-party modules:

1) let, 0.0.4;
2) upstream_sticky, 1.0;

Do not bump PORTREVISIONs because these modules are disabled by default.

Spotted by:	Serguei Okladnikov <oklaspec@@mail.ru> (1)
PR:		167494				      (2)
@
text
@d500 2
a501 2
NGINX_LUA_MODULE_VERSION=	0.5.0rc24
GIT_LUA_MODULE_VERSION=	0-g6ff5df6
d584 2
a585 2
NGINX_SET_MISC_MODULE_VERSION=	0.22rc5
GIT_SET_MISC_VERSION=	0-ge6a54ab
d601 2
a602 2
NGINX_SRCACHE_MODULE_VERSION=	0.13rc6
GIT_SRCACHE_MODULE_VERSION=	0-gfa2da58
@


1.324
log
@Update third-party modules (openresty 1.0.11.28):

o) echo    - from 0.38rc1 to 0.38rc2;
o) lua     - from 0.4.1 to 0.5.0rc24;
o) rds-csv - from 0.04 to 0.05rc1;
o) redis2  - from 0.08rc2 to 0.08rc4;
o) srcache - from 0.13rc3 to 0.13.rc6;
o) xss     - from 0.03rc8 to 0.03rc9;
o) iconv   - from 0.10rc5 to 0.10rc7;

Do not bump PORTREVISIONs because these modules are disabled by default.
@
text
@d75 1
d84 1
a381 5
.if defined(WITH_HTTP_SSL_MODULE)
NGINX_OPENSSL=	yes
CONFIGURE_ARGS+=--with-http_ssl_module
.endif

d423 8
d486 9
d675 3
a677 2
.if defined(NGINX_OPENSSL)
USE_OPENSSL=	yes
d728 4
@


1.323
log
@Add one more WWW site to pkg-descr file.
Remove -DNGX_DEBUG_MALLOC flag.		(*)
Bump PORTREVISION.

Requested by:	Maxim Dounin aka mdounin at mdounin dot ru (*)
@
text
@d227 2
a228 2
NGINX_ECHO_MODULE_VERSION=	0.38rc1
GIT_ECHO_MODULE_VERSION=	0-g6c1f553
d486 2
a487 2
NGINX_LUA_MODULE_VERSION=	0.4.1
GIT_LUA_MODULE_VERSION=	0-g204ce2b
d542 2
a543 2
NGINX_RDS_CSV_MODULE_VERSION=	0.04
GIT_RDS_CSV_MODULE_VERSION=	0-g4cd999b
d560 2
a561 2
NGINX_REDIS2_MODULE_VERSION=	0.08rc2
GIT_REDIS2_MODULE_VERSION=	0-g0a8a6b9
d587 2
a588 2
NGINX_SRCACHE_MODULE_VERSION=	0.13rc3
GIT_SRCACHE_MODULE_VERSION=	0-g60ca0d1
d625 2
a626 2
NGINX_XSS_MODULE_VERSION=	0.03rc8
GIT_XSS_MODULE_VERSION=	0-g57e2119
d697 2
a698 2
NGINX_ICONV_MODULE_VERSION=	0.10rc5
GIT_ICONV_MODULE_VERSION=	0-g4e71946
@


1.322
log
@Update to latest stable version 1.2.0.

<ChangeLog>

*) Bugfix: a segmentation fault might occur in a worker process if the
   "try_files" directive was used; the bug had appeared in 1.1.19.

*) Bugfix: response might be truncated if there were more than IOV_MAX
   buffers used.

*) Bugfix: in the "crop" parameter of the "image_filter" directive.
   Thanks to Maxim Bublis.

</ChangeLog>
@
text
@d10 1
d143 1
a143 1
CFLAGS+=	-g -DNGX_DEBUG_MALLOC
@


1.321
log
@Update pkg-descr to modern variant.
Bump PORTREVISIONs.

PR:	ports/167089
@
text
@d9 1
a9 2
PORTVERSION=	1.0.15
PORTREVISION=	1
a73 1
		HTTP_UPSTREAM_KEEPALIVE "3rd party upstream keepalive module" off \
d406 1
a424 7
.if defined(WITH_HTTP_UPSTREAM_KEEPALIVE)
NGINX_UPSTREAM_KEEPALIVE_VERSION=	0.7
MASTER_SITES+=	http://mdounin.ru/files/:upstream
DISTFILES+=	ngx_http_upstream_keepalive-${NGINX_UPSTREAM_KEEPALIVE_VERSION}.tar.gz:upstream
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_upstream_keepalive-${NGINX_UPSTREAM_KEEPALIVE_VERSION}
.endif

d483 1
a483 1
CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib"
d844 3
a851 4
.if !defined(NO_INSTALL_MANPAGES)
	@@${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${MAN8PREFIX}/man/man8
.endif

@


1.320
log
@Update third-party naxsi module rom 0.43 to 0.45.

Do not bump PORTREVISIONs because this module disabled by default.

PR:	ports/167166, ports/167167
@
text
@d10 1
@


1.319
log
@Update from 3.0.11 to 3.0.12:

o) www/rubygem-passenger;
o) third-party passenger module for www/nginx and www/nginx-devel.
@
text
@d511 1
a511 1
NGINX_NAXSI_MODULE_VERSION=	0.43
d513 1
a513 1
DISTFILES+=	naxsi-${NGINX_NAXSI_MODULE_VERSION}.tar.gz:naxsi
@


1.318
log
@Security update from 1.0.14 to 1.0.15.

<ChangeLog>

*) Security: specially crafted mp4 file might allow to overwrite memory
   locations in a worker process if the ngx_http_mp4_module was used,
   potentially resulting in arbitrary code execution (CVE-2012-2089).
   Thanks to Matthew Daley.

*) Bugfix: in the ngx_http_mp4_module.

</ChangeLog>
@
text
@d527 1
a527 1
PASSENGER_VERSION=	3.0.11
@


1.317
log
@Update third-party ngx_http_redis from 0.3.5 to 0.3.6.
Add USERS/GROUPS for www/nginx.

Do not bump PORTREVISIONs because this module disabled by default.

Feature safe:	yes

<ChangeLog>

*) Feature: redis_gzip_flag.  Usefull if you are prefer to
   store data compressed in redis.  Works with ngx_http_gunzip_filter
   module.
   Thanks to Maxim Dounin.

*) Bugfix: ngx_http_redis_module might issue the error message
   "redis sent invalid trailer".
   Thanks to agentzh.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.14
@


1.316
log
@Security update from 1.0.13 to 1.0.14.

Security:	http://www.vuxml.org/freebsd/29194cb8-6e9f-11e1-8376-f0def16c5c1b.html
Feature safe:	yes

<ChangeLog>

*) Security: content of previously freed memory might be sent to a
   client if backend returned specially crafted response.
   Thanks to Matthew Daley.

</ChangeLog>
@
text
@d354 1
a354 1
NGINX_REDIS_MODULE_VERSION=	0.3.5
d714 3
@


1.315
log
@Update from 1.0.12 to 1.0.13.

<ChangeLog>

*) Feature: the "return" and "error_page" directives can now be used to
   return 307 redirections.

*) Bugfix: a segmentation fault might occur in a worker process if the
   "resolver" directive was used and there was no "error_log" directive
   specified at global level.
   Thanks to Roman Arutyunyan.

*) Bugfix: memory leaks.
   Thanks to Lanshun Zhou.

*) Bugfix: nginx might log incorrect error "upstream prematurely closed
   connection" instead of correct "upstream sent too big header" one.
   Thanks to Feibo Li.

*) Bugfix: on ZFS filesystem disk cache size might be calculated
   incorrectly; the bug had appeared in 1.0.1.

*) Bugfix: the number of internal redirects to named locations was not
   limited.

*) Bugfix: temporary files might be not removed if the "proxy_store"
   directive was used with SSI includes.

*) Bugfix: in some cases non-cacheable variables (such as the $args
   variable) returned old empty cached value.

*) Bugfix: the "proxy_redirect" directives might be inherited
   incorrectly.

*) Bugfix: nginx could not be built with the ngx_http_perl_module if the
   --with-openssl option was used.

*) Bugfix: nginx could not be built by the icc 12.1 compiler.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.13
@


1.314
log
@Fix fetch notice third-party module.
@
text
@d9 1
a9 2
PORTVERSION=	1.0.12
PORTREVISION=	1
@


1.313
log
@Fix fetch zip and naxsi third-party modules.
@
text
@d325 5
a329 3
MASTER_SITES+=	http://xph.us/dist/nginx-notice/:notice2
DISTFILES+=	nginx-notice-2.tar.gz:notice2
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-notice-2
@


1.312
log
@Update third-party naxsi module from 0.42 to 0.43.
Fix libraries dependences if WITH_LUA_MODULE knob defined. [1]

Do not bump PORTREVISIONs because this module disabled by default.

Submitted by:	Alexandre Biancalana <ale@@biancalanas.net> [1]
@
text
@d438 1
a438 2
MASTER_SITES+=	${MASTER_SITE_GOOGLE_CODE}:zip
PROJECTHOST=	mod-zip
d511 1
a511 3
FETCH_ARGS=	-pRr
MASTER_SITES+=	${MASTER_SITE_GOOGLE_CODE}:naxsi
PROJECTHOST=	naxsi
@


1.311
log
@Update slowfs_cache third-party module from 1.7 to 1.8.

Do not bump PORTREVISIONs because this module disabled by default.

<ChangeLog>

2012-02-28    VERSION 1.8
  * Fix setting of slowfs process title.
    In case when local path was over 277 characters long, slowfs
    process would crash, which would result in file not being
    copied to the cache.
    Bug had appeared in version 1.7.
</ChangeLog>
@
text
@d488 1
a488 1
LIB_DEPENDS=	luajit-5.1.2:${PORTSDIR}/lang/luajit
d511 1
a511 1
NGINX_NAXSI_MODULE_VERSION=	0.42
@


1.310
log
@Update slowfs_cache third-party module from 1.6 to 1.7.

Do not bump PORTREVISION because this module disabled by default.

<ChangeLog>

2012-02-28    VERSION 1.7
  * Fix on-disk cache size calculation.
    Since the initial release, recorded on-disk cache size was
    decreased twice for purged content (once during cache purge
    and once during subsequent cache update).
    This resulted in recorded on-disk cache size being much
    smaller than in reality, which could lead to on-disk cache
    outgrowing defined "max_size" parameter.
    Patch from Pyry Hakulinen (via ngx_cache_purge, months ago).

  * Append path of the file being cached to the slowfs process
    title.

</ChangeLog>
@
text
@d588 1
a588 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.7
@


1.309
log
@Add two third-party modules:

o) web_dav_extension, for support missing PROPFIND and OPTIONS commands;
o) http_auth_digest, providing support for RFC 2617 Digest Authentication.

PR:	165276, 165333
@
text
@d588 1
a588 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.6
@


1.308
log
@Bump pcre library dependency due to 8.30 update
@
text
@d57 1
d60 1
d194 8
d249 10
@


1.307
log
@Update from 1.0.11 to 1.0.12.

<ChangeLog>

*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
   "ssl_protocols" directive.

*) Feature: the "if" SSI command supports captures in regular
   expressions.

*) Bugfix: the "if" SSI command did not work inside the "block" command.

*) Bugfix: in AIO error handling on FreeBSD.

*) Bugfix: in the OpenSSL library initialization.

*) Bugfix: the "worker_cpu_affinity" directive might not work.

*) Bugfix: the "limit_conn_log_level" and "limit_req_log_level"
   directives might not work.

*) Bugfix: the "read_ahead" directive might not work combined with
   "try_files" and "open_file_cache".

*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
   did not return answer from cache if there were no live upstreams.

*) Bugfix: a segmentation fault might occur in a worker process if small
   time was used in the "inactive" parameter of the "proxy_cache_path"
   directive.

*) Bugfix: responses from cache might hang.

*) Bugfix: in error handling while connecting to a backend.
   Thanks to Piotr Sikora.

*) Bugfix: in the "epoll" event method.
   Thanks to Yichun Zhang.

*) Bugfix: the $sent_http_cache_control variable might contain a wrong
   value if the "expires" directive was used.
   Thanks to Yichun Zhang.

*) Bugfix: the "limit_rate" directive did not allow to use full
   throughput, even if limit value was very high.

*) Bugfix: the "sendfile_max_chunk" directive did not work, if the
   "limit_rate" directive was used.

*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
   1.0.11.

*) Bugfix: in the ngx_http_scgi_module.

*) Bugfix: in the ngx_http_mp4_module.

<ChangeLog>
@
text
@d10 1
d504 1
a504 1
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
@


1.306
log
@Use ${LOCALBASE} instead of ${PREFIX} for search headers and libraries
for third-party modules.

Do not bump PORTREVISIONs.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.11
@


1.305
log
@Update third-party modules:

o) echo from 0.37 to 0.38rc1;
o) headers_more from 0.16 to 0.17rc1;
o) drizzle from 0.1.2rc4 to 0.1.2rc6;
o) set_misc from 0.22rc4 to 0.22rc5.
@
text
@d732 1
a732 1
		's!%%PREFIX%%!${PREFIX}!' \
d743 1
a743 1
		's!%%PREFIX%%!${PREFIX}!g' \
d764 1
a764 1
		's!%%PREFIX%%!${PREFIX}!' \
d777 1
a777 1
		's!%%PREFIX%%!${PREFIX}!g' \
@


1.304
log
@Update third-party lua module from 0.4.0 to bugfix release 0.4.1.
@
text
@d217 2
a218 2
NGINX_ECHO_MODULE_VERSION=	0.37
GIT_ECHO_MODULE_VERSION=	0-gb0c1fc6
d226 2
a227 2
NGINX_HEADERS_MORE_MODULE_VERSION=	0.16
GIT_HEADERS_MORE_MODULE_VERSION=	0-gde77fd2
d434 2
a435 2
NGINX_DRIZZLE_MODULE_VERSION=	0.1.2rc4
GIT_DRIZZLE_MODULE_VERSION=	0-g46b744a
d557 2
a558 2
NGINX_SET_MISC_MODULE_VERSION=	0.22rc4
GIT_SET_MISC_VERSION=	0-g290d6cb
@


1.303
log
@Move luajit from devel to lang directory.

Notice from:	linimon
@
text
@d471 2
a472 2
NGINX_LUA_MODULE_VERSION=	0.4.0
GIT_LUA_MODULE_VERSION=	0-g7bdd850
@


1.302
log
@Update third-party modules:

o) memc from 0.12 to 0.13rc3;
o) redis2 from 0.07 to 0.08rc2;
o) set_misc from 0.22rc3 to 0.22rc4;
o) srcache from 0.12 to 0.13rc3;
o) xss from 0.03rc3 to 0.03rc8.
@
text
@d467 1
a467 1
LIB_DEPENDS=	luajit-5.1.2:${PORTSDIR}/devel/luajit
@


1.301
log
@Update third-party encrypted_session module from 0.01 to 0.02.
@
text
@d481 2
a482 2
NGINX_MEMC_MODULE_VERSION=	0.12
GIT_MEMC_MODULE_VERSION=	0-g4f1952c
d547 2
a548 2
NGINX_REDIS2_MODULE_VERSION=	0.07
GIT_REDIS2_MODULE_VERSION=	0-g6f7fc37
d557 2
a558 2
NGINX_SET_MISC_MODULE_VERSION=	0.22rc3
GIT_SET_MISC_VERSION=	0-g7adef5a
d574 2
a575 2
NGINX_SRCACHE_MODULE_VERSION=	0.12
GIT_SRCACHE_MODULE_VERSION=	0-g362530f
d612 2
a613 2
NGINX_XSS_MODULE_VERSION=	0.03rc3
GIT_XSS_MODULE_VERSION=	0-g8618dd3
@


1.300
log
@Update third-party headers_more module from 0.15 to 0.16.

<ChangeLog>

* bugfix: the on-demand handler/filter registration mechanism did
  not work fully for config reload via the HUP signal.

* bugfix: when setting a multi-value response header to a single
  value, the single value might be repeated on each old value.

* feature: added some debugging outputs that can be enabled by
  the --with-debug option when building nginx or ngx_openresty.

* bugfix: we should set header hash using ngx_hash_key_lc, not
  simply to 1.

* bugfix: Setting Cache-Control response headers might not work
  with other nginx output filter modules because we did not
  properly prepare the r->cache_control array at the same time.

* bugfix: more_set_input_headers and more_clear_input_headers did
  not handle the Accept-Encoding request headers properly.

* bugfix: the more_set_input_headers directive might cause invalid
  memory reads because Nginx request header values must be null
  terminated. thanks Maxim Dounin.

* bugfix: removing builtin headers in huge request headers with 20+
  entries could result in data loss. thanks Chris Dumoulin for the
  patch in github issue #6.

</ChangeLog>
@
text
@d445 2
a446 2
NGINX_ENCRYPTSESSION_MODULE_VERSION=	0.01
GIT_ENCRYPTSESSION_MODULE_VERSION=	0-g26da7fc
@


1.299
log
@Update third-party echo module from 0.36 to 0.37.
@
text
@d226 2
a227 2
NGINX_HEADERS_MORE_MODULE_VERSION=	0.15
GIT_HEADERS_MORE_MODULE_VERSION=	0-g137855d
@


1.298
log
@Add 4 third-party modules:

o) arrayvar, add support for array variables to nginx config files;
o) encrypted-session, for encrypt and decrypt nginx variable values;
o) form-input, reads HTTP POST and PUT request body encoded in
   "application/x-www-form-urlencoded", and parse the arguments in
   request body into nginx variables;
o) iconv, to convert characters of different encoding (by libiconv).
@
text
@d217 2
a218 2
NGINX_ECHO_MODULE_VERSION=	0.36
GIT_ECHO_MODULE_VERSION=	0-g13dd12f
@


1.297
log
@Update third-party lua module from 0.3 to latest stable version 0.4.
Also, switched from default lua interpreter to luajit - a Lua Just-In-Time compiler
for speed-up lua module based applications (nginx's configurations).
Fix issue with %%PREFIX%% substitution for lua module.
@
text
@d74 1
d77 2
d80 1
d443 10
d661 32
d775 5
@


1.296
log
@Add three new third-party modules:

o) drizzle -  an upstream module that talks to mysql and drizzle by libdrizzle;
o) rds_csv -  an output filter module to convert Resty-DBD-Streams (RDS) to
   Comma-Separated Values (CSV);
o) rds_json - an output filter that formats Resty DBD Streams generated by
   ngx_drizzle and others to JSON.

Do not bump PORTREVISION because these modules disabled by default.
@
text
@d453 3
d457 2
a458 3
USE_LUA=	5.1+
NGINX_LUA_MODULE_VERSION=	0.3.0
GIT_LUA_MODULE_VERSION=	0-gdd0d4d0
d697 1
a697 1
		's!%%PREFIX%%!${PREFIX}!' \
@


1.295
log
@Update third-party http_subs_filter module from 0.5.2.r45 to 0.5.2.r53.
Remove needless extra patch.

Update third-party upload_progress module from 0.8.2 to 0.8.3.
Change the download page to github.com.

Do not bump PORTREVISION because these modules disabled by default.
@
text
@d75 1
d82 2
d428 11
d512 18
d682 5
@


1.294
log
@Update third-party ngx_postgres module from 0.8 to 0.9.
Also remove needless patch.

Do not bump PORTREVISION because these modules disabled by default.

<ChangeLog>

* Improve debug logging.
  From Yichun Zhang (agentzh).

* Fix compatibility with poll, select and /dev/poll event models.
  Reported by Yichun Zhang (agentzh).

* Fix compatibility with PostgreSQL 9.x.
  Reported by Yichun Zhang (agentzh).

* Fix compatibility with nginx-1.1.4+.
  From Yichun Zhang (agentzh).

* Enforce writing of proper SQL queries by replacing "row <row>"
  output format with "text" and returning whole result-set with
  values separated by newlines when using "postgres_output"
  directive.

* Enforce writing of proper SQL queries by requiring result-set
  to contain exactly single value when using "binary_value" or
  "value" output formats when using "postgres_output" directive.

* Fix "duplicated last chunk" issue.
  Reported by Silly Sad, diagnosed by Maxim Dounin.

* Improve build-time PostgreSQL client library discovery process
  by using PostgreSQL's pg_config.
  Patch from Silly Sad.

</ChangeLog>
@
text
@d340 1
a340 1
NGINX_HTTP_SUBS_FILTER_MODULE_VERSION=	0.5.2.r45
d372 6
a377 5
NGINX_UPLOADPROGRESS_MODULE_VERSION=	0.8.2
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:uploadprogress/}
MASTER_SITE_SUBDIR+=	osa/:uploadprogress
DISTFILES+=	nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_MODULE_VERSION}.tar.gz:uploadprogress
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_MODULE_VERSION}
@


1.293
log
@Add naxsi third-party module, version 0.42.
Move down checksums for devel_kit third-party module.
Do not bump PORTREVISION because these modules disabled by default.

PR:	162783
@
text
@d490 1
a490 1
NGINX_POSTGRES_MODULE_VERSION=	0.8
@


1.292
log
@Update third-party cache_purge module from 1.4 to 1.5.

<ChangeLog>

  * Fix on-disk cache size calculation.
    Since the initial release, recorded on-disk cache size was
    decreased twice for purged content (once during cache purge
    and once during subsequent cache update).
    This resulted in recorded on-disk cache size being much
    smaller than in reality, which could lead to on-disk cache
    outgrowing defined "max_size" parameter.
    Patch from Pyry Hakulinen.

</ChangeLog>
@
text
@d78 1
d458 9
d725 6
d738 5
@


1.291
log
@Update from 1.0.10 to 1.0.11.
Remove needless patch.

<ChangeLog>

*) Change: now double quotes are encoded in an "echo" SSI-command
   output.
   Thanks to Zaur Abasmirzoev.

*) Feature: the "image_filter_sharpen" directive.

*) Bugfix: a segmentation fault might occur in a worker process if SNI
   was used; the bug had appeared in 1.0.9.

*) Bugfix: SIGWINCH signal did not work after first binary upgrade; the
   bug had appeared in 1.0.9.

*) Bugfix: the "If-Modified-Since", "If-Range", etc. client request
   header lines might be passed to backend while caching; or not passed
   without caching if caching was enabled in another part of the
   configuration.

*) Bugfix: in the "scgi_param" directive, if complex parameters were
   used.

*) Bugfix: "add_header" and "expires" directives did not work if a
   request was proxied and response status code was 206.

*) Bugfix: in the "expires @@time" directive.

*) Bugfix: in the ngx_http_flv_module.
   Thanks to Piotr Sikora.

*) Bugfix: in the ngx_http_mp4_module.

*) Bugfix: nginx could not be built on FreeBSD 10.

*) Bugfix: nginx could not be built on AIX.

</ChangeLog>
@
text
@d202 1
a202 1
NGINX_CACHE_PURGE_MODULE_VERSION=	1.4
@


1.290
log
@Add set-misc-nginx third-party module.

Remove DEVEL_KIT_MODULE from OPTIONS, because the devel_kit module
is used as a toolkit for other modules.

Add internal USE_NGINX_DEVEL_KIT variable.

Cleanup whitespaces.

Do not bump PORTREVISION because these modules disabled by default.

Feature safe:	yes

PR:		163148 (mostly)
@
text
@d9 1
a9 2
PORTVERSION=	1.0.10
PORTREVISION=	1
@


1.289
log
@Update from 3.0.9 to 3.0.11:
o) www/rubygem-passenger;	[*]
o) third-party passenger module for www/nginx and www/nginx-devel.

Feature safe:	yes

Approved by:	maintainer	[*]
@
text
@a75 1
		DEVEL_KIT_MODULE	"3rd party devel_kit module" off \
d82 1
a423 9
.if defined(WITH_DEVEL_KIT_MODULE)
NGINX_DEVEL_KIT_MODULE_VERSION=	0.2.17
GIT_DEVEL_KIT_MODULE_VERSION=	0-gbc97eea
FETCH_ARGS=	-pRr
MASTER_SITES+=	https://github.com/simpl/ngx_devel_kit/tarball/v${NGINX_DEVEL_KIT_MODULE_VERSION}/:devel_kit
DISTFILES+=	simpl-ngx_devel_kit-v${NGINX_DEVEL_KIT_MODULE_VERSION}-${GIT_DEVEL_KIT_MODULE_VERSION}.tar.gz:devel_kit
CONFIGURE_ARGS+=--add-module=${WRKDIR}/simpl-ngx_devel_kit-${GIT_DEVEL_KIT_MODULE_VERSION:S/^0-g//}
.endif

d438 1
a438 3
.if !defined(WITH_DEVEL_KIT_MODULE)
BROKEN=		for lua module build devel_kit also should be defined
.endif
d497 11
d546 1
a546 1
GIT_XRID_MODULE_VERSION=        0daa3cc
d594 9
@


1.288
log
@Update third-party upstream_keepalive module from 0.4 to 0.7.
Do not bump PORTREVISION cause module is disabled by default.

Feature safe:	yes

PR:	162874
@
text
@d479 1
a479 1
PASSENGER_VERSION=	3.0.9
@


1.287
log
@Fix installation path for perl module.
Bump PORTREVISION.

Feature safe:	yes

Problem	found by:	Maxim Dounin <mdounin@@mdounin.ru>
@
text
@d396 1
a396 1
NGINX_UPSTREAM_KEEPALIVE_VERSION=	0.4
@


1.286
log
@Update from 1.0.9 to 1.0.10.

Feature safe:    yes.

<ChangeLog>

*) Bugfix: a segmentation fault might occur in a worker process if
   resolver got a big DNS response.
   Thanks to Ben Hawkes.

*) Bugfix: in cache key calculation if internal MD5 implementation was
   used; the bug had appeared in 1.0.4.

*) Bugfix: the module ngx_http_mp4_module sent incorrect
   "Content-Length" response header line if the "start" argument was
   used.
   Thanks to Piotr Sikora.

</ChangeLog>
@
text
@d10 1
d698 1
a698 1
	${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/nginx
d700 1
a700 1
		${SITE_PERL}/${PERL_ARCH}/auto/nginx
d702 1
a702 1
		${SITE_PERL}/${PERL_ARCH}/auto/nginx
d704 1
a704 1
		${SITE_PERL}/${PERL_ARCH}/
@


1.285
log
@Add nginx-x-rid-header third-party module.

PR:		ports/162252
Submitted by:	mm
@
text
@d9 1
a9 1
PORTVERSION=	1.0.9
@


1.284
log
@Update from 1.0.8 to 1.0.9.

<ChangeLog>

*) Change: now the 0x7F-0x1F characters are escaped as \xXX in an
   access_log.

*) Change: now SIGWINCH signal works only in daemon mode.

*) Feature: "proxy/fastcgi/scgi/uwsgi_ignore_headers" directives support
   the following additional values: X-Accel-Limit-Rate,
   X-Accel-Buffering, X-Accel-Charset.

*) Feature: decrease of memory consumption if SSL is used.

*) Feature: accept filters are now supported on NetBSD.

*) Feature: the "uwsgi_buffering" and "scgi_buffering" directives.
   Thanks to Peter Smit.

*) Bugfix: a segmentation fault occurred on start or while
   reconfiguration if the "ssl" directive was used at http level and
   there was no "ssl_certificate" defined.

*) Bugfix: some UTF-8 characters were processed incorrectly.
   Thanks to Alexey Kuts.

*) Bugfix: the ngx_http_rewrite_module directives specified at "server"
   level were executed twice if no matching locations were defined.

*) Bugfix: a socket leak might occurred if "aio sendfile" was used.

*) Bugfix: connections with fast clients might be closed after
   send_timeout if file AIO was used.

*) Bugfix: in the ngx_http_autoindex_module.

*) Bugfix: the module ngx_http_mp4_module did not support seeking on
   32-bit platforms.

*) Bugfix: non-cacheable responses might be cached if
   "proxy_cache_bypass" directive was used.
   Thanks to John Ferlito.

*) Bugfix: cached responses with an empty body were returned
   incorrectly; the bug had appeared in 0.8.31.

*) Bugfix: 201 responses of the ngx_http_dav_module were incorrect; the
   bug had appeared in 0.8.32.

*) Bugfix: in the "return" directive.

*) Bugfix: the "ssl_verify_client", "ssl_verify_depth", and
   "ssl_prefer_server_ciphers" directives might work incorrectly if SNI
   was used.

</ChangeLog>
@
text
@d87 1
d544 8
@


1.283
log
@Update third-party cache_purge module from 1.3 to 1.4.

Do not bump PORTREVISION.

<ChangeLog>

* Add AIO support.
  Requested by Emin Hasanov.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.8
@


1.282
log
@Update from 1.0.7 to 1.0.8.

<ChangeLog>

*) Bugfix: nginx could not be built --with-http_mp4_module and without
   --with-debug option.

</ChangeLog>
@
text
@d201 1
a201 1
NGINX_CACHE_PURGE_MODULE_VERSION=	1.3
@


1.281
log
@Update from 1.0.6 to 1.0.7.

Original http_mp4 and third-party http_mp4_h268 modules are
incompatible, add note about.

<ChangeLog>

*) Change: now if total size of all ranges is greater than source
   response size, then nginx disables ranges and returns just the source
   response.

*) Feature: the "max_ranges" directive.

*) Feature: the module ngx_http_mp4_module.

*) Feature: the "worker_aio_requests" directive.

*) Bugfix: if nginx was built --with-file-aio it could not be run on
   Linux kernel which did not support AIO.

*) Bugfix: in Linux AIO error processing.
   Thanks to Hagai Avrahami.

*) Bugfix: in Linux AIO combined with open_file_cache.

*) Bugfix: open_file_cache did not update file info on retest if file
   was not atomically changed.

*) Bugfix: reduced memory consumption for long-lived requests.

*) Bugfix: in the "proxy/fastcgi/scgi/uwsgi_ignore_client_abort"
   directives.

*) Bugfix: nginx could not be built on MacOSX 10.7.

*) Bugfix: in the "proxy/fastcgi/scgi/uwsgi_ignore_client_abort"
   directives.

*) Bugfix: request body might be processed incorrectly if client used
   pipelining.

*) Bugfix: in the "request_body_in_single_buf" directive.

*) Bugfix: in "proxy_set_body" and "proxy_pass_request_body" directives
   if SSL connection to backend was used.

*) Bugfix: nginx hogged CPU if all servers in an upstream were marked as
   "down".

*) Bugfix: a segmentation fault might occur during reconfiguration if
   ssl_session_cache was defined but not used in previous configuration.

*) Bugfix: a segmentation fault might occur in a worker process if many
   backup servers were used in an upstream.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.7
@


1.280
log
@Update third-party http_redis module from 0.3.4 to 0.3.5.
Update third-party http_gunzip_filter module from 0.3 to 0.4.

Do not bump PORTREVISION because these third-party modules are
disabled by default.

<ChangeLog>

Changes with http_redis 0.3.5

*) Feature: add test for not set $redis_db directive.

*) Feature: keep-alive support merged from original
   memcached module 1.1.4.

Changes with http_gunzip 0.4

*) Feature: support for nginx 1.1.4.

</ChangeLog>
@
text
@d9 1
a9 2
PORTVERSION=	1.0.6
PORTREVISION=	1
d35 1
d271 8
@


1.279
log
@- Chase devel/google-perftools shlib bump
- security/tor*: add -L${LOCALBASE}/lib to LDFLAGS (fixes linking)

Approved by:    miwi, wen (mentors implicit)
@
text
@d247 1
a247 1
NGINX_GUNZIP_FILTER_MODULE_VERSION=	0.3
d315 1
a315 1
NGINX_REDIS_MODULE_VERSION=	0.3.4
@


1.278
log
@Update from 3.0.8 to 3.0.9:

o) www/rubygem-passenger; [1]
o) passenger support for www/nginx and www/nginx-devel;

Remove needless patch.

Do not bump PORTREVISION because passenger third-party module
disabled by default.

Approved by:	maintainer [1]
@
text
@d10 1
@


1.277
log
@Update third-party lua module from 0.2 to 0.3.

Bump PORTREVISION is unnecessary, because the module is
disabled by default.
@
text
@d468 1
a468 1
PASSENGER_VERSION=	3.0.8
d472 1
a472 2
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger::build::nginx.rb \
		${PATCHDIR}/extra-patch-passenger::ext::nginx::ContentHandler.c
@


1.276
log
@Update from 1.0.5 to 1.0.6.

<ChangeLog>

*) Feature: cache loader run time decrease.

*) Feature: loading time decrease of configuration with large number of
   HTTPS sites.

*) Feature: now nginx supports ECDHE key exchange ciphers.
   Thanks to Adrian Kotelba.

*) Feature: the "lingering_close" directive.

*) Feature: now shared zones and caches use POSIX semaphores on Solaris.
   Thanks to Den Ivanov.

*) Bugfix: nginx could not be built on Linux 3.0.

*) Bugfix: a segmentation fault might occur in a worker process if
   "fastcgi/scgi/uwsgi_param" directives were used with values starting
   with "HTTP_"; the bug had appeared in 0.8.40.

*) Bugfix: in closing connection for pipelined requests.

*) Bugfix: nginx did not disable gzipping if client sent "gzip;q=0" in
   "Accept-Encoding" request header line.

*) Bugfix: in timeout in unbuffered proxied mode.

*) Bugfix: memory leaks when a "proxy_pass" directive contains variables
   and proxies to an HTTPS backend.

*) Bugfix: in parameter validaiton of a "proxy_pass" directive with
   variables.
   Thanks to Lanshun Zhou.

*) Bugfix: SSL did not work on QNX.

*) Bugfix: SSL modules could not be built by gcc 4.6 without
   --with-debug option.

</ChangeLog>
@
text
@d440 2
a441 2
NGINX_LUA_MODULE_VERSION=	0.2.0
GIT_LUA_MODULE_VERSION=	0-g8e7d37e
@


1.275
log
@Update third-party module ngx_http_redis from 0.3.3 to 0.3.4.

<ChangeLog>

*) Change: better error messages diagnostics in select phase.

*) Add more comments in source code.

*) Bugfix: fix interaction with redis if redis_db was unused.
   Found by Sergey Makarov.
   Thanks to Igor Sysoev.

*) Feature: add test suite for redis backend.
   Thanks to Maxim Dounin.

</ChangeLog>

Do not bump PORTREVISION.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
@


1.274
log
@Downgrade from latest development version 1.1.0 to latest
stable version 1.0.5.

Bump PORTEPOCH.
@
text
@d314 1
a314 1
NGINX_REDIS_MODULE_VERSION=	0.3.3
@


1.273
log
@Update from 3.0.7 to 3.0.8:

1) www/rubygem-passenger;

2) passenger support for www/nginx and www/nginx-devel;

Also add patch for fix NULL pointer crash that occurs when
HTTP 1.0 Host header isn't given, obtained from passenger's
upstream.

Approved by:	maintainer [1]
@
text
@d9 2
a10 1
PORTVERSION=	1.1.0
@


1.272
log
@Update from 1.0.5 to 1.1.0.

<ChangeLog>

*) Feature: cache loader run time decrease.

*) Feature: "loader_files", "loader_sleep", and "loader_threshold"
   options of the "proxy/fastcgi/scgi/uwsgi_cache_path" directives.

*) Feature: loading time decrease of configuration with large number of
   HTTPS sites.

*) Feature: now nginx supports ECDHE key exchange ciphers.
   Thanks to Adrian Kotelba.

*) Feature: the "lingering_close" directive.
   Thanks to Maxim Dounin.

*) Bugfix: in closing connection for pipelined requests.
   Thanks to Maxim Dounin.

*) Bugfix: nginx did not disable gzipping if client sent "gzip;q=0" in
   "Accept-Encoding" request header line.

*) Bugfix: in timeout in unbuffered proxied mode.
   Thanks to Maxim Dounin.

*) Bugfix: memory leaks when a "proxy_pass" directive contains
   variables and proxies to an HTTPS backend.
   Thanks to Maxim Dounin.

*) Bugfix: in parameter validaiton of a "proxy_pass" directive with
   variables.
   Thanks to Lanshun Zhou.

*) Bugfix: SSL did not work on QNX.
   Thanks to Maxim Dounin.

*) Bugfix: SSL modules could not be built by gcc 4.6 without
   --with-debug option.

</ChangeLog>
@
text
@d467 1
a467 1
PASSENGER_VERSION=	3.0.7
d471 2
a472 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger::build::nginx.rb
d633 2
a634 1
		s!-lev!!' \
@


1.271
log
@Add one more third-party module nginx-gridfs 0.8 - module to serve content
directly from MongoDB's GridFS.

Update nginx_redis2 module from 0.7rc5 to 0.7.

Fix compile mod_zip module.

Move down CHUNKIN_MODULE in OPTIONS.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
d11 1
a11 1
MASTER_SITES=	http://sysoev.ru/nginx/
@


1.270
log
@Update from 1.0.4 to 1.0.5.

Fix third-party accept_language fetch by moving to github.

<ChangeLog>

*) Change: now default SSL ciphers are "HIGH:!aNULL:!MD5".
   Thanks to Rob Stradling.

*) Feature: the "referer_hash_max_size" and "referer_hash_bucket_size"
   directives.
   Thanks to Witold Filipczyk.

*) Feature: $uid_reset variable.

*) Bugfix: a segmentation fault might occur in a worker process, if a
   caching was used.
   Thanks to Lanshun Zhou.

*) Bugfix: worker processes may got caught in an endless loop during
   reconfiguration, if a caching was used; the bug had appeared in
   0.8.48.
   Thanks to Maxim Dounin.

*) Bugfix: "stalled cache updating" alert.
   Thanks to Maxim Dounin.

</ChangeLog>
@
text
@d72 1
d74 1
a74 1
		CHUNKIN_MODULE		"3rd party chunkin module" off \
d421 13
d488 2
a489 2
NGINX_REDIS2_MODULE_VERSION=	0.07rc5
GIT_REDIS2_MODULE_VERSION=	0-g1e01aca
d588 8
d605 12
@


1.269
log
@Add two more third-party modules:

o) chunkin-nginx-module - HTTP 1.1 chunked-encoding request body support;
o) xss-nginx-module - native cross-site scripting support in nginx.

Update nginx_eval_module to the latest version 1.0.3, move MASTER_SITES
to github.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
d160 5
a164 3
MASTER_SITES+=	ftp://inside01.p8.ru/nginx/:accept_language
DISTFILES+=	nginx_accept_language_module.tar.gz:accept_language
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_accept_language_module
@


1.268
log
@Add one more third-party module:

o) ngx_postgres-0.8 - upstream module that allows nginx to
   communicate directly with PostgreSQL database.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d73 1
d83 2
a84 1
		UDPLOG_MODULE		"3rd party udplog (syslog) module" off
d225 6
a230 4
NGINX_EVAL_MODULE_VERSION=	1.0.1
MASTER_SITES+=	http://www.grid.net.ru/nginx/download/:eval
DISTFILES+=	nginx_eval_module-${NGINX_EVAL_MODULE_VERSION}.tar.gz:eval
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_eval_module-${NGINX_EVAL_MODULE_VERSION}
d400 9
d517 9
@


1.267
log
@Add 3 third-party modules:

o) ngx_devel_kit - module that is designed to extend the core
   functionality of nginx;
o) ngx_lua - embed the power of lua into nginx;
o) ngx_redis2 - upstream module for the Redis database 2.0 protocol.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d76 1
d449 9
d579 5
@


1.266
log
@Add third-party module srcache-0.12.

Use more or less canonical name for github.com MASTER_SITES.
Fix fetch for third-party module memc.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d72 2
d76 1
d395 23
d448 9
d549 5
@


1.265
log
@Update third-party modules:

o) echo from 0.34 to 0.36;
o) headers_more from 0.14 to 0.15;
o) memc from 0.11 to 0.12.

Change default MASTER_SITES for these modules from MASTER_SITE_LOCAL
to http://download.github.com/.

Fix whitespaces.

Bump PORTREVISION is unnecessary, because these modules are
disabled by default.
@
text
@d75 1
d200 1
a200 1
MASTER_SITES+=	http://download.github.com/:echo
d209 1
a209 1
MASTER_SITES+=	http://download.github.com/:headers_more
d396 2
a397 2
MASTER_SITES+=	http://download.github.com/:memc
DISTFILES+=	agentzh-memc-nginx-module-v${NGINX_MEMC_MODULE_VERSION}-${GIT_MEMC_MODULE_VERSION}.tar.gz:echo
d429 9
@


1.264
log
@Update third party nginx_substitutions_filter from 0.5.2 revision 44 to
0.5.2 revision 45.

Do not bump PORTREVISION.
@
text
@d76 1
a76 1
		SYSLOG_SUPPORT          "3rd party syslog support" off \
d196 6
a201 5
NGINX_ECHO_MODULE_VERSION=	0.34
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:echo/}
MASTER_SITE_SUBDIR+=	osa/:echo
DISTFILES+=	ngx_echo_module-${NGINX_ECHO_MODULE_VERSION}.tar.gz:echo
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_echo_module-${NGINX_ECHO_MODULE_VERSION}
d205 6
a210 5
NGINX_HEADERS_MORE_MODULE_VERSION=	0.14
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:headers_more/}
MASTER_SITE_SUBDIR+=	osa/:headers_more
DISTFILES+=	ngx_headers_more_module-${NGINX_HEADERS_MORE_MODULE_VERSION}.tar.gz:headers_more
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_headers_more_module-${NGINX_HEADERS_MORE_MODULE_VERSION}
d317 2
a318 2
MASTER_SITES+=  ${MASTER_SITE_LOCAL:S/$/:subs_filter/}
MASTER_SITE_SUBDIR+=    osa/:subs_filter
d392 6
a397 5
NGINX_MEMC_MODULE_VERSION=	0.11
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:memc/}
MASTER_SITE_SUBDIR+=	osa/:memc
DISTFILES+=	ngx_http_memc_module-${NGINX_MEMC_MODULE_VERSION}.tar.gz:memc
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_memc_module-${NGINX_MEMC_MODULE_VERSION}
@


1.263
log
@Update third party ngx_http_redis module from 0.3.2 to 0.3.3.

Do not bump PORTREVISION.

<ChangeLog>

*) Bugfix: fix interaction with redis if redis_db was used.
   Also, compile with -Werror now is possible.

</ChangeLog>
@
text
@d314 1
a314 1
NGINX_HTTP_SUBS_FILTER_MODULE_VERSION=	0.5.2.r44
@


1.262
log
@Update from 1.0.3 to 1.0.4.

<ChangeLog>

*) Change: now regular expressions case sensitivity in the "map"
   directive is given by prefixes "~" or "~*".

*) Feature: now shared zones and caches use POSIX semaphores on Linux.
   Thanks to Denis F. Latypoff.

*) Bugfix: "stalled" cache updating" alert.

*) Bugfix: nginx could not be built --without-http_auth_basic_module;
   the bug had appeared in 1.0.3.

</ChangeLog>
@
text
@d299 1
a299 1
NGINX_REDIS_MODULE_VERSION=	0.3.2
@


1.261
log
@Update from 1.0.2 to 1.0.3.

<ChangeLog>

*) Feature: the "auth_basic_user_file" directive supports "$apr1",
   "{PLAIN}", and "{SSHA}" password encryption methods.
   Thanks to Maxim Dounin.

*) Feature: the "geoip_org" directive and $geoip_org variable.
   Thanks to Alexander Uskov, Arnaud Granal, and Denis F. Latypoff.

*) Feature: ngx_http_geo_module and ngx_http_geoip_module support IPv4
   addresses mapped to IPv6 addresses.

*) Bugfix: a segmentation fault occurred in a worker process during
   testing IPv4 address mapped to IPv6 address, if access or deny rules
   were defined only for IPv6; the bug had appeared in 0.8.22.

*) Bugfix: a cached reponse may be broken if proxy/fastcgi/scgi/
   uwsgi_cache_bypass and proxy/fastcgi/scgi/uwsgi_no_cache directive
   values were different; the bug had appeared in 0.8.46.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.260
log
@Update from 1.0.1 to 1.0.2.

<ChangeLog>

*) Feature: now shared zones and caches use POSIX semaphores.

*) Bugfix: in the "rotate" parameter of the "image_filter" directive.
   Thanks to Adam Bocim.

*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
   1.0.1.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
@


1.259
log
@Update from 1.0.0 to 1.0.1.
Update CONFLICTS.

Also update third party modules:
o) ngx_cache_purge from 1.2 to 1.3;
o) ngx_slowfs_cache from 1.5 to 1.6.

<ChangeLog>

*) Change: now the "split_clients" directive uses MurmurHash2 algorithm
   because of better distribution.
   Thanks to Oleg Mamontov.

*) Change: now long strings starting with zero are not considered as
   false values.
   Thanks to Maxim Dounin.

*) Change: now nginx uses a default listen backlog value 511 on Linux.

*) Feature: the $upstream_... variables may be used in the SSI and perl
   modules.

*) Bugfix: now nginx limits better disk cache size.
   Thanks to Oleg Mamontov.

*) Bugfix: a segmentation fault might occur while parsing incorrect
   IPv4 address; the bug had appeared in 0.9.3.
   Thanks to Maxim Dounin.

*) Bugfix: nginx could not be built by gcc 4.6 without --with-debug
   option.

*) Bugfix: nginx could not be built on Solaris 9 and earlier; the bug
   had appeared in 0.9.3.
   Thanks to Dagobert Michelsen.

*) Bugfix: $request_time variable had invalid values if subrequests
   were used; the bug had appeared in 0.8.47.
   Thanks to Igor A. Valcov.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
@


1.258
log
@Update third party upstream keepalive module from 0.3 to 0.4.

Do not bump PORTREVISION.

<ChangeLog>

*) Bugfix: the "[alert] ... open socket ... left in connection ..."
   messages were logged on nginx worker process gracefull exit for
   each cached connection; the bug had appeared in 0.3.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
d99 1
a99 1
CONFLICTS?=	nginx-devel-0.*
d189 1
a189 1
NGINX_CACHE_PURGE_MODULE_VERSION=	1.2
d419 1
a419 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.5
@


1.257
log
@Update from 3.0.6 to 3.0.7:

1) www/rubygem-passenger;

2) passenger support for www/nginx and www/nginx-devel;
   update passenger's version for patches.

3) for speed-up rails applications build passenger without
   debugging information by default.  Otherwise WITH_DEBUG
   required.

Approved by:	maintainer [1,3]
@
text
@d370 1
a370 1
NGINX_UPSTREAM_KEEPALIVE_VERSION=	0.3
@


1.256
log
@Update to latest stable version 1.0.0.

For speed-up rails applications don't build debugging information for
passenger module by default.  Otherwise WITH_DEBUG required.

Remove needless nginx.8 for www/nginx, now its in the distro.

<ChangeLog>

*) Bugfix: a cache manager might hog CPU after reload.
   Thanks to Maxim Dounin.

*) Bugfix: an "image_filter crop" directive worked incorrectly coupled
   with an "image_filter rotate 180" directive.

*) Bugfix: a "satisfy any" directive disabled custom 401 error page.

</ChangeLog>
@
text
@d407 1
a407 1
PASSENGER_VERSION=	3.0.6
@


1.255
log
@Add third-party http_subs_filter module.
Do not bump PORTREVISION.

PR:	156163
@
text
@d9 1
a9 2
PORTVERSION=	0.8.54
PORTREVISION=	2
a103 2
SUB_FILES+=	nginx.8
SUB_LIST+=	NGINX_ERRORLOG=${NGINX_ERRORLOG} NGINX_RUNDIR=${NGINX_RUNDIR}
d412 4
d568 1
a568 1
	@@${INSTALL_MAN} ${WRKDIR}/nginx.8 ${MAN8PREFIX}/man/man8
@


1.254
log
@Update third-party fancyindex module from 0.3 to 0.3.1.

Do not bump PORTREVISIONs.
@
text
@d66 1
d316 8
@


1.253
log
@Update from 3.0.5 to 3.0.6:

o) www/rubygem-passenger; [*]
o) passenger support for www/nginx and www/nginx-devel.

More accurate for detect dependence of nginx ports. [*]

Approved by:	maintainer [*]
@
text
@d225 1
a225 1
NGINX_FANCYINDEX_MODULE_VERSION=	0.3
@


1.252
log
@Switch IPv6 support on by default.

Bump PORTREVISIONs.

Spotted by:	tom
@
text
@d401 1
a401 1
PASSENGER_VERSION=	3.0.5
d500 2
a501 2
		'259s!-I/usr/include/libev!!; \
		260s!-lev!!' \
@


1.251
log
@Update from 3.0.4 to 3.0.5:

o) www/rubygem-passenger; (1)
o) passenger support for www/nginx and www/nginx-devel. (2)

Adopt passenger's version update for extra patches.

Update preferred nginx version (1).
Do not bump PORTREVISIONs. (2)

Approved by:	Jacob Atzen <jatzen@@gmail.com> (maintainer) (1)
@
text
@d10 1
a10 1
PORTREVISION=	1
d25 1
a25 1
		IPV6			"Enable IPv6" off \
d136 1
a136 1
.if defined(WITH_IPV6)
@


1.250
log
@Update from 3.0.3 to 3.0.4:

o) www/rubygem-passenger; (1)
o) passenger support for www/nginx and www/nginx-devel. (2)

Adopt passenger's version update for extra patches.

Do not bump PORTREVISIONs. (2)

Approved by:	Jacob Atzen <jatzen@@gmail.com> (maintainer) (1)
@
text
@d401 1
a401 1
PASSENGER_VERSION=	3.0.4
@


1.249
log
@- Chase devel/google-perftools shlib bump
@
text
@d401 1
a401 1
PASSENGER_VERSION=	3.0.3
@


1.248
log
@Update from 3.0.2 to 3.0.3:

o) www/rubygem-passenger; (1)
o) passenger support for www/nginx and www/nginx-devel. (2)

Adopt passenger's version update for extra patches.

Do not bump PORTREVISIONs. (2)

Approved by:	Jacob Atzen <jatzen@@gmail.com> (maintainer) (1)
@
text
@d10 1
d142 1
a142 1
LIB_DEPENDS+=	profiler.0:${PORTSDIR}/devel/google-perftools
@


1.247
log
@Update third-party headers_more module from 0.13 to 0.14.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d400 1
a400 1
PASSENGER_VERSION=	3.0.2
@


1.246
log
@Update third-party headers_more module from 0.10 to 0.13.

Do not bump PORTREVISIONs.
@
text
@d205 1
a205 1
NGINX_HEADERS_MORE_MODULE_VERSION=	0.13
@


1.245
log
@Update third-party modules:

o) uploadprogress from 0.8 to 0.8.2;
o) echo from 0.30 to 0.34;

Do not bump PORTREVISIONs.
@
text
@d205 1
a205 1
NGINX_HEADERS_MORE_MODULE_VERSION=	0.10
@


1.244
log
@Update from 3.0.1 to 3.0.2:

o) www/rubygem-passenger; [*]
o) passenger support for www/nginx and www/nginx-devel.

Remove needless extra patches.

Approved by:	maintainer [*]
@
text
@d197 1
a197 1
NGINX_ECHO_MODULE_VERSION=	0.30
d339 1
a339 1
NGINX_UPLOADPROGRESS_MODULE_VERSION=	0.8
@


1.243
log
@Update from 0.8.53 to 0.8.54.

<ChangeLog>

*) Bugfix: if there was a single server for given IPv6 address:port
   pair, then captures in regular expressions in a "server_name"
   directive did not work.

*) Bugfix: a segmentation fault might occur in a worker process, if the
   "auth_basic" directive was used.
   Thanks to Michail Laletin.

*) Bugfix: compatibility with ngx_http_eval_module; the bug had
   appeared in 0.8.42.

</ChangeLog>
@
text
@d400 1
a400 1
PASSENGER_VERSION=	3.0.1
d404 1
a404 3
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger::build::nginx.rb \
		${PATCHDIR}/extra-patch-passenger::ext::common::Utils.cpp \
		${PATCHDIR}/extra-patch-passenger::ext::nginx::config
d499 2
a500 2
		'258s!-I/usr/include/libev!!; \
		259s!-lev!!' \
@


1.242
log
@Add third-party syslog support, original patch obtained from
http://dl.dropbox.com/u/5836407/Patches/Nginx_0.8.49-syslog-support.txt.

Do not bump PORTREVISIONs.

Submitted by:	Anes Muhametov aka anes at anes dot su
PR:		ports/152920
@
text
@d9 1
a9 2
PORTVERSION=	0.8.53
PORTREVISION=	1
@


1.241
log
@Update passenger as well as support for passenger-specific ports
from 3.0.0 to 3.0.1.

Also:

 o) respect CC/CXX/CFLAGS/PTHREAD_LIBS flags;
 o) build depends against devel/libev instead of internal libev;
 o) change depends from curl binary to libcurl;
 o) revert back GEM_LIB_DIR for pkg-message.	(!)

Do not bump PORTREVISIONs for www/nginx and www/nginx-devel ports.

<Note>

Patch extra-patch-passenger::ext::common::Utils.cpp obtained from
passenger's git:
https://github.com/FooBarWidget/passenger/commit/9a811060db56cfad2e2056d90cac1a354870dbad
and should be remove in next [3.0.2] port update.

</Note>

Approved by:	maintainer [*]
Pointy hat to:	wen (!)
@
text
@d76 1
d424 6
@


1.240
log
@Add support for passenger 3.0.0.

<Note>

www/nginx and www/nginx-devel build support for nginx only.
For full support www/rubygem-passenger port compiled with
option WITH_NGINXPORT should be installed.

</Note>

Do not bump PORTREVISIONs.
@
text
@d400 1
a400 1
PASSENGER_VERSION=	3.0.0
d404 3
a406 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-passenger::build::nginx.rb
d492 1
a492 1
		35s!true!false!' \
d494 4
@


1.239
log
@Add nginx(8).
Bump PORTREVISION.

Thanks to:
o) Maxim Dounin aka mdounin at mdounin dot ru
o) Ruslan Ermilov aka ru@@

Spotted by:	Sergey Svishchev aka svs at ropnet dot ru
PR:		ports/152212
@
text
@d73 1
d83 6
d399 8
d470 3
d484 11
@


1.238
log
@Accordingly (www/nginx and www/nginx-devel):
*) update third-party http_auth_pam module from 1.1 to 1.2.
*) remove MD5.

Do not bump PORTREVISIONs.
@
text
@d10 1
d94 5
d517 3
@


1.237
log
@Accordingly (www/nginx and www/nginx-devel):

*) update third party memc module from 0.08 to 0.11;
*) remove third party passenger module, since it possible to run as
   standalone server.
@
text
@d159 1
a159 1
NGINX_AUTH_PAM_MODULE_VERSION=	1.1
@


1.236
log
@Update from 0.8.52 to 0.8.53.
Update third-party fancyindex module from 0.2.5 to 0.3.

<ChangeLog>

*) Feature: now the "error_page" directive allows to change a status
   code in a redirect.

*) Feature: the "gzip_disable" directive supports special "degradation"
   mask.

*) Bugfix: a socket leak might occurred if file AIO was used.
   Thanks to Maxim Dounin.

*) Bugfix: if the first server had no "listen" directive and there was
   no explicit default server, then a next server with a "listen"
   directive became the default server; the bug had appeared in 0.8.21.

</ChangeLog>
@
text
@a71 1
		PASSENGER_MODULE	"3rd party passenger module" off \
a80 6
.if defined(WITH_PASSENGER_MODULE)
CATEGORIES+=	ruby
USE_RUBY=	yes
USE_RAKE=	yes
.endif

d370 1
a370 1
NGINX_MEMC_MODULE_VERSION=	0.08
a385 7
.if defined(WITH_PASSENGER_MODULE)
PASSENGER_VERSION=	2.2.15
MASTER_SITES+=	RF/passenger/:passenger
DISTFILES+=	passenger-${PASSENGER_VERSION}.tar.gz:passenger
CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
.endif

a448 3
.if defined(WITH_PASSENGER_MODULE)
	@@${ECHO_MSG} "This port install Passenger module only"
.endif
a459 7
.if defined(WITH_PASSENGER_MODULE)
	@@${REINPLACE_CMD} 's!g++!${CXX}!' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/Rakefile
	@@${REINPLACE_CMD} '377s!-g!${CXXFLAGS}!; \
		s!-lpthread!${PTHREAD_LIBS}!g' \
		${WRKDIR}/passenger-${PASSENGER_VERSION}/lib/phusion_passenger/platform_info.rb
.endif
@


1.235
log
@Update from 0.8.51 to 0.8.52.

<ChangeLog>

*) Bugfix: nginx used SSL mode for a listen socket if any listen option
   was set; the bug had appeared in 0.8.51.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.8.52
d218 1
a218 1
NGINX_FANCYINDEX_MODULE_VERSION=	0.2.5
@


1.234
log
@Update from 0.7.67 to latest stable version 0.8.51 by merge changes from
www/nginx-devel.

Update CONFLIGS and temporary mark IGNORE www/nginx-devel, because latest
version available from www/nginx.

<Announcement>

Now the 0.8.x branch becomes a stable branch.  The new features have been
appeared during 0.8 development:

o named regular expression captures;
o file AIO in FreeBSD and Linux;
o SSL CRL;
o SCGI and uwsgi modules.

</Announcement>
@
text
@d9 1
a9 1
PORTVERSION=	0.8.51
@


1.233
log
@Accordingly update third party upload module from 2.0.12 to 2.2.0.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Added feature: resumable uploads.
*) Added feature: allow to use of $variables in "upload_pass"
   directive (Piotr Sikora).
*) Added feature: allow module's directives inside if
   statements (David Backeus).
*) Added feature: directive upload_tame_arrays and ability to
   do some magic with php arrays.

</ChangeLog>
@
text
@d9 1
a9 2
PORTVERSION=	0.7.67
PORTREVISION=	1
d23 1
d125 4
d141 1
d143 2
a144 1
		--http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \
a195 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_echo_time.c
d419 1
d490 1
a490 1
			${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}/patches/ngx_http_upstream_init_busy-0.8.0.patch )
d503 1
a503 1
.for i in fastcgi_params mime.types nginx.conf
@


1.232
log
@Accordingly update third party upstream_keepalive from 0.2 to 0.3.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Bugfix: cached connections might be closed needlessly.
   Thanks to Martin Fjordvald.

*) Bugfix: in memory allocation error handling on config creation.

</ChangeLog>

This commit is dedicate to my sister's birthday.
@
text
@d321 1
a321 1
NGINX_UPLOAD_MODULE_VERSION=	2.0.12
@


1.231
log
@Accordingly update third party mod_zip from 1.1.5 to 1.1.6.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Feature: Support for UTF-8 filenames. Thanks to Robbie Scott/Bandcamp.

*) Feature: Issue subrequests serially. Thanks to Brian Moran/OneHub.

*) Feature: Use Zip64 when archive is larger than 4 GB. Thanks to Vasily
   Fedoseyev.

*) Bugfix: Support spaces in URLs.

</ChangeLog>
@
text
@d352 1
a352 1
NGINX_UPSTREAM_KEEPALIVE_VERSION=	0.2
@


1.230
log
@Install three plain configuration files with -dist prefix.
Do not remove fastcgi_params configuration file, which may carefully
edited by the user.

Sync DEBUG knob description with www/nginx-devel.

Bump PORTREVISION.
@
text
@d364 1
a364 1
NGINX_ZIP_MODULE_VERSION=	1.1.5
@


1.229
log
@Accordingly update third-party mogilefs module from 1.0.3 to 1.0.4.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Added feature: multiple $mogilefs_path variables.

*) Fixed bug: segfault on reconfiguration due to uninitialized class
   template (thanks to Pyry Hakulinen).

</ChangeLog>
@
text
@d10 1
d22 1
a22 1
OPTIONS=	DEBUG			"Build with debug" off \
d494 1
a494 1
.for i in koi-win koi-utf win-utf fastcgi_params
d497 1
a497 1
.for i in mime.types nginx.conf
@


1.228
log
@Update third-party ngx_http_redis module from 0.3.1 to 0.3.2.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Bugfix: ngx_http_redis_module might issue the error message
   "redis sent invalid trailer".  For more information see:

*) Change: now the $redis_db set is not obligatory; default
   value is "0".

</ChangeLog>
@
text
@d245 1
a245 1
NGINX_MOGILEFS_MODULE_VERSION=	1.0.3
@


1.227
log
@Update third-party ngx_cache_purge module from 1.1 to 1.2.
Do not bump PORTREVISIONs.

<ChangeLog>

* Fix various build scenarios with disabled upstream modules.
  Reported by Johan Bergstroem.

* Add ability to purge content from SCGI's cache.
  Requested by Johan Bergstroem.

</ChangeLog>
@
text
@d288 1
a288 1
NGINX_REDIS_MODULE_VERSION=	0.3.1
@


1.226
log
@Convert post-patch target to EXTRA_PATCHES entries for patches for third-party modules.
No functionally changes.
Do not bump PORTREVISIONs.

Spotted by:	Maxim Dounin aka mdounin at mdounin dot ru

Feature safe:	yes
@
text
@d177 1
a177 1
NGINX_CACHE_PURGE_MODULE_VERSION=	1.1
@


1.225
log
@Accordingly update passenger from 2.2.14 to 2.2.15 for:

o) www/nginx and www/nginx-devel	[1]
o) www/rubygem-passenger		[2]

Remove needless patch.

[1] Do not bump PORTREVISION.
[2] Approved by:	Jacob Atzen aka jatzen at gmail dot com (maintainer)

Feature safe:		yes
@
text
@d189 1
d256 1
d263 1
d347 1
a469 12
.if defined(WITH_ECHO_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_echo_time.c
.endif
.if defined(WITH_HTTP_MP4_H264_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_streaming_module.c
.endif
.if defined(WITH_HTTP_NOTICE_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_notice_module.c
.endif
a476 4
.if defined(WITH_HTTP_UPSTREAM_HASH)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_upstream.h
.endif
@


1.224
log
@Illuminate GeoIP module. [1]
Fix typo for thirdparty udp module. [2]
Do not bump PORTREVISION.

Feature safe: yes

Submitted by:	Rainer Duffner <rainer@@ultra-secure.de> [1]
		Vadim Goncharov aka nuclight via IRC [2]

PR:		ports/148092 [1]
@
text
@d384 1
a384 1
PASSENGER_VERSION=	2.2.14
a483 2
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-StaticContentHandler.c
@


1.223
log
@Change broken MASTER_SITES for third-party fancyindex module to MASTER_SITE_LOCAL. (*)
Uniform fancyindex tarball for stable and devel version.
No functionaly changes.
Do not bump PORTREVISION.

(*) Notice from:	Rafal Szkodzinski aka uid at atnus dot com
@
text
@d30 1
d74 1
a74 1
		UDPLOG_MODULE		"3rd party updlog (syslog) module" off
d229 5
@


1.222
log
@Update from 0.7.66 to 0.7.67.

<ChangeLog>

*) Security: nginx/Windows worker might be terminated abnormally if a
   requested file name has invalid UTF-8 encoding.

</ChangeLog>
@
text
@d211 2
a212 1
MASTER_SITES+=	http://furi-ku.org/+/cgit/aperez/ngx-fancyindex/snapshot/:fancyindex
@


1.221
log
@Accordingly update third-party fancyindex module from 0.2.2 to 0.2.5.
Remove needless patches.

Do not bump PORTREVISIONs.
@
text
@d9 1
a9 1
PORTVERSION=	0.7.66
@


1.220
log
@Accordingly update third-party slowfs_cache module from 1.4 to 1.5.
Remove needless patch.

Do not bump PORTREVISIONs.
@
text
@d210 3
a212 3
NGINX_FANCYINDEX_MODULE_VERSION=	0.2.2
MASTER_SITES+=	http://connectical.com/attachments/download/26/:fancyindex
DISTFILES+=	ngx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION}.tar.bz2:fancyindex
a462 4
.if defined(WITH_HTTP_FANCYINDEX_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_fancyindex_module.c
.endif
@


1.219
log
@Accordingly update third-party cache_purge module from 1.0 to 1.1.

Do not bump PORTREVISIONs.
@
text
@d384 1
a384 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.4
a487 4
.if defined(WITH_SLOWFS_CACHE_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_slowfs_module.c
.endif
@


1.218
log
@Update from 0.7.65 to 0.7.66.
License.

<ChangeLog>

*) Security: now nginx/Windows ignores default file stream name.
   Thanks to Jose Antonio Vazquez Gonzalez.

*) Change: now the charset filter runs before the SSI filter.

*) Change: now no message is written in an error log if a variable is
   not found by $r->variable() method.

*) Change: now keepalive connections after POST requests are not
   disabled for MSIE 7.0+.
   Thanks to Adam Lounds.

*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.

*) Feature: now the "rewrite" directive does a redirect automatically
   if the $scheme variable is used.
   Thanks to Piotr Sikora.

*) Feature: the "chunked_transfer_encoding" directive.

*) Feature: the $geoip_city_continent_code, $geoip_latitude, and
   $geoip_longitude variables.
   Thanks to Arvind Sundararajan.

*) Feature: now the ngx_http_image_filter_module deletes always EXIF
   and other application specific data if the data consume more than 5%
   of a JPEG file.

*) Feature: now the "msie_padding" directive works for Chrome too.

*) Workaround: now keepalive connections are disabled for Safari.
   Thanks to Joshua Sierles.

*) Bugfix: nginx ignored the "private" and "no-store" values in the
   "Cache-Control" backend response header line.

*) Bugfix: an "&" character was not escaped when it was copied in
   arguments part in a rewrite rule.

*) Bugfix: nginx might be terminated abnormally while a signal
   processing or if the directive "timer_resolution" was used on
   platforms which do not support kqueue or eventport notification
   methods.
   Thanks to George Xie and Maxim Dounin.

*) Bugfix: if temporary files and permanent storage area resided at
   different file systems, then permanent file modification times were
   incorrect.
   Thanks to Maxim Dounin.

*) Bugfix: ngx_http_memcached_module might issue the error message
   "memcached sent invalid trailer".
   Thanks to Maxim Dounin.

*) Bugfix: nginx could not built zlib-1.2.4 library using the library
   sources.
   Thanks to Maxim Dounin.

*) Bugfix: values of the $query_string, $arg_..., etc. variables cached
   in main request were used by the SSI module in subrequests.

*) Bugfix: nginx did not support HTTPS referrers.

*) Bugfix: nginx/Windows might not find file if path in configuration
   was given in other character case; the bug had appeared in 0.7.65.

*) Bugfix: the $date_local variable has an incorrect value, if the "%s"
   format was used.
   Thanks to Maxim Dounin.

*) Bugfix: nginx did not support all ciphers and digests used in client
   certificates.
   Thanks to Innocenty Enikeew.

*) Bugfix: if ssl_session_cache was not set or was set to "none", then
   during client certificate verify the error "session id context
   uninitialized" might occur; the bug had appeared in 0.7.1.

*) Bugfix: OpenSSL-1.0.0 compatibility on 64-bit Linux.
   Thanks to Maxim Dounin.

*) Bugfix: a geo range returned default value if the range included two
   or more /16 networks and did not begin at /16 network boundary.

*) Bugfix: the $uid_got variable might not be used in the SSI and perl
   modules.

*) Bugfix: a worker process hung if a FIFO file was requested.
   Thanks to Vicente Aguilar and Maxim Dounin.

*) Bugfix: a variable value was repeatedly encoded after each an "echo"
   SSI-command output; the bug had appeared in 0.6.14.

*) Bugfix: a "stub" parameter of an "include" SSI directive was not
   used, if empty response has 200 status code.

*) Bugfix: a block used in a "stub" parameter of an "include" SSI
   directive was output with "text/plain" MIME type.

*) Bugfix: if a proxied or FastCGI request was internally redirected to
   another proxied or FastCGI location, then a segmentation fault might
   occur in a worker process; the bug had appeared in 0.7.65.
   Thanks to Yichun Zhang.

*) Bugfix: IMAP connections may hang until they timed out while talking
   to Zimbra server.
   Thanks to Alan Batie.

*) Bugfix: nginx did not support chunked transfer encoding for 201
   responses.
   Thanks to Julian Reich.

</ChangeLog>
@
text
@d176 1
a176 1
NGINX_CACHE_PURGE_MODULE_VERSION=	1.0
@


1.217
log
@Accordingly update third-party headers_more module from 0.09 to 0.10.

Do not bump PORTREVISIONs.
@
text
@d9 1
a9 1
PORTVERSION=	0.7.65
d19 2
d459 12
d481 2
d488 4
@


1.216
log
@Update from 2.2.12 to 2.2.14:

1) third-party passenger module for www/nginx and www/nginx-devel
2) www/rubygem-passenger

Do not bump PORTREVISIONs. [1]

Approved by:	Jacob Atzen aka jatzen at gmail dot com [2]
@
text
@d189 1
a189 1
NGINX_HEADERS_MORE_MODULE_VERSION=	0.09
@


1.215
log
@Accordingly update third-party headers_more module from 0.08 to 0.09.

Do not bump PORTREVISIONs.
@
text
@d375 1
a375 1
PASSENGER_VERSION=	2.2.12
@


1.214
log
@Update:

1) third-party passenger module from 2.2.11 to 2.2.12 for www/nginx
2) third-party passenger module from 2.2.11 to 2.2.12 for www/nginx-devel
3) www/rubygem-passenger from 2.2.11 to 2.2.12

Remove needless patch. [2]

Do not bump PORTREVISIONs.

Approved by:	Jacob Atzen aka jatzen at gmail dot com [3]
@
text
@d189 1
a189 1
NGINX_HEADERS_MORE_MODULE_VERSION=	0.08
@


1.213
log
@Accordingly update third-party slowfs_cache module from 1.3 to 1.4.
Remove needless patch.

Do not bump PORTREVISIONs.
@
text
@d375 1
a375 1
PASSENGER_VERSION=	2.2.11
@


1.212
log
@Accordingly update third-party echo module from 0.28 to 0.30.

Do not bump PORTREVISIONs.
@
text
@d382 1
a382 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.3
@


1.211
log
@Accordingly update third-party echo module from 0.27 to 0.28.

Do not bump PORTREVISIONs.
@
text
@d181 1
a181 1
NGINX_ECHO_MODULE_VERSION=	0.28
@


1.210
log
@Accordingly update third-party supervisord module from 1.3 to 1.4.

Do not bump PORTREVISIONs.
@
text
@d181 1
a181 1
NGINX_ECHO_MODULE_VERSION=	0.27
@


1.209
log
@Update third party headers_more module from 0.07 to 0.08.
@
text
@d389 1
a389 1
NGINX_SUPERVISORD_MODULE_VERSION=	1.3
@


1.208
log
@Update third party http_memc module from 0.06 to 0.08.

Do not bump PORTREVISION.
@
text
@d189 1
a189 1
NGINX_HEADERS_MORE_MODULE_VERSION=	0.07
@


1.207
log
@Accordingly update third-party echo module from 0.26 to 0.27.
Remove needless extra patch.

Do not bump PORTREVISIONs.
@
text
@d358 1
a358 1
NGINX_MEMC_MODULE_VERSION=	0.06
@


1.206
log
@Cleanse uneeded RC_SUBR variables

Approved by:	pgolluci
@
text
@d181 1
a181 1
NGINX_ECHO_MODULE_VERSION=	0.26
@


1.205
log
@Accordingly add third-party echo module version 0.26.

Do not bump PORTREVISIONs.
@
text
@d95 1
a95 1
SUB_LIST+=	RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} WWWOWN=${WWWOWN}
@


1.204
log
@Accordingly update third-party auth request module from 0.1 to 0.2.

Do not bump PORTREVISIONs.

<ChangeLog>

*) Feature: auth_request_set directive.

*) Bugfix: segmentation fault happened on auth request handled by
   proxy_pass or fastcgi_pass if initial request has non-empty body.

</ChangeLog>
@
text
@d46 1
d180 8
@


1.203
log
@Accordingly update third-party gunzip filter module from 0.2 to 0.3.

Do not bump PORTREVISIONs.
@
text
@d162 1
a162 1
NGINX_AUTH_REQ_MODULE_VERSION=	0.1
d164 2
a165 2
DISTFILES+=	ngx_http_auth_request-${NGINX_AUTH_REQ_MODULE_VERSION}.tar.gz:auth_request
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request-${NGINX_AUTH_REQ_MODULE_VERSION}
@


1.202
log
@Accordingly update third-party fancyindex module from 0.2.1 to 0.2.2.

Do not bump PORTREVISIONs.

PR:	144557
@
text
@d206 1
a206 1
NGINX_GUNZIP_FILTER_MODULE_VERSION=	0.2
@


1.201
log
@Update CATEGORIES if defined passenger module support.

Do not bump PORTREVISIONs.
@
text
@d199 2
a200 2
NGINX_FANCYINDEX_MODULE_VERSION=	0.2.1
MASTER_SITES+=	http://connectical.com/attachments/download/21/:fancyindex
@


1.200
log
@Accordingly update third party passenger module from 2.0.10 to 2.0.11.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d78 1
@


1.199
log
@Accordingly update third party upload module from 2.0.11 to 2.0.12.
Remove needless patch for www/nginx-devel.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d365 1
a365 1
PASSENGER_VERSION=	2.2.10
@


1.198
log
@Accordingly add third party auth_request module, version 0.1.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d298 1
a298 1
NGINX_UPLOAD_MODULE_VERSION=	2.0.11
@


1.197
log
@Accordingly add third party headers_more module, version 0.07.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d50 1
d160 7
@


1.196
log
@Accordingly update third party modules:

o) http_push from 0.69 to 0.692;
o) passenger from 2.2.9 to 2.2.10.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d46 1
d170 8
@


1.195
log
@Update third party modules for www/nginx and www/nginx-devel:

o) h264_streaming from 2.2.5 to 2.2.7;
o) passenger from 2.2.8 to 2.2.9.

Do not bump PORTREVISIONs.

Feature safe:	yes
@
text
@d234 1
a234 1
NGINX_PUSH_MODULE_VERSION=	0.69
d348 1
a348 1
PASSENGER_VERSION=	2.2.9
@


1.194
log
@Accordingly add third party module accept language.

Do not bump PORTREVISIONs.

Feature safe:	yes

Submitted by:	Mike Stupalov aka landy2005 at gmail dot com
PR:		ports/143787
@
text
@d215 1
a215 1
NGINX_H264_MODULE_VERSION=	2.2.5
d348 1
a348 1
PASSENGER_VERSION=	2.2.8
@


1.193
log
@Accordingly update memc (aka advanced memcached) module
from 0.05 to 0.06.

Do not bump PORTREVISIONs.
@
text
@d46 1
d133 6
@


1.192
log
@Accordingly update fancyindex module from 0.1_beta5 to 0.2.1.
Remove needless patches.

Do not bump PORTREVISIONs.
@
text
@d324 1
a324 1
NGINX_MEMC_MODULE_VERSION=	0.05
@


1.191
log
@Accordingly update gunzip_filter module from 0.1 to 0.2 for
www/nginx and www/nginx-devel.

Do not bump PORTREVISIONs.

Spotted by:	Maxim Dounin aka mdounin at mdounin dot ru
@
text
@d174 4
a177 6
NGINX_FANCYINDEX_MODULE_VERSION=	0.1b5
MASTER_SITES+=	http://furi-ku.org/nginx/fancyindex/:fancyindex
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:fancyindex/}
MASTER_SITE_SUBDIR+=	osa/:fancyindex
DISTFILES+=	nginx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION:S/b/_beta/}.tar.bz2:fancyindex
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION:S/b/_beta/}
a422 4
.if defined(WITH_HTTP_FANCYINDEX_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_fancyindex_module.c
.endif
@


1.190
log
@Update from 0.7.64 to 0.7.65.

<ChangeLog>

*) Security: now nginx/Windows ignores trailing spaces in URI.
   Thanks to Dan Crowley, Core Security Technologies.

*) Security: now nginx/Windows ignores short files names.
   Thanks to Dan Crowley, Core Security Technologies.

*) Change: now the "009" status code is written to an access log for
   proxied HTTP/0.9 responses.

*) Change: now the default buffer size of the
   "large_client_header_buffers" directive is 8K.
   Thanks to Andrew Cholakian.

*) Change: now default SSL ciphers are "HIGH:!ADH:!MD5".

*) Change: now SSLv2 protocol is disabled by default.

*) Change: now $host variable value is always low case.

*) Feature: the conf/fastcgi.conf for simple FastCGI configurations.

*) Feature: now URI part is not required a "proxy_pass" directive if
   variables are used.

*) Feature: the $ssl_session_id variable.

*) Bugfix: if a proxied or FastCGI request was internally redirected to
   another proxied or FastCGI location, then $upstream_response_time
   variable may have abnormally large value; the bug had appeared in
   0.7.63.

*) Bugfix: if the "expires modified" set date in the past, then a
   negative number was set in the "Cache-Control" response header
   line.
   Thanks to Alex Kapranoff.

*) Bugfix: nginx closed a connection if a cached response had an empty
   body.
   Thanks to Piotr Sikora.

*) Bugfix: nginx cached a 304 response if there was the "If-None-Match"
   header line in a proxied request.
   Thanks to Tim Dettrick and David Kostal.

*) Bugfix: nginx did not treat a comma as separator in the
   "Cache-Control" backend response header line.

*) Bugfix: cached HTTP/0.9 responses were handled incorrectly.

*) Bugfix: nginx sent gzipped responses to clients those do not support
   gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
   in 0.8.16.

*) Bugfix: nginx always added "Content-Encoding: gzip" response header
   line in 304 responses sent by ngx_http_gzip_static_module.

*) Bugfix: the "!-x" operator did not work.
   Thanks to Maxim Dounin.

*) Bugfix: a segmentation fault might occur in a worker process, if
   limit_rate was used in HTTPS server.
   Thanks to Maxim Dounin.

*) Bugfix: a segmentation fault might occur in a worker process while
   $limit_rate logging.
   Thanks to Maxim Dounin.

*) Bugfix: nginx did not support dates in 2038 year on 32-bit platforms;

*) Bugfix: nginx/Windows tried to delete a temporary file twice if the
   file should replace an already existent file.

*) Bugfix: nginx/Windows tried to rename a temporary file twice if the
   file should replace an already existent file.

*) Bugfix: nginx/Windows might not create temporary file, a cache file,
   or "proxy/fastcgi_store"d file if a worker had no enough access
   rights for top level directories.

*) Bugfix: in UTF-8 encoding support by "try_files" directive in
   nginx/Windows.

*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
   Thanks to Maxim Dounin.

*) Bugfix: the ngx_http_autoindex_module did not show the trailing
   slash in links to a directory; the bug had appeared in 0.7.15.

*) Bugfix: nginx did not close a log file set by the --error-log-path
   configuration option; the bug had appeared in 0.7.53.

*) Bugfix: "addition_types" directive was incorrectly named
   "addtion_types".

*) Bugfix: invalid request line in $request variable was written in
   access_log only if error_log was set to "info" or "debug" level.

</ChangeLog>
@
text
@d183 1
a183 1
NGINX_GUNZIP_FILTER_MODULE_VERSION=	0.1
d185 1
a185 1
DISTFILES+=	ngx_http_gunzip_filter_module-0.1.tar.gz:gunzipfilter
@


1.189
log
@This is accordingly update for www/nginx and www/nginx-devel.

Add one more third-party module: upstream_hash, version 0.3.1.
Update slowfs_cache module from 1.2 to 1.3.
Update mogilefs module from 1.0.2 to 1.0.3.

Do not bump PORTREVISIONs.
@
text
@d9 1
a9 1
PORTVERSION=	0.7.64
@


1.188
log
@Use USE_OPENSSL instead of bsd.openssl.mk.

Do not remove default DISTFILES due to port building
failure when third-party module (i.e. additional DISTFILES)
selected.

Do not bump PORTREVISIONs.

PRs:	142831, 142833
@
text
@d60 1
d203 1
a203 1
NGINX_MOGILEFS_MODULE_VERSION=	1.0.2
d298 7
d350 1
a350 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.2
d440 4
@


1.187
log
@Accordingly add ngx_cache_purge-1.0, the module adding ability
to purge content from nginx's FastCGI and proxy caches.

Do not bump PORTREVISIONs.
@
text
@a77 2
.include <bsd.port.pre.mk>

d391 1
a391 1
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
d396 2
@


1.186
log
@Revert back update Passenger from 2.2.9 to 2.2.8
due to incompatible infrastructure.

Do not bump PORTREVISIONs.
@
text
@d45 1
d156 7
@


1.185
log
@Accordingly update Passenger module from 2.2.8 to 2.2.9.

Do not bump PORTREVISIONs.
@
text
@d329 1
a329 1
PASSENGER_VERSION=	2.2.9
@


1.184
log
@Accordingly add memc module - an extended version of the
standard memcached module that supports set, add, delete,
and many more memcached commands.

Do not bump PORTREVISIONs.
@
text
@d329 1
a329 1
PASSENGER_VERSION=	2.2.8
@


1.183
log
@Accordingly commit changes for third-party modules in www/nginx
and www/nginx-devel:

 o) update uploadprogress from 0.7 to 0.8;
 o) update upstream_fair from 20081012 to 20090923;
 o) update supervisord from 1.2 to 1.3;
 o) add udplog (syslog) module version 1.0.0;
 o) s/modle/module/ for both Makefiles.

Remove needless patches.

Do not bump PORTREVISIONs.
@
text
@d61 1
d311 8
@


1.182
log
@Accordingly update upstream_keepalive module, from 0.1 to 0.2.
Do not bump PORTREVISIONs.
@
text
@d63 2
a64 1
		SUPERVISORD_MODULE	"3rd party supervisord modle" off
d275 1
a275 1
NGINX_UPLOADPROGRESS_MODULE_VERSION=	0.7
d283 1
a283 1
NGINX_UPSTREAM_FAIR_VERSION=	20081012
d334 1
a334 1
NGINX_SUPERVISORD_MODULE_VERSION=	1.2
d340 7
a407 4
.if defined(WITH_HTTP_UPLOAD_PROGRESS)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_uploadprogress_module.c
.endif
d416 1
a416 1
	( cd ${WRKDIR}/nginx_upstream_fair-20081012 && \
@


1.181
log
@Accordingly update slowfs_cache module, from 1.1 to 1.2.
Do not bump PORTREVISIONs.
@
text
@d290 1
a290 1
NGINX_UPSTREAM_KEEPALIVE_VERSION=	0.1
@


1.180
log
@Accordingly add http_gunzip_filter module, version 0.1.
Do not bump PORTREVISIONs.
@
text
@d326 1
a326 1
NGINX_SLOWFS_CACHE_MODULE_VERSION=	1.1
@


1.179
log
@Update http_redis module from 0.3.0 to 0.3.1.
Cosmetic whitespace fix for Makefile.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Change: return 502 instead of 404 for error.

*) Change: better error messages diagnostics.

*) Bugfix: interoperability with redis; the bug had
   appeared in 0.3.0.

</ChangeLog>
@
text
@d49 1
d173 7
@


1.178
log
@Fix additional MASTER_SITES.
@
text
@d227 1
a227 1
NGINX_REDIS_MODULE_VERSION=	0.3.0
a391 4
.if defined(WITH_HTTP_REDIS_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_redis_module.c
.endif
@


1.177
log
@Add one more know WITH_DEBUGLOG by split debug features
for distro (--with-debug) and system (-g) specific.
@
text
@d295 1
a295 1
MASTER_SITES+=	${MASTER_SITE_GOOGLE_CODE:}:zip
@


1.176
log
@Improve redis protocol support.
Do not bump PORTREVISION.
@
text
@d19 2
a20 1
OPTIONS=	DEBUG			"Enable nginx debugging" off \
d106 4
a110 1
STRIP=		#do not strip if nginx with debug information
@


1.175
log
@Update http_redis module from 0.2.0 to 0.3.0.
Remove needless extra patch.

Do not bump PORTREVISION.
@
text
@d388 4
@


1.174
log
@Merge support of third party slowfs_cache module from
www/nginx-devel after commit compilable version (1.1).

Do not bump PORTREVISION.
@
text
@d223 1
a223 1
NGINX_REDIS_MODULE_VERSION=	0.2.0
a387 4
.if defined(WITH_HTTP_REDIS_MODULE)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_redis_module.c
.endif
@


1.173
log
@Accordingly add third party supervisord module, version 1.2.
Do not bump PORTREVISIONs.
@
text
@d60 1
d313 7
@


1.172
log
@Accordingly add third party http_push module, version 0.69.
Do not bump PORTREVISIONs.
@
text
@d59 2
a60 1
		PASSENGER_MODULE	"3rd party passenger module" off
d268 1
a268 1
.if defined(WITH_HTTP_UPSTREAM_FAIR)
d312 7
d395 8
@


1.171
log
@Accordingly add third party http_auth_pam module, version 1.1.
Do not bump PORTREVISIONs.

Spotted by:	Paul Cockings aka dspam at cytringan dot co dot uk
@
text
@d51 1
d205 7
@


1.170
log
@Accordingly update uploadprogress module with patch from github.
Do not bump PORTREVISIONs.

Spotted by:	Vladimir Getmanshchuk aka vladget at openfilm dot com
Requested by:	Brice Figureau aka brice at daysofwonder dot com
		(uploadprogress module author)
@
text
@d45 1
d134 7
@


1.169
log
@Update Passenger(tm) module from 2.2.7 to 2.2.8.
@
text
@d360 4
@


1.168
log
@Make uploadprogress module fetchtable (accordingly).

Notice from:	Vladimir Getmanshchuk aka vladget at openfilm dot com
@
text
@d289 1
a289 1
PASSENGER_VERSION=	2.2.7
@


1.167
log
@Accordingly update (www/nginx and www/nginx-devel):

 passenger module support from 2.2.5 to 2.2.7;
 upload module to 2.0.11;
 uploadprogress module from 0.6 to 0.7.

Remove needless patch.

Also, h264 module distfile re-rolled due moon phase.

Do not bump PORTREVISIONs.
@
text
@d246 1
@


1.166
log
@Update from 0.7.63 to 0.7.64.

<ChangeLog>

*) Security: now SSL/TLS renegotiation is disabled.
   Thanks to Maxim Dounin.

*) Bugfix: nginx sent gzipped responses to clients those do not support
   gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
   in 0.7.63.

*) Bugfix: if names .domain.tld, .sub.domain.tld, and .domain-some.tld
   were defined, then the name .sub.domain.tld was matched by
   .domain.tld.

*) Bugfix: segmentation fault and infinite looping in resolver.

*) Bugfix: in resolver.
   Thanks to Artem Bokhan.

*) Bugfix: resolver cache poisoning.
   Thanks to Matthew Dempsky.

*) Bugfix: memory leak in resolver.
   Thanks to Matthew Dempsky.

</ChangeLog>
@
text
@d53 1
a53 1
		HTTP_UPLOAD_PROGRESS	"3rd party upload_progress module" off \
d237 1
a237 1
NGINX_UPLOAD_MODULE_VERSION=	2.0.9
d244 4
a247 4
NGINX_UPLOAD_PROGRESS_MODULE_VERSION=	0.6
MASTER_SITES+=	http://wiki.nginx.org/images/7/70/:uploadprogress
DISTFILES+=	Nginx-upload-progress-module-${NGINX_UPLOAD_PROGRESS_MODULE_VERSION}.tar.gz:uploadprogress
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-upload-progress-module
d288 1
a288 1
PASSENGER_VERSION=	2.2.5
@


1.165
log
@Update h264 (aka http_mp4_h264) module from the dated material to
version 2.2.5 for www/nginx and www/nginx-devel accordingly.

Do not bump PORTREVISIONs.

Requested by:	many
@
text
@d9 1
a9 1
PORTVERSION=	0.7.63
d355 4
@


1.164
log
@Add missing library dependence for http_image_filter module for
www/nginx and www/nginx-devel accordingly.

Do not bump PORTREVISIONs.
@
text
@d178 4
a181 3
MASTER_SITES+=	http://i.6.cn/:mp4streaming
DISTFILES+=	nginx_mp4_streaming_public_20081229.tar.bz2:mp4streaming
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mp4_streaming_public
@


1.163
log
@Security update from 0.7.62 to 0.7.63.
Illuminate http_image_filter module.
Merge extra patch for fancy_index module from www/nginx-devel.

<ChangeLog>

*) Security: now "/../" are disabled in "Destination" request header
   line.

*) Change: minimum supported OpenSSL version is 0.9.7.

*) Change: the "ask" parameter of the "ssl_verify_client" directive was
   changed to the "optional" parameter and now it checks a client
   certificate if it was offered.
   Thanks to Brice Figureau.

*) Feature: now the "-V" switch shows TLS SNI support.

*) Feature: the $ssl_client_verify variable.
   Thanks to Brice Figureau.

*) Feature: the "ssl_crl" directive.
   Thanks to Brice Figureau.

*) Bugfix: the $ssl_client_cert variable usage corrupted memory; the
   bug had appeared in 0.7.7.
   Thanks to Sergey Zhuravlev.

*) Feature: now the start cache loader runs in a separate process; this
   should improve large caches handling.

*) Feature: now temporary files and permanent storage area may reside
   at different file systems.

*) Bugfix: nginx counted incorrectly disk cache size.

*) Change: now directive "gzip_disable msie6" does not disable gzipping
   for MSIE 6.0 SV1.

*) Bugfix: nginx always added "Vary: Accept-Encoding" response header
   line, if both "gzip_static" and "gzip_vary" were on.

*) Feature: the "proxy" parameter of the "geo" directive.

*) Feature: the ngx_http_geoip_module.

*) Feature: the "limit_rate_after" directive.
   Thanks to Ivan Debnar.

*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
   directives.

*) Bugfix: now "limit_req" directive conforms to the leaky bucket
   algorithm.
   Thanks to Maxim Dounin.

*) Bugfix: in ngx_http_limit_req_module.
   Thanks to Maxim Dounin.

*) Bugfix: now nginx allows underscores in a request method.

*) Bugfix: "proxy_pass_header" and "fastcgi_pass_header" directives did
   not pass to a client the "X-Accel-Redirect", "X-Accel-Limit-Rate",
   "X-Accel-Buffering", and "X-Accel-Charset" lines from backend
   response header.
   Thanks to Maxim Dounin.

*) Bugfix: in handling "Last-Modified" and "Accept-Ranges" backend
   response header lines; the bug had appeared in 0.7.44.
   Thanks to Maxim Dounin.

*) Feature: the "image_filter_transparency" directive.

*) Feature: the "image_filter" directive supports variables for setting
   size.

*) Bugfix: in PNG alpha-channel support in the
   ngx_http_image_filter_module.

*) Bugfix: in transparency support in the ngx_http_image_filter_module.

*) Feature: now several "perl_modules" directives may be used.

*) Bugfix: ngx_http_perl_module responses did not work in subrequests.

*) Bugfix: nginx sent '\0' in a "Location" response header line on
   MKCOL request.
   Thanks to Xie Zhenye.

*) Bugfix: an "error_page" directive did not redirect a 413 error; the
   bug had appeared in 0.6.10.

*) Bugfix: in memory allocation error handling.
   Thanks to Maxim Dounin and Kirill A. Korinskiy.

</ChangeLog>
@
text
@d166 1
@


1.162
log
@Update ngx_http_redis module from 0.1.2 to 0.2.0 accordingly.
Do not bump PORTREVISION.

Feature safe:	yes

<ChangeLog>

*) Feature: the $redis_db variable: now the ngx_http_redis
   module uses the $redis_db variable value as the parameter
   for SELECT command.

*) Cleanup: style/spaces fixes.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.7.62
d28 1
d165 4
@


1.161
log
@Security update from 0.7.61 to 0.7.62.
Merge support for http_redis module (0.1.2) from www/nginx-devel.

<ChangeLog>

*) Security: a segmentation fault might occur in worker process while
   specially crafted request handling.
   Thanks to Chris Ries.

*) Feature: the $upstream_cache_status variable.

*) Bugfix: an expired cached response might stick in the "UPDATING"
   state.

*) Bugfix: a segmentation fault might occur in worker process, if
   error_log was set to info or debug level.
   Thanks to Sergey Bochenkov.

*) Bugfix: in handling FastCGI headers split in records.

*) Bugfix: XSLT filter may fail with message "not well formed XML
   document" for valid XML document.
   Thanks to Kuramoto Eiji.

*) Bugfix: now in MacOSX, Cygwin, and nginx/Windows locations given by
   a regular expression are always tested in case insensitive mode.

*) Bugfix: now nginx/Windows ignores trailing dots in URI.
   Thanks to Hugo Leisink.

*) Bugfix: name of file specified in --conf-path was not honored during
   installation; the bug had appeared in 0.6.6.
   Thanks to Maxim Dounin.

*) Bugfix: a 500 error code was returned for invalid login/password
   while HTTP Basic authentication on Windows.

</ChangeLog>
@
text
@d198 1
a198 1
NGINX_REDIS_MODULE_VERSION=	0.1.2
@


1.160
log
@Merge latest changes from www/nginx-devel:

 update mod_zip from 1.1.4 to 1.1.5;
 update passenger module support from 2.2.4 to 2.2.5;
 update upload_progress module from 0.5 to 0.6;
 remove needless patch.

Do not bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.7.61
PORTREVISION=	1
d49 1
d197 8
@


1.159
log
@Update mogilefs module from 1.0.1 to 1.0.2.
Do not bump PORTREVISIONs.

<ChangeLog>

*) Feature: directive mogilefs_methods and support for PUT and
   DELETE methods
*) Feature: dynamic evaluation of tracker name
*) Feature: ability to pass noverify parameter to tracker

</ChangeLog>
@
text
@d229 4
a232 5
NGINX_UPLOAD_PROGRESS_MODULE_VERSION=	0.5
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:uploadprogress/}
MASTER_SITE_SUBDIR+=	osa/:uploadprogress
DISTFILES+=	nginx_uploadprogress_module-${NGINX_UPLOAD_PROGRESS_MODULE_VERSION}.tar.gz:uploadprogress
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_uploadprogress_module
d256 4
a259 4
NGINX_ZIP_MODULE_VERSION=	1.1.4
MASTER_SITES+=	${MASTER_SITE_LOCAL:S/$/:zip/}
MASTER_SITE_SUBDIR+=	osa/:zip
DISTFILES+=	nginx_mod_zip-${NGINX_ZIP_MODULE_VERSION}.tar.gz:zip
d273 1
a273 1
PASSENGER_VERSION=	2.2.4
a335 4
.if defined(WITH_HTTP_UPLOAD_PROGRESS)
	@@${PATCH} ${PATCH_ARGS} < \
		${PATCHDIR}/extra-patch-ngx_http_uploadprogress_module.c
.endif
@


1.158
log
@Merge latest changes from www/nginx-devel:

o) Add two more third-party modules: http_mp4_streaming_lite
   and http_notice_module.

o) Add two new variables NGINX_ACCESSLOG and NGINX_ERRORLOG
   to allow log paths customization, i.e.

   % make NGINX_ACCESSLOG=/dev/null

   NOTE.  If you want nginx to log errors into stderr it's
   better to use

   % make NGINX_ERRORLOG=stderr

   instead of NGINX_ERRORLOG=/dev/stderr to avoid duplicate
   error messages during startup.

Do not bump PORTREVISION.
@
text
@d165 1
a165 1
NGINX_MOGILEFS_MODULE_VERSION=	1.0.1
@


1.157
log
@Resort options to make third party modules distinguishable.
Apply these changes accordingly for stable and devel versions.
Do not bump PORTREVISIONs.

Submitted by:	Maxim Dounin aka mdounin at mdounin dot ru
@
text
@d48 2
d76 3
d90 1
a90 1
		--error-log-path=${NGINX_LOGDIR}/nginx-error.log \
d118 1
a118 1
		--http-log-path=${NGINX_LOGDIR}/nginx-access.log
d171 12
d341 4
@


1.156
log
@Illuminate and enable by default cache module.
Fix whitespaces.
Do not bump PORTREVISION cause no functionally or building
changes (cache module was enabled implicitly).
@
text
@d20 8
a27 11
OPTIONS=	DEBUG "Enable nginx debugging" off \
		IPV6 "Enable IPv6" off \
		GOOGLE_PERFTOOLS "Enable google perftools module" off \
		HTTP_MODULE "Enable HTTP module" on \
		HTTP_ACCESSKEY_MODULE "Enable http_accesskey module" off \
		HTTP_ADDITION_MODULE "Enable http_addition module" off \
		HTTP_CACHE_MODULE "Enable http_cache module" on \
		HTTP_DAV_MODULE "Enable http_webdav module" off \
		HTTP_EVAL_MODULE "Enable eval module" off \
		HTTP_FANCYINDEX_MODULE "Enable http_fancyindex module" off \
		HTTP_FLV_MODULE "Enable http_flv module" off \
d29 1
a29 2
		HTTP_MOGILEFS_MODULE "Enable mogilefs module" off \
		HTTP_PERL_MODULE "Enable http_perl module" off \
d31 2
a32 3
		HTTP_REALIP_MODULE "Enable http_realip module" off \
		HTTP_RESPONSE_MODULE "Enable http_response module" off \
		HTTP_REWRITE_MODULE "Enable http_rewrite module" on \
d34 21
a54 16
		HTTP_SSL_MODULE "Enable http_ssl module" off \
		HTTP_STATUS_MODULE "Enable http_stub_status module" on \
		HTTP_SUB_MODULE "Enable http_sub module" off \
		HTTP_UPLOAD_MODULE "Enable upload module" off \
		HTTP_UPLOAD_PROGRESS "Enable upload_progress module" off \
		HTTP_UPSTREAM_FAIR "Enable upstream fair module" off \
		HTTP_UPSTREAM_KEEPALIVE "Enable upstream keepalive module" off \
		HTTP_XSLT_MODULE "Enable http_xslt module" off \
		HTTP_ZIP_MODULE "Enable http_zip module" off \
		MAIL_MODULE "Enable IMAP4/POP3/SMTP proxy module" off \
		MAIL_IMAP_MODULE "Enable IMAP4 proxy module" off \
		MAIL_POP3_MODULE "Enable POP3 proxy module" off \
		MAIL_SMTP_MODULE "Enable SMTP proxy module" off \
		MAIL_SSL_MODULE "Enable mail_ssl module" off \
		PASSENGER_MODULE "Enable passenger module" off \
		WWW "Enable html sample files" on
@


1.155
log
@Default stop signal is SIGTERM, the quick shutdown.  Also nginx
understands QUIT signal for graceful (gradual) stop.

Add gracefulstop extra command accordingly for stable and devel
versions.
Bump PORTREVISIONs.

PR:	ports/136232 (partialy)
@
text
@d26 1
d127 4
d147 1
a147 1
DISTFILES+=  	nginx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION:S/b/_beta/}.tar.bz2:fancyindex
@


1.154
log
@Fix X-Progress-ID argument parsing in third-party uploadprogress module.
Do not bump PORTREVISIONs.

PR:	ports/136064
@
text
@d10 1
@


1.153
log
@Add eval module version 1.0.1 accordingly.
Do not bump PORTREVISIONs.

WWW:	http://www.grid.net.ru/nginx/eval.en.html
@
text
@d314 4
@


1.152
log
@Update passenger module support from 2.2.3 to 2.2.4.
Do not bump PORTREVISIONs.
@
text
@d26 1
d129 7
@


1.151
log
@Update from 0.7.60 to 0.7.61.

<ChangeLog>

*) Bugfix: nginx could not be built on MacOSX 10.6. the bug had
   appeared in 0.8.2.

*) Bugfix: nginx could not be built --without-http-cache; the bug had
   appeared in 0.7.60.

*) Bugfix: a segmentation fault occurred in worker process, if a
   backend 401 error was intercepted and the backend did not set the
   "WWW-Authenticate" response header line.
   Thanks to Eugene Mychlo.

</ChangeLog>
@
text
@d243 1
a243 1
PASSENGER_VERSION=	2.2.3
@


1.150
log
@Update passenger module support from 2.2.2 to
fresh bug fix edition 2.2.3.
Do not bump PORTREVISIONs.
@
text
@d9 1
a9 1
PORTVERSION=	0.7.60
@


1.149
log
@Update from 0.7.59 to 0.7.60.

<ChangeLog>

*) Feature: the "updating" parameter in "proxy_cache_use_stale" and
   "fastcgi_cache_use_stale" directives.

*) Feature: the "keepalive_requests" directive.

*) Bugfix: in open_file_cache and proxy/fastcgi cache interaction on
   start up.

*) Bugfix: open_file_cache might cache open file descriptors too long.

*) Bugfix: the "If-Modified-Since", "If-Range", etc. client request
   header lines were passed to backend while caching if no
   "proxy_set_header" directive was used with any parameters.

*) Bugfix: the "Set-Cookie" and "P3P" response header lines were not
   hidden while caching if no "proxy_hide_header/fastcgi_hide_header"
   directives were used with any parameters.

*) Bugfix: the ngx_http_image_filter_module did not support GIF87a
   format.
   Thanks to Denis Ilyinyh.

*) Bugfix: nginx could not be built modules on Solaris 10 and early;
   the bug had appeared in 0.7.56.

*) Bugfix: XLST filter did not work in subrequests.

*) Bugfix: in relative paths handling in nginx/Windows.

*) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and
   fastcgi_cache in nginx/Windows.

</ChangeLog>
@
text
@d243 1
a243 1
PASSENGER_VERSION=	2.2.2
@


1.148
log
@Update from 0.6.37 to latest stable version 0.7.59.
Merge all features from -devel port.
Also mark -devel port IGNORE before new releases.
@
text
@d9 1
a9 1
PORTVERSION=	0.7.59
@


1.147
log
@Update from 0.6.36 to 0.6.37.
Expand WWWOWN variable in rc script.

(*) Issue found by:	demon

<ChangeLog>

*) Feature: Microsoft specific "AUTH LOGIN with User Name" mode support
   in mail proxy server.
   Thanks to Maxim Dounin.

*) Bugfix: nginx could not be built on platforms different from i386,
   amd64, sparc, and ppc; the bug had appeared in 0.6.36.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.37
d20 1
d26 1
d29 1
d31 1
d33 1
d35 1
d39 2
d42 3
d50 1
d53 1
d56 7
d96 5
d128 9
d145 7
d158 4
d166 11
d190 15
d213 20
d234 1
a234 1
PKGNAMESUFFIX+=	-nopcre
d239 8
d283 10
d302 11
@


1.146
log
@Merge support for third-party upstream fair module from www/nginx-devel.
Do not bump PORTREVISION.

Requested by:	Gergely CZUCZY <gergely.czuczy@@harmless.hu>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.36
d53 2
@


1.145
log
@Update from 0.6.35 to 0.6.36.

<ChangeLog>

*) Change: now the "Invalid argument" error returned by
   setsockopt(TCP_NODELAY) on Solaris, is ignored.

*) Change: now POSTs without "Content-Length" header line are allowed.

*) Feature: the "try_files" directive.

*) Feature: the --with-pcre option in the configure.

*) Feature: the "if_modified_since" directive.

*) Feature: the "$cookie_..." variables.

*) Feature: the "$arg_..." variables.

*) Bugfix: compatibility with Tru64 UNIX.
   Thanks to Dustin Marquess.

*) Bugfix: a "ssl_engine" directive did not use a SSL-accelerator for
   asymmetric ciphers.
   Thanks to Marcin Gozdalik.

*) Bugfix: in a redirect rewrite directive original arguments were
   concatenated with new arguments by a "?" rather than an "&";
   the bug had appeared in 0.1.18.
   Thanks to Maxim Dounin.

*) Bugfix: nginx could not be built on AIX.

*) Bugfix: a double response might be returned if the epoll or rtsig
   methods are used and a redirect was returned to a request with
   body.
   Thanks to Eden Li.

*) Bugfix: a segmentation fault might occur in worker process if
   "resolver" directive was used in SMTP proxy.

*) Bugfix: fastcgi_store stored files not always.

*) Bugfix: nginx did not process a FastCGI server response, if the
   server send too many messages to stderr before response.

</ChangeLog>
@
text
@d33 1
d132 8
@


1.144
log
@Make additional modules fetchable.
Do not bump PORTREVISION cause additional modules
are disabled by default.

Problem found:	Andrew Clark aka andrewclarkii at gmail dot com
Patch idea:	az
No cookie for:	az
@
text
@d9 1
a9 1
PORTVERSION=	0.6.35
@


1.143
log
@Merge latest changes from www/nginx-devel:
 o add MAKE_JOBS_SAFE
 o make modules fetchable by fix MASTER_SITES
 o add support for http_gzip_static module [*]

Do not bump PORTREVISION.

[*] Patch from:	MZ aka zuborg at advancedhosters dot com
@
text
@d87 1
a87 1
MASTER_SITE_SUBDIR=	osa/:accesskey
@


1.142
log
@Make accesskey module fetchable by fix MASTER_SITE_SUBDIR.
Do not bump PORTREVISION.
@
text
@d26 1
d40 2
d86 1
a86 1
MASTER_SITES+=	${MASTER_SITE_LOCAL}:accesskey
d104 4
@


1.141
log
@Merge support for accesskey module into stable version.
Do not bump PORTREVISION.

Spotted by:	Andrey Belashkov <manager@@capsida.net>
@
text
@d84 1
a84 1
MASTER_SITE_SUBDIR=	osa:accesskey
@


1.140
log
@Update from 0.6.34 to latest bugfix release 0.6.35.

<ChangeLog>

*) Bugfix: in shared memory allocations if nginx was built without
   debugging.
   Thanks to Andrey Kvasov.

*) Bugfixes in an "Expect" request header line support.

*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.

</ChangeLog>
@
text
@d14 1
d22 1
d81 8
d170 5
@


1.139
log
@Update from 0.6.33 to 0.6.34.
Remove needless patch introduced in previous commit.

<ChangeLog>

*) Change: now the EAGAIN error returned by connect() is not considered
   as temporary error.

*) Change: now the "gzip_vary" directive turned on issues a
   "Vary: Accept-Encoding" header line for uncompressed responses too.

*) Feature: the "expires" directive supports daily time.

*) Feature: the "Expect" request header line support.

*) Feature: now the "rewrite" directive does a redirect automatically
   if the "https://" protocol is used.

*) Bugfix: the "listen" directive parameters such as "backlog",
   "rcvbuf", etc. were not set, if a default server was not the first
   one.

*) Bugfix: the "log_not_found" directive did not work for index files
   tests.

*) Bugfix: now if FastCGI server sends a "Location" header line without
   status line, then nginx uses 302 status code.
   Thanks to Maxim Dounin.

*) Bugfix: the ngx_http_flv_module did not support several values in a
   query string.

*) Bugfix: when a request to a directory was redirected with the slash
   added, nginx dropped a query string from the original request.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.34
@


1.138
log
@Update from 0.6.32 to 0.6.33.

Also, add the patch for bugfix: the "listen" directive parameters
such as "backlog", "rcvbuf", etc. were not set, if a default
server was not the first one.  These changes also added into
mainstream for future releases.

<ChangeLog>

*) Feature: now nginx returns the 405 status code for POST method
   requesting a static file only if the file exists.

*) Workaround: compatibility with glibc 2.3.
   Thanks to Eric Benson and Maxim Dounin.

*) Bugfix: the resolver did not understand big DNS responses.
   Thanks to Zyb.

*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
   error.

*) Bugfix: the ngx_http_charset_module did not understand quoted
   charset name received from backend.

*) Bugfix: if the "max_fails=0" parameter was used in upstream with
   several servers, then a worker process exited on a SIGFPE signal.
   Thanks to Maxim Dounin.

*) Bugfix: the $r->header_in() method did not return value of the
   "Host", "User-Agent", and "Connection" request header lines; the bug
   had appeared in 0.6.32.

*) Bugfix: a full response was returned for request method HEAD while
   redirection via an "error_page" directive.

*) Bugfix: if a directory has search only rights and the first index
   file was absent, then nginx returned the 500 status code.

*) Bugfix: of recursive error_page for 500 status code.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.33
@


1.137
log
@Merge latest changes from nginx-devel port.
1) new rc
2) extra command 'upgrade'
3) don't remove NGINX_TMPDIR directory, if port upgrade running
from -devel to stable port version.

Profiles are unsupported by this nginx version.

Bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.6.32
PORTREVISION=	1
@


1.136
log
@Update from 0.6.31 to 0.6.32.
Add perl5 category wheh perl-specific defined.

<ChangeLog>

*) Change: the "none" parameter in the "ssl_session_cache" directive;
   now this is default parameter.
   Thanks to Rob Mueller.

*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
   \xXX in an access_log.
   Thanks to Maxim Dounin.

*) Change: now nginx allows several "Host" request header line.

*) Feature: the "modified" flag in the "expires" directive.

*) Feature: the $uid_got and $uid_set variables may be used at any
   request processing stage.

*) Feature: the $hostname variable.
   Thanks to Andrei Nigmatulin.

*) Feature: DESTDIR support.
   Thanks to Todd A. Fisher and Andras Voroskoi.

*) Bugfix: if sub_filter and SSI were used together, then responses
   might were transferred incorrectly.

*) Bugfix: large SSI inclusions might be truncated.

*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
   protocol; the bug had appeared in 0.6.9.

*) Bugfix: worker processes might not catch reconfiguration and log
   rotation signals.

*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
   Thanks to Roxis.

*) Bugfix: a segmentation fault might occur in worker process on Linux,
   if keepalive was enabled.

</ChangeLog>
@
text
@d10 1
@


1.135
log
@Update [stable branch] to 0.6.31.
Merge from -devel useful things.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.31
d92 1
@


1.134
log
@Update to 0.5.36.

<ChangeLog>

*) Bugfix: the "sub_filter" directive might set text to change into
   output.

*) Bugfix: a segmentation fault occurred in worker process, if empty
   stub block was used second time in SSI.

*) Bugfix: the "proxy_store" and "fastcgi_store" directives did not
   check a response length.

*) Bugfix: nginx issued the bogus error message "SSL_shutdown() failed
   (SSL: )"; bug appeared in 0.5.35.

*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
   error; bug appeared in 0.5.35.

*) Bugfix: the "fastcgi_catch_stderr" directive did return error code;
   now it returns 502 code, that can be rerouted to a next server using
   the "fastcgi_next_upstream invalid_header" directive.

*) Bugfix: a segmentation fault occurred in master process if the
   "fastcgi_catch_stderr" directive was used; bug appeared in 0.5.32.
   Thanks to Manlio Perillo.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.36
d19 1
d68 5
d118 1
a118 1
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
@


1.133
log
@Fix wrong mailproxy-specific (imap/pop3/smtp) configure keys.
By default all mailproxy options are off.
Do not bump PORTREVISION.

Problem found by:	Rakhesh Sasidharan aka rakhesh at rakhesh dot com
@
text
@d9 1
a9 1
PORTVERSION=	0.5.35
@


1.132
log
@Update from 0.5.34 to 0.5.35.

<ChangeLog>

    *) Change: now the ngx_http_userid_module adds start time microseconds
       to the cookie field contains a pid value.

    *) Change: now the uname(2) is used on Linux instead of procfs.
       Thanks to Ilya Novikov.

    *) Feature: the "If-Range" request header line support.
       Thanks to Alexander V. Inyukhin.

    *) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
       error; bug appeared in 0.5.13.

    *) Bugfix: the STARTTLS in SMTP mode did not work.
       Thanks to Oleg Motienko.

    *) Bugfix: large_client_header_buffers did not freed before going to
       keep-alive state.
       Thanks to Olexander Shtepa.

    *) Bugfix: the "limit_rate" directive did not allow to use full
       throughput, even if limit value was very high.

    *) Bugfix: the $status variable was equal to 0 if a proxied server
       returned response in HTTP/0.9 version.

    *) Bugfix: if the "?" character was in a "error_page" directive, then
       it was escaped in a proxied request; bug appeared in 0.5.32.

</ChangeLog>
@
text
@d129 1
a129 1
CONFIGURE_ARGS+=--without-mail_proxy_imap_module
d132 1
a132 1
CONFIGURE_ARGS+=--without-mail_proxy_pop3_module
d135 1
a135 1
CONFIGURE_ARGS+=--without-mail_proxy_smtp_module
@


1.131
log
@Update from 0.5.33 to 0.5.34.

<ChangeLog>

*) Change: now the full request line instead of URI only is written to
   error_log.

*) Feature: Cygwin compatibility.
   Thanks to Vladimir Kutakov.

*) Feature: the "merge_slashes" directive.

*) Feature: the "gzip_vary" directive.

*) Feature: the "server_tokens" directive.

*) Feature: the "access_log" directive may be used inside the
   "limit_except" block.

*) Bugfix: if the $server_protocol was used in FastCGI parameters and a
   request line length was near to the "client_header_buffer_size"
   directive value, then nginx issued an alert "fastcgi: the request
   record is too big".

*) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS
   server, then nginx returned usual response.

*) Bugfix: URL double escaping in a redirect of the "msie_refresh"
   directive; bug appeared in 0.5.28.

*) Bugfix: a segmentation fault might occur in worker process if
   subrequests were used.

*) Bugfix: the big responses may be transferred truncated if SSL and
   gzip were used.

*) Bugfix: compatibility with mget.

*) Bugfix: nginx did not unescape URI in the "include" SSI command.

*) Bugfix: the segmentation fault was occurred on start or while
   reconfiguration if variable was used in the "charset" or
   "source_charset" directives.

*) Bugfix: nginx returned the 400 response on requests like
   "GET http://www.domain.com HTTP/1.0".
   Thanks to James Oakley.

*) Bugfix: a segmentation fault occurred in worker process if
   $date_local and $date_gmt were used outside the
   ngx_http_ssi_filter_module.

*) Bugfix: a segmentation fault might occur in worker process if debug
   log was enabled.
   Thanks to Andrei Nigmatulin.

*) Bugfix: ngx_http_memcached_module did not set
   $upstream_response_time.
   Thanks to Maxim Dounin.

*) Bugfix: a worker process may got caught in an endless loop, if the
   memcached was used.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.34
@


1.130
log
@Update from 0.5.32 to latest bugfix release 0.5.33.
Add new MAIL_* knobs.

Approved by:	portmgr (erwin)

<CommitLog>

*) Change: now by default the "echo" SSI command uses
   entity encoding.

*) Feature: the "encoding" parameter in the "echo"
   SSI command.

*) Change: mail proxy was split on three modules: pop3,
   imap and smtp.

*) Feature: the --without-mail_pop3_module,
   --without-mail_imap_module, and --without-mail_smtp_module
   configuration parameters.

*) Feature: the "smtp_greeting_delay" and "smtp_client_buffer"
   directives of the ngx_mail_smtp_module.

*) Feature: the "server_name" and "valid_referers" directives
   support regular expressions.

*) Feature: the "server_name", "map", and "valid_referers"
   directives support the "www.example.*" wildcards.

*) Bugfix: sub_filter did not work with empty substitution.

*) Bugfix: in sub_filter parsing.

*) Bugfix: a worker process may got caught in an endless loop,
   if the memcached was used.

*) Bugfix: nginx supported low case only "close" and "keep-alive"
   values in the "Connection" request header line; bug appeared
   in 0.5.32.

*) Bugfix: nginx could not start on Solaris if the shared PCRE
   library located in non-standard place was used.

</CommitLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.33
@


1.129
log
@Update from 0.5.31 to 0.5.32.

<ChangeLog>
Changes with nginx 0.5.32                                        24 Sep 2007

*) Change: now nginx tries to set the "worker_priority",
   "worker_rlimit_nofile", "worker_rlimit_core", and
   "worker_rlimit_sigpending" without super-user privileges.

*) Change: now nginx escapes space and "%" in request to a mail proxy
   authentication server.

*) Change: now nginx escapes "%" in $memcached_key variable.

*) Change: the special make target "upgrade1" was defined for online
   upgrade of 0.1.x versions.

*) Feature: the "add_header Last-Modified ..." directive changes the
   "Last-Modified" response header line.

*) Feature: the mail proxy supports AUTHENTICATE in IMAP mode.
    Thanks to Maxim Dounin.

*) Feature: the mail proxy supports STARTTLS in SMTP mode.
   Thanks to Maxim Dounin.

*) Bugfix: nginx did not close directory file on HEAD request if
   autoindex was used.
   Thanks to Arkadiusz Patyk.

*) Bugfix: the "proxy_hide_header" and "fastcgi_hide_header" directives
   did not hide response header lines whose name was longer than 32
   characters.
   Thanks to Manlio Perillo.

*) Bugfix: active connection counter always increased if mail proxy was
   used.

*) Bugfix: if backend returned response header only using non-buffered
   proxy, then nginx closed backend connection on timeout.

*) Bugfix: nginx did not support several "Connection" request header
   lines.

*) Bugfix: a charset set by the "charset" directive was not appended to
   the "Content-Type" header set by $r->send_http_header().

*) Bugfix: a segmentation fault might occur in worker process if
   /dev/poll method was used.

*) Bugfix: nginx did not work on FreeBSD/sparc64.

*) Bugfix: a segmentation fault occurred in worker process if invalid
   address was set in the "auth_http" directive.

*) Bugfix: now nginx uses default listen backlog value 511 on all
   platforms except FreeBSD.
   Thanks to Jiang Hong.

*) Bugfix: now Solaris sendfilev() is not used to transfer the client
   request body to FastCGI-server via the unix domain socket.

*) Bugfix: if the same host without specified port was used as backend
   for HTTP and HTTPS, then nginx used only one port - 80 or 443.

*) Bugfix: the "proxy_ignore_client_abort" and
   "fastcgi_ignore_client_abort" directives did not work; bug appeared
   in 0.5.13.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.32
d30 3
d128 9
@


1.128
log
@Optionify.
Utilize ETCDIR for Makefile and pkg-plist.
Some knobs deprecated, so bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.5.31
PORTREVISION=	1
@


1.127
log
@Update to 0.5.31.

Rewrote pkg-plist as describe in FreeBSD Porter's Handbook,
section 7.3 for fix package installation. (*)

Problem found by: Denis Shaposhnikov dsh at vlink dot ru (*)

<ChangeLog>

*) Feature: named locations.

*) Feature: the "proxy_store" and "fastcgi_store" directives.

*) Feature: the "proxy_store_access" and "fastcgi_store_access"
   directives.

</ChangeLog>
@
text
@d10 1
d19 17
a41 4
.if defined(WITH_PERL_MODULE)
USE_PERL5=	yes
.endif

d45 1
a45 1
CONFIGURE_ARGS+=--prefix=${PREFIX}/etc/nginx \
d48 1
a48 1
		--conf-path=${PREFIX}/etc/nginx/nginx.conf \
a50 4
		--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
		--http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \
		--http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \
		--http-log-path=${NGINX_LOGDIR}/nginx-access.log \
a51 1
		--with-http_stub_status_module \
d54 5
d65 21
a85 3
.if defined(WITH_OPENSSL_MODULE)
NGINX_OPENSSL=	yes
CONFIGURE_ARGS+=--with-http_ssl_module
d88 2
a89 2
.if defined(WITH_ADDITION_MODULE)
CONFIGURE_ARGS+=--with-http_addition_module
d92 1
a92 1
.if defined(WITH_MAIL_MODULE)
d94 1
a94 1
CONFIGURE_ARGS+=--with-mail --with-mail_ssl_module
d97 6
a102 2
.if defined(NGINX_OPENSSL)
USE_OPENSSL=	yes
d113 4
a116 2
.if defined(WITH_PERL_MODULE)
CONFIGURE_ARGS+=--with-http_perl_module
d119 2
a120 1
.if defined(WITHOUT_WWW)
d122 12
a133 2
.else
PLIST_SUB+=	WWWDATA=""
d147 1
a147 1
	${MKDIR} ${PREFIX}/etc/nginx ${NGINX_TMPDIR}
d151 1
a151 1
	${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx
d154 3
a156 3
	[ -f ${PREFIX}/etc/nginx/${i} ] || \
		${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx
	${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/etc/nginx/${i}-dist
d158 1
a158 1
.if !defined(WITHOUT_WWW)
d168 1
a168 1
.if defined(WITH_PERL_MODULE)
d179 1
a179 1
.if defined(WITH_PERL_MODULE)
d186 1
a186 1
.include <bsd.port.mk>
@


1.126
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.5.30
@


1.125
log
@Force commit.
Previous commit log was: Update to 0.5.30.
@
text
@d18 1
a18 1
NGINX_VARDIR?=	${DESTDIR}/var
@


1.124
log
@Update to 0.5.29.

<ChangeLog>

*) Feature: the $args variable can be set with the "set"
   directive.

*) Feature: the $is_args variable.

*) Bugfix: if a client has closed connection to mail proxy
   then nginx might not close connection to backend.

*) Bugfix: now nginx escapes space in $memcached_key
   variable.

*) Bugfix: a segmentation fault might occur in worker
   process when the HTTPS protocol was used in the
   "proxy_pass" directive.

*) Bugfix: the perl $$ variable value in ngx_http_perl_module
   was equal to the master process identification number.

*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11
   and early versions; bug appeared in 0.5.29.

</ChangeLog>
@
text
@@


1.123
log
@Update to 0.5.29.

<ChangeLog>

*) Feature: $nginx_version variable.
   Thanks to Nick S. Grechukh.

*) Bugfix: if the FastCGI header was split in records, then nginx
   passed garbage in the header to a client.

*) Bugfix: Sun Studio compatibility on Solaris/amd64 and
   Solaris/sparc64.
   Thanks to Jiang Hong and Andrei Nigmatulin.

*) Bugfix: of minor potential bugs.
   Thanks to Coverity's Scan.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.29
@


1.122
log
@Update to 0.5.28.

<ChangeLog>

*) Security: the "msie_refresh" directive allowed XSS.

*) Bugfix: a segmentation fault might occur in worker process
   if the "auth_http_header" directive was used.
   Thanks to Maxim Dounin.

*) Bugfix: a segmentation fault occurred in worker process if
   the CRAM-MD5 authentication method was used, but it was not
   enabled.

*) Bugfix: a segmentation fault might occur in worker process
   if the eventport method was used.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.28
@


1.121
log
@Update to 0.5.27.

<ChangeLog>

*) Bugfix: if remote SSI subrequest was used, then posterior
   local file subrequest might transferred to client in wrong
   order.

*) Bugfix: large SSI inclusions buffered in temporary files
   were truncated.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.27
@


1.120
log
@Knobs management:
  i) remove absolete WITH_IMAP_MODULE.
 ii) new one WITH_ADDITION_MODULE (*).

Do not bump PORTREVISION.

Requested by:	dwl aka dwl at dewil dot ru (*)
@
text
@d9 1
a9 1
PORTVERSION=	0.5.26
@


1.119
log
@Update to 0.5.26.
Fix rc script functionality for extra configtest_cmd command. (*)

<ChangeLog>

    *) Bugfix: in SSI parsing.

</ChangeLog>

Spotted by:	Andrey Y. Ostanovsky < andrey at ostanovsky dot spb dot ru > (*)
@
text
@d56 5
a60 1
.if defined(WITH_MAIL_MODULE) || defined(WITH_IMAP_MODULE)
a88 8
pre-fetch:
.if defined(WITH_IMAP_MODULE)
	@@${ECHO_MSG}
	@@${ECHO_MSG} WITH_IMAP_MODULE knob deprecated.
	@@${ECHO_MSG} Please use WITH_MAIL_MODULE knob instead.
	@@${ECHO_MSG}
.endif

@


1.118
log
@Resolve conflict with nginx stable.
Bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.5.25
PORTREVISION=	2
@


1.117
log
@Change default location for 50x.html in configuration file.
Bump PORTREVISION.

Requested by:	Igor Sysoev <is at rambler-co dot ru>
@
text
@d10 1
a10 1
PORTREVISION=	1
d29 1
@


1.116
log
@Update to 0.5.25.

<ChangeLog>

*) Bugfix: nginx could not be built with the
   --without-http_rewrite_module parameter; bug
   appeared in 0.5.24.

</ChangeLog>
@
text
@d10 1
@


1.115
log
@Update to 0.5.24.

<ChangeLog>

*) Security: the "ssl_verify_client" directive did not work if request
   was made using HTTP/0.9.

*) Bugfix: a part of response body may be passed uncompressed if gzip
   was used; bug appeared in 0.5.23.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.24
@


1.114
log
@Update to 0.5.23.

<ChangeLog>

*) Feature: the ngx_http_ssl_module supports Server
   Name Indication TLS extension.

*) Feature: the "fastcgi_catch_stderr" directive.
   Thanks to Nick S. Grechukh, OWOX project.

*) Bugfix: a segmentation fault occurred in master process
   if two virtual servers should bind() to the overlapping
   ports.

*) Bugfix: if nginx was built with ngx_http_perl_module
   and perl supported threads, then during second
   reconfiguration the error messages "panic: MUTEX_LOCK"
   and "perl_parse() failed" were issued.

*) Bugfix: in the HTTPS protocol in the "proxy_pass"
   directive.

</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.23
@


1.113
log
@Update to fresh bugfix release 0.5.22.

<Changelog>

Bugfix: the big request body might not be passed to
backend; bug appeared in 0.5.21.

</Changelog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.22
@


1.112
log
@Update to latest bugfix release 0.5.21.

<Changelog>
*) Bugfix: if server has more than about ten locations, then
   regex locations may be choosen not in that order as they
   were specified.

*) Bugfix: a worker process may got caught in an endless loop
   on 64-bit platform, if the 33-rd or next in succession
   backend has failed.
   Thanks to Anton Povarov.

*) Bugfix: a bus error might occur on Solaris/sparc64 if the
   PCRE library was used.
   Thanks to Andrei Nigmatulin.

*) Bugfix: in the HTTPS protocol in the "proxy_pass" directive.
</Changelog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.21
@


1.111
log
@Update to 0.5.20.

<ChangeLog>

*) Feature: the "sendfile_max_chunk" directive.
*) Feature: the "$http_...", "$sent_http_...", and
   "$upstream_http_..." variables may be changed using
   the "set" directive.

*) Bugfix: a segmentation fault might occur in worker
   process if the SSI command 'if expr="$var = /"'
   was used.

*) Bugfix: trailing boundary of multipart range
   response was transferred incorrectly.
   Thanks to Evan Miller.

*) Bugfix: nginx did not work on Solaris/sparc64 if
   it was built by Sun Studio.
   Thanks to Andrei Nigmatulin.

*) Bugfix: the ngx_http_perl_module could not built
   by Solaris make.
   Thanks to Andrei Nigmatulin.
</ChangeLog>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.20
@


1.110
log
@Update to 0.5.19.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.19
@


1.109
log
@Update to 0.5.18.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.18
@


1.108
log
@Update to latest bugfix release 0.5.17.

Change knob IMAP_MODULE to MAIL_MODULE (1).
Keep compatibility for IMAP_MODULE, notice warning if usage.
Cosmetic fixes for package list (2).

(1) Anton Yuzhaninov (citrin at rambler-co dot ru)
(2) portlint -a
@
text
@d9 1
a9 1
PORTVERSION=	0.5.17
@


1.107
log
@Update to fresh latest bugfix release 0.5.15.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.15
d55 1
a55 1
.if defined(WITH_IMAP_MODULE)
d57 1
a57 1
CONFIGURE_ARGS+=--with-imap --with-imap_ssl_module
d84 8
@


1.106
log
@Update to latest fresh bugfix release: 0.5.14.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.14
@


1.105
log
@Update to 0.5.13.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.13
@


1.104
log
@Update to 0.5.12.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.12
@


1.103
log
@Update to 0.5.11.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.11
@


1.102
log
@Update to 0.5.10.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.10
@


1.101
log
@Update to 0.5.9.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.9
@


1.100
log
@Update to latest bugfix release 0.5.8.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.8
@


1.99
log
@Update to 0.5.7.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.7
@


1.98
log
@Update to 0.5.6.

Submitted by:	Gea-Suan Lin (gslin at gslin dot org)
PR:	107945
@
text
@d9 1
a9 1
PORTVERSION=	0.5.6
@


1.97
log
@Update to 0.5.5.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.5
@


1.96
log
@Update to 0.5.4.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.4
@


1.95
log
@Update to 0.5.3.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.3
@


1.94
log
@Update to 0.5.0.
Include NGX_DEBUG_MALLOC into WITH_DEBUG knob. [*]

Submitted by:	Anton Yuzhaninov <citrin at citrin dot ru> [*]
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0
@


1.93
log
@Update to 0.4.14.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.14
d45 1
a45 1
CFLAGS+=	-g
@


1.92
log
@Update to 0.4.13.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.13
@


1.91
log
@Update to 0.4.12.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.12
@


1.90
log
@Update to 0.4.11.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.11
@


1.89
log
@Update to 0.4.6.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.6
@


1.88
log
@Update to fresh "linux-bugfix" release 0.4.2.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.2
@


1.87
log
@Update to latest release version: 0.4.1.
Add one more knob - WITH_PERL_MODULE. [1]

Submitted by:	Yuri Karaban <ykar at list dot ru> [1]
@
text
@d9 1
a9 1
PORTVERSION=	0.4.1
@


1.86
log
@Update to 0.4.0.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.0
d24 4
d72 4
d114 18
@


1.85
log
@Update to 0.3.60.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.60
@


1.84
log
@Update to 0.3.59.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.59
@


1.83
log
@Update to 0.3.57.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.57
@


1.82
log
@Update to latest version: 0.3.56.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.56
@


1.81
log
@Update to latest version: 0.3.55.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.55
@


1.80
log
@Update to 0.3.54.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.54
@


1.79
log
@Update to 0.3.52.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.52
@


1.78
log
@Install 4 additional files from distro.
Bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	0.3.51
PORTREVISION=	1
@


1.77
log
@Update to fresh bugfix release: 0.3.51.
@
text
@d10 1
d89 3
a91 1
	${INSTALL_DATA} ${WRKSRC}/conf/koi-win ${PREFIX}/etc/nginx
d99 3
a101 1
	${INSTALL_DATA} ${WRKSRC}/html/index.html ${PREFIX}/www/nginx-dist
@


1.76
log
@Update to 0.3.50.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.50
@


1.75
log
@Update to fresh bugfix release 0.3.49.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.49
@


1.74
log
@Update to 0.3.48.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.48
@


1.73
log
@Update to 0.3.47.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.47
@


1.72
log
@Update to 0.3.46.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.46
@


1.71
log
@Update to 0.3.45.

Update port infrastructure.
Add compiler's debug flag if WITH_DEBUG defined.
Add prefix NGINX_ for port's variables (VARDIR, LOGDIR, TMPDIR) for
prevent conflict with system variables.
Remove STOP_BEFORE_REMOVE and START_AFTER_INSTALL knobs.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.45
@


1.70
log
@Update to 0.3.40.
Remove needless USE_REINPLACE.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.40
d18 4
a21 4
VARDIR?=	${DESTDIR}/var
LOGDIR?=	${VARDIR}/log
RUNDIR?=	${VARDIR}/run
TMPDIR?=	${VARDIR}/tmp/nginx
d24 1
a24 1
USE_RC_SUBR=	yes
d31 6
a36 6
		--pid-path=${RUNDIR}/nginx.pid \
		--http-client-body-temp-path=${TMPDIR}/client_body_temp \
		--http-proxy-temp-path=${TMPDIR}/proxy_temp \
		--http-fastcgi-temp-path=${TMPDIR}/fastcgi_temp \
		--http-log-path=${LOGDIR}/nginx-access.log \
		--error-log-path=${LOGDIR}/nginx-error.log \
d41 1
d74 1
a74 19
.if defined(STOP_BEFORE_REMOVE)
PLIST_SUB+=	STOP_BEFORE_REMOVE=""
.else
PLIST_SUB+=	STOP_BEFORE_REMOVE="@@comment "
.endif

.if defined(START_AFTER_INSTALL)
PLIST_SUB+=	START_AFTER_INSTALL=""
.else
PLIST_SUB+=	START_AFTER_INSTALL="@@comment "
.endif

PLIST_SUB+=	TMPDIR=${TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}

post-extract:
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/nginx.sh.in > ${WRKSRC}/nginx.sh
d85 2
a86 3
	${MKDIR} ${PREFIX}/etc/nginx ${TMPDIR}
	${CHOWN} ${WWWOWN}:${WWWGRP} ${TMPDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/nginx.sh ${PREFIX}/etc/rc.d
a101 5
post-install:
.if defined(START_AFTER_INSTALL)
	${PREFIX}/etc/rc.d/nginx.sh start
.endif

@


1.69
log
@Update to 0.3.39.
@
text
@d9 1
a9 2
PORTVERSION=	0.3.39
PORTREVISION=	0
a23 1
USE_REINPLACE=	yes
@


1.68
log
@Update to 0.3.38.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.38
@


1.67
log
@Update to 0.3.37.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.37
@


1.66
log
@Update to 0.3.36.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.36
@


1.65
log
@Update to 0.3.35.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.35
@


1.64
log
@Update to 0.3.33.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.33
@


1.63
log
@Update to 0.3.32.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.32
@


1.62
log
@Update to 0.3.30.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.30
@


1.61
log
@Update to 0.3.29.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.29
@


1.60
log
@Update to 0.3.28.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.28
@


1.59
log
@Update to 0.3.27.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.27
@


1.58
log
@Update to 0.3.26.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.26
@


1.57
log
@Update to latest release 0.3.25.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.25
@


1.56
log
@Update to fresh bugfix release 0.3.20.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.20
@


1.55
log
@Update to 0.3.19.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.19
@


1.54
log
@Update to 0.3.18.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.18
@


1.53
log
@Update to 0.3.17.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.17
@


1.52
log
@Update to 0.3.15.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.15
@


1.51
log
@Update to fresh bugfix release 0.3.14.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.14
@


1.50
log
@Update to 0.3.13.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.13
@


1.49
log
@Update to fresh release 0.3.12.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.12
@


1.48
log
@Add extra command - reload.
Bump PORTREVISION.

Submitted by:	marck
@
text
@d9 2
a10 2
PORTVERSION=	0.3.11
PORTREVISION=	1
@


1.47
log
@Update to 0.3.11.
@
text
@d10 1
@


1.46
log
@Update to 0.3.10.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.10
@


1.45
log
@Update to 0.3.9.
Add SHA256.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.9
@


1.44
log
@Update to 0.3.7.
Remove needless patch.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.7
@


1.43
log
@Fix build for freebsd7-ia64.
Bump PORTREVISION.

Notice from:	kris via pointyhat
Patch from:	Igor Sysoev (author)
@
text
@d9 1
a9 2
PORTVERSION=	0.3.6
PORTREVISION=	1
@


1.42
log
@Update to 0.3.6.
@
text
@d10 1
@


1.41
log
@Update to 0.3.4.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.4
@


1.40
log
@Update to 0.3.2.

Update port infrastructure: files/nginx.sh -> files/nginx.sh.in.
Add configtest extra command for nginx.sh script (1).

Submitted by:	skv (1)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.2
@


1.39
log
@Update to fresh bugfix release 0.2.6.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.6
d92 1
a92 1
		${FILESDIR}/nginx.sh > ${WRKSRC}/nginx.sh
@


1.38
log
@Update to 0.2.5.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.5
@


1.37
log
@Update to fresh release 0.2.4.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.4
@


1.36
log
@Update to 0.2.3.
Add WITH_IMAP_MODULE knob for build nginx with
pop3 and imap4 proxy modules.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.3
@


1.35
log
@Update to 0.1.43.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.43
d47 10
a57 1
CONFIGURE_ARGS+=--with-http_ssl_module
@


1.34
log
@Add MASTER_SITE_LOCAL is additional MASTER_SITE.

Can't fetch distro to:	gohan36
Reported by:		pointyhat via krion
Approved by:		portmgr (krion)
@
text
@d9 1
a9 1
PORTVERSION=	0.1.41
@


1.33
log
@Update to 0.1.41.
@
text
@d12 2
@


1.32
log
@Update to fresh bugfix release 0.1.40.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.40
@


1.31
log
@Update to 0.1.39.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.39
@


1.30
log
@Do not strip nginx, if its built with debug information.

Do not bump PORTREVISION, because changes only affected
non-default version (with WITH_DEBUG flag).
@
text
@d9 1
a9 1
PORTVERSION=	0.1.37
@


1.29
log
@Update to 0.1.37.

Add one more knob: WITH_DEBUG.
Fix whitespaces for PLIST_SUB directives.
Use '+=' instead of '=' for PKGNAMESUFFIX for prevent
some future modifications in the name and suffixes.
@
text
@d41 1
@


1.28
log
@Update to 0.1.36.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.36
d39 4
d49 1
a49 1
PKGNAMESUFFIX=	-nopcre
d57 1
a57 1
PLIST_SUB+=     WWWDATA="@@comment "
d59 1
a59 1
PLIST_SUB+=     WWWDATA=""
d65 1
a65 1
PLIST_SUB+=     STOP_BEFORE_REMOVE="@@comment "
@


1.27
log
@Update to 0.1.35.
Add WITH_OPENSSL_MODULE knob.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.35
@


1.26
log
@Update to 0.1.33.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.33
d39 5
@


1.25
log
@Update to 0.1.31.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.31
@


1.24
log
@Update to one more bugfix release: 0.1.28.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.28
@


1.23
log
@Update to 0.1.27.

Use 'CONFIGURE_ARGS+=' directive for respect third-party
configure arguments.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.27
@


1.22
log
@Update to 0.1.25.
Configure and build http_stub_status_module.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.25
d25 1
a25 1
CONFIGURE_ARGS=	--prefix=${PREFIX}/etc/nginx \
@


1.21
log
@Update to fresh bugfix version: 0.1.24.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.24
d36 1
@


1.20
log
@Fix build on FreeBSD 4.x-alpha by update to fresh bugfix release 0.1.23.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.23
@


1.19
log
@Update to 0.1.22.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.22
@


1.18
log
@Update to 0.1.21 - bugfix release, see distro's
CHANGES for details.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.21
@


1.17
log
@Update to 0.1.20.

Add two new parameters script_filename and remote_port
for fastcgi_params directive.
Fix FastCGI server's stdout stream processing.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.20
@


1.16
log
@Update to 0.1.19 - bugfix release.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.19
@


1.15
log
@Update to 0.1.18.

Create and remove ${TMPDIR} for package on install/deinstall time.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.18
@


1.14
log
@Update to 0.1.16 (bugfix release).
@
text
@d9 1
a9 1
PORTVERSION=	0.1.16
a24 1
CONFIGURE_ENV+=	LINK="${CC}"
d64 2
@


1.13
log
@Update to 0.1.15.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.15
@


1.12
log
@Update to 0.1.13.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.13
d19 1
d32 3
d80 2
a81 1
	${MKDIR} ${PREFIX}/etc/nginx
@


1.11
log
@Update to 0.1.12.
Fix link to WWWDATA directory (test link exist before make link).
Add two new knobs: START_AFTER_INSTALL and STOP_BEFORE_REMOVE.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.12
@


1.10
log
@Update to latest release version: 0.1.11.
More fixes and changes, new directives.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.11
d49 11
a59 3
PLIST_FILES+=	etc/nginx/koi-win \
		etc/rc.d/nginx.sh \
		sbin/nginx
d89 7
a95 1
	${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx
@


1.9
log
@Update to 0.1.10 (one more bugfix release).
@
text
@d9 1
a9 1
PORTVERSION=	0.1.10
@


1.8
log
@Update to 0.1.9 (bugfix release).
@
text
@d9 1
a9 1
PORTVERSION=	0.1.9
@


1.7
log
@Update to 0.1.8.

Submitted by:	marck
@
text
@d9 1
a9 1
PORTVERSION=	0.1.8
@


1.6
log
@Update to 0.1.7 (bugfix release).

Submitted by:	marck
@
text
@d9 1
a9 1
PORTVERSION=	0.1.7
@


1.5
log
@Update to latest version: 0.1.6 (bugfix release).

Submitted by:	marck
@
text
@d9 1
a9 1
PORTVERSION=	0.1.6
@


1.4
log
@Update to 0.1.5.
Add WITHOUT_WWW knob.
@
text
@d9 1
a9 1
PORTVERSION=	0.1.5
@


1.3
log
@Update to 0.1.4.

Submitted by:	marck
@
text
@d9 1
a9 1
PORTVERSION=	0.1.4
d43 6
d68 1
a68 1
	${MKDIR} ${PREFIX}/etc/nginx ${PREFIX}/www/nginx-dist
d77 2
d82 1
@


1.2
log
@Use LOCALBASE instead of PREFIX for help cc and ld tools.

Submitted by:	Alexandr Kovalenko <never at nevermind dot kiev dot ua >
PR:		72999
@
text
@d9 1
a9 1
PORTVERSION=	0.1.2
@


1.1
log
@Add nginx (Engine X) - small and fast WWW-server.

Special thanks to:	marck
Some ideas from PR:	72830
@
text
@d26 2
a27 2
		--with-cc-opt="-I ${PREFIX}/include" \
		--with-ld-opt="-L ${PREFIX}/lib" \
@

