From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 11 15:20:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 524DC1065676 for ; Sun, 11 Mar 2012 15:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC7A98FC18 for ; Sun, 11 Mar 2012 15:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2BFKAWB032915 for ; Sun, 11 Mar 2012 15:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2BFKAAv032914; Sun, 11 Mar 2012 15:20:10 GMT (envelope-from gnats) Resent-Date: Sun, 11 Mar 2012 15:20:10 GMT Resent-Message-Id: <201203111520.q2BFKAAv032914@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Svyatoslav Lempert Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47CF61065670 for ; Sun, 11 Mar 2012 15:15:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6438FC08 for ; Sun, 11 Mar 2012 15:15:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2BFF4xG071870 for ; Sun, 11 Mar 2012 15:15:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2BFF4uD071864; Sun, 11 Mar 2012 15:15:04 GMT (envelope-from nobody) Message-Id: <201203111515.q2BFF4uD071864@red.freebsd.org> Date: Sun, 11 Mar 2012 15:15:04 GMT From: Svyatoslav Lempert To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/165933: [new port] lang/php54 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 15:20:12 -0000 >Number: 165933 >Category: ports >Synopsis: [new port] lang/php54 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 11 15:20:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Svyatoslav Lempert >Release: 8.2-STABLE >Organization: >Environment: >Description: PHP 5.4, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. See .shar file for lang/php54 and all slave ports. Also you should apply patch to bsd.php.mk for php-extensions --- bsd.php.mk.old 2012-03-11 05:41:17.000000000 +0000 +++ bsd.php.mk 2012-03-11 05:41:22.000000000 +0000 @@ -255,6 +255,9 @@ _USE_PHP_VER52= ${_USE_PHP_ALL} dbase ncurses dom filter ming mysqli oci8 \ pdo pdo_mysql pdo_sqlite simplexml soap spl sqlite tidy \ xmlreader xmlwriter xsl mhash +_USE_PHP_VER54= ${_USE_PHP_ALL} dom filter mysqli pdo \ + pdo_mysql pdo_pgsql pdo_sqlite phar \ + simplexml soap spl sqlite3 tidy xmlreader xmlwriter xsl apc_DEPENDS= www/pecl-APC bcmath_DEPENDS= math/php${PHP_VER}-bcmath Please review this port. >How-To-Repeat: >Fix: .shar to /usr/ports in attachment Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./archivers # ./archivers/php54-bz2 # ./archivers/php54-bz2/Makefile # ./archivers/php54-phar # ./archivers/php54-phar/files # ./archivers/php54-phar/files/patch-config.m4 # ./archivers/php54-phar/files/patch-phar.c # ./archivers/php54-phar/Makefile # ./archivers/php54-zip # ./archivers/php54-zip/files # ./archivers/php54-zip/files/patch-config.m4 # ./archivers/php54-zip/Makefile # ./archivers/php54-zlib # ./archivers/php54-zlib/Makefile # ./converters # ./converters/php54-iconv # ./converters/php54-iconv/Makefile # ./converters/php54-mbstring # ./converters/php54-mbstring/files # ./converters/php54-mbstring/files/patch-config.m4 # ./converters/php54-mbstring/Makefile # ./converters/php54-recode # ./converters/php54-recode/Makefile # ./databases # ./databases/php54-dba # ./databases/php54-dba/files # ./databases/php54-dba/files/patch-config.m4 # ./databases/php54-dba/Makefile # ./databases/php54-interbase # ./databases/php54-interbase/Makefile # ./databases/php54-mssql # ./databases/php54-mssql/Makefile # ./databases/php54-mysql # ./databases/php54-mysql/Makefile # ./databases/php54-mysqli # ./databases/php54-mysqli/files # ./databases/php54-mysqli/files/patch-php_mysqli_structs.h # ./databases/php54-mysqli/Makefile # ./databases/php54-odbc # ./databases/php54-odbc/files # ./databases/php54-odbc/files/patch-config.m4 # ./databases/php54-odbc/Makefile # ./databases/php54-pdo # ./databases/php54-pdo/Makefile # ./databases/php54-pdo_dblib # ./databases/php54-pdo_dblib/Makefile # ./databases/php54-pdo_firebird # ./databases/php54-pdo_firebird/Makefile # ./databases/php54-pdo_mysql # ./databases/php54-pdo_mysql/Makefile # ./databases/php54-pdo_odbc # ./databases/php54-pdo_odbc/Makefile # ./databases/php54-pdo_pgsql # ./databases/php54-pdo_pgsql/Makefile # ./databases/php54-pdo_sqlite # ./databases/php54-pdo_sqlite/Makefile # ./databases/php54-pgsql # ./databases/php54-pgsql/files # ./databases/php54-pgsql/files/patch-pgsql.c # ./databases/php54-pgsql/Makefile # ./databases/php54-sqlite3 # ./databases/php54-sqlite3/Makefile # ./databases/php54-sybase_ct # ./databases/php54-sybase_ct/Makefile # ./devel # ./devel/php54-gettext # ./devel/php54-gettext/files # ./devel/php54-gettext/files/patch-config.m4 # ./devel/php54-gettext/Makefile # ./devel/php54-json # ./devel/php54-json/Makefile # ./devel/php54-pcntl # ./devel/php54-pcntl/Makefile # ./devel/php54-readline # ./devel/php54-readline/files # ./devel/php54-readline/files/patch-config.m4 # ./devel/php54-readline/Makefile # ./devel/php54-shmop # ./devel/php54-shmop/Makefile # ./devel/php54-sysvmsg # ./devel/php54-sysvmsg/Makefile # ./devel/php54-sysvsem # ./devel/php54-sysvsem/Makefile # ./devel/php54-sysvshm # ./devel/php54-sysvshm/Makefile # ./devel/php54-tokenizer # ./devel/php54-tokenizer/Makefile # ./ftp # ./ftp/php54-curl # ./ftp/php54-curl/Makefile # ./ftp/php54-ftp # ./ftp/php54-ftp/Makefile # ./graphics # ./graphics/php54-exif # ./graphics/php54-exif/Makefile # ./graphics/php54-gd # ./graphics/php54-gd/files # ./graphics/php54-gd/files/patch-config.m4 # ./graphics/php54-gd/Makefile # ./lang # ./lang/php54 # ./lang/php54/distinfo # ./lang/php54/files # ./lang/php54/files/php-fpm.in # ./lang/php54/Makefile # ./lang/php54/Makefile.ext # ./lang/php54/pkg-descr # ./lang/php54/pkg-message.mod # ./lang/php54/pkg-plist # ./lang/php54-extensions # ./lang/php54-extensions/Makefile # ./lang/php54-extensions/pkg-descr # ./mail # ./mail/php54-imap # ./mail/php54-imap/files # ./mail/php54-imap/files/patch-config.m4 # ./mail/php54-imap/Makefile # ./math # ./math/php54-bcmath # ./math/php54-bcmath/Makefile # ./math/php54-gmp # ./math/php54-gmp/Makefile # ./misc # ./misc/php54-calendar # ./misc/php54-calendar/Makefile # ./net # ./net/php54-ldap # ./net/php54-ldap/Makefile # ./net/php54-soap # ./net/php54-soap/files # ./net/php54-soap/files/patch-soap.c # ./net/php54-soap/Makefile # ./net/php54-sockets # ./net/php54-sockets/Makefile # ./net/php54-xmlrpc # ./net/php54-xmlrpc/Makefile # ./security # ./security/php54-filter # ./security/php54-filter/files # ./security/php54-filter/files/patch-config.m4 # ./security/php54-filter/Makefile # ./security/php54-hash # ./security/php54-hash/Makefile # ./security/php54-mcrypt # ./security/php54-mcrypt/Makefile # ./security/php54-openssl # ./security/php54-openssl/Makefile # ./sysutils # ./sysutils/php54-fileinfo # ./sysutils/php54-fileinfo/files # ./sysutils/php54-fileinfo/files/patch-config.m4 # ./sysutils/php54-fileinfo/Makefile # ./sysutils/php54-posix # ./sysutils/php54-posix/files # ./sysutils/php54-posix/files/patch-posix.c # ./sysutils/php54-posix/Makefile # ./textproc # ./textproc/php54-ctype # ./textproc/php54-ctype/Makefile # ./textproc/php54-dom # ./textproc/php54-dom/Makefile # ./textproc/php54-pspell # ./textproc/php54-pspell/Makefile # ./textproc/php54-simplexml # ./textproc/php54-simplexml/Makefile # ./textproc/php54-wddx # ./textproc/php54-wddx/files # ./textproc/php54-wddx/files/patch-config.m4 # ./textproc/php54-wddx/files/patch-wddx.c # ./textproc/php54-wddx/Makefile # ./textproc/php54-xml # ./textproc/php54-xml/files # ./textproc/php54-xml/files/patch-compat.c # ./textproc/php54-xml/Makefile # ./textproc/php54-xmlreader # ./textproc/php54-xmlreader/Makefile # ./textproc/php54-xmlwriter # ./textproc/php54-xmlwriter/Makefile # ./textproc/php54-xsl # ./textproc/php54-xsl/files # ./textproc/php54-xsl/files/patch-php_xsl.h # ./textproc/php54-xsl/Makefile # ./www # ./www/php54-session # ./www/php54-session/Makefile # ./www/php54-tidy # ./www/php54-tidy/Makefile # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./archivers mkdir -p ./archivers > /dev/null 2>&1 echo c - ./archivers/php54-bz2 mkdir -p ./archivers/php54-bz2 > /dev/null 2>&1 echo x - ./archivers/php54-bz2/Makefile sed 's/^X//' >./archivers/php54-bz2/Makefile << '76f3a8aad42248a4a89047c53115f634' X# New ports collection makefile for: php54-bz2 X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= archivers X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -bz2 X X.include "${MASTERDIR}/Makefile" 76f3a8aad42248a4a89047c53115f634 echo c - ./archivers/php54-phar mkdir -p ./archivers/php54-phar > /dev/null 2>&1 echo c - ./archivers/php54-phar/files mkdir -p ./archivers/php54-phar/files > /dev/null 2>&1 echo x - ./archivers/php54-phar/files/patch-config.m4 sed 's/^X//' >./archivers/php54-phar/files/patch-config.m4 << '897449cd76b676680e1a41c29be859ba' X--- config.m4.orig 2011-11-25 15:31:20.000000000 +0100 X+++ config.m4 2011-11-25 15:47:45.000000000 +0100 X@@ -4,8 +4,38 @@ X PHP_ARG_ENABLE(phar, for phar archive support, X [ --disable-phar Disable phar support], yes) X X+PHP_ARG_WITH(pcre-dir, pcre install prefix, X+[ --with-pcre-dir PHAR: pcre install prefix], no, no) X+ X+ X if test "$PHP_PHAR" != "no"; then X+ X+ dnl This is PECL build, check if bundled PCRE library is used X+ old_CPPFLAGS=$CPPFLAGS X+ CPPFLAGS=$INCLUDES X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=yes X+ ],[ X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=pecl X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X+ ],[ X+ PHP_PCRE_REGEX=no X+ ]) X+ ]) X+ X PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared) X+ PHP_HASH=yes X AC_MSG_CHECKING([for phar openssl support]) X if test "$PHP_HASH_SHARED" != "yes"; then X if test "$PHP_HASH" != "no"; then 897449cd76b676680e1a41c29be859ba echo x - ./archivers/php54-phar/files/patch-phar.c sed 's/^X//' >./archivers/php54-phar/files/patch-phar.c << '2382bbe0373710259399a39e33730c26' X--- phar.c.orig 2011-11-25 15:38:44.000000000 +0100 X+++ phar.c 2011-11-25 15:39:01.000000000 +0100 X@@ -3716,7 +3716,7 @@ X ZEND_MOD_OPTIONAL("openssl") X ZEND_MOD_OPTIONAL("zlib") X ZEND_MOD_OPTIONAL("standard") X-#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH) X+#if defined(HAVE_HASH) X ZEND_MOD_REQUIRED("hash") X #endif X #if HAVE_SPL 2382bbe0373710259399a39e33730c26 echo x - ./archivers/php54-phar/Makefile sed 's/^X//' >./archivers/php54-phar/Makefile << 'e77ad90e2b78ece35eba66e3f6fd68d0' X# New ports collection makefile for: php54-phar X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= archivers X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -phar X X.include "${MASTERDIR}/Makefile" e77ad90e2b78ece35eba66e3f6fd68d0 echo c - ./archivers/php54-zip mkdir -p ./archivers/php54-zip > /dev/null 2>&1 echo c - ./archivers/php54-zip/files mkdir -p ./archivers/php54-zip/files > /dev/null 2>&1 echo x - ./archivers/php54-zip/files/patch-config.m4 sed 's/^X//' >./archivers/php54-zip/files/patch-config.m4 << '95f72dbafd49b3d19801fc656c7de158' X--- config.m4.orig 2009-04-09 16:16:30.000000000 +0200 X+++ config.m4 2009-04-09 16:17:02.000000000 +0200 X@@ -65,6 +65,7 @@ X #endif X ],[ X PHP_PCRE_REGEX=pecl X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X ],[ X PHP_PCRE_REGEX=no X ]) 95f72dbafd49b3d19801fc656c7de158 echo x - ./archivers/php54-zip/Makefile sed 's/^X//' >./archivers/php54-zip/Makefile << '52aae55e0e3d520a81fae8a0b60a7ed1' X# New ports collection makefile for: php54-zip X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= archivers X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -zip X X.include "${MASTERDIR}/Makefile" 52aae55e0e3d520a81fae8a0b60a7ed1 echo c - ./archivers/php54-zlib mkdir -p ./archivers/php54-zlib > /dev/null 2>&1 echo x - ./archivers/php54-zlib/Makefile sed 's/^X//' >./archivers/php54-zlib/Makefile << '0dd403d0eda08c94bc58dca7e7cf4e2f' X# New ports collection makefile for: php54-zlib X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= archivers X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -zlib X X.include "${MASTERDIR}/Makefile" 0dd403d0eda08c94bc58dca7e7cf4e2f echo c - ./converters mkdir -p ./converters > /dev/null 2>&1 echo c - ./converters/php54-iconv mkdir -p ./converters/php54-iconv > /dev/null 2>&1 echo x - ./converters/php54-iconv/Makefile sed 's/^X//' >./converters/php54-iconv/Makefile << '6227c117b53c82b9c5323c70e66434f5' X# New ports collection makefile for: php54-iconv X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= converters X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -iconv X X.include "${MASTERDIR}/Makefile" 6227c117b53c82b9c5323c70e66434f5 echo c - ./converters/php54-mbstring mkdir -p ./converters/php54-mbstring > /dev/null 2>&1 echo c - ./converters/php54-mbstring/files mkdir -p ./converters/php54-mbstring/files > /dev/null 2>&1 echo x - ./converters/php54-mbstring/files/patch-config.m4 sed 's/^X//' >./converters/php54-mbstring/files/patch-config.m4 << '6925ed839cff95479412cce0a189d063' X--- config.m4.orig 2009-11-25 02:30:06.000000000 +0100 X+++ config.m4 2010-04-12 09:59:54.000000000 +0200 X@@ -43,6 +43,30 @@ X PHP_ADD_INCLUDE([$ext_builddir/$dir]) X done X X+ dnl This is PECL build, check if bundled PCRE library is used X+ old_CPPFLAGS=$CPPFLAGS X+ CPPFLAGS=$INCLUDES X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=yes X+ ],[ X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=pecl X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X+ ],[ X+ PHP_PCRE_REGEX=no X+ ]) X+ ]) X+ X if test "$ext_shared" = "no"; then X PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES) X out="php_config.h" X@@ -80,7 +104,6 @@ X int foo(int x, ...) { X va_list va; X va_start(va, x); X- va_arg(va, int); X va_arg(va, char *); X va_arg(va, double); X return 0; X@@ -347,6 +370,9 @@ X [ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix. X If DIR is not set, the bundled oniguruma will be used], no, no) X X+PHP_ARG_WITH(pcre-dir, pcre install prefix, X+[ --with-pcre-dir MBSTRING: pcre install prefix], no, no) X+ X if test "$PHP_MBSTRING" != "no"; then X AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support]) X 6925ed839cff95479412cce0a189d063 echo x - ./converters/php54-mbstring/Makefile sed 's/^X//' >./converters/php54-mbstring/Makefile << '25cca8120dbb9f297c1e6b4357ef6181' X# New ports collection makefile for: php54-mbstring X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= converters X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -mbstring X X.include "${MASTERDIR}/Makefile" 25cca8120dbb9f297c1e6b4357ef6181 echo c - ./converters/php54-recode mkdir -p ./converters/php54-recode > /dev/null 2>&1 echo x - ./converters/php54-recode/Makefile sed 's/^X//' >./converters/php54-recode/Makefile << '4fd5cbd77bb31098a9efb5a5fdd2eb5e' X# New ports collection makefile for: php54-recode X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= converters X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -recode X X.include "${MASTERDIR}/Makefile" 4fd5cbd77bb31098a9efb5a5fdd2eb5e echo c - ./databases mkdir -p ./databases > /dev/null 2>&1 echo c - ./databases/php54-dba mkdir -p ./databases/php54-dba > /dev/null 2>&1 echo c - ./databases/php54-dba/files mkdir -p ./databases/php54-dba/files > /dev/null 2>&1 echo x - ./databases/php54-dba/files/patch-config.m4 sed 's/^X//' >./databases/php54-dba/files/patch-config.m4 << 'c4bd3eefab746b2ac4779396784b2fd2' X--- config.m4.orig 2011-06-27 22:28:30.000000000 +0200 X+++ config.m4 2011-08-26 09:32:43.000000000 +0200 X@@ -285,6 +285,50 @@ X THIS_PREFIX=$i X THIS_INCLUDE=$i/db4/db.h X break X+ elif test -f "$i/include/db5/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db5/db.h X+ break X+ elif test -f "$i/include/db51/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db51/db.h X+ break X+ elif test -f "$i/include/db50/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db50/db.h X+ break X+ elif test -f "$i/include/db48/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db48/db.h X+ break X+ elif test -f "$i/include/db47/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db47/db.h X+ break X+ elif test -f "$i/include/db46/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db46/db.h X+ break X+ elif test -f "$i/include/db45/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db45/db.h X+ break X+ elif test -f "$i/include/db44/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db44/db.h X+ break X+ elif test -f "$i/include/db43/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db43/db.h X+ break X+ elif test -f "$i/include/db42/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db42/db.h X+ break X+ elif test -f "$i/include/db41/db.h"; then X+ THIS_PREFIX=$i X+ THIS_INCLUDE=$i/include/db41/db.h X+ break X elif test -f "$i/include/db5.1/db.h"; then X THIS_PREFIX=$i X THIS_INCLUDE=$i/include/db5.1/db.h X@@ -327,7 +371,7 @@ X break X fi X done X- PHP_DBA_DB_CHECK(4, db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) X+ PHP_DBA_DB_CHECK(4, db-5.2 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)]) X fi X PHP_DBA_STD_RESULT(db4,Berkeley DB4) X c4bd3eefab746b2ac4779396784b2fd2 echo x - ./databases/php54-dba/Makefile sed 's/^X//' >./databases/php54-dba/Makefile << '65f5a2f0103c1df59842b89d44822852' X# New ports collection makefile for: php54-dba X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -dba X X.include "${MASTERDIR}/Makefile" 65f5a2f0103c1df59842b89d44822852 echo c - ./databases/php54-interbase mkdir -p ./databases/php54-interbase > /dev/null 2>&1 echo x - ./databases/php54-interbase/Makefile sed 's/^X//' >./databases/php54-interbase/Makefile << '131edad24ec06c8c5c958e9f9551d1f9' X# New ports collection makefile for: php54-interbase X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -interbase X X.include "${MASTERDIR}/Makefile" 131edad24ec06c8c5c958e9f9551d1f9 echo c - ./databases/php54-mssql mkdir -p ./databases/php54-mssql > /dev/null 2>&1 echo x - ./databases/php54-mssql/Makefile sed 's/^X//' >./databases/php54-mssql/Makefile << '6423fb47f38bee7eb4fd14698e1346de' X# New ports collection makefile for: php54-mssql X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -mssql X X.include "${MASTERDIR}/Makefile" 6423fb47f38bee7eb4fd14698e1346de echo c - ./databases/php54-mysql mkdir -p ./databases/php54-mysql > /dev/null 2>&1 echo x - ./databases/php54-mysql/Makefile sed 's/^X//' >./databases/php54-mysql/Makefile << 'd7d493f083e50ac8bfc3b5aa4866a372' X# New ports collection makefile for: php54-mysql X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -mysql X X.include "${MASTERDIR}/Makefile" d7d493f083e50ac8bfc3b5aa4866a372 echo c - ./databases/php54-mysqli mkdir -p ./databases/php54-mysqli > /dev/null 2>&1 echo c - ./databases/php54-mysqli/files mkdir -p ./databases/php54-mysqli/files > /dev/null 2>&1 echo x - ./databases/php54-mysqli/files/patch-php_mysqli_structs.h sed 's/^X//' >./databases/php54-mysqli/files/patch-php_mysqli_structs.h << 'b0979a926dcabadbd18e0eab7b7b54d8' X--- php_mysqli_structs.h.orig 2010-07-26 15:52:54.000000000 +0200 X+++ php_mysqli_structs.h 2010-07-26 15:53:14.000000000 +0200 X@@ -54,6 +54,7 @@ X #define WE_HAD_MBSTATE_T X #endif X X+#define HAVE_ULONG 1 X #include X X #if !defined(HAVE_MBRLEN) && defined(WE_HAD_MBRLEN) b0979a926dcabadbd18e0eab7b7b54d8 echo x - ./databases/php54-mysqli/Makefile sed 's/^X//' >./databases/php54-mysqli/Makefile << '7547d47b380d96dedbffa86ece0e7ff7' X# New ports collection makefile for: php54-mysqli X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -mysqli X X.include "${MASTERDIR}/Makefile" 7547d47b380d96dedbffa86ece0e7ff7 echo c - ./databases/php54-odbc mkdir -p ./databases/php54-odbc > /dev/null 2>&1 echo c - ./databases/php54-odbc/files mkdir -p ./databases/php54-odbc/files > /dev/null 2>&1 echo x - ./databases/php54-odbc/files/patch-config.m4 sed 's/^X//' >./databases/php54-odbc/files/patch-config.m4 << '0ede90827e267bb9fa23c8c2cb488f41' X--- config.m4.orig 2007-07-31 15:02:00.000000000 +0200 X+++ config.m4 2011-04-26 13:57:31.000000000 +0200 X@@ -99,9 +99,12 @@ X dnl X dnl configure options X dnl X+PHP_ARG_ENABLE(odbc,, X+[ --enable-odbc Enable ODBC support with selected driver]) X+ X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(adabas,, X-[ --with-adabas[=DIR] Include Adabas D support [/usr/local]]) X+[ --with-adabas[=DIR] Include Adabas D support [/usr/local]], no, no) X X if test "$PHP_ADABAS" != "no"; then X AC_MSG_CHECKING([for Adabas support]) X@@ -128,7 +131,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(sapdb,, X-[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]]) X+[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]], no, no) X X if test "$PHP_SAPDB" != "no"; then X AC_MSG_CHECKING([for SAP DB support]) X@@ -146,7 +149,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(solid,, X-[ --with-solid[=DIR] Include Solid support [/usr/local/solid]]) X+[ --with-solid[=DIR] Include Solid support [/usr/local/solid]], no, no) X X if test "$PHP_SOLID" != "no"; then X AC_MSG_CHECKING(for Solid support) X@@ -171,7 +174,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(ibm-db2,, X-[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]]) X+[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]], no, no) X X if test "$PHP_IBM_DB2" != "no"; then X AC_MSG_CHECKING(for IBM DB2 support) X@@ -208,7 +211,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(ODBCRouter,, X-[ --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]]) X+[ --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]], no, no) X X if test "$PHP_ODBCROUTER" != "no"; then X AC_MSG_CHECKING(for ODBCRouter.com support) X@@ -229,7 +232,7 @@ X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(empress,, X [ --with-empress[=DIR] Include Empress support [\$EMPRESSPATH] X- (Empress Version >= 8.60 required)]) X+ (Empress Version >= 8.60 required)], no, no) X X if test "$PHP_EMPRESS" != "no"; then X AC_MSG_CHECKING(for Empress support) X@@ -253,7 +256,7 @@ X PHP_ARG_WITH(empress-bcs,, X [ --with-empress-bcs[=DIR] X Include Empress Local Access support [\$EMPRESSPATH] X- (Empress Version >= 8.60 required)]) X+ (Empress Version >= 8.60 required)], no, no) X X if test "$PHP_EMPRESS_BCS" != "no"; then X AC_MSG_CHECKING(for Empress local access support) X@@ -291,7 +294,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(birdstep,, X-[ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]]) X+[ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]], no, no) X X if test "$PHP_BIRDSTEP" != "no"; then X AC_MSG_CHECKING(for Birdstep support) X@@ -346,7 +349,7 @@ X running this configure script: X CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\" X LDFLAGS=-lunix X- CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"]) X+ CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"], no, no) X X if test "$PHP_CUSTOM_ODBC" != "no"; then X AC_MSG_CHECKING(for a custom ODBC support) X@@ -366,7 +369,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(iodbc,, X-[ --with-iodbc[=DIR] Include iODBC support [/usr/local]]) X+[ --with-iodbc[=DIR] Include iODBC support [/usr/local]], no, no) X X if test "$PHP_IODBC" != "no"; then X AC_MSG_CHECKING(for iODBC support) X@@ -387,7 +390,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(esoob,, X-[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]]) X+[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]], no, no) X X if test "$PHP_ESOOB" != "no"; then X AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support) X@@ -407,7 +410,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(unixODBC,, X-[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]]) X+[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]], no, no) X X if test "$PHP_UNIXODBC" != "no"; then X AC_MSG_CHECKING(for unixODBC support) X@@ -428,7 +431,7 @@ X X if test -z "$ODBC_TYPE"; then X PHP_ARG_WITH(dbmaker,, X-[ --with-dbmaker[=DIR] Include DBMaker support]) X+[ --with-dbmaker[=DIR] Include DBMaker support], no, no) X X if test "$PHP_DBMAKER" != "no"; then X AC_MSG_CHECKING(for DBMaker support) 0ede90827e267bb9fa23c8c2cb488f41 echo x - ./databases/php54-odbc/Makefile sed 's/^X//' >./databases/php54-odbc/Makefile << '180556abe7a372f2cdd68f43fc3e53c9' X# New ports collection makefile for: php54-odbc X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -odbc X X.include "${MASTERDIR}/Makefile" 180556abe7a372f2cdd68f43fc3e53c9 echo c - ./databases/php54-pdo mkdir -p ./databases/php54-pdo > /dev/null 2>&1 echo x - ./databases/php54-pdo/Makefile sed 's/^X//' >./databases/php54-pdo/Makefile << 'f8bee87c42cd70cd01bc166f53bd2153' X# New ports collection makefile for: php54-pdo X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo X X.include "${MASTERDIR}/Makefile" f8bee87c42cd70cd01bc166f53bd2153 echo c - ./databases/php54-pdo_dblib mkdir -p ./databases/php54-pdo_dblib > /dev/null 2>&1 echo x - ./databases/php54-pdo_dblib/Makefile sed 's/^X//' >./databases/php54-pdo_dblib/Makefile << 'e3e49602234c874045938161790319cf' X# New ports collection makefile for: php54-pdo_dblib X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_dblib X X.include "${MASTERDIR}/Makefile" e3e49602234c874045938161790319cf echo c - ./databases/php54-pdo_firebird mkdir -p ./databases/php54-pdo_firebird > /dev/null 2>&1 echo x - ./databases/php54-pdo_firebird/Makefile sed 's/^X//' >./databases/php54-pdo_firebird/Makefile << '412fe9ab762f2f1f5faba5695837ade8' X# New ports collection makefile for: php54-pdo_firebird X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_firebird X X.include "${MASTERDIR}/Makefile" 412fe9ab762f2f1f5faba5695837ade8 echo c - ./databases/php54-pdo_mysql mkdir -p ./databases/php54-pdo_mysql > /dev/null 2>&1 echo x - ./databases/php54-pdo_mysql/Makefile sed 's/^X//' >./databases/php54-pdo_mysql/Makefile << 'f69112cfd3a96731509d185cc5027cd5' X# New ports collection makefile for: php54-pdo_mysql X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_mysql X X.include "${MASTERDIR}/Makefile" f69112cfd3a96731509d185cc5027cd5 echo c - ./databases/php54-pdo_odbc mkdir -p ./databases/php54-pdo_odbc > /dev/null 2>&1 echo x - ./databases/php54-pdo_odbc/Makefile sed 's/^X//' >./databases/php54-pdo_odbc/Makefile << '06ddb42b5148e6e8a365e4e013e43631' X# New ports collection makefile for: php54-pdo_odbc X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_odbc X X.include "${MASTERDIR}/Makefile" 06ddb42b5148e6e8a365e4e013e43631 echo c - ./databases/php54-pdo_pgsql mkdir -p ./databases/php54-pdo_pgsql > /dev/null 2>&1 echo x - ./databases/php54-pdo_pgsql/Makefile sed 's/^X//' >./databases/php54-pdo_pgsql/Makefile << '834f535c0c4b97b761bd2f7be0a19175' X# New ports collection makefile for: php54-pdo_pgsql X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_pgsql X X.include "${MASTERDIR}/Makefile" 834f535c0c4b97b761bd2f7be0a19175 echo c - ./databases/php54-pdo_sqlite mkdir -p ./databases/php54-pdo_sqlite > /dev/null 2>&1 echo x - ./databases/php54-pdo_sqlite/Makefile sed 's/^X//' >./databases/php54-pdo_sqlite/Makefile << 'd81f79ff1f6c054f54dddb2acb409491' X# New ports collection makefile for: php54-pdo_sqlite X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pdo_sqlite X X.include "${MASTERDIR}/Makefile" d81f79ff1f6c054f54dddb2acb409491 echo c - ./databases/php54-pgsql mkdir -p ./databases/php54-pgsql > /dev/null 2>&1 echo c - ./databases/php54-pgsql/files mkdir -p ./databases/php54-pgsql/files > /dev/null 2>&1 echo x - ./databases/php54-pgsql/files/patch-pgsql.c sed 's/^X//' >./databases/php54-pgsql/files/patch-pgsql.c << 'ce4dc080db2da443b5f909326d018e8d' X--- pgsql.c.orig 2010-01-03 10:23:27.000000000 +0100 X+++ pgsql.c 2010-03-08 11:00:26.000000000 +0100 X@@ -63,6 +63,7 @@ X #define PGSQL_MAX_LENGTH_OF_LONG 30 X #define PGSQL_MAX_LENGTH_OF_DOUBLE 60 X X+#if UINT_MAX > LONG_MAX X #define PGSQL_RETURN_OID(oid) do { \ X if (oid > LONG_MAX) { \ X smart_str s = {0}; \ X@@ -72,7 +73,9 @@ X } \ X RETURN_LONG((long)oid); \ X } while(0) X- X+#else X+#define PGSQL_RETURN_OID(oid) RETURN_LONG((long)oid) X+#endif X X #if HAVE_PQSETNONBLOCKING X #define PQ_SETNONBLOCKING(pg_link, flag) PQsetnonblocking(pg_link, flag) X@@ -728,7 +731,7 @@ X static int le_link, le_plink, le_result, le_lofp, le_string; X X /* {{{ _php_pgsql_trim_message */ X-static char * _php_pgsql_trim_message(const char *message, int *len) X+static char * _php_pgsql_trim_message(const char *message, size_t *len) X { X register int i = strlen(message)-1; X ce4dc080db2da443b5f909326d018e8d echo x - ./databases/php54-pgsql/Makefile sed 's/^X//' >./databases/php54-pgsql/Makefile << '1bafd894c60c024de26933ad74f104b2' X# New ports collection makefile for: php54-pgsql X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pgsql X X.include "${MASTERDIR}/Makefile" 1bafd894c60c024de26933ad74f104b2 echo c - ./databases/php54-sqlite3 mkdir -p ./databases/php54-sqlite3 > /dev/null 2>&1 echo x - ./databases/php54-sqlite3/Makefile sed 's/^X//' >./databases/php54-sqlite3/Makefile << '143cd121735cac414175065e4625eade' X# New ports collection makefile for: php54-sqlite3 X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sqlite3 X X.include "${MASTERDIR}/Makefile" 143cd121735cac414175065e4625eade echo c - ./databases/php54-sybase_ct mkdir -p ./databases/php54-sybase_ct > /dev/null 2>&1 echo x - ./databases/php54-sybase_ct/Makefile sed 's/^X//' >./databases/php54-sybase_ct/Makefile << '109d5a3f08850e296e64668af782523a' X# New ports collection makefile for: php54-sybase_ct X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= databases X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sybase_ct X X.include "${MASTERDIR}/Makefile" 109d5a3f08850e296e64668af782523a echo c - ./devel mkdir -p ./devel > /dev/null 2>&1 echo c - ./devel/php54-gettext mkdir -p ./devel/php54-gettext > /dev/null 2>&1 echo c - ./devel/php54-gettext/files mkdir -p ./devel/php54-gettext/files > /dev/null 2>&1 echo x - ./devel/php54-gettext/files/patch-config.m4 sed 's/^X//' >./devel/php54-gettext/files/patch-config.m4 << '120fb6dcf0c8fc3ef1dd8d91d556686b' X--- config.m4.orig Tue Jul 27 23:58:02 2004 X+++ config.m4 Tue Jul 27 23:59:44 2004 X@@ -30,7 +30,6 @@ X AC_MSG_ERROR(Unable to find required gettext library) X ]) X ) X- LDFLAGS=$O_LDFLAGS X X AC_DEFINE(HAVE_LIBINTL,1,[ ]) X PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared) X@@ -46,5 +45,6 @@ X AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dngettext, [AC_DEFINE(HAVE_DNGETTEXT, 1, [ ])]) X AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])]) X AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])]) X+ LDFLAGS=$O_LDFLAGS X X fi 120fb6dcf0c8fc3ef1dd8d91d556686b echo x - ./devel/php54-gettext/Makefile sed 's/^X//' >./devel/php54-gettext/Makefile << 'ef80d8d63ccd3744c3b8ee44b617ea9b' X# New ports collection makefile for: php54-gettext X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -gettext X X.include "${MASTERDIR}/Makefile" ef80d8d63ccd3744c3b8ee44b617ea9b echo c - ./devel/php54-json mkdir -p ./devel/php54-json > /dev/null 2>&1 echo x - ./devel/php54-json/Makefile sed 's/^X//' >./devel/php54-json/Makefile << '2d6acdb330c55e2f2dd2bbb3c0f07ae3' X# New ports collection makefile for: php54-json X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -json X X.include "${MASTERDIR}/Makefile" 2d6acdb330c55e2f2dd2bbb3c0f07ae3 echo c - ./devel/php54-pcntl mkdir -p ./devel/php54-pcntl > /dev/null 2>&1 echo x - ./devel/php54-pcntl/Makefile sed 's/^X//' >./devel/php54-pcntl/Makefile << 'b376b543bf597d3fdfb6ccf943d73c1b' X# New ports collection makefile for: php54-pcntl X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pcntl X X.include "${MASTERDIR}/Makefile" b376b543bf597d3fdfb6ccf943d73c1b echo c - ./devel/php54-readline mkdir -p ./devel/php54-readline > /dev/null 2>&1 echo c - ./devel/php54-readline/files mkdir -p ./devel/php54-readline/files > /dev/null 2>&1 echo x - ./devel/php54-readline/files/patch-config.m4 sed 's/^X//' >./devel/php54-readline/files/patch-config.m4 << '17e6d6ebf7950be3159e86a9979e2421' X--- config.m4.orig 2009-08-04 13:20:49.000000000 +0200 X+++ config.m4 2009-09-22 11:13:12.000000000 +0200 X@@ -5,13 +5,8 @@ X PHP_ARG_WITH(libedit,for libedit readline replacement, X [ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)]) X X-if test "$PHP_LIBEDIT" = "no"; then X PHP_ARG_WITH(readline,for readline support, X [ --with-readline[=DIR] Include readline support (CLI/CGI only)]) X-else X- dnl "register" the --with-readline option to preven invalid "unknown configure option" warning X- php_with_readline=no X-fi X X if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then X for i in $PHP_READLINE /usr/local /usr; do X@@ -60,6 +55,13 @@ X -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS X ]) X X+ PHP_CHECK_LIBRARY(readline, rl_completion_matches, X+ [ X+ AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ]) X+ ],[],[ X+ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS X+ ]) X+ X AC_DEFINE(HAVE_LIBREADLINE, 1, [ ]) X X elif test "$PHP_LIBEDIT" != "no"; then X@@ -97,7 +99,6 @@ X fi X X if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then X- AC_CHECK_FUNCS([rl_completion_matches]) X PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli) X PHP_SUBST(READLINE_SHARED_LIBADD) X fi 17e6d6ebf7950be3159e86a9979e2421 echo x - ./devel/php54-readline/Makefile sed 's/^X//' >./devel/php54-readline/Makefile << '112047c97f5a131fff2bef6f75bff573' X# New ports collection makefile for: php54-readline X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -readline X X.include "${MASTERDIR}/Makefile" 112047c97f5a131fff2bef6f75bff573 echo c - ./devel/php54-shmop mkdir -p ./devel/php54-shmop > /dev/null 2>&1 echo x - ./devel/php54-shmop/Makefile sed 's/^X//' >./devel/php54-shmop/Makefile << '7b7b031b2b522a41d0ea5020353265e0' X# New ports collection makefile for: php54-shmop X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -shmop X X.include "${MASTERDIR}/Makefile" 7b7b031b2b522a41d0ea5020353265e0 echo c - ./devel/php54-sysvmsg mkdir -p ./devel/php54-sysvmsg > /dev/null 2>&1 echo x - ./devel/php54-sysvmsg/Makefile sed 's/^X//' >./devel/php54-sysvmsg/Makefile << '513c15e0952ef93cfdf6fbed65a008c8' X# New ports collection makefile for: php54-sysvmsg X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sysvmsg X X.include "${MASTERDIR}/Makefile" 513c15e0952ef93cfdf6fbed65a008c8 echo c - ./devel/php54-sysvsem mkdir -p ./devel/php54-sysvsem > /dev/null 2>&1 echo x - ./devel/php54-sysvsem/Makefile sed 's/^X//' >./devel/php54-sysvsem/Makefile << '52083c544be175cf7c836f2f1b52811d' X# New ports collection makefile for: php54-sysvsem X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sysvsem X X.include "${MASTERDIR}/Makefile" 52083c544be175cf7c836f2f1b52811d echo c - ./devel/php54-sysvshm mkdir -p ./devel/php54-sysvshm > /dev/null 2>&1 echo x - ./devel/php54-sysvshm/Makefile sed 's/^X//' >./devel/php54-sysvshm/Makefile << 'f0066f80026939c7a528fa05d46f2f05' X# New ports collection makefile for: php54-sysvshm X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sysvshm X X.include "${MASTERDIR}/Makefile" f0066f80026939c7a528fa05d46f2f05 echo c - ./devel/php54-tokenizer mkdir -p ./devel/php54-tokenizer > /dev/null 2>&1 echo x - ./devel/php54-tokenizer/Makefile sed 's/^X//' >./devel/php54-tokenizer/Makefile << 'a5db8ddcfe956a6b91fe6cd47eeee3d9' X# New ports collection makefile for: php54-tokenizer X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= devel X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -tokenizer X X.include "${MASTERDIR}/Makefile" a5db8ddcfe956a6b91fe6cd47eeee3d9 echo c - ./ftp mkdir -p ./ftp > /dev/null 2>&1 echo c - ./ftp/php54-curl mkdir -p ./ftp/php54-curl > /dev/null 2>&1 echo x - ./ftp/php54-curl/Makefile sed 's/^X//' >./ftp/php54-curl/Makefile << 'ebaa5ac5cf96b7ef0ed43ccb29cfeb81' X# New ports collection makefile for: php54-curl X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= ftp X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -curl X X.include "${MASTERDIR}/Makefile" ebaa5ac5cf96b7ef0ed43ccb29cfeb81 echo c - ./ftp/php54-ftp mkdir -p ./ftp/php54-ftp > /dev/null 2>&1 echo x - ./ftp/php54-ftp/Makefile sed 's/^X//' >./ftp/php54-ftp/Makefile << '96c068f3f71105ac2fd72a7ce3f6bed2' X# New ports collection makefile for: php54-ftp X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= ftp X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -ftp X X.include "${MASTERDIR}/Makefile" 96c068f3f71105ac2fd72a7ce3f6bed2 echo c - ./graphics mkdir -p ./graphics > /dev/null 2>&1 echo c - ./graphics/php54-exif mkdir -p ./graphics/php54-exif > /dev/null 2>&1 echo x - ./graphics/php54-exif/Makefile sed 's/^X//' >./graphics/php54-exif/Makefile << '3ca9083ba1e1f0d72ee8041a2ddc8d3c' X# New ports collection makefile for: php54-exif X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= graphics X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -exif X X.include "${MASTERDIR}/Makefile" 3ca9083ba1e1f0d72ee8041a2ddc8d3c echo c - ./graphics/php54-gd mkdir -p ./graphics/php54-gd > /dev/null 2>&1 echo c - ./graphics/php54-gd/files mkdir -p ./graphics/php54-gd/files > /dev/null 2>&1 echo x - ./graphics/php54-gd/files/patch-config.m4 sed 's/^X//' >./graphics/php54-gd/files/patch-config.m4 << 'd5be7bea19ee265dad1ff3f7352d76e5' X--- config.m4.orig Mon May 30 01:16:41 2005 X+++ config.m4 Wed Dec 7 11:01:13 2005 X@@ -220,7 +220,7 @@ X ],[ X AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.]) X ],[ X- -L$GD_T1_DIR/$PHP_LIBDIR X+ -L$GD_T1_DIR/$PHP_LIBDIR -lm X ]) X fi X ]) d5be7bea19ee265dad1ff3f7352d76e5 echo x - ./graphics/php54-gd/Makefile sed 's/^X//' >./graphics/php54-gd/Makefile << '7ec1f65736ee1af97442a176a558c941' X# New ports collection makefile for: php54-gd X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= graphics X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -gd X X.include "${MASTERDIR}/Makefile" 7ec1f65736ee1af97442a176a558c941 echo c - ./lang mkdir -p ./lang > /dev/null 2>&1 echo c - ./lang/php54 mkdir -p ./lang/php54 > /dev/null 2>&1 echo x - ./lang/php54/distinfo sed 's/^X//' >./lang/php54/distinfo << '10cfa03e072262a5eebeba588e94854f' XSHA256 (php-5.4.0.tar.bz2) = 5a6402b53aeebaccdb28d314121a68c3962a46d43457c82249bc9f4aaf516a9d XSIZE (php-5.4.0.tar.bz2) = 11439508 XSHA256 (php-5.4.x-mail-header.patch) = 005ae1cd8ed17c72d7b09dee9c4466e8b16d4ecba7fe11276731ed6ff9fbb344 XSIZE (php-5.4.x-mail-header.patch) = 3379 10cfa03e072262a5eebeba588e94854f echo c - ./lang/php54/files mkdir -p ./lang/php54/files > /dev/null 2>&1 echo x - ./lang/php54/files/php-fpm.in sed 's/^X//' >./lang/php54/files/php-fpm.in << '33230a1c9ecb239917f2fb9eea7abb78' X#!/bin/sh X# X# X X# PROVIDE: php-fpm X# REQUIRE: LOGIN X# KEYWORD: shutdown X X# X# Add the following line to /etc/rc.conf to enable php-fpm: X# php_fpm_enable="YES" X# X X. /etc/rc.subr X Xname="php_fpm" Xrcvar=php_fpm_enable X Xload_rc_config "$name" X X: ${php_fpm_enable="NO"} X Xextra_commands="reload logrotate" X Xcommand="%%PREFIX%%/sbin/php-fpm" Xpidfile="/var/run/php-fpm.pid" Xsig_stop="QUIT" Xsig_reload="USR2" Xlogrotate_cmd="php_fpm_logrotate" X Xrequired_files="%%PREFIX%%/etc/php-fpm.conf" X Xphp_fpm_logrotate() { X if [ -z "$rc_pid" ]; then X _run_rc_notrunning X return 1 X fi X echo "Rotating logs $name." X kill -USR1 $rc_pid X} X Xrun_rc_command "$1" 33230a1c9ecb239917f2fb9eea7abb78 echo x - ./lang/php54/Makefile sed 's/^X//' >./lang/php54/Makefile << '96999bf17e294891f6eedc85e94d12e4' X# New ports collection makefile for: php54 X# Date created: Sun Mar 11 04:12:13 UTC 2012 X# Whom: Svyatoslav Lempert X# X# X XPORTNAME= php54 XPORTVERSION= 5.4.0 XCATEGORIES?= lang devel www XMASTER_SITES= ${MASTER_SITE_PHP} XMASTER_SITE_SUBDIR= distributions XDISTNAME= php-${PORTVERSION} X XMAINTAINER= svyatoslav.lempert@gmail.com XCOMMENT= PHP Scripting Language X XLATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} X XUSE_BZIP2= yes XMAKE_JOBS_SAFE= yes X.if !defined(PKGNAMESUFFIX) XUSE_AUTOTOOLS= autoconf X XLIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre X XCONFIGURE_ARGS= \ X --with-layout=GNU \ X --localstatedir=/var \ X --with-config-file-scan-dir=${PREFIX}/etc/php \ X --disable-all \ X --enable-libxml \ X --enable-mysqlnd \ X --with-libxml-dir=${LOCALBASE} \ X --with-pcre-regex=${LOCALBASE} \ X --with-zlib-dir=/usr \ X --program-prefix="" X XUSE_GNOME= libxml2 X XOPTIONS= CLI "Build CLI version" on \ X CGI "Build CGI version" on \ X FPM "Build FPM version (experimental)" off \ X APACHE "Build Apache module" off \ X AP2FILTER " Use Apache 2.x filter interface (experimental)" off \ X DEBUG "Enable debug" off \ X MULTIBYTE "Enable zend multibyte support" off \ X IPV6 "Enable ipv6 support" on \ X MAILHEAD "Enable mail header patch" off \ X XCONFLICTS= php4-4* php5-pcre-* php5-spl-* php52-* X XMAN1= php-config.1 phpize.1 X X.include X XPATCH_DIST_STRIP= -p1 X X.if defined(WITH_MAILHEAD) XPATCHFILES+= php-5.4.x-mail-header.patch XPATCH_SITES+= http://choon.net/opensource/php/ X.endif X X.if !defined(WITHOUT_CLI) XPHP_SAPI+= cli XPLIST_SUB+= CLI="" XMAN1+= php.1 X.else XPLIST_SUB+= CLI="@comment " XCONFIGURE_ARGS+=--disable-cli X.endif X X.if !defined(WITHOUT_CGI) XPHP_SAPI+= cgi XPLIST_SUB+= CGI="" X.else XPLIST_SUB+= CGI="@comment " XCONFIGURE_ARGS+=--disable-cgi X.endif X X.if defined(WITH_FPM) XPHP_SAPI+= fpm XMAN8+= php-fpm.8 XUSE_RC_SUBR+= php-fpm XCONFIGURE_ARGS+=--enable-fpm \ X --with-fpm-user=${WWWOWN} \ X --with-fpm-group=${WWWGRP} XPLIST_SUB+= FPM="" X.else XPLIST_SUB+= FPM="@comment " X.endif X X.if defined(WITH_APACHE) XPHP_SAPI+= mod XUSE_APACHE= 20+ X.include "${PORTSDIR}/Mk/bsd.apache.mk" X.if defined(WITH_AP2FILTER) XCONFIGURE_ARGS+=--with-apxs2filter=${APXS} X.else XCONFIGURE_ARGS+=--with-apxs2=${APXS} X.endif XPKGMESSAGE= ${PKGDIR}/pkg-message.mod XMODULENAME= lib${PORTNAME} XSHORTMODNAME= ${PORTNAME} XPLIST_SUB+= APACHE="" X.else XPLIST_SUB+= APACHE="@comment " X.endif X X.if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" XCONFIGURE_ARGS+=--with-regex=php X.elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system" XCONFIGURE_ARGS+=--with-regex=system X.endif X X.if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" XCONFIGURE_ARGS+=--with-zend-vm=CALL X.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" XCONFIGURE_ARGS+=--with-zend-vm=SWITCH X.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" XCONFIGURE_ARGS+=--with-zend-vm=GOTO X.endif X X.if defined(WITH_DEBUG) XCONFIGURE_ARGS+=--enable-debug X.endif X X.if defined(WITH_MULTIBYTE) XCONFIGURE_ARGS+=--enable-zend-multibyte X.endif X X.if defined(WITHOUT_IPV6) XCONFIGURE_ARGS+=--disable-ipv6 X.endif X Xpost-patch: X @${TOUCH} ${WRKSRC}/ext/php_config.h X @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* X.if defined(WITH_FPM) X @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ X ${WRKSRC}/sapi/fpm/php-fpm.conf.in X.endif X X# Work around issues with newer (>=2.64) autoconf Xpre-configure: X @${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ X ${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'` X @${RM} ${WRKSRC}/configure X @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 X Xpost-build: X @${ECHO_CMD} "PHP_VER=54" > ${WRKDIR}/php.conf X @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf X @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf X @${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf X Xtest: build X @(cd ${WRKSRC} && ${MAKE} test) X Xpost-install: X @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${PREFIX}/etc X @${INSTALL_DATA} ${WRKSRC}/php.ini-production ${PREFIX}/etc X @${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc X @${TOUCH} ${PREFIX}/include/php/ext/php_config.h X.if defined(WITH_FPM) X @${CP} -n ${PREFIX}/etc/php-fpm.conf.default ${PREFIX}/etc/php-fpm.conf X.endif X.if defined(WITH_APACHE) X @${CAT} ${PKGMESSAGE} X.endif X X.else X.include "${MASTERDIR}/Makefile.ext" X.endif X.include 96999bf17e294891f6eedc85e94d12e4 echo x - ./lang/php54/Makefile.ext sed 's/^X//' >./lang/php54/Makefile.ext << '77f2baa1b345d9a04b111b4798b01db3' XCOMMENT= The ${PHP_MODNAME} shared extension for php X XUSE_PHP= yes XUSE_PHPEXT= yes XPHP_MODNAME= ${PKGNAMESUFFIX:S/-//} XDEFAULT_PHP_VER=5 XIGNORE_WITH_PHP=4 52 X XEXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} XWRKSRC= ${WRKDIR}/${EXTSUBDIR} XPATCHDIR= ${.CURDIR}/files XPLIST= ${NONEXISTENT} X XEXTRACT_AFTER_ARGS?= | ${TAR} -xf - ${EXTSUBDIR} X X.if ${PHP_MODNAME} == "bcmath" XCONFIGURE_ARGS+=--enable-bcmath X XPHP_HEADER_DIRS=libbcmath libbcmath/src X.endif X X.if ${PHP_MODNAME} == "bz2" XCONFIGURE_ARGS+=--with-bz2=/usr X.endif X X.if ${PHP_MODNAME} == "calendar" XCONFIGURE_ARGS+=--enable-calendar X.endif X X.if ${PHP_MODNAME} == "ctype" XCONFIGURE_ARGS+=--enable-ctype X.endif X X.if ${PHP_MODNAME} == "curl" XLIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl X XCONFIGURE_ARGS+=--with-curl=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "dba" XCONFIGURE_ARGS+=--enable-dba X XOPTIONS= CDB "cdb database support" on \ X DB4 "Berkeley DB4 support" off \ X GDBM "GDBM database support" off \ X QDBM "QDBM database support" off \ X INIFILE "INI file support" on \ X FLATFILE "flatfile support" on X XPHP_HEADER_DIRS= libcdb libflatfile libinifile X.endif X X.if ${PHP_MODNAME} == "dom" XCONFIGURE_ARGS+=--enable-dom \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X.endif X X.if ${PHP_MODNAME} == "exif" XCONFIGURE_ARGS+=--enable-exif X.endif X X.if ${PHP_MODNAME} == "fileinfo" XCONFIGURE_ARGS+=--enable-fileinfo \ X --with-pcre-dir=${LOCALBASE} X XPHP_HEADER_DIRS= libmagic X.endif X X.if ${PHP_MODNAME} == "filter" XCONFIGURE_ARGS+=--enable-filter \ X --with-pcre-dir=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "ftp" XCONFIGURE_ARGS+=--enable-ftp \ X --with-openssl-dir=${OPENSSLBASE} X XLDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl XUSE_OPENSSL= yes X.endif X X.if ${PHP_MODNAME} == "gd" XLIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ X png.6:${PORTSDIR}/graphics/png \ X jpeg.11:${PORTSDIR}/graphics/jpeg X. if !defined(WITHOUT_X11) XUSE_XORG= xpm X. endif X XCONFIGURE_ARGS+=--with-gd \ X --with-freetype-dir=${LOCALBASE} \ X --with-jpeg-dir=${LOCALBASE} \ X --with-png-dir=${LOCALBASE} \ X --with-zlib-dir=/usr X. if !defined(WITHOUT_X11) XCONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} X. endif X XOPTIONS= T1LIB "Include T1lib support" on \ X TRUETYPE "Enable TrueType string function" on \ X JIS "Enable JIS-mapped Japanese font support" off X XPHP_HEADER_DIRS=libgd X.endif X X.if ${PHP_MODNAME} == "gettext" XCONFIGURE_ARGS+=--with-gettext=${LOCALBASE} X XUSE_GETTEXT= yes X.endif X X.if ${PHP_MODNAME} == "gmp" XLIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp X XCONFIGURE_ARGS+=--with-gmp=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "hash" XCONFIGURE_ARGS+=--enable-hash \ X --with-mhash X.endif X X.if ${PHP_MODNAME} == "iconv" XCONFIGURE_ARGS+=--with-iconv=${LOCALBASE} X XUSE_ICONV= yes X.endif X X.if ${PHP_MODNAME} == "imap" XLIB_DEPENDS+= c-client4.9:${PORTSDIR}/mail/cclient X XCONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ X --with-pcre-dir=${LOCALBASE} X.if !defined(WITHOUT_SSL) XCONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE} X XLDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl XUSE_OPENSSL= yes X.endif X.endif X X.if ${PHP_MODNAME} == "interbase" XCONFIGURE_ARGS+=--with-interbase=${LOCALBASE} X XUSE_FIREBIRD= yes X.endif X X.if ${PHP_MODNAME} == "json" XCONFIGURE_ARGS+=--enable-json X.endif X X.if ${PHP_MODNAME} == "ldap" XCONFIGURE_ARGS+=--with-ldap=${LOCALBASE} X XUSE_OPENLDAP= yes X X. ifdef(WANT_OPENLDAP_SASL) XCONFIGURE_ARGS+=--with-ldap-sasl X. endif X.endif X X.if ${PHP_MODNAME} == "mbstring" X XCONFIGURE_ARGS+=--enable-mbstring \ X --with-pcre-dir=${LOCALBASE} X XOPTIONS= REGEX "Enable multibyte regex support" on X XPHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls X.endif X X.if ${PHP_MODNAME} == "mcrypt" XLIB_DEPENDS+= mcrypt.8:${PORTSDIR}/security/libmcrypt X XCONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE} X XUSE_AUTOTOOLS= libltdl X.endif X X.if ${PHP_MODNAME} == "mssql" XLIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds-msdblib X XCONFIGURE_ARGS+=--with-mssql=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "mysql" XOPTIONS= MYSQLND "Use MySQL Native Driver" on X.endif X X.if ${PHP_MODNAME} == "mysqli" XOPTIONS= MYSQLND "Use MySQL Native Driver" on X.endif X X.if ${PHP_MODNAME} == "odbc" XCONFIGURE_ARGS+=--enable-odbc X XOPTIONS= IODBC "Use the iODBC driver instead of unixODBC" off X.endif X X.if ${PHP_MODNAME} == "openssl" XCONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} X XLDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl XUSE_OPENSSL= yes X.endif X X.if ${PHP_MODNAME} == "pcntl" XCONFIGURE_ARGS+=--enable-pcntl X.endif X X.if ${PHP_MODNAME} == "pdo" XCONFIGURE_ARGS+=--enable-pdo X.endif X X.if ${PHP_MODNAME} == "pdo_dblib" XCONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE} X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X XOPTIONS= MSSQL "Enable Microsoft SQL Server support" off X.endif X X.if ${PHP_MODNAME} == "pdo_firebird" XCONFIGURE_ARGS+=--with-pdo-firebird=${LOCALBASE} X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X XUSE_FIREBIRD= yes X.endif X X.if ${PHP_MODNAME} == "pdo_mysql" XOPTIONS= MYSQLND "Use MySQL Native Driver" on X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "pdo_odbc" XOPTIONS= IODBC "Use the iODBC driver instead of unixODBC" off X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "pdo_pgsql" XUSE_PGSQL= yes X XCONFIGURE_ARGS+=--with-pdo-pgsql=${LOCALBASE} X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "pdo_sqlite" XUSE_SQLITE= yes XCONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} X XUSE_PHP= pdo XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "pgsql" XUSE_PGSQL= yes X XCONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "phar" XCONFIGURE_ARGS+=--enable-phar \ X --with-pcre-dir=${LOCALBASE} X XUSE_PHP= hash XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "posix" XCONFIGURE_ARGS+=--enable-posix X.endif X X.if ${PHP_MODNAME} == "pspell" XLIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell X XCONFIGURE_ARGS+=--with-pspell=${LOCALBASE} X X# Ugly hack to load session before psell to avoid crashes XUSE_PHP= session XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "readline" XCONFIGURE_ARGS+=--with-readline=/usr X.endif X X.if ${PHP_MODNAME} == "recode" XLIB_DEPENDS+= recode.3:${PORTSDIR}/converters/recode X XCONFIGURE_ARGS+=--with-recode=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "session" XCONFIGURE_ARGS+=--enable-session X.endif X X.if ${PHP_MODNAME} == "shmop" XCONFIGURE_ARGS+=--enable-shmop X.endif X X.if ${PHP_MODNAME} == "simplexml" XCONFIGURE_ARGS+=--enable-simplexml \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X.endif X X.if ${PHP_MODNAME} == "snmp" XCONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \ X --with-openssl-dir=${OPENSSLBASE} \ X --enable-ucd-snmp-hack X XLIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp XLDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl XUSE_OPENSSL= yes X.endif X X.if ${PHP_MODNAME} == "soap" XCONFIGURE_ARGS+=--enable-soap \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X XUSE_PHP= session XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "sockets" XCONFIGURE_ARGS+=--enable-sockets X.endif X X.if ${PHP_MODNAME} == "sqlite" XCONFIGURE_ARGS+=--with-sqlite X XUSE_PHP= session XUSE_PHP_BUILD= yes XPHP_HEADER_DIRS=libsqlite/src X XOPTIONS= UTF8 "Enable UTF-8 support" off X.endif X X.if ${PHP_MODNAME} == "sqlite3" XUSE_SQLITE= yes XCONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "sybase_ct" XLIB_DEPENDS+= ct.4:${PORTSDIR}/databases/freetds X XCONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "sysvmsg" XCONFIGURE_ARGS+=--enable-sysvmsg X.endif X X.if ${PHP_MODNAME} == "sysvsem" XCONFIGURE_ARGS+=--enable-sysvsem X.endif X X.if ${PHP_MODNAME} == "sysvshm" XCONFIGURE_ARGS+=--enable-sysvshm X.endif X X.if ${PHP_MODNAME} == "tidy" XCONFIGURE_ARGS+=--with-tidy=${LOCALBASE} X XLIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib X.endif X X.if ${PHP_MODNAME} == "tokenizer" XCONFIGURE_ARGS+=--enable-tokenizer X.endif X X.if ${PHP_MODNAME} == "wddx" XCONFIGURE_ARGS+=--enable-wddx \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X XUSE_PHP= xml session XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "xml" XCONFIGURE_ARGS+=--enable-xml \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X.endif X X.if ${PHP_MODNAME} == "xmlreader" XCONFIGURE_ARGS+=--enable-xmlreader \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X XUSE_PHP= dom XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "xmlrpc" XCONFIGURE_ARGS+=--with-xmlrpc \ X --with-libxml-dir=${LOCALBASE} \ X --with-iconv-dir=${LOCALBASE} X XUSE_ICONV= yes XUSE_GNOME= libxml2 X XPHP_HEADER_DIRS=libxmlrpc X XUSE_PHP= xml XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "xmlwriter" XCONFIGURE_ARGS+=--enable-xmlwriter \ X --with-libxml-dir=${LOCALBASE} X XUSE_GNOME= libxml2 X.endif X X.if ${PHP_MODNAME} == "xsl" XCONFIGURE_ARGS+=--with-xsl=${LOCALBASE} X XUSE_GNOME= libxslt XUSE_PHP= dom xml XUSE_PHP_BUILD= yes X.endif X X.if ${PHP_MODNAME} == "zip" XCONFIGURE_ARGS+=--enable-zip \ X --with-zlib-dir=/usr \ X --with-pcre-dir=${LOCALBASE} X.endif X X.if ${PHP_MODNAME} == "zlib" XCONFIGURE_ARGS+=--with-zlib=/usr X.endif X X.include X X.if ${PHP_MODNAME} == "dba" X. if defined(WITHOUT_CDB) XCONFIGURE_ARGS+=--without-cdb X. endif X. if defined(WITH_DB4) XCONFIGURE_ARGS+=--with-db4=${LOCALBASE} X XUSE_BDB= 40+ XWITH_BDB_HIGHEST= yes X. endif X. if defined(WITH_GDBM) XLIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm X XCONFIGURE_ARGS+=--with-gdbm=${LOCALBASE} X. endif X. if defined(WITH_QDBM) XLIB_DEPENDS+= qdbm.14:${PORTSDIR}/databases/qdbm X XCONFIGURE_ARGS+=--with-qdbm=${LOCALBASE} X. endif X. if defined(WITHOUT_INIFILE) XCONFIGURE_ARGS+=--disable-inifile X. endif X. if defined(WITHOUT_FLATFILE) XCONFIGURE_ARGS+=--disable-flatfile X. endif X.endif X X.if ${PHP_MODNAME} == "gd" X. if !defined(WITHOUT_T1LIB) XLIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib X XCONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} X. endif X. if !defined(WITHOUT_TRUETYPE) XCONFIGURE_ARGS+=--enable-gd-native-ttf X. endif X. if defined(WITH_JIS) XCONFIGURE_ARGS+=--enable-gd-jis-conv X. endif X.endif X X.if ${PHP_MODNAME} == "mbstring" X. if defined(WITHOUT_REGEX) XCONFIGURE_ARGS+=--disable-mbregex X. else XLIB_DEPENDS+= onig.1:${PORTSDIR}/devel/oniguruma4 XCONFIGURE_ARGS+=--with-onig=${LOCALBASE} X. endif X.endif X X.if ${PHP_MODNAME} == "mysql" X. if defined(WITH_MYSQLND) XCONFIGURE_ARGS+=--with-mysql=mysqlnd X. else XCONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \ X --with-zlib-dir=/usr X XUSE_MYSQL= yes X. endif X.endif X X.if ${PHP_MODNAME} == "mysqli" X. if defined(WITH_MYSQLND) XCONFIGURE_ARGS+=--with-mysqli=mysqlnd X. else XCONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config X XUSE_MYSQL= yes X. endif X.endif X X.if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" Xpost-extract: X @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 X.endif X X.if ${PHP_MODNAME} == "odbc" X.if defined(WITH_IODBC) XLIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc X XCONFIGURE_ARGS+=--with-iodbc=${LOCALBASE} X.else XLIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC X XCONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE} X.endif X.endif X X.if ${PHP_MODNAME} == "pdo_dblib" X.if defined(WITH_MSSQL) XLIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds-msdblib X.else XLIB_DEPENDS+= ct.4:${PORTSDIR}/databases/freetds X.endif X.endif X X.if ${PHP_MODNAME} == "pdo_odbc" X.if defined(WITH_IODBC) XLIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc X XCONFIGURE_ARGS+=--with-pdo-odbc=iODBC,${LOCALBASE} X.else XLIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC X XCONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE} X.endif X.endif X X.if ${PHP_MODNAME} == "pdo_mysql" X. if defined(WITH_MYSQLND) XCONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd X XUSE_PHP+= mysql X. else XCONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE} \ X --with-zlib-dir=/usr X XUSE_MYSQL= yes X. endif X.endif X X.if ${PHP_MODNAME} == "xml" Xpost-extract: X @${MKDIR} ${WRKSRC}/ext/xml X @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml X.endif X X.if ${PHP_MODNAME} == "zlib" Xpost-extract: X @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 X.endif 77f2baa1b345d9a04b111b4798b01db3 echo x - ./lang/php54/pkg-descr sed 's/^X//' >./lang/php54/pkg-descr << '47ead8efc1ff5cd30f3c074bd1f8385d' XPHP 5.4, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open XSource general-purpose scripting language that is especially suited for XWeb development and can be embedded into HTML. Its syntax draws upon C, XJava, and Perl, and is easy to learn. The main goal of the language is to Xallow web developers to write dynamically generated webpages quickly, but Xyou can do much more with PHP. X XWWW: http://www.php.net/ 47ead8efc1ff5cd30f3c074bd1f8385d echo x - ./lang/php54/pkg-message.mod sed 's/^X//' >./lang/php54/pkg-message.mod << 'c43cc9b50f06a196e0a1e3c23ac31243' X*************************************************************** X XMake sure index.php is part of your DirectoryIndex. X XYou should add the following to your Apache configuration file: X XAddType application/x-httpd-php .php XAddType application/x-httpd-php-source .phps X X*************************************************************** c43cc9b50f06a196e0a1e3c23ac31243 echo x - ./lang/php54/pkg-plist sed 's/^X//' >./lang/php54/pkg-plist << 'f7ff535f56dda90e113b8a5a71bec384' X%%CLI%%bin/php X%%CGI%%bin/php-cgi Xbin/php-config Xbin/phpize X%%FPM%%sbin/php-fpm Xetc/php.conf Xetc/php.ini-development Xetc/php.ini-production X%%FPM%%@unexec if cmp -s %D/etc/php-fpm.conf %D/etc/php-fpm.conf.default; then rm -f %D/etc/php-fpm.conf; fi X%%FPM%%etc/php-fpm.conf.default X%%FPM%%@exec cp -n %D/%F %B/php-fpm.conf Xinclude/php/TSRM/TSRM.h Xinclude/php/TSRM/acconfig.h Xinclude/php/TSRM/readdir.h Xinclude/php/TSRM/tsrm_config.h Xinclude/php/TSRM/tsrm_config.w32.h Xinclude/php/TSRM/tsrm_config_common.h Xinclude/php/TSRM/tsrm_nw.h Xinclude/php/TSRM/tsrm_strtok_r.h Xinclude/php/TSRM/tsrm_virtual_cwd.h Xinclude/php/TSRM/tsrm_win32.h Xinclude/php/Zend/acconfig.h Xinclude/php/Zend/zend.h Xinclude/php/Zend/zend_API.h Xinclude/php/Zend/zend_alloc.h Xinclude/php/Zend/zend_build.h Xinclude/php/Zend/zend_builtin_functions.h Xinclude/php/Zend/zend_closures.h Xinclude/php/Zend/zend_compile.h Xinclude/php/Zend/zend_config.h Xinclude/php/Zend/zend_config.nw.h Xinclude/php/Zend/zend_config.w32.h Xinclude/php/Zend/zend_constants.h Xinclude/php/Zend/zend_dynamic_array.h Xinclude/php/Zend/zend_errors.h Xinclude/php/Zend/zend_exceptions.h Xinclude/php/Zend/zend_execute.h Xinclude/php/Zend/zend_extensions.h Xinclude/php/Zend/zend_fast_cache.h Xinclude/php/Zend/zend_float.h Xinclude/php/Zend/zend_gc.h Xinclude/php/Zend/zend_globals.h Xinclude/php/Zend/zend_globals_macros.h Xinclude/php/Zend/zend_hash.h Xinclude/php/Zend/zend_highlight.h Xinclude/php/Zend/zend_indent.h Xinclude/php/Zend/zend_ini.h Xinclude/php/Zend/zend_ini_parser.h Xinclude/php/Zend/zend_ini_scanner.h Xinclude/php/Zend/zend_ini_scanner_defs.h Xinclude/php/Zend/zend_interfaces.h Xinclude/php/Zend/zend_istdiostream.h Xinclude/php/Zend/zend_iterators.h Xinclude/php/Zend/zend_language_parser.h Xinclude/php/Zend/zend_language_scanner.h Xinclude/php/Zend/zend_language_scanner_defs.h Xinclude/php/Zend/zend_list.h Xinclude/php/Zend/zend_llist.h Xinclude/php/Zend/zend_modules.h Xinclude/php/Zend/zend_multibyte.h Xinclude/php/Zend/zend_multiply.h Xinclude/php/Zend/zend_object_handlers.h Xinclude/php/Zend/zend_objects.h Xinclude/php/Zend/zend_objects_API.h Xinclude/php/Zend/zend_operators.h Xinclude/php/Zend/zend_ptr_stack.h Xinclude/php/Zend/zend_qsort.h Xinclude/php/Zend/zend_stack.h Xinclude/php/Zend/zend_static_allocator.h Xinclude/php/Zend/zend_stream.h Xinclude/php/Zend/zend_strtod.h Xinclude/php/Zend/zend_ts_hash.h Xinclude/php/Zend/zend_types.h Xinclude/php/Zend/zend_variables.h Xinclude/php/Zend/zend_vm.h Xinclude/php/Zend/zend_vm_def.h Xinclude/php/Zend/zend_vm_execute.h Xinclude/php/Zend/zend_vm_opcodes.h Xinclude/php/ext/date/lib/timelib.h Xinclude/php/ext/date/lib/timelib_config.h Xinclude/php/ext/date/lib/timelib_structs.h Xinclude/php/ext/date/php_date.h Xinclude/php/ext/ereg/php_ereg.h Xinclude/php/ext/ereg/php_regex.h Xinclude/php/ext/ereg/regex/cclass.h Xinclude/php/ext/ereg/regex/cname.h Xinclude/php/ext/ereg/regex/regex.h Xinclude/php/ext/ereg/regex/regex2.h Xinclude/php/ext/ereg/regex/utils.h Xinclude/php/ext/libxml/php_libxml.h Xinclude/php/ext/mysqlnd/config-win.h Xinclude/php/ext/mysqlnd/mysqlnd.h Xinclude/php/ext/mysqlnd/mysqlnd_block_alloc.h Xinclude/php/ext/mysqlnd/mysqlnd_charset.h Xinclude/php/ext/mysqlnd/mysqlnd_debug.h Xinclude/php/ext/mysqlnd/mysqlnd_enum_n_def.h Xinclude/php/ext/mysqlnd/mysqlnd_libmysql_compat.h Xinclude/php/ext/mysqlnd/mysqlnd_net.h Xinclude/php/ext/mysqlnd/mysqlnd_portability.h Xinclude/php/ext/mysqlnd/mysqlnd_priv.h Xinclude/php/ext/mysqlnd/mysqlnd_result.h Xinclude/php/ext/mysqlnd/mysqlnd_result_meta.h Xinclude/php/ext/mysqlnd/mysqlnd_statistics.h Xinclude/php/ext/mysqlnd/mysqlnd_structs.h Xinclude/php/ext/mysqlnd/mysqlnd_wireprotocol.h Xinclude/php/ext/mysqlnd/php_mysqlnd.h Xinclude/php/ext/mysqlnd/php_mysqlnd_config.h Xinclude/php/ext/pcre/php_pcre.h Xinclude/php/ext/spl/php_spl.h Xinclude/php/ext/spl/spl_array.h Xinclude/php/ext/spl/spl_directory.h Xinclude/php/ext/spl/spl_dllist.h Xinclude/php/ext/spl/spl_engine.h Xinclude/php/ext/spl/spl_exceptions.h Xinclude/php/ext/spl/spl_fixedarray.h Xinclude/php/ext/spl/spl_functions.h Xinclude/php/ext/spl/spl_heap.h Xinclude/php/ext/spl/spl_iterators.h Xinclude/php/ext/spl/spl_observer.h Xinclude/php/ext/standard/base64.h Xinclude/php/ext/standard/basic_functions.h Xinclude/php/ext/standard/crc32.h Xinclude/php/ext/standard/credits.h Xinclude/php/ext/standard/credits_ext.h Xinclude/php/ext/standard/credits_sapi.h Xinclude/php/ext/standard/crypt_blowfish.h Xinclude/php/ext/standard/crypt_freesec.h Xinclude/php/ext/standard/css.h Xinclude/php/ext/standard/cyr_convert.h Xinclude/php/ext/standard/datetime.h Xinclude/php/ext/standard/dl.h Xinclude/php/ext/standard/exec.h Xinclude/php/ext/standard/file.h Xinclude/php/ext/standard/flock_compat.h Xinclude/php/ext/standard/fsock.h Xinclude/php/ext/standard/head.h Xinclude/php/ext/standard/html.h Xinclude/php/ext/standard/info.h Xinclude/php/ext/standard/md5.h Xinclude/php/ext/standard/microtime.h Xinclude/php/ext/standard/pack.h Xinclude/php/ext/standard/pageinfo.h Xinclude/php/ext/standard/php_array.h Xinclude/php/ext/standard/php_assert.h Xinclude/php/ext/standard/php_browscap.h Xinclude/php/ext/standard/php_crypt.h Xinclude/php/ext/standard/php_crypt_r.h Xinclude/php/ext/standard/php_dir.h Xinclude/php/ext/standard/php_dns.h Xinclude/php/ext/standard/php_ext_syslog.h Xinclude/php/ext/standard/php_filestat.h Xinclude/php/ext/standard/php_fopen_wrappers.h Xinclude/php/ext/standard/php_ftok.h Xinclude/php/ext/standard/php_http.h Xinclude/php/ext/standard/php_image.h Xinclude/php/ext/standard/php_incomplete_class.h Xinclude/php/ext/standard/php_iptc.h Xinclude/php/ext/standard/php_lcg.h Xinclude/php/ext/standard/php_link.h Xinclude/php/ext/standard/php_mail.h Xinclude/php/ext/standard/php_math.h Xinclude/php/ext/standard/php_metaphone.h Xinclude/php/ext/standard/php_rand.h Xinclude/php/ext/standard/php_smart_str.h Xinclude/php/ext/standard/php_smart_str_public.h Xinclude/php/ext/standard/php_standard.h Xinclude/php/ext/standard/php_string.h Xinclude/php/ext/standard/php_type.h Xinclude/php/ext/standard/php_uuencode.h Xinclude/php/ext/standard/php_var.h Xinclude/php/ext/standard/php_versioning.h Xinclude/php/ext/standard/proc_open.h Xinclude/php/ext/standard/quot_print.h Xinclude/php/ext/standard/scanf.h Xinclude/php/ext/standard/sha1.h Xinclude/php/ext/standard/streamsfuncs.h Xinclude/php/ext/standard/uniqid.h Xinclude/php/ext/standard/url.h Xinclude/php/ext/standard/url_scanner_ex.h Xinclude/php/ext/standard/winver.h X@exec touch %D/include/php/ext/php_config.h X@unexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h Xinclude/php/main/SAPI.h Xinclude/php/main/build-defs.h Xinclude/php/main/fopen_wrappers.h Xinclude/php/main/logos.h Xinclude/php/main/php.h Xinclude/php/main/php3_compat.h Xinclude/php/main/php_compat.h Xinclude/php/main/php_config.h Xinclude/php/main/php_content_types.h Xinclude/php/main/php_getopt.h Xinclude/php/main/php_globals.h Xinclude/php/main/php_ini.h Xinclude/php/main/php_logos.h Xinclude/php/main/php_main.h Xinclude/php/main/php_memory_streams.h Xinclude/php/main/php_network.h Xinclude/php/main/php_open_temporary_file.h Xinclude/php/main/php_output.h Xinclude/php/main/php_reentrancy.h Xinclude/php/main/php_scandir.h Xinclude/php/main/php_streams.h Xinclude/php/main/php_syslog.h Xinclude/php/main/php_ticks.h Xinclude/php/main/php_variables.h Xinclude/php/main/php_version.h Xinclude/php/main/rfc1867.h Xinclude/php/main/safe_mode.h Xinclude/php/main/snprintf.h Xinclude/php/main/spprintf.h Xinclude/php/main/streams/php_stream_context.h Xinclude/php/main/streams/php_stream_filter_api.h Xinclude/php/main/streams/php_stream_glob_wrapper.h Xinclude/php/main/streams/php_stream_mmap.h Xinclude/php/main/streams/php_streams_int.h Xinclude/php/main/streams/php_stream_transport.h Xinclude/php/main/streams/php_stream_userspace.h Xinclude/php/main/streams/php_stream_plain_wrapper.h X%%SUHOSIN%%include/php/main/suhosin_globals.h X%%SUHOSIN%%include/php/main/suhosin_logo.h X%%SUHOSIN%%include/php/main/suhosin_patch.h Xinclude/php/main/win32_internal_function_disabled.h Xinclude/php/main/win95nt.h Xlib/php/build/Makefile.global Xlib/php/build/acinclude.m4 Xlib/php/build/config.guess Xlib/php/build/config.sub Xlib/php/build/libtool.m4 Xlib/php/build/ltmain.sh Xlib/php/build/mkdep.awk Xlib/php/build/phpize.m4 Xlib/php/build/run-tests.php Xlib/php/build/scan_makefile_in.awk Xlib/php/build/shtool X%%APACHE%%%%APACHEMODDIR%%/%%AP_MODULE%% X%%APACHE%%@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %f X%%APACHE%%@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %f X%%FPM%%share/php/fpm/status.html X@dirrm include/php/TSRM X@dirrm include/php/Zend X@dirrm include/php/ext/date/lib X@dirrm include/php/ext/date X@dirrm include/php/ext/ereg/regex X@dirrm include/php/ext/ereg X@dirrm include/php/ext/libxml X@dirrm include/php/ext/mysqlnd X@dirrm include/php/ext/pcre X@dirrm include/php/ext/spl X@dirrm include/php/ext/standard X@dirrmtry include/php/ext X@dirrm include/php/main/streams X@dirrm include/php/main X@dirrmtry include/php X@dirrm lib/php/build X@dirrmtry lib/php X%%FPM%%@dirrm share/php/fpm X%%FPM%%@dirrm share/php f7ff535f56dda90e113b8a5a71bec384 echo c - ./lang/php54-extensions mkdir -p ./lang/php54-extensions > /dev/null 2>&1 echo x - ./lang/php54-extensions/Makefile sed 's/^X//' >./lang/php54-extensions/Makefile << '53021d81e94978883b4d13a49c217341' X# New ports collection makefile for: php54-extensions X# Date created: Sun Mar 11 04:12:13 UTC 2012 X# Whom: Svyatoslav Lempert X# X# X XPORTNAME= php54 XPORTVERSION= 1.0 XCATEGORIES= lang XMASTER_SITES= # none XPKGNAMESUFFIX= -extensions XDISTFILES= # none XEXTRACT_ONLY= # none X XMAINTAINER= svyatoslav.lempert@gmail.com XCOMMENT= A "meta-port" to install PHP extensions X XUSE_PHP= yes XDEFAULT_PHP_VER=54 XIGNORE_WITH_PHP=4 5 52 XUSE_PHP_BUILD= yes X XNO_BUILD= yes X XLATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} X XWITH_CTYPE= yes XWITH_DOM= yes XWITH_FILTER= yes XWITH_HASH= yes XWITH_ICONV= yes XWITH_JSON= yes XWITH_PDO= yes XWITH_PDO_SQLITE=yes XWITH_PHAR= yes XWITH_POSIX= yes XWITH_SESSION= yes XWITH_SIMPLEXML= yes XWITH_SQLITE3= yes XWITH_TOKENIZER= yes XWITH_XML= yes XWITH_XMLREADER= yes XWITH_XMLWRITER= yes X XOPTIONS= BCMATH "bc style precision math functions" off \ X BZ2 "bzip2 library support" off \ X CALENDAR "calendar conversion support" off \ X CTYPE "ctype functions" on \ X CURL "CURL support" off \ X DBA "dba support" off \ X DOM "DOM support" on \ X EXIF "EXIF support" off \ X FILEINFO "fileinfo support" off \ X FILTER "input filter support" on \ X FRIBIDI "FriBidi support" off \ X FTP "FTP support" off \ X GD "GD library support" off \ X GETTEXT "gettext library support" off \ X GMP "GNU MP support" off \ X HASH "HASH Message Digest Framework" on \ X ICONV "iconv support" on \ X IMAP "IMAP support" off \ X INTERBASE "Interbase 6 database support (Firebird)" off \ X JSON "JavaScript Object Serialization support" on \ X LDAP "OpenLDAP support" off \ X MBSTRING "multibyte string support" off \ X MCRYPT "Encryption support" off \ X MSSQL "MS-SQL database support" off \ X MYSQL "MySQL database support" off \ X MYSQLI "MySQLi database support" off \ X ODBC "ODBC support" off \ X OPENSSL "OpenSSL support" off \ X PCNTL "pcntl support (CLI only)" off \ X PDF "PDFlib support (implies GD)" off \ X PDO "PHP Data Objects Interface (PDO)" on \ X PDO_SQLITE "PDO sqlite driver" on \ X PGSQL "PostgreSQL database support" off \ X PHAR "phar support" on \ X POSIX "POSIX-like functions" on \ X PSPELL "pspell support" off \ X READLINE "readline support (CLI only)" off \ X RECODE "recode support" off \ X SESSION "session support" on \ X SHMOP "shmop support" off \ X SIMPLEXML "simplexml support" on \ X SNMP "SNMP support" off \ X SOAP "SOAP support" off \ X SOCKETS "sockets support" off \ X SQLITE3 "sqlite3 support" on \ X SYBASE_CT "Sybase database support" off \ X SYSVMSG "System V message support" off \ X SYSVSEM "System V semaphore support" off \ X SYSVSHM "System V shared memory support" off \ X TIDY "TIDY support" off \ X TOKENIZER "tokenizer support" on \ X WDDX "WDDX support (implies XML)" off \ X XML "XML support" on \ X XMLREADER "XMLReader support" on \ X XMLRPC "XMLRPC-EPI support" off \ X XMLWRITER "XMLWriter support" on \ X XSL "XSL support (Implies DOM)" off \ X YAZ "YAZ support (ANSI/NISO Z39.50)" off \ X ZIP "ZIP support" off \ X ZLIB "ZLIB support" off X XALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ X DOM EXIF FILEINFO FILTER FRIBIDI FTP GD GETTEXT \ X GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ X MSSQL MYSQL MYSQLI \ X ODBC OPENSSL PCNTL PDF PDO PDO_SQLITE PGSQL PHAR POSIX \ X PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \ X SOCKETS SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ X TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ X YAZ ZIP ZLIB X X.include X X.for opt in ${ALL_OPTIONS} X. if defined(WITH_${opt}) && !defined(WITHOUT_${opt}) XUSE_PHP+= ${opt:L} X. endif X.endfor X Xdo-install: build X @${DO_NADA} X X.include 53021d81e94978883b4d13a49c217341 echo x - ./lang/php54-extensions/pkg-descr sed 's/^X//' >./lang/php54-extensions/pkg-descr << 'd6a3c1a0eae318133282f19e8502b3a6' XThis is a "meta-port" to install the extensions for PHP 5.4. X XDefaults to: Xctype, dom, iconv, pcre, posix, session, simplexml, sqlite, tokenizer and xml. X XWWW: http://www.php.net/ d6a3c1a0eae318133282f19e8502b3a6 echo c - ./mail mkdir -p ./mail > /dev/null 2>&1 echo c - ./mail/php54-imap mkdir -p ./mail/php54-imap > /dev/null 2>&1 echo c - ./mail/php54-imap/files mkdir -p ./mail/php54-imap/files > /dev/null 2>&1 echo x - ./mail/php54-imap/files/patch-config.m4 sed 's/^X//' >./mail/php54-imap/files/patch-config.m4 << '5f2b5075641a3243c5eca5b7da3469fc' X--- config.m4.orig 2010-02-07 14:06:54.000000000 +0100 X+++ config.m4 2010-03-08 11:56:24.000000000 +0100 X@@ -103,6 +103,8 @@ X PHP_ARG_WITH(imap-ssl,for IMAP SSL support, X [ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no) X X+PHP_ARG_WITH(pcre-dir, pcre install prefix, X+[ --with-pcre-dir IMAP: pcre install prefix], no, no) X X if test "$PHP_IMAP" != "no"; then X PHP_SUBST(IMAP_SHARED_LIBADD) X@@ -119,6 +121,30 @@ X fi X done X X+ dnl This is PECL build, check if bundled PCRE library is used X+ old_CPPFLAGS=$CPPFLAGS X+ CPPFLAGS=$INCLUDES X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=yes X+ ],[ X+ AC_EGREP_CPP(yes,[ X+#include
X+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) X+yes X+#endif X+ ],[ X+ PHP_PCRE_REGEX=pecl X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X+ ],[ X+ PHP_PCRE_REGEX=no X+ ]) X+ ]) X+ X dnl Check for c-client version 2004 X AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [ X AC_DEFINE(HAVE_IMAP2004,1,[ ]) 5f2b5075641a3243c5eca5b7da3469fc echo x - ./mail/php54-imap/Makefile sed 's/^X//' >./mail/php54-imap/Makefile << 'b7d1fbf54a0c8f69979184a2e1717036' X# New ports collection makefile for: php54-imap X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= mail X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -imap X X.include "${MASTERDIR}/Makefile" b7d1fbf54a0c8f69979184a2e1717036 echo c - ./math mkdir -p ./math > /dev/null 2>&1 echo c - ./math/php54-bcmath mkdir -p ./math/php54-bcmath > /dev/null 2>&1 echo x - ./math/php54-bcmath/Makefile sed 's/^X//' >./math/php54-bcmath/Makefile << 'ef42e28dfa5b1f8264a212c37d7e67e7' X# New ports collection makefile for: php54-bcmath X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= math X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -bcmath X X.include "${MASTERDIR}/Makefile" ef42e28dfa5b1f8264a212c37d7e67e7 echo c - ./math/php54-gmp mkdir -p ./math/php54-gmp > /dev/null 2>&1 echo x - ./math/php54-gmp/Makefile sed 's/^X//' >./math/php54-gmp/Makefile << '7ef3d28c16b1f9d1f28490a1fb662c88' X# New ports collection makefile for: php54-gmp X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= math X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -gmp X X.include "${MASTERDIR}/Makefile" 7ef3d28c16b1f9d1f28490a1fb662c88 echo c - ./misc mkdir -p ./misc > /dev/null 2>&1 echo c - ./misc/php54-calendar mkdir -p ./misc/php54-calendar > /dev/null 2>&1 echo x - ./misc/php54-calendar/Makefile sed 's/^X//' >./misc/php54-calendar/Makefile << '6efe7341fa344019347ca920ce05787d' X# New ports collection makefile for: php54-calendar X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= misc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -calendar X X.include "${MASTERDIR}/Makefile" 6efe7341fa344019347ca920ce05787d echo c - ./net mkdir -p ./net > /dev/null 2>&1 echo c - ./net/php54-ldap mkdir -p ./net/php54-ldap > /dev/null 2>&1 echo x - ./net/php54-ldap/Makefile sed 's/^X//' >./net/php54-ldap/Makefile << '1bf5239e9c0dee41d0102fe182af570e' X# New ports collection makefile for: php54-ldap X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= net X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -ldap X X.include "${MASTERDIR}/Makefile" 1bf5239e9c0dee41d0102fe182af570e echo c - ./net/php54-soap mkdir -p ./net/php54-soap > /dev/null 2>&1 echo c - ./net/php54-soap/files mkdir -p ./net/php54-soap/files > /dev/null 2>&1 echo x - ./net/php54-soap/files/patch-soap.c sed 's/^X//' >./net/php54-soap/files/patch-soap.c << '70ce69d5b636b203905025dd633d1468' X--- soap.c.orig Tue Oct 3 21:51:01 2006 X+++ soap.c Sat Nov 4 11:38:29 2006 X@@ -23,7 +23,7 @@ X #include "config.h" X #endif X #include "php_soap.h" X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X #include "ext/session/php_session.h" X #endif X #ifdef ZEND_ENGINE_2 X@@ -1577,7 +1577,7 @@ X soap_obj = service->soap_object; X function_table = &((Z_OBJCE_P(soap_obj))->function_table); X } else if (service->type == SOAP_CLASS) { X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X /* If persistent then set soap_obj from from the previous created session (if available) */ X if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { X zval **tmp_soap; X@@ -1664,7 +1664,7 @@ X } X efree(class_name); X } X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X /* If session then update session hash with new object */ X if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { X zval **tmp_soap_pp; X@@ -1762,7 +1762,7 @@ X if (service->type == SOAP_CLASS || service->type == SOAP_OBJECT) { X call_status = call_user_function(NULL, &soap_obj, &function_name, &retval, num_params, params TSRMLS_CC); X if (service->type == SOAP_CLASS) { X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { X zval_ptr_dtor(&soap_obj); X soap_obj = NULL; X@@ -1788,7 +1788,7 @@ X soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); X } X if (service->type == SOAP_CLASS) { X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { X #else X if (soap_obj) { X@@ -1830,7 +1830,7 @@ X soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); X } X if (service->type == SOAP_CLASS) { X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { X #else X if (soap_obj) { 70ce69d5b636b203905025dd633d1468 echo x - ./net/php54-soap/Makefile sed 's/^X//' >./net/php54-soap/Makefile << '9d254c3587685dd4b52329c5983c5a0c' X# New ports collection makefile for: php54-soap X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= net X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -soap X X.include "${MASTERDIR}/Makefile" 9d254c3587685dd4b52329c5983c5a0c echo c - ./net/php54-sockets mkdir -p ./net/php54-sockets > /dev/null 2>&1 echo x - ./net/php54-sockets/Makefile sed 's/^X//' >./net/php54-sockets/Makefile << '1a543ab071191855334362f4bc6b5fdc' X# New ports collection makefile for: php54-sockets X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= net X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -sockets X X.include "${MASTERDIR}/Makefile" 1a543ab071191855334362f4bc6b5fdc echo c - ./net/php54-xmlrpc mkdir -p ./net/php54-xmlrpc > /dev/null 2>&1 echo x - ./net/php54-xmlrpc/Makefile sed 's/^X//' >./net/php54-xmlrpc/Makefile << 'b7e761391a999b7f72dad79083a7b060' X# New ports collection makefile for: php54-xmlrpc X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= net X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -xmlrpc X X.include "${MASTERDIR}/Makefile" b7e761391a999b7f72dad79083a7b060 echo c - ./security mkdir -p ./security > /dev/null 2>&1 echo c - ./security/php54-filter mkdir -p ./security/php54-filter > /dev/null 2>&1 echo c - ./security/php54-filter/files mkdir -p ./security/php54-filter/files > /dev/null 2>&1 echo x - ./security/php54-filter/files/patch-config.m4 sed 's/^X//' >./security/php54-filter/files/patch-config.m4 << 'b9d62e6920953c554ad62737615bfa47' X--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100 X+++ config.m4 2009-03-06 08:28:10.000000000 +0100 X@@ -32,6 +32,7 @@ X #endif X ],[ X PHP_PCRE_REGEX=pecl X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X ],[ X PHP_PCRE_REGEX=no X ]) b9d62e6920953c554ad62737615bfa47 echo x - ./security/php54-filter/Makefile sed 's/^X//' >./security/php54-filter/Makefile << 'af31e7067ad3f142ae43745c3e3107d9' X# New ports collection makefile for: php54-filter X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= security X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -filter X X.include "${MASTERDIR}/Makefile" af31e7067ad3f142ae43745c3e3107d9 echo c - ./security/php54-hash mkdir -p ./security/php54-hash > /dev/null 2>&1 echo x - ./security/php54-hash/Makefile sed 's/^X//' >./security/php54-hash/Makefile << '499130e55ba0b57f0f3095d9cb587b68' X# New ports collection makefile for: php54-hash X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= security X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -hash X X.include "${MASTERDIR}/Makefile" 499130e55ba0b57f0f3095d9cb587b68 echo c - ./security/php54-mcrypt mkdir -p ./security/php54-mcrypt > /dev/null 2>&1 echo x - ./security/php54-mcrypt/Makefile sed 's/^X//' >./security/php54-mcrypt/Makefile << 'd246fb0ea5f82025203f8d4a9c42dabf' X# New ports collection makefile for: php54-mcrypt X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= security X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -mcrypt X X.include "${MASTERDIR}/Makefile" d246fb0ea5f82025203f8d4a9c42dabf echo c - ./security/php54-openssl mkdir -p ./security/php54-openssl > /dev/null 2>&1 echo x - ./security/php54-openssl/Makefile sed 's/^X//' >./security/php54-openssl/Makefile << 'f6b0877602b29de57db2bedb4e9d8740' X# New ports collection makefile for: php54-openssl X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= security X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -openssl X X.include "${MASTERDIR}/Makefile" f6b0877602b29de57db2bedb4e9d8740 echo c - ./sysutils mkdir -p ./sysutils > /dev/null 2>&1 echo c - ./sysutils/php54-fileinfo mkdir -p ./sysutils/php54-fileinfo > /dev/null 2>&1 echo c - ./sysutils/php54-fileinfo/files mkdir -p ./sysutils/php54-fileinfo/files > /dev/null 2>&1 echo x - ./sysutils/php54-fileinfo/files/patch-config.m4 sed 's/^X//' >./sysutils/php54-fileinfo/files/patch-config.m4 << '8d7166a5d51b54092f8e67da69f30b9c' X--- config.m4.orig 2010-09-07 15:45:30.000000000 +0200 X+++ config.m4 2010-09-07 15:46:50.000000000 +0200 X@@ -4,6 +4,9 @@ X PHP_ARG_ENABLE(fileinfo, for fileinfo support, X [ --disable-fileinfo Disable fileinfo support], yes) X X+PHP_ARG_WITH(pcre-dir, pcre install prefix, X+[ --with-pcre-dir FILEINFO: pcre install prefix], no, no) X+ X if test "$PHP_FILEINFO" != "no"; then X X libmagic_sources=" \ X@@ -13,6 +16,8 @@ X libmagic/is_tar.c libmagic/magic.c libmagic/print.c \ X libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c" X X+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) X+ X PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic) X PHP_ADD_BUILD_DIR($ext_builddir/libmagic) X 8d7166a5d51b54092f8e67da69f30b9c echo x - ./sysutils/php54-fileinfo/Makefile sed 's/^X//' >./sysutils/php54-fileinfo/Makefile << 'bf864dfa5ce3195d811194877a9381ec' X# New ports collection makefile for: php54-fileinfo X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= sysutils X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -fileinfo X X.include "${MASTERDIR}/Makefile" bf864dfa5ce3195d811194877a9381ec echo c - ./sysutils/php54-posix mkdir -p ./sysutils/php54-posix > /dev/null 2>&1 echo c - ./sysutils/php54-posix/files mkdir -p ./sysutils/php54-posix/files > /dev/null 2>&1 echo x - ./sysutils/php54-posix/files/patch-posix.c sed 's/^X//' >./sysutils/php54-posix/files/patch-posix.c << '1202cdfea0cecc953ce8d0571316d2af' X--- posix.c.orig Fri Feb 23 00:40:39 2007 X+++ posix.c Sun May 13 17:52:27 2007 X@@ -838,7 +838,7 @@ X #if defined(ZTS) && defined(HAVE_GETGRNAM_R) && defined(_SC_GETGR_R_SIZE_MAX) X buflen = sysconf(_SC_GETGR_R_SIZE_MAX); X if (buflen < 1) { X- RETURN_FALSE; X+ buflen = 1024; X } X buf = emalloc(buflen); X g = &gbuf; X@@ -888,7 +888,7 @@ X X grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); X if (grbuflen < 1) { X- RETURN_FALSE; X+ grbuflen = 1024; X } X X grbuf = emalloc(grbuflen); X@@ -955,7 +955,7 @@ X #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWNAM_R) X buflen = sysconf(_SC_GETPW_R_SIZE_MAX); X if (buflen < 1) { X- RETURN_FALSE; X+ buflen = 1024; X } X buf = emalloc(buflen); X pw = &pwbuf; X@@ -1004,7 +1004,7 @@ X #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWUID_R) X pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); X if (pwbuflen < 1) { X- RETURN_FALSE; X+ pwbuflen = 1024; X } X pwbuf = emalloc(pwbuflen); X 1202cdfea0cecc953ce8d0571316d2af echo x - ./sysutils/php54-posix/Makefile sed 's/^X//' >./sysutils/php54-posix/Makefile << '0be0881083febb1df45e7fe9f20445f9' X# New ports collection makefile for: php54-posix X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= sysutils X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -posix X X.include "${MASTERDIR}/Makefile" 0be0881083febb1df45e7fe9f20445f9 echo c - ./textproc mkdir -p ./textproc > /dev/null 2>&1 echo c - ./textproc/php54-ctype mkdir -p ./textproc/php54-ctype > /dev/null 2>&1 echo x - ./textproc/php54-ctype/Makefile sed 's/^X//' >./textproc/php54-ctype/Makefile << '9e345919b48b577dc304365344b87246' X# New ports collection makefile for: php54-ctype X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -ctype X X.include "${MASTERDIR}/Makefile" 9e345919b48b577dc304365344b87246 echo c - ./textproc/php54-dom mkdir -p ./textproc/php54-dom > /dev/null 2>&1 echo x - ./textproc/php54-dom/Makefile sed 's/^X//' >./textproc/php54-dom/Makefile << 'e9b65257e503c265fead348b7b878a83' X# New ports collection makefile for: php54-dom X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -dom X X.include "${MASTERDIR}/Makefile" e9b65257e503c265fead348b7b878a83 echo c - ./textproc/php54-pspell mkdir -p ./textproc/php54-pspell > /dev/null 2>&1 echo x - ./textproc/php54-pspell/Makefile sed 's/^X//' >./textproc/php54-pspell/Makefile << 'e4fae3226eaa1c46ba25552e811bca60' X# New ports collection makefile for: php54-pspell X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -pspell X X.include "${MASTERDIR}/Makefile" e4fae3226eaa1c46ba25552e811bca60 echo c - ./textproc/php54-simplexml mkdir -p ./textproc/php54-simplexml > /dev/null 2>&1 echo x - ./textproc/php54-simplexml/Makefile sed 's/^X//' >./textproc/php54-simplexml/Makefile << '1786087d49901c637b60ecb901f1a14a' X# New ports collection makefile for: php54-simplexml X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -simplexml X X.include "${MASTERDIR}/Makefile" 1786087d49901c637b60ecb901f1a14a echo c - ./textproc/php54-wddx mkdir -p ./textproc/php54-wddx > /dev/null 2>&1 echo c - ./textproc/php54-wddx/files mkdir -p ./textproc/php54-wddx/files > /dev/null 2>&1 echo x - ./textproc/php54-wddx/files/patch-config.m4 sed 's/^X//' >./textproc/php54-wddx/files/patch-config.m4 << '2b8831c899ece69df2d62abe45611e4a' X--- config.m4.orig Mon Jul 26 09:05:10 2004 X+++ config.m4 Mon Jul 26 09:07:46 2004 X@@ -5,6 +5,9 @@ X PHP_ARG_ENABLE(wddx,whether to enable WDDX support, X [ --enable-wddx Enable WDDX support.]) X X+PHP_ARG_WITH(libxml-dir, libxml2 install dir, X+[ --with-libxml-dir= WDDX: libxml2 install prefix], no, no) X+ X if test "$PHP_WDDX" != "no"; then X if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then X AC_MSG_WARN(Activating XML) X@@ -12,4 +15,9 @@ X fi X AC_DEFINE(HAVE_WDDX, 1, [ ]) X PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared) X+ X+ PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [ X+ ], [ X+ AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.]) X+ ]) X fi 2b8831c899ece69df2d62abe45611e4a echo x - ./textproc/php54-wddx/files/patch-wddx.c sed 's/^X//' >./textproc/php54-wddx/files/patch-wddx.c << 'e05beade5cf8560ecdc0eeb5132cca94' X--- wddx.c.orig Sun Jan 1 13:50:16 2006 X+++ wddx.c Mon Jan 16 12:56:21 2006 X@@ -18,6 +18,10 @@ X X /* $Id: wddx.c,v 1.119.2.8 2006/01/01 12:50:16 sniper Exp $ */ X X+#ifdef HAVE_CONFIG_H X+# include "config.h" X+#endif X+ X #include "php.h" X X #if HAVE_WDDX X@@ -223,7 +227,7 @@ X X #include "ext/session/php_session.h" X X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X /* {{{ PS_SERIALIZER_ENCODE_FUNC X */ X PS_SERIALIZER_ENCODE_FUNC(wddx) X@@ -302,7 +306,7 @@ X { X le_wddx = zend_register_list_destructors_ex(release_wddx_packet_rsrc, NULL, "wddx", module_number); X X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X php_session_register_serializer("wddx", X PS_SERIALIZER_ENCODE_NAME(wddx), X PS_SERIALIZER_DECODE_NAME(wddx)); X@@ -317,7 +321,7 @@ X PHP_MINFO_FUNCTION(wddx) X { X php_info_print_table_start(); X-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) X+#if HAVE_PHP_SESSION X php_info_print_table_header(2, "WDDX Support", "enabled" ); X php_info_print_table_row(2, "WDDX Session Serializer", "enabled" ); X #else e05beade5cf8560ecdc0eeb5132cca94 echo x - ./textproc/php54-wddx/Makefile sed 's/^X//' >./textproc/php54-wddx/Makefile << '9abcb08b40d2f7104261bb4484db2b51' X# New ports collection makefile for: php54-wddx X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -wddx X X.include "${MASTERDIR}/Makefile" 9abcb08b40d2f7104261bb4484db2b51 echo c - ./textproc/php54-xml mkdir -p ./textproc/php54-xml > /dev/null 2>&1 echo c - ./textproc/php54-xml/files mkdir -p ./textproc/php54-xml/files > /dev/null 2>&1 echo x - ./textproc/php54-xml/files/patch-compat.c sed 's/^X//' >./textproc/php54-xml/files/patch-compat.c << 'd00655ecfe86dfe87715cba02949af0e' X--- compat.c.orig Tue Jul 20 10:55:02 2004 X+++ compat.c Tue Jul 20 10:55:55 2004 X@@ -16,6 +16,10 @@ X +----------------------------------------------------------------------+ X */ X X+#ifdef HAVE_CONFIG_H X+#include "config.h" X+#endif X+ X #include "php.h" X #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) X #include "expat_compat.h" d00655ecfe86dfe87715cba02949af0e echo x - ./textproc/php54-xml/Makefile sed 's/^X//' >./textproc/php54-xml/Makefile << '431dd4788a84e479e25b6352733e1c8d' X# New ports collection makefile for: php54-xml X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -xml X X.include "${MASTERDIR}/Makefile" 431dd4788a84e479e25b6352733e1c8d echo c - ./textproc/php54-xmlreader mkdir -p ./textproc/php54-xmlreader > /dev/null 2>&1 echo x - ./textproc/php54-xmlreader/Makefile sed 's/^X//' >./textproc/php54-xmlreader/Makefile << 'fda5c41ead9c2cc41faaec9db39ea45f' X# New ports collection makefile for: php54-xmlreader X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -xmlreader X X.include "${MASTERDIR}/Makefile" fda5c41ead9c2cc41faaec9db39ea45f echo c - ./textproc/php54-xmlwriter mkdir -p ./textproc/php54-xmlwriter > /dev/null 2>&1 echo x - ./textproc/php54-xmlwriter/Makefile sed 's/^X//' >./textproc/php54-xmlwriter/Makefile << '15b86b34d40978fc5c32ed0026883616' X# New ports collection makefile for: php54-xmlwriter X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -xmlwriter X X.include "${MASTERDIR}/Makefile" 15b86b34d40978fc5c32ed0026883616 echo c - ./textproc/php54-xsl mkdir -p ./textproc/php54-xsl > /dev/null 2>&1 echo c - ./textproc/php54-xsl/files mkdir -p ./textproc/php54-xsl/files > /dev/null 2>&1 echo x - ./textproc/php54-xsl/files/patch-php_xsl.h sed 's/^X//' >./textproc/php54-xsl/files/patch-php_xsl.h << '2375fe8fc55f81a52b184050e79903d1' X--- php_xsl.h.orig Sun Jan 1 13:50:17 2006 X+++ php_xsl.h Tue Jan 17 16:23:10 2006 X@@ -43,7 +43,7 @@ X #include X #endif X X-#include "../dom/xml_common.h" X+#include "ext/dom/xml_common.h" X #include "xsl_fe.h" X X #include 2375fe8fc55f81a52b184050e79903d1 echo x - ./textproc/php54-xsl/Makefile sed 's/^X//' >./textproc/php54-xsl/Makefile << '8a8c1f764ff620425d12e5b251daa27b' X# New ports collection makefile for: php54-xsl X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= textproc X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -xsl X X.include "${MASTERDIR}/Makefile" 8a8c1f764ff620425d12e5b251daa27b echo c - ./www mkdir -p ./www > /dev/null 2>&1 echo c - ./www/php54-session mkdir -p ./www/php54-session > /dev/null 2>&1 echo x - ./www/php54-session/Makefile sed 's/^X//' >./www/php54-session/Makefile << '3674143f0d366f48b30ec7ae0f2305b3' X# New ports collection makefile for: php54-session X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= www X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -session X X.include "${MASTERDIR}/Makefile" 3674143f0d366f48b30ec7ae0f2305b3 echo c - ./www/php54-tidy mkdir -p ./www/php54-tidy > /dev/null 2>&1 echo x - ./www/php54-tidy/Makefile sed 's/^X//' >./www/php54-tidy/Makefile << '81ed87562302677fd43b55ef8a8b8eaf' X# New ports collection makefile for: php54-tidy X# Date created: 11 Mar 2012 X# Whom: Svyatoslav Lempert X# X# X XCATEGORIES= www X XMASTERDIR= ${.CURDIR}/../../lang/php54 X XPKGNAMESUFFIX= -tidy X X.include "${MASTERDIR}/Makefile" 81ed87562302677fd43b55ef8a8b8eaf exit >Release-Note: >Audit-Trail: >Unformatted: