Commit Graph
16 Commits
Author SHA1 Message Date
Andre HeiderandRosen Penev c80bc7765c mpc: update to v0.32 and build with meson
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 0469c0715b)
2020-04-17 14:57:36 -07:00
Andre HeiderandJosef Schlehofer 803c5ef05f libid3tag: add pkg-config file
Required for meson to find this library in a sane way.

- In OpenWrt 19.07, there were recently updated mpd to its the latest
version available (current 0.21.22) with transition to meson.
Because of that mpd fails to build due to:

Run-time dependency id3tag found: NO (tried pkgconfig)

This commit fixes it

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 1b37a1d2a8)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added commit message for OpenWrt 19.07]
2020-04-14 10:37:48 +02:00
Andre HeiderandRosen Penev ccd2d77540 libmpdclient: build with meson
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 8a7d276618)
2020-04-12 19:45:29 -07:00
Andre HeiderandRosen Penev 82ae5f3bc4 mpd: update to v0.21.16 and build with meson
One patch was dropped (probably not required anymore).

Old options have been dropped and new ones added. The order is as found
in meson_options.txt. mpd-mini and mpd-full retained their feature sets.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 5aaa1e7da4)
2020-04-12 19:27:06 -07:00
Andre HeiderandJosef Schlehofer c7e1a34531 meson: fix building host binaries with ccache
With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a
single wrapper script. Compiling target binaries with ccache works, but
doesn't for host binaries, because we need to supply an argv array for
argc > 1 in the meson cross file.

Always pass an array for the c and c++ compiler, and while at it, do it
for the target as well - just to be on the safe side if that ever
changes.

Fixes #10982.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit f5c8565d1b)
2020-04-06 22:02:48 +02:00
Andre HeiderandJosef Schlehofer c61579b564 meson: add new package
This adds a host as well as a target package.

meson.mk is provided to build packages using meson.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit d83cba79c1)
2019-12-10 12:02:56 +01:00
Andre HeiderandJosef Schlehofer fd5ef39e83 ninja: add new package
This adds a host as well as a target package.

ninja.mk is provided to execute ninja.

The two patches have been taken from upstream to fix compile issues.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 5ead78be5a)
2019-12-10 12:02:50 +01:00
Andre HeiderandEtienne Champetier 0e69b14733 prometheus-node-exporter-lua: respawn the process
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit a3af4c3691)
2019-11-17 18:28:13 -08:00
Andre HeiderandEtienne Champetier 56e0861f77 prometheus-node-exporter-lua: add a config reload trigger
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit d8e637d064)
2019-11-17 18:28:12 -08:00
Andre HeiderandEtienne Champetier ee353e6036 prometheus-node-exporter-lua: switch config to openwrt interface names
Drop the config knob 'listen_address' and introduce 'listen_interface'
and 'listen_ipv6' instead.

'listen_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc, or "*" for all), from which the primary IP is used to listen
on. If 'listen_ipv6' is set to '1', the IPv6 adress will be used, IPv4
elsewise.

procd interface triggers are now combined with this, so if the listen
interface is not yet configured when the init script is executed, the
process start is defered, and the trigger takes care of that once
the interface is ready.

Fixes #7670

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 48568ad9f9)
2019-11-17 18:28:12 -08:00
Andre Heider 55d820ee36 prometheus-statsd-exporter: bump version
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:26:31 +01:00
Andre Heider c5eb9e9e42 prometheus-statsd-exporter: add a config reload trigger
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:26:31 +01:00
Andre Heider b53fcc98b9 prometheus-statsd-exporter: switch config to openwrt interface names
Drop the config knobs '*_address' and introduce '*_interface'
and '*_ipv6' instead.

'*_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc), from which the primary IP is used to listen on. If
the matching '*_ipv6' is set to '1', the IPv6 adress will be used,
IPv4 elsewise.

procd interface triggers are now combined with this, so if a listen
interface is not yet configured when the init script is executed, the
process start is defered, and the trigger takes care of that once
the interfaces are ready.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:25:43 +01:00
Andre Heider 9fadc6bc7a prometheus-statsd-exporter: fix compilation with go 1.11.4
This fixes the exact same build error reported at [0].
Upstream fixed it too, see [1], but I decided to use the minimal patch
until a new version is released instead.

[0] https://github.com/golang/go/issues/29281
[1] https://github.com/prometheus/statsd_exporter/pull/171

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-04 07:33:15 +01:00
Andre Heider cdacfc888c prometheus-statsd-exporter: add myself as maintainer
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-04 07:33:15 +01:00
Andre Heider b57f6b1f5e prometheus-statsd-exporter: add new package
statsd_exporter receives StatsD-style metrics and exports them as Prometheus
metrics.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-12-12 07:10:38 +01:00