add node 14

This commit is contained in:
ziggi
2020-10-02 03:16:50 +00:00
parent 5c42b9ad58
commit 41b8f702ca
116 changed files with 11115 additions and 851 deletions

View File

@@ -0,0 +1,32 @@
# $FreeBSD: head/databases/mongodb42-tools/Makefile 545576 2020-08-21 08:57:31Z lwhsu $
PORTNAME= mongodb42-tools
DISTVERSIONPREFIX= r
DISTVERSION= 4.2.9
CATEGORIES= databases
MAINTAINER= ronald-lists@klop.ws
COMMENT= Tools for MongoDB 4.2.x
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_BUILDFLAGS= -tags "${USE_MY_TAGS}"
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
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+=./mongoreplay/main:mongoreplay
GO_TARGET+=./mongorestore/main:mongorestore
GO_TARGET+=./mongostat/main:mongostat
GO_TARGET+=./mongotop/main:mongotop
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1601380928
SHA256 (mongodb-mongo-tools-r4.2.9_GH0.tar.gz) = b08871164d5ae74567eb4fcdfc7bdc5d6767a7428b8efa4623f6a66ce7d57450
SIZE (mongodb-mongo-tools-r4.2.9_GH0.tar.gz) = 15026903

View File

@@ -0,0 +1,9 @@
--- vendor/github.com/10gen/openssl/build.go.orig 2018-11-21 19:00:22 UTC
+++ vendor/github.com/10gen/openssl/build.go
@@ -20,5 +20,6 @@
// #cgo CFLAGS: -Wno-deprecated-declarations
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN -I"c:/openssl/include"
// #cgo windows LDFLAGS: -lssleay32 -llibeay32 -lcrypt32 -L "c:/openssl/bin"
+// #cgo freebsd LDFLAGS: -lssl -lcrypto
// #cgo darwin LDFLAGS: -framework CoreFoundation -framework Foundation -framework Security
import "C"

View File

@@ -0,0 +1,11 @@
--- vendor/github.com/10gen/openssl/init_posix.go.orig 2018-11-21 17:52:58 UTC
+++ vendor/github.com/10gen/openssl/init_posix.go
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build linux darwin cgo
+// +build linux darwin freebsd cgo
// +build !windows
package openssl

View File

@@ -0,0 +1,6 @@
Since MongoDB 3.2, the tools bsondump, mongoimport, mongoexport, mongodump,
mongorestore, mongostat, mongofiles and mongotop have been placed
in a separate package and rewritten in Go. These are useful utilities for
managing a MongoDB instance.
WWW: https://github.com/mongodb/mongo-tools

View File

@@ -0,0 +1,9 @@
bin/bsondump
bin/mongodump
bin/mongoexport
bin/mongofiles
bin/mongoimport
bin/mongoreplay
bin/mongorestore
bin/mongostat
bin/mongotop