[arch-commits] Commit in mongodb-tools/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 16:44:57 UTC 2018


    Date: Friday, November 9, 2018 @ 16:44:57
  Author: felixonmars
Revision: 404373

archrelease: copy trunk to community-x86_64

Added:
  mongodb-tools/repos/community-x86_64/PKGBUILD
    (from rev 404372, mongodb-tools/trunk/PKGBUILD)
  mongodb-tools/repos/community-x86_64/disable-sslv3.patch
    (from rev 404372, mongodb-tools/trunk/disable-sslv3.patch)
Deleted:
  mongodb-tools/repos/community-x86_64/PKGBUILD
  mongodb-tools/repos/community-x86_64/disable-sslv3.patch

---------------------+
 PKGBUILD            |   70 +++++++++++++++++++++++++-------------------------
 disable-sslv3.patch |   26 +++++++++---------
 2 files changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-09 16:44:40 UTC (rev 404372)
+++ PKGBUILD	2018-11-09 16:44:57 UTC (rev 404373)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=mongodb-tools
-pkgver=4.0.3
-pkgrel=1
-pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
-arch=('x86_64')
-url="https://github.com/mongodb/mongo-tools"
-license=('Apache')
-depends=('libsasl' 'libpcap' 'openssl')
-makedepends=('go-pie')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz"
-        "disable-sslv3.patch")
-sha512sums=('cbe74b3fdebd0d4f6be6e3acf7f55f5f1a551b0ad1a23d82782643d2a9eb9ea4b7e0133985485b8c5a88c1fea26595e3ed9c759f1f63b578b6472d850154d67b'
-            '674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
-
-prepare() {
-  cd mongo-tools-r$pkgver
-  . ./set_gopath.sh
-  mkdir bin
-}
-
-build() {
-  cd mongo-tools-r$pkgver
-  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
-    go build -o bin/$i -tags "ssl sasl" $i/main/$i.go
-  done
-}
-
-package() {
-  cd mongo-tools-r$pkgver
-  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
-    install -Dm755 bin/$i "$pkgdir/usr/bin/$i"
-  done
-}

Copied: mongodb-tools/repos/community-x86_64/PKGBUILD (from rev 404372, mongodb-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-09 16:44:57 UTC (rev 404373)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mongodb-tools
+pkgver=4.0.4
+pkgrel=1
+pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
+arch=('x86_64')
+url="https://github.com/mongodb/mongo-tools"
+license=('Apache')
+depends=('libsasl' 'libpcap' 'openssl')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz"
+        "disable-sslv3.patch")
+sha512sums=('d7900dbbd1e1e63d5518494c85559a7eab34f53ffa38880628f3dda0a71ee1211f67cf7dfaac66498b0359eca32abb9c89410e5cc56415a1594acf38ebfa226b'
+            '674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
+
+prepare() {
+  cd mongo-tools-r$pkgver
+  . ./set_gopath.sh
+  mkdir bin
+}
+
+build() {
+  cd mongo-tools-r$pkgver
+  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
+    go build -o bin/$i -tags "ssl sasl" $i/main/$i.go
+  done
+}
+
+package() {
+  cd mongo-tools-r$pkgver
+  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
+    install -Dm755 bin/$i "$pkgdir/usr/bin/$i"
+  done
+}

Deleted: disable-sslv3.patch
===================================================================
--- disable-sslv3.patch	2018-11-09 16:44:40 UTC (rev 404372)
+++ disable-sslv3.patch	2018-11-09 16:44:57 UTC (rev 404373)
@@ -1,13 +0,0 @@
-diff --git i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
-index 22d6dd1..25b0eec 100644
---- i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
-+++ w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
-@@ -141,7 +141,7 @@ func NewCtxWithVersion(version SSLVersion) (*Ctx, error) {
- 	var method *C.SSL_METHOD
- 	switch version {
- 	case SSLv3:
--		method = C.SSLv3_method()
-+		method = C.SSLv23_method()
- 	case TLSv1:
- 		method = C.TLSv1_method()
- 	case TLSv1_1:

Copied: mongodb-tools/repos/community-x86_64/disable-sslv3.patch (from rev 404372, mongodb-tools/trunk/disable-sslv3.patch)
===================================================================
--- disable-sslv3.patch	                        (rev 0)
+++ disable-sslv3.patch	2018-11-09 16:44:57 UTC (rev 404373)
@@ -0,0 +1,13 @@
+diff --git i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
+index 22d6dd1..25b0eec 100644
+--- i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
++++ w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
+@@ -141,7 +141,7 @@ func NewCtxWithVersion(version SSLVersion) (*Ctx, error) {
+ 	var method *C.SSL_METHOD
+ 	switch version {
+ 	case SSLv3:
+-		method = C.SSLv3_method()
++		method = C.SSLv23_method()
+ 	case TLSv1:
+ 		method = C.TLSv1_method()
+ 	case TLSv1_1:



More information about the arch-commits mailing list