mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 21:11:17 +02:00
add node 14
This commit is contained in:
32
data/mongodb42-tools/Makefile
Normal file
32
data/mongodb42-tools/Makefile
Normal 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>
|
||||
3
data/mongodb42-tools/distinfo
Normal file
3
data/mongodb42-tools/distinfo
Normal 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
|
||||
@@ -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"
|
||||
@@ -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
|
||||
6
data/mongodb42-tools/pkg-descr
Normal file
6
data/mongodb42-tools/pkg-descr
Normal 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
|
||||
9
data/mongodb42-tools/pkg-plist
Normal file
9
data/mongodb42-tools/pkg-plist
Normal file
@@ -0,0 +1,9 @@
|
||||
bin/bsondump
|
||||
bin/mongodump
|
||||
bin/mongoexport
|
||||
bin/mongofiles
|
||||
bin/mongoimport
|
||||
bin/mongoreplay
|
||||
bin/mongorestore
|
||||
bin/mongostat
|
||||
bin/mongotop
|
||||
Reference in New Issue
Block a user