mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
added mongodb-tools
This commit is contained in:
31
data/mongodb-tools/Makefile
Normal file
31
data/mongodb-tools/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
PORTNAME= mongodb-tools
|
||||
DISTVERSION= 100.7.0
|
||||
CATEGORIES= databases
|
||||
|
||||
MAINTAINER= ronald@FreeBSD.org
|
||||
COMMENT= Tools for MongoDB 4.4.x and up
|
||||
WWW= https://docs.mongodb.com/database-tools/
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386
|
||||
ONLY_FOR_ARCHS_REASON= not yet ported to other architectures
|
||||
|
||||
USES= compiler:c++14-lang go localbase
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mongodb
|
||||
GH_PROJECT= mongo-tools
|
||||
|
||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
||||
#GO_BUILDFLAGS= -tags "${VARS}"
|
||||
|
||||
GO_TARGET+=./bsondump/main/:bsondump
|
||||
GO_TARGET+=./bsondump/main:bsondump
|
||||
GO_TARGET+=./mongodump/main:mongodump
|
||||
GO_TARGET+=./mongoexport/main:mongoexport
|
||||
GO_TARGET+=./mongofiles/main:mongofiles
|
||||
GO_TARGET+=./mongoimport/main:mongoimport
|
||||
GO_TARGET+=./mongorestore/main:mongorestore
|
||||
GO_TARGET+=./mongostat/main:mongostat
|
||||
GO_TARGET+=./mongotop/main:mongotop
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
data/mongodb-tools/distinfo
Normal file
3
data/mongodb-tools/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1678288230
|
||||
SHA256 (mongodb-mongo-tools-100.7.0_GH0.tar.gz) = 09afff36c690fcae36ce4290ef6fd6ae5060e5071b9904da027cdb0a2c292ebe
|
||||
SIZE (mongodb-mongo-tools-100.7.0_GH0.tar.gz) = 4414796
|
||||
14
data/mongodb-tools/pkg-descr
Normal file
14
data/mongodb-tools/pkg-descr
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
|
||||
See also: https://github.com/mongodb/mongo-tools
|
||||
8
data/mongodb-tools/pkg-plist
Normal file
8
data/mongodb-tools/pkg-plist
Normal file
@@ -0,0 +1,8 @@
|
||||
bin/bsondump
|
||||
bin/mongodump
|
||||
bin/mongoexport
|
||||
bin/mongofiles
|
||||
bin/mongoimport
|
||||
bin/mongorestore
|
||||
bin/mongostat
|
||||
bin/mongotop
|
||||
Reference in New Issue
Block a user