1 |
commit: 0f9196e466ce976aadf43e2fe90905cdccad43c1 |
2 |
Author: William Hubbs <william.hubbs <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Jun 5 21:25:30 2019 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 21:26:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f9196e4 |
7 |
|
8 |
dev-db/cockroach: remove vulnerable versions |
9 |
|
10 |
Bug: https://bugs.gentoo.org/668420 |
11 |
Copyright: Sony Interactive Entertainment Inc. |
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
13 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
14 |
|
15 |
dev-db/cockroach/Manifest | 7 ---- |
16 |
dev-db/cockroach/cockroach-1.0-r1.ebuild | 61 ----------------------------- |
17 |
dev-db/cockroach/cockroach-1.0.1.ebuild | 61 ----------------------------- |
18 |
dev-db/cockroach/cockroach-1.0.3.ebuild | 61 ----------------------------- |
19 |
dev-db/cockroach/cockroach-1.0.ebuild | 61 ----------------------------- |
20 |
dev-db/cockroach/cockroach-1.0_rc1.ebuild | 59 ---------------------------- |
21 |
dev-db/cockroach/cockroach-1.1.2.ebuild | 61 ----------------------------- |
22 |
dev-db/cockroach/cockroach-1.1.3.ebuild | 63 ------------------------------ |
23 |
dev-db/cockroach/cockroach-2.0.1.ebuild | 65 ------------------------------- |
24 |
9 files changed, 499 deletions(-) |
25 |
|
26 |
diff --git a/dev-db/cockroach/Manifest b/dev-db/cockroach/Manifest |
27 |
index 418020ee8a6..46e28bf6191 100644 |
28 |
--- a/dev-db/cockroach/Manifest |
29 |
+++ b/dev-db/cockroach/Manifest |
30 |
@@ -1,9 +1,2 @@ |
31 |
-DIST cockroach-v1.0-rc.1.src.tgz 68784067 BLAKE2B 5f5ed18ee535d30e004f2170b20ac96ed801e5fa9dee55ddbda7543e24d35ed940711d2e7b307b5a76383637f9e113eec3ac1fa28eb08751068cf94627c08f3b SHA512 c68fc712068cbfce167d98008cdcb46270a8fa772624281da23a70d0492c7990c9ce8513334fedc31d7dde5176087fa6211a4e90d77741ed0079f9568c71e0ff |
32 |
-DIST cockroach-v1.0.1.src.tgz 69116931 BLAKE2B a1abc0353fc815eb5432a327969d48d4ea893484d5488161972ce84fa24aaa06203481cc381ba3918cdf87ad6ebe846e407918bc0b3e5e4abd6a6d4c3ac5014a SHA512 d388d84c09f1318420f859c964c46b78e5237685fbc2b1a8d55fad2ce1dabc89461ad5eaa6d95283dda4551542f33e5df2feda4afd7129e1f850e469e0d17e69 |
33 |
-DIST cockroach-v1.0.3.src.tgz 69127502 BLAKE2B 803f88e19a6128f18024748610c1af3e912f6f4fbc8af9216b212aacf58422382d5c5b5f61453b7373bc680e7894d6b57f4f47040581f9981002be7cbce42975 SHA512 2bae99faba0f56774ab964d920f8628afc6af61ce53bc3e99f1b360c0606e0777b90dd93cbd6844109c3224867fc4180fb42e6dacc75e4eb4db8a4f93f586577 |
34 |
-DIST cockroach-v1.0.src.tgz 68753479 BLAKE2B 6377614e9fee896a0115909b02d8a191a7aabe8da341c98547c0ac496d2e8fcce801e35f93a8a126c9d65c1106e0217359b161825a11597da1db113ca6a51216 SHA512 d74ad9546908535f9a7ad4172a04a5f86f5ed22698bbb005aec7478a52632e0497a966b859fd68b40894eb7ee68bfa80dc4188d198f2f23725b9cadd50a55191 |
35 |
-DIST cockroach-v1.1.2.src.tgz 79607942 BLAKE2B 39ce9db2ada1c9a5727431438d4d8fe0d5a31af3161816ee7af672c69909aa6b4681edabdfabc332c00ba3b0a142ea7d700851c8833b80947fdbcc88b7fa2c7e SHA512 385e33ec30c23d84403938420a2fcd66edff02a5c4b9d6220ce3683d833f065010953fd78ee57120c24f2947509b2fd29eeee2a45fd3ad47c16a6c8d779534d2 |
36 |
-DIST cockroach-v1.1.3.src.tgz 79615899 BLAKE2B 86d9a63a5e5e8f21114dda500f30a007bf64769b76322fae282d06fa9eb63eb8a965bf990378c624ccac66124efadf1a0dfdebbc8dc8c6f04173e20334341e89 SHA512 f6dc4178e91fd47aec1fce658c9d621183f0bdcdc6101b87f8187757ab9b965c27e48d0d628dd9c10a386bc1a2f184d9d03270243baf0ec4758c812caac5fda1 |
37 |
DIST cockroach-v19.1.1.src.tgz 103054418 BLAKE2B eaa4f0e24f74a4bbc9a209b8778431ddc7944d0735eef0e136cfcdf820e70ad17eb4781757c325906e65d56d4c36881c294e0dd79d9e153359be859fc7ee887a SHA512 a7051fea3808b785e8d0047b0273021119d0eb1d12f5c680afa649713a79b155aff0bfa8ec123eebea095549308d002ba82dee3eb94b66c6f729d80115d20c06 |
38 |
-DIST cockroach-v2.0.1.src.tgz 45511681 BLAKE2B 9d0828e5e6bd41bb5590e58f0e18b8a07169335b9ff1284daf89b48dae6eea3cdb683bf8af703b5bac46978e8c37b4a092c53a3d7e18de626acc2095a7daf2a2 SHA512 ad7c64dc70cde6bbd10cabafe595ce35deeda9284880bebde75e41a4b1355aa85f01fb8c6b6ff0bae498b4b04a8d7d60bafc986c49875cff9ccf0ead0bc481a7 |
39 |
DIST cockroach-v2.1.5.src.tgz 89931919 BLAKE2B 7ed310acf18cbe7c8bafe5992edd3350d9e7654cda86931dbfd64fe17043140132ec019de9f1f44d61bc92d2461618c81e60fffb014446521e747a57f6b5d442 SHA512 3ef2ad985b463e681cdaffe5590543024ca11e9c0c5528415b47bdd4cdfd42504cbc21a350449fea6da08625f801ef94fe51f55be1e9a62bac27fce0cc7b73c1 |
40 |
|
41 |
diff --git a/dev-db/cockroach/cockroach-1.0-r1.ebuild b/dev-db/cockroach/cockroach-1.0-r1.ebuild |
42 |
deleted file mode 100644 |
43 |
index 4b19589a461..00000000000 |
44 |
--- a/dev-db/cockroach/cockroach-1.0-r1.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,61 +0,0 @@ |
47 |
-# Copyright 1999-2017 Gentoo Foundation |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
- |
50 |
-EAPI=6 |
51 |
-MY_PV=v${PV} |
52 |
-CHECKREQS_MEMORY="2G" |
53 |
- |
54 |
-inherit check-reqs toolchain-funcs user |
55 |
- |
56 |
-DESCRIPTION="open source database for building cloud services" |
57 |
-HOMEPAGE="https://www.cockroachlabs.com" |
58 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
59 |
- |
60 |
-LICENSE="Cockroach Apache-2.0" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="~amd64" |
63 |
-IUSE="" |
64 |
- |
65 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
66 |
- >=dev-lang/go-1.8.1 |
67 |
- >=dev-util/cmake-3.8.1" |
68 |
- |
69 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
70 |
- |
71 |
-pkg_pretend() { |
72 |
- check-reqs_pkg_pretend |
73 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
74 |
- eerror "Cockroach cannot be built with this version of gcc." |
75 |
- eerror "You need at least gcc-6.0" |
76 |
- die "Your C compiler is too old for this package." |
77 |
- fi |
78 |
-} |
79 |
- |
80 |
-pkg_setup() { |
81 |
- check-reqs_pkg_setup |
82 |
- enewgroup cockroach |
83 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
84 |
-} |
85 |
- |
86 |
-src_compile() { |
87 |
- emake GOPATH="${S}" build |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
92 |
-insinto /etc/security/limits.d |
93 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
94 |
-newconfd "${FILESDIR}"/cockroach.confd-${PV} cockroach |
95 |
-newinitd "${FILESDIR}"/cockroach.initd-${PV} cockroach |
96 |
-dodir /var/log/cockroach |
97 |
-fowners cockroach:cockroach /var/log/cockroach |
98 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
99 |
- ewarn "The default setup is for the first node of an insecure" |
100 |
- ewarn "cluster that only listens on localhost." |
101 |
- ewarn "Please read the cockroach manual at the following url" |
102 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
103 |
- ewarn "plan to use it in production." |
104 |
- ewarn |
105 |
- ewarn "http://cockroachlabs.com/docs" |
106 |
- fi |
107 |
-} |
108 |
|
109 |
diff --git a/dev-db/cockroach/cockroach-1.0.1.ebuild b/dev-db/cockroach/cockroach-1.0.1.ebuild |
110 |
deleted file mode 100644 |
111 |
index 212bede1465..00000000000 |
112 |
--- a/dev-db/cockroach/cockroach-1.0.1.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,61 +0,0 @@ |
115 |
-# Copyright 1999-2017 Gentoo Foundation |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=6 |
119 |
-MY_PV=v${PV} |
120 |
-CHECKREQS_MEMORY="2G" |
121 |
- |
122 |
-inherit check-reqs toolchain-funcs user |
123 |
- |
124 |
-DESCRIPTION="open source database for building cloud services" |
125 |
-HOMEPAGE="https://www.cockroachlabs.com" |
126 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
127 |
- |
128 |
-LICENSE="Cockroach Apache-2.0" |
129 |
-SLOT="0" |
130 |
-KEYWORDS="~amd64" |
131 |
-IUSE="" |
132 |
- |
133 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
134 |
- >=dev-lang/go-1.8.1 |
135 |
- >=dev-util/cmake-3.8.1" |
136 |
- |
137 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
138 |
- |
139 |
-pkg_pretend() { |
140 |
- check-reqs_pkg_pretend |
141 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
142 |
- eerror "Cockroach cannot be built with this version of gcc." |
143 |
- eerror "You need at least gcc-6.0" |
144 |
- die "Your C compiler is too old for this package." |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-pkg_setup() { |
149 |
- check-reqs_pkg_setup |
150 |
- enewgroup cockroach |
151 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
152 |
-} |
153 |
- |
154 |
-src_compile() { |
155 |
- emake GOPATH="${S}" build |
156 |
-} |
157 |
- |
158 |
-src_install() { |
159 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
160 |
-insinto /etc/security/limits.d |
161 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
162 |
-newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach |
163 |
-newinitd "${FILESDIR}"/cockroach.initd-${PV} cockroach |
164 |
-dodir /var/log/cockroach |
165 |
-fowners cockroach:cockroach /var/log/cockroach |
166 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
167 |
- ewarn "The default setup is for the first node of an insecure" |
168 |
- ewarn "cluster that only listens on localhost." |
169 |
- ewarn "Please read the cockroach manual at the following url" |
170 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
171 |
- ewarn "plan to use it in production." |
172 |
- ewarn |
173 |
- ewarn "http://cockroachlabs.com/docs" |
174 |
- fi |
175 |
-} |
176 |
|
177 |
diff --git a/dev-db/cockroach/cockroach-1.0.3.ebuild b/dev-db/cockroach/cockroach-1.0.3.ebuild |
178 |
deleted file mode 100644 |
179 |
index 0b0e1d9f89d..00000000000 |
180 |
--- a/dev-db/cockroach/cockroach-1.0.3.ebuild |
181 |
+++ /dev/null |
182 |
@@ -1,61 +0,0 @@ |
183 |
-# Copyright 1999-2017 Gentoo Foundation |
184 |
-# Distributed under the terms of the GNU General Public License v2 |
185 |
- |
186 |
-EAPI=6 |
187 |
-MY_PV=v${PV} |
188 |
-CHECKREQS_MEMORY="2G" |
189 |
- |
190 |
-inherit check-reqs toolchain-funcs user |
191 |
- |
192 |
-DESCRIPTION="open source database for building cloud services" |
193 |
-HOMEPAGE="https://www.cockroachlabs.com" |
194 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
195 |
- |
196 |
-LICENSE="Cockroach Apache-2.0" |
197 |
-SLOT="0" |
198 |
-KEYWORDS="~amd64" |
199 |
-IUSE="" |
200 |
- |
201 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
202 |
- >=dev-lang/go-1.8.3 |
203 |
- >=dev-util/cmake-3.8.1" |
204 |
- |
205 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
206 |
- |
207 |
-pkg_pretend() { |
208 |
- check-reqs_pkg_pretend |
209 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
210 |
- eerror "Cockroach cannot be built with this version of gcc." |
211 |
- eerror "You need at least gcc-6.0" |
212 |
- die "Your C compiler is too old for this package." |
213 |
- fi |
214 |
-} |
215 |
- |
216 |
-pkg_setup() { |
217 |
- check-reqs_pkg_setup |
218 |
- enewgroup cockroach |
219 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
220 |
-} |
221 |
- |
222 |
-src_compile() { |
223 |
- emake GOPATH="${S}" build |
224 |
-} |
225 |
- |
226 |
-src_install() { |
227 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
228 |
-insinto /etc/security/limits.d |
229 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
230 |
-newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach |
231 |
-newinitd "${FILESDIR}"/cockroach.initd-1.0.1 cockroach |
232 |
-dodir /var/log/cockroach |
233 |
-fowners cockroach:cockroach /var/log/cockroach |
234 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
235 |
- ewarn "The default setup is for the first node of an insecure" |
236 |
- ewarn "cluster that only listens on localhost." |
237 |
- ewarn "Please read the cockroach manual at the following url" |
238 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
239 |
- ewarn "plan to use it in production." |
240 |
- ewarn |
241 |
- ewarn "http://cockroachlabs.com/docs" |
242 |
- fi |
243 |
-} |
244 |
|
245 |
diff --git a/dev-db/cockroach/cockroach-1.0.ebuild b/dev-db/cockroach/cockroach-1.0.ebuild |
246 |
deleted file mode 100644 |
247 |
index c7253935686..00000000000 |
248 |
--- a/dev-db/cockroach/cockroach-1.0.ebuild |
249 |
+++ /dev/null |
250 |
@@ -1,61 +0,0 @@ |
251 |
-# Copyright 1999-2017 Gentoo Foundation |
252 |
-# Distributed under the terms of the GNU General Public License v2 |
253 |
- |
254 |
-EAPI=6 |
255 |
-MY_PV=v${PV} |
256 |
-CHECKREQS_MEMORY="2G" |
257 |
- |
258 |
-inherit check-reqs toolchain-funcs user |
259 |
- |
260 |
-DESCRIPTION="open source database for building cloud services" |
261 |
-HOMEPAGE="https://www.cockroachlabs.com" |
262 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
263 |
- |
264 |
-LICENSE="Cockroach Apache-2.0" |
265 |
-SLOT="0" |
266 |
-KEYWORDS="~amd64" |
267 |
-IUSE="" |
268 |
- |
269 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
270 |
- >=dev-lang/go-1.8.1 |
271 |
- >=dev-util/cmake-3.8.1" |
272 |
- |
273 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
274 |
- |
275 |
-pkg_pretend() { |
276 |
- check-reqs_pkg_pretend |
277 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
278 |
- eerror "Cockroach cannot be built with this version of gcc." |
279 |
- eerror "You need at least gcc-6.0" |
280 |
- die "Your C compiler is too old for this package." |
281 |
- fi |
282 |
-} |
283 |
- |
284 |
-pkg_setup() { |
285 |
- check-reqs_pkg_setup |
286 |
- enewgroup cockroach |
287 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
288 |
-} |
289 |
- |
290 |
-src_compile() { |
291 |
- emake GOPATH="${S}" build |
292 |
-} |
293 |
- |
294 |
-src_install() { |
295 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
296 |
-insinto /etc/security/limits.d |
297 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
298 |
-newconfd "${FILESDIR}"/cockroach.confd cockroach |
299 |
-newinitd "${FILESDIR}"/cockroach.initd cockroach |
300 |
-dodir /var/log/cockroach |
301 |
-fowners cockroach:cockroach /var/log/cockroach |
302 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
303 |
- ewarn "The default setup is for the first node of an insecure" |
304 |
- ewarn "cluster that only listens on localhost." |
305 |
- ewarn "Please read the cockroach manual at the following url" |
306 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
307 |
- ewarn "plan to use it in production." |
308 |
- elog |
309 |
- elog "http://cockroachlabs.com/docs" |
310 |
- fi |
311 |
-} |
312 |
|
313 |
diff --git a/dev-db/cockroach/cockroach-1.0_rc1.ebuild b/dev-db/cockroach/cockroach-1.0_rc1.ebuild |
314 |
deleted file mode 100644 |
315 |
index 7ce069fb318..00000000000 |
316 |
--- a/dev-db/cockroach/cockroach-1.0_rc1.ebuild |
317 |
+++ /dev/null |
318 |
@@ -1,59 +0,0 @@ |
319 |
-# Copyright 1999-2017 Gentoo Foundation |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
- |
322 |
-EAPI=6 |
323 |
-MY_PV=v1.0-rc.1 |
324 |
-CHECKREQS_MEMORY="2G" |
325 |
- |
326 |
-inherit check-reqs toolchain-funcs user |
327 |
- |
328 |
-DESCRIPTION="open source database for building cloud services" |
329 |
-HOMEPAGE="https://www.cockroachlabs.com" |
330 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
331 |
- |
332 |
-LICENSE="Cockroach Apache-2.0" |
333 |
-SLOT="0" |
334 |
-KEYWORDS="~amd64" |
335 |
-IUSE="" |
336 |
- |
337 |
-DEPEND=">=dev-lang/go-1.8.1" |
338 |
- |
339 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
340 |
- |
341 |
-pkg_pretend() { |
342 |
- check-reqs_pkg_pretend |
343 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
344 |
- eerror "Cockroach cannot be built with this version of gcc." |
345 |
- eerror "You need at least gcc-6.0" |
346 |
- die "Your C compiler is too old for this package." |
347 |
- fi |
348 |
-} |
349 |
- |
350 |
-pkg_setup() { |
351 |
- check-reqs_pkg_setup |
352 |
- enewgroup cockroach |
353 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
354 |
-} |
355 |
- |
356 |
-src_compile() { |
357 |
- emake GOPATH="${S}" build || die |
358 |
-} |
359 |
- |
360 |
-src_install() { |
361 |
- emake GOPATH="${S}" install || die |
362 |
-dobin bin/* |
363 |
-insinto /etc/security/limits.d |
364 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
365 |
-newinitd "${FILESDIR}"/cockroach.initd cockroach |
366 |
-dodir /var/log/cockroach |
367 |
-fowners cockroach:cockroach /var/log/cockroach |
368 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
369 |
- ewarn "The default setup is for the first node of an insecure" |
370 |
- ewarn "cluster that only listens on localhost." |
371 |
- ewarn "Please read the cockroach manual at the following url" |
372 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
373 |
- ewarn "plan to use it in production." |
374 |
- elog |
375 |
- elog "http://cockroachlabs.com/docs" |
376 |
- fi |
377 |
-} |
378 |
|
379 |
diff --git a/dev-db/cockroach/cockroach-1.1.2.ebuild b/dev-db/cockroach/cockroach-1.1.2.ebuild |
380 |
deleted file mode 100644 |
381 |
index 0b0e1d9f89d..00000000000 |
382 |
--- a/dev-db/cockroach/cockroach-1.1.2.ebuild |
383 |
+++ /dev/null |
384 |
@@ -1,61 +0,0 @@ |
385 |
-# Copyright 1999-2017 Gentoo Foundation |
386 |
-# Distributed under the terms of the GNU General Public License v2 |
387 |
- |
388 |
-EAPI=6 |
389 |
-MY_PV=v${PV} |
390 |
-CHECKREQS_MEMORY="2G" |
391 |
- |
392 |
-inherit check-reqs toolchain-funcs user |
393 |
- |
394 |
-DESCRIPTION="open source database for building cloud services" |
395 |
-HOMEPAGE="https://www.cockroachlabs.com" |
396 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
397 |
- |
398 |
-LICENSE="Cockroach Apache-2.0" |
399 |
-SLOT="0" |
400 |
-KEYWORDS="~amd64" |
401 |
-IUSE="" |
402 |
- |
403 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
404 |
- >=dev-lang/go-1.8.3 |
405 |
- >=dev-util/cmake-3.8.1" |
406 |
- |
407 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
408 |
- |
409 |
-pkg_pretend() { |
410 |
- check-reqs_pkg_pretend |
411 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
412 |
- eerror "Cockroach cannot be built with this version of gcc." |
413 |
- eerror "You need at least gcc-6.0" |
414 |
- die "Your C compiler is too old for this package." |
415 |
- fi |
416 |
-} |
417 |
- |
418 |
-pkg_setup() { |
419 |
- check-reqs_pkg_setup |
420 |
- enewgroup cockroach |
421 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
422 |
-} |
423 |
- |
424 |
-src_compile() { |
425 |
- emake GOPATH="${S}" build |
426 |
-} |
427 |
- |
428 |
-src_install() { |
429 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
430 |
-insinto /etc/security/limits.d |
431 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
432 |
-newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach |
433 |
-newinitd "${FILESDIR}"/cockroach.initd-1.0.1 cockroach |
434 |
-dodir /var/log/cockroach |
435 |
-fowners cockroach:cockroach /var/log/cockroach |
436 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
437 |
- ewarn "The default setup is for the first node of an insecure" |
438 |
- ewarn "cluster that only listens on localhost." |
439 |
- ewarn "Please read the cockroach manual at the following url" |
440 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
441 |
- ewarn "plan to use it in production." |
442 |
- ewarn |
443 |
- ewarn "http://cockroachlabs.com/docs" |
444 |
- fi |
445 |
-} |
446 |
|
447 |
diff --git a/dev-db/cockroach/cockroach-1.1.3.ebuild b/dev-db/cockroach/cockroach-1.1.3.ebuild |
448 |
deleted file mode 100644 |
449 |
index f2e69031d86..00000000000 |
450 |
--- a/dev-db/cockroach/cockroach-1.1.3.ebuild |
451 |
+++ /dev/null |
452 |
@@ -1,63 +0,0 @@ |
453 |
-# Copyright 1999-2017 Gentoo Foundation |
454 |
-# Distributed under the terms of the GNU General Public License v2 |
455 |
- |
456 |
-EAPI=6 |
457 |
-MY_PV=v${PV} |
458 |
-CHECKREQS_MEMORY="2G" |
459 |
- |
460 |
-inherit check-reqs toolchain-funcs user |
461 |
- |
462 |
-DESCRIPTION="open source database for building cloud services" |
463 |
-HOMEPAGE="https://www.cockroachlabs.com" |
464 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
465 |
- |
466 |
-LICENSE="Cockroach Apache-2.0" |
467 |
-SLOT="0" |
468 |
-KEYWORDS="~amd64" |
469 |
-IUSE="" |
470 |
- |
471 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
472 |
- >=dev-lang/go-1.8.3 |
473 |
- >=dev-util/cmake-3.8.1" |
474 |
- |
475 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
476 |
- |
477 |
-pkg_pretend() { |
478 |
- check-reqs_pkg_pretend |
479 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
480 |
- eerror "Cockroach cannot be built with this version of gcc." |
481 |
- eerror "You need at least gcc-6.0" |
482 |
- die "Your C compiler is too old for this package." |
483 |
- fi |
484 |
-} |
485 |
- |
486 |
-pkg_setup() { |
487 |
- check-reqs_pkg_setup |
488 |
- enewgroup cockroach |
489 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
490 |
-} |
491 |
- |
492 |
-src_compile() { |
493 |
- # workaround for https://github.com/cockroachdb/cockroach/issues/20596 |
494 |
- unset CMAKE_MODULE_PATH |
495 |
- emake build |
496 |
-} |
497 |
- |
498 |
-src_install() { |
499 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
500 |
-insinto /etc/security/limits.d |
501 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
502 |
-newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach |
503 |
-newinitd "${FILESDIR}"/cockroach.initd-1.0.1 cockroach |
504 |
-dodir /var/log/cockroach |
505 |
-fowners cockroach:cockroach /var/log/cockroach |
506 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
507 |
- ewarn "The default setup is for the first node of an insecure" |
508 |
- ewarn "cluster that only listens on localhost." |
509 |
- ewarn "Please read the cockroach manual at the following url" |
510 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
511 |
- ewarn "plan to use it in production." |
512 |
- ewarn |
513 |
- ewarn "http://cockroachlabs.com/docs" |
514 |
- fi |
515 |
-} |
516 |
|
517 |
diff --git a/dev-db/cockroach/cockroach-2.0.1.ebuild b/dev-db/cockroach/cockroach-2.0.1.ebuild |
518 |
deleted file mode 100644 |
519 |
index 6549c0aea3b..00000000000 |
520 |
--- a/dev-db/cockroach/cockroach-2.0.1.ebuild |
521 |
+++ /dev/null |
522 |
@@ -1,65 +0,0 @@ |
523 |
-# Copyright 1999-2018 Gentoo Foundation |
524 |
-# Distributed under the terms of the GNU General Public License v2 |
525 |
- |
526 |
-EAPI=6 |
527 |
-MY_PV=v${PV} |
528 |
-CHECKREQS_MEMORY="2G" |
529 |
- |
530 |
-inherit check-reqs toolchain-funcs user |
531 |
- |
532 |
-DESCRIPTION="open source database for building cloud services" |
533 |
-HOMEPAGE="https://www.cockroachlabs.com" |
534 |
-SRC_URI="https://binaries.cockroachdb.com/cockroach-${MY_PV}.src.tgz" |
535 |
- |
536 |
-LICENSE="Cockroach Apache-2.0" |
537 |
-SLOT="0" |
538 |
-KEYWORDS="~amd64" |
539 |
-IUSE="" |
540 |
- |
541 |
-DEPEND=">=app-arch/xz-utils-5.2.3 |
542 |
- >=dev-lang/go-1.8.3 |
543 |
- >=dev-util/cmake-3.8.1" |
544 |
- |
545 |
-S="${WORKDIR}/cockroach-${MY_PV}" |
546 |
- |
547 |
-QA_EXECSTACK="usr/bin/cockroach" |
548 |
- |
549 |
-pkg_pretend() { |
550 |
- check-reqs_pkg_pretend |
551 |
- if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
552 |
- eerror "Cockroach cannot be built with this version of gcc." |
553 |
- eerror "You need at least gcc-6.0" |
554 |
- die "Your C compiler is too old for this package." |
555 |
- fi |
556 |
-} |
557 |
- |
558 |
-pkg_setup() { |
559 |
- check-reqs_pkg_setup |
560 |
- enewgroup cockroach |
561 |
- enewuser cockroach -1 /bin/sh /var/lib/cockroach cockroach |
562 |
-} |
563 |
- |
564 |
-src_compile() { |
565 |
- # workaround for https://github.com/cockroachdb/cockroach/issues/20596 |
566 |
- unset CMAKE_MODULE_PATH |
567 |
- emake build |
568 |
-} |
569 |
- |
570 |
-src_install() { |
571 |
- dobin src/github.com/cockroachdb/cockroach/cockroach |
572 |
-insinto /etc/security/limits.d |
573 |
-newins "${FILESDIR}"/cockroach-limits.conf cockroach.conf |
574 |
-newconfd "${FILESDIR}"/cockroach.confd-1.0 cockroach |
575 |
-newinitd "${FILESDIR}"/cockroach.initd-1.0.1 cockroach |
576 |
-keepdir /var/log/cockroach |
577 |
-fowners cockroach:cockroach /var/log/cockroach |
578 |
-if [[ -z ${REPLACING_VERSIONS} ]]; then |
579 |
- ewarn "The default setup is for the first node of an insecure" |
580 |
- ewarn "cluster that only listens on localhost." |
581 |
- ewarn "Please read the cockroach manual at the following url" |
582 |
- ewarn "and configure /etc/conf.d/cockroach correctly if you" |
583 |
- ewarn "plan to use it in production." |
584 |
- ewarn |
585 |
- ewarn "http://cockroachlabs.com/docs" |
586 |
- fi |
587 |
-} |