pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/php-mongodb Add php-mongodb 1.1.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a17bff9a9a8d
branches:  trunk
changeset: 350759:a17bff9a9a8d
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Thu Aug 04 16:03:53 2016 +0000

description:
Add php-mongodb 1.1.8

The purpose of this driver is to provide exceptionally thin glue
between MongoDB and PHP, implementing only fundemental and
performance-critical components necessary to build a fully-functional
MongoDB driver.

Countrary to php-mongo, mongodb one supports php 7.x as well as 5.5.x/5.6.x

diffstat:

 databases/php-mongodb/DESCR                   |   6 ++++
 databases/php-mongodb/Makefile                |  15 +++++++++++
 databases/php-mongodb/distinfo                |   7 +++++
 databases/php-mongodb/patches/patch-config.m4 |  36 +++++++++++++++++++++++++++
 4 files changed, 64 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r d084665c7c0a -r a17bff9a9a8d databases/php-mongodb/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mongodb/DESCR       Thu Aug 04 16:03:53 2016 +0000
@@ -0,0 +1,6 @@
+The purpose of this driver is to provide exceptionally thin glue
+between MongoDB and PHP, implementing only fundemental and
+performance-critical components necessary to build a fully-functional
+MongoDB driver.
+
+Extension is supposed to be compatible with PHP 5.5.x, 5.6.x and 7.x
diff -r d084665c7c0a -r a17bff9a9a8d databases/php-mongodb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mongodb/Makefile    Thu Aug 04 16:03:53 2016 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+
+MODNAME=               mongodb
+PECL_VERSION=          1.1.8
+CATEGORIES+=           databases
+
+MAINTAINER=            bartosz.kuzma%gmail.com@localhost
+HOMEPAGE=              http://docs.mongodb.org/ecosystem/drivers/php/
+COMMENT=               MongoDB database driver
+LICENSE=               apache-2.0
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../databases/libmongo-client/buildlink3.mk"
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d084665c7c0a -r a17bff9a9a8d databases/php-mongodb/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mongodb/distinfo    Thu Aug 04 16:03:53 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+
+SHA1 (php-mongodb/mongodb-1.1.8.tgz) = eb81fe05cf6c83d92b2416adb6f5a000baaa33d6
+RMD160 (php-mongodb/mongodb-1.1.8.tgz) = 9ef3740c43f951f78deb8f85075ffda896bb5407
+SHA512 (php-mongodb/mongodb-1.1.8.tgz) = 1026b4081cd1c35f1f6fee6332c21dbe739320236377c0ed21b8d64447a9ba26464a919ceb9c16b332a64f12b834700472d6cbfb336d09d841c97ca0b402bf17
+Size (php-mongodb/mongodb-1.1.8.tgz) = 806900 bytes
+SHA1 (patch-config.m4) = cbf500e990d2b9e8eea895cb6e1e9f9a0b62022a
diff -r d084665c7c0a -r a17bff9a9a8d databases/php-mongodb/patches/patch-config.m4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-mongodb/patches/patch-config.m4     Thu Aug 04 16:03:53 2016 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-config.m4,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+
+--- config.m4.orig     2016-08-04 15:57:53.000000000 +0000
++++ config.m4
+@@ -468,11 +468,11 @@ dnl }}}
+   PHP_ADD_BUILD_DIR([$ext_builddir/src/MongoDB/])
+   PHP_ADD_BUILD_DIR([$ext_builddir/src/MongoDB/Exception/])
+   PHP_ADD_BUILD_DIR([$ext_builddir/src/contrib/])
+-  if test "$PHP_LIBMONGOC" == "no"; then
++  if test "$PHP_LIBMONGOC" = "no"; then
+     PHP_ADD_INCLUDE([$ext_srcdir/src/libmongoc/src/mongoc/])
+     PHP_ADD_BUILD_DIR([$ext_builddir/src/libmongoc/src/mongoc/])
+   fi
+-  if test "$PHP_LIBBSON" == "no"; then
++  if test "$PHP_LIBBSON" = "no"; then
+     m4_include(src/libbson/build/autotools/CheckAtomics.m4)
+     m4_include(src/libbson/build/autotools/FindDependencies.m4)
+     m4_include(src/libbson/build/autotools/m4/ac_compile_check_sizeof.m4)
+@@ -517,7 +517,7 @@ dnl }}}
+     AC_SUBST(BSON_HAVE_SNPRINTF, 0)
+   fi
+ 
+-  if test "$PHP_LIBMONGOC" == "no"; then
++  if test "$PHP_LIBMONGOC" = "no"; then
+     backup_srcdir=${srcdir}
+     srcdir=${srcdir}/src/libmongoc/
+     m4_include(src/libmongoc/build/autotools/Versions.m4)
+@@ -531,7 +531,7 @@ dnl }}}
+     AC_OUTPUT($srcdir/src/libmongoc/src/mongoc/mongoc-config.h)
+     AC_OUTPUT($srcdir/src/libmongoc/src/mongoc/mongoc-version.h)
+   fi
+-  if test "$PHP_LIBBSON" == "no"; then
++  if test "$PHP_LIBBSON" = "no"; then
+     backup_srcdir=${srcdir}
+     srcdir=${srcdir}/src/libbson/
+     m4_include(src/libbson/build/autotools/Versions.m4)



Home | Main Index | Thread Index | Old Index