diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 13 | ||||
-rw-r--r-- | databases/php70-dba/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-dba/files/patch-config.m4 | 50 | ||||
-rw-r--r-- | databases/php70-interbase/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-mysqli/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-mysqli/files/patch-php_mysqli_structs.h | 10 | ||||
-rw-r--r-- | databases/php70-odbc/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-odbc/files/patch-config.m4 | 129 | ||||
-rw-r--r-- | databases/php70-pdo/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_dblib/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_firebird/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_mysql/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_odbc/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_pgsql/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pdo_sqlite/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-pgsql/Makefile | 10 | ||||
-rw-r--r-- | databases/php70-sqlite3/Makefile | 10 |
17 files changed, 332 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 016d953048b1..b66845d3b4e9 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -615,6 +615,19 @@ SUBDIR += php56-redis SUBDIR += php56-sqlite3 SUBDIR += php56-sybase_ct + SUBDIR += php70-dba + SUBDIR += php70-interbase + SUBDIR += php70-mysqli + SUBDIR += php70-odbc + SUBDIR += php70-pdo + SUBDIR += php70-pdo_dblib + SUBDIR += php70-pdo_firebird + SUBDIR += php70-pdo_mysql + SUBDIR += php70-pdo_odbc + SUBDIR += php70-pdo_pgsql + SUBDIR += php70-pdo_sqlite + SUBDIR += php70-pgsql + SUBDIR += php70-sqlite3 SUBDIR += phpminiadmin SUBDIR += phpmyadmin SUBDIR += phppgadmin diff --git a/databases/php70-dba/Makefile b/databases/php70-dba/Makefile new file mode 100644 index 000000000000..d330c3104c95 --- /dev/null +++ b/databases/php70-dba/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -dba + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-dba/files/patch-config.m4 b/databases/php70-dba/files/patch-config.m4 new file mode 100644 index 000000000000..30f662138374 --- /dev/null +++ b/databases/php70-dba/files/patch-config.m4 @@ -0,0 +1,50 @@ +--- config.m4.orig 2016-01-06 15:14:47 UTC ++++ config.m4 +@@ -324,6 +324,38 @@ if test "$PHP_DB4" != "no"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.3/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/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/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 +@@ -366,7 +398,7 @@ if test "$PHP_DB4" != "no"; then + break + fi + done +- PHP_DBA_DB_CHECK(4, db-5.3 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 db-5.3 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) + diff --git a/databases/php70-interbase/Makefile b/databases/php70-interbase/Makefile new file mode 100644 index 000000000000..2c0aa00a486c --- /dev/null +++ b/databases/php70-interbase/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -interbase + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-mysqli/Makefile b/databases/php70-mysqli/Makefile new file mode 100644 index 000000000000..5209eaeab888 --- /dev/null +++ b/databases/php70-mysqli/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -mysqli + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-mysqli/files/patch-php_mysqli_structs.h b/databases/php70-mysqli/files/patch-php_mysqli_structs.h new file mode 100644 index 000000000000..d0daeee9ee54 --- /dev/null +++ b/databases/php70-mysqli/files/patch-php_mysqli_structs.h @@ -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) diff --git a/databases/php70-odbc/Makefile b/databases/php70-odbc/Makefile new file mode 100644 index 000000000000..b84c23d9d678 --- /dev/null +++ b/databases/php70-odbc/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -odbc + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-odbc/files/patch-config.m4 b/databases/php70-odbc/files/patch-config.m4 new file mode 100644 index 000000000000..742efcb7e881 --- /dev/null +++ b/databases/php70-odbc/files/patch-config.m4 @@ -0,0 +1,129 @@ +--- config.m4.orig 2015-04-15 18:05:57.000000000 +0000 ++++ config.m4 2015-04-26 12:08:54.914235064 +0000 +@@ -100,13 +100,17 @@ + dnl configure options + dnl + ++PHP_ARG_ENABLE(odbc,, ++[ --enable-odbc Enable ODBC support with selected driver]) ++ ++ + PHP_ARG_WITH(odbcver,, + [ --with-odbcver[=HEX] Force support for the passed ODBC version. A hex number is expected, default 0x0300. + Use the special value of 0 to prevent an explicit ODBCVER to be defined. ], 0x0300) + + 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) + + AC_MSG_CHECKING([for Adabas support]) + if test "$PHP_ADABAS" != "no"; then +@@ -135,7 +139,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) + + AC_MSG_CHECKING([for SAP DB support]) + if test "$PHP_SAPDB" != "no"; then +@@ -155,7 +159,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) + + AC_MSG_CHECKING(for Solid support) + if test "$PHP_SOLID" != "no"; then +@@ -182,7 +186,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) + + AC_MSG_CHECKING(for IBM DB2 support) + if test "$PHP_IBM_DB2" != "no"; then +@@ -221,7 +225,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) + + AC_MSG_CHECKING(for ODBCRouter.com support) + if test "$PHP_ODBCROUTER" != "no"; then +@@ -244,7 +248,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) + + AC_MSG_CHECKING(for Empress support) + if test "$PHP_EMPRESS" != "no"; then +@@ -270,7 +274,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) + + AC_MSG_CHECKING(for Empress local access support) + if test "$PHP_EMPRESS_BCS" != "no"; then +@@ -310,7 +314,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) + + AC_MSG_CHECKING(for Birdstep support) + if test "$PHP_BIRDSTEP" != "no"; then +@@ -366,7 +370,7 @@ + running this configure script: + CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\" + LDFLAGS=-lunix +- CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"]) ++ CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"], no, no) + + AC_MSG_CHECKING(for a custom ODBC support) + if test "$PHP_CUSTOM_ODBC" != "no"; then +@@ -388,7 +392,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) + + AC_MSG_CHECKING(for iODBC support) + if test "$PHP_IODBC" != "no"; then +@@ -426,7 +430,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) + + AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support) + if test "$PHP_ESOOB" != "no"; then +@@ -448,7 +452,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) + + AC_MSG_CHECKING(for unixODBC support) + if test "$PHP_UNIXODBC" != "no"; then +@@ -471,7 +475,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) + + AC_MSG_CHECKING(for DBMaker support) + if test "$PHP_DBMAKER" != "no"; then diff --git a/databases/php70-pdo/Makefile b/databases/php70-pdo/Makefile new file mode 100644 index 000000000000..bc754645bb11 --- /dev/null +++ b/databases/php70-pdo/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_dblib/Makefile b/databases/php70-pdo_dblib/Makefile new file mode 100644 index 000000000000..07819840243e --- /dev/null +++ b/databases/php70-pdo_dblib/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_dblib + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_firebird/Makefile b/databases/php70-pdo_firebird/Makefile new file mode 100644 index 000000000000..21bda3ad7a35 --- /dev/null +++ b/databases/php70-pdo_firebird/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_firebird + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_mysql/Makefile b/databases/php70-pdo_mysql/Makefile new file mode 100644 index 000000000000..daf1a199b932 --- /dev/null +++ b/databases/php70-pdo_mysql/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_mysql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_odbc/Makefile b/databases/php70-pdo_odbc/Makefile new file mode 100644 index 000000000000..c0a18286b2b7 --- /dev/null +++ b/databases/php70-pdo_odbc/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_odbc + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_pgsql/Makefile b/databases/php70-pdo_pgsql/Makefile new file mode 100644 index 000000000000..95e23d156a2e --- /dev/null +++ b/databases/php70-pdo_pgsql/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_pgsql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pdo_sqlite/Makefile b/databases/php70-pdo_sqlite/Makefile new file mode 100644 index 000000000000..709e3d52e341 --- /dev/null +++ b/databases/php70-pdo_sqlite/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pdo_sqlite + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-pgsql/Makefile b/databases/php70-pgsql/Makefile new file mode 100644 index 000000000000..e61c9681fa64 --- /dev/null +++ b/databases/php70-pgsql/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -pgsql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php70-sqlite3/Makefile b/databases/php70-sqlite3/Makefile new file mode 100644 index 000000000000..38f6b89d2080 --- /dev/null +++ b/databases/php70-sqlite3/Makefile @@ -0,0 +1,10 @@ +# Created by: Alex Dupre <ale@FreeBSD.org> +# $FreeBSD$ + +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php70 + +PKGNAMESUFFIX= -sqlite3 + +.include "${MASTERDIR}/Makefile" |