From a55406b99d6b2405bbab35fe514cca69c20236d6 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 19 Oct 2017 03:52:49 +0000 Subject: [PATCH] removed community/mongodb-tools --- community/mongodb-tools/PKGBUILD | 45 --------------------- community/mongodb-tools/disable-sslv3.patch | 13 ------ 2 files changed, 58 deletions(-) delete mode 100644 community/mongodb-tools/PKGBUILD delete mode 100644 community/mongodb-tools/disable-sslv3.patch diff --git a/community/mongodb-tools/PKGBUILD b/community/mongodb-tools/PKGBUILD deleted file mode 100644 index e15166ccb..000000000 --- a/community/mongodb-tools/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan - -# ALARM: Kevin Mihelich -# - upstream patch to fix AArch64 build - -pkgname=mongodb-tools -pkgver=3.4.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' 'libpcap' 'openssl-1.0') -makedepends=('go') -source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz" - "disable-sslv3.patch" - 'https://github.com/mongodb/mongo-tools/commit/3c562dd765f753ed4c8db0453fb35f31b3069471.patch') -sha512sums=('7989c02c6ec6555812a760d3e8ff8ac4c5d1ad46f78ee65cea0207ea9ffacc7a4250509f6ad5c31b88425b2831572f73fa3c4c4084fa8eb9fba158abff4a15e4' - '674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5' - '7e5560d630f359ad021e37b60773fd1fe35e54d00e431ddd8b6dc0bf949d810fa9345cc9f4158e1598514a763e2247e667ef81687b5c1594096daf36f318589c') - -prepare() { - cd mongo-tools-r$pkgver - . ./set_gopath.sh - mkdir bin - - export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig - - patch -p1 -F10 -i ../3c562dd765f753ed4c8db0453fb35f31b3069471.patch -} - -build() { - cd mongo-tools-r$pkgver - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog 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 mongooplog mongoreplay; do - install -Dm755 bin/$i "$pkgdir/usr/bin/$i" - done -} diff --git a/community/mongodb-tools/disable-sslv3.patch b/community/mongodb-tools/disable-sslv3.patch deleted file mode 100644 index b1e16395e..000000000 --- a/community/mongodb-tools/disable-sslv3.patch +++ /dev/null @@ -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: