Minor update, but fixes a few WiredTiger and aggregation bugs.

While I'm in here:
* install manpages,
* install mongobridge,
* remove duplicated line,
* use BSD make loop structure rather than shell loop, so
  progress is reported.

Thanks,
Andrew Aldridge
Index: mongodb/Makefile
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- mongodb/Makefile	20 Sep 2016 15:44:57 -0000	1.23
+++ mongodb/Makefile	12 Jan 2017 04:04:26 -0000
@@ -9,7 +9,7 @@ DPB_PROPERTIES = parallel
 
 COMMENT =	scalable, high-performance document-oriented database
 
-DISTNAME =	mongodb-src-r3.2.7
+DISTNAME =	mongodb-src-r3.2.11
 REVISION =	0
 PKGNAME =	${DISTNAME:S/src-r//}
 CATEGORIES =	databases
@@ -55,7 +55,6 @@ MODSCONS_FLAGS += --prefix="${PREFIX}" \
 		  --use-system-zlib \
 		  -j${MAKE_JOBS}
 
-ALL_TARGET =	core tools
 LIB_DEPENDS =	devel/libexecinfo \
 		devel/boost \
 		devel/pcre \
@@ -67,9 +66,12 @@ TEST_DEPENDS =	textproc/py-yaml \
 BUILD_DEPENDS =	textproc/icu4c
 
 do-install:
-	for bin in mongo mongod mongos mongosniff mongobridge mongoperf; do \
-		${INSTALL_PROGRAM} ${WRKSRC}/$$bin ${PREFIX}/bin/; \
-	done
+.for bin in mongo mongod mongos mongosniff mongobridge mongoperf
+	${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin/
+	if [ -f ${WRKSRC}/debian/${bin}.1 ]; then \
+	  ${INSTALL_MAN} ${WRKSRC}/debian/${bin}.1 ${PREFIX}/man/man1; \
+	fi
+.endfor
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mongodb
 	${INSTALL_DATA} ${FILESDIR}/mongodb.conf \
 	    ${PREFIX}/share/examples/mongodb
Index: mongodb/distinfo
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- mongodb/distinfo	20 Jun 2016 09:07:43 -0000	1.10
+++ mongodb/distinfo	19 Nov 2016 01:20:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (mongodb-src-r3.2.7.tar.gz) = zYlnavb5dWFwCgi1mcKH+2OPFKahAZ75Fnz1XtajlSo=
-SIZE (mongodb-src-r3.2.7.tar.gz) = 28494513
+SHA256 (mongodb-src-r3.2.11.tar.gz) = Yl6yj9R7KvY7MDQ6Bk3n9C5SZfTGQodOx2a6NkP9gNc=
+SIZE (mongodb-src-r3.2.11.tar.gz) = 29113706
Index: mongodb/pkg/PLIST
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- mongodb/pkg/PLIST	6 May 2016 15:33:37 -0000	1.6
+++ mongodb/pkg/PLIST	12 Jan 2017 04:07:27 -0000
@@ -2,10 +2,16 @@
 @newgroup _mongodb:670
 @newuser _mongodb:670:670:daemon:MongoDB Account:/nonexistent:/sbin/nologin
 @bin bin/mongo
+@bin bin/mongobridge
 @bin bin/mongod
 @bin bin/mongoperf
 @bin bin/mongos
 @bin bin/mongosniff
+@man man/man1/mongo.1
+@man man/man1/mongod.1
+@man man/man1/mongoperf.1
+@man man/man1/mongos.1
+@man man/man1/mongosniff.1
 share/examples/mongodb/
 share/examples/mongodb/mongodb.conf
 @sample ${SYSCONFDIR}/mongodb.conf

Reply via email to