View | Details | Raw Unified | Return to bug 57399
Collapse All | Expand All

(-)php4/Makefile (-39 / +27 lines)
Lines 20-26 Link Here
20
#
20
#
21
21
22
PORTNAME=	php4
22
PORTNAME=	php4
23
PORTVERSION=	4.3.3
23
PORTVERSION=	4.3.4.r1
24
PORTREVISION=	0
24
PORTREVISION=	0
25
CATEGORIES?=	lang devel www
25
CATEGORIES?=	lang devel www
26
MASTER_SITES=	http://www.php.net/distributions/:release \
26
MASTER_SITES=	http://www.php.net/distributions/:release \
Lines 45-51 Link Here
45
.endif
45
.endif
46
.endif
46
.endif
47
DISTNAME=	php-${PORTVERSION:S/.r/RC/}
47
DISTNAME=	php-${PORTVERSION:S/.r/RC/}
48
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:release
48
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:rc
49
49
50
MAINTAINER?=	sysadmin@alexdupre.com
50
MAINTAINER?=	sysadmin@alexdupre.com
51
COMMENT=	PHP Scripting Language (Apache Module and CLI)
51
COMMENT=	PHP Scripting Language (Apache Module and CLI)
Lines 65-71 Link Here
65
USE_SUBMAKE=	yes
65
USE_SUBMAKE=	yes
66
GNU_CONFIGURE=	yes
66
GNU_CONFIGURE=	yes
67
USE_BISON=	yes
67
USE_BISON=	yes
68
USE_LIBTOOL_VER=14
69
68
70
CONFIGURE_ARGS=	--enable-versioning \
69
CONFIGURE_ARGS=	--enable-versioning \
71
		--enable-memory-limit \
70
		--enable-memory-limit \
Lines 112-117 Link Here
112
CONFIGURE_ARGS+=--disable-cli
111
CONFIGURE_ARGS+=--disable-cli
113
PLIST_SUB+=	CLI="@comment "
112
PLIST_SUB+=	CLI="@comment "
114
.else
113
.else
114
.if !defined(WITHOUT_PEAR)
115
CONFIGURE_ARGS+=--with-pear
116
PLIST_SUB+=	PEAR=""
117
.else
118
PLIST_SUB+=	PEAR="@comment "
119
.endif
115
MAN1=		php.1
120
MAN1=		php.1
116
PLIST_SUB+=	CLI=""
121
PLIST_SUB+=	CLI=""
117
.endif
122
.endif
Lines 119-131 Link Here
119
SAPI_FILE=	"bin/php"
124
SAPI_FILE=	"bin/php"
120
.endif
125
.endif
121
126
122
ALL_OPTIONS=	BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DBASE DBX DOMXML \
127
ALL_OPTIONS=	BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \
123
		DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP HYPERWAVE \
128
		DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP \
124
		ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE MCRYPT MHASH \
129
		HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \
125
		MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE OVERLOAD PCNTL \
130
		MCRYPT MHASH MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE \
126
		PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE RECODE SESSION \
131
		OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE \
127
		SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER \
132
		RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM \
128
		UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB
133
		SYSVSHM TOKENIZER UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB
129
134
130
.for opt in ${ALL_OPTIONS}
135
.for opt in ${ALL_OPTIONS}
131
.if defined(WITH_${opt}) || defined(WITHOUT_${opt})
136
.if defined(WITH_${opt}) || defined(WITHOUT_${opt})
Lines 203-209 Link Here
203
.include "${WRKDIR}/Makefile.inc"
208
.include "${WRKDIR}/Makefile.inc"
204
.endif
209
.endif
205
210
206
.if defined(WITH_CDB) || defined(WITH_GDBM) || defined(WITH_INIFILE)
211
.if defined(WITH_CDB) || defined(WITH_DB4) || defined(WITH_GDBM) || defined(WITH_INIFILE)
207
WITH_DBA=	yes
212
WITH_DBA=	yes
208
.endif
213
.endif
209
214
Lines 215-222 Link Here
215
WITH_ICONV_DEP=	yes
220
WITH_ICONV_DEP=	yes
216
.endif
221
.endif
217
222
218
.if defined(WITH_SNMP)
223
.if defined(WITH_MCVE) || defined(WITH_SNMP)
219
WITH_OPENSSL=	yes
224
WITH_OPENSSL_DEP=	yes
220
.endif
225
.endif
221
226
222
.if defined(WITH_XMLRPC) || defined(WITH_XSLT)
227
.if defined(WITH_XMLRPC) || defined(WITH_XSLT)
Lines 264-269 Link Here
264
CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
269
CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
265
.endif
270
.endif
266
271
272
.if defined(WITH_DB4)
273
LIB_DEPENDS+=	db4.0:${PORTSDIR}/databases/db4
274
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
275
.endif
276
267
.if defined(WITH_DBA)
277
.if defined(WITH_DBA)
268
CONFIGURE_ARGS+=--enable-dba
278
CONFIGURE_ARGS+=--enable-dba
269
.endif
279
.endif
Lines 410-422 Link Here
410
.endif
420
.endif
411
421
412
.if defined(WITH_MYSQL)
422
.if defined(WITH_MYSQL)
413
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
423
USE_MYSQL=	yes
414
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
415
.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
416
LIB_DEPENDS+=	mysqlclient.14:${PORTSDIR}/databases/mysql41-client
417
.else
418
LIB_DEPENDS+=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
419
.endif
420
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
424
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
421
.endif
425
.endif
422
426
Lines 431-459 Link Here
431
.endif
435
.endif
432
436
433
.if defined(WITH_OPENLDAP)
437
.if defined(WITH_OPENLDAP)
434
.if exists(${LOCALBASE}/lib/libldap.so.1)
438
USE_OPENLDAP=	yes
435
LIB_DEPENDS+=	ldap.1:${PORTSDIR}/net/openldap12
436
.elif exists(${LOCALBASE}/lib/libldap.so.2)
437
.if exists(${LOCALBASE}/include/srchpref.h)
438
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20-client
439
.elif exists(${LOCALBASE}/include/slapi-plugin.h)
440
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap22-client
441
.else
442
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap21-client
443
.endif
444
.else
445
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap22-client
446
.endif
447
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
439
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
448
.endif
440
.endif
449
441
450
.if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
442
.if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
451
.if exists(${LOCALBASE}/lib/libcrypto.so.3)
443
USE_OPENSSL=	yes
452
OPENSSLBASE=	${LOCALBASE}
444
CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE}
453
LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
454
.else
455
OPENSSLBASE=	/usr
456
.endif
457
.endif
445
.endif
458
446
459
.if defined(WITH_OPENSSL)
447
.if defined(WITH_OPENSSL)
(-)php4/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (php-4.3.3.tar.bz2) = 1171d96104e2ff2cff9e19789a4a1536
1
MD5 (php-4.3.4RC1.tar.bz2) = f7ff7bf763f917b9f955e19caf77c1f1
(-)php4/files/patch-configure (-1 / +1 lines)
Lines 228-234 Link Here
228
@@ -58977,8 +59151,8 @@
228
@@ -58977,8 +59151,8 @@
229
   
229
   
230
   echo $ac_n "checking Oracle version""... $ac_c" 1>&6
230
   echo $ac_n "checking Oracle version""... $ac_c" 1>&6
231
 echo "configure:58982: checking Oracle version" >&5
231
 echo "configure:59852: checking Oracle version" >&5
232
-  if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
232
-  if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
233
-  	ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/  */:/g' | cut -d: -f 6 | cut -c 2-4`
233
-  	ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/  */:/g' | cut -d: -f 6 | cut -c 2-4`
234
+  if test -s "$ORACLE_DIR/ocommon/install/partial.prd"; then
234
+  if test -s "$ORACLE_DIR/ocommon/install/partial.prd"; then
(-)php4/pkg-plist (-34 / +34 lines)
Lines 1-4 Link Here
1
%%CLI%%bin/pear
1
%%CLI%%%%PEAR%%bin/pear
2
%%CLI%%bin/php
2
%%CLI%%bin/php
3
bin/php-config
3
bin/php-config
4
bin/phpextdist
4
bin/phpextdist
Lines 201-231 Link Here
201
%%SAPI_FILE%%
201
%%SAPI_FILE%%
202
%%APACHE%%@exec %D/sbin/apxs -e -a -n php4 %f
202
%%APACHE%%@exec %D/sbin/apxs -e -a -n php4 %f
203
%%APACHE%%@unexec %D/sbin/apxs -e -A -n php4 %f
203
%%APACHE%%@unexec %D/sbin/apxs -e -A -n php4 %f
204
%%CLI%%share/pear/bootstrap/Archive/Tar.php
204
%%CLI%%%%PEAR%%share/pear/bootstrap/Archive/Tar.php
205
%%CLI%%share/pear/bootstrap/PEAR.php
205
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR.php
206
%%CLI%%share/pear/bootstrap/System.php
206
%%CLI%%%%PEAR%%share/pear/bootstrap/System.php
207
%%CLI%%share/pear/bootstrap/Console/Getopt.php
207
%%CLI%%%%PEAR%%share/pear/bootstrap/Console/Getopt.php
208
%%CLI%%share/pear/bootstrap/OS/Guess.php
208
%%CLI%%%%PEAR%%share/pear/bootstrap/OS/Guess.php
209
%%CLI%%share/pear/bootstrap/PEAR/Command/Auth.php
209
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Auth.php
210
%%CLI%%share/pear/bootstrap/PEAR/Command/Build.php
210
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Build.php
211
%%CLI%%share/pear/bootstrap/PEAR/Command/Common.php
211
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Common.php
212
%%CLI%%share/pear/bootstrap/PEAR/Command/Config.php
212
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Config.php
213
%%CLI%%share/pear/bootstrap/PEAR/Command/Install.php
213
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Install.php
214
%%CLI%%share/pear/bootstrap/PEAR/Command/Mirror.php
214
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Mirror.php
215
%%CLI%%share/pear/bootstrap/PEAR/Command/Package.php
215
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Package.php
216
%%CLI%%share/pear/bootstrap/PEAR/Command/Registry.php
216
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Registry.php
217
%%CLI%%share/pear/bootstrap/PEAR/Command/Remote.php
217
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command/Remote.php
218
%%CLI%%share/pear/bootstrap/PEAR/Autoloader.php
218
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Autoloader.php
219
%%CLI%%share/pear/bootstrap/PEAR/Builder.php
219
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Builder.php
220
%%CLI%%share/pear/bootstrap/PEAR/Command.php
220
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Command.php
221
%%CLI%%share/pear/bootstrap/PEAR/Common.php
221
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Common.php
222
%%CLI%%share/pear/bootstrap/PEAR/Config.php
222
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Config.php
223
%%CLI%%share/pear/bootstrap/PEAR/Dependency.php
223
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Dependency.php
224
%%CLI%%share/pear/bootstrap/PEAR/Installer.php
224
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Installer.php
225
%%CLI%%share/pear/bootstrap/PEAR/Packager.php
225
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Packager.php
226
%%CLI%%share/pear/bootstrap/PEAR/Registry.php
226
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Registry.php
227
%%CLI%%share/pear/bootstrap/PEAR/Remote.php
227
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Remote.php
228
%%CLI%%share/pear/bootstrap/PEAR/Frontend/CLI.php
228
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Frontend/CLI.php
229
@dirrm include/php/TSRM
229
@dirrm include/php/TSRM
230
@dirrm include/php/Zend
230
@dirrm include/php/Zend
231
@dirrm include/php/ext/mbstring
231
@dirrm include/php/ext/mbstring
Lines 241-251 Link Here
241
@unexec rmdir %D/lib/php/%%EXT_DIR%% 2> /dev/null || true
241
@unexec rmdir %D/lib/php/%%EXT_DIR%% 2> /dev/null || true
242
@dirrm lib/php/build
242
@dirrm lib/php/build
243
@unexec rmdir %D/lib/php 2> /dev/null || true
243
@unexec rmdir %D/lib/php 2> /dev/null || true
244
%%CLI%%@dirrm share/pear/bootstrap/Archive
244
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/Archive
245
%%CLI%%@dirrm share/pear/bootstrap/Console
245
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/Console
246
%%CLI%%@dirrm share/pear/bootstrap/OS
246
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/OS
247
%%CLI%%@dirrm share/pear/bootstrap/PEAR/Command
247
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR/Command
248
%%CLI%%@dirrm share/pear/bootstrap/PEAR/Frontend
248
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR/Frontend
249
%%CLI%%@dirrm share/pear/bootstrap/PEAR
249
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR
250
%%CLI%%@dirrm share/pear/bootstrap
250
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap
251
%%CLI%%@unexec rmdir %D/share/pear 2> /dev/null || true
251
%%CLI%%%%PEAR%%@unexec rmdir %D/share/pear 2> /dev/null || true
(-)php4/scripts/configure.php (-1 / +2 lines)
Lines 25-30 Link Here
25
CRACK		"crack support" ${WITH_CRACK:-OFF} \
25
CRACK		"crack support" ${WITH_CRACK:-OFF} \
26
CTYPE		"ctype functions" ${WITH_CTYPE:-OFF} \
26
CTYPE		"ctype functions" ${WITH_CTYPE:-OFF} \
27
CURL		"CURL support" ${WITH_CURL:-OFF} \
27
CURL		"CURL support" ${WITH_CURL:-OFF} \
28
DB4		"Berkeley DB4 support" ${WITH_DB4:-OFF} \
28
DBASE		"dBase library support" ${WITH_DBASE:-OFF} \
29
DBASE		"dBase library support" ${WITH_DBASE:-OFF} \
29
DBX		"dbx support" ${WITH_DBX:-OFF} \
30
DBX		"dbx support" ${WITH_DBX:-OFF} \
30
DOMXML		"DOM support" ${WITH_DOMXML:-OFF} \
31
DOMXML		"DOM support" ${WITH_DOMXML:-OFF} \
Lines 44-50 Link Here
44
INTERBASE	"Interbase 6 database support (Firebird)" ${WITH_INTERBASE:-OFF} \
45
INTERBASE	"Interbase 6 database support (Firebird)" ${WITH_INTERBASE:-OFF} \
45
MBSTRING	"multibyte string support" ${WITH_MBSTRING:-OFF} \
46
MBSTRING	"multibyte string support" ${WITH_MBSTRING:-OFF} \
46
MCAL		"Modular Calendar Access Library support" ${WITH_MCAL:-OFF} \
47
MCAL		"Modular Calendar Access Library support" ${WITH_MCAL:-OFF} \
47
MCVE		"MCVE support" ${WITH_MCVE:-OFF} \
48
MCVE		"MCVE support (implies OPENSSL)" ${WITH_MCVE:-OFF} \
48
MCRYPT		"Encryption support" ${WITH_MCRYPT:-OFF} \
49
MCRYPT		"Encryption support" ${WITH_MCRYPT:-OFF} \
49
MHASH		"Crypto-hashing support" ${WITH_MHASH:-OFF} \
50
MHASH		"Crypto-hashing support" ${WITH_MHASH:-OFF} \
50
MIME		"mime_magic support" ${WITH_MIME:-OFF} \
51
MIME		"mime_magic support" ${WITH_MIME:-OFF} \
(-)php4/scripts/php4_options (+1 lines)
Lines 5-10 Link Here
5
WITH_CRACK=OFF
5
WITH_CRACK=OFF
6
WITH_CTYPE=ON
6
WITH_CTYPE=ON
7
WITH_CURL=OFF
7
WITH_CURL=OFF
8
WITH_DB4=OFF
8
WITH_DBASE=OFF
9
WITH_DBASE=OFF
9
WITH_DBX=OFF
10
WITH_DBX=OFF
10
WITH_DOMXML=OFF
11
WITH_DOMXML=OFF

Return to bug 57399