Date: Monday, March 30, 2015 @ 18:06:06 Author: fyan Revision: 130320
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: mongodb-tools/repos/community-testing-i686/ mongodb-tools/repos/community-testing-i686/PKGBUILD (from rev 130319, mongodb-tools/trunk/PKGBUILD) mongodb-tools/repos/community-testing-i686/i686.patch (from rev 130319, mongodb-tools/trunk/i686.patch) mongodb-tools/repos/community-testing-x86_64/PKGBUILD (from rev 130319, mongodb-tools/trunk/PKGBUILD) mongodb-tools/repos/community-testing-x86_64/i686.patch (from rev 130319, mongodb-tools/trunk/i686.patch) Deleted: mongodb-tools/repos/community-testing-x86_64/PKGBUILD -------------------------------------+ /PKGBUILD | 39 ++++++++++++++++++++++++++++++++++ community-testing-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++ community-testing-i686/i686.patch | 11 +++++++++ community-testing-x86_64/PKGBUILD | 31 --------------------------- community-testing-x86_64/i686.patch | 11 +++++++++ 5 files changed, 100 insertions(+), 31 deletions(-) Copied: mongodb-tools/repos/community-testing-i686/PKGBUILD (from rev 130319, mongodb-tools/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-03-30 16:06:06 UTC (rev 130320) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongodb-tools +pkgver=3.1.0 +pkgrel=2 +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') +makedepends=('git' 'go') +source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver" + i686.patch) +md5sums=('SKIP' + '1e77521c9040575ab1e7ed91ac6e410c') + +prepare() { + cd mongo-tools + # https://github.com/mongodb/mongo-tools/issues/13 + patch -p0 -i ../i686.patch +} + +build() { + cd mongo-tools + . ./set_gopath.sh + + mkdir bin + for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do + go build -o bin/$i -tags "ssl sasl" $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-testing-i686/i686.patch (from rev 130319, mongodb-tools/trunk/i686.patch) =================================================================== --- community-testing-i686/i686.patch (rev 0) +++ community-testing-i686/i686.patch 2015-03-30 16:06:06 UTC (rev 130320) @@ -0,0 +1,11 @@ +--- vendor/src/github.com/spacemonkeygo/openssl/ctx.go.orig 2015-03-09 23:14:45.000000000 +0100 ++++ vendor/src/github.com/spacemonkeygo/openssl/ctx.go 2015-03-26 13:41:39.730177906 +0100 +@@ -533,7 +533,7 @@ + return nil + } + +-type Options int ++type Options int64 + + const ( + // NoCompression is only valid if you are using OpenSSL 1.0.1 or newer Deleted: community-testing-x86_64/PKGBUILD =================================================================== --- community-testing-x86_64/PKGBUILD 2015-03-30 16:05:45 UTC (rev 130319) +++ community-testing-x86_64/PKGBUILD 2015-03-30 16:06:06 UTC (rev 130320) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongodb-tools -pkgver=3.1.0 -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') -makedepends=('git' 'go') -source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver") -md5sums=('SKIP') - -build() { - cd mongo-tools - . ./set_gopath.sh - - mkdir bin - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do - go build -o bin/$i -tags "ssl sasl" $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-testing-x86_64/PKGBUILD (from rev 130319, mongodb-tools/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-03-30 16:06:06 UTC (rev 130320) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongodb-tools +pkgver=3.1.0 +pkgrel=2 +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') +makedepends=('git' 'go') +source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver" + i686.patch) +md5sums=('SKIP' + '1e77521c9040575ab1e7ed91ac6e410c') + +prepare() { + cd mongo-tools + # https://github.com/mongodb/mongo-tools/issues/13 + patch -p0 -i ../i686.patch +} + +build() { + cd mongo-tools + . ./set_gopath.sh + + mkdir bin + for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do + go build -o bin/$i -tags "ssl sasl" $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-testing-x86_64/i686.patch (from rev 130319, mongodb-tools/trunk/i686.patch) =================================================================== --- community-testing-x86_64/i686.patch (rev 0) +++ community-testing-x86_64/i686.patch 2015-03-30 16:06:06 UTC (rev 130320) @@ -0,0 +1,11 @@ +--- vendor/src/github.com/spacemonkeygo/openssl/ctx.go.orig 2015-03-09 23:14:45.000000000 +0100 ++++ vendor/src/github.com/spacemonkeygo/openssl/ctx.go 2015-03-26 13:41:39.730177906 +0100 +@@ -533,7 +533,7 @@ + return nil + } + +-type Options int ++type Options int64 + + const ( + // NoCompression is only valid if you are using OpenSSL 1.0.1 or newer