summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/mongo-tools')
-rw-r--r--app-admin/mongo-tools/Manifest18
-rw-r--r--app-admin/mongo-tools/metadata.xml2
-rw-r--r--app-admin/mongo-tools/mongo-tools-100.4.1-r1.ebuild (renamed from app-admin/mongo-tools/mongo-tools-100.2.0.ebuild)12
-rw-r--r--app-admin/mongo-tools/mongo-tools-100.5.1-r1.ebuild (renamed from app-admin/mongo-tools/mongo-tools-100.2.1.ebuild)12
-rw-r--r--app-admin/mongo-tools/mongo-tools-100.9.4.ebuild (renamed from app-admin/mongo-tools/mongo-tools-3.6.13.ebuild)36
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.6.17.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.0.12.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.0.16.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.0.19.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.0.20.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.2.10.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.2.11.ebuild71
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.2.15-r1.ebuild (renamed from app-admin/mongo-tools/mongo-tools-4.2.8.ebuild)17
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.2.17-r1.ebuild (renamed from app-admin/mongo-tools/mongo-tools-4.2.3.ebuild)17
-rw-r--r--app-admin/mongo-tools/mongo-tools-4.2.6.ebuild71
15 files changed, 48 insertions, 634 deletions
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
index baf48bd192e8..0c29b3d0e43e 100644
--- a/app-admin/mongo-tools/Manifest
+++ b/app-admin/mongo-tools/Manifest
@@ -1,13 +1,5 @@
-DIST mongo-tools-100.2.0.tar.gz 27401773 BLAKE2B 359747ffe9e53e9ac62fa70517bd5e64c6b082076b9d54e325200cabbd9e3f7ab3aa9f96f7a84c60b044082e505e2ca4d6bdeac6f0b1ca0bfaa03583603a7962 SHA512 1b093482d3abfbd354ff6010f270836a13842fc6ff33126effb4e843beefeabc233bb610b423cac8ce8718366e7aa7411679e4cd5125d44a235f244f5ea49da5
-DIST mongo-tools-100.2.1.tar.gz 27447213 BLAKE2B 9db242b632cf9d15960e216c238ad13d2680b1aa6c0731bf0dc163055fd8488f36b6b9cc56d597f5b7d98a6798ed1cb9f8815aa2b4dce6b5977a591376177409 SHA512 ed913c42935e240b8b13b292a7dc12c12b6f6ee7538c6dd589a5e0998c333ebbf3822337c9d8368964fcdb7c8b1b5b1b86fbe654695e3bbb09463a5cddf42e38
-DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432
-DIST mongo-tools-3.6.17.tar.gz 4991196 BLAKE2B 53e86b3513aa74ad174801cea987d574c5248f438cb0a9419c2352c04333eae2f92214b11c59ee8688ad7235dc7a4586c39cc27450c654b1fc0e2eec2e4e22e2 SHA512 ea7a010097fdfe7807daf9352519b808b4a7b614b793ee2ac27495207bcf1cf8b4151fecd525946a0d6b8aa9332c205f437d5141b16efb613810963f502061be
-DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced
-DIST mongo-tools-4.0.16.tar.gz 11139827 BLAKE2B 550acfd7e4434b178170dfd94c65668cb7dd37d128235c63a10f72802e3119f33d5cd2138bfd5b957f6d3813f1d9aff49218c4e122c0cd454b4ea7a969c84d4e SHA512 a75831d9fd0b596bfb7354cbc05d1ecf6871d5a7230a858b09b94d5001d18069c9cbe89c9500e9c1a16fc5186fa7a1ac59c605156666a3f1a2d7c81115a47c16
-DIST mongo-tools-4.0.19.tar.gz 11139649 BLAKE2B 7e730138fce671e18a0ebe929b98eff1c0ce2c364ceef7d6868c380242689411c545ac321aebd609dcfe9f8d5b7d35cf37973a978f35a50cc44902b2dbad7134 SHA512 2639cb27a5a27e405bddf9817f409af244d643a9091f7e5ddff4876966af55b6710b0fe158c351df9aea10f3da0b87d224bfb2c962f4ca2cfe41f804cb16749c
-DIST mongo-tools-4.0.20.tar.gz 11139655 BLAKE2B e3ea8ad500af3a023674bbdb9084fea854338fc3791f833acb77bfdd3e3a15fbe361162021e8ec85917a8b3e1992fb4fd6a109ad40489c01788835bce359d2a0 SHA512 a9413d79a3c3219e6f48c5dcd927f2cd24d138e5215b5e7fca92276b072b17c3c7a3528b9112450e1346405345f426ce0fb4324bed5167ed817750b3955e4262
-DIST mongo-tools-4.2.10.tar.gz 15026566 BLAKE2B 28dfef83ca4f3e16b4adbfeb26499cdfda64fe66de2906f56e7cdb56a9be01dd896c858c581aa4347235ca83a6e3a2836e6184ae6587b9d707934c699b561fe6 SHA512 5e937811d9c1146a7b5f2fd743e5d05f4f2a571972c34760e7911d240cc3ea1a0a5ccd451874b7cf635bc603e6bc1e7e8d4aa4b20c17abc77fde78cb4aa25934
-DIST mongo-tools-4.2.11.tar.gz 15028877 BLAKE2B 8397ddfa553880680dabb3ca41801117431c75e9cf19c6145373b73c6da15b2be61e8673cec851872a0c481b221ac40e222754f9155c45f8a3e681e59272de6c SHA512 b1e9812890447f2ad1ed96ea5a70e8bb16efdaea37224249c531a3adda559b789a392b9818711147d28df412d7a2e2a992bc13fdcd595e50e66eb7fbd8c32bd5
-DIST mongo-tools-4.2.3.tar.gz 15020325 BLAKE2B 8501a3ec6e947112ec561ce62f2ea568984f8ac911a7aff3cb8c08c1f29d2cfc64cf7f4b6a24ba73ae0f9b2b5853480f4fbed51c98fdc8c83cd433ea65e21dba SHA512 772719b450f8b656c22ac0126fee1e0fa58b5320c94ac6414b1d9af13e6437393c2482f2e386f4a73c84a2d1bfe0ea88df117a6a7ae87f4884477505cf662585
-DIST mongo-tools-4.2.6.tar.gz 15016596 BLAKE2B 5ee37bf21ea05ec5ba2764c935c1dd3632753e772a01f854dc8a9949620e9a41fe95ba658a0efae0332ed2c059561e39e681f672cf5f4302a7f92c364cfab4b6 SHA512 e91bfba4b015f80d35b6c2ca766c599c5eedea113d6415ec0aef433d46b5e5fe06956481a063e26908a45fdcee4002125ea01a29fa3ea9a541a9210d25625f8e
-DIST mongo-tools-4.2.8.tar.gz 15021497 BLAKE2B e066c299462167754e0752079f35fef25b387eb1df0631ff0e0b783a8a14c4b68c6ed126ec3429f63de87b87b9fdde6a2645badd53ac1386befc7175a61a999e SHA512 c0fca14c60e5f399934f4dfad5be832684d2c1a1145967a4c395b246774f73f71e506bff902a634b7f08f7133304c09f14eb56a1a6fc8585608f537e59d9c899
+DIST mongo-tools-100.4.1.tar.gz 3793073 BLAKE2B 0a5dbd7a638035e7e54922c46be4473f154f79cb6370ca72f87dfee49ea1353ebf60ccf4d324b0bc6f5388b8c095f68f423aafdf83358ac41ad59d1215dce69c SHA512 a6560f8ce2a86c1ae4400f3ef182f448991a238ef657bcd5eb6f98de0adb2cbd660a81ce00f3ca051f2db6d22a492158da9254b264424506669bf771d7a40fe6
+DIST mongo-tools-100.5.1.tar.gz 3796549 BLAKE2B 6f95e1eb9f9c6c07725269f99dee0d940ffc5145e95b17b3e0a87f4cd60b1b0589a99a813c359f0b670bc34274fbd1f5b9c561caf07840bd85633174232a48ed SHA512 a488b15a6862cacaccaeb57698d423e4ee710d395b1280a66382e140cb71fec84aa738f3819a87b4a71faecd9c9da7bd92780a19d6d11fdebaf5142e594b2028
+DIST mongo-tools-100.9.4.tar.gz 4742913 BLAKE2B 12cb5b7e6c0164f5c026410a3143cd383b18ffc3498026bc568b888039980090289fc5e7ed48be292d33f3ecad38ce781fccc8db2aca6c913f567bce74de3be9 SHA512 3c857da4587d4c473b495d5bf9b5ce2e64b7fd8c831baa89b462e93f1090d297069e6be18514412c233f2dab6ed024c7db5523c1e623513734cdd0d8d6f7167f
+DIST mongo-tools-4.2.15.tar.gz 15028734 BLAKE2B 7479c5d0d9b6051f51e563f53a5c704a69dc3719d9417b216bcc1a65220d0ab2c9441fd24d8ac8e5b1600766797ef102df07ebfd946ee60949d3287673dfbaaf SHA512 f613ab61a4cf029548aa0e5623fef3798642ced791bf52f229e7d14d31de9472bfc3c8bfb3fa7b4542555a17c79ff9a514480c674cb3e45fb99c4f1745fdb9f0
+DIST mongo-tools-4.2.17.tar.gz 15028859 BLAKE2B dfd9165bd83571cb3ae134f13072e8a06707d714f28107a70e41e8bf507f87bb44ef32a27c15c188e6b831e8c33907f201cb7a3f217868e0a88e6c31efce0f79 SHA512 e59df0593caf93b44fe5694e07e37e49e9d4237007ae33f0156f773987cbaeb59c7b3da8012f9a9b07f4eb146f8392b2d2bbcad97309284b0d67238a69af2663
diff --git a/app-admin/mongo-tools/metadata.xml b/app-admin/mongo-tools/metadata.xml
index d8e110f3195c..20ab9bf48270 100644
--- a/app-admin/mongo-tools/metadata.xml
+++ b/app-admin/mongo-tools/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ultrabug@gentoo.org</email>
diff --git a/app-admin/mongo-tools/mongo-tools-100.2.0.ebuild b/app-admin/mongo-tools/mongo-tools-100.4.1-r1.ebuild
index 1a7e7c94b876..cd615af4e5cd 100644
--- a/app-admin/mongo-tools/mongo-tools-100.2.0.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-100.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,13 +9,15 @@ SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 ~arm64 ~riscv"
IUSE="sasl ssl"
-DEPEND="dev-lang/go:=
+DEPEND="
net-libs/libpcap
sasl? ( dev-libs/cyrus-sasl )
- ssl? ( dev-libs/openssl:0= )"
+ ssl? ( dev-libs/openssl:0= )
+"
+BDEPEND="dev-lang/go"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
@@ -51,7 +53,7 @@ src_compile() {
mkdir -p bin || die
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
echo "Building $i"
- GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
+ GO111MODULE='off' 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-100.2.1.ebuild b/app-admin/mongo-tools/mongo-tools-100.5.1-r1.ebuild
index a60bc8a3e1af..cd615af4e5cd 100644
--- a/app-admin/mongo-tools/mongo-tools-100.2.1.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-100.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,13 +9,15 @@ SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64 ~riscv"
IUSE="sasl ssl"
-DEPEND="dev-lang/go:=
+DEPEND="
net-libs/libpcap
sasl? ( dev-libs/cyrus-sasl )
- ssl? ( dev-libs/openssl:0= )"
+ ssl? ( dev-libs/openssl:0= )
+"
+BDEPEND="dev-lang/go"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
@@ -51,7 +53,7 @@ src_compile() {
mkdir -p bin || die
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
echo "Building $i"
- GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
+ GO111MODULE='off' 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.13.ebuild b/app-admin/mongo-tools/mongo-tools-100.9.4.ebuild
index 11f797e129c7..5f398ca3a28c 100644
--- a/app-admin/mongo-tools/mongo-tools-3.6.13.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-100.9.4.ebuild
@@ -1,24 +1,23 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 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}
+EAPI=8
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"
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64"
-IUSE="sasl ssl"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="kerberos sasl ssl"
DEPEND="dev-lang/go:=
- net-libs/libpcap
+ kerberos? ( app-crypt/mit-krb5 )
sasl? ( dev-libs/cyrus-sasl )
- ssl? ( dev-libs/openssl:0= )"
+ ssl? ( dev-libs/openssl:0= )
+"
+BDEPEND="dev-lang/go:="
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
@@ -29,19 +28,16 @@ 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
+ mv ${P} "${S}" || die
}
src_compile() {
local myconf=()
+ if use kerberos; then
+ myconf+=(gssapi)
+ fi
+
if use sasl; then
myconf+=(sasl)
fi
@@ -59,10 +55,10 @@ src_compile() {
fi
mkdir -p bin || die
- for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
+ for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; 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
+ -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" -x --tags "${myconf[*]}" "$i/main/$i.go" || die
done
}
diff --git a/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild
deleted file mode 100644
index 86f626904b91..000000000000
--- a/app-admin/mongo-tools/mongo-tools-3.6.17.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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-4.0.12.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.12.ebuild
deleted file mode 100644
index 11f797e129c7..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.0.12.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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-4.0.16.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.16.ebuild
deleted file mode 100644
index 86f626904b91..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.0.16.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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-4.0.19.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.19.ebuild
deleted file mode 100644
index 1be2c812c418..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.0.19.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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-4.0.20.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.20.ebuild
deleted file mode 100644
index 86f626904b91..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.0.20.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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-4.2.10.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.10.ebuild
deleted file mode 100644
index 7d8cc9a0ebc2..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.2.10.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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 ~arm64"
-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-4.2.11.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.11.ebuild
deleted file mode 100644
index 5b413edfa2e4..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.2.11.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 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 ~arm64"
-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-4.2.8.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.15-r1.ebuild
index 083aebc281b1..18d33ebdac8a 100644
--- a/app-admin/mongo-tools/mongo-tools-4.2.8.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-4.2.15-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,10 +15,12 @@ SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="sasl ssl"
-DEPEND="dev-lang/go:=
+DEPEND="
net-libs/libpcap
sasl? ( dev-libs/cyrus-sasl )
- ssl? ( dev-libs/openssl:0= )"
+ ssl? ( dev-libs/openssl:0= )
+"
+BDEPEND="dev-lang/go"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
@@ -32,13 +34,6 @@ 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=()
@@ -61,7 +56,7 @@ src_compile() {
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" \
+ GO111MODULE='off' 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-4.2.3.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.17-r1.ebuild
index 7d8cc9a0ebc2..b241e07817c3 100644
--- a/app-admin/mongo-tools/mongo-tools-4.2.3.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-4.2.17-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,10 +15,12 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="sasl ssl"
-DEPEND="dev-lang/go:=
+DEPEND="
net-libs/libpcap
sasl? ( dev-libs/cyrus-sasl )
- ssl? ( dev-libs/openssl:0= )"
+ ssl? ( dev-libs/openssl:0= )
+"
+BDEPEND="dev-lang/go"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
@@ -32,13 +34,6 @@ 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=()
@@ -61,7 +56,7 @@ src_compile() {
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" \
+ GO111MODULE='off' 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-4.2.6.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.6.ebuild
deleted file mode 100644
index 7d8cc9a0ebc2..000000000000
--- a/app-admin/mongo-tools/mongo-tools-4.2.6.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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 ~arm64"
-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/*
-}