diff options
author | fhajny <fhajny@pkgsrc.org> | 2017-10-13 14:27:54 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2017-10-13 14:27:54 +0000 |
commit | 50e06a6eb091b5ca6dc8538d210e135dcefa805c (patch) | |
tree | 8f78167950807eeb95058b4552cfb85fbf2875d9 /databases | |
parent | a9defb823614df0787ddf5e5783ca0e729bb1236 (diff) | |
download | pkgsrc-50e06a6eb091b5ca6dc8538d210e135dcefa805c.tar.gz |
Update databases/mongo-c-driver to 1.8.1.
- Remove a syntax error in the configure script that affects some shells.
- The configure script respects --with-zlib=system and --with-snappy=system.
- The internal mongoc_server_description_t struct is properly reinitialized
after a network error.
- Fix the encoding of this NEWS file.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mongo-c-driver/Makefile | 7 | ||||
-rw-r--r-- | databases/mongo-c-driver/distinfo | 11 | ||||
-rw-r--r-- | databases/mongo-c-driver/patches/patch-configure | 19 |
3 files changed, 10 insertions, 27 deletions
diff --git a/databases/mongo-c-driver/Makefile b/databases/mongo-c-driver/Makefile index c8fdc01a612..f7152be5bfb 100644 --- a/databases/mongo-c-driver/Makefile +++ b/databases/mongo-c-driver/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2017/09/26 14:18:21 fhajny Exp $ +# $NetBSD: Makefile,v 1.28 2017/10/13 14:27:54 fhajny Exp $ -DISTNAME= mongo-c-driver-1.8.0 +DISTNAME= mongo-c-driver-1.8.1 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/} @@ -25,6 +25,8 @@ USE_TOOLS+= gmake pkg-config CONFIGURE_ARGS+= --enable-man-pages=yes CONFIGURE_ARGS+= --with-libbson=system +CONFIGURE_ARGS+= --with-snappy=system +CONFIGURE_ARGS+= --with-zlib=system CONFIGURE_ENV+= SPHINX_BUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX} PKGCONFIG_OVERRIDE+= src/libmongoc-1.0.pc.in @@ -43,5 +45,6 @@ PYTHON_FOR_BUILD_ONLY= yes # libbson and mongo-c-driver released are tied BUILDLINK_API_DEPENDS.libbson+= libbson>=${PKGVERSION_NOREV} .include "../../devel/libbson/buildlink3.mk" +.include "../../devel/snappy/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/mongo-c-driver/distinfo b/databases/mongo-c-driver/distinfo index ae8a4276a3c..2f390aba650 100644 --- a/databases/mongo-c-driver/distinfo +++ b/databases/mongo-c-driver/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.26 2017/09/26 14:18:21 fhajny Exp $ +$NetBSD: distinfo,v 1.27 2017/10/13 14:27:54 fhajny Exp $ -SHA1 (mongo-c-driver-1.8.0.tar.gz) = 7205b94b98752fd88ae0e16b0a0793d50469f4f2 -RMD160 (mongo-c-driver-1.8.0.tar.gz) = 1222e806009f456a47f51ae74079287e67df9454 -SHA512 (mongo-c-driver-1.8.0.tar.gz) = c5df689121436c542dc59d7cf13199aa3e3db7aad1ebfe4529e996ecc8c48f645ddcbbe3a46f14ef06004415c12db6f806e76d1e2601ec5e52ee4430baca250c -Size (mongo-c-driver-1.8.0.tar.gz) = 7342685 bytes -SHA1 (patch-configure) = 13c0bf97cdad469d4f592564231f88b0222fa2a1 +SHA1 (mongo-c-driver-1.8.1.tar.gz) = da7cf74beaa02cdbb364c6ede59710f9fdd83ce7 +RMD160 (mongo-c-driver-1.8.1.tar.gz) = a058bbed2c0c4f2c0f1243a5c8bbfff6b2e8a498 +SHA512 (mongo-c-driver-1.8.1.tar.gz) = b04cd6df18a1939edc9cea22bd2b31146900ad1e848e29c1c87925eebbdd95da9c022320234935e41095921698ada9316e63af8fbabac38aa08f2f93307d56f7 +Size (mongo-c-driver-1.8.1.tar.gz) = 7344997 bytes SHA1 (patch-src_mongoc_mongoc-cursor.c) = 9e0ada19f237972c9671bd90ff656ab9249f694f SHA1 (patch-tests_test-mongoc-stream-tls-error.c) = 457bf0c4692e39955c7cb2988324d386b7975cb5 diff --git a/databases/mongo-c-driver/patches/patch-configure b/databases/mongo-c-driver/patches/patch-configure deleted file mode 100644 index 0e09e81cd62..00000000000 --- a/databases/mongo-c-driver/patches/patch-configure +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-configure,v 1.3 2017/09/09 16:15:45 dholland Exp $ - -Fix illegal shell syntax. - ---- configure~ 2017-08-09 16:16:15.000000000 +0000 -+++ configure -@@ -2708,9 +2708,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - MONGOC_CURRENT_FILE=${srcdir}/VERSION_CURRENT - MONGOC_VERSION=$(cat $MONGOC_CURRENT_FILE) - # Ensure newline for "cut" implementations that need it, e.g. HP-UX. --MONGOC_MAJOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1) --MONGOC_MINOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2) --MONGOC_MICRO_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3) -+MONGOC_MAJOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1) -+MONGOC_MINOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2) -+MONGOC_MICRO_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3) - MONGOC_PRERELEASE_VERSION=$(cut -s -d- -f2 $MONGOC_CURRENT_FILE) - - |