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

Also:
* install manpages,
* add mongobridge to PLIST,
* remove duplicated line,
* use BSD make loop structure rather than shell loop, so
  progress is reported.

Thanks,
Andrew Aldridge


Index: Makefile
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile    20 Sep 2016 15:44:57 -0000      1.23
+++ Makefile    25 Mar 2017 16:35:05 -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.12
 REVISION =     0
 PKGNAME =      ${DISTNAME:S/src-r//}
 CATEGORIES =   databases
@@ -37,7 +37,6 @@ NO_CCACHE =   Yes
 MODGCC4_ARCHS =        *
 MODGCC4_LANGS =        c c++
 MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_2}
-ALL_TARGET =   core tools
 MODSCONS_ENV = CC="${CC}" \
                CXX="${CXX}" \
                CCFLAGS="${CFLAGS} -DBOOST_NO_USER_CONFIG" \
@@ -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: distinfo
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo    20 Jun 2016 09:07:43 -0000      1.10
+++ distinfo    24 Mar 2017 20:08:14 -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.12.tar.gz) = QGzthzqavoo/D5KTm/U3RmO6yGxyGByAvsFErt9s0wY=
+SIZE (mongodb-src-r3.2.12.tar.gz) = 29178424
Index: 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
--- pkg/PLIST   6 May 2016 15:33:37 -0000       1.6
+++ pkg/PLIST   25 Mar 2017 16:06:38 -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
Index: Makefile
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile	20 Sep 2016 15:44:57 -0000	1.23
+++ Makefile	25 Mar 2017 16:35:05 -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.12
 REVISION =	0
 PKGNAME =	${DISTNAME:S/src-r//}
 CATEGORIES =	databases
@@ -37,7 +37,6 @@ NO_CCACHE =	Yes
 MODGCC4_ARCHS =	*
 MODGCC4_LANGS =	c c++
 MODPY_VERSION =	${MODPY_DEFAULT_VERSION_2}
-ALL_TARGET =	core tools
 MODSCONS_ENV =	CC="${CC}" \
 		CXX="${CXX}" \
 		CCFLAGS="${CFLAGS} -DBOOST_NO_USER_CONFIG" \
@@ -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: distinfo
===================================================================
RCS file: /var/storage/andrew/openbsd/cvs/ports/databases/mongodb/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo	20 Jun 2016 09:07:43 -0000	1.10
+++ distinfo	24 Mar 2017 20:08:14 -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.12.tar.gz) = QGzthzqavoo/D5KTm/U3RmO6yGxyGByAvsFErt9s0wY=
+SIZE (mongodb-src-r3.2.12.tar.gz) = 29178424
Index: 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
--- pkg/PLIST	6 May 2016 15:33:37 -0000	1.6
+++ pkg/PLIST	25 Mar 2017 16:06:38 -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