head	1.194;
access;
symbols
	RELEASE_6_1_0:1.193
	RELEASE_5_5_0:1.193
	RELEASE_6_0_0:1.193
	RELEASE_5_4_0:1.193
	RELEASE_4_11_0:1.193
	RELEASE_5_3_0:1.193
	RELEASE_4_10_0:1.192
	RELEASE_5_2_1:1.192
	RELEASE_5_2_0:1.192
	RELEASE_4_9_0:1.192
	old_RELEASE_5_1_0:1.190
	old_RELEASE_4_8_0:1.187
	old_BEFORE_PHP_4_3_0:1.180
	old_RELEASE_5_0_0:1.180
	old_RELEASE_4_7_0:1.178
	old_RELEASE_4_6_2:1.174
	old_RELEASE_4_6_1:1.174
	old_RELEASE_4_6_0:1.174
	old_BEFORE_PHP_4_2_0:1.164
	old_RELEASE_5_0_DP1:1.163
	old_RELEASE_4_5_0:1.160
	old_BEFORE_PHP_4_1_0:1.155
	old_RELEASE_4_4_0:1.148
	old_RELEASE_4_3_0:1.133
	old_RELEASE_4_2_0:1.121
	old_RELEASE_4_1_1:1.119
	old_RELEASE_4_1_0:1.118
	old_RELEASE_3_5_0:1.116
	old_RELEASE_4_0_0:1.105
	old_RELEASE_3_4_0:1.96
	old_RELEASE_3_3_0:1.95
	old_RELEASE_3_2_0:1.75
	old_RELEASE_3_1_0:1.66
	old_RELEASE_2_2_8:1.57
	old_RELEASE_3_0_0:1.56
	old_RELEASE_2_2_7:1.47
	old_RELEASE_2_2_6:1.44
	old_RELEASE_2_2_5:1.42
	old_RELEASE_2_2_1:1.28
	old_RELEASE_2_2_2:1.30
	old_apache_0_8_11:1.1.1.1
	old_APACHE:1.1.1;
locks; strict;
comment	@# @;


1.194
date	2006.05.06.13.26.48;	author ale;	state dead;
branches;
next	1.193;

1.193
date	2004.07.19.07.05.35;	author ale;	state Exp;
branches;
next	1.192;

1.192
date	2003.07.16.11.10.17;	author nork;	state Exp;
branches;
next	1.191;

1.191
date	2003.06.06.17.43.59;	author nork;	state Exp;
branches;
next	1.190;

1.190
date	2003.05.24.09.57.00;	author kris;	state Exp;
branches;
next	1.189;

1.189
date	2003.05.24.09.55.38;	author kris;	state Exp;
branches;
next	1.188;

1.188
date	2003.05.22.18.39.48;	author nork;	state Exp;
branches;
next	1.187;

1.187
date	2003.03.07.06.12.44;	author ade;	state Exp;
branches;
next	1.186;

1.186
date	2003.02.23.03.08.32;	author ijliao;	state Exp;
branches;
next	1.185;

1.185
date	2003.02.17.18.14.00;	author marcus;	state Exp;
branches;
next	1.184;

1.184
date	2003.02.06.10.35.50;	author dirk;	state Exp;
branches;
next	1.183;

1.183
date	2003.02.05.14.13.21;	author dirk;	state Exp;
branches;
next	1.182;

1.182
date	2003.01.30.14.53.17;	author dirk;	state Exp;
branches;
next	1.181;

1.181
date	2003.01.29.15.16.08;	author dirk;	state Exp;
branches;
next	1.180;

1.180
date	2002.11.23.20.49.41;	author dirk;	state Exp;
branches;
next	1.179;

1.179
date	2002.11.21.20.37.21;	author dirk;	state Exp;
branches;
next	1.178;

1.178
date	2002.09.10.11.26.49;	author dinoex;	state Exp;
branches;
next	1.177;

1.177
date	2002.09.09.08.32.24;	author dirk;	state Exp;
branches;
next	1.176;

1.176
date	2002.07.22.18.22.14;	author dirk;	state Exp;
branches;
next	1.175;

1.175
date	2002.06.21.21.52.26;	author dirk;	state Exp;
branches;
next	1.174;

1.174
date	2002.05.25.00.57.06;	author mita;	state Exp;
branches;
next	1.173;

1.173
date	2002.05.17.06.07.00;	author dirk;	state Exp;
branches;
next	1.172;

1.172
date	2002.05.13.06.20.06;	author dirk;	state Exp;
branches;
next	1.171;

1.171
date	2002.05.13.05.58.05;	author dirk;	state Exp;
branches;
next	1.170;

1.170
date	2002.05.11.16.49.32;	author dirk;	state Exp;
branches;
next	1.169;

1.169
date	2002.05.11.15.51.21;	author dirk;	state Exp;
branches;
next	1.168;

1.168
date	2002.05.01.10.56.02;	author dirk;	state Exp;
branches;
next	1.167;

1.167
date	2002.05.01.10.48.54;	author dirk;	state Exp;
branches;
next	1.166;

1.166
date	2002.05.01.09.44.41;	author dirk;	state Exp;
branches;
next	1.165;

1.165
date	2002.04.27.11.15.16;	author dirk;	state Exp;
branches;
next	1.164;

1.164
date	2002.04.16.10.58.19;	author dirk;	state Exp;
branches;
next	1.163;

1.163
date	2002.03.25.09.19.20;	author sobomax;	state Exp;
branches;
next	1.162;

1.162
date	2002.02.27.22.17.22;	author dirk;	state Exp;
branches;
next	1.161;

1.161
date	2002.02.27.19.05.28;	author jedgar;	state Exp;
branches;
next	1.160;

1.160
date	2002.01.09.06.45.47;	author dinoex;	state Exp;
branches;
next	1.159;

1.159
date	2002.01.06.06.20.22;	author will;	state Exp;
branches;
next	1.158;

1.158
date	2001.12.26.23.15.43;	author dirk;	state Exp;
branches;
next	1.157;

1.157
date	2001.12.21.15.28.06;	author dirk;	state Exp;
branches;
next	1.156;

1.156
date	2001.12.19.19.48.41;	author dirk;	state Exp;
branches;
next	1.155;

1.155
date	2001.12.04.07.27.41;	author dirk;	state Exp;
branches;
next	1.154;

1.154
date	2001.11.30.09.19.31;	author dirk;	state Exp;
branches;
next	1.153;

1.153
date	2001.11.24.15.30.12;	author dirk;	state Exp;
branches;
next	1.152;

1.152
date	2001.11.23.18.46.55;	author dirk;	state Exp;
branches;
next	1.151;

1.151
date	2001.11.18.22.29.38;	author dirk;	state Exp;
branches;
next	1.150;

1.150
date	2001.11.05.13.24.05;	author dirk;	state Exp;
branches;
next	1.149;

1.149
date	2001.11.05.12.07.15;	author dirk;	state Exp;
branches;
next	1.148;

1.148
date	2001.08.26.12.21.31;	author dirk;	state Exp;
branches;
next	1.147;

1.147
date	2001.08.22.20.13.50;	author dirk;	state Exp;
branches;
next	1.146;

1.146
date	2001.08.08.21.56.12;	author dirk;	state Exp;
branches;
next	1.145;

1.145
date	2001.06.25.21.06.08;	author dirk;	state Exp;
branches;
next	1.144;

1.144
date	2001.06.24.22.57.37;	author dirk;	state Exp;
branches;
next	1.143;

1.143
date	2001.06.24.22.36.34;	author dirk;	state Exp;
branches;
next	1.142;

1.142
date	2001.06.24.18.19.17;	author dirk;	state Exp;
branches;
next	1.141;

1.141
date	2001.06.10.13.44.07;	author dirk;	state Exp;
branches;
next	1.140;

1.140
date	2001.05.24.21.41.48;	author dirk;	state Exp;
branches;
next	1.139;

1.139
date	2001.05.10.08.24.36;	author dirk;	state Exp;
branches;
next	1.138;

1.138
date	2001.05.10.07.32.28;	author dirk;	state Exp;
branches;
next	1.137;

1.137
date	2001.05.03.22.16.50;	author dirk;	state Exp;
branches;
next	1.136;

1.136
date	2001.04.23.04.25.25;	author vanilla;	state Exp;
branches;
next	1.135;

1.135
date	2001.04.22.23.08.06;	author dirk;	state Exp;
branches;
next	1.134;

1.134
date	2001.04.21.11.43.06;	author vanilla;	state Exp;
branches;
next	1.133;

1.133
date	2001.03.11.13.42.46;	author dirk;	state Exp;
branches;
next	1.132;

1.132
date	2001.03.04.22.41.12;	author dirk;	state Exp;
branches;
next	1.131;

1.131
date	2001.03.04.20.34.10;	author dirk;	state Exp;
branches;
next	1.130;

1.130
date	2001.03.04.18.44.38;	author dirk;	state Exp;
branches;
next	1.129;

1.129
date	2001.02.25.21.22.03;	author dirk;	state Exp;
branches;
next	1.128;

1.128
date	2001.02.05.15.33.32;	author olgeni;	state Exp;
branches;
next	1.127;

1.127
date	2001.01.21.14.24.30;	author dirk;	state Exp;
branches;
next	1.126;

1.126
date	2001.01.21.14.22.06;	author dirk;	state Exp;
branches;
next	1.125;

1.125
date	2001.01.16.22.49.24;	author dirk;	state Exp;
branches;
next	1.124;

1.124
date	2001.01.01.10.15.16;	author will;	state Exp;
branches;
next	1.123;

1.123
date	2000.12.20.12.15.28;	author dirk;	state Exp;
branches;
next	1.122;

1.122
date	2000.12.13.08.43.15;	author dirk;	state Exp;
branches;
next	1.121;

1.121
date	2000.10.16.16.09.43;	author dirk;	state Exp;
branches;
next	1.120;

1.120
date	2000.10.12.09.48.55;	author dirk;	state Exp;
branches;
next	1.119;

1.119
date	2000.09.02.08.39.12;	author dirk;	state Exp;
branches;
next	1.118;

1.118
date	2000.07.03.10.19.39;	author dirk;	state Exp;
branches;
next	1.117;

1.117
date	2000.06.30.13.01.25;	author dirk;	state Exp;
branches;
next	1.116;

1.116
date	2000.06.08.06.46.16;	author dirk;	state Exp;
branches;
next	1.115;

1.115
date	2000.06.07.20.10.46;	author dirk;	state Exp;
branches;
next	1.114;

1.114
date	2000.05.29.19.25.03;	author dirk;	state Exp;
branches;
next	1.113;

1.113
date	2000.05.28.15.04.39;	author dirk;	state Exp;
branches;
next	1.112;

1.112
date	2000.05.25.12.44.00;	author dirk;	state Exp;
branches;
next	1.111;

1.111
date	2000.05.17.21.54.48;	author dirk;	state Exp;
branches;
next	1.110;

1.110
date	2000.04.10.20.08.20;	author cpiazza;	state Exp;
branches;
next	1.109;

1.109
date	2000.04.10.00.04.23;	author cpiazza;	state Exp;
branches;
next	1.108;

1.108
date	2000.04.04.20.32.22;	author dirk;	state Exp;
branches;
next	1.107;

1.107
date	2000.04.04.20.22.18;	author dirk;	state Exp;
branches;
next	1.106;

1.106
date	2000.03.27.20.38.59;	author dirk;	state Exp;
branches;
next	1.105;

1.105
date	2000.02.27.19.50.32;	author dirk;	state Exp;
branches;
next	1.104;

1.104
date	2000.02.25.23.53.05;	author dirk;	state Exp;
branches;
next	1.103;

1.103
date	2000.02.25.23.43.25;	author dirk;	state Exp;
branches;
next	1.102;

1.102
date	2000.02.03.17.07.57;	author dirk;	state Exp;
branches;
next	1.101;

1.101
date	2000.01.27.13.05.20;	author dirk;	state Exp;
branches;
next	1.100;

1.100
date	2000.01.27.13.04.22;	author dirk;	state Exp;
branches;
next	1.99;

1.99
date	2000.01.25.16.52.17;	author dirk;	state Exp;
branches;
next	1.98;

1.98
date	2000.01.23.00.02.09;	author dirk;	state Exp;
branches;
next	1.97;

1.97
date	2000.01.02.17.17.28;	author dirk;	state Exp;
branches;
next	1.96;

1.96
date	99.09.19.14.37.35;	author dirk;	state Exp;
branches;
next	1.95;

1.95
date	99.09.06.09.35.02;	author dirk;	state Exp;
branches;
next	1.94;

1.94
date	99.08.31.02.42.41;	author peter;	state Exp;
branches;
next	1.93;

1.93
date	99.08.30.10.56.05;	author dirk;	state Exp;
branches;
next	1.92;

1.92
date	99.08.26.21.18.14;	author dirk;	state Exp;
branches;
next	1.91;

1.91
date	99.08.22.19.00.28;	author mharo;	state Exp;
branches;
next	1.90;

1.90
date	99.08.20.19.12.55;	author dirk;	state Exp;
branches;
next	1.89;

1.89
date	99.08.19.11.55.29;	author dirk;	state Exp;
branches;
next	1.88;

1.88
date	99.08.19.11.26.47;	author dirk;	state Exp;
branches;
next	1.87;

1.87
date	99.08.18.15.42.03;	author dirk;	state Exp;
branches;
next	1.86;

1.86
date	99.08.17.09.58.49;	author dirk;	state Exp;
branches;
next	1.85;

1.85
date	99.08.17.08.07.01;	author dirk;	state Exp;
branches;
next	1.84;

1.84
date	99.08.16.18.41.11;	author dirk;	state Exp;
branches;
next	1.83;

1.83
date	99.08.10.16.07.26;	author dirk;	state Exp;
branches;
next	1.82;

1.82
date	99.07.30.21.06.59;	author dirk;	state Exp;
branches;
next	1.81;

1.81
date	99.07.03.09.50.38;	author dirk;	state Exp;
branches;
next	1.80;

1.80
date	99.07.01.11.28.24;	author dirk;	state Exp;
branches;
next	1.79;

1.79
date	99.06.26.11.53.00;	author dirk;	state Exp;
branches;
next	1.78;

1.78
date	99.06.18.02.40.11;	author billf;	state Exp;
branches;
next	1.77;

1.77
date	99.06.10.10.24.35;	author dirk;	state Exp;
branches;
next	1.76;

1.76
date	99.05.27.23.20.33;	author dirk;	state Exp;
branches;
next	1.75;

1.75
date	99.05.05.20.16.06;	author dirk;	state Exp;
branches;
next	1.74;

1.74
date	99.05.04.14.50.32;	author dirk;	state Exp;
branches;
next	1.73;

1.73
date	99.04.13.15.40.20;	author dirk;	state Exp;
branches;
next	1.72;

1.72
date	99.04.11.22.23.30;	author dirk;	state Exp;
branches;
next	1.71;

1.71
date	99.04.11.15.11.24;	author dirk;	state Exp;
branches;
next	1.70;

1.70
date	99.03.13.17.57.44;	author billf;	state Exp;
branches;
next	1.69;

1.69
date	99.03.13.17.11.03;	author billf;	state Exp;
branches;
next	1.68;

1.68
date	99.03.09.11.22.59;	author dirk;	state Exp;
branches;
next	1.67;

1.67
date	99.03.08.07.28.32;	author asami;	state Exp;
branches;
next	1.66;

1.66
date	99.01.13.17.31.09;	author dirk;	state Exp;
branches;
next	1.65;

1.65
date	99.01.13.02.47.33;	author scrappy;	state Exp;
branches;
next	1.64;

1.64
date	99.01.08.17.22.06;	author dirk;	state Exp;
branches;
next	1.63;

1.63
date	99.01.03.12.26.47;	author dirk;	state Exp;
branches;
next	1.62;

1.62
date	98.12.26.00.08.09;	author dirk;	state Exp;
branches;
next	1.61;

1.61
date	98.12.23.00.44.49;	author dirk;	state Exp;
branches;
next	1.60;

1.60
date	98.12.12.04.18.47;	author asami;	state Exp;
branches;
next	1.59;

1.59
date	98.12.05.09.36.59;	author obrien;	state Exp;
branches;
next	1.58;

1.58
date	98.12.02.20.32.02;	author billf;	state Exp;
branches;
next	1.57;

1.57
date	98.11.06.11.02.21;	author obrien;	state Exp;
branches;
next	1.56;

1.56
date	98.09.30.18.16.06;	author andreas;	state Exp;
branches;
next	1.55;

1.55
date	98.09.15.21.31.54;	author asami;	state Exp;
branches;
next	1.54;

1.54
date	98.09.13.17.18.11;	author andreas;	state Exp;
branches;
next	1.53;

1.53
date	98.09.01.21.04.57;	author andreas;	state Exp;
branches;
next	1.52;

1.52
date	98.09.01.18.38.05;	author andreas;	state Exp;
branches;
next	1.51;

1.51
date	98.08.30.01.43.12;	author jkh;	state Exp;
branches;
next	1.50;

1.50
date	98.08.27.14.08.20;	author kuriyama;	state Exp;
branches;
next	1.49;

1.49
date	98.07.25.11.30.12;	author andreas;	state Exp;
branches;
next	1.48;

1.48
date	98.07.25.06.51.24;	author andreas;	state Exp;
branches;
next	1.47;

1.47
date	98.07.11.20.52.36;	author andreas;	state Exp;
branches;
next	1.46;

1.46
date	98.06.27.13.52.34;	author andreas;	state Exp;
branches;
next	1.45;

1.45
date	98.06.14.09.57.32;	author andreas;	state Exp;
branches;
next	1.44;

1.44
date	98.02.22.23.06.17;	author andreas;	state Exp;
branches;
next	1.43;

1.43
date	98.02.22.23.01.37;	author andreas;	state Exp;
branches;
next	1.42;

1.42
date	97.10.04.14.52.58;	author andreas;	state Exp;
branches;
next	1.41;

1.41
date	97.09.09.10.01.36;	author asami;	state Exp;
branches;
next	1.40;

1.40
date	97.09.03.18.49.53;	author andreas;	state Exp;
branches;
next	1.39;

1.39
date	97.09.03.18.45.12;	author andreas;	state Exp;
branches;
next	1.38;

1.38
date	97.08.25.23.11.21;	author ache;	state Exp;
branches;
next	1.37;

1.37
date	97.08.13.15.05.03;	author ache;	state Exp;
branches;
next	1.36;

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

1.35
date	97.07.08.13.04.09;	author ache;	state Exp;
branches;
next	1.34;

1.34
date	97.06.06.13.45.07;	author ache;	state Exp;
branches;
next	1.33;

1.33
date	97.05.31.20.34.09;	author ache;	state Exp;
branches;
next	1.32;

1.32
date	97.05.31.20.26.38;	author ache;	state Exp;
branches;
next	1.31;

1.31
date	97.05.31.20.16.01;	author ache;	state Exp;
branches;
next	1.30;

1.30
date	97.05.02.18.22.03;	author ache;	state Exp;
branches;
next	1.29;

1.29
date	97.04.14.18.54.26;	author ache;	state Exp;
branches;
next	1.28;

1.28
date	97.02.26.01.23.10;	author ache;	state Exp;
branches;
next	1.27;

1.27
date	97.01.28.05.39.31;	author ache;	state Exp;
branches;
next	1.26;

1.26
date	97.01.02.16.39.55;	author ache;	state Exp;
branches;
next	1.25;

1.25
date	96.12.25.22.53.22;	author ache;	state Exp;
branches;
next	1.24;

1.24
date	96.12.11.21.04.21;	author markm;	state Exp;
branches;
next	1.23;

1.23
date	96.12.11.19.09.59;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	96.11.18.11.40.33;	author asami;	state Exp;
branches;
next	1.21;

1.21
date	96.11.07.01.53.14;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	96.11.07.01.49.46;	author ache;	state Exp;
branches;
next	1.19;

1.19
date	96.10.31.17.42.13;	author markm;	state Exp;
branches;
next	1.18;

1.18
date	96.10.26.18.49.52;	author markm;	state Exp;
branches;
next	1.17;

1.17
date	96.08.11.14.49.21;	author markm;	state Exp;
branches;
next	1.16;

1.16
date	96.07.12.10.27.53;	author asami;	state Exp;
branches;
next	1.15;

1.15
date	96.07.12.06.41.05;	author pst;	state Exp;
branches;
next	1.14;

1.14
date	96.07.11.11.03.17;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	96.06.15.17.51.08;	author jkh;	state Exp;
branches;
next	1.12;

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

1.11
date	96.05.20.07.37.06;	author asami;	state Exp;
branches;
next	1.10;

1.10
date	96.05.19.22.21.42;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	96.04.21.08.54.24;	author pst;	state Exp;
branches;
next	1.8;

1.8
date	96.02.22.21.54.58;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	96.02.07.03.15.26;	author jfieber;	state Exp;
branches;
next	1.6;

1.6
date	95.12.04.12.56.18;	author jfieber;	state Exp;
branches;
next	1.5;

1.5
date	95.12.02.23.07.08;	author jfieber;	state Exp;
branches;
next	1.4;

1.4
date	95.11.27.04.10.09;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	95.09.23.18.47.45;	author pst;	state Exp;
branches;
next	1.2;

1.2
date	95.09.19.07.03.17;	author pst;	state Exp;
branches;
next	1.1;

1.1
date	95.08.28.13.28.45;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.08.28.13.28.45;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.194
log
@Simplify PHP base ports infrastructure:
- remove all slave ports
- add the ability to build all SAPIs concurrently
- update php5 to 5.1.4

*Read* the UPDATING file *before* trying to update PHP
(or at least before mailing me).
@
text
@# New ports collection makefile for:	mod_php5
# Date created:				Sun May 28 11:31:54 CEST 2000
# Whom:					Alex Dupre <sysadmin@@alexdupre.com>
#
# $FreeBSD: ports/www/mod_php5/Makefile,v 1.193 2004/07/19 07:05:35 ale Exp $
#

PORTEPOCH=	1
CATEGORIES=	www
PKGNAMEPREFIX=	mod_

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	PHP Apache Module

MASTERDIR=	${.CURDIR}/../../lang/php5

CONFLICTS=	php5-5* php5-cli-5* php5-cgi-5*

.include "${MASTERDIR}/Makefile"
@


1.193
log
@First step of the PHP mega-commit:
- remove extensions and PEAR from the PHP base ports
- add more OPTIONS to PHP base ports
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.192
log
@Add mod_php5, is a PHP Apache module as php5's
slave port.

PR:		ports/54521
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
Repo copied by:	joe (cvs)
Approved by:	portmgr (no objections)
@
text
@a6 3
# Instructions on how to enable preferred extensions can be found in the
# Makefile of the master port (lang/php5).
#
d10 1
d12 2
a13 1
MAINTAINER=	sysadmin@@alexdupre.com
a14 1
PKGMESSAGE=	${.CURDIR}/pkg-message
d17 1
a17 1
WITHOUT_CLI=	yes
@


1.191
log
@Reupdate to 4.3.2RC4.
@
text
@d1 3
a3 3
# New ports collection makefile for:	mod_php4
# Date created:		Sun May 28 11:31:54 CEST 2000
# Whom:			Dirk Froemberg <dirk@@FreeBSD.org>
d8 1
a8 1
# Makefile of the master port (lang/php4).
d17 1
a17 1
MASTERDIR=	${.CURDIR}/../../lang/php4
@


1.190
log
@Bump PORTEPOCH to force downgrade to working 4.3.1 port.
@
text
@d7 3
a10 3
PORTNAME=	mod_php4
PORTVERSION=	4.3.1
PORTREVISION=	0
a12 10
MASTER_SITES=	http://us.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/
DISTNAME=	php-${PORTVERSION}
d14 1
a14 2
MAINTAINER=	dirk@@FreeBSD.org
COMMENT=	PHP4 module for Apache
d16 2
a17 5
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}
.if defined(WITH_APACHE2)
LIB_DEPENDS=	pth.20:${PORTSDIR}/devel/pth
.endif
d19 1
a19 1
PHP_DISTDIR=	distributions
d21 1
a21 76
USE_BZIP2=	yes
USE_SUBMAKE=	yes
USE_AUTOCONF_VER=213
.if defined(WITH_APACHE2)
APACHE_PORT?=	${PORTSDIR}/www/apache2
.else
APACHE_PORT?=	${PORTSDIR}/www/apache13
.endif
APXS?=		${LOCALBASE}/sbin/apxs

.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE=	yes
.endif

.if defined(WITH_APACHE2)
CONFIGURE_ARGS=	--with-apxs2=${PREFIX}/sbin/apxs \
		--with-tsrm-pth
PLIST_SUB=	MOD_DIR=libexec/apache2
.else
CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs
PLIST_SUB=	MOD_DIR=libexec/apache
.endif
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \
		--enable-versioning \
		--with-regex=system \
		--without-gd \
		--without-mysql

CFLAGS+=	-I${PREFIX}/include

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}" \
		CAT="${CAT}" \
		PHP4_OPTIONS="${PHP4_OPTIONS}" \
		REALCURDIR="${.CURDIR}"

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
.if !defined(WITH_APACHE2)
	@@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
	@@${ECHO_CMD} ""
.endif

post-install:
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc

	@@${ECHO_CMD} "*****************************************************************************"
	@@${ECHO_CMD} "Make sure the mime.types are connected to the php module properly and"
	@@${ECHO_CMD} "index.php is part of your DirectoryIndex."
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} "The following should be in your Apache configuration file:"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "DirectoryIndex index.php index.html"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "AddType application/x-httpd-php .php"
	@@${ECHO_CMD} "AddType application/x-httpd-php-source .phps"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "*****************************************************************************"

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

# XXX:
# Has to be kept in sync with the defaults in configure.php
.ifndef(WITHOUT_MYSQL)
.ifmake describe
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.endif

.include <bsd.port.mk>
@


1.189
log
@With my portmgr hat on, back out the previous update to mod_php4, which
was incomplete and broke all the dependent ports.
@
text
@d11 1
@


1.188
log
@o Update to 4.3.2RC4.
o Change a individual port to a slave port for lang/php4.
o Take over MAINTAINERship to submitter.

PR:		ports/51945
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
Approved by:	maintainer no response (for a long time)
@
text
@a6 3
# Instructions on how to enable preferred extensions can be found in the
# Makefile of the master port (lang/php4).
#
d8 3
d12 10
d23 2
a24 1
MAINTAINER=	sysadmin@@alexdupre.com
d26 5
a30 2
PKGMESSAGE=	${.CURDIR}/pkg-message
MASTERDIR=	${.CURDIR}/../../lang/php4
d32 1
a32 1
WITHOUT_CLI=	yes
d34 76
a109 1
.include "${MASTERDIR}/Makefile"
@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d7 3
a10 3
PORTNAME=	mod_php4
PORTVERSION=	4.3.1
PORTREVISION=	0
a11 10
MASTER_SITES=	http://us.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/
DISTNAME=	php-${PORTVERSION}
d13 1
a13 2
MAINTAINER=	dirk@@FreeBSD.org
COMMENT=	PHP4 module for Apache
d15 2
a16 5
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}
.if defined(WITH_APACHE2)
LIB_DEPENDS=	pth.20:${PORTSDIR}/devel/pth
.endif
d18 1
a18 1
PHP_DISTDIR=	distributions
d20 1
a20 76
USE_BZIP2=	yes
USE_SUBMAKE=	yes
USE_AUTOCONF_VER=213
.if defined(WITH_APACHE2)
APACHE_PORT?=	${PORTSDIR}/www/apache2
.else
APACHE_PORT?=	${PORTSDIR}/www/apache13
.endif
APXS?=		${LOCALBASE}/sbin/apxs

.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE=	yes
.endif

.if defined(WITH_APACHE2)
CONFIGURE_ARGS=	--with-apxs2=${PREFIX}/sbin/apxs \
		--with-tsrm-pth
PLIST_SUB=	MOD_DIR=libexec/apache2
.else
CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs
PLIST_SUB=	MOD_DIR=libexec/apache
.endif
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc \
		--enable-versioning \
		--with-regex=system \
		--without-gd \
		--without-mysql

CFLAGS+=	-I${PREFIX}/include

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}" \
		CAT="${CAT}" \
		PHP4_OPTIONS="${PHP4_OPTIONS}" \
		REALCURDIR="${.CURDIR}"

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
.if !defined(WITH_APACHE2)
	@@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
	@@${ECHO_CMD} ""
.endif

post-install:
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc

	@@${ECHO_CMD} "*****************************************************************************"
	@@${ECHO_CMD} "Make sure the mime.types are connected to the php module properly and"
	@@${ECHO_CMD} "index.php is part of your DirectoryIndex."
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} "The following should be in your Apache configuration file:"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "DirectoryIndex index.php index.html"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "AddType application/x-httpd-php .php"
	@@${ECHO_CMD} "AddType application/x-httpd-php-source .phps"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "*****************************************************************************"

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

# XXX:
# Has to be kept in sync with the defaults in configure.php
.ifndef(WITHOUT_MYSQL)
.ifmake describe
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.endif

.include <bsd.port.mk>
@


1.186
log
@upgrade to 4.3.1

PR:		48420
Submitted by:	Kang Liu <lazykang@@hotmail.com>
Approved by:	maintainer timeout (4 days; it's a security upgrade)
@
text
@d24 1
@


1.185
log
@Chase pth's shared lib version.
@
text
@d9 1
a9 1
PORTVERSION=	4.3.0
@


1.184
log
@- ${PREFIX}/lib/php/Image/ isn't created by php-4.3.0 anymore

- name of extension dir is no-debug-non-zts-* always (doesn't matter
  if apache13 or apache2 is used)

Submitted by:	max
@
text
@d28 1
a28 1
LIB_DEPENDS=	pth.14:${PORTSDIR}/devel/pth
@


1.183
log
@Help "make describe" to find dependencies properly.

Requested by:	kris
@
text
@d50 1
a50 2
PLIST_SUB=	MOD_DIR=libexec/apache2 \
		NON=
d53 1
a53 2
PLIST_SUB=	MOD_DIR=libexec/apache \
		NON=non-
@


1.182
log
@Remove hooks for lang/php4 (STANDALONE).
@
text
@d102 8
@


1.181
log
@Update to 4.3.0.

lang/php was integrated into www/mod_php4.
@
text
@d8 1
a8 1
PORTNAME?=	mod_php4
d10 2
a11 2
PORTREVISION?=	0
CATEGORIES?=	www
a24 1
.if !defined(STANDALONE)
a29 1
.endif
a32 2
SLAVEDIRS=	lang/php4

a46 8
.if defined(STANDALONE)
CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.standalone \
		--disable-pear \
		--enable-discard-path \
		--with-readline=/usr

MAKE_ENV=	STANDALONE="${STANDALONE}"
.else
d57 2
a58 4
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc
.endif

CONFIGURE_ARGS+=--enable-versioning \
d74 1
a74 1
.if !defined(STANDALONE) && !defined(WITH_APACHE2)
a79 1
.if !defined(STANDALONE)
a80 4
.else
	@@${MKDIR} ${PREFIX}/etc/php.standalone
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone
.endif
a81 1
.if !defined(STANDALONE)
a93 1
.endif
@


1.180
log
@Back out last commit (autodetection of apache2) for now.

It's causing too many problems due to inclusion of bsd.port.pre.mk/
bsd.port.post.mk and Makefile.inc.

This needs further investigation.

Reported by:	many
@
text
@d9 1
a9 1
PORTVERSION=	4.2.3
@


1.179
log
@Try to autodetect if apache2 is installed. Build as an apache2 module
if so.
@
text
@a39 6

.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/apache2/apr.h)
WITH_APACHE2=	yes
.endif

d88 1
a88 2
.if !defined(STANDALONE)
.if !defined(WITH_APACHE2)
a90 4
.else
	@@${ECHO_CMD} "Building mod_php4 as an apache2 module."
	@@${ECHO_CMD} ""
.endif
d123 1
a123 1
.include <bsd.port.post.mk>
@


1.178
log
@support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too.
Approved by:	dirk
@
text
@d40 6
d94 2
a95 1
.if !defined(STANDALONE) && !defined(WITH_APACHE2)
d98 4
d134 1
a134 1
.include <bsd.port.mk>
@


1.177
log
@Upgrade to 4.2.3.
@
text
@d26 2
a28 2
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
a29 3
.else
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
d40 6
@


1.176
log
@Upgrade to 4.2.2 and thus close a security hole (remote vulnerability).

See http://security.e-matters.de/advisories/022002.html for details.
@
text
@d9 1
a9 1
PORTVERSION=	4.2.2
@


1.175
log
@Fix compile error with apache-2.0.39.

PR:		ports/39529
Submitted by:	Chris <chris@@kulish.com>
@
text
@d9 2
a10 2
PORTVERSION=	4.2.1
PORTREVISION?=	2
@


1.174
log
@Synchronize depending libraries' version up.
@
text
@d10 1
a10 1
PORTREVISION?=	1
@


1.173
log
@Upgrade to 4.2.1.
@
text
@d10 1
a10 1
PORTREVISION?=	0
@


1.172
log
@USE_BZIP2

PR:		ports/37568
Submitted by:	Alexandr Kovalenko <never@@nevermind.kiev.ua>
@
text
@d9 2
a10 2
PORTVERSION=	4.2.0
PORTREVISION?=	1
@


1.171
log
@Fix mkdir() bug.

PR:		ports/37825
Submitted by:	Jason Taylor <jason@@jase.org>
@
text
@d40 1
@


1.170
log
@- extension dir is no-debug-zts-20010901 if WITH_APACHE2 is set
- extension dir has to be created if installed as a package since it is
  empty
- move PLIST_SUB into if-clause so it actually works

Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d10 1
a10 1
PORTREVISION?=	0
@


1.169
log
@Remove stale PLIST_SUB for AP_LIBEXEC which wrongly overrode previous
setting for PLIST_SUB.

PR:		ports/37769
@
text
@d58 2
a59 1
PLIST_SUB=	MOD_DIR=libexec/apache2
d62 2
a65 1
PLIST_SUB=	MOD_DIR=libexec/apache
@


1.168
log
@Add hook for building mod_php4 as an apache2 module (WITH_APACHE2).
@
text
@a79 4
AP_LIBEXEC=	${PREFIX}/libexec/apache

PLIST_SUB=	AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}

@


1.167
log
@${ECHO} -> ${ECHO_CMD}
@
text
@d26 5
d34 1
d55 9
a63 2
CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs \
		--with-config-file-path=${PREFIX}/etc
d86 4
@


1.166
log
@Remove unneeded post-extract hook.
@
text
@d83 12
a94 12
	@@${ECHO} "*****************************************************************************"
	@@${ECHO} "Make sure the mime.types are connected to the php module properly and"
	@@${ECHO} "index.php is part of your DirectoryIndex."
	@@${ECHO} ""
	@@${ECHO} "The following should be in your Apache configuration file:"
	@@${ECHO} "[...]"
	@@${ECHO} "DirectoryIndex index.php index.html"
	@@${ECHO} "[...]"
	@@${ECHO} "AddType application/x-httpd-php .php"
	@@${ECHO} "AddType application/x-httpd-php-source .phps"
	@@${ECHO} "[...]"
	@@${ECHO} "*****************************************************************************"
@


1.165
log
@Upgrade to 4.2.0.

Don't upgrade to this version blindly. External variables handling
has been changed. This will break your application if they don't
take care of this.

There is a CVS tag (BEFORE_PHP_4_2_0) for the latest non-4.2.0
version (4.1.2).

-------------------------------------------------------------------------

The biggest change in PHP 4.2.0 concerns variable handling. External
variables (from the environment, the HTTP request, cookies or the web
server) are no longer registered in the global scope by default. The
preferred method of accessing these external variables is by using the new
Superglobal arrays, introduced in PHP 4.1.0. More information about this
change:

    * PHP Manual: Predefined variables
      http://www.php.net/manual/en/html/language.variables.predefined.html
@
text
@a103 2
post-extract: ${POSTEXTRACT}

@


1.164
log
@Clean up configure options.

PR:		ports/36109
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	4.1.2
@


1.163
log
@Add USE_SUBMAKE, where it might be necessary.
@
text
@d54 1
a54 3
		--with-system-regex \
		--disable-debug \
		--enable-track-vars \
@


1.162
log
@Upgrade to 4.1.2 and thus fix remote vulnerabilities.

Everybody is strongly encouraged to upgrade.

See http://security.e-matters.de/advisories/012002.html for details.
@
text
@d34 1
@


1.161
log
@Mark as FORBIDDEN due to being remotely exploitable.
@
text
@d9 1
a9 1
PORTVERSION=	4.1.1
a21 2

FORBIDDEN=	"Remotely exploitable."
@


1.160
log
@Make port recognize PHP4_OPTIONS for non-interactive configuration
- PHP4_OPTIONS added to enviroment

local slave ports can now set:

BATCH=yes
PKGNAMESUFFIX=-pgsql
PHP4_OPTIONS=   \"zlib\" \"PostgreSQL\" \"OpenLDAP1\" \"OpenSSL\"
MASTERDIR=      /usr/ports/www/mod_php4
.include "${MASTERDIR}/Makefile"

Approved by:	dirk
@
text
@d23 2
@


1.159
log
@First round of auto* cleanups:
 - USE_AUTO* -> USE_AUTO*_VER=* where required
 - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
 - Other minor changes to fix things

These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.

Submitted by:	bento 4-exp USE_AUTO* cleanups
		http://people.FreeBSD.org/~will/4-exp/
		http://bento.FreeBSD.org/errorlogs/4-exp-latest/
@
text
@d65 1
@


1.158
log
@Upgrade to 4.1.1.
@
text
@d34 1
a34 2
USE_AUTOCONF=	yes
GNU_CONFIGURE=	yes
@


1.157
log
@Add -I${PREFIX}/include to CFLAGS to fix build if MCAL and mcrypt
support is enabled.

Reported by:	Scott Allendorf <scott-allendorf@@uiowa.edu>
@
text
@d9 1
a9 1
PORTVERSION=	4.1.0
@


1.156
log
@Upgrade to 4.1.0.

See http://www.php.net/ChangeLog-4.php for a detailed list of
changes.
@
text
@d60 2
@


1.155
log
@Add --enable-discard-path and --with-readline to lang/php4.

Submitted by:	Rafal Michalski <rafal.michalski@@altech.com.pl>
@
text
@d9 2
a10 2
PORTVERSION=	4.0.6
PORTREVISION?=	5
d35 1
a35 1
USE_LIBTOOL=	yes
d46 2
@


1.154
log
@Add patch files to the repository, finally.
@
text
@d43 3
a45 1
		--disable-pear
@


1.153
log
@Really fix IMAP/IMAP-SSL support and clean up yesterday's mess.
@
text
@a22 6
PATCHFILES=	patch-ext_gd_config.m4 patch-ext_gd_gd.c patch-ext_sybase_ct_config.m4 \
		patch-ext_gd_gd_2.c patch-ext_domxml_config.m4 \
		patch-ext_imap_config.m4
PATCH_SITES=	http://www.physik.tu-berlin.de/~ibex/ports/distfiles/ \
		${MASTER_SITE_LOCAL}/dirk/

@


1.152
log
@Fix IMAP/IMAP-SSL support.

PR:		ports/32232
Submitted by:	Yarema <yds@@dppl.com>
@
text
@d24 2
a25 2
		patch-ext_gd_gd_2.c patch-ext_domxml_config.m4
#		patch-ext_imap_config.m4
@


1.151
log
@Add support for domxml.

PR:		ports/28948, ports/29565
@
text
@d25 1
@


1.150
log
@Fix truetype font support with gd.

Submitted by:	Timothy Aslat <tim@@spyderweb.com.au>
@
text
@d24 1
a24 1
		patch-ext_gd_gd_2.c
@


1.149
log
@Fix compilation errors if mbregex is selected.

PR:		ports/31666
Submitted by:	sf
@
text
@d10 1
a10 1
PORTREVISION?=	4
d23 2
a24 1
PATCHFILES=	patch-ext_gd_config.m4 patch-ext_gd_gd.c patch-ext_sybase_ct_config.m4
@


1.148
log
@Hotfix for build problems if gd support is enabled.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.147 2001/08/22 20:13:50 dirk Exp $
d23 1
a23 1
PATCHFILES=	php_configure.3.diff
d38 1
@


1.147
log
@Set IS_INTERACTIVE if port is interactive. 8-)

Submitted by:	olgeni
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.146 2001/08/08 21:56:12 dirk Exp $
d22 4
@


1.146
log
@Bump PORTREVISION for recent fixes and additions.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.145 2001/06/25 21:06:08 dirk Exp $
d35 4
@


1.145
log
@ming support was included in php-4.0.6.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.144 2001/06/24 22:57:37 dirk Exp $
d10 1
a10 1
PORTREVISION?=	3
@


1.144
log
@Fix plist after 4.0.6 upgrade.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.143 2001/06/24 22:36:34 dirk Exp $
d10 1
a10 1
PORTREVISION?=	2
@


1.143
log
@Enable pear support.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.142 2001/06/24 18:19:17 dirk Exp $
d10 1
a10 1
PORTREVISION?=	1
@


1.142
log
@Upgrade to 4.0.6:

jstring support was included in php (as mbstring), so
split japanese support into mbregex and mbstring support.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.141 2001/06/10 13:44:07 dirk Exp $
d10 1
d37 2
a38 1
CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.standalone
a48 1
		--disable-pear \
@


1.141
log
@Depend on pdflib3 instead of pdflib and thus enable pdflib support.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.140 2001/05/24 21:41:48 dirk Exp $
d9 1
a9 2
PORTVERSION=	4.0.5
PORTREVISION=	2
@


1.140
log
@Don't restart apache, i. e. don't start if not running.
It seems to cause problems for some users.

PR:	ports/26314
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.139 2001/05/10 08:24:36 dirk Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.139
log
@Fix MASTER_SITE.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.138 2001/05/10 07:32:28 dirk Exp $
a65 2
	@@${ECHO} "Restarting Apache..."
	@@${PREFIX}/sbin/apachectl restart
@


1.138
log
@Fix XML support. Depend on textproc/expat2 instead of texproc/expat.

PR:		ports/27076
Submitted by:	Yen-Ming Lee <leeym@@bsd.ce.ntu.edu.tw>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.137 2001/05/03 22:16:50 dirk Exp $
d15 1
a15 1
		http://au.php.net:81/${PHP_DISTDIR}/ \
@


1.137
log
@Upgrade to 4.0.5.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.136 2001/04/23 04:25:25 vanilla Exp $
d10 1
@


1.136
log
@Fix postgresql7's new layout & include file problem.

PR:		ports/26755
Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.135 2001/04/22 23:08:06 dirk Exp $
d9 1
a9 2
PORTVERSION=	4.0.4pl1
PORTREVISION=	3
@


1.135
log
@Get rid of two useless "doc" files.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.134 2001/04/21 11:43:06 vanilla Exp $
d10 1
a10 1
PORTREVISION=	2
@


1.134
log
@Fix include directory for postgresql7.1's new layout.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.133 2001/03/11 13:42:46 dirk Exp $
d10 1
a10 1
PORTREVISION=	1
d59 1
a59 3
PHPDOCDIR=	${PREFIX}/share/doc/php
PLIST_SUB=	PHPDOCDIR=${PHPDOCDIR:S/^${PREFIX}\///} \
		AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}
a71 7
.endif

.if !defined(NOPORTDOCS)
	@@${MKDIR} ${PHPDOCDIR}
.for i in CODING_STANDARDS LICENSE
	@@${INSTALL_DATA} ${WRKSRC}/$i ${PHPDOCDIR}
.endfor
@


1.133
log
@Even better way of handling multiple post-extract targets.

Submitted by:	jeh
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.132 2001/03/04 22:41:12 dirk Exp $
d10 1
@


1.132
log
@Solve the multiple post-extract targets problem.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.131 2001/03/04 20:34:10 dirk Exp $
d104 1
a104 7
post-extract:
.if target(post-extract-jstring)
	${MAKE} post-extract-jstring
.endif
.if target(post-extract-ming)
	${MAKE} post-extract-ming
.endif
@


1.131
log
@Add ming library support Flash 4 movies.

PR:		ports/25367
Submitted by:	jeh
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.130 2001/03/04 18:44:38 dirk Exp $
a64 2
post-extract: post-extract-jstring post-extract-ming

d102 8
@


1.130
log
@Cosmetics: Specifying php.ini-dist once is enough.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.129 2001/02/25 21:22:03 dirk Exp $
d64 2
@


1.129
log
@Add hooks for a standalone php4 slave port.

Based upon work by:	Alastair D'Silva <deece@@familyhealth.com.au>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.128 2001/02/05 15:33:32 olgeni Exp $
d72 1
a72 1
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone/php.ini-dist
@


1.128
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.127 2001/01/21 14:24:30 dirk Exp $
d8 1
a8 1
PORTNAME=	mod_php4
d10 1
a10 1
CATEGORIES=	www
d24 1
d27 1
d31 2
d34 4
d39 4
a42 1
		--enable-versioning \
a43 1
		--with-config-file-path=${PREFIX}/etc \
d53 2
a54 1
		CAT="${CAT}"
d66 1
d70 4
d81 2
d95 1
@


1.127
log
@Use different PORTNAMEs for mod_php3 and mod_php4 so pkg_version can
deal with them properly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.126 2001/01/21 14:22:06 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.4pl1
@


1.126
log
@Remove automatic finding of AP_LIBEXEC because it didn't work and
all apache ports use the same libexec location, now.

Submitted by:	Michael Lestinsky <michael@@choin.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.125 2001/01/16 22:49:24 dirk Exp $
d8 1
a8 1
PORTNAME=	mod_php
@


1.125
log
@Upgrade to 4.0.4pl1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.124 2001/01/01 10:15:16 will Exp $
a28 2
APXS=		${PREFIX}/sbin/apxs

d30 1
a30 1
CONFIGURE_ARGS=	--with-apxs=${APXS} \
a44 3
.if exists(${APXS})
AP_LIBEXEC!=	${APXS} -q LIBEXEC
.else
a45 1
.endif
@


1.124
log
@Goodbye, YEAR2000.  Hello, 2001.

Approved by:	asami
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.123 2000/12/20 12:15:28 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.4
@


1.123
log
@Upgrade to 4.0.4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.122 2000/12/13 08:43:15 dirk Exp $
a25 2

Y2K=		http://www.php.net/y2k.php
@


1.122
log
@Add support for jstring.

Submitted by:	kuriyama
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.121 2000/10/16 16:09:43 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.3pl1
@


1.121
log
@Upgrade to 4.0.3pl1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.120 2000/10/12 09:48:55 dirk Exp $
d46 2
a47 1
		MKDIR="${MKDIR}"
@


1.120
log
@Upgrade to 4.0.3.

From announcement:

"PHP 4.0.3 has been released. 4.0.3 is mostly a security-oriented
maintenance release, therefore it's *strongly* recommended for all
users of PHP to upgrade to it."
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.119 2000/09/02 08:39:12 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.3
@


1.119
log
@Upgrade to 4.0.2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.118 2000/07/03 10:19:39 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.2
d20 1
a20 1
DISTNAME=	php-4.0.2
d41 2
a42 1
		--disable-pear
@


1.118
log
@Upgrade to 4.0.1pl2.

Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.117 2000/06/30 13:01:25 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.1.2
d20 1
a20 5
DISTNAME=	php-4.0.1

PATCHFILES=	php-4.0.1-4.0.1pl2.diff.gz
PATCH_SITES=	${MASTER_SITES}
PATCH_DIST_STRIP=	-p1
@


1.117
log
@Upgrade to 4.0.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.116 2000/06/08 06:46:16 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.1
d20 5
a24 1
DISTNAME=	php-${PORTVERSION}
@


1.116
log
@Fix typo.

Submitted by:	Chris D. Faulhaber <jedgar@@fxp.org>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.115 2000/06/07 20:10:46 dirk Exp $
d9 1
a9 1
PORTVERSION= 	4.0.0
d29 1
a29 1
PHP_DISTDIR=	version4/downloads
@


1.115
log
@Fix Y2K URL.

Reminded by:	fenner's portsurvey
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.114 2000/05/29 19:25:03 dirk Exp $
d80 1
a80 1
	@@${ECHO} "AddType application/x-httpd-php-source .php3"
@


1.114
log
@Add mod_php4 after repository copy from apache13-php4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.113 2000/05/28 15:04:39 dirk Exp $
d27 1
a27 1
Y2K=		http://www.php.net/y2k.php3
@


1.113
log
@Set FORBIDDEN for now.
@
text
@d1 3
a3 3
# New ports collection makefile for:	Apache / PHP
# Date created:		So  21 Jun 1998 16:09:39 CEST
# Whom:			Stefan Herrmann <stefan@@asterix.webaffairs.net>
d5 1
a5 1
# $FreeBSD: ports/www/mod_php4/Makefile,v 1.112 2000/05/25 12:44:00 dirk Exp $
d8 2
a9 2
PORTNAME=	apache+php
PORTVERSION= 	${VERSION_APACHE}+${VERSION_PHP}
d11 1
a11 7
MASTER_SITES=	http://www.apache.org/dist/ \
		http://www.rge.com/pub/infosystems/apache/dist/ \
		http://us.php.net/${PHP_DISTDIR}/ \
		http://www.modssl.org/source/ \
		ftp://ftp.modssl.org/source/ \
		http://www.apache.de/dist/ \
		ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/ \
a13 4
		ftp://ftp.ecrc.net/pub/security/mod_ssl/ \
		ftp://ftp.nvg.ntnu.no/pub/unix/mod_ssl/ \
		ftp://apache.compuex.com/pub/apache/dist/ \
		ftp://apache.arctic.org/pub/apache/dist/ \
a15 4
		ftp://ftp.ulpgc.es/pub/mod_ssl/ \
		ftp://glock.missouri.edu/pub/mod_ssl/ \
		ftp://ftp.epix.net/pub/apache/dist/ \
		ftp://ftp.ameth.org/pub/mirrors/ftp.apache.org/apache/dist/ \
a17 4
		ftp://ftp.infoscience.co.jp/pub/Crypto/SSL/mod_ssl/ \
		ftp://ftp.uni-trier.de/pub/unix/security/mod_ssl/ \
		ftp://ftp.connectnet.com/pub/www/apache/ \
		ftp://apache.technomancer.com/mirrors/apache/dist/ \
d19 2
a20 5
		http://php3.globe.de/${PHP_DISTDIR}/ \
		ftp://ftp.blatzheim.com/pub/mod_ssl/ \
		ftp://ftp.fu-berlin.de/unix/security/mod_ssl/
DISTNAME=	apache_${VERSION_APACHE}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} php-${VERSION_PHP}${EXTRACT_SUFX}
d24 2
a25 1
FORBIDDEN=	"awaiting update"
d31 1
a31 2
VERSION_APACHE=	1.3.12
VERSION_PHP=	4.0.0
d33 9
a41 24
NO_LATEST_LINK=	yes
USE_PERL5=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--target=apache \
		--with-layout=GNU \
		--with-perl=${PERL} \
		--bindir=${PREFIX}/bin \
		--sbindir=${PREFIX}/sbin \
		--libexecdir=${PREFIX}/libexec/apache \
		--mandir=${PREFIX}/man \
		--sysconfdir=${PREFIX}/etc/apache \
		--datadir=${PREFIX}/share/apache \
		--includedir=${PREFIX}/include/apache \
		--localstatedir=/var \
		--runtimedir=/var/run \
		--logfiledir=/var/log \
		--proxycachedir=/var/spool/apache \
		--without-confadjust \
		--enable-module=most \
		--enable-module=auth_db \
		--disable-module=auth_dbm \
		--enable-shared=max \
		--activate-module=src/modules/php4/libphp4.a
a42 4
OPTIM=		-DHARD_SERVER_LIMIT=512 \
		-DDEFAULT_PATH=\\"${PREFIX}/bin:/bin:/usr/bin\\"

CONFIGURE_ENV=	OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib'
d47 5
a51 1
INSTALL_TARGET=	install-quiet
a52 4
MAN1=		dbmmanage.1 htdigest.1 htpasswd.1
MAN8=		ab.8 apache.8 apachectl.8 apxs.8 logresolve.8 rotatelogs.8

APACHEDOCDIR=	${PREFIX}/share/doc/apache
d54 2
a55 10

PHP_CONF_ARGS=	--prefix=${PREFIX} \
		${CONFIGURE_TARGET} \
		--with-system-regex \
		--with-apache=${WRKSRC} \
		--with-config-file-path=${PREFIX}/etc \
		--disable-debug \
		--enable-track-vars \
		--without-gd \
		--disable-pear
a59 17
post-extract:
	@@${LN} -s php-${VERSION_PHP} ${WRKDIR}/php

pre-configure:
	@@cd ${WRKSRC} \
	&& CC="${CC}" CFLAGS="${CFLAGS}" ./configure > /dev/null \
	&& cd ${WRKDIR}/php-${VERSION_PHP} \
	&& ${ECHO_MSG} "===>  Configuring for PHP-${VERSION_PHP}" \
	&& CC="${CC}" \
	   CFLAGS="${CFLAGS}" \
	   CPPFLAGS="-I${PREFIX}/include -I${PREFIX}/include/gd" \
	   LDFLAGS=-L${PREFIX}/lib \
	   ./configure ${PHP_CONF_ARGS} \
	&& ${ECHO_MSG} "===>  Building for PHP-${VERSION_PHP}" \
	&& ${MAKE} install \
	&& ${ECHO_MSG} "===>  Configuring for Apache-${VERSION_APACHE}"

d61 3
a63 8
	@@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
		${ECHO} "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
		${ECHO} "[ -d ${PREFIX}/pgsql/lib ] && ${LDCONFIG} -m ${PREFIX}/pgsql/lib" >> ${PREFIX}/etc/rc.d/apache.sh; \
		${ECHO} "[ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start${SSL} > /dev/null && ${ECHO} -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
		${CHMOD} 751 ${PREFIX}/etc/rc.d/apache.sh; \
	fi
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP}/php.ini-dist ${PREFIX}/etc
d66 1
a66 4
	${MKDIR} ${APACHEDOCDIR} ${PHPDOCDIR}
.for i in README LICENSE ABOUT_APACHE
	${INSTALL_DATA} ${WRKSRC}/$i ${APACHEDOCDIR}
.endfor
d68 1
a68 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP}/$i ${PHPDOCDIR}
a69 2
	@@${ECHO} "Docs reside in ${APACHEDOCDIR}"
	@@${ECHO} "and in ${PHPDOCDIR}"
d71 12
a90 4
# Modssl needs to include bsd.port.pre.mk, so correct for this situation.
.if defined(_PREMKINCLUDED)
.include <bsd.port.post.mk>
.else
a91 1
.endif
@


1.112
log
@Upgrade to php-4.0.0.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.111 2000/05/17 21:54:48 dirk Exp $
d44 2
@


1.111
log
@Upgrade to php-4.0RC2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.110 2000/04/10 20:08:20 cpiazza Exp $
d50 1
a50 1
VERSION_PHP=	4.0RC2
@


1.110
log
@Accidentally undefined DISTFILES which made WRKSRC
bogus.

Noticed by: "Matt M." <matt@@boda.virtualave.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.109 2000/04/10 00:04:23 cpiazza Exp $
d50 1
a50 1
VERSION_PHP=	4.0RC1
@


1.109
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.108 2000/04/04 20:32:22 dirk Exp $
d40 2
a41 1
DISTFILES=	apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP}.tar.gz
@


1.108
log
@Replace clean target with post-clean target.
@
text
@a1 1
# Version required:	1.3* / 4.0*
d5 1
a5 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.107 2000/04/04 20:22:18 dirk Exp $
d8 2
a9 2
DISTNAME=	apache_${VERSION_APACHE}
PKGNAME=	apache+php-${VERSION_APACHE}+${VERSION_PHP}
@


1.107
log
@Upgrade to php-4.0RC1.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.106 2000/03/27 20:38:59 dirk Exp $
d145 1
a145 14
# This was copied from bsd.port.mk because a missing post-clean target
# is needed
clean:
.if !defined(NOCLEANDEPENDS)
	@@${MAKE} clean-depends
.endif
	@@${ECHO_MSG} "===>  Cleaning for ${PKGNAME}"
	@@if [ -d ${WRKDIR} ]; then \
		if [ -w ${WRKDIR} ]; then \
			${RM} -rf ${WRKDIR}; \
		else \
			${ECHO_MSG} "===>   ${WRKDIR} not writable, skipping"; \
		fi; \
	fi
@


1.106
log
@- Upgrade to php-4.0b4pl1, finally.
- remove BROKEN, time to test it
- remove "shared," from some php configure options
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.105 2000/02/27 19:50:32 dirk Exp $
d50 1
a50 1
VERSION_PHP=	4.0b4pl1
d100 2
a101 1
		--without-gd
@


1.105
log
@Upgrade to Apache 1.3.12 and mod_ssl 2.6.0.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.104 2000/02/25 23:53:05 dirk Exp $
a44 2
BROKEN=		"PHP-${VERSION_PHP} is beta. Beware the bugs. Enter at your own risk!"

d50 1
a50 1
VERSION_PHP=	4.0b3
@


1.104
log
@Move "apache performance tuning" from Makefile to scripts/configure.php
and thus make it work again.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.103 2000/02/25 23:43:25 dirk Exp $
a42 3
PATCH_SITES=	http://www.apache.org/info/css-security/
PATCHFILES=	apache_1.3.11_css_patch.txt

d51 1
a51 1
VERSION_APACHE=	1.3.11
@


1.103
log
@Merge openssl related changes from apache13-php3.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.102 2000/02/03 17:07:57 dirk Exp $
a83 6

.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
OPTIM+=		-DBUFFERED_LOGS -DFD_SETSIZE=1024
CFLAGS+=	-O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \
		-fexpensive-optimizations -ffast-math
.endif
@


1.102
log
@Add "cross side scripting" security patch.

See http://www.apache.org/info/css-security/ for details.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.101 2000/01/27 13:05:20 dirk Exp $
d174 5
d180 1
@


1.101
log
@Set BROKEN again.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.100 2000/01/27 13:04:22 dirk Exp $
d42 3
@


1.100
log
@libmcrypt.so.2 was renamed to libmcrypt-2.2.so.2.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.99 2000/01/25 16:52:17 dirk Exp $
d45 1
a45 1
#XXX:	BROKEN=		"PHP-${VERSION_PHP} is beta. Beware the bugs. Enter at your own risk!"
@


1.99
log
@Upgrade to PHP-4.0b3, finally.

At the moment only zlib, mysql and gd support is tested.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.98 2000/01/23 00:02:09 dirk Exp $
d45 1
a45 1
BROKEN=		"PHP-${VERSION_PHP} is beta. Beware the bugs. Enter at your own risk!"
@


1.98
log
@Upgrade to Apache 1.3.11 and mod_ssl 2.5.0.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.97 2000/01/02 17:17:28 dirk Exp $
a42 3
PATCH_SITES=	http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
PATCHFILES=	php4_snmp.c.diff

d52 1
a52 1
VERSION_PHP=	4.0b2
@


1.97
log
@- Use CC and CFLAGS for first configure run.
- gd depends on freetype, now. So join gd and freetype support in
  one option.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.96 1999/09/19 14:37:35 dirk Exp $
d54 1
a54 1
VERSION_APACHE=	1.3.9
@


1.96
log
@- bump shared library version number for ucd-snmp from 3 to 4.

- Add php4_snmp.c.diff to PATCHFILES in order to unbreak SNMP support.
  There was a conflicting type between ${PREFIX}/include/ucd-snmp/mib.h
  and ${WRKDIR}/php-4.0b2/ext/snmp/snmp.c due to ucd-snmp upgrade
  to 4.0.1.

  Reported by: Wizzard <wizzard@@mwci.net>

- Delete http://www.php.net/ from MASTER_SITES to workaround the problem
  that the http server isn't returning a 404 for non-existant files and
  thus breaks fetching of mod_ssl distfile.

  Reported by: Iron Yuppie <aronchick@@formatta.com>
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.95 1999/09/06 09:35:02 dirk Exp $
d121 1
a121 1
	&& ./configure > /dev/null \
@


1.95
log
@Mark apache13-php4 as broken.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/apache13-php4/Makefile,v 1.94 1999/08/31 02:42:41 peter Exp $
a13 1
		http://www.php.net/${PHP_DISTDIR}/ \
d42 3
@


1.94
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
d45 2
@


1.93
log
@Make sure directory ${WRKDIRPREFIX}${CURDIR} exists before
touching files in that directory. Problem only occurs when
${WRKDIRPREFIX} is set.

Found by:	bento.freebsd.org
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.92 1999/08/26 21:18:14 dirk Exp $
@


1.92
log
@Fix two minor problems:
- if e. g. a "make BATCH=yes fetch" was followed by a "make all"
  the config menu popped up.
- if gd was installed but gd support was not checked in the config
  menu, php was compiled with gd support nevertheless.
  (There may be other support options having the same behavior.
  I haven't checked all, yet.)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.91 1999/08/22 19:00:28 mharo Exp $
d89 2
a90 1
		TOUCH="${TOUCH}"
@


1.91
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.90 1999/08/20 19:12:55 dirk Exp $
d88 2
a89 1
SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}"
d105 2
a106 1
		--enable-track-vars
a107 1
.if !defined(BATCH)
a109 1
.endif
@


1.90
log
@Upgrade to Apache 1.3.9 and mod_ssl 2.4.0.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.89 1999/08/19 11:55:29 dirk Exp $
d134 1
a134 1
		chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
@


1.89
log
@Fix typo: remove '\' from the last MASTER_SITE.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.88 1999/08/19 11:26:47 dirk Exp $
d50 1
a50 1
VERSION_APACHE=	1.3.6
@


1.88
log
@Rework MASTER_SITES:

- move MASTER_SITES for mod_ssl from scripts/configure.php to Makefile
  thus include them in the heavy rotation
- use ${PHP_DISTDIR} for PHP to minimize the diffs between apache13-php[34]
- cut down to 30 sites (10 for apache, php and mod_ssl each)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.87 1999/08/18 15:42:03 dirk Exp $
d41 1
a41 1
		ftp://ftp.fu-berlin.de/unix/security/mod_ssl/ \
@


1.87
log
@Fix MASTER_SITES for php-4.0b2.

Reported by:	andreas
@
text
@d2 1
a2 1
# Version required:	1.3* / 3.0*
d6 1
a6 1
# $Id: Makefile,v 1.86 1999/08/17 09:58:49 dirk Exp $
d14 4
a18 2
		http://www.php.net/version4/downloads/ \
		http://us.php.net/version4/downloads/ \
d20 4
a24 2
		http://php.he.net/version4/downloads/ \
		http://www.php3.de/version4/downloads/ \
d26 4
d32 4
d38 5
a42 8
		ftp://ftp.raver.net/pub/ftp.apache.org/ \
		ftp://www3.service.digital.com/apache/dist/ \
		ftp://galileo.galilei.com/pub/apache/ \
		ftp://ftp.mtnranch.net/pub/apache/dist/ \
		ftp://ftp.iodynamics.com/pub/mirror/apache/dist/ \
		ftp://apache.nextpath.com/pub/apache/dist/
#DISTFILES=	apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP}.tar.gz
DISTFILES=	php-${VERSION_PHP}.tar.gz
d47 2
@


1.86
log
@Set NO_LATEST_LINK to yes.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.85 1999/08/17 08:07:01 dirk Exp $
d15 2
a16 2
		http://www.php.net/distributions/ \
		http://us.php.net/distributions/ \
d19 2
a20 2
		http://php.he.net/distributions/ \
		http://www.php3.de/distributions/ \
d32 2
a33 1
DISTFILES=	apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP}.tar.gz
@


1.85
log
@apache13-php4 was repository copied from apache13-php3 (Thanks Satoshi).

Update to PHP-4.0b2:

"PHP 4.0 offers drastic improvements in every aspect - performance
and scalability, features, platform support and extendibility."

See http://www.php.net/version4/ for details.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.84 1999/08/16 18:41:11 dirk Exp $
d41 1
@


1.84
log
@s/PHP3/PHP/g;
s/php3/php/g;

whereever appropriate.

This was done in preparation for a repository copy to apache13-php4
to keep the diffs between apache13-php3 and apache13-php4 as small as
possible.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.83 1999/08/10 16:07:26 dirk Exp $
d39 1
a39 1
VERSION_PHP=	3.0.12
d63 1
a63 1
		--activate-module=src/modules/php3/libphp3.a
d123 1
a123 4
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP}/php3.ini-dist ${PREFIX}/etc
.for i in php2 php3 phpi phps
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP}/extra/icons/$i.gif ${PREFIX}/share/apache/icons
.endfor
@


1.83
log
@Change PKGNAME to be consistent with apache13-modssl and apache13-ssl:

apache-php3-${VERSION_APACHE} -> apache+php3-${VERSION_APACHE}+${VERSION_PHP3}

apache-php3-${VERSION_APACHE}+mod_ssl-${VERSION_MODSSL} -> \
	apache+php3+mod_ssl-${VERSION_APACHE}+${VERSION_PHP3}+${VERSION_MODSSL}

PR:		ports/13056
@
text
@d1 1
a1 1
# New ports collection makefile for:	apache HTTPD / php3
d6 1
a6 1
# $Id: Makefile,v 1.82 1999/07/30 21:06:59 dirk Exp $
d10 1
a10 1
PKGNAME=	apache+php3-${VERSION_APACHE}+${VERSION_PHP3}
d32 1
a32 1
DISTFILES=	apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP3}.tar.gz
d34 1
a34 1
MAINTAINER=	dirk@@FreeBSD.ORG
d39 1
a39 1
VERSION_PHP3=	3.0.12
d83 1
a83 1
PHP3DOCDIR=	${PREFIX}/share/doc/php3
d85 1
a85 1
PHP3_CONF_ARGS=	--prefix=${PREFIX} \
d99 1
a99 1
	@@${LN} -s php-${VERSION_PHP3} ${WRKDIR}/php3
d104 2
a105 2
	&& cd ${WRKDIR}/php-${VERSION_PHP3} \
	&& ${ECHO_MSG} "===>  Configuring for PHP-${VERSION_PHP3}" \
d110 2
a111 2
	   ./configure ${PHP3_CONF_ARGS} \
	&& ${ECHO_MSG} "===>  Building for PHP-${VERSION_PHP3}" \
d123 1
a123 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/php3.ini-dist ${PREFIX}/etc
d125 1
a125 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/extra/icons/$i.gif ${PREFIX}/share/apache/icons
d129 1
a129 1
	${MKDIR} ${APACHEDOCDIR} ${PHP3DOCDIR}
d134 1
a134 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR}
d137 1
a137 1
	@@${ECHO} "and in ${PHP3DOCDIR}"
@


1.82
log
@- upgrade to PHP-3.0.12
- use new pdflib-2.0
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.81 1999/07/03 09:50:38 dirk Exp $
d10 1
a10 1
PKGNAME=	apache-php3-${VERSION_APACHE}
@


1.81
log
@- php3.ini lives in ${PREFIX}/etc (instead of ${PREFIX}/lib), now.
- redirect output of scripts/configure.php globally instead of redirecting
  each echo (saves about 900 bytes 8-).
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.80 1999/07/01 11:28:24 dirk Exp $
d39 1
a39 1
VERSION_PHP3=	3.0.10
@


1.80
log
@File EXTENSION_STATUS is no longer in the PHP3 distribution.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.79 1999/06/26 11:53:00 dirk Exp $
d89 1
a89 1
		--with-config-file-path=${PREFIX}/lib \
d123 1
a123 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/php3.ini-dist ${PREFIX}/lib
@


1.79
log
@Upgrade to PHP 3.0.10.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.78 1999/06/18 02:40:11 billf Exp $
d133 1
a133 1
.for i in CODING_STANDARDS EXTENSION_STATUS LICENSE
@


1.78
log
@Replace a stale MASTER_SITE with a fresh, shiny mirror.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.77 1999/06/10 10:24:35 dirk Exp $
d39 1
a39 1
VERSION_PHP3=	3.0.9
@


1.77
log
@Upgrade to PHP-3.0.9.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.76 1999/05/27 23:20:33 dirk Exp $
d16 1
a16 1
		ftp://www.php.net/pub/distributions/ \
@


1.76
log
@Upgrade to PHP-3.0.8.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.75 1999/05/05 20:16:06 dirk Exp $
d39 1
a39 1
VERSION_PHP3=	3.0.8
d93 1
a94 1
.if !defined(BATCH)
@


1.75
log
@Add WRKDIRPREFIX to SCRIPTS_ENV so scripts/configure.php can use it.

PR:		ports/11503
Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.74 1999/05/04 14:50:32 dirk Exp $
d39 1
a39 1
VERSION_PHP3=	3.0.7
@


1.74
log
@Add option for IMAP support.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.73 1999/04/13 15:40:20 dirk Exp $
d75 1
@


1.73
log
@- use FreeBSD in the version string instead of Unix
- don't install ${PREFIX}/etc/apache/{access.conf,srm.conf} rather
  than installing and deleting them
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.72 1999/04/11 22:23:30 dirk Exp $
d96 3
@


1.72
log
@Remove empty and unused ${PREFIX}/etc/apache/{access.conf*,srm.conf*}.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.71 1999/04/11 15:11:24 dirk Exp $
a111 2
	@@${RM} -f ${PREFIX}/etc/apache/access.conf*
	@@${RM} -f ${PREFIX}/etc/apache/srm.conf*
@


1.71
log
@Upgrade to Apache 1.3.6 and mod_ssl 2.2.7.

- many minor changes inspired by apache13-modssl
  (e. g. change datadir from ${PREFIX}/www to ${PREFIX}/share/apache)
- patches.modssl/ is not needed any longer (same patches for modssl and
  non-modssl case)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.70 1999/03/13 17:57:44 billf Exp $
d112 2
@


1.70
log
@Fix missing "\"s

Noticed By:	#FreeBSD
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.69 1999/03/13 17:11:03 billf Exp $
d38 1
a38 1
VERSION_APACHE=	1.3.4
d41 23
a63 3
#
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
d65 2
a66 24
HAS_CONFIGURE=	yes
CONFIGURE_ARGS= \
		 --prefix=${PREFIX} \
		 --with-layout=GNU \
		 --sysconfdir=${PREFIX}/etc/apache \
		 --includedir=${PREFIX}/include/apache \
		 --logfiledir=/var/log \
		 --runtimedir=/var/run \
		 --datadir=${PREFIX}/www \
		 --proxycachedir=${PREFIX}/www/proxy \
		 --libexecdir=${PREFIX}/libexec/apache \
		 --without-confadjust \
		 --enable-shared=remain \
		 --enable-module=most \
		 --enable-module=auth_db \
		 --disable-module=auth_dbm \
		 --activate-module=src/modules/php3/libphp3.a

# Currently perl version don't matter
#                --with-perl=${PERL5}

OPTIM=-DHARD_SERVER_LIMIT=512 \
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
d69 3
a71 2
OPTIM+= -DBUFFERED_LOGS
CFLAGS+= -O6 -fomit-frame-pointer
d74 1
a74 1
CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib'
d76 4
a79 2
MAN1=	ab.1 apachectl.1 dbmmanage.1 htdigest.1 htpasswd.1
MAN8=	apxs.8 httpd.8 logresolve.8 rotatelogs.8
d85 1
a102 1
	   ac_cv_path_CC="${CC}" \
d121 1
a121 1
	${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/extra/icons/$i.gif ${PREFIX}/www/icons
a127 9
.endfor
	(cd ${WRKSRC}/htdocs && tar cf - *) |\
	(cd ${APACHEDOCDIR} && tar xf -); \
	find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \
	find ${APACHEDOCDIR} -type f -exec chmod a+r {} \;
.for i in apache_pb.gif index.html manual
	if [ ! -e ${PREFIX}/www/data/$i ] ; then \
		${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \
	fi
@


1.69
log
@Add the Apache mirror sites. For ports with 'mods' attached to them, the MASTER_SITEs
were alternated so the user does not have to get 10 apache MASTER_SITEs when all
they need is one 'mod' MASTER_SITE, which is what would happen if we used a
MASTER_SITE_APACHE or added all of the mirrors in a row.

Approved By:	apache maintainers, asami
Submitted By: 	Brian Feldman <green@@unixhelp.org>, billf
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.68 1999/03/09 11:22:59 dirk Exp $
d20 1
a20 1
		http://www.php3.de/distributions/
@


1.68
log
@Upgrade to PHP-3.0.7.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.67 1999/03/08 07:28:32 asami Exp $
d12 1
a12 1
MASTER_SITES=	ftp://www.apache.org/apache/dist/ \
d17 2
d21 11
@


1.67
log
@Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if
GNU_CONFIGURE is defined.  Take the target out of CONFIGURE_ARGS of
some ports that added it explicitly; define it as
${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part;
define it as something else (such as ${MACHINE_ARCH}--freebsdelf if
the port requires that; define it as an empty string if the port
doesn't like it at all.

The last might be a sign that a GNU_CONFIGURE port actually doesn't
use GNU's version of configure at all; but I don't have time to go
look at them all, we'll fix them as time goes on.

At least we've got much fewer "-unknown-"s in the tree as the result. :)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.66 1999/01/13 17:31:09 dirk Exp $
d26 1
a26 1
VERSION_PHP3=	3.0.6
@


1.66
log
@Upgrade to Apache 1.3.4 and mod_ssl 2.1.7.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.64 1999/01/08 17:22:06 dirk Exp $
d32 1
a32 1
GNU_CONFIGURE=	yes
d34 1
@


1.65
log
@More Y2K Statement Links...
@
text
@d25 1
a25 1
VERSION_APACHE=	1.3.3
d34 1
@


1.64
log
@Don't link ${PREFIX}/share/doc/apache/* to ${PREFIX}/www/data/
if the file or symlink exists already.

Reported by:	Peter Hawkins <thepish@@freebsd.org> (a long time ago...)
PR:		ports/9347
Submitted by:	Sheldon Hearn <axl@@iafrica.com>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $
d22 2
@


1.63
log
@Change PKGNAME from apache-php3.x.x-x.x.x to apache-php3-x.x.x to
conform the convention and to create a latest link named apache-php3.tgz.

Requested by:	Satoshi
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.62 1998/12/26 00:08:09 dirk Exp $
d116 3
a118 1
	${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i
@


1.62
log
@Upgrade to PHP 3.0.6 and mod_ssl 2.1.4
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.61 1998/12/23 00:44:49 dirk Exp $
d10 1
a10 1
PKGNAME=	apache-php${VERSION_PHP3}-${VERSION_APACHE}
@


1.61
log
@- BATCH mode: if ${BATCH} is defined apache with a plain PHP3 module
  is created, i. e. no additional support for e. g. databases

  It is possible to build an apache13-php3 package now.

- honor ${CC} and ${CFLAGS} while compiling PHP3

- make apache13-php3 ${WRKDIRPREFIX} clean

- added OpenLDAP support
  Requested by: Kurt D. Zeilenga <Kurt@@OpenLDAP.Org>

- upgrade to mod_ssl-2.1.3
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.58 1998/12/02 20:32:02 billf Exp $
d24 1
a24 1
VERSION_PHP3=	3.0.5
@


1.60
log
@Remove NO_WRKDIR tests from targets copied from bsd.port.mk.  Since
NO_WRKDIR is a port variable, not a user variable, it made no sense
for these to be here in the first place.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.59 1998/12/05 09:36:59 obrien Exp $
d21 1
a21 1
MAINTAINER=	Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
a25 3
IS_INTERACTIVE=	yes
NO_PACKAGE=	Support for different databases

d74 1
d76 1
d83 6
a88 1
	&& CFLAGS= CPPFLAGS="-I${PREFIX}/include -I${PREFIX}/include/gd" LDFLAGS=-L${PREFIX}/lib ./configure ${PHP3_CONF_ARGS} \
d139 1
a139 1
	@@${RM} -f Makefile.inc
d141 2
a142 2
.if exists(Makefile.inc)
.include "Makefile.inc"
@


1.59
log
@More master sites from Dirk Froemberg <ibex@@physik.TU-Berlin.DE>.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.58 1998/12/02 20:32:02 billf Exp $
a127 1
.if !defined(NO_WRKDIR)
a134 3
.else
	@@${RM} -f ${WRKDIR}/.*_done ${TMPPLIST}
.endif
@


1.58
log
@Unbreak by referencing the ftp site for php.

PR:		ports
Submitted By:	Josh Gilliam <josh@@quick.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.57 1998/11/06 11:02:21 obrien Exp $
d13 6
a18 1
		ftp://www.php.net/pub/distributions/
@


1.57
log
@Add a little more description what "php3" is.
Upgrade apache13-php3 to use apache-1.3.3, php-3.0.5 and mod_ssl-2.0.14

Submitted by:  Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.56 1998/09/30 18:16:06 andreas Exp $
d13 1
a13 1
		http://www.php.net/distributions/
@


1.56
log
@- integrate Ralf S. Engelschall's apache13-modssl,
  i. e. apache13-php3 supports SSL now!

- upgrade to Apache 1.3.2 and PHP 3.0.4

- enable track-vars for PHP3 by default to support phplib
  (http://phplib.shonline.de/)
  Pointed out by: Thomas Kuehne <thomas@@todo.de>

- losts of minor changes (install php-icons, index.php3 as DirectoryIndex,
  support .php3 and .phtml suffixes, enable application/x-httpd-php3-source
  for .phps and .php3s, install default php3.ini-dist, ...)
Submitted by:	Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
@
text
@d2 1
a2 1
# Version required:	1.3.1 / 3.0.3
d6 1
a6 1
# $Id: Makefile,v 1.54 1998/09/13 17:18:11 andreas Exp $
d18 2
a19 2
VERSION_APACHE=	1.3.2
VERSION_PHP3=	3.0.4
@


1.55
log
@Use ${PERL5} wherever appropriate.  Largely untested; hope my eyeball
checks haven't missed anything.

Submitted by:	dima
@
text
@d9 2
a10 2
DISTNAME=	apache_${APACHE_VER}
PKGNAME=	apache-php${PHP3_VER}-${APACHE_VER}
d14 1
a14 1
DISTFILES=	apache_${APACHE_VER}.tar.gz php-${PHP3_VER}.tar.gz
d18 2
a19 4
APACHE_VER=	1.3.1
PHP3_VER=	3.0.3

USE_PERL5=	yes
d37 1
a41 1
		 --with-perl=${PERL5} \
d44 3
a51 1
CONFIGURE_ARGS+= --disable-rule=STATUS
d53 1
a53 1
CFLAGS+= -O6 -fomit-frame-pointer -fexpensive-optimizations
d68 2
a69 1
		--disable-debug
d71 1
a71 1
post-fetch:
a73 3
#post-patch:
#	@@${PATCH} -s -d ${WRKDIR}/php-${PHP3_VER} < ${FILESDIR}/configure.patch

d75 1
a75 1
	@@( cd ${WRKSRC} \
d77 2
a78 2
	&& cd ${WRKDIR}/php-${PHP3_VER} \
	&& ${ECHO_MSG} "===>  Configuring for PHP-${PHP3_VER}" \
d80 1
a80 1
	&& ${ECHO_MSG} "===>  Building for PHP-${PHP3_VER}" \
d82 1
a82 1
	&& ${ECHO_MSG} "===>  Configuring for Apache-${APACHE_VER}" )
d89 1
a89 1
		${ECHO} "[ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start > /dev/null && ${ECHO} -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
d92 4
d110 1
a110 1
	${INSTALL_DATA} ${WRKDIR}/php-${PHP3_VER}/$i ${PHP3DOCDIR}
@


1.54
log
@use patch-ak from apache3 port (erase pid file)
and freetype support
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.53 1998/09/01 21:04:57 andreas Exp $
d43 1
a43 1
		 --with-perl=${PREFIX}/bin/perl5 \
@


1.53
log
@activate USE_PERL5
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.52 1998/09/01 18:38:05 andreas Exp $
d16 1
a16 1
MAINTAINER=	ibex@@physik.TU-Berlin.DE
@


1.52
log
@- update port to newest apache (1.3.1) and php (3.0.3) version
- change maintainer to Dirk Froemberg <ibex@@physik.TU-Berlin.DE>, since
  he is now the driving force
- totally revamped configuration (dialog based as in ghostscript)
- make portlint happy (andreas@@FreeBSD.ORG), APACHE_VER and PHP3_VER
  variable has to appear later in Makefile, not in front of DISTNAME
  and PKGNAME
Submitted by:	Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.50 1998/08/27 14:08:20 kuriyama Exp $
d21 1
a21 1
#USE_PERL5=	yes
@


1.51
log
@Upgrade to php 3.0.3.  The MAINTAINER seems to be not responding and
I gave him every chance to commit these changes (or even reply) himself.
@
text
@d2 1
a2 1
# Version required:	1.3.0 / 3.0.3
d9 2
a10 2
DISTNAME=	apache_1.3.0
PKGNAME=	apache-php3.0.3-1.3.0
d14 1
a14 1
DISTFILES=	apache_1.3.0.tar.gz php-3.0.3.tar.gz
d16 1
a16 1
MAINTAINER=	stefan@@asterix.webaffairs.net
d18 2
a19 2
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd \
		perl5:${PORTSDIR}/lang/perl5
d21 4
a24 1
NO_PACKAGE=	"Support for different databases via make-variable"
d56 1
a56 1
CONFIGURE_ENV= OPTIM='${OPTIM}'
a65 1
		--with-gd \
d70 2
a71 18
.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql
pre-fetch:
	@@ ${ECHO}
	@@ ${ECHO} "You must set variable PHP3_DBTYPE to msql, mysql or pgsql by typing"
	@@ ${ECHO} "make PHP3_DBTYPE=[ msql | mysql | pgsql ]"
	@@ ${FALSE}
.elif defined(PHP3_DBTYPE)
.if ${PHP3_DBTYPE} == msql
BUILD_DEPENDS+=		msql:${PORTSDIR}/databases/msql
PHP3_CONF_ARGS+=	--with-msql=${PREFIX}
.elif ${PHP3_DBTYPE} == mysql
BUILD_DEPENDS+=		mysql:${PORTSDIR}/databases/mysql
PHP3_CONF_ARGS+=	--with-mysql=${PREFIX}
.elif ${PHP3_DBTYPE} == pgsql
BUILD_DEPENDS+=		${PREFIX}/pgsql/bin/psql:${PORTSDIR}/databases/postgresql
PHP3_CONF_ARGS+=	--with-pgsql=${PREFIX}/pgsql
.endif
.endif
d73 2
a74 2
post-patch:
	@@ ${PATCH} -s -d ${WRKDIR}/php-3.0.3 < ${FILESDIR}/configure.patch
d77 4
a80 2
	@@( cd ${WRKDIR}/php-3.0.3 \
	&& ${ECHO_MSG} "===>  Configuring for PHP-3.0.3" \
d82 1
a82 1
	&& ${ECHO_MSG} "===>  Building for PHP-3.0.3" \
d84 1
a84 8
	&& ${ECHO_MSG} "===>  Configuring for Apache-1.3.0" )
.if defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == msql
CONFIGURE_ENV+= LIBS='-lmd -L${PREFIX}/lib -lmsql -lgd -lm'
.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == mysql
CONFIGURE_ENV+= LIBS='-L${PREFIX}/lib/mysql -L${PREFIX}/lib -lmysqlclient -lm -lgd'
.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == pgsql
CONFIGURE_ENV+= LIBS='-lmd -L${PREFIX}/pgsql/lib -lpq -L${PREFIX}/lib -lgd -lm'
.endif
d105 1
a105 1
	/bin/ln -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i
d108 1
a108 1
	${INSTALL_DATA} ${WRKDIR}/php-3.0.3/$i ${PHP3DOCDIR}
d110 2
a111 2
	@@ ${ECHO} "Docs reside in ${APACHEDOCDIR}"
	@@ ${ECHO} "and in ${PHP3DOCDIR}"
d114 23
@


1.50
log
@Fix error at starting script with PostgreSQL.

No response from:	maintainer
@
text
@d2 1
a2 1
# Version required:	1.3.0 / 3.0.2
d6 1
a6 1
# $Id: Makefile,v 1.49 1998/07/25 11:30:12 andreas Exp $
d10 1
a10 1
PKGNAME=	apache-php3.0.2-1.3.0
d14 1
a14 1
DISTFILES=	apache_1.3.0.tar.gz php-3.0.2.tar.gz
d88 1
a88 1
	@@ ${PATCH} -s -d ${WRKDIR}/php-3.0.2 < ${FILESDIR}/configure.patch
d91 2
a92 2
	@@( cd ${WRKDIR}/php-3.0.2 \
	&& ${ECHO_MSG} "===>  Configuring for PHP-3.0.2" \
d94 1
a94 1
	&& ${ECHO_MSG} "===>  Building for PHP-3.0.2" \
d127 1
a127 1
	${INSTALL_DATA} ${WRKDIR}/php-3.0.2/$i ${PHP3DOCDIR}
@


1.49
log
@added new port apache3-php3 after repository copy
many thanks to the contributors.
Submitted by:	Dirk Froemberg <ibex@@physik.TU-Berlin.DE> and Stefan Herrmann <sh@@webaffairs.de>
@
text
@d6 1
a6 1
# $Id$
d109 1
@


1.48
log
@Upgraded to last php version 3.0.2
Included freetype support for php
Why freetype support ?

If you compile PHP with gd and freetype[it's already a port], and grab
some free truetype fonts from microsoft in self-install.exe format you
can generate really nice on the fly gif's with text in them.  Buttons,
banners etc.

William told me: I had to install the free microsoft fonts on my pc
and then ftp them. I can't think of a way to extract the files from
the .exe archive. I don't think it's a zip type.

I got the fonts microsoft link by digging around in
http://www.freetype.org

Submitted by:	William Lloyd <wlloyd@@mpd.ca>
@
text
@d1 4
a4 4
# New ports collection makefile for:	apache HTTPD / php
# Version required:	1.2.6 / 3.0
# Date created:		Wed Sep  3 18:28:20 CEST 1997
# Whom:			Andreas Klemm <andreas@@klemm.gtn.com>
d6 1
a6 1
# $Id: Makefile,v 1.47 1998/07/11 20:52:36 andreas Exp $
d9 2
a10 2
DISTNAME=	apache_1.2.6
PKGNAME=	apache-1.2.6-php3.0.2
d13 2
a14 2
		http://ca.php.net/distributions/
DISTFILES=	apache_1.2.6.tar.gz php-3.0.2.tar.gz
d16 1
a16 1
MAINTAINER=	andreas@@FreeBSD.ORG
d19 1
a19 2
		gmake:${PORTSDIR}/devel/gmake \
		${PREFIX}/include/freetype.h:${PORTSDIR}/print/freetype
d23 28
a50 8
MAN1=		htpasswd.1
MAN8=		httpd.8
DOCDIR=		${PREFIX}/share/doc/apache

.if defined(PATCH_DEBUG)
PATCH_DIST_ARGS= -d ${WRKSRC}/src -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
d53 1
a53 2
# Set it for local-supplied patch, f.e.
VERS_ID = PHP-3.0.2
d55 2
a56 4
PHP3_CONF_ARGS=	--prefix=${PREFIX} --with-gd=${PREFIX} \
		--with-system-regex --with-apache=${WRKSRC} \
		--with-config-file-path=${PREFIX}/lib --disable-debug \
		--libdir=${PREFIX}/lib --includedir=${PREFIX}/include
d58 2
d61 8
a68 1
.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql && ${PHP3_DBTYPE} != dbase
d72 1
a72 1
	@@ ${ECHO} "make PHP3_DBTYPE=[ dbase | msql | mysql | pgsql ]"
a83 2
.elif ${PHP3_DBTYPE} == dbase
PHP3_CONF_ARGS+=	--with-dbase
a86 1
.if defined(VERS_ID)
d88 1
a88 5
	@@cd ${WRKSRC}/src && \
	${MV} Configuration Configuration.old && \
	${SED} 's;^#*OPTIM=.*;OPTIM= -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
	< Configuration.old > Configuration
.endif
d91 6
a96 4
	( cd ${WRKDIR}/php-3.0.2 \
	&& CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS=-I${PREFIX}/include ./configure ${PHP3_CONF_ARGS} \
	&& ${GMAKE} install )
	${ECHO} "Module php3_module mod_php3.o" >> ${WRKSRC}/src/Configuration
d98 1
a98 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib -lmsql -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
d100 1
a100 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -I${PREFIX}/include/gd -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
d102 1
a102 3
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/pgsql/lib -lpq -L${PREFIX}/lib -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == dbase
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a libdbf.a -L${PREFIX}/lib -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
d108 2
a109 2
		${SED} 's;PREFIX;${PREFIX};' < ${FILESDIR}/apache.sh.tmpl > \
		${PREFIX}/etc/rc.d/apache.sh; \
d112 5
a116 2
.for i in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/support/$i ${PREFIX}/man/man1
d118 6
a123 2
.for i in ${MAN8}
	${INSTALL_MAN} ${WRKSRC}/support/$i ${PREFIX}/man/man8
d125 2
a126 4
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCDIR}
.for i in README LICENSE ABOUT_APACHE
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCDIR}
d128 2
a129 1
	@@cd ${WRKSRC}/htdocs; tar cf - . | (cd ${DOCDIR}; tar xf -)
@


1.47
log
@upgrade to newest php version 3.0.1
fixes regarding compilation/linking with libgd
a fix for me in Makefile to make this submission $PREFIX clean
big thanks to William
Submitted by:	William Lloyd <wlloyd@@tolstoy.mpd.ca>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.46 1998/06/27 13:52:34 andreas Exp $
d10 1
a10 1
PKGNAME=	apache-1.2.6-php3.0.1
d14 1
a14 1
DISTFILES=	apache_1.2.6.tar.gz php-3.0.1.tar.gz
d19 2
a20 1
		gmake:${PORTSDIR}/devel/gmake
d35 1
a35 1
VERS_ID = PHP-3.0.1
d39 3
a41 1
		--with-config-file-path=${PREFIX}/lib --disable-debug
d73 2
a74 2
	( cd ${WRKDIR}/php-3.0.1 \
	&& CC="${CC}" CFLAGS="${CFLAGS}" ./configure ${PHP3_CONF_ARGS} \
d78 1
a78 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib -lmsql -lgd -lm" >> ${WRKSRC}/src/Configuration
d80 1
a80 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -I${PREFIX}/include/gd -lgd -lm" >> ${WRKSRC}/src/Configuration
d82 1
a82 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/pgsql/lib -lpq -L${PREFIX}/lib -lgd -lm" >> ${WRKSRC}/src/Configuration
d84 1
a84 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a libdbf.a -L${PREFIX}/lib -lgd -lm" >> ${WRKSRC}/src/Configuration
@


1.46
log
@William sent patches to me so support dbase type database...
If there are any problems related to this, send him an e-mail,
I can't test this !
Submitted by:	William Lloyd <wlloyd@@mpd.ca>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.45 1998/06/14 09:57:32 andreas Exp $
d10 1
a10 1
PKGNAME=	apache-1.2.6-php3.0
d14 1
a14 1
DISTFILES=	apache_1.2.6.tar.gz php-3.0.tar.gz
d34 1
a34 1
VERS_ID = PHP-3.0
d36 1
a36 1
PHP3_CONF_ARGS=	--prefix=${PREFIX} \
d70 1
a70 1
	( cd ${WRKDIR}/php-3.0 \
d77 1
a77 1
	${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -lgd -lm"  >> ${WRKSRC}/src/Configuration
@


1.45
log
@- apache-php port totally revamped
- now based on apache 1.2.6 and PHP3 support with the tough help of Dirk
- Supports 3 kinds of databases now
	- msql
	- mysql
	- postgresql
- Only modified order in Makefile to keep portlint happy
- Fixed php's configure section in Makefile, to use CC and CFLAGS from
  /etc/makefile, instead to use -g -O2
- only one patches subdir remains
This port should now be "repository moved" from:
	apache-php
to something like:
	apache12-php3
Obtained from:	Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
@
text
@d1 2
a2 2
# New ports collection makefile for:	apache HTTPD / php 2.0.1
# Version required:	1.2.5 / 2.0.1
d6 1
a6 1
# $Id$
d40 1
a40 1
.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql
d44 1
a44 1
	@@ ${ECHO} "make PHP3_DBTYPE=[ msql | mysql | pgsql ]"
d56 2
d80 2
@


1.44
log
@If BATCH is defined, then build apache-php with mysql support.
Reasons:
	- mysql is free software and very popular.
	- msql is only free for private use
	- msql isn't as fast and reliable (from hearsay)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.42 1997/10/04 14:52:58 andreas Exp $
d9 2
a10 2
DISTNAME=       apache_1.2.5
PKGNAME=	apache-php-1.2.5
d12 3
a14 5
MASTER_SITES=   ftp://www.apache.org/apache/dist/ \
		ftp://ftp.nerosworld.com/pub/php/dist/ \
		ftp://ftp.u-aizu.ac.jp/pub/net/www/php/ \
		ftp://ftpza.co.za/pub/mirrors/php/
DISTFILES=	apache_1.2.5.tar.gz php-2.0.1.tar.gz
d16 1
a16 1
MAINTAINER=     andreas@@FreeBSD.ORG
d18 8
a25 1
NO_PACKAGE=	"Too many questions"
d27 4
a30 7
#
# Currently we support two db's: msql and mysql
# When running in batch mode default to mysql support, because it's
# a free and very popular database !
#
.if defined(BATCH)
PHP_DBTYPE=mysql
d33 8
a40 1
.if !defined(PHP_DBTYPE)
d43 2
a44 2
	@@ ${ECHO} "You must set variable PHP_DBTYPE to msql or mysql by typing"
	@@ ${ECHO} "make PHP_DBTYPE=[ msql | mysql ]"
d46 10
a55 11

.elif defined(PHP_DBTYPE)
.if ${PHP_DBTYPE} == msql
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd \
		msql:${PORTSDIR}/databases/msql
PATCHDIR=	${.CURDIR}/patches.msql

.elif ${PHP_DBTYPE} == mysql
BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd \
		mysql:${PORTSDIR}/databases/mysql
PATCHDIR=	${.CURDIR}/patches.mysql
a58 3
# Set it for local-supplied patch, f.e.
VERS_ID = php-2.0.1/andreas

d61 2
a62 2
	@@ cd ${WRKSRC}/src && \
	${MV}  Configuration Configuration.old && \
d68 10
a77 23
.if !defined(PHP_DBTYPE)
	@@ ${ECHO}
	@@ ${ECHO} "You must set variable PHP_DBTYPE to msql or mysql by typing"
	@@ ${ECHO} "make PHP_DBTYPE=[ msql | mysql ]"
	@@ ${FALSE}
.else
	( cd ${WRKDIR}/php-2.0.1; ${SED} "s#@@@@PREFIX@@@@#${PREFIX}#" < ${FILESDIR}/install.patch | patch)
	( cd ${WRKDIR}/php-2.0.1; ./install )
	( cd ${WRKDIR}/php-2.0.1/src; make )
	( cd ${WRKDIR}/php-2.0.1/src \
	&& ${CP} mod_php.c mod_php.h libphp.a ../../apache_1.2.5/src )
	( cd ${WRKDIR}/apache_1.2.5/src \
	&& ${ECHO} "Module php_module mod_php.o" \
	>> Configuration )
.if ${PHP_DBTYPE} == msql
	( cd ${WRKDIR}/apache_1.2.5/src \
	&& ${ECHO} "EXTRA_LIBS=-lmd libphp.a -L${PREFIX}/lib -lmsql -lgd -lm" \
	>> Configuration )
.else
	( cd ${WRKDIR}/apache_1.2.5/src \
	&& ${ECHO} "EXTRA_LIBS=-lmd libphp.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -lgd -lm" \
	>> Configuration )
.endif
d81 1
a81 1
	@@ if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
d83 2
a84 2
		${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
		${ECHO} "[ -x ${PREFIX}/sbin/httpd ] && ${PREFIX}/sbin/httpd && ${ECHO} -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \
d87 13
a99 5
	${ECHO} "AddType application/x-httpd-php .phtml" \
		> ${PREFIX}/etc/apache/srm.conf.php
	@@ ${ECHO} "Don't forget to enable php support in \
		${PREFIX}/etc/apache/srm.conf"
	@@ ${ECHO} "See ${PREFIX}/etc/apache/srm.conf.php"
@


1.43
log
@Remove brokenness from this port ;-) Thanks to Dirk Froemberg.
New features:
- You have to set variable PHP_DBTYPE to msql or mysql by typing
  make PHP_DBTYPE=[ msql | mysql ]
  to build the port with msql or mysql support.
- The php configuration isn't interactive anymore
  Theoretically we could default to mysql database and build
  a package, so that make batch could work !
- Cleaned up port dependency, so that libgd actually gets build
  (I fixed this one)
- made portlint as happy as I could, changed /usr/local to ${PREFIX}
  and changed sed -> ${SED}
The only thing that is missing now is an apache-php-SSL port and
postgresql support ;-))
Submitted by:	Dirk Froemberg <ibex@@physik.TU-Berlin.DE>
@
text
@d24 2
d27 4
@


1.42
log
@cosmetic changes using portlint, a really nice tool ;-)
@
text
@d1 2
a2 2
# New ports collection makefile for:	apache HTTPD / php 2.0b12
# Version required:	1.2.1 / 2.0b12
d6 1
a6 1
# $Id: Makefile,v 1.41 1997/09/09 10:01:36 asami Exp $
d9 2
a10 2
DISTNAME=       apache_1.2.1
PKGNAME=	apache-php-1.2.1
d16 1
a16 1
DISTFILES=	apache_1.2.1.tar.gz php-2.0b12.tar.gz
a20 2
BROKEN=		"php conf-dialogue needs knowledge of include and library paths"
IS_INTERACTIVE=	yes
d34 2
a35 1
BUILD_DEPENDS=	msql:${PORTSDIR}/databases/msql
d39 2
a40 1
BUILD_DEPENDS=	mysql:${PORTSDIR}/databases/mysql
d46 1
a46 1
VERS_ID = php-2.0b12/andreas
d57 12
a68 6
	${ECHO} "Don\'t forget to add ${PREFIX}/include/gd to additional path !"
	( cd ${WRKDIR}/php-2.0b12; ./install )
	( cd ${WRKDIR}/php-2.0b12/src; make )
	( cd ${WRKDIR}/php-2.0b12/src \
	&& ${CP} mod_php.c mod_php.h libphp.a ../../apache_1.2.1/src )
	( cd ${WRKDIR}/apache_1.2.1/src \
d70 1
a70 1
	>> Configuration \
d72 3
a74 1
	&& ${ECHO} "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib -lmsql -lgd -lm" \
d76 4
a79 1
	&& ${ECHO} "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib/mysql -lmysql -L/usr/local/lib -lgd -lm" \
a80 1
	>> Configuration )
d86 1
a86 1
		${ECHO} "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && ${ECHO} -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \
d91 1
a91 1
	${ECHO} "Don't forget to enable php support in \
d93 1
a93 1
	${ECHO} "See ${PREFIX}/etc/apache/srm.conf.php"
@


1.41
log
@Add back PKGNAME which was deleted mysteriously in revision 1.39 (DISTNAME
is not valid).  Add "-php" in the middle of it to distinguish it with regular
apache.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.40 1997/09/03 18:49:53 andreas Exp $
d14 1
a14 1
		ftp://ftp.u-aizu.ac.jp/pub/net/www/php \
d16 1
a16 2
DISTFILES=	apache_1.2.1.tar.gz \
                php-2.0b12.tar.gz
d21 1
a22 1
BROKEN=		"Am working on it..."
d29 4
a32 4
	@@echo
	@@echo "You must set variable PHP_DBTYPE to msql or mysql by typing"
	@@echo "make PHP_DBTYPE=[ msql | mysql ]"
	@@false
d50 3
a52 3
	@@cd ${WRKSRC}/src && \
	mv Configuration Configuration.old && \
	sed 's;^#*OPTIM=.*;OPTIM= -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
a55 1

d57 1
a57 1
	echo "Don\'t forget to add ${PREFIX}/include/gd to additional path !!!"
d61 1
a61 1
	&& cp mod_php.c mod_php.h libphp.a ../../apache_1.2.1/src )
d63 1
a63 1
	&& echo "Module php_module mod_php.o" \
d66 1
a66 1
	&& echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib -lmsql -lgd -lm" \
d68 1
a68 1
	&& echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib/mysql -lmysql -L/usr/local/lib -lgd -lm" \
d73 4
a76 4
	@@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
		echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
		echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \
d79 1
a79 1
	echo "AddType application/x-httpd-php .phtml" \
d81 1
a81 1
	echo "Don't forget to enable php support in \
d83 1
a83 1
	echo "See ${PREFIX}/etc/apache/srm.conf.php"
@


1.40
log
@Included DB LIB dependency when patching apaches Configuration
file ... Not tested ... but necessary ... as I said "work in
progress"
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.39 1997/09/03 18:45:12 andreas Exp $
d10 1
@


1.39
log
@Apache 1.2.1 + PHP support
Currently 2 kind of databases will be supported, msql and mysql
The problem is, that depending on the flavour of database you want
to support, you need a different set of patches to apache's
Makefile, so that header and loader flags, paths and libs
are correctly resolved ...
I marked this port as BROKEN, since I wasn't able, to exactly
check the whole port due to the fact, that currently I only
have one db installed. Will try to get it managed next weekend.
Well if someone is so keen, then simply remove BROKEN and you
should be able to use what's already possible ...
@
text
@d6 1
a6 1
# $Id$
d66 1
d68 3
@


1.38
log
@Do not replace Apache md5 with FreeBSD one, it cause supporting
problems but gains almost nothing
PR: 4380
@
text
@d1 4
a4 4
# New ports collection makefile for:    apache HTTPD
# Version required:     1.2.1
# Date created:         Fri Aug 25 16:42:36 CDT 1995
# Whom:                 erich@@rrnet.com
d6 1
a6 1
# $Id: Makefile,v 1.37 1997/08/13 15:05:03 ache Exp $
a9 1
PKGNAME=        apache-1.2.1
d11 6
a16 1
MASTER_SITES=   ftp://www.apache.org/apache/dist/
d18 26
a43 1
MAINTAINER=     ports@@freebsd.org
d46 1
a46 1
# VERS_ID = mods-1.0/me
d56 13
d76 5
@


1.37
log
@Merge with former apache-stable
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.36 1997/08/12 11:49:12 peter Exp $
a25 3

post-patch:
	${CP} /usr/include/md5.h ${WRKSRC}/src/md5.h
@


1.36
log
@The great apache shuffle, part 1.. Revive files and break out SSL..
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.35 1997/07/08 13:04:09 ache Exp $
d14 1
a14 1
MAINTAINER=     ache@@freebsd.org
d16 2
a17 10
# User-controlled variables list
# DIR_ACHE      - add SuppressHTMLPreamble option to directory index
#                 see http://www.nagual.ru/~ache/apache_dir.html
# SECURE_SERVER - build Apache with SSL

.if defined(DIR_ACHE)
PATCH_SITES+=   http://www.nagual.pp.ru/~ache/
PATCHFILES+=    dir.patch
VERS_ID=        dir/ache
.endif
d26 3
@


1.35
log
@Upgrade to 1.2.1
@
text
@d1 1
a1 1
# New ports collection makefile for:    apache HTTPD and HTTPSD
d6 1
a6 1
# $Id: Makefile,v 1.34 1997/06/06 13:45:07 ache Exp $
a13 1
.if !defined(SECURE_SERVER)
a14 3
.else
MAINTAINER=	markm@@freebsd.org
.endif
a34 31
.if defined(SECURE_SERVER)

BROKEN=		"SSLeay has changed, and the patches for apache need more work"
PKGNAME=        apache_SSL-1.1.1
MAIN_SRC=	${DISTNAME}${EXTRACT_SUFX}
SSL_EXTRAS=	${DISTNAME}+1.3.ssl${EXTRACT_SUFX}
DISTFILES=	${MAIN_SRC} ${SSL_EXTRAS}
MASTER_SITES+=  ftp://ftp.ox.ac.uk/pub/crypto/SSL/
EXTRACT_ONLY=	${MAIN_SRC}
MD5_FILE=	${FILESDIR}/md5.SSL
PATCHDIR=	${.CURDIR}/patches.SSL
PKGDIR=		${.CURDIR}/pkg.SSL
CONFIGURE_SCRIPT=	configure.SSL
DEPENDS=	${PORTSDIR}/security/SSLeay

post-extract:
	@@cd ${WRKSRC} && tar xzf ${DISTDIR}/${SSL_EXTRAS}

pre-patch:
	@@cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < SSLpatch

post-install:
	@@if [ ! -f ${PREFIX}/etc/rc.d/apache_ssl.sh ]; then \
		echo "Installing ${PREFIX}/etc/rc.d/apache_ssl.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache_ssl.sh; \
		echo "[ -x /usr/local/sbin/httpsd ] && /usr/local/sbin/httpsd && echo -n ' httpsd'" >> ${PREFIX}/etc/rc.d/apache_ssl.sh; \
		chmod 751 ${PREFIX}/etc/rc.d/apache_ssl.sh; \
	fi

.else

a41 2

.endif
@


1.34
log
@Update to 1.2.0
@
text
@d2 1
a2 1
# Version required:     1.2.0
d6 1
a6 1
# $Id: Makefile,v 1.33 1997/05/31 20:34:09 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2.0
PKGNAME=        apache-1.2.0
@


1.33
log
@More fixing of OPTIM replacement
@
text
@d2 1
a2 1
# Version required:     1.2b11
d6 1
a6 1
# $Id: Makefile,v 1.30 1997/05/02 18:22:03 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b11
PKGNAME=        apache-1.2b11
@


1.32
log
@Fix OPTIM= patching
@
text
@d35 1
a35 1
	sed 's;^#*OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
@


1.31
log
@Upgrade to 1.2b11
@
text
@d35 1
a35 1
	sed 's;^OPTIM=.*;& -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
@


1.30
log
@Upgrade to 1.2b10
@
text
@d2 1
a2 1
# Version required:     1.2b10
d6 1
a6 1
# $Id: Makefile,v 1.29 1997/04/14 18:54:26 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b10
PKGNAME=        apache-1.2b10
d26 1
a26 1
PATCH_SITES+=   http://www.nagual.ru/~ache/
@


1.29
log
@Upgrade to 1.2b8
@
text
@d2 1
a2 1
# Version required:     1.2b8
d6 1
a6 1
# $Id: Makefile,v 1.28 1997/02/26 01:23:10 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b8
PKGNAME=        apache-1.2b8
@


1.28
log
@Upgrade to 1.2b7
@
text
@d2 1
a2 1
# Version required:     1.2b7
d6 1
a6 1
# $Id: Makefile,v 1.27 1997/01/28 05:39:31 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b7
PKGNAME=        apache-1.2b7
d14 5
a18 1
MAINTAINER=	ache@@freebsd.org
a41 1
MAINTAINER=	markm@@freebsd.org
@


1.27
log
@Upgrade to 1.2b6
@
text
@d2 1
a2 1
# Version required:     1.2b6
d6 1
a6 1
# $Id: Makefile,v 1.26 1997/01/02 16:39:55 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b6
PKGNAME=        apache-1.2b6
@


1.26
log
@Upgrade to 1.2b4
@
text
@d2 1
a2 1
# Version required:     1.2b4
d6 1
a6 1
# $Id: Makefile,v 1.25 1996/12/25 22:53:22 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b4
PKGNAME=        apache-1.2b4
@


1.25
log
@Upgrade to 1.2b3
Submitted by: mostly by peter
@
text
@d2 1
a2 1
# Version required:     1.2b3
d6 1
a6 1
# $Id: Makefile,v 1.24 1996/12/11 21:04:21 markm Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b3
PKGNAME=        apache-1.2b3
@


1.24
log
@Mark the SSL'ed version as BROKEN, until the official patches appear. Also
add myself as maintainer of the SSL version.
@
text
@d2 1
a2 1
# Version required:     1.2b2
d6 1
a6 1
# $Id: Makefile,v 1.23 1996/12/11 19:09:59 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.2b2
PKGNAME=        apache-1.2b2
d29 4
a32 4
	@@cd ${WRKSRC}/src; \
	mv httpd.h httpd.h.old; \
	sed 's=SERVER_VERSION *"\(.*\)"=SERVER_VERSION "\1 '"${VERS_ID}"'"=' \
	< httpd.h.old > httpd.h
@


1.23
log
@Upgrade to 1.2b2
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.22 1996/11/18 11:40:33 asami Exp $
d37 2
@


1.22
log
@Use MAN? macros.  CATEGORIES+= -> CATEGORIES.
@
text
@d2 1
a2 1
# Version required:     1.1.1
d6 1
a6 1
# $Id: Makefile,v 1.21 1996/11/07 01:53:14 ache Exp $
d9 2
a10 2
DISTNAME=       apache_1.1.1
PKGNAME=        apache-1.1.1
a16 2
# CHARSET_ACHE  - add charset negotiation to .var files and charset guessing
#                 see http://www.nagual.ru/~ache/apache_var.html
a18 2
# ALL_ACHE      - both patches from above
#
d21 1
a21 5
.if defined(ALL_ACHE)
CHARSET_ACHE=YES
DIR_ACHE=YES
.endif
.if defined(CHARSET_ACHE) || defined(DIR_ACHE)
a22 6
.endif
.if defined(CHARSET_ACHE)
PATCHFILES+=    mod.patch
VERS_ID1=       charset/
.endif
.if defined(DIR_ACHE)
d24 1
a24 4
VERS_ID2=       dir/
.endif
.if defined(VERS_ID1) || defined(VERS_ID2)
VERS_ID=        ${VERS_ID1}${VERS_ID2}ache
@


1.21
log
@Add information URLs comment
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.20 1996/11/07 01:49:46 ache Exp $
d11 1
a11 1
CATEGORIES+=	www
@


1.20
log
@Conditionalize all my patches
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.19 1996/10/31 17:42:13 markm Exp $
d17 6
a22 3
# CHARSET_ACHE - add charset negotiation to .var files and charset guessing
# DIR_ACHE - add SuppressHTMLPreamble option to directory index
# ALL_ACHE - both patches from above
@


1.19
log
@Uncomment the DEPENDS= line. Sheesh.
Reminded by:	ache
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.18 1996/10/26 18:49:52 markm Exp $
d15 33
@


1.18
log
@FINALLY - commit the SSL'ed version of this. (ye gods, this has been a while
:-) )
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.17 1996/08/11 14:49:21 markm Exp $
d28 1
a28 1
#DEPENDS=	${PORTSDIR}/security/SSLeay
@


1.17
log
@1) Add the ability to build a secure (SSL'ed) server, conditionalised
   on the presence of SECURE_SERVER.

2) Clean up the installation in accordance with BSD religion:
   Now all the configs go in ${PREFIX}/etc/apache and the
   data (documents) stay in ${PREFIX}/www.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.16 1996/07/12 10:27:53 asami Exp $
d17 1
d28 1
a28 1
DEPENDS=	ssleay:${PORTSDIR}/security/SSLeay
d35 10
a44 1
.endif
d53 2
@


1.16
log
@Remove unnecessary DISTFILES and EXTRACT_ONLY.

Remove pst's address from MAINTAINER, I don't know if any script
will fail if we have two addresses here so I don't want to risk
breaking something right before the release.
@
text
@d1 1
a1 1
# New ports collection makefile for:    apache HTTPD
d6 1
a6 1
# $Id: Makefile,v 1.15 1996/07/12 06:41:05 pst Exp $
d15 20
@


1.15
log
@...just changed maintainer to match reality
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1996/07/11 11:03:17 ache Exp $
a12 1
DISTFILES=      ${DISTNAME}.tar.gz
d14 1
a14 3
MAINTAINER=	ache@@freebsd.org,pst@@freebsd.org

EXTRACT_ONLY=   ${DISTNAME}.tar.gz
@


1.14
log
@Upgrade to 1.1.1
OK-ed by: gpalmer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1996/06/15 17:51:08 jkh Exp $
d15 1
a15 1
MAINTAINER=	pst@@freebsd.org
@


1.13
log
@Slight revision:  If startup file already there, leave it alone.
@
text
@d2 1
a2 1
# Version required:     1.0.5
d6 1
a6 1
# $Id: Makefile,v 1.12 1996/06/15 16:58:06 jkh Exp $
d9 2
a10 2
DISTNAME=       apache_1.0.5
PKGNAME=        apache-1.0.5
d12 2
a13 3
MASTER_SITES=	ftp://www.apache.org/apache/dist/ \
		ftp://www.apache.org/apache/dist/contrib/modules/
DISTFILES=      ${DISTNAME}.tar.gz mod_env.c
a17 3

post-extract:
	cp ${DISTDIR}/mod_env.c ${WRKSRC}/src
@


1.12
log
@Install an apache.sh startup file in /usr/local/etc/rc.d/

Now that apache_httpd is gone from /etc/sysconfig, this is the canonical
way to make apache start automatically in a new system installation.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1996/05/20 07:37:06 asami Exp $
d24 6
a29 4
	@@echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."
	@@echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh
	@@echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh
	@@chmod 751 ${PREFIX}/etc/rc.d/apache.sh
@


1.11
log
@Variable reorderization.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1996/05/19 22:21:42 ache Exp $
d22 6
@


1.10
log
@Use mod_env.c to pass environment to CGI instead of local hack
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1996/04/21 08:54:24 pst Exp $
d11 3
a14 4
EXTRACT_ONLY=   ${DISTNAME}.tar.gz
CATEGORIES+=	www
MASTER_SITES=	ftp://www.apache.org/apache/dist/
MASTER_SITES+=  ftp://www.apache.org/apache/dist/contrib/modules/
d17 2
@


1.9
log
@Update to Apache 1.0.5 (security fix)
@
text
@d1 2
a2 2
# New ports collection makefile for:    apache
# Version required:     1.0.3
d6 1
a6 1
# $Id: Makefile,v 1.8 1996/02/22 21:54:58 ache Exp $
d11 2
d15 1
a15 5
MASTER_SITES+=	ftp://gd.tuwien.ac.at/pub/infosys/servers/http/apache/dist/
MASTER_SITES+=	ftp://ftp.uni-regensburg.de/pub/comp/infosystems/www/daemons/apache/dist/
MASTER_SITES+=	ftp://Bond.edu.au/pub/apache/dist/
MASTER_SITES+=	ftp://sunsite.mff.cuni.cz/Net/Infosystems/WWW/Servers/Apache/dist/
MASTER_SITES+=	ftp://ftp.ast.cam.ac.uk/pub/WWW/apache/
d18 3
@


1.8
log
@Upgrade to 1.0.3
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/02/07 03:15:26 jfieber Exp $
d9 2
a10 2
DISTNAME=       apache_1.0.3
PKGNAME=        apache-1.0.3
@


1.7
log
@Upgrade to 1.0.2.
@
text
@d2 1
a2 1
# Version required:     1
d6 1
a6 1
# $Id: Makefile,v 1.6 1995/12/04 12:56:18 jfieber Exp $
d9 2
a10 2
DISTNAME=	apache_1.0.2
PKGNAME=	apache-1.0.2
@


1.6
log
@Fix MASTER_SITES.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1995/12/02 23:07:08 jfieber Exp $
d9 2
a10 2
DISTNAME=	apache_1.0.0
PKGNAME=	apache-1.0.0
@


1.5
log
@Update to 1.0
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1995/11/27 04:10:09 asami Exp $
d12 6
a17 1
MASTER_SITES=	ftp://ftp.ast.cam.ac.uk/pub/WWW/apache/
@


1.4
log
@Change categories to "www".  gn has "net" in there too.
@
text
@d2 1
a2 1
# Version required:     08
d6 1
a6 1
# $Id: Makefile,v 1.3 1995/09/23 18:47:45 pst Exp $
d9 2
a10 2
DISTNAME=	apache_0.8.14
PKGNAME=	apache-0.8.14
@


1.3
log
@Upgrade apache to 0.8.14, completely restructure port, and list myself as
maintainer.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1995/08/28 13:28:45 jkh Exp $
d11 1
a11 1
CATEGORIES+=	networking
@


1.2
log
@Upgrade apache to 0.8.13
@
text
@d2 1
a2 1
# Version required:     08.13
d9 2
a10 2
DISTNAME=	apache_0.8.13
PKGNAME=	apache-0.8.13
d13 2
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:     08.11
d6 1
a6 1
# $Id$
d9 2
a10 2
DISTNAME=	apache_0.8.11
PKGNAME=	apache-0.8.11
@


1.1.1.1
log
@Port of the APACHE web server.
Submitted by:	"Eric L. Hernes" <erich@@lodgenet.com>
@
text
@@
