svn commit: r550139 - in head/databases: . mongodb-tools mongodb-tools/files
Kurt Jaeger
pi at FreeBSD.org
Sat Sep 26 09:08:02 UTC 2020
Author: pi
Date: Sat Sep 26 09:08:01 2020
New Revision: 550139
URL: https://svnweb.freebsd.org/changeset/ports/550139
Log:
New port: databases/mongodb-tools
According to https://docs.mongodb.com/database-tools/#versioning
the versioning of mongodb-tools changed. One version of mongodb-tools
for all future mongodb versions.
- removed mongoreplay: it does not exist (anymore)
- enabled all tools: I don't know the history why these were not enabled
- builds and runs on aarch64
- Add WWW to official documentation
--------
Useful utilities for managing a MongoDB instance written in Go.
- bsondump - display BSON files in a human-readable format
- mongoimport - Convert data from JSON, TSV or CSV and insert them
into a collection
- mongoexport - Write an existing collection to CSV or JSON format
- mongodump/mongorestore - Dump MongoDB backups to disk in .BSON
format, or restore them to a live database
- mongostat - Monitor live MongoDB servers, replica sets, or sharded
clusters
- mongofiles - Read, write, delete, or update files in GridFS
- mongotop - Monitor read/write activity on a mongo server
WWW: https://github.com/mongodb/mongo-tools
WWW: https://docs.mongodb.com/database-tools/
PR: 249426
Submitted by: Ronald Klop <ronald-lists at klop.ws>
Added:
head/databases/mongodb-tools/
- copied from r549981, head/databases/mongodb42-tools/
Deleted:
head/databases/mongodb-tools/files/
Modified:
head/databases/Makefile
head/databases/mongodb-tools/Makefile
head/databases/mongodb-tools/distinfo
head/databases/mongodb-tools/pkg-descr
head/databases/mongodb-tools/pkg-plist
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Sat Sep 26 09:02:13 2020 (r550138)
+++ head/databases/Makefile Sat Sep 26 09:08:01 2020 (r550139)
@@ -186,6 +186,7 @@
SUBDIR += mdbtools
SUBDIR += mdcached
SUBDIR += memcached
+ SUBDIR += mongodb-tools
SUBDIR += mongodb36
SUBDIR += mongodb36-tools
SUBDIR += mongodb40
Modified: head/databases/mongodb-tools/Makefile
==============================================================================
--- head/databases/mongodb42-tools/Makefile Fri Sep 25 02:55:38 2020 (r549981)
+++ head/databases/mongodb-tools/Makefile Sat Sep 26 09:08:01 2020 (r550139)
@@ -1,12 +1,11 @@
# $FreeBSD$
-PORTNAME= mongodb42-tools
-DISTVERSIONPREFIX= r
-DISTVERSION= 4.2.9
+PORTNAME= mongodb-tools
+DISTVERSION= 100.2.0
CATEGORIES= databases
MAINTAINER= ronald-lists at klop.ws
-COMMENT= Tools for MongoDB 4.2.x
+COMMENT= Tools for MongoDB 4.4.x and up
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
@@ -22,14 +21,15 @@ GH_PROJECT= mongo-tools
GO_BUILDFLAGS= -tags "${USE_MY_TAGS}"
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
-CONFLICTS_INSTALL= mongodb36-tools mongodb4[04]-tools
+CONFLICTS_INSTALL= mongodb36-tools mongodb4[02]-tools
OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT= MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \
- MONGORESTORE SASL SSL
+OPTIONS_DEFAULT= BSONDUMP MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \
+ MONGORESTORE MONGOSTAT MONGOTOP \
+ SASL SSL
OPTIONS_MULTI= SECURITY TOOLS
OPTIONS_MULTI_TOOLS= BSONDUMP MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \
- MONGOREPLAY MONGORESTORE MONGOSTAT MONGOTOP
+ MONGORESTORE MONGOSTAT MONGOTOP
OPTIONS_MULTI_SECURITY= SASL SSL
OPTIONS_SUB= yes
@@ -41,7 +41,6 @@ MONGOIMPORT_DESC= Importing JSON, CSV, or TSV into a M
MONGORESTORE_DESC= BSON data to a MongoDB instance
MONGODUMP_DESC= BSON data from the contents of a MongoDB instance
MONGOTOP_DESC= Track the amount of data I/O time
-MONGOREPLAY_DESC= Traffic capture and replay tool
BSONDUMP_VARS= go_target+=./bsondump/main:bsondump
MONGOSTAT_VARS= go_target+=./mongostat/main:mongostat
@@ -51,7 +50,6 @@ MONGOIMPORT_VARS= go_target+=./mongoimport/main:mongoi
MONGORESTORE_VARS= go_target+=./mongorestore/main:mongorestore
MONGODUMP_VARS= go_target+=./mongodump/main:mongodump
MONGOTOP_VARS= go_target+=./mongotop/main:mongotop
-MONGOREPLAY_VARS= go_target+=./mongoreplay/main:mongoreplay
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASL_USE= my_tags=sasl
SSL_USES= ssl
Modified: head/databases/mongodb-tools/distinfo
==============================================================================
--- head/databases/mongodb42-tools/distinfo Fri Sep 25 02:55:38 2020 (r549981)
+++ head/databases/mongodb-tools/distinfo Sat Sep 26 09:08:01 2020 (r550139)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1597956175
-SHA256 (mongodb-mongo-tools-r4.2.9_GH0.tar.gz) = b08871164d5ae74567eb4fcdfc7bdc5d6767a7428b8efa4623f6a66ce7d57450
-SIZE (mongodb-mongo-tools-r4.2.9_GH0.tar.gz) = 15026903
+TIMESTAMP = 1601054275
+SHA256 (mongodb-mongo-tools-100.2.0_GH0.tar.gz) = f6f92b11f9e714ed2eb6a17d823a71537ca6736237262110ebce210326fd4346
+SIZE (mongodb-mongo-tools-100.2.0_GH0.tar.gz) = 27400186
Modified: head/databases/mongodb-tools/pkg-descr
==============================================================================
--- head/databases/mongodb42-tools/pkg-descr Fri Sep 25 02:55:38 2020 (r549981)
+++ head/databases/mongodb-tools/pkg-descr Sat Sep 26 09:08:01 2020 (r550139)
@@ -10,6 +10,6 @@ Useful utilities for managing a MongoDB instance writt
clusters
- mongofiles - Read, write, delete, or update files in GridFS
- mongotop - Monitor read/write activity on a mongo server
-- mongoreplay - Capture, observe, and replay traffic for MongoDB
WWW: https://github.com/mongodb/mongo-tools
+WWW: https://docs.mongodb.com/database-tools/
Modified: head/databases/mongodb-tools/pkg-plist
==============================================================================
--- head/databases/mongodb42-tools/pkg-plist Fri Sep 25 02:55:38 2020 (r549981)
+++ head/databases/mongodb-tools/pkg-plist Sat Sep 26 09:08:01 2020 (r550139)
@@ -4,7 +4,6 @@
%%MONGOFILES%%bin/mongofiles
%%MONGOIMPORT%%bin/mongoimport
%%MONGORESTORE%%bin/mongorestore
-%%MONGOREPLAY%%bin/mongoreplay
%%MONGOSTAT%%bin/mongostat
%%MONGOTOP%%bin/mongotop
%%PORTDOCS%%%%DOCSDIR%%/README.md
More information about the svn-ports-head
mailing list