[arch-commits] Commit in mongodb-tools/repos (6 files)
Felix Yan
fyan at archlinux.org
Mon May 2 14:43:51 UTC 2016
Date: Monday, May 2, 2016 @ 16:43:51
Author: fyan
Revision: 173372
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mongodb-tools/repos/community-staging-i686/
mongodb-tools/repos/community-staging-i686/PKGBUILD
(from rev 173371, mongodb-tools/trunk/PKGBUILD)
mongodb-tools/repos/community-staging-i686/disable-sslv3.patch
(from rev 173371, mongodb-tools/trunk/disable-sslv3.patch)
mongodb-tools/repos/community-staging-x86_64/
mongodb-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 173371, mongodb-tools/trunk/PKGBUILD)
mongodb-tools/repos/community-staging-x86_64/disable-sslv3.patch
(from rev 173371, mongodb-tools/trunk/disable-sslv3.patch)
----------------------------------------------+
community-staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++
community-staging-i686/disable-sslv3.patch | 13 ++++++++
community-staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++
community-staging-x86_64/disable-sslv3.patch | 13 ++++++++
4 files changed, 100 insertions(+)
Copied: mongodb-tools/repos/community-staging-i686/PKGBUILD (from rev 173371, mongodb-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 14:43:51 UTC (rev 173372)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mongodb-tools
+pkgver=3.2.5
+pkgrel=1
+pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
+arch=('i686' 'x86_64')
+url="https://github.com/mongodb/mongo-tools"
+license=('Apache')
+depends=('libsasl' 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'gcc-go')
+source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver"
+ "disable-sslv3.patch")
+md5sums=('SKIP'
+ '883ddbb1a936d988c2d0c6d78644dce9')
+
+prepare() {
+ cd mongo-tools
+ patch -Np1 -i ../disable-sslv3.patch
+ . ./set_gopath.sh
+ mkdir bin
+}
+
+build() {
+ cd mongo-tools
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ go build -o bin/$i -tags "ssl sasl" -gccgoflags "$(pkg-config --libs openssl) $CFLAGS $LDFLAGS" $i/main/$i.go
+ done
+}
+
+package() {
+ cd mongo-tools
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ install -Dm755 bin/$i "$pkgdir/usr/bin/$i"
+ done
+}
Copied: mongodb-tools/repos/community-staging-i686/disable-sslv3.patch (from rev 173371, mongodb-tools/trunk/disable-sslv3.patch)
===================================================================
--- community-staging-i686/disable-sslv3.patch (rev 0)
+++ community-staging-i686/disable-sslv3.patch 2016-05-02 14:43:51 UTC (rev 173372)
@@ -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:
Copied: mongodb-tools/repos/community-staging-x86_64/PKGBUILD (from rev 173371, mongodb-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-05-02 14:43:51 UTC (rev 173372)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mongodb-tools
+pkgver=3.2.5
+pkgrel=1
+pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
+arch=('i686' 'x86_64')
+url="https://github.com/mongodb/mongo-tools"
+license=('Apache')
+depends=('libsasl' 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'gcc-go')
+source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver"
+ "disable-sslv3.patch")
+md5sums=('SKIP'
+ '883ddbb1a936d988c2d0c6d78644dce9')
+
+prepare() {
+ cd mongo-tools
+ patch -Np1 -i ../disable-sslv3.patch
+ . ./set_gopath.sh
+ mkdir bin
+}
+
+build() {
+ cd mongo-tools
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ go build -o bin/$i -tags "ssl sasl" -gccgoflags "$(pkg-config --libs openssl) $CFLAGS $LDFLAGS" $i/main/$i.go
+ done
+}
+
+package() {
+ cd mongo-tools
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ install -Dm755 bin/$i "$pkgdir/usr/bin/$i"
+ done
+}
Copied: mongodb-tools/repos/community-staging-x86_64/disable-sslv3.patch (from rev 173371, mongodb-tools/trunk/disable-sslv3.patch)
===================================================================
--- community-staging-x86_64/disable-sslv3.patch (rev 0)
+++ community-staging-x86_64/disable-sslv3.patch 2016-05-02 14:43:51 UTC (rev 173372)
@@ -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