readd php 5.3.13 and all its modules as php53*

This commit is contained in:
Florian Smeets 2012-05-16 09:46:51 +00:00
parent c76d4dd717
commit 902a0675be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296760
97 changed files with 1591 additions and 8 deletions

View File

@ -139,6 +139,10 @@
SUBDIR += php52-bz2
SUBDIR += php52-zip
SUBDIR += php52-zlib
SUBDIR += php53-bz2
SUBDIR += php53-phar
SUBDIR += php53-zip
SUBDIR += php53-zlib
SUBDIR += pigz
SUBDIR += plzip
SUBDIR += ppmd

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-bz2
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= archivers
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -bz2
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-phar
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= archivers
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -phar
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,41 @@
--- config.m4.orig 2011-11-25 15:31:20.000000000 +0100
+++ config.m4 2011-11-25 15:47:45.000000000 +0100
@@ -4,8 +4,38 @@
PHP_ARG_ENABLE(phar, for phar archive support,
[ --disable-phar Disable phar support], yes)
+PHP_ARG_WITH(pcre-dir, pcre install prefix,
+[ --with-pcre-dir PHAR: pcre install prefix], no, no)
+
+
if test "$PHP_PHAR" != "no"; then
+
+ dnl This is PECL build, check if bundled PCRE library is used
+ old_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=yes
+ ],[
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
+ ])
+
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)
+ PHP_HASH=yes
AC_MSG_CHECKING([for phar openssl support])
if test "$PHP_HASH_SHARED" != "yes"; then
if test "$PHP_HASH" != "no"; then

View File

@ -0,0 +1,11 @@
--- phar.c.orig 2011-11-25 15:38:44.000000000 +0100
+++ phar.c 2011-11-25 15:39:01.000000000 +0100
@@ -3716,7 +3716,7 @@
ZEND_MOD_OPTIONAL("openssl")
ZEND_MOD_OPTIONAL("zlib")
ZEND_MOD_OPTIONAL("standard")
-#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH)
+#if defined(HAVE_HASH)
ZEND_MOD_REQUIRED("hash")
#endif
#if HAVE_SPL

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-zip
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= archivers
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -zip
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,10 @@
--- config.m4.orig 2009-04-09 16:16:30.000000000 +0200
+++ config.m4 2009-04-09 16:17:02.000000000 +0200
@@ -65,6 +65,7 @@
#endif
],[
PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
],[
PHP_PCRE_REGEX=no
])

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-zlib
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= archivers
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -zlib
.include "${MASTERDIR}/Makefile"

View File

@ -126,6 +126,9 @@
SUBDIR += php52-iconv
SUBDIR += php52-mbstring
SUBDIR += php52-recode
SUBDIR += php53-iconv
SUBDIR += php53-mbstring
SUBDIR += php53-recode
SUBDIR += psiconv
SUBDIR += py-bsdconv
SUBDIR += py-iconv

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-iconv
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= converters
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -iconv
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-mbstring
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= converters
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -mbstring
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,51 @@
--- config.m4.orig 2009-11-25 02:30:06.000000000 +0100
+++ config.m4 2010-04-12 09:59:54.000000000 +0200
@@ -43,6 +43,30 @@
PHP_ADD_INCLUDE([$ext_builddir/$dir])
done
+ dnl This is PECL build, check if bundled PCRE library is used
+ old_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=yes
+ ],[
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
+ ])
+
if test "$ext_shared" = "no"; then
PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
out="php_config.h"
@@ -80,7 +104,6 @@
int foo(int x, ...) {
va_list va;
va_start(va, x);
- va_arg(va, int);
va_arg(va, char *);
va_arg(va, double);
return 0;
@@ -347,6 +370,9 @@
[ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
If DIR is not set, the bundled oniguruma will be used], no, no)
+PHP_ARG_WITH(pcre-dir, pcre install prefix,
+[ --with-pcre-dir MBSTRING: pcre install prefix], no, no)
+
if test "$PHP_MBSTRING" != "no"; then
AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support])

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-recode
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= converters
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -recode
.include "${MASTERDIR}/Makefile"

View File

@ -591,6 +591,23 @@
SUBDIR += php52-rrdtool
SUBDIR += php52-sqlite
SUBDIR += php52-sybase_ct
SUBDIR += php53-dba
SUBDIR += php53-interbase
SUBDIR += php53-mssql
SUBDIR += php53-mysql
SUBDIR += php53-mysqli
SUBDIR += php53-odbc
SUBDIR += php53-pdo
SUBDIR += php53-pdo_dblib
SUBDIR += php53-pdo_firebird
SUBDIR += php53-pdo_mysql
SUBDIR += php53-pdo_odbc
SUBDIR += php53-pdo_pgsql
SUBDIR += php53-pdo_sqlite
SUBDIR += php53-pgsql
SUBDIR += php53-sqlite
SUBDIR += php53-sqlite3
SUBDIR += php53-sybase_ct
SUBDIR += phpminiadmin
SUBDIR += phpmyadmin
SUBDIR += phppgadmin

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-dba
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -dba
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,62 @@
--- config.m4.orig 2011-06-27 22:28:30.000000000 +0200
+++ config.m4 2011-08-26 09:32:43.000000000 +0200
@@ -285,6 +285,50 @@
THIS_PREFIX=$i
THIS_INCLUDE=$i/db4/db.h
break
+ elif test -f "$i/include/db5/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db5/db.h
+ break
+ elif test -f "$i/include/db51/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db51/db.h
+ break
+ elif test -f "$i/include/db50/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db50/db.h
+ break
+ elif test -f "$i/include/db48/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db48/db.h
+ break
+ elif test -f "$i/include/db47/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db47/db.h
+ break
+ elif test -f "$i/include/db46/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db46/db.h
+ break
+ elif test -f "$i/include/db45/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db45/db.h
+ break
+ elif test -f "$i/include/db44/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db44/db.h
+ break
+ elif test -f "$i/include/db43/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db43/db.h
+ break
+ elif test -f "$i/include/db42/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db42/db.h
+ break
+ elif test -f "$i/include/db41/db.h"; then
+ THIS_PREFIX=$i
+ THIS_INCLUDE=$i/include/db41/db.h
+ break
elif test -f "$i/include/db5.1/db.h"; then
THIS_PREFIX=$i
THIS_INCLUDE=$i/include/db5.1/db.h
@@ -327,7 +371,7 @@
break
fi
done
- 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)])
+ 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)])
fi
PHP_DBA_STD_RESULT(db4,Berkeley DB4)

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-interbase
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -interbase
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-mssql
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -mssql
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-mysql
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -mysql
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-mysqli
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -mysqli
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,10 @@
--- php_mysqli_structs.h.orig 2010-07-26 15:52:54.000000000 +0200
+++ php_mysqli_structs.h 2010-07-26 15:53:14.000000000 +0200
@@ -54,6 +54,7 @@
#define WE_HAD_MBSTATE_T
#endif
+#define HAVE_ULONG 1
#include <my_global.h>
#if !defined(HAVE_MBRLEN) && defined(WE_HAD_MBRLEN)

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-odbc
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -odbc
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,124 @@
--- config.m4.orig 2007-07-31 15:02:00.000000000 +0200
+++ config.m4 2011-04-26 13:57:31.000000000 +0200
@@ -99,9 +99,12 @@
dnl
dnl configure options
dnl
+PHP_ARG_ENABLE(odbc,,
+[ --enable-odbc Enable ODBC support with selected driver])
+
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(adabas,,
-[ --with-adabas[=DIR] Include Adabas D support [/usr/local]])
+[ --with-adabas[=DIR] Include Adabas D support [/usr/local]], no, no)
if test "$PHP_ADABAS" != "no"; then
AC_MSG_CHECKING([for Adabas support])
@@ -128,7 +131,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(sapdb,,
-[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]])
+[ --with-sapdb[=DIR] Include SAP DB support [/usr/local]], no, no)
if test "$PHP_SAPDB" != "no"; then
AC_MSG_CHECKING([for SAP DB support])
@@ -146,7 +149,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(solid,,
-[ --with-solid[=DIR] Include Solid support [/usr/local/solid]])
+[ --with-solid[=DIR] Include Solid support [/usr/local/solid]], no, no)
if test "$PHP_SOLID" != "no"; then
AC_MSG_CHECKING(for Solid support)
@@ -171,7 +174,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(ibm-db2,,
-[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]])
+[ --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]], no, no)
if test "$PHP_IBM_DB2" != "no"; then
AC_MSG_CHECKING(for IBM DB2 support)
@@ -208,7 +211,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(ODBCRouter,,
-[ --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]])
+[ --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]], no, no)
if test "$PHP_ODBCROUTER" != "no"; then
AC_MSG_CHECKING(for ODBCRouter.com support)
@@ -229,7 +232,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(empress,,
[ --with-empress[=DIR] Include Empress support [\$EMPRESSPATH]
- (Empress Version >= 8.60 required)])
+ (Empress Version >= 8.60 required)], no, no)
if test "$PHP_EMPRESS" != "no"; then
AC_MSG_CHECKING(for Empress support)
@@ -253,7 +256,7 @@
PHP_ARG_WITH(empress-bcs,,
[ --with-empress-bcs[=DIR]
Include Empress Local Access support [\$EMPRESSPATH]
- (Empress Version >= 8.60 required)])
+ (Empress Version >= 8.60 required)], no, no)
if test "$PHP_EMPRESS_BCS" != "no"; then
AC_MSG_CHECKING(for Empress local access support)
@@ -291,7 +294,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(birdstep,,
-[ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]])
+[ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]], no, no)
if test "$PHP_BIRDSTEP" != "no"; then
AC_MSG_CHECKING(for Birdstep support)
@@ -346,7 +349,7 @@
running this configure script:
CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\"
LDFLAGS=-lunix
- CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"])
+ CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"], no, no)
if test "$PHP_CUSTOM_ODBC" != "no"; then
AC_MSG_CHECKING(for a custom ODBC support)
@@ -366,7 +369,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(iodbc,,
-[ --with-iodbc[=DIR] Include iODBC support [/usr/local]])
+[ --with-iodbc[=DIR] Include iODBC support [/usr/local]], no, no)
if test "$PHP_IODBC" != "no"; then
AC_MSG_CHECKING(for iODBC support)
@@ -387,7 +390,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(esoob,,
-[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]])
+[ --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]], no, no)
if test "$PHP_ESOOB" != "no"; then
AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support)
@@ -407,7 +410,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(unixODBC,,
-[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]])
+[ --with-unixODBC[=DIR] Include unixODBC support [/usr/local]], no, no)
if test "$PHP_UNIXODBC" != "no"; then
AC_MSG_CHECKING(for unixODBC support)
@@ -428,7 +431,7 @@
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(dbmaker,,
-[ --with-dbmaker[=DIR] Include DBMaker support])
+[ --with-dbmaker[=DIR] Include DBMaker support], no, no)
if test "$PHP_DBMAKER" != "no"; then
AC_MSG_CHECKING(for DBMaker support)

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_dblib
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_dblib
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_firebird
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_firebird
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_mysql
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_mysql
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_odbc
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_odbc
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_pgsql
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_pgsql
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pdo_sqlite
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pdo_sqlite
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pgsql
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pgsql
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,30 @@
--- pgsql.c.orig 2010-01-03 10:23:27.000000000 +0100
+++ pgsql.c 2010-03-08 11:00:26.000000000 +0100
@@ -63,6 +63,7 @@
#define PGSQL_MAX_LENGTH_OF_LONG 30
#define PGSQL_MAX_LENGTH_OF_DOUBLE 60
+#if UINT_MAX > LONG_MAX
#define PGSQL_RETURN_OID(oid) do { \
if (oid > LONG_MAX) { \
smart_str s = {0}; \
@@ -72,7 +73,9 @@
} \
RETURN_LONG((long)oid); \
} while(0)
-
+#else
+#define PGSQL_RETURN_OID(oid) RETURN_LONG((long)oid)
+#endif
#if HAVE_PQSETNONBLOCKING
#define PQ_SETNONBLOCKING(pg_link, flag) PQsetnonblocking(pg_link, flag)
@@ -728,7 +731,7 @@
static int le_link, le_plink, le_result, le_lofp, le_string;
/* {{{ _php_pgsql_trim_message */
-static char * _php_pgsql_trim_message(const char *message, int *len)
+static char * _php_pgsql_trim_message(const char *message, size_t *len)
{
register int i = strlen(message)-1;

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sqlite
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sqlite
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,44 @@
--- config.m4.orig Wed Nov 30 05:50:03 2005
+++ config.m4 Tue Jan 17 12:51:21 2006
@@ -48,14 +48,6 @@
if test "$PHP_SQLITE" != "no"; then
- if test "$PHP_PDO" != "no"; then
- PHP_CHECK_PDO_INCLUDES([], [AC_MSG_WARN([Cannot find php_pdo_driver.h.])])
- if test -n "$pdo_inc_path"; then
- AC_DEFINE([PHP_SQLITE2_HAVE_PDO], [1], [Have PDO])
- pdo_inc_path="-I$pdo_inc_path"
- fi
- fi
-
if test "$PHP_SQLITE" != "yes"; then
SEARCH_PATH="/usr/local /usr"
SEARCH_FOR="/include/sqlite.h"
@@ -85,13 +77,12 @@
-L$SQLITE_DIR/$PHP_LIBDIR -lm
])
SQLITE_MODULE_TYPE=external
- PHP_SQLITE_CFLAGS=$pdo_inc_path
sqlite_extra_sources="libsqlite/src/encode.c"
else
# use bundled library
PHP_PROG_LEMON
SQLITE_MODULE_TYPE=builtin
- PHP_SQLITE_CFLAGS="-I@ext_srcdir@/libsqlite/src -I@ext_builddir@/libsqlite/src $pdo_inc_path"
+ PHP_SQLITE_CFLAGS="-I@ext_srcdir@/libsqlite/src -I@ext_builddir@/libsqlite/src"
sqlite_extra_sources="libsqlite/src/opcodes.c \
libsqlite/src/parse.c libsqlite/src/encode.c \
libsqlite/src/auth.c libsqlite/src/btree.c libsqlite/src/build.c \
@@ -109,10 +100,9 @@
dnl
dnl Common for both bundled/external
dnl
- sqlite_sources="sqlite.c sess_sqlite.c pdo_sqlite2.c $sqlite_extra_sources"
+ sqlite_sources="sqlite.c sess_sqlite.c $sqlite_extra_sources"
PHP_NEW_EXTENSION(sqlite, $sqlite_sources, $ext_shared,,$PHP_SQLITE_CFLAGS)
PHP_ADD_EXTENSION_DEP(sqlite, spl, true)
- PHP_ADD_EXTENSION_DEP(sqlite, pdo, true)
PHP_ADD_MAKEFILE_FRAGMENT
PHP_SUBST(SQLITE_SHARED_LIBADD)

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sqlite3
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sqlite3
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sybase_ct
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= databases
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sybase_ct
.include "${MASTERDIR}/Makefile"

View File

@ -3006,6 +3006,15 @@
SUBDIR += php52-sysvsem
SUBDIR += php52-sysvshm
SUBDIR += php52-tokenizer
SUBDIR += php53-gettext
SUBDIR += php53-json
SUBDIR += php53-pcntl
SUBDIR += php53-readline
SUBDIR += php53-shmop
SUBDIR += php53-sysvmsg
SUBDIR += php53-sysvsem
SUBDIR += php53-sysvshm
SUBDIR += php53-tokenizer
SUBDIR += phpbt
SUBDIR += phpsh
SUBDIR += phptags

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-gettext
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -gettext
.include "${MASTERDIR}/Makefile"

14
devel/php53-json/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-json
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -json
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pcntl
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pcntl
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-readline
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -readline
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,38 @@
--- config.m4.orig 2009-08-04 13:20:49.000000000 +0200
+++ config.m4 2009-09-22 11:13:12.000000000 +0200
@@ -5,13 +5,8 @@
PHP_ARG_WITH(libedit,for libedit readline replacement,
[ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)])
-if test "$PHP_LIBEDIT" = "no"; then
PHP_ARG_WITH(readline,for readline support,
[ --with-readline[=DIR] Include readline support (CLI/CGI only)])
-else
- dnl "register" the --with-readline option to preven invalid "unknown configure option" warning
- php_with_readline=no
-fi
if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
for i in $PHP_READLINE /usr/local /usr; do
@@ -60,6 +55,13 @@
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
])
+ PHP_CHECK_LIBRARY(readline, rl_completion_matches,
+ [
+ AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
+ ],[],[
+ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
+ ])
+
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
elif test "$PHP_LIBEDIT" != "no"; then
@@ -97,7 +99,6 @@
fi
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
- AC_CHECK_FUNCS([rl_completion_matches])
PHP_NEW_EXTENSION(readline, readline.c, $ext_shared, cli)
PHP_SUBST(READLINE_SHARED_LIBADD)
fi

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-shmop
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -shmop
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sysvmsg
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sysvmsg
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sysvsem
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sysvsem
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sysvshm
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sysvshm
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-tokenizer
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -tokenizer
.include "${MASTERDIR}/Makefile"

View File

@ -77,6 +77,8 @@
SUBDIR += php5-ftp
SUBDIR += php52-curl
SUBDIR += php52-ftp
SUBDIR += php53-curl
SUBDIR += php53-ftp
SUBDIR += phpwebftp
SUBDIR += plasma-applet-ftpmonitor
SUBDIR += proftpd

14
ftp/php53-curl/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-curl
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= ftp
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -curl
.include "${MASTERDIR}/Makefile"

14
ftp/php53-ftp/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-ftp
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= ftp
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -ftp
.include "${MASTERDIR}/Makefile"

View File

@ -726,6 +726,8 @@
SUBDIR += php52-exif
SUBDIR += php52-gd
SUBDIR += php52-ming
SUBDIR += php53-exif
SUBDIR += php53-gd
SUBDIR += phplot
SUBDIR += phpsview
SUBDIR += picpuz

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-exif
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -exif
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-gd
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -gd
.include "${MASTERDIR}/Makefile"

View File

@ -251,6 +251,8 @@
SUBDIR += php5-extensions
SUBDIR += php52
SUBDIR += php52-extensions
SUBDIR += php53
SUBDIR += php53-extensions
SUBDIR += php_doc
SUBDIR += picoc
SUBDIR += pike76

View File

@ -0,0 +1,127 @@
# New ports collection makefile for: php53-extensions
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= php53
PORTVERSION= 1.6
CATEGORIES= lang
MASTER_SITES= # none
PKGNAMESUFFIX= -extensions
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= flo@FreeBSD.org
COMMENT= A "meta-port" to install PHP extensions
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5 52
USE_PHP_BUILD= yes
NO_BUILD= yes
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
WITH_CTYPE= yes
WITH_DOM= yes
WITH_FILTER= yes
WITH_HASH= yes
WITH_ICONV= yes
WITH_JSON= yes
WITH_PDO= yes
WITH_PDO_SQLITE=yes
WITH_PHAR= yes
WITH_POSIX= yes
WITH_SESSION= yes
WITH_SIMPLEXML= yes
WITH_SQLITE= yes
WITH_SQLITE3= yes
WITH_TOKENIZER= yes
WITH_XML= yes
WITH_XMLREADER= yes
WITH_XMLWRITER= yes
OPTIONS= BCMATH "bc style precision math functions" off \
BZ2 "bzip2 library support" off \
CALENDAR "calendar conversion support" off \
CTYPE "ctype functions" on \
CURL "CURL support" off \
DBA "dba support" off \
DOM "DOM support" on \
EXIF "EXIF support" off \
FILEINFO "fileinfo support" off \
FILTER "input filter support" on \
FTP "FTP support" off \
GD "GD library support" off \
GETTEXT "gettext library support" off \
GMP "GNU MP support" off \
HASH "HASH Message Digest Framework" on \
ICONV "iconv support" on \
IMAP "IMAP support" off \
INTERBASE "Interbase 6 database support (Firebird)" off \
JSON "JavaScript Object Serialization support" on \
LDAP "OpenLDAP support" off \
MBSTRING "multibyte string support" off \
MCRYPT "Encryption support" off \
MSSQL "MS-SQL database support" off \
MYSQL "MySQL database support" off \
MYSQLI "MySQLi database support" off \
ODBC "ODBC support" off \
OPENSSL "OpenSSL support" off \
PCNTL "pcntl support (CLI only)" off \
PDF "PDFlib support (implies GD)" off \
PDO "PHP Data Objects Interface (PDO)" on \
PDO_SQLITE "PDO sqlite driver" on \
PGSQL "PostgreSQL database support" off \
PHAR "phar support" on \
POSIX "POSIX-like functions" on \
PSPELL "pspell support" off \
READLINE "readline support (CLI only)" off \
RECODE "recode support" off \
SESSION "session support" on \
SHMOP "shmop support" off \
SIMPLEXML "simplexml support" on \
SNMP "SNMP support" off \
SOAP "SOAP support" off \
SOCKETS "sockets support" off \
SQLITE "sqlite support" on \
SQLITE3 "sqlite3 support" on \
SYBASE_CT "Sybase database support" off \
SYSVMSG "System V message support" off \
SYSVSEM "System V semaphore support" off \
SYSVSHM "System V shared memory support" off \
TIDY "TIDY support" off \
TOKENIZER "tokenizer support" on \
WDDX "WDDX support (implies XML)" off \
XML "XML support" on \
XMLREADER "XMLReader support" on \
XMLRPC "XMLRPC-EPI support" off \
XMLWRITER "XMLWriter support" on \
XSL "XSL support (Implies DOM)" off \
ZIP "ZIP support" off \
ZLIB "ZLIB support" off
ALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \
DOM EXIF FILEINFO FILTER FTP GD GETTEXT \
GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \
MSSQL MYSQL MYSQLI \
ODBC OPENSSL PCNTL PDF PDO PDO_SQLITE PGSQL PHAR POSIX \
PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \
SOCKETS SQLITE SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \
TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \
ZIP ZLIB
.include <bsd.port.options.mk>
.for opt in ${ALL_OPTIONS}
. if defined(WITH_${opt}) && !defined(WITHOUT_${opt})
USE_PHP+= ${opt:L}
. endif
.endfor
do-install: build
@${DO_NADA}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
This is a "meta-port" to install the extensions for PHP 5.
Defaults to:
ctype, dom, iconv, pcre, posix, session, simplexml, sqlite, tokenizer and xml.
WWW: http://www.php.net/

View File

@ -5,8 +5,8 @@
# $FreeBSD$
#
PORTNAME= php5
PORTVERSION= 5.3.11
PORTNAME= php53
PORTVERSION= 5.3.13
PORTREVISION?= 0
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
@ -25,8 +25,6 @@ USE_AUTOTOOLS= autoconf
LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre
IGNORE= not usable until php5.4.x is in lang/php5
CONFIGURE_ARGS= \
--with-layout=GNU \
--localstatedir=/var \
@ -53,7 +51,7 @@ OPTIONS= CLI "Build CLI version" on \
MAILHEAD "Enable mail header patch" off \
LINKTHR "Link thread lib (for threaded extensions)" off
CONFLICTS= php4-4* php5-pcre-* php5-spl-*
CONFLICTS= php52-5* php5-5*
MAN1= php-config.1 phpize.1
@ -174,7 +172,7 @@ pre-configure:
@${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4
post-build:
@${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_VER=53" > ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf

View File

@ -1,5 +1,5 @@
SHA256 (php-5.3.11.tar.bz2) = b4174c97ca8d8bcf4b52b8b9ef2c2f35e1b611a5a660e02d7cd3edf263a6bd5d
SIZE (php-5.3.11.tar.bz2) = 11396215
SHA256 (php-5.3.13.tar.bz2) = ef1a7235b16be449f31f73f60d5770a133b863d225d65a218546cfb7d031d99b
SIZE (php-5.3.13.tar.bz2) = 11396389
SHA256 (suhosin-patch-5.3.x-0.9.10.patch.gz) = 4438caeab0a10c6c94aee9f7eaa703f5799f97d4e0579f43a947bb7314e38317
SIZE (suhosin-patch-5.3.x-0.9.10.patch.gz) = 40967
SHA256 (php-5.3.x-mail-header.patch) = 5a677448b32d9f592703e2323a33facdb45e5c237dcca04aaea8ec3287f7db84

View File

@ -487,6 +487,7 @@
SUBDIR += pgpsendmail
SUBDIR += php5-imap
SUBDIR += php52-imap
SUBDIR += php53-imap
SUBDIR += phplist
SUBDIR += phpmailer
SUBDIR += phpmailer2

14
mail/php53-imap/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-imap
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= mail
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -imap
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,42 @@
--- config.m4.orig 2010-02-07 14:06:54.000000000 +0100
+++ config.m4 2010-03-08 11:56:24.000000000 +0100
@@ -103,6 +103,8 @@
PHP_ARG_WITH(imap-ssl,for IMAP SSL support,
[ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no)
+PHP_ARG_WITH(pcre-dir, pcre install prefix,
+[ --with-pcre-dir IMAP: pcre install prefix], no, no)
if test "$PHP_IMAP" != "no"; then
PHP_SUBST(IMAP_SHARED_LIBADD)
@@ -119,6 +121,30 @@
fi
done
+ dnl This is PECL build, check if bundled PCRE library is used
+ old_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=yes
+ ],[
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
+ ])
+
dnl Check for c-client version 2004
AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [
AC_DEFINE(HAVE_IMAP2004,1,[ ])

View File

@ -490,6 +490,8 @@
SUBDIR += php5-bcmath
SUBDIR += php5-gmp
SUBDIR += php52-bcmath
SUBDIR += php53-gmp
SUBDIR += php53-bcmath
SUBDIR += php52-gmp
SUBDIR += physcalc
SUBDIR += plman

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-bcmath
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= math
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -bcmath
.include "${MASTERDIR}/Makefile"

14
math/php53-gmp/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-gmp
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= math
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -gmp
.include "${MASTERDIR}/Makefile"

View File

@ -449,6 +449,7 @@
SUBDIR += pecl-timezonedb
SUBDIR += php5-calendar
SUBDIR += php52-calendar
SUBDIR += php53-calendar
SUBDIR += phraze
SUBDIR += pinfo
SUBDIR += pipe

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-calendar
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= misc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -calendar
.include "${MASTERDIR}/Makefile"

View File

@ -241,6 +241,7 @@
SUBDIR += pftabled
SUBDIR += php5-snmp
SUBDIR += php52-snmp
SUBDIR += php53-snmp
SUBDIR += phpip
SUBDIR += phpweathermap
SUBDIR += pixilate

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-snmp
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= net-mgmt
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -snmp
.include "${MASTERDIR}/Makefile"

View File

@ -831,6 +831,10 @@
SUBDIR += php52-soap
SUBDIR += php52-sockets
SUBDIR += php52-xmlrpc
SUBDIR += php53-ldap
SUBDIR += php53-soap
SUBDIR += php53-sockets
SUBDIR += php53-xmlrpc
SUBDIR += phpldapadmin
SUBDIR += pimdd
SUBDIR += pipsecd

14
net/php53-ldap/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-ldap
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= net
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -ldap
.include "${MASTERDIR}/Makefile"

14
net/php53-soap/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-soap
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= net
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -soap
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-sockets
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= net
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -sockets
.include "${MASTERDIR}/Makefile"

14
net/php53-xmlrpc/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-xmlrpc
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= net
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -xmlrpc
.include "${MASTERDIR}/Makefile"

View File

@ -668,6 +668,10 @@
SUBDIR += php52-mcrypt
SUBDIR += php52-mhash
SUBDIR += php52-openssl
SUBDIR += php53-filter
SUBDIR += php53-hash
SUBDIR += php53-mcrypt
SUBDIR += php53-openssl
SUBDIR += phpdeadlock
SUBDIR += phpsecinfo
SUBDIR += pidentd

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-filter
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -filter
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,10 @@
--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100
+++ config.m4 2009-03-06 08:28:10.000000000 +0100
@@ -32,6 +32,7 @@
#endif
],[
PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
],[
PHP_PCRE_REGEX=no
])

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-hash
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -hash
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-mcrypt
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -mcrypt
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-openssl
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -openssl
.include "${MASTERDIR}/Makefile"

View File

@ -674,6 +674,8 @@
SUBDIR += php5-fileinfo
SUBDIR += php5-posix
SUBDIR += php52-posix
SUBDIR += php53-fileinfo
SUBDIR += php53-posix
SUBDIR += pidof
SUBDIR += pipemeter
SUBDIR += plasma-applet-apcups

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-fileinfo
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= sysutils
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -fileinfo
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,21 @@
--- config.m4.orig 2010-09-07 15:45:30.000000000 +0200
+++ config.m4 2010-09-07 15:46:50.000000000 +0200
@@ -4,6 +4,9 @@
PHP_ARG_ENABLE(fileinfo, for fileinfo support,
[ --disable-fileinfo Disable fileinfo support], yes)
+PHP_ARG_WITH(pcre-dir, pcre install prefix,
+[ --with-pcre-dir FILEINFO: pcre install prefix], no, no)
+
if test "$PHP_FILEINFO" != "no"; then
libmagic_sources=" \
@@ -13,6 +16,8 @@
libmagic/is_tar.c libmagic/magic.c libmagic/print.c \
libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c"
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+
PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic)
PHP_ADD_BUILD_DIR($ext_builddir/libmagic)

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-posix
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= sysutils
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -posix
.include "${MASTERDIR}/Makefile"

View File

@ -1084,6 +1084,15 @@
SUBDIR += php52-xmlreader
SUBDIR += php52-xmlwriter
SUBDIR += php52-xsl
SUBDIR += php53-ctype
SUBDIR += php53-dom
SUBDIR += php53-pspell
SUBDIR += php53-simplexml
SUBDIR += php53-wddx
SUBDIR += php53-xml
SUBDIR += php53-xmlreader
SUBDIR += php53-xmlwriter
SUBDIR += php53-xsl
SUBDIR += po4a
SUBDIR += pocketreader
SUBDIR += pootle

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-ctype
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -ctype
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-dom
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -dom
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-pspell
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -pspell
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-simplexml
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -simplexml
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-wddx
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -wddx
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-xml
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -xml
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-xmlreader
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -xmlreader
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-xmlwriter
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -xmlwriter
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-xsl
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= textproc
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -xsl
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,11 @@
--- php_xsl.h.orig Sun Jan 1 13:50:17 2006
+++ php_xsl.h Tue Jan 17 16:23:10 2006
@@ -43,7 +43,7 @@
#include <libexslt/exsltconfig.h>
#endif
-#include "../dom/xml_common.h"
+#include "ext/dom/xml_common.h"
#include "xsl_fe.h"
#include <libxslt/extensions.h>

View File

@ -1381,6 +1381,8 @@
SUBDIR += php5-tidy
SUBDIR += php52-session
SUBDIR += php52-tidy
SUBDIR += php53-session
SUBDIR += php53-tidy
SUBDIR += phpbb
SUBDIR += phpbb-devel
SUBDIR += phpbb3

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-session
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -session
.include "${MASTERDIR}/Makefile"

14
www/php53-tidy/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php53-tidy
# Date created: 12 Apr 2012
# Whom: Florian Smeets <flo@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= www
MASTERDIR= ${.CURDIR}/../../lang/php53
PKGNAMESUFFIX= -tidy
.include "${MASTERDIR}/Makefile"