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

Felix Yan felixonmars at archlinux.org
Wed Apr 4 14:27:31 UTC 2018


    Date: Wednesday, April 4, 2018 @ 14:27:30
  Author: felixonmars
Revision: 314125

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-04 14:27:03 UTC (rev 314124)
+++ PKGBUILD	2018-04-04 14:27:30 UTC (rev 314125)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=mongodb-tools
-pkgver=3.6.2
-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-1.0')
-makedepends=('go-pie')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz"
-        "disable-sslv3.patch")
-sha512sums=('5ac2b1d2b33271f63c406c69bd8a576a21f4dcaa6f75839e0f907ebc9968f0e121eb3800e88da050c120856e7ddda4f12d551bb731d4acac0f5cf09f66fc948a'
-            '674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
-
-prepare() {
-  cd mongo-tools-r$pkgver
-  . ./set_gopath.sh
-  mkdir bin
-
-  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
-}
-
-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 314124, mongodb-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-04 14:27:30 UTC (rev 314125)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mongodb-tools
+pkgver=3.6.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-1.0')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz"
+        "disable-sslv3.patch")
+sha512sums=('7dba782c84a728aa9ceb28cbd9934f58b615dccfb238a9dbd63b18661ba4e74ddba21f93d9f12e6d80d293ebe42a82d31fa64448aacdba75bd07d964a5f631fc'
+            '674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
+
+prepare() {
+  cd mongo-tools-r$pkgver
+  . ./set_gopath.sh
+  mkdir bin
+
+  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
+}
+
+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-04-04 14:27:03 UTC (rev 314124)
+++ disable-sslv3.patch	2018-04-04 14:27:30 UTC (rev 314125)
@@ -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 314124, mongodb-tools/trunk/disable-sslv3.patch)
===================================================================
--- disable-sslv3.patch	                        (rev 0)
+++ disable-sslv3.patch	2018-04-04 14:27:30 UTC (rev 314125)
@@ -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