From owner-svn-ports-all@FreeBSD.ORG Fri Jul 5 19:43:37 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6C1B66FE; Fri, 5 Jul 2013 19:43:37 +0000 (UTC) (envelope-from wxs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB8C1F8B; Fri, 5 Jul 2013 19:43:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r65Jhb9e054590; Fri, 5 Jul 2013 19:43:37 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r65Jhap9054586; Fri, 5 Jul 2013 19:43:36 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201307051943.r65Jhap9054586@svn.freebsd.org> From: Wesley Shields Date: Fri, 5 Jul 2013 19:43:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322352 - in head/devel/mongo-c-driver: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2013 19:43:37 -0000 Author: wxs Date: Fri Jul 5 19:43:36 2013 New Revision: 322352 URL: http://svnweb.freebsd.org/changeset/ports/322352 Log: Official Mongo C Driver (Development Version) PR: ports/175613 Submitted by: Waitman Gobble Added: head/devel/mongo-c-driver/ head/devel/mongo-c-driver/Makefile (contents, props changed) head/devel/mongo-c-driver/distinfo (contents, props changed) head/devel/mongo-c-driver/files/ head/devel/mongo-c-driver/files/patch-env-c (contents, props changed) head/devel/mongo-c-driver/pkg-descr (contents, props changed) Added: head/devel/mongo-c-driver/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-c-driver/Makefile Fri Jul 5 19:43:36 2013 (r322352) @@ -0,0 +1,36 @@ +# Created by: "Waitman Gobble" +# $FreeBSD$ + +PORTNAME= mongo-c-driver +PORTVERSION= 0.7.1 +CATEGORIES= devel +MASTER_SITES= GH +PKGNAMESUFFIX= -devel +DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} + +MAINTAINER= wxs@FreeBSD.org +COMMENT= C Driver for MongoDB + +USE_GITHUB= yes +GH_ACCOUNT= mongodb +GH_PROJECT= mongo-c-driver +GH_TAGNAME= v0.7.1 +GH_COMMIT= g98826a + +WRKSRC= ${WRKDIR}/mongodb-mongo-c-driver-17ff925 +USE_GMAKE= yes + +USE_LDCONFIG= yes + +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 + +.include Added: head/devel/mongo-c-driver/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-c-driver/distinfo Fri Jul 5 19:43:36 2013 (r322352) @@ -0,0 +1,2 @@ +SHA256 (mongodb-mongo-c-driver-0.7.1-0-gg98826a.tar.gz) = 6670b50bb4232cc617a114d1320ea97abc55f9570b4ebf53e1e6c22671ffc328 +SIZE (mongodb-mongo-c-driver-0.7.1-0-gg98826a.tar.gz) = 108537 Added: head/devel/mongo-c-driver/files/patch-env-c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-c-driver/files/patch-env-c Fri Jul 5 19:43:36 2013 (r322352) @@ -0,0 +1,54 @@ +--- 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 ++#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; Added: head/devel/mongo-c-driver/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-c-driver/pkg-descr Fri Jul 5 19:43:36 2013 (r322352) @@ -0,0 +1,7 @@ +Official Mongo C Driver (Development Version) + +Mongo (from "humongous") is a high-performance, open source, +schema-free, document-oriented database. A common name in the +"NOSQL" community. + +WWW: http://www.mongodb.org/