39 Commits

Author SHA1 Message Date
semarie 8a76d77ce1 databases/influxdb: prepare lang/rust update
with rustc 1.89.0, some new warnings triggers deny(warnings) of influxdb (a
-Werror equiv). so pass option to rustc to cap the lint level to warning and
avoid errors.
2025-08-10 16:07:11 +00:00
lraab b2b94e4ff5 databases/influxdb: update to 2.7.12
ok rsadowski@
2025-08-05 11:26:13 +00:00
sthen 3128b42610 bump REVISION for ports where WANTLIB changed on !base-clang archs due
to recent COMPILER_LIBCXX changes; part 1 (those without MULTI_PACKAGES)
2025-01-28 14:38:28 +00:00
landry 394b68f663 databases/influxdb: fix build with upcoming rust 1.78
apparently with deny(warnings) now unused methods are considered errors
2024-05-14 11:05:36 +00:00
landry d4f487f0cb databases/influxdb: update bbolt module to 1.3.8 to unbreak runtime
cf https://github.com/etcd-io/bbolt/pull/406
positive reports off-list
2024-04-24 06:25:36 +00:00
sthen 9084711272 influxdb: mark broken for now, uses go modules which still require syscall 2024-04-23 09:31:30 +00:00
semarie b2e969bc1c lang/rust: add a module to cope with SYSTEM_VERSION-rust
lang/rust module is intented to be only minimal.

makes devel/cargo module to use lang/rust module.
- makes MODCARGO_WANTLIB re-exports MODRUST_WANTLIB
- it changes the WANTLIB to the right value for sparc64, but as SYSTEM_VERSION-rust is bumped, it should be fine

adds SYSTEM_VERSION-rust ?= 0 to arch-defines.mk
- this way, when lang/rust isn't used, -V 0 is passed (it is a no-op),
  and else, it is the value defined in lang/rust module.

while here, correct few ports to use the right WANTLIB value

ok tb@
"I'm happy with it" espie@ (regarding the usage of _SYSTEM_VERSION-rust)
2024-01-01 14:14:49 +00:00
semarie 9b08785f18 rust ports cleanup: use MODCARGO_WANTLIB in WANTLIB
fix WANTLIB for simple ports. rust ports are expected to use MODCARGO_WANTLIB
instead of hardcoding values (which will be soon different across archs).

replace "c c++abi pthread" by ${MODCARGO_WANTLIB} in WANTLIB

no changes, as it is the current value of MODCARGO_WANTLIB (even if buggy).

ok tb@
2024-01-01 09:02:15 +00:00
semarie cd1a25ba64 rust ports cleanup: remove explicit BUILD_DEPENDS lang/rust when not needed
when MODULE devel/cargo is used, lang/rust is already added to BUILD_DEPENDS.

no changes (outside removing one lang/rust from the two present in BUILD_DEPENDS).
2024-01-01 08:22:41 +00:00
sdk a594da794c Change VARBASE to LOCALSTATEDIR
OK op@
2023-12-03 16:57:35 +00:00
lraab 529c7aed1f databases/influxdb: update to 2.7.3
ok landry@
2023-11-14 00:08:32 +00:00
espie a56cd77418 -> SITES, no fetch change 2023-09-20 13:30:05 +00:00
semarie fd2c96dd56 MODCARGO_MASTER_SITESN is no more 2023-09-02 17:27:52 +00:00
landry 87dcb47e7c databases/influxdb: unbreak build with rust 1.72
ok semarie@
2023-09-02 15:32:05 +00:00
semarie 4c80be8354 mark databases/influxdb broken
it doesn't build with lang/rust 1.72.0, and patching code from go modules isn't
really possible.
2023-08-26 12:59:06 +00:00
landry 54fa4fc82a databases/influxdb: major update to 2.7.1
- cf https://docs.influxdata.com/influxdb/v2.7/upgrade/v1-to-v2/
- fix influxd version by passing MODGO_VERSION via MODGO_LDFLAGS
- fetch, generate and bundle the web ui assets so that the web interface
  on port 8086 works ootb
- the influx cli moved to a separate port that will be imported shortly
- migration notes will be added to current.html
- drop sample config, influxd setup should be used to generate one
- disable reporting by default in the code (was previously in the
  default config)

ok & testing lraab@, thanks !
2023-07-11 12:07:03 +00:00
landry f383cd3b01 databases/influxdb: update to 1.11.0.
on top of the update patch go.{sum,mod} to force-update x/sys module to
0.5.0. With that influxdb binary starts fine and stops crashing with
SIGSYS all over the place.

Note that since the flux component is partly written in rust and in go,
this port now also uses devel/cargo module in addition to the go module,
making it a nice frankeinstein monster.
2023-04-18 19:57:10 +00:00
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
landry 8115873355 databases/influxdb: add a login class limiting datasize to 6G
the default 4G isnt enough for influxdb/go in 7.2.

ok sthen@
2022-10-21 09:02:18 +00:00
naddy 7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
landry 524577a897 databases/influxdb: drop redundant MODGO_VERSION
spotted by ajacoutot@
2021-11-01 12:57:59 +00:00
landry abba49f3d4 databases/influxdb: update to 1.8.10.
cf https://docs.influxdata.com/influxdb/v1.8/about_the_project/releasenotes-changelog/#v1810-2021-10-11
for changes since 1.6.4.

not updating to the 2.0.x branch yet as it seems a whole different beast.
convert port to modules.inc after *much* wrangling with go dependencies,
inspiration taken from pkgsrc. Seems to work in basic testing on 7.0.
2021-11-01 12:57:06 +00:00
sthen 3046e0772e bump the golang ports so that pkg_add -u knows to update them 2021-03-08 13:59:23 +00:00
ajacoutot ff134f5d1b Use daemon_logger instead of hand crafter rc_start(). 2021-02-27 09:28:50 +00:00
rsadowski 57a29c21af Drop me as maintainer
I can't find the time to become familiar with the Go ports infrastructure.
Still a user and happy to see updates.
2021-01-26 18:17:14 +00:00
sthen 6e106e935a influxdb: fix version string, reported by Abel Abraham Camarillo Ojeda, ok rsadowski 2020-06-30 14:59:24 +00:00
ajacoutot 057990a85e tyop
ok rsadowski@ (maintainer)
2020-04-29 11:36:54 +00:00
naddy d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
rsadowski 4bfa479d54 update influxdb to 1.6.6
Take maintainer

OK landry@ bket@
2019-11-12 22:05:27 +00:00
sthen 9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
sthen 4c9d7e6039 No need for a special MODGO_ENV for go.port.mk, just use normal MAKE_ENV
like the rest of the ports tree. This also allows removing a bunch of
manual setting of PATH="${PORTPATH}" HOME="${PORTHOME}" done in various
ports etc. This also makes sure CFLAGS is passed through (not everything
honours it but it does improve at least some ports).

Remove NO_CCACHE from www/honk that was added because the above problem
resulted in ccache variables not being passed through correctly breaking
the cc calls in this.

ok kmos@
2019-05-04 21:46:16 +00:00
ajacoutot 167692caae Pipe stdout/stderr into logger(1).
from Joel Carnat
2019-03-30 11:16:15 +00:00
landry 2e7ed582c4 Update to influxdb 1.6.1.
ok remi@
2018-08-19 20:23:25 +00:00
espie 532e959899 zap extra common dirs 2018-05-17 09:21:12 +00:00
landry ca58312846 Update to influxdb 1.5.2.
See https://docs.influxdata.com/influxdb/v1.5/about_the_project/whats_new/

ok danj@
2018-04-25 15:48:02 +00:00
sthen f52be2a50e bump all go ports that don't already have a RUN_DEPENDS on lang/go (which
has pkgspec set on the go version number already), so that pkg_add -u updates
them to versions which work with MAP_STACK. spotted by pvk@
2018-04-14 22:53:54 +00:00
sthen e9a0b3d2ea switch post-extract to pre-patch, to avoid needing lang/go to be installed
just to unpack ports distfiles.  ok landry
2018-02-24 20:49:14 +00:00
rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
landry 01f2b71983 Import influxdb 1.4.2.
InfluxDB is a time series, metrics, and analytics database. It's
targeted at use cases for DevOps, metrics, sensor data, and
real-time analytics.

Note that the source tarball is repackaged/selfhosted to include go
dependencies that are not vendored upstream.

ok remi@
2018-01-03 17:43:24 +00:00