Update databases/mongo-tools to 3.4.4 3.4.2 - PreProcessing is failling with "got invalid document size" - mongo-replay crashes during playback - nil pointer derereference when error occurs 3.4.1 - Stats collection has large playback performance impact - Add option to set capture buffer size to avoid packet loss - Playback file contains full reply payload - mongoreplay: out of bounds error in "shortenreply" during record - Add test for restoring a collection with a default collation - nil pointer dereference in mongoreplay when error on new playback file creation 3.2.10 - Don't create intents for system.profile.metadata.json files - tools do not respect readPreference=secondary when connecting to a mongos - Mongodump SSL and GSSAPI authentication - No numeric version in -version output - Backport to v3.2 - Issue only one ApplyOps cmd per oplog entry 3.2.9 - Make -version spit out a bit more information. 3.2.8 - Mongostat with discover can find the same node twice in a sharded cluster - mongostat -discover does not alias localhost to the target hostname - mongoimport returns exit code 0 even when error prevents records from being inserted - Wrong error message while using mongoimport - add a "-assertExists" option to mongoexport - Use v3.2.7 for qa tests - mongoimport types jstest fails on functionsdiff -r1.10 -r1.11 pkgsrc/databases/mongo-tools/Makefile
(fhajny)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2017/04/13 15:12:03 bsiegert Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2017/05/03 16:49:54 fhajny Exp $ | |
2 | 2 | |||
3 | DISTNAME= mongo-tools-3.2.4 | 3 | DISTNAME= mongo-tools-3.4.4 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= databases | 4 | CATEGORIES= databases | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mongodb/} | |
7 | 6 | |||
8 | MAINTAINER= filip@joyent.com | 7 | MAINTAINER= filip@joyent.com | |
9 | HOMEPAGE= http://github.com/mongodb/mongo-tools/ | 8 | HOMEPAGE= http://github.com/mongodb/mongo-tools/ | |
10 | COMMENT= MongoDB CLI tools | 9 | COMMENT= MongoDB CLI tools | |
11 | LICENSE= apache-2.0 | 10 | LICENSE= apache-2.0 | |
12 | 11 | |||
13 | GITHUB_TAG= r${PKGVERSION_NOREV} | 12 | GITHUB_TAG= r${PKGVERSION_NOREV} | |
14 | 13 | |||
15 | BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go | 14 | BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go | |
16 | 15 | |||
17 | EXTRACT_USING= bsdtar | 16 | EXTRACT_USING= bsdtar | |
@@ -35,15 +34,16 @@ post-extract: | @@ -35,15 +34,16 @@ post-extract: | |||
35 | 34 | |||
36 | do-build: | 35 | do-build: | |
37 | .for tool in ${MONGO_TOOLS} | 36 | .for tool in ${MONGO_TOOLS} | |
38 | cd ${WRKSRC} && \ | 37 | cd ${WRKSRC} && \ | |
39 | ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor:${PREFIX}/gopkg \ | 38 | ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor:${PREFIX}/gopkg \ | |
40 | go build -tags "${MONGO_TAGS}" -o bin/${tool} ${tool}/main/${tool}.go | 39 | go build -tags "${MONGO_TAGS}" -o bin/${tool} ${tool}/main/${tool}.go | |
41 | .endfor | 40 | .endfor | |
42 | 41 | |||
43 | do-install: | 42 | do-install: | |
44 | .for tool in ${MONGO_TOOLS} | 43 | .for tool in ${MONGO_TOOLS} | |
45 | ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${DESTDIR}${PREFIX}/bin/${tool} | 44 | ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${DESTDIR}${PREFIX}/bin/${tool} | |
46 | .endfor | 45 | .endfor | |
47 | 46 | |||
47 | .include "../../devel/go-sys/buildlink3.mk" | |||
48 | .include "../../lang/go/version.mk" | 48 | .include "../../lang/go/version.mk" | |
49 | .include "../../mk/bsd.pkg.mk" | 49 | .include "../../mk/bsd.pkg.mk" |
@@ -1,9 +1,10 @@ | @@ -1,9 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2016/03/13 21:05:34 fhajny Exp $ | 1 | $NetBSD: distinfo,v 1.5 2017/05/03 16:49:54 fhajny Exp $ | |
2 | 2 | |||
3 | SHA1 (mongo-tools-3.2.4.tar.gz) = 75b9646509ac8a2a045d5a9f42735e333f5ecf70 | 3 | SHA1 (mongo-tools-3.4.4.tar.gz) = c92e1ef6d9efd1c671292003595ef673d5f04dab | |
4 | RMD160 (mongo-tools-3.2.4.tar.gz) = 26bdb86c83723937879beb3822a8b42191f274ee | 4 | RMD160 (mongo-tools-3.4.4.tar.gz) = 130ad7e1981d353149d5b59c29f3482e86a5392b | |
5 | SHA512 (mongo-tools-3.2.4.tar.gz) = d34ad87bb2a53c9df0124c26a4c200236aa889c7a5bd09a3b535acd4b18c5757018e78813fa04b48b359004eb9097853b49fd359617e71f66e41ef71da01c222 | 5 | SHA512 (mongo-tools-3.4.4.tar.gz) = d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d | |
6 | Size (mongo-tools-3.2.4.tar.gz) = 2229852 bytes | 6 | Size (mongo-tools-3.4.4.tar.gz) = 4700326 bytes | |
7 | SHA1 (patch-vendor_src_github.com_howeyc_gopass_bsd.go) = 13efab29de38877ef9948439edc23d57ca41e48d | 7 | SHA1 (patch-vendor_src_github.com_howeyc_gopass_nix.go) = 47c207612693b2a116b69ddf92806778033013d5 | |
8 | SHA1 (patch-vendor_src_github.com_spacemonkeygo_openssl_build.go) = fa1dd7b8e6d4811298e52d11fa5c198db0cb0f50 | 8 | SHA1 (patch-vendor_src_github.com_spacemonkeygo_openssl_build.go) = db5d61cea2567d3b9e6e4000807362ba482e69a1 | |
9 | SHA1 (patch-vendor_src_github.com_spacemonkeygo_spacelog_capture__other.go) = c1249796b3404ab13861dd8a7f9873ac4fb1a0f8 | |||
9 | SHA1 (patch-vendor_src_gopkg.in_mgo.v2_internal_sasl_sasl.go) = b860646c4125001d2c025005bc2d63cf12d10a68 | 10 | SHA1 (patch-vendor_src_gopkg.in_mgo.v2_internal_sasl_sasl.go) = b860646c4125001d2c025005bc2d63cf12d10a68 |
$NetBSD: patch-vendor_src_github.com_howeyc_gopass_nix.go,v 1.1 2017/05/03 16:49:54 fhajny Exp $
Builds on SunOS.
--- vendor/src/github.com/howeyc/gopass/nix.go.orig 2016-12-29 22:33:41.000000000 +0000
+++ vendor/src/github.com/howeyc/gopass/nix.go
@@ -1,4 +1,4 @@
-// +build linux darwin freebsd netbsd openbsd
+// +build linux darwin freebsd netbsd openbsd solaris
package gopass
$NetBSD: patch-vendor_src_github.com_spacemonkeygo_spacelog_capture__other.go,v 1.1 2017/05/03 16:49:54 fhajny Exp $
Use unix.Dup2 instead of syscall.Dup2.
--- vendor/src/github.com/spacemonkeygo/spacelog/capture_other.go.orig 2016-12-29 22:33:41.000000000 +0000
+++ vendor/src/github.com/spacemonkeygo/spacelog/capture_other.go
@@ -17,17 +17,18 @@
package spacelog
import (
+ "golang.org/x/sys/unix"
"syscall"
)
// CaptureOutputToFd redirects the current process' stdout and stderr file
// descriptors to the given file descriptor, using the dup2 syscall.
func CaptureOutputToFd(fd int) error {
- err := syscall.Dup2(fd, syscall.Stdout)
+ err := unix.Dup2(fd, syscall.Stdout)
if err != nil {
return err
}
- err = syscall.Dup2(fd, syscall.Stderr)
+ err = unix.Dup2(fd, syscall.Stderr)
if err != nil {
return err
}
@@ -1,15 +1,17 @@ | @@ -1,15 +1,17 @@ | |||
1 | $NetBSD: patch-vendor_src_github.com_spacemonkeygo_openssl_build.go,v 1.1 2015/10/21 16:37:22 fhajny Exp $ | 1 | $NetBSD: patch-vendor_src_github.com_spacemonkeygo_openssl_build.go,v 1.2 2017/05/03 16:49:54 fhajny Exp $ | |
2 | 2 | |||
3 | Simplify lib flags look up via pkg-config. | 3 | Simplify lib flags look up via pkg-config. | |
4 | 4 | |||
5 | --- vendor/src/github.com/spacemonkeygo/openssl/build.go.orig 2015-09-25 20:02:24.000000000 +0000 | 5 | --- vendor/src/github.com/spacemonkeygo/openssl/build.go.orig 2016-12-29 22:33:41.000000000 +0000 | |
6 | +++ vendor/src/github.com/spacemonkeygo/openssl/build.go | 6 | +++ vendor/src/github.com/spacemonkeygo/openssl/build.go | |
7 | @@ -16,7 +16,5 @@ | 7 | @@ -16,9 +16,5 @@ | |
8 | 8 | |||
9 | package openssl | 9 | package openssl | |
10 | 10 | |||
11 | -// #cgo linux pkg-config: openssl | 11 | -// #cgo linux pkg-config: openssl | |
12 | -// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN | 12 | -// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN | |
13 | -// #cgo darwin LDFLAGS: -lssl -lcrypto | 13 | -// #cgo windows LDFLAGS: -lcrypt32 | |
14 | -// #cgo darwin CFLAGS: -Wno-deprecated-declarations | |||
15 | -// #cgo darwin LDFLAGS: -lssl -lcrypto -framework CoreFoundation -framework Foundation -framework Security | |||
14 | +// #cgo pkg-config: openssl | 16 | +// #cgo pkg-config: openssl | |
15 | import "C" | 17 | import "C" |