When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Request only 'interfaces' status, as we don't use 'connected' and
'policies' status. On my router with 5 wans / 2 tracking IPs per wan,
scrape time goes from 1.90s to 1.30s (still pretty slow but better)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
With valid 'cert'/'key' config, prometheus-node-exporter-lua
will respond to https instead of http on 'listen_port'.
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
hostapd exposes the `hostapd-auth` ubus object. In both
hostapd_ubus_stations.lua and hostapd_stations.lua this object is
incorrectly matched as if it were a wifi phy such as `hostapd.phy0-ap0`.
Using the literal period to find interfaces (^hostapd%.) instead of the
pattern-matching period (hostapd.) fixes this.
fix formatting consistency
Signed-off-by: Michael Payne <10254938+mikepayne02@users.noreply.github.com>
[fix version conflict]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Fixes the following error when mounting iPhone using ifuse:
ifuse /mnt --container com.httpstorm.httpstorm
mount: mounting ifuse on /mnt failed: Invalid argument
[1] https://github.com/libfuse/libfuse/pull/1247
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
BT_STACK_SZ and backtrace_buffer are not used when
HAVE_BACKTRACE is undefined. Wrap them in #ifdef
to avoid a build warning:
../lib/fuse_signals.c:31:14: warning: 'backtrace_buffer' defined but not used [-Wunused-variable]
31 | static void *backtrace_buffer[BT_STACK_SZ];
| ^~~~~~~~~~~~~~~~
[1] https://github.com/libfuse/libfuse/pull/1245
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
- Fixed uninitized bufsize value
(compilation warning and real issue when HAVE_SPLICE was not defined)
- Fixed initialization races related to buffer realocation when
large buf sizes are used
- Fixed a bug that may result in incorrect behaviour:
../util/fusermount.c:1069:17: warning: unsigned conversion from 'long long int' to 'long unsigned int' changes value from '8315462406243767374' to '1397118030' [-Woverflow]
1069 | 0x736675005346544e /* UFSD */,
| ^~~~~~~~~~~~~~~~~~
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Currently, rrdtool1 produces the following build error
for various C files while building with GCC 15:
In file included from rrd_tool.h:93,
from rrd_cgi.c:11:
getopt.h:108:12: error: conflicting types for 'getopt'; have 'int(void)'
108 | extern int getopt ();
| ^~~~~~
In file included from include/fortify/unistd.h:22,
from rrd_tool.h:56:
include/unistd.h:127:5: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)'
127 | int getopt(int, char * const [], const char *);
| ^~~~~~
This adds -std=gnu17 to TARGET_CFLAGS to fix the compilation error.
Signed-off-by: Til Kaiser <mail@tk154.de>
Description:
1. Avoid error on nil value by skipping over it
2. Adds a newline to error messages
Signed-off-by: Amos Shapira <amos.shapira@gmail.com>
[bump version]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Use git format-patch to be able to use git am later, to fixopenwrt/openwrt#10272 .
Remove patch to skip tests as not needed anymore.
Then apply refresh.
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
Update nano editor to version 8.5.
Upstream has fixed the gnulib related cross-compilation problem,
so remove the config hack that was added at the 8.4 update.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
As a replacement for this project despite it was resurrected,
it is not maintained.
We added stress-ng [1], which is regularly updated and
gets new features and there is no reason to have two packages
in this repository.
[1] fba6bb9489 ("stress-ng: add")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This changes a number of PKG_SOURCE_URLs that were using the http protocol to use https if available.
HTTPS was verified as functioning for the updated hosts.
Signed-off-by: Daniel Cousens <github@dcousens.com>
If nls.mk is not included and BUILD_NLS is set compilation
will fail with various undefined references to the libiconv
library. So this commit includes the missing nls.mk.
Signed-off-by: Til Kaiser <mail@tk154.de>
This patch was introduced by me in commit
62513dc576 ("mc: fix mouse handling")
and that commit backported patch from master branch and it that time,
there was not any release, which included it.
Since 4.8.2.5 update, we are still rebasing it, no need to do that.
Fixes: eb0c3b534a ("mc: update to 4.8.25")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The custom Build/Compile definition was overriding the default OpenWrt build logic,
causing issues when compiling with fPIC.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Adjust .json names to match the plugin names: use '-' instead of '_'
Fix commits 033c19a and e36b727 that used a filename differing
from the plugin name used in OpenWrt. That prevented package compilation
to find and include the .json files that were left out of the package.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* update to version 3.9
* added lua as build dependency
* added glib as build dependency
* removed libinih as dependency
* disable bash-completion and man pages
* added test.sh file for ci testing
Signed-off-by: Nikolay Manev <just.ops@proton.me>
This adjustment makes a compromise between those that would prefer not
to complicate the realtek-poe.git source repository and those who want
to have PoE work out-of-the-box on Realtek switches -- see
realtek-poe.git, commit 2df137ee457155 ("realtek-poe/openwrt: Generate
config from board.json")
Switches previously booted with OpenWrt will have an /etc/config/poe
file already present, and thus the uci-default shall not take effect.
Signed-off-by: Martin Kennedy <hurricos@gmail.com>
Slight modification to package to provide /etc/sensors.d/custom.conf
where users can set hardware-specific configurations. Changed behavior
of package to no longer provide a specific configuration for i386 since
it has so many potential configurations.
Signed-off-by: John Audia <therealgraysky@proton.me>
Based on ethtool-lua library, add interface statistics to the
prometheus-node-exporter.
As closely as possible, the behaviour of the implementation at
400c397993/collector/ethtool_linux.go (L208)
is replicated.
Signed-off-by: Kevin Jilissen <info@kevinjilissen.nl>
[squash commits, bump version, fix permission, use untyped, rename to ethtool]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
In addition to shipping the latest upstream version, package shared objects.
It is worth noting that this release is required when building with GCC 15.1.
Signed-off-by: John Audia <therealgraysky@proton.me>