public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/influxdb/
Date: Tue, 25 Jun 2024 20:23:25 +0000 (UTC)	[thread overview]
Message-ID: <1719346549.5ad73995714554e9c9436fbd7b200729c4808e25.sbraz@gentoo> (raw)

commit:     5ad73995714554e9c9436fbd7b200729c4808e25
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Jun 17 09:51:04 2024 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Jun 25 20:15:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad73995

dev-db/influxdb: add 2.7.6

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-db/influxdb/Manifest              |   3 +
 dev-db/influxdb/influxdb-2.7.6.ebuild | 286 ++++++++++++++++++++++++++++++++++
 2 files changed, 289 insertions(+)

diff --git a/dev-db/influxdb/Manifest b/dev-db/influxdb/Manifest
index 11b7a47c667e..ab1f27740847 100644
--- a/dev-db/influxdb/Manifest
+++ b/dev-db/influxdb/Manifest
@@ -69,6 +69,9 @@ DIST influxdb-2.7.3.tar.gz 14249851 BLAKE2B d859330ece0aa0dc0eb2ce7246d0ee7a1f25
 DIST influxdb-2.7.5-assets.tar.gz 19829786 BLAKE2B 1ca0fe1a6265329b226eb4de0d1310e71b766bcd8d05f636e3ee0c75c2b9f50c90b8c7f38225c0380b3074f84eb07805a7d42cf06cfbdac3b8b1ffad3befb8e5 SHA512 85f49e3e5a262fcecb801b3ba91157557fa30933a9cc210f2ad7395d3165225fba2f50190e452f76b2567adb765aba297dbcb425d388851f742edd55375da135
 DIST influxdb-2.7.5-deps.tar.xz 459263596 BLAKE2B 13c6a2e3539960ec01b2d9132c54e47e4f178e66fa5eba07b63969c657fb4a69fa700a59d90201b768d52b57b449fbf330ae91463e22b818a5f7bf3918937d91 SHA512 cfc4bef0e33e29c54c529a20711753ac5da3c8a89af3a81bcb9612e745254fca9850751f69eec05f7c22959f8a7b240fc52d96b1dba7ed36c907d6c9206618b9
 DIST influxdb-2.7.5.tar.gz 14259860 BLAKE2B edcb6228bcc1267bdeb93bb0e34e65d4e97873f10a6e45a919e21e3aa82b2f8ddc02d77c05ea37ec5b5e04222b34e5e74af99dbe85af63fa78dff841316024fc SHA512 895dfc031a18551822dd6ba17a4bdf5e6cef2bd67aa373188b8263a6ab389bd7b6c001ebe47bb945307cf71de2b03a9fa48d2bcc60cda8cbf1b569a09572395e
+DIST influxdb-2.7.6-assets.tar.gz 19829786 BLAKE2B 1ca0fe1a6265329b226eb4de0d1310e71b766bcd8d05f636e3ee0c75c2b9f50c90b8c7f38225c0380b3074f84eb07805a7d42cf06cfbdac3b8b1ffad3befb8e5 SHA512 85f49e3e5a262fcecb801b3ba91157557fa30933a9cc210f2ad7395d3165225fba2f50190e452f76b2567adb765aba297dbcb425d388851f742edd55375da135
+DIST influxdb-2.7.6-deps.tar.xz 458572596 BLAKE2B 07985d3bfcf7179f76f4b3cd1bc6bf015c40e5e63ac1e407f2920a04d3728250d4f90e09915048faa224530b0ca002b3ae4d75184480898a4ab7d61bb060633b SHA512 a256e82bbe8c06fddb1cfe3a5857cfda7c9e78178d17951bb1d034c71033f55c7f5d70be1b56c7bdcb9b87e3631b8ce92375e974e1bfe5bb9a47f5103b919b9d
+DIST influxdb-2.7.6.tar.gz 14258162 BLAKE2B b530203f7995f97fdc26eb1fbca808374e870691e549534e581492e9d14a27dd5cd4b5bc952cf6e9d3c0394fb05f76559964f7f2e9e9ca070c4c6afc7442b15f SHA512 841b720aa6351136cbae8ace0f48504cfc993f8f938542784d89c33523cbb6a3f0d5fd27644215e2f93018be57aad538a18a316b5172ace889a2bf9041190750
 DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407
 DIST io-lifetimes-1.0.10.crate 37294 BLAKE2B 9b8836c4bf30e6d102fd9973ac66f067c3ff8bc2806e55f26368ebdc9854f2e9cc6eecc8014f9a0b22a968a6eea8be243fcb7a641d2d0dfc747ee08a6a1450bb SHA512 4b2cde9522780a408c5d4e6406286bc5dd3a0de1a99675129e9856e5d889498a127fd5dd7c937a7542135abc2213b60bfb6258b7871b8709dcdd79d60455bea9
 DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3

diff --git a/dev-db/influxdb/influxdb-2.7.6.ebuild b/dev-db/influxdb/influxdb-2.7.6.ebuild
new file mode 100644
index 000000000000..3ff0bb6c8843
--- /dev/null
+++ b/dev-db/influxdb/influxdb-2.7.6.ebuild
@@ -0,0 +1,286 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+	adler32@1.2.0
+	ahash@0.7.6
+	aho-corasick@0.7.20
+	android_system_properties@0.1.5
+	ansi_term@0.12.1
+	anyhow@1.0.70
+	arrayvec@0.5.2
+	atty@0.2.14
+	autocfg@1.1.0
+	bitflags@1.3.2
+	bitflags@2.0.2
+	bumpalo@3.12.0
+	cast@0.3.0
+	cc@1.0.79
+	cfg-if@1.0.0
+	chrono@0.4.24
+	clap@2.34.0
+	codespan-reporting@0.11.1
+	colored@2.0.0
+	core-foundation-sys@0.8.4
+	crc32fast@1.3.2
+	criterion-plot@0.4.5
+	criterion@0.3.6
+	crossbeam-channel@0.5.7
+	crossbeam-deque@0.8.3
+	crossbeam-epoch@0.9.14
+	crossbeam-utils@0.8.15
+	csv-core@0.1.10
+	csv@1.2.1
+	ctor@0.1.26
+	cxx-build@1.0.94
+	cxx@1.0.94
+	cxxbridge-flags@1.0.94
+	cxxbridge-macro@1.0.94
+	derivative@2.2.0
+	derive_more@0.99.17
+	diff@0.1.13
+	dissimilar@1.0.6
+	either@1.8.1
+	ena@0.14.2
+	env_logger@0.9.3
+	errno-dragonfly@0.1.2
+	errno@0.3.0
+	expect-test@1.4.1
+	fallible-iterator@0.2.0
+	fallible-streaming-iterator@0.1.9
+	fastrand@1.9.0
+	flatbuffers@22.12.6
+	fnv@1.0.7
+	form_urlencoded@1.1.0
+	getrandom@0.2.8
+	half@1.8.2
+	hashbrown@0.12.3
+	hashlink@0.8.1
+	heck@0.3.3
+	hermit-abi@0.1.19
+	hermit-abi@0.2.6
+	hermit-abi@0.3.1
+	humantime@2.1.0
+	iana-time-zone-haiku@0.1.1
+	iana-time-zone@0.1.56
+	idna@0.3.0
+	indexmap@1.9.3
+	instant@0.1.12
+	io-lifetimes@1.0.10
+	itertools@0.10.5
+	itoa@1.0.6
+	js-sys@0.3.61
+	lazy_static@1.4.0
+	libc@0.2.141
+	libflate@1.3.0
+	libflate_lz77@1.2.0
+	libsqlite3-sys@0.26.0
+	link-cplusplus@1.0.8
+	linux-raw-sys@0.3.1
+	lock_api@0.4.9
+	log@0.4.17
+	lsp-types@0.91.1
+	maplit@1.0.2
+	memchr@2.5.0
+	memoffset@0.8.0
+	num-integer@0.1.45
+	num-traits@0.2.15
+	num_cpus@1.15.0
+	once_cell@1.17.1
+	oorandom@11.1.3
+	ordered-float@3.6.0
+	output_vt100@0.1.3
+	pad@0.1.6
+	parking_lot@0.11.2
+	parking_lot_core@0.8.6
+	percent-encoding@2.2.0
+	pkg-config@0.3.26
+	plotters-backend@0.3.4
+	plotters-svg@0.3.3
+	plotters@0.3.4
+	pretty@0.11.3
+	pretty_assertions@1.3.0
+	proc-macro-error-attr@1.0.4
+	proc-macro-error@1.0.4
+	proc-macro2@1.0.56
+	pulldown-cmark@0.9.2
+	quote@1.0.26
+	rayon-core@1.11.0
+	rayon@1.7.0
+	redox_syscall@0.2.16
+	redox_syscall@0.3.5
+	regex-syntax@0.6.29
+	regex@1.7.3
+	rle-decode-fast@1.0.3
+	rusqlite@0.29.0
+	rustc-hash@1.1.0
+	rustc_version@0.4.0
+	rustix@0.37.7
+	ryu@1.0.13
+	salsa-macros@0.17.0-pre.2
+	salsa@0.17.0-pre.2
+	same-file@1.0.6
+	scopeguard@1.1.0
+	scratch@1.0.5
+	semver@1.0.17
+	serde@1.0.159
+	serde_cbor@0.11.2
+	serde_derive@1.0.159
+	serde_json@1.0.95
+	serde_repr@0.1.12
+	smallvec@1.10.0
+	strsim@0.8.0
+	structopt-derive@0.4.18
+	structopt@0.3.26
+	syn@1.0.109
+	syn@2.0.13
+	tempfile@3.5.0
+	termcolor@1.2.0
+	textwrap@0.11.0
+	thiserror-impl@1.0.40
+	thiserror@1.0.40
+	tinytemplate@1.2.1
+	tinyvec@1.6.0
+	tinyvec_macros@0.1.1
+	typed-arena@2.0.2
+	unicase@2.6.0
+	unicode-bidi@0.3.13
+	unicode-ident@1.0.8
+	unicode-normalization@0.1.22
+	unicode-segmentation@1.10.1
+	unicode-width@0.1.10
+	url@2.3.1
+	vcpkg@0.2.15
+	vec_map@0.8.2
+	version_check@0.9.4
+	walkdir@2.3.3
+	wasi@0.11.0+wasi-snapshot-preview1
+	wasm-bindgen-backend@0.2.84
+	wasm-bindgen-macro-support@0.2.84
+	wasm-bindgen-macro@0.2.84
+	wasm-bindgen-shared@0.2.84
+	wasm-bindgen@0.2.84
+	web-sys@0.3.61
+	winapi-i686-pc-windows-gnu@0.4.0
+	winapi-util@0.1.5
+	winapi-x86_64-pc-windows-gnu@0.4.0
+	winapi@0.3.9
+	windows-sys@0.45.0
+	windows-sys@0.48.0
+	windows-targets@0.42.2
+	windows-targets@0.48.0
+	windows@0.48.0
+	windows_aarch64_gnullvm@0.42.2
+	windows_aarch64_gnullvm@0.48.0
+	windows_aarch64_msvc@0.42.2
+	windows_aarch64_msvc@0.48.0
+	windows_i686_gnu@0.42.2
+	windows_i686_gnu@0.48.0
+	windows_i686_msvc@0.42.2
+	windows_i686_msvc@0.48.0
+	windows_x86_64_gnu@0.42.2
+	windows_x86_64_gnu@0.48.0
+	windows_x86_64_gnullvm@0.42.2
+	windows_x86_64_gnullvm@0.48.0
+	windows_x86_64_msvc@0.42.2
+	windows_x86_64_msvc@0.48.0
+	yansi@0.5.1
+"
+
+inherit cargo go-module systemd
+
+DESCRIPTION="Scalable datastore for metrics, events, and real-time analytics"
+HOMEPAGE="https://www.influxdata.com"
+
+FLUX_PV="0.194.5"
+
+SRC_URI="https://github.com/influxdata/influxdb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/influxdata/ui/releases/download/OSS-v2.7.1/build.tar.gz -> ${P}-assets.tar.gz"
+# Generate go-mod of base dir. Then cd go-mod/github.com/influxdata/pkg-config@v0.2.11 and generate go-mod of it
+# The tarball has next backported commit: github.com/influxdata/flux/commit/68c831c40b396f0274f6a9f97d77707c39970b02
+SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-deps.tar.xz"
+SRC_URI+=" ${CARGO_CRATE_URIS}"
+
+LICENSE="Apache-2.0 BSD BSD-2 EPL-2.0 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="
+	acct-group/influxdb
+	acct-user/influxdb
+"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+	cargo_src_unpack
+}
+
+src_prepare() {
+	default
+
+	local data_dir
+	data_dir="${S}/static/data"
+	mkdir "${data_dir}" || die
+	mv "${WORKDIR}/build" "${data_dir}" || die
+}
+
+src_compile() {
+	mv "${WORKDIR}/go-mod" "${WORKDIR}/go-mod-tmp" || die
+	mv "${WORKDIR}/go-mod-tmp/github.com/influxdata/pkg-config@v0.2.11/go-mod" "${WORKDIR}/go-mod" || die
+	cd "${WORKDIR}"/go-mod-tmp/github.com/influxdata/pkg-config* || die
+	ego build .
+	mv "${WORKDIR}/go-mod" "${WORKDIR}/go-mod-tmp/github.com/influxdata/pkg-config@v0.2.11" || die
+	mv "${WORKDIR}/go-mod-tmp" "${WORKDIR}/go-mod" || die
+
+	cd "${WORKDIR}/go-mod/github.com/influxdata/flux@v${FLUX_PV}/libflux" || die
+	cargo_src_compile
+
+	cd "${S}" || die
+
+	export PKG_CONFIG="${WORKDIR}/go-mod/github.com/influxdata/pkg-config@v0.2.11/pkg-config"
+	ego generate ./static
+	GOBIN="${S}/bin" \
+		ego install \
+			-tags 'assets,noasm,sqlite_json,sqlite_foreign_keys' \
+			-ldflags="-X main.version=${PV}" \
+		./...
+}
+
+src_test() {
+	ego test ./tests
+}
+
+src_install() {
+	dobin bin/influx*
+	dodoc *.md
+	cd .circleci/scripts/package/influxdb2/fs || die
+	systemd_dounit usr/lib/influxdb/scripts/influxdb.service
+	exeinto /usr/lib/influxdb/scripts
+	doexe usr/lib/influxdb/scripts/influxd-systemd-start.sh
+	exeinto /usr/share/influxdb
+	doexe usr/share/influxdb/influxdb2-upgrade.sh
+	newconfd "${FILESDIR}"/influxdb.confd-r1 influxdb
+	newinitd "${FILESDIR}"/influxdb.initd-r1 influxdb
+	keepdir /var/log/influxdb
+	fowners influxdb:influxdb /var/log/influxdb
+
+	newenvd - "99${PN}" <<-_EOF_
+		INFLUXD_CONFIG_PATH="/etc/influxdb"
+	_EOF_
+}
+
+pkg_postinst() {
+	elog "Upgrading from InfluxDB1.x requires migration of time series data."
+	elog "See https://docs.influxdata.com/influxdb/v2.7/upgrade/v1-to-v2/"
+	elog "Keep in mind that some applications not compatible with InfluxDB 2.x"
+	elog "may stop working."
+
+	ewarn "The InfluxDB command line client has been moved to dev-db/influx-cli"
+	ewarn "You will need to install it separately"
+}


             reply	other threads:[~2024-06-25 20:23 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25 20:23 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-17 17:30 [gentoo-commits] repo/gentoo:master commit in: dev-db/influxdb/ Sam James
2024-12-17 17:30 Sam James
2024-09-14  7:14 Joonas Niilola
2024-09-14  7:14 Joonas Niilola
2024-06-25 20:23 Louis Sautier
2024-06-25 20:23 Louis Sautier
2024-06-25 20:23 Louis Sautier
2024-04-02 18:03 Conrad Kostecki
2024-02-25 19:49 Conrad Kostecki
2023-12-18 14:41 Joonas Niilola
2023-12-18 14:41 Joonas Niilola
2023-12-18 14:41 Joonas Niilola
2023-12-18 14:41 Joonas Niilola
2023-06-14  2:20 William Hubbs
2023-06-14  1:09 William Hubbs
2023-06-14  0:47 William Hubbs
2023-06-12 17:47 William Hubbs
2023-05-29 12:33 Joonas Niilola
2023-05-29 12:33 Joonas Niilola
2023-01-28 18:34 William Hubbs
2022-11-05 17:36 Joonas Niilola
2021-07-24  6:22 John Helmert III
2020-10-04 16:14 William Hubbs
2020-07-18 23:20 William Hubbs
2020-07-15 21:33 Robin H. Johnson
2020-07-13 15:42 William Hubbs
2020-06-30 19:53 Matt Turner
2020-04-05 21:30 Robin H. Johnson
2018-11-01 17:39 William Hubbs
2018-09-28 18:42 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1719346549.5ad73995714554e9c9436fbd7b200729c4808e25.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox