The official node_exporter reports node_time_seconds as a gauge, but
prometheus-node-exporter-lua reports it as a counter. To be consistent
with the official implementation, and because "gauge" is more correct
than "counter" for this metric (system time can decrease, but the
Prometheus documentation states, "A counter is a cumulative metric that
represents a single monotonically increasing counter whose value can
only increase or be reset to zero on restart."), change the type for
node_time_seconds to "gauge".
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
The package Makefile contains an unnecessary PKG_BUILD_DEPENDS
line that builds gettext and libiconv even in cases where the
build has gettext-full and libiconv-full selected.
This behaviour can and does mask errors in other package Makefiles
that are dependent on libiconv-full if it is compiled before
these packages by causing libiconv-stub to be created and put in
the staging tree and potentially linked against by these
dependent packages when they omit to specify an appropriate
PKG_BUILD_DEPENDS line.
procps-ng does not require gettext or libiconv to be built in
order to compile correctly.
Signed-off-by: Ian Cooper <iancooper@hotmail.com>
This enables a system-wide .bashrc file (/etc/bash.bashrc), as well as
some other options related to startup files, and sources /etc/shinit for
interactive shells.
Fixes https://bugs.openwrt.org/index.php?do=details&task_id=3019.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
The package Makefile was not taking into consideration that the build
may be using BUILD_NLS with libintl-full and libiconv-full and was
trying to link the wrong versions of these libraries in this case.
The necessary flags are added by nls.mk to TARGET_LDFLAGS and can be
passed to irqbalance's configure script for setting the GLIB2_LIBS
variable instead of the explicit static link to the libiconv stub.
The PKG_BUILD_DEPENDS line should be modified so as to add to and not
override the definition set by nls.mk, which will ensure the right
version of libiconv and libintl is built beforehand.
A DEPENDS:= line should be added to the package definition using the
variables defined in nls.mk, which will add the appropriate version
of libintl and libiconv (vanilla or -full versions)
If USE_GLIBC is true, then libpthread needs to be explicitly passed
to the configure script in the GLIB2_LIBS variable for linking.
Signed-off-by: Ian Cooper <iancooper@hotmail.com>
The former can be implemented as a meson argument.
The latter is already default.
No compiled difference, therefore no PKG_RELEASE bump.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
ntfs-3g does not include nor install a file like this.
Cleaned up Makefile for consistency between packages.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
So far, all output created by scripts run with micrond has been
discarded. Since there is no reason for that and it also does not
match the expected behavior, this enables both stdout and stderr
output for the service.
If not desired, a user can still use >/dev/null or similar in his/her
micrond jobs to disable output easily and similar to what it would be
on other systems.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This package can not be installed if you have installed less from
busybox.
Collected errors:
* check_data_file_clashes: Package less wants to install file /bin/less
But that file is already provided by package * busybox
* opkg_install_cmd: Cannot install package less.
To avoid this error, I moved it from /bin/less to /usr/bin/less.
If you install it now, it changes symlink from busybox to /usr/bin/less
/bin/less -> busybox*
/bin/less -> /usr/bin/less*
When you remove it, it changes symlink back to busybox.
That's why postint and postrm scripts are no longer needed.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.
This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
All patches are not needed anymore. squashfs-tools has implemented them in
one way or another.
Converted to download release tarballs. This should work better to get
notified of a newer release.
Also adds support for ZSTD compression:
https://facebook.github.io/zstd/
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Add new PCI and USB drivers to flashrom.mk to disable them in other
build variant.s
Fix DefineConfig calls to use new config symbols, and have it only
append NEED_FEATURE=yes to MAKE_FLAGS. Appending NEED_FEATURE=no would
still enable the feature because upstream compares against an empty
string instead of comparing to yes.
Drop libusb-compat dependency as all drivers use libusb-1 now.
Remove upstreamed patch 010-add-arc.patch.
Rework 0001-fix_internal_bitbang.patch, give it a correct prefix and
more descriptive name.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
libwrap is fairly useless. It's also legacy and should not be used/
dbus is a big dependency. It's fairly useless in the OpenWrt context.
I don't know how useful netlink is.
Disabling BSD behavior results in a slightly smaller size.
Disable LDAP. No size difference but I have a feeling it pulls in
another dependency...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Remove "prompt" command, dropped in kconfig-v5.6, from
Package/sane-backends/config, replacing it with "tristate". This does
not affect the generated package.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Update nano editor to version 4.9.1
2020.03.31 - GNU nano 4.9.1 "Sapperdeflap"
Two bugs introduced in version 4.9 are fixed: the cursor
getting misplaced when undoing line cuts, and filtering
of the whole buffer to a new buffer not working.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This reverts commit 97dbc515e5.
libgd has been been fixed to provide correct pkgconfig info,
so that nut again compiles in buildbot. Thus the nut plugin
can be re-enabled in collectd.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Disable nut plugin for now, as nut is currently
failing to build in buildbot (maybe due to libgd),
and the nut plugin prevents compiling collectd itself.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This version of yunbridge will cease to function once Python 2 is
removed from the feed. It does not appear[1] that upstream will be
updated with a version that uses Python 3.
This package will be added to the abandoned packages feed.
[1]: https://github.com/arduino/YunBridge/issues/31
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Add fallback zero value definition for MAP_SYNC etc. even when building
for CONFIG_LINUX.
Fixesopenwrt/packages#11067
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
It's causing issues with newer glib2:
../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv'
../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv_open'
../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv_close'
It's because the libiconv-stub does not include a shared library that
gammu can link to.
Removed most patches since they don't seem to be needed.
Ran init script through shellcheck.
Signed-off-by: Rosen Penev <rosenp@gmail.com>