From dc7cbdfa65fd814b3b9aa3c56257da201109e807 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Apr 2019 21:17:31 +0100 Subject: gentoo resync : 05.04.2019 --- app-admin/mongo-tools/Manifest | 14 ++--- app-admin/mongo-tools/mongo-tools-3.6.10.ebuild | 9 +++- app-admin/mongo-tools/mongo-tools-3.6.11.ebuild | 71 +++++++++++++++++++++++++ app-admin/mongo-tools/mongo-tools-3.6.8.ebuild | 5 +- app-admin/mongo-tools/mongo-tools-3.6.9.ebuild | 64 ---------------------- app-admin/mongo-tools/mongo-tools-4.0.3.ebuild | 64 ---------------------- app-admin/mongo-tools/mongo-tools-4.0.4.ebuild | 67 ----------------------- app-admin/mongo-tools/mongo-tools-4.0.5.ebuild | 64 ---------------------- 8 files changed, 87 insertions(+), 271 deletions(-) create mode 100644 app-admin/mongo-tools/mongo-tools-3.6.11.ebuild delete mode 100644 app-admin/mongo-tools/mongo-tools-3.6.9.ebuild delete mode 100644 app-admin/mongo-tools/mongo-tools-4.0.3.ebuild delete mode 100644 app-admin/mongo-tools/mongo-tools-4.0.4.ebuild delete mode 100644 app-admin/mongo-tools/mongo-tools-4.0.5.ebuild (limited to 'app-admin/mongo-tools') diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest index cbb7a9dc8da4..3ed6db0cf0e4 100644 --- a/app-admin/mongo-tools/Manifest +++ b/app-admin/mongo-tools/Manifest @@ -1,17 +1,11 @@ DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5 DIST mongo-tools-3.6.10.tar.gz 4731097 BLAKE2B dffd18bbcb5a1d869cd3a00b40be7c83d12c2146944044c8d873eba409b9fcb0ce0595c01cd61a6b0405dfce685b8dde7c285380150906d4d38d3de9b42962bf SHA512 3e9808c6b275566215f8c2ce033a6259d373e8b63db5e981cc28235d757404b3209a64dd9aa8a98d9290c5c1da137a1bf9bc48629b278cb27ca28be681e86efc +DIST mongo-tools-3.6.11.tar.gz 4731680 BLAKE2B 88558a26d2552848121d984e4b963acafe9e56b37a3d393bacdcd8c0f71a29e2082845ad6d648c3c4800bd47514d339d1f1e984e339a48572ecb5f6f31d9166d SHA512 2291cb963965a59a89bac35a760ce49b4b835d1447065d558c4b254aae5fe38f7ebe4c9d7a67aa475e06be95c45f8529922c6fb0b78d41bc07d1a83f3a564192 DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf -DIST mongo-tools-3.6.9.tar.gz 4723117 BLAKE2B 2cc88b9e8424abe082d68a8f7afa02bf2b21d027cabe04298fafbd065346350d57f6a48ece1a849e779cac6da315aa9d5469c5f63ca5aae6be7e8f73fae3fe4b SHA512 def8e2bb68898c540dfa9fbe742696d463c099e7d70fc2f0e114301d321e3983ef0b07588301340b0a3ffdf2280febc3fa37e77d2520f147e723d2ce147c7261 -DIST mongo-tools-4.0.3.tar.gz 10874727 BLAKE2B 3e5d07b8ae797d0876b68a3018806e91a30758415aaa236423648a77f5e0d475848060516ee0da91a8448813a12a685410b93bf219b8180beb91f448e329a532 SHA512 cbe74b3fdebd0d4f6be6e3acf7f55f5f1a551b0ad1a23d82782643d2a9eb9ea4b7e0133985485b8c5a88c1fea26595e3ed9c759f1f63b578b6472d850154d67b -DIST mongo-tools-4.0.4.tar.gz 10878921 BLAKE2B 3960838f68333bf033be9b72191e221b449bde8157ecb6d2f595d84c862fadd9597a53be88e5b0ad691cb6163cf90294348145ecce4c796c88bf84a4d7d8ab86 SHA512 d7900dbbd1e1e63d5518494c85559a7eab34f53ffa38880628f3dda0a71ee1211f67cf7dfaac66498b0359eca32abb9c89410e5cc56415a1594acf38ebfa226b -DIST mongo-tools-4.0.5.tar.gz 10878974 BLAKE2B 704eadb7469d1f07bcf0c18fd2c3d1a2078064e8d0f33e03b0ec0a7539a8ae6e5c4ec3a4f9dff4f34d3cea8a2aa63097bfa050de0af5d0a44e54e4e47c83565f SHA512 5a2ca0cb761895a6c3187bdf4ac0c11222ac681313c2c22801571a1147e07b7b6149150b07e58cd4487413017da56424ec494eaaf9aec9193498ee3cde73c5da DIST mongo-tools-4.0.6.tar.gz 10879606 BLAKE2B 9a7656ba1486df4b36ceb527735ad46864d7a04f2d0451fb4e04bbbdc09c3bb0ec922aa5daa584b93e123e1c3764c0ebef96a3566dd0d6b646a627d769645619 SHA512 d6185d7442a593d29db78889c55aba53e070bedd522d78d8c0bf52bb27f26c5fee6d010457f65774ea36a2e6d5280f38c95433ff76ed53ed9d74b1c811198cb7 EBUILD mongo-tools-3.4.16.ebuild 1195 BLAKE2B 6e650a085da6e60e7f268e074ac45373a3a9948e4b69d88ece630697c48f8e85e856cbc324dc342097c9c5c7cd903c12dbee415c3fd8582b3acf205eb4301ed6 SHA512 fc8709a1d3ab755e61bbd01db2ade678082aca0c97715dd882ebb09a2ad8bfea8ec7f21ec0572863fec70d34346dfcc47ec8ab47725c910d92715ab74cf5cd62 -EBUILD mongo-tools-3.6.10.ebuild 1467 BLAKE2B d427b7a72aa69cd08b9794a44ef8aa67c6fc98ed6a5883f78b4ad20f859843fcf465ec9eaa140181dee2f46f802832deee4d29458ad1469b2b0170cdcaf43850 SHA512 80ad6309e28f61b00bbcb1965cf22054c189a2fdf69e25511518c0f64dea0b61df8c7750dc9bb525e0c2498f710dd42e241c5245ee0559ea675b7afd42c82530 -EBUILD mongo-tools-3.6.8.ebuild 1209 BLAKE2B b0001e50446b633ebc998662e3facf2b47417f8c2517ddd492dcba8def99c354a00a86b9e35a818202e75f42ee63761a3fc3623c61df60da1c4134261d9d9223 SHA512 93ce0059938aa8b052f9ccaa52573bd175e656bdb36f078838340b009b73dd96f3960eb468f295edda1e47c5e7fffe53933f98b2360b48a73137c97d70d51b5b -EBUILD mongo-tools-3.6.9.ebuild 1303 BLAKE2B 58eb47ccc235810cf5051a5a60d0e50b6c79f0160cf9de5e7fc18f573bcb197634a4ac2b9ff4c76c2d32baa89b1492d98571d537ef2577dff65a5260065c138b SHA512 0154531d477e0f778876258f95a99c9dd340cbe6bf821df57267aadbec83fd8f56f16585d07a29d9ea52699e8d6f44f4b2e6f853f320222a93658d09ca1e0343 -EBUILD mongo-tools-4.0.3.ebuild 1303 BLAKE2B 58eb47ccc235810cf5051a5a60d0e50b6c79f0160cf9de5e7fc18f573bcb197634a4ac2b9ff4c76c2d32baa89b1492d98571d537ef2577dff65a5260065c138b SHA512 0154531d477e0f778876258f95a99c9dd340cbe6bf821df57267aadbec83fd8f56f16585d07a29d9ea52699e8d6f44f4b2e6f853f320222a93658d09ca1e0343 -EBUILD mongo-tools-4.0.4.ebuild 1439 BLAKE2B 51aa9d75fbbfb9e98513f93f5568858a6592e0d239b95f5cb091674f99476607d7e17f0dd4abea4bfdc8f78ce7a5617ee225a16957f8697d86c6938f0c3ef38a SHA512 eca0f907343e5f43892d15a6017ec9dcd5e3a96978d6a7968d570bc8a83a78294c2bdacb92146e2faa254f2f464081d570d05275f9fe8980ace66d01f731d77b -EBUILD mongo-tools-4.0.5.ebuild 1467 BLAKE2B d427b7a72aa69cd08b9794a44ef8aa67c6fc98ed6a5883f78b4ad20f859843fcf465ec9eaa140181dee2f46f802832deee4d29458ad1469b2b0170cdcaf43850 SHA512 80ad6309e28f61b00bbcb1965cf22054c189a2fdf69e25511518c0f64dea0b61df8c7750dc9bb525e0c2498f710dd42e241c5245ee0559ea675b7afd42c82530 +EBUILD mongo-tools-3.6.10.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a +EBUILD mongo-tools-3.6.11.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a +EBUILD mongo-tools-3.6.8.ebuild 1345 BLAKE2B 1baf6f2c407b2a4d1e81a6a04444b9c43ef74e6abd7e68c08c4ef1e0540b8dcb6c54c83a58b4687d2aa20f3fbbfd88b793e20058adaecb8e53b13e76a328ee54 SHA512 2286b4f40c01231648535b0f050e1ce36f5fdd654acd83389b35604d41e92bd584dec654b5368a7ee4e6ff7d420b19faeadc1c1c7f252093f365e23efb6604eb EBUILD mongo-tools-4.0.6.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a MISC metadata.xml 463 BLAKE2B 1e4d37c222538ce5d55e6f5c05ecbe85f57ac74eacaf5935540797f03c4c069b2ce2bd0cbb6b433eb86de9b2480058013759db3d504982df908c2ba9e1b4d2ec SHA512 f09474b3932dd6ae36da20c64a394acf65ad1e3a875e7ca743efa22db8b7e3109c9ebe4c489e62eda12c5bdd4d689ede61eca8a4cc89c42d0a08a270f041fcdc diff --git a/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild index 5aacbbb10637..092d770686fb 100644 --- a/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild +++ b/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild @@ -32,6 +32,13 @@ src_unpack() { mv ${MY_P} "${S}" || die } +src_prepare() { + default + + # allow building with go 1.12 #678924 + sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die +} + src_compile() { local myconf=() @@ -54,7 +61,7 @@ src_compile() { mkdir -p bin || die for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do echo "Building $i" - GOROOT="${PREFIX}/usr/$(get_libdir)/go" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ + GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die done } diff --git a/app-admin/mongo-tools/mongo-tools-3.6.11.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.11.ebuild new file mode 100644 index 000000000000..092d770686fb --- /dev/null +++ b/app-admin/mongo-tools/mongo-tools-3.6.11.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_rc/-rc} +MY_P=${PN}-r${MY_PV} + +DESCRIPTION="A high-performance, open source, schema-free document-oriented database" +HOMEPAGE="https://www.mongodb.com" +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" +IUSE="sasl ssl" + +DEPEND="dev-lang/go:= + net-libs/libpcap + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( dev-libs/openssl:0= )" + +# Do not complain about CFLAGS etc since go projects do not use them. +QA_FLAGS_IGNORED='.*' + +EGO_PN="github.com/mongodb/mongo-tools" +S="${WORKDIR}/src/${EGO_PN}" + +src_unpack() { + mkdir -p "${S%/*}" || die + default + mv ${MY_P} "${S}" || die +} + +src_prepare() { + default + + # allow building with go 1.12 #678924 + sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die +} + +src_compile() { + local myconf=() + + if use sasl; then + myconf+=(sasl) + fi + + if use ssl; then + myconf+=(ssl) + fi + + # build pie to avoid text relocations wrt #582854 + local buildmode="pie" + + # skip on ppc64 wrt #610984 + if use ppc64; then + buildmode="default" + fi + + mkdir -p bin || die + for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do + echo "Building $i" + GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ + -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die + done +} + +src_install() { + dobin bin/* +} diff --git a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild index cb82aab24b25..81268b0dd2fa 100644 --- a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild +++ b/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,6 +40,9 @@ src_prepare() { if ! use ppc64; then sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die fi + + # allow building with go 1.12 #678924 + sed -i 's/_Ctype_struct_/C.struct_/' vendor/src/github.com/google/gopacket/pcap/pcap.go || die } src_compile() { diff --git a/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild deleted file mode 100644 index 5cf7cbaadac3..000000000000 --- a/app-admin/mongo-tools/mongo-tools-3.6.9.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV/_rc/-rc} -MY_P=${PN}-r${MY_PV} - -DESCRIPTION="A high-performance, open source, schema-free document-oriented database" -HOMEPAGE="https://www.mongodb.com" -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" -IUSE="sasl ssl" - -RDEPEND="!