aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenissalem <denissalem@tuxfamily.org>2017-03-02 20:43:42 +0100
committerAnthony G. Basile <blueness@gentoo.org>2017-03-03 08:39:56 -0500
commitcad1a07aa23eb48a3db8446ec01477f80bf12601 (patch)
tree05b15a0099a8eaca6135262962854d90a0f41ff0 /app-admin
parentmedia-video/ffmpeg: sync with upstream (diff)
downloadlibressl-cad1a07aa23eb48a3db8446ec01477f80bf12601.tar.gz
libressl-cad1a07aa23eb48a3db8446ec01477f80bf12601.tar.bz2
libressl-cad1a07aa23eb48a3db8446ec01477f80bf12601.zip
add mongo-tools-3.0.14
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/mongo-tools/Manifest17
-rw-r--r--app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch10
-rw-r--r--app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch9
-rw-r--r--app-admin/mongo-tools/files/mongo-tools-3.2.10-pie.patch12
-rw-r--r--app-admin/mongo-tools/files/mongo-tools-3.2.5-build.patch9
-rw-r--r--app-admin/mongo-tools/metadata.xml14
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.0.14.ebuild57
7 files changed, 128 insertions, 0 deletions
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
new file mode 100644
index 0000000..4e0afbe
--- /dev/null
+++ b/app-admin/mongo-tools/Manifest
@@ -0,0 +1,17 @@
+AUX mongo-tools-3.0.0-build.patch 528 SHA256 99ee6a119b3dd4145a088a9c581763f856f53c579f477b4e4eaaa8e7dd2c0f02 SHA512 9bf9e247f49a4fbc251ce878b82d457136b3ede890458afbd92b27a9f283e44e02bab92b2817cd1c3160a807ce8a7e6296e813f3573c2b733f2701fdb07323fe WHIRLPOOL 03d7330cb179111ed608929b15d2901258e8d1434ed9b28a1069a235498b32fb4ba165fb193635be1925236a83181659efd53514ef9a5c640bdfc6d5e4da05f3
+AUX mongo-tools-3.0.12-build.patch 626 SHA256 49cbafaf42c32ba91b08875f79afb27ec2f880ad01d34b28f32797393503071e SHA512 bd1374dc2e1ec0b0ef18fe47015519c1981b12decee47ff85544b6be7f721080e91ecbafc1c07eee4a43d733a2310ac1a001bb051e8981c11e9ede652c7bbc8a WHIRLPOOL e22101283f6d25f37c57f76e0bb4775b539aec48a2615e2e369fee813a3dabc3381f2882ee8101763ff33ee49e65cde598e1a28252efdbe1cec04fa94a1934f3
+AUX mongo-tools-3.2.10-pie.patch 551 SHA256 7bc79ceadc99075f0d9212e44d204f68819be5f822691cd74648c9f12040aae1 SHA512 9a309e8d4d3776fef5209bdaedf416f3a43d51ffacff8fa602dacc288b1413dfb7eeca2cbd88a976a1648161bd671321e8f333a6843ee0477ea41cfcad040d1b WHIRLPOOL 3ec4766eddfcea0df4eabe435ca3f3a1b9ca4a14f496bb5d2158a30ea8a61f2bdfb1c24cdb935b2fb8b3d43086d5ec1e73d6d6b2ec961e7b1eac07a6a405b881
+AUX mongo-tools-3.2.5-build.patch 609 SHA256 bfa434a2cd2cd9ccfccc80b8ae27ade024e1ab9409aec617aaec570e0c8fcfce SHA512 f2eb353a0981fca03eab0d44ed6adf7bcb4d6446ceaaf96499e254170679582981ad2f81c7dfe6ff10d783745d90c1b55bb7eb0efe1ddcf1c4ccb52b920efc99 WHIRLPOOL 9ca85953a94400dfb7665cddb9f18c75eba372831d76889b28494ef2c4a7add417814133c4a56f2fd47ee853cb62b07081de7a8261fac5ce906dac32763c374a
+DIST mongo-tools-3.0.10.tar.gz 2185555 SHA256 2bd5c984ca8b745b33aeb1e1a8118acd675bc5a408845eb3bb0b70c4fa680d71 SHA512 36d57150f4fb331149a2a7cbcde54253316cf3c5bc8ab195584c057c35b30d5acfabcafa25d314d378388254ac5a0ce75d0d8867e344fb7006593319ce9d028c WHIRLPOOL a6961a1fccb7ba353616fe4bfbe182c6a076f13c23492f4d06d274a0ff4d3f09a811413f77a2353b20801462b3a72f74073e38b8b1b4f4e3abf0026774dbcea2
+DIST mongo-tools-3.0.14.tar.gz 2413148 SHA256 5a3f706827a9567fc98e2b64a33a2071c68c89090c6f135a508cb4e615051db1 SHA512 0e77417b2c36080515a2ff611427cb18f6d6c2432159c2a09af8d6ff14ae7f25ecbfe0a6631eeb7de084fdfe517a09364d731f5b63923404b6319fc1ca44b840 WHIRLPOOL 615153e87ea0b3cfd837066f850f92e7ea9c533e09bf6e3f4231ff489ac21a5a52a4afe06c827304e9340f9e8172714dae969c65cdd7215939a35c7026d60d98
+DIST mongo-tools-3.2.11.tar.gz 2712014 SHA256 992e9fb94df6bed49e68684afee096f1193dc9cfca8ce8bcc4c912996bba365c SHA512 a6e2dd8dd567f04205e57be2983f5f0ddf2c4aca915f5ffaa777d17b94f62e0f106eb9bad93213d25f60c3949d47f4d91cdf767744e8094278e8ecf3546dfae5 WHIRLPOOL 6d75a9b0e6cd4271f8c6571dd280adafc7ff1bb60f973a037c78b39df0981d6c35f1a38309a8d96300f45053054c4454f22ce75aea2d62da6db06a2b1adcf90d
+DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e71dcabd9ac6bcc8b33d906ce3b13afd SHA512 66f7beb85a83ad6a217e65bba97ace6ad0bf84688f40e598e5fb1cf4bbe481b4069e1247d6829f8d06c8230d33c3e0c8bd8465a975576cad584065c361b6fb72 WHIRLPOOL 46123dc3c97fdf20ff94ac373e774932bd30aca677047fe3366653aaab269bf6d7e59cb420cf1e5716558fa959cb3649ee359cc27932bac276e6d24d2eea43b1
+DIST mongo-tools-3.4.1.tar.gz 4700560 SHA256 283d729442fca7a331ca475e234b0880ec7c4339597e0a8e271ca7e153b45439 SHA512 bd5862b220bc9d77d938b87b1e2c974d0088239c51cd091b5e4d578d774e28aa6b25ab18936c9f388fd1ed3caeca264225c14cd5a85e749c3c3e148ca073a990 WHIRLPOOL 2b5ba4e2c91372e5cec355d0e6d651d4fd3de7b3d72839e855e099c75a9ffec172b43caff82d2cf7371fd3c7ac1ca1e71fc303eff75cd2e5afc352fbbf4dba42
+DIST mongo-tools-3.4.2.tar.gz 4700591 SHA256 3679576153ab1a9e1a7fe9811cb6d7c32c6d9320f07be9a94d064d6904618b5a SHA512 5ad4b5421acb10010f72f6b9f8342c095c4f571ac3cb9dc3db78251262f8285a4e2bddbeed3ad26c64f36d5b33ed7f43a759c74e00d2878c0ac6a71069508a2f WHIRLPOOL 208bd7116e1a7be2854f81df95d418667d50166d91522e14fdfa4e1f0b1ce007966fc5b0b1367f3be2c273fa7abbbfe04cb6e970a5010d44ac8542dc1bbd3424
+EBUILD mongo-tools-3.0.10.ebuild 976 SHA256 b1bf95ff6045d4243b2ebc882f2c7a234531e9effebe42d057027f76829d7679 SHA512 5afeaf237a7043d22c486c66c1c5c45ec1532ee256f48921b9c80c8d0d164c8ad9fac8feec4060260889a941ac7dfd90f387fa4148fcb04cbef97ab6ea4ffda9 WHIRLPOOL a9bca18bf8023634f3a67a18260519fc76782fe6fb6698a75eb52472a575f31e7479ccc900e4b369f7e9e00843f7a3a88400ab4c68bf76e6d52b97b2f82ffd14
+EBUILD mongo-tools-3.0.14.ebuild 1106 SHA256 eefb61ceeaaa9b256d24709b416a4676617364a3bf8eae4535975961c04257c2 SHA512 3c100c4e5f8baf8ecd7bf1ea3b1afd6662f9603a4907572d04fd068600f934c9fe3472ff9999f70c407c53623bbd776e2ab94b574b6dd3ffaa16c0d0de89bf39 WHIRLPOOL fb4848a053e11a81bcb917abed801dad4796babbf359cee63de135af9a98afbd39746caf03ba016cb2f5cb40c4df57c8f971f2594d39f529ba86826cf0d6358b
+EBUILD mongo-tools-3.2.11.ebuild 1180 SHA256 ab87de25a84ff7831d6b7d435def44fd61f6f71f60bb5755f3203261c401fbbe SHA512 aa7f24349ff6ba91623fa93b8e14ad8c11992d039024dea1753fd11a875e273974629e4163d91129d9552963a663fe4e73b4f109a5d1b5cdaf8beed3b14709c1 WHIRLPOOL bc1382f09bb84e894f82c73ebeb201c282744a7cfb9aa6ae74822650c3915c0fefa0422baf7fd61e4ed267735bf18c5417575620e065580204aabb8da7c3e085
+EBUILD mongo-tools-3.2.12.ebuild 1198 SHA256 6b9e8e0845c66fe1133cb692f4fa94ac8c525826d17d112775fe268622555f0d SHA512 f71ff59918d4d8278bae4408ff7649fdda928980d1cc08ab169391c5adbabed4e2d1ba0f4cfd23a8b0f05be1850c2037b971f99fd2ee2557ae76dfdae89e2d15 WHIRLPOOL 15ecab23d754b3e87e5244df2c26cb0d9bb0f34542559e2ec887a7d5e50e412cb4bc52f4e7d2352a18efadd0e0e5b0301676a8cc70ea1fc59f03f61c8eb9796b
+EBUILD mongo-tools-3.4.1.ebuild 1180 SHA256 a5f95081d0959cfd3e66796d0bd7462d1f6af8b1fa9dbb1a8a7543007b724a70 SHA512 68e06cfa5be410ed0025e4b1dbcb462ebd769eb75a94dcdcabe848808c2427f5b961684b95806d9d75455bcbaaa66201101595a981656c12da575ef8e6028ed2 WHIRLPOOL a0e27bc47bb6fc98944728b82fb5902d44e1393e37ad2dac1eede60c0b45d3189c934d35cdd6f18d5f33a0c4a5f6358b396271e2b6d4540b21c436f07e3e91ea
+EBUILD mongo-tools-3.4.2.ebuild 1198 SHA256 6b9e8e0845c66fe1133cb692f4fa94ac8c525826d17d112775fe268622555f0d SHA512 f71ff59918d4d8278bae4408ff7649fdda928980d1cc08ab169391c5adbabed4e2d1ba0f4cfd23a8b0f05be1850c2037b971f99fd2ee2557ae76dfdae89e2d15 WHIRLPOOL 15ecab23d754b3e87e5244df2c26cb0d9bb0f34542559e2ec887a7d5e50e412cb4bc52f4e7d2352a18efadd0e0e5b0301676a8cc70ea1fc59f03f61c8eb9796b
+MISC metadata.xml 463 SHA256 f87756607a753d0c92d913540dc84a81a660d71381fb3649db229eed96438172 SHA512 f09474b3932dd6ae36da20c64a394acf65ad1e3a875e7ca743efa22db8b7e3109c9ebe4c489e62eda12c5bdd4d689ede61eca8a4cc89c42d0a08a270f041fcdc WHIRLPOOL a11c4bb4f310edefb2fec8bf3376a6c4ab58680aa6a8c275e7d7ec2b6d9a63752d771626e948b2aa7c2e9bc518a079b1fd201d98c36609f2e8b1e87d611ef57f
diff --git a/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch b/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch
new file mode 100644
index 0000000..f7fd93b
--- /dev/null
+++ b/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch
@@ -0,0 +1,10 @@
+--- build.sh.orig 2015-02-17 16:55:47.000000000 +0000
++++ build.sh 2015-02-18 09:22:30.671123198 +0000
+@@ -19,5 +19,5 @@
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ echo "Building ${i}..."
+ # Build the tool, using -ldflags to link in the current gitspec
+- go build -o "bin/$i" -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec `git rev-parse HEAD`" -tags "$tags" "$i/main/$i.go"
++ go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"
+ done
+
diff --git a/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch b/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch
new file mode 100644
index 0000000..f3d8819
--- /dev/null
+++ b/app-admin/mongo-tools/files/mongo-tools-3.0.12-build.patch
@@ -0,0 +1,9 @@
+--- a/build.sh 2016-04-29 20:14:54.000000000 +0200
++++ b/build.sh 2016-05-17 17:22:50.830113156 +0200
+@@ -19,5 +19,5 @@
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ echo "Building ${i}..."
+ # Build the tool, using -ldflags to link in the current gitspec
+- go build -o "bin/$i" -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec=`git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr=$(git describe)" -tags "$tags" "$i/main/$i.go"
++ go build -o "bin/$i" -tags "$tags" "$i/main/$i.go" || exit 1
+ done
diff --git a/app-admin/mongo-tools/files/mongo-tools-3.2.10-pie.patch b/app-admin/mongo-tools/files/mongo-tools-3.2.10-pie.patch
new file mode 100644
index 0000000..6a80d75
--- /dev/null
+++ b/app-admin/mongo-tools/files/mongo-tools-3.2.10-pie.patch
@@ -0,0 +1,12 @@
+diff -uNr mongo-tools-r3.2.10.ORIG/build.sh mongo-tools-r3.2.10/build.sh
+--- mongo-tools-r3.2.10.ORIG/build.sh 2016-11-15 16:15:09.487441283 +0000
++++ mongo-tools-r3.2.10/build.sh 2016-11-15 16:15:23.127235064 +0000
+@@ -22,7 +22,7 @@
+
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ echo "Building ${i}..."
+- go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"
++ go build -buildmode=pie -o "bin/$i" -tags "$tags" "$i/main/$i.go"
+ ./bin/$i --version
+ done
+
diff --git a/app-admin/mongo-tools/files/mongo-tools-3.2.5-build.patch b/app-admin/mongo-tools/files/mongo-tools-3.2.5-build.patch
new file mode 100644
index 0000000..31d94dd
--- /dev/null
+++ b/app-admin/mongo-tools/files/mongo-tools-3.2.5-build.patch
@@ -0,0 +1,9 @@
+--- a/build.sh 2016-04-21 17:31:22.156178084 +0200
++++ b/build.sh 2016-04-21 17:32:07.723421116 +0200
+@@ -19,5 +19,5 @@
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
+ echo "Building ${i}..."
+ # Build the tool, using -ldflags to link in the current gitspec
+- go build -o "bin/$i" -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec `git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr $(git describe)" -tags "$tags" "$i/main/$i.go"
++ go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"
+ done
diff --git a/app-admin/mongo-tools/metadata.xml b/app-admin/mongo-tools/metadata.xml
new file mode 100644
index 0000000..7a01cd8
--- /dev/null
+++ b/app-admin/mongo-tools/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ultrabug@gentoo.org</email>
+ <name>Alexys Jacob</name>
+ </maintainer>
+ <longdescription lang="en">
+ MongoDB operation tools such as mongodump, mongoexport, mongorestore, bsondump...
+ </longdescription>
+ <upstream>
+ <remote-id type="github">mongodb/mongo-tools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/mongo-tools/mongo-tools-3.0.14.ebuild b/app-admin/mongo-tools/mongo-tools-3.0.14.ebuild
new file mode 100644
index 0000000..0f82af4
--- /dev/null
+++ b/app-admin/mongo-tools/mongo-tools-3.0.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_PV=${PV/_rc/-rc}
+MY_P=${PN}-r${MY_PV}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
+HOMEPAGE="http://www.mongodb.org"
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="sasl ssl libressl"
+
+# Maintainer note:
+# openssl DEPEND constraint, see:
+# https://github.com/mongodb/mongo-tools/issues/11
+
+RDEPEND="!<dev-db/mongodb-3.0.0"
+DEPEND="${RDEPEND}
+ dev-lang/go:=
+ sasl? ( dev-libs/cyrus-sasl )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # ensure we use bash wrt #582906
+ sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
+}
+
+src_compile() {
+ local myconf
+
+ if use sasl; then
+ myconf="${myconf} sasl"
+ fi
+
+ if use ssl; then
+ myconf="${myconf} ssl"
+ fi
+
+ ./build.sh ${myconf} || die "build failed"
+}
+
+src_install() {
+ dobin bin/*
+}