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

Felix Yan felixonmars at archlinux.org
Sun Feb 18 17:31:09 UTC 2018


    Date: Sunday, February 18, 2018 @ 17:31:03
  Author: felixonmars
Revision: 296235

archrelease: copy trunk to community-x86_64

Added:
  mongodb-tools/repos/community-x86_64/PKGBUILD
    (from rev 296234, mongodb-tools/trunk/PKGBUILD)
  mongodb-tools/repos/community-x86_64/disable-sslv3.patch
    (from rev 296234, 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-02-18 17:30:25 UTC (rev 296234)
+++ PKGBUILD	2018-02-18 17:31:03 UTC (rev 296235)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=mongodb-tools
-pkgver=3.6.1
-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=('15a073e92281b515d16c778ef3f540939dfaeaeb92afb303899ea3a7bbecd2782efa0ba05b9ed271660e9000c6108c05a28e2dec826880867c625d06ac65a0be'
-            '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 296234, mongodb-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-18 17:31:03 UTC (rev 296235)
@@ -0,0 +1,38 @@
+# $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
+}

Deleted: disable-sslv3.patch
===================================================================
--- disable-sslv3.patch	2018-02-18 17:30:25 UTC (rev 296234)
+++ disable-sslv3.patch	2018-02-18 17:31:03 UTC (rev 296235)
@@ -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 296234, mongodb-tools/trunk/disable-sslv3.patch)
===================================================================
--- disable-sslv3.patch	                        (rev 0)
+++ disable-sslv3.patch	2018-02-18 17:31:03 UTC (rev 296235)
@@ -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