Bug 174652 - [NEW PORT] databases/libmongo-client: alternative C driver for MongoDB
[NEW PORT] databases/libmongo-client: alternative C driver for MongoDB
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: FreeBSD ports mailing list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-23 10:10 UTC by gd
Modified: 2012-12-29 22:10 UTC (History)
0 users

See Also:


Attachments
file.txt (3.43 KB, text/plain)
2012-12-23 10:10 UTC, gd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gd 2012-12-23 10:10:00 UTC
This is an alternative C driver for MongoDB, with slightly different goals than the official one: libmongo-client is meant to be a stable (API, ABI and quality alike), clean, well documented and well tested shared library, that strives to make the most common use cases as convenient as possible.

https://github.com/algernon/libmongo-client

Fix: Patch attached with submission follows:
Comment 1 dfilter freebsd_committer 2012-12-29 22:06:19 UTC
Author: pawel
Date: Sat Dec 29 22:06:04 2012
New Revision: 309633
URL: http://svnweb.freebsd.org/changeset/ports/309633

Log:
  This is an alternative C driver for MongoDB, with slightly different goals
  than the official one:
  
  libmongo-client is meant to be a stable (API, ABI and quality alike), clean,
  well documented and well tested shared library, that strives to make the most
  common use cases as convenient as possible.
  
  WWW: https://github.com/algernon/libmongo-client
  
  PR:		ports/174652
  Submitted by:	Denis Generalov <gd@rambler-co.ru>

Added:
  head/databases/libmongo-client/
  head/databases/libmongo-client/Makefile   (contents, props changed)
  head/databases/libmongo-client/distinfo   (contents, props changed)
  head/databases/libmongo-client/pkg-descr   (contents, props changed)
  head/databases/libmongo-client/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Sat Dec 29 20:57:20 2012	(r309632)
+++ head/databases/Makefile	Sat Dec 29 22:06:04 2012	(r309633)
@@ -170,6 +170,7 @@
     SUBDIR += libiodbc
     SUBDIR += libmemcache
     SUBDIR += libmemcached
+    SUBDIR += libmongo-client
     SUBDIR += libodbc++
     SUBDIR += libpbl
     SUBDIR += libsdb

Added: head/databases/libmongo-client/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/libmongo-client/Makefile	Sat Dec 29 22:06:04 2012	(r309633)
@@ -0,0 +1,34 @@
+# Created by: Denis Generalov <gd@rambler-co.ru>
+# $FreeBSD$
+
+PORTNAME=	libmongo-client
+PORTVERSION=	0.1.6.2
+CATEGORIES=	databases
+
+MAINTAINER=	gd@rambler-co.ru
+COMMENT=	Alternative C driver for MongoDB
+
+LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	algernon
+GH_TAGNAME=	${PORTNAME}-${PORTVERSION}
+GH_COMMIT=	13cc0ee
+
+USE_AUTOTOOLS=	automake autoconf libtool
+GNU_CONFIGURE=	yes
+USE_PKGCONFIG=	build
+USE_GMAKE=	yes
+USE_ICONV=	yes
+USE_GETTEXT=	yes
+USE_GNOME=	glib20
+USE_LDCONFIG=	yes
+CONFIGURE_ENV+=	PKG_CONFIG_DIR=${LOCALBASE}/libdata/pkgconfig
+
+run-autotools:
+	@${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/src/Makefile.am
+	@cd ${CONFIGURE_WRKSRC} && \
+	${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
+
+.include <bsd.port.mk>

Added: head/databases/libmongo-client/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/libmongo-client/distinfo	Sat Dec 29 22:06:04 2012	(r309633)
@@ -0,0 +1,2 @@
+SHA256 (libmongo-client-0.1.6.2.tar.gz) = dc68c3f6c508fce3d8bf295b77f2e244521b94be940deb32442553426cbcebee
+SIZE (libmongo-client-0.1.6.2.tar.gz) = 120477

Added: head/databases/libmongo-client/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/libmongo-client/pkg-descr	Sat Dec 29 22:06:04 2012	(r309633)
@@ -0,0 +1,8 @@
+This is an alternative C driver for MongoDB, with slightly different goals
+than the official one:
+
+libmongo-client is meant to be a stable (API, ABI and quality alike), clean,
+well documented and well tested shared library, that strives to make the most
+common use cases as convenient as possible.
+
+WWW: https://github.com/algernon/libmongo-client

Added: head/databases/libmongo-client/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/libmongo-client/pkg-plist	Sat Dec 29 22:06:04 2012	(r309633)
@@ -0,0 +1,17 @@
+include/mongo-client/bson.h
+include/mongo-client/mongo-wire.h
+include/mongo-client/mongo-client.h
+include/mongo-client/mongo-utils.h
+include/mongo-client/mongo-sync.h
+include/mongo-client/mongo-sync-cursor.h
+include/mongo-client/mongo-sync-pool.h
+include/mongo-client/sync-gridfs.h
+include/mongo-client/sync-gridfs-chunk.h
+include/mongo-client/sync-gridfs-stream.h
+include/mongo-client/mongo.h
+lib/libmongo-client.so.3
+lib/libmongo-client.so
+lib/libmongo-client.la
+lib/libmongo-client.a
+libdata/pkgconfig/libmongo-client.pc
+@dirrm include/mongo-client
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Pawel Pekala freebsd_committer 2012-12-29 22:06:23 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!