Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/, app-admin/mongo-tools/files/
Date: Mon, 05 Nov 2018 12:33:06
Message-Id: 1541420962.e48022cccde01d32d71536aae3987daeaadacc37.ultrabug@gentoo
1 commit: e48022cccde01d32d71536aae3987daeaadacc37
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 5 12:29:22 2018 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 5 12:29:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48022cc
7
8 app-admin/mongo-tools: obsolete ebuilds clean up
9
10 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 app-admin/mongo-tools/Manifest | 2 -
14 .../mongo-tools/files/mongo-tools-3.2.10-pie.patch | 12 -----
15 app-admin/mongo-tools/mongo-tools-3.2.17.ebuild | 60 ---------------------
16 app-admin/mongo-tools/mongo-tools-4.0.2.ebuild | 61 ----------------------
17 4 files changed, 135 deletions(-)
18
19 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
20 index 2c0f74ff36b..03b34396760 100644
21 --- a/app-admin/mongo-tools/Manifest
22 +++ b/app-admin/mongo-tools/Manifest
23 @@ -1,6 +1,4 @@
24 -DIST mongo-tools-3.2.17.tar.gz 2719970 BLAKE2B 666b67d8abdd10f7fa7c557e3c3906fb3cc6bcfa0b97a05e39e5f1ea923d2beb5ec249b3b0a521c4cce4bd595bf18672d8bce38152f84825bb3fffb058fd3b29 SHA512 62c2540027e07b8276621e08d13657864d16021030e3c8f9bc0d351454319d448f889cf6a48b8467ea3270365376ed0c3beb42ceae3f28357910148c6b4054b2
25 DIST mongo-tools-3.4.10.tar.gz 4719399 BLAKE2B 8165248bf58f2ea2b02e365a3609c72b72e98dd5902f176e251fa2add1ad26e90900e06c35dc6db4dbe161e541bedfc1776f5e15bbb41dcc9a7be17800424362 SHA512 b861bb3fb1a32c3aa2efefcf6a13bb6d4783ac1a9b006c477fd04deb338cbf6b7adc3944bc6919513b92bd96b8500813ff4af49c9dec0719ebd2fdaa99bc39a5
26 DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5
27 DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
28 -DIST mongo-tools-4.0.2.tar.gz 10872395 BLAKE2B 6d02a51677509abb5a00f7f4f324a2c979d7e55ebd55754023c80e51e9e8121bea84692574739f83882c0426074c0a3a5c5df2cb8cba58ee80c06e5a75504a8d SHA512 45971d96c512a920c40052f0d11097e88db137e975125de375a63e8f0eefbe22ae5252d239455c60e12ef65e0abce7a658dfb9dda0cbcc153718bb6711cf5e43
29 DIST mongo-tools-4.0.3.tar.gz 10874727 BLAKE2B 3e5d07b8ae797d0876b68a3018806e91a30758415aaa236423648a77f5e0d475848060516ee0da91a8448813a12a685410b93bf219b8180beb91f448e329a532 SHA512 cbe74b3fdebd0d4f6be6e3acf7f55f5f1a551b0ad1a23d82782643d2a9eb9ea4b7e0133985485b8c5a88c1fea26595e3ed9c759f1f63b578b6472d850154d67b
30
31 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
32 deleted file mode 100644
33 index 6a80d75b2cb..00000000000
34 --- a/app-admin/mongo-tools/files/mongo-tools-3.2.10-pie.patch
35 +++ /dev/null
36 @@ -1,12 +0,0 @@
37 -diff -uNr mongo-tools-r3.2.10.ORIG/build.sh mongo-tools-r3.2.10/build.sh
38 ---- mongo-tools-r3.2.10.ORIG/build.sh 2016-11-15 16:15:09.487441283 +0000
39 -+++ mongo-tools-r3.2.10/build.sh 2016-11-15 16:15:23.127235064 +0000
40 -@@ -22,7 +22,7 @@
41 -
42 - for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
43 - echo "Building ${i}..."
44 -- go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"
45 -+ go build -buildmode=pie -o "bin/$i" -tags "$tags" "$i/main/$i.go"
46 - ./bin/$i --version
47 - done
48 -
49
50 diff --git a/app-admin/mongo-tools/mongo-tools-3.2.17.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.17.ebuild
51 deleted file mode 100644
52 index 9616e980141..00000000000
53 --- a/app-admin/mongo-tools/mongo-tools-3.2.17.ebuild
54 +++ /dev/null
55 @@ -1,60 +0,0 @@
56 -# Copyright 1999-2017 Gentoo Foundation
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=6
60 -
61 -MY_PV=${PV/_rc/-rc}
62 -MY_P=${PN}-r${MY_PV}
63 -
64 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
65 -HOMEPAGE="https://www.mongodb.org"
66 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
67 -
68 -LICENSE="Apache-2.0"
69 -SLOT="0"
70 -KEYWORDS="amd64 ~x86"
71 -IUSE="sasl ssl"
72 -
73 -RDEPEND="!<dev-db/mongodb-3.0.0"
74 -DEPEND="${RDEPEND}
75 - dev-lang/go:=
76 - net-libs/libpcap
77 - sasl? ( dev-libs/cyrus-sasl )
78 - ssl? ( dev-libs/openssl:0= )"
79 -
80 -S=${WORKDIR}/${MY_P}
81 -
82 -src_prepare() {
83 - # do not substitute version because it uses git
84 - sed -i '/^sed/,+3d' build.sh || die
85 - sed -i '/^mv/d' build.sh || die
86 -
87 - # build pie to avoid text relocations wrt #582854
88 - # skip on ppc64 wrt #610984
89 - if ! use ppc64; then
90 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
91 - fi
92 -
93 - # ensure we use bash wrt #582906
94 - sed -i 's@/bin/sh@/bin/bash@g' build.sh || die
95 -
96 - default
97 -}
98 -
99 -src_compile() {
100 - local myconf=()
101 -
102 - if use sasl; then
103 - myconf+=(sasl)
104 - fi
105 -
106 - if use ssl; then
107 - myconf+=(ssl)
108 - fi
109 -
110 - ./build.sh ${myconf[@]} || die "build failed"
111 -}
112 -
113 -src_install() {
114 - dobin bin/*
115 -}
116
117 diff --git a/app-admin/mongo-tools/mongo-tools-4.0.2.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.2.ebuild
118 deleted file mode 100644
119 index 8461951acd0..00000000000
120 --- a/app-admin/mongo-tools/mongo-tools-4.0.2.ebuild
121 +++ /dev/null
122 @@ -1,61 +0,0 @@
123 -# Copyright 1999-2018 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -
128 -MY_PV=${PV/_rc/-rc}
129 -MY_P=${PN}-r${MY_PV}
130 -
131 -DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
132 -HOMEPAGE="https://www.mongodb.com"
133 -SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
134 -
135 -LICENSE="Apache-2.0"
136 -SLOT="0"
137 -KEYWORDS="~amd64"
138 -IUSE="sasl ssl"
139 -
140 -RDEPEND="!<dev-db/mongodb-3.0.0"
141 -DEPEND="${RDEPEND}
142 - dev-lang/go:=
143 - net-libs/libpcap
144 - sasl? ( dev-libs/cyrus-sasl )
145 - ssl? ( dev-libs/openssl:0= )"
146 -
147 -S=${WORKDIR}/${MY_P}
148 -
149 -src_prepare() {
150 - default
151 -
152 - # 1) ensure we use bash wrt #582906
153 - # 2) do not substitute version because it uses git
154 - sed -e 's@/bin/sh@/bin/bash@g' \
155 - -e '/^sed/,+3d' \
156 - -e '/^stty/d' \
157 - -e '/^mv/d' \
158 - -i build.sh || die
159 -
160 - # build pie to avoid text relocations wrt #582854
161 - # skip on ppc64 wrt #610984
162 - if ! use ppc64; then
163 - sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
164 - fi
165 -}
166 -
167 -src_compile() {
168 - local myconf=()
169 -
170 - if use sasl; then
171 - myconf+=(sasl)
172 - fi
173 -
174 - if use ssl; then
175 - myconf+=(ssl)
176 - fi
177 -
178 - ./build.sh "${myconf[@]}" || die "build failed"
179 -}
180 -
181 -src_install() {
182 - dobin bin/*
183 -}