[Midnightbsd-cvs] mports [20617] trunk/databases: add some php database libs
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Nov 1 11:42:29 EST 2015
Revision: 20617
http://svnweb.midnightbsd.org/mports/?rev=20617
Author: laffer1
Date: 2015-11-01 11:42:28 -0500 (Sun, 01 Nov 2015)
Log Message:
-----------
add some php database libs
Modified Paths:
--------------
trunk/databases/Makefile
Added Paths:
-----------
trunk/databases/php55-mssql/
trunk/databases/php55-mssql/Makefile
trunk/databases/php55-mysql/
trunk/databases/php55-mysql/Makefile
trunk/databases/php55-mysqli/
trunk/databases/php55-mysqli/Makefile
trunk/databases/php55-mysqli/files/
trunk/databases/php55-mysqli/files/patch-php_mysqli_structs.h
trunk/databases/php55-odbc/
trunk/databases/php55-odbc/Makefile
trunk/databases/php55-odbc/files/
trunk/databases/php55-odbc/files/patch-config.m4
trunk/databases/php55-pgsql/
trunk/databases/php55-pgsql/Makefile
trunk/databases/php55-pgsql/files/
trunk/databases/php55-pgsql/files/patch-pgsql.c
trunk/databases/php55-redis/
trunk/databases/php55-redis/Makefile
trunk/databases/php55-redis/distinfo
trunk/databases/php55-redis/pkg-descr
Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile 2015-11-01 03:36:02 UTC (rev 20616)
+++ trunk/databases/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -65,6 +65,12 @@
SUBDIR += php5-pgsql
SUBDIR += php5-sqlite3
SUBDIR += php5-sybase_ct
+SUBDIR += php55-mssql
+SUBDIR += php55-mysql
+SUBDIR += php55-mysqli
+SUBDIR += php55-odbc
+SUBDIR += php55-pgsql
+SUBDIR += php55-redis
SUBDIR += phpmyadmin
SUBDIR += phppgadmin
SUBDIR += postgresql-jdbc
Added: trunk/databases/php55-mssql/Makefile
===================================================================
--- trunk/databases/php55-mssql/Makefile (rev 0)
+++ trunk/databases/php55-mssql/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -mssql
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/databases/php55-mssql/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-mysql/Makefile
===================================================================
--- trunk/databases/php55-mysql/Makefile (rev 0)
+++ trunk/databases/php55-mysql/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -mysql
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/databases/php55-mysql/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-mysqli/Makefile
===================================================================
--- trunk/databases/php55-mysqli/Makefile (rev 0)
+++ trunk/databases/php55-mysqli/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -mysqli
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/databases/php55-mysqli/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-mysqli/files/patch-php_mysqli_structs.h
===================================================================
--- trunk/databases/php55-mysqli/files/patch-php_mysqli_structs.h (rev 0)
+++ trunk/databases/php55-mysqli/files/patch-php_mysqli_structs.h 2015-11-01 16:42:28 UTC (rev 20617)
@@ -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)
Property changes on: trunk/databases/php55-mysqli/files/patch-php_mysqli_structs.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-odbc/Makefile
===================================================================
--- trunk/databases/php55-odbc/Makefile (rev 0)
+++ trunk/databases/php55-odbc/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -odbc
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/databases/php55-odbc/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-odbc/files/patch-config.m4
===================================================================
--- trunk/databases/php55-odbc/files/patch-config.m4 (rev 0)
+++ trunk/databases/php55-odbc/files/patch-config.m4 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,129 @@
+--- config.m4.orig 2015-03-18 09:45:50.000000000 +0000
++++ config.m4 2015-04-01 08:24:25.857888541 +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)
+
+ if test "$PHP_ADABAS" != "no"; then
+ AC_MSG_CHECKING([for Adabas support])
+@@ -133,7 +137,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])
+@@ -151,7 +155,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)
+@@ -176,7 +180,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)
+@@ -213,7 +217,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)
+@@ -234,7 +238,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)
+@@ -258,7 +262,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)
+@@ -296,7 +300,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)
+@@ -350,7 +354,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)
+@@ -370,7 +374,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)
+@@ -406,7 +410,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)
+@@ -426,7 +430,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)
+@@ -447,7 +451,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)
Property changes on: trunk/databases/php55-odbc/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-pgsql/Makefile
===================================================================
--- trunk/databases/php55-pgsql/Makefile (rev 0)
+++ trunk/databases/php55-pgsql/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= databases
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -pgsql
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/databases/php55-pgsql/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-pgsql/files/patch-pgsql.c
===================================================================
--- trunk/databases/php55-pgsql/files/patch-pgsql.c (rev 0)
+++ trunk/databases/php55-pgsql/files/patch-pgsql.c 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,11 @@
+--- pgsql.c.orig 2010-01-03 10:23:27.000000000 +0100
++++ pgsql.c 2010-03-08 11:00:26.000000000 +0100
+@@ -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;
+
Property changes on: trunk/databases/php55-pgsql/files/patch-pgsql.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-redis/Makefile
===================================================================
--- trunk/databases/php55-redis/Makefile (rev 0)
+++ trunk/databases/php55-redis/Makefile 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,36 @@
+# $MidnightBSD$
+
+PORTNAME= redis
+PORTVERSION= 2.2.4
+CATEGORIES= databases
+PKGNAMEPREFIX= php55-
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= PHP5-Extension for Redis
+
+LICENSE= php
+
+USE_GITHUB= yes
+GH_ACCOUNT= nicolasff
+GH_PROJECT= phpredis
+
+USE_PHP= session
+USE_PHP_BUILD= yes
+USE_PHPEXT= yes
+PHP_DEFAULT= 5.5
+
+PHP_MODNAME= redis
+
+OPTIONS_DEFINE= IGBINARY
+IGBINARY_DESC= Build with Igbinary serializer
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MIGBINARY}
+USE_PHP+= igbinary
+CONFIGURE_ARGS+=--enable-redis-igbinary
+.else
+CONFIGURE_ARGS+=--disable-redis-igbinary
+.endif
+
+.include <bsd.port.mk>
Property changes on: trunk/databases/php55-redis/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-redis/distinfo
===================================================================
--- trunk/databases/php55-redis/distinfo (rev 0)
+++ trunk/databases/php55-redis/distinfo 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,2 @@
+SHA256 (nicolasff-phpredis-2.2.4_GH0.tar.gz) = 55ead350cee71c96afacd6bb76154bbf26b397c8714ecd6056e12caa7dbd4522
+SIZE (nicolasff-phpredis-2.2.4_GH0.tar.gz) = 122063
Property changes on: trunk/databases/php55-redis/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/php55-redis/pkg-descr
===================================================================
--- trunk/databases/php55-redis/pkg-descr (rev 0)
+++ trunk/databases/php55-redis/pkg-descr 2015-11-01 16:42:28 UTC (rev 20617)
@@ -0,0 +1,8 @@
+This extension provides an API for communicating with Redis database,
+a persistent key-value database with built-in net interface written
+in ANSI-C for Posix systems.
+
+It is a fork of alfonsojimenez's phpredis, adding many methods and
+fixing a lot of issues.
+
+WWW: https://github.com/nicolasff/phpredis
Property changes on: trunk/databases/php55-redis/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list