Commit Graph

21 Commits

Author SHA1 Message Date
Ankur Tyagi
2f1d7a8597
influxdb: ignore CVE-2024-30896
As mentioned in the comment[1], vulnerability is in
/api/v2/authorizations API which only exists in 2.x, 1.x is not affected.

Details: https://nvd.nist.gov/vuln/detail/CVE-2024-30896

[1] https://github.com/influxdata/influxdb/issues/24797#issuecomment-2514690740

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-12 10:25:57 -08:00
Christian Lindeberg
cf96ad8622
influxdb: Update module cache content
The Go module cache content URIs has been regenerated by listing
dependencies with "${GO_INSTALL}" instead of "${GO_IMPORT}/..." as the
package patterns.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 23:36:18 -07:00
Christian Lindeberg
f739fb9ab2
influxdb: Add spdx parameter to license URIs
Add an "spdx" parameter with the identified license name to the URIs in
LIC_FILES_CHECKSUM in influxdb-licenses.inc.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 08:57:41 -07:00
Khem Raj
c575193dbb
influxdb: Do not skip it anymore
The gomod fetcher has all the needed modules in SRC_URI now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Christian Lindeberg
c8d5b30af6
influxdb: Use GO_SRCURI_DESTSUFFIX in SRC_URI
Use the GO_SRCURI_DESTSUFFIX convenience variable for the Go main module
in the SRC_URI variable.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Alper Ak
9587da2ba4
influxdb: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

ERROR: influxdb-1.8.10-r0 do_unpack: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Christian Lindeberg
1b27703d9f
influxdb: Use go module fetcher
Use the go module fetcher instead of allowing network access during the
compile task.
Apply patch to replace github.com/pkg/term with github.com/kraj/term
unconditionally to avoid conditional module dependencies.
Reorder variables according to the recipe style guide.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Khem Raj
d5bec49b73
influxdb,etcd: Skip from building
Latest layer compatibility checks have been enhanced to check for
network access during non-fetch tasks and flag it as failure, which
is now happening for these recipes since it calls go module fetcher
during do_compile

Latest gomod fetcher has got improvements and can be used for these
recipes but it needs some work. Skip them until it is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-18 09:08:11 -07:00
Ninette Adhikari
524acf0542
influxdb: Update CVE status for CVE-2019-10329
The version don't match and only the Jenkins plugin is affected.

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-28 11:22:03 -07:00
Khem Raj
cd6e2d8f53
influxdb: Do not remove non-existing files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:41 -07:00
Khem Raj
65b8bf69e8
influxdb: Define GOPROXY
Its needed with go 1.21

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-03 11:22:35 -08:00
Yoann Congal
daed1b8980
influxdb: Fix /etc files owner
"chown root.influxdb" is a typo of "chown root:influxdb"

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-17 17:35:23 -08:00
Thomas Gessler
90bc2a94f2 influxdb: Add start script used by systemd service
The influxdb systemd service tries to run the script
influxd-systemd-start.sh, but it was not copied to the correct location
by the influxdb recipe. This led to a failure during start-up:

[FAILED] Failed to start InfluxDB i…ributed, time series database.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-08 06:49:26 -08:00
Martin Jansa
285b7cd79f .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Khem Raj
9786d0fb55 influxdb: Enable network during do_compile
This should actually be fixed in the package's build system to not
do the network access during compile task but go modules are invoked
during do_compile which needs to access the network.
Lets workaround it for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-12 09:35:18 -08:00
Khem Raj
c68a306c02 influxdb: Fix build with Go 1.17 on x86_64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01 12:39:23 -08:00
Khem Raj
6e9faaa578 influxdb: Upgrade to 1.8.10
Changes are here [1]

License-Update: Updated copyright info [2]

Fix sh interpreter path

[1] https://dl.influxdata.com/platform/nightlies/1.8/CHANGELOG.md
[2] 809ac4f0d5 (diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01 12:24:21 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
60475381ea influxdb: Generate checksums for term module
go 1.16 does no longer regenrate them with go list command
intentionally, Therefore add the replacement repo checksums to
go.sum

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-24 14:18:30 -08:00
Khem Raj
e84b579c8a influxdb: Fix build on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Thomas Perrot <thomas.perrot@bootlin.com>
2021-01-11 15:38:09 -08:00
Thomas Perrot
e413948e1c influxdb: add new recipe
InfluxDB is a time series database designed to handle high write and query
loads.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-11 09:51:22 -08:00