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.
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)
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@
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).
- 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 !
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.
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 :-)
(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@
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@
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@