diff options
author | pi <pi@FreeBSD.org> | 2015-10-19 03:33:03 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2015-10-19 03:33:03 +0800 |
commit | 36793dca2f1b9f4c34d9136aaa3fe64b5ee691e1 (patch) | |
tree | 0e2ccd1f430510179bc5a3b2f5a72abb0d136768 /devel | |
parent | c6662b9c5b80a88046ea2611a15303492e94fc42 (diff) | |
download | freebsd-ports-gnome-36793dca2f1b9f4c34d9136aaa3fe64b5ee691e1.tar.gz freebsd-ports-gnome-36793dca2f1b9f4c34d9136aaa3fe64b5ee691e1.tar.zst freebsd-ports-gnome-36793dca2f1b9f4c34d9136aaa3fe64b5ee691e1.zip |
devel/mongo-c-driver: 0.7.1 -> 1.1.9
Changes:
https://github.com/mongodb/mongo-c-driver/releases
PR: 200338
Submitted by: Tom Pusateri <pusateri@bangj.com>
Approved by: maintainer timeout
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mongo-c-driver/Makefile | 32 | ||||
-rw-r--r-- | devel/mongo-c-driver/distinfo | 4 | ||||
-rw-r--r-- | devel/mongo-c-driver/files/patch-env-c | 54 | ||||
-rw-r--r-- | devel/mongo-c-driver/pkg-descr | 2 | ||||
-rw-r--r-- | devel/mongo-c-driver/pkg-plist | 94 |
5 files changed, 114 insertions, 72 deletions
diff --git a/devel/mongo-c-driver/Makefile b/devel/mongo-c-driver/Makefile index d5859ca96387..28ffe26f5bf1 100644 --- a/devel/mongo-c-driver/Makefile +++ b/devel/mongo-c-driver/Makefile @@ -2,30 +2,32 @@ # $FreeBSD$ PORTNAME= mongo-c-driver -PORTVERSION= 0.7.1 -DISTVERSIONPREFIX= v +PORTVERSION= 1.1.9 CATEGORIES= devel -PKGNAMESUFFIX= -devel MAINTAINER= waitman@waitman.net COMMENT= C Driver for MongoDB +LICENSE= APACHE20 + +BUILD_DEPENDS= ${LOCALBASE}/lib/libbson-1.0.so:${PORTSDIR}/devel/libbson +LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 + USE_GITHUB= yes GH_ACCOUNT= mongodb -USES= gmake - +USES= autoreconf gmake libtool pkgconfig +GNU_CONFIGURE= yes USE_LDCONFIG= yes +LDFLAGS+= -pthread + +MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" V=1 + +pre-configure: + cd ${WRKSRC} && ./autogen.sh -PLIST_FILES= include/mongo.h \ - include/bson.h \ - lib/libmongoc.a \ - lib/libmongoc.so.0.7 \ - lib/libmongoc.so.0.7.1 \ - lib/libmongoc.so \ - lib/libbson.a \ - lib/libbson.so.0.7.1 \ - lib/libbson.so.0.7 \ - lib/libbson.so +post-stage: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmongoc-priv.so.0.0.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmongoc-1.0.so.0.0.0 .include <bsd.port.mk> diff --git a/devel/mongo-c-driver/distinfo b/devel/mongo-c-driver/distinfo index 5d8815bd0ec1..5b77a5b99bbd 100644 --- a/devel/mongo-c-driver/distinfo +++ b/devel/mongo-c-driver/distinfo @@ -1,2 +1,2 @@ -SHA256 (mongodb-mongo-c-driver-v0.7.1_GH0.tar.gz) = 8338f851cb1202353db83c26bfab85eb3e3fb976b58bf990862dbfe0a20a308f -SIZE (mongodb-mongo-c-driver-v0.7.1_GH0.tar.gz) = 108524 +SHA256 (mongodb-mongo-c-driver-1.1.9_GH0.tar.gz) = a025131105807ae2c176f1da5b8128c998d334c7c8d96be42c7da227dd0985c8 +SIZE (mongodb-mongo-c-driver-1.1.9_GH0.tar.gz) = 347463 diff --git a/devel/mongo-c-driver/files/patch-env-c b/devel/mongo-c-driver/files/patch-env-c deleted file mode 100644 index 773f6df5f188..000000000000 --- a/devel/mongo-c-driver/files/patch-env-c +++ /dev/null @@ -1,54 +0,0 @@ ---- src/env.c.orig 2013-01-26 10:53:37.000000000 -0800 -+++ src/env.c 2013-01-26 10:20:49.000000000 -0800 -@@ -1,3 +1,7 @@ -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ - #if !defined(MONGO_ENV_STANDARD) && (defined(_WIN32) || defined(_WIN64)) - - /* env_win32.c */ -@@ -34,6 +38,7 @@ - # define NI_MAXSERV 32 - #endif - -+ - int mongo_env_close_socket( int socket ) { - return closesocket( socket ); - } -@@ -179,7 +184,7 @@ - } - - --#elif !defined(MONGO_ENV_STANDARD) && (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix)) -+#elif !defined(MONGO_ENV_STANDARD) && (defined(__APPLE__) || defined(__linux) || defined(__unix) || defined(__posix) || defined(BSD)) - - /* env_posix.c */ - -@@ -227,7 +232,7 @@ - - int mongo_env_write_socket( mongo *conn, const void *buf, size_t len ) { - const char *cbuf = buf; --#ifdef __APPLE__ -+#if defined (__APPLE__) || defined(BSD) - int flags = 0; - #else - int flags = MSG_NOSIGNAL; -@@ -357,7 +362,7 @@ - conn->sock = 0; - continue; - } --#if __APPLE__ -+#if __APPLE__ - { - int flag = 1; - setsockopt( conn->sock, SOL_SOCKET, SO_NOSIGPIPE, -@@ -448,7 +453,7 @@ - #ifdef _WIN32 - int flags = 0; - #else --#ifdef __APPLE__ -+#ifdef __APPLE__ || BSD - int flags = 0; - #else - int flags = MSG_NOSIGNAL; diff --git a/devel/mongo-c-driver/pkg-descr b/devel/mongo-c-driver/pkg-descr index 5429f2c3bc70..4d0490d1068c 100644 --- a/devel/mongo-c-driver/pkg-descr +++ b/devel/mongo-c-driver/pkg-descr @@ -1,4 +1,4 @@ -Official Mongo C Driver (Development Version) +Official Mongo C Driver Mongo (from "humongous") is a high-performance, open source, schema-free, document-oriented database. A common name in the diff --git a/devel/mongo-c-driver/pkg-plist b/devel/mongo-c-driver/pkg-plist new file mode 100644 index 000000000000..0c13ac82d75f --- /dev/null +++ b/devel/mongo-c-driver/pkg-plist @@ -0,0 +1,94 @@ +bin/mongoc-stat +include/libmongoc-1.0/mongoc-array-private.h +include/libmongoc-1.0/mongoc-b64-private.h +include/libmongoc-1.0/mongoc-buffer-private.h +include/libmongoc-1.0/mongoc-bulk-operation-private.h +include/libmongoc-1.0/mongoc-bulk-operation.h +include/libmongoc-1.0/mongoc-client-pool-private.h +include/libmongoc-1.0/mongoc-client-pool.h +include/libmongoc-1.0/mongoc-client-private.h +include/libmongoc-1.0/mongoc-client.h +include/libmongoc-1.0/mongoc-cluster-private.h +include/libmongoc-1.0/mongoc-collection-private.h +include/libmongoc-1.0/mongoc-collection.h +include/libmongoc-1.0/mongoc-config.h +include/libmongoc-1.0/mongoc-counters-private.h +include/libmongoc-1.0/mongoc-counters.defs +include/libmongoc-1.0/mongoc-cursor-array-private.h +include/libmongoc-1.0/mongoc-cursor-cursorid-private.h +include/libmongoc-1.0/mongoc-cursor-private.h +include/libmongoc-1.0/mongoc-cursor-transform-private.h +include/libmongoc-1.0/mongoc-cursor.h +include/libmongoc-1.0/mongoc-database-private.h +include/libmongoc-1.0/mongoc-database.h +include/libmongoc-1.0/mongoc-errno-private.h +include/libmongoc-1.0/mongoc-error.h +include/libmongoc-1.0/mongoc-flags.h +include/libmongoc-1.0/mongoc-gridfs-file-list-private.h +include/libmongoc-1.0/mongoc-gridfs-file-list.h +include/libmongoc-1.0/mongoc-gridfs-file-page-private.h +include/libmongoc-1.0/mongoc-gridfs-file-page.h +include/libmongoc-1.0/mongoc-gridfs-file-private.h +include/libmongoc-1.0/mongoc-gridfs-file.h +include/libmongoc-1.0/mongoc-gridfs-private.h +include/libmongoc-1.0/mongoc-gridfs.h +include/libmongoc-1.0/mongoc-host-list-private.h +include/libmongoc-1.0/mongoc-host-list.h +include/libmongoc-1.0/mongoc-index.h +include/libmongoc-1.0/mongoc-init.h +include/libmongoc-1.0/mongoc-iovec.h +include/libmongoc-1.0/mongoc-list-private.h +include/libmongoc-1.0/mongoc-log.h +include/libmongoc-1.0/mongoc-matcher-op-private.h +include/libmongoc-1.0/mongoc-matcher-private.h +include/libmongoc-1.0/mongoc-matcher.h +include/libmongoc-1.0/mongoc-opcode.h +include/libmongoc-1.0/mongoc-queue-private.h +include/libmongoc-1.0/mongoc-rand-private.h +include/libmongoc-1.0/mongoc-rand.h +include/libmongoc-1.0/mongoc-read-prefs-private.h +include/libmongoc-1.0/mongoc-read-prefs.h +include/libmongoc-1.0/mongoc-rpc-private.h +include/libmongoc-1.0/mongoc-sasl-private.h +include/libmongoc-1.0/mongoc-scram-private.h +include/libmongoc-1.0/mongoc-socket.h +include/libmongoc-1.0/mongoc-ssl-private.h +include/libmongoc-1.0/mongoc-ssl.h +include/libmongoc-1.0/mongoc-stream-buffered.h +include/libmongoc-1.0/mongoc-stream-file.h +include/libmongoc-1.0/mongoc-stream-gridfs.h +include/libmongoc-1.0/mongoc-stream-private.h +include/libmongoc-1.0/mongoc-stream-socket.h +include/libmongoc-1.0/mongoc-stream-tls.h +include/libmongoc-1.0/mongoc-stream.h +include/libmongoc-1.0/mongoc-thread-private.h +include/libmongoc-1.0/mongoc-trace.h +include/libmongoc-1.0/mongoc-uri-private.h +include/libmongoc-1.0/mongoc-uri.h +include/libmongoc-1.0/mongoc-util-private.h +include/libmongoc-1.0/mongoc-version.h +include/libmongoc-1.0/mongoc-write-command-private.h +include/libmongoc-1.0/mongoc-write-concern-private.h +include/libmongoc-1.0/mongoc-write-concern.h +include/libmongoc-1.0/mongoc.h +include/libmongoc-1.0/op-delete.def +include/libmongoc-1.0/op-get-more.def +include/libmongoc-1.0/op-header.def +include/libmongoc-1.0/op-insert.def +include/libmongoc-1.0/op-kill-cursors.def +include/libmongoc-1.0/op-msg.def +include/libmongoc-1.0/op-query.def +include/libmongoc-1.0/op-reply.def +include/libmongoc-1.0/op-update.def +lib/libmongoc-1.0.so +lib/libmongoc-1.0.so.0 +lib/libmongoc-1.0.so.0.0.0 +lib/libmongoc-priv.so +lib/libmongoc-priv.so.0 +lib/libmongoc-priv.so.0.0.0 +libdata/pkgconfig/libmongoc-1.0.pc +libdata/pkgconfig/libmongoc-priv.pc +libdata/pkgconfig/libmongoc-ssl-1.0.pc +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README.rst |