pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/php-mongodb



Module Name:    pkgsrc
Committed By:   jdolecek
Date:           Thu Aug  4 16:03:53 UTC 2016

Added Files:
        pkgsrc/databases/php-mongodb: DESCR Makefile distinfo
        pkgsrc/databases/php-mongodb/patches: patch-config.m4

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-mongodb/DESCR \
    pkgsrc/databases/php-mongodb/Makefile \
    pkgsrc/databases/php-mongodb/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-mongodb/patches/patch-config.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/php-mongodb/DESCR
diff -u /dev/null pkgsrc/databases/php-mongodb/DESCR:1.1
--- /dev/null   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/DESCR  Thu Aug  4 16:03:53 2016
@@ -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
Index: pkgsrc/databases/php-mongodb/Makefile
diff -u /dev/null pkgsrc/databases/php-mongodb/Makefile:1.1
--- /dev/null   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/Makefile       Thu Aug  4 16:03:53 2016
@@ -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"
Index: pkgsrc/databases/php-mongodb/distinfo
diff -u /dev/null pkgsrc/databases/php-mongodb/distinfo:1.1
--- /dev/null   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/distinfo       Thu Aug  4 16:03:53 2016
@@ -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

Index: pkgsrc/databases/php-mongodb/patches/patch-config.m4
diff -u /dev/null pkgsrc/databases/php-mongodb/patches/patch-config.m4:1.1
--- /dev/null   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/patches/patch-config.m4        Thu Aug  4 16:03:53 2016
@@ -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