aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* prometheus-node-exporter-lua: add basic hwmon exporterIvan Mironov2023-10-15
| | | | | | | | | | | | | | | | | | | This collector supports following metrics: * node_hwmon_temp_celsius * node_hwmon_pwm and following auxiliary mappings: * node_hwmon_chip_names * node_hwmon_sensor_label Tested on: * Banana Pi BPI-r3 / OpenWrt 23.05.0-rc2 * TP-Link Archer C7 v5 / OpenWrt 22.03.5 Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
* Merge pull request #20007 from dhewg/prometheus-node-exporter-ucodeEtienne Champetier2023-10-15
|\ | | | | prometheus-node-exporter-ucode: add new package
| * prometheus-node-exporter-ucode: add new packageAndre Heider2023-08-25
| | | | | | | | | | | | This is a port of prometheus-node-exporter-lua to ucode. Signed-off-by: Andre Heider <a.heider@gmail.com>
| * rpcd-mod-wireguard: add new packageAndre Heider2023-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rpcd wireguard plugin provides essential functions similar to the `wg` tool. It uses the embeddable-wg-library [0], which describes itself as: "This is a mini single-file library, meant to be embedded directly into the source code of your program. Copy wireguard.c and wireguard.h into your project. They should build with any C89 compiler. There are no dependencies except libc" The plugin does exactly that and therefor inherits the LGPL license. At this point it provides the following functions: 'wireguard' "status":{} "genkey":{} "genpsk":{} "pubkey":{"private":"String"} Examples: $ ubus call wireguard status { "wg0": { "ifindex": 12, "public_key": "<base64 encoded public key>", "listen_port": 1234, "peers": { "<base64 encoded public peer key>": { "allowed_ips": [ "192.168.1.123/32" ], "last_handshake": 0, "rx_bytes": 0, "tx_bytes": 0 }, "<another base64 encoded public peer key>": { "endpoint": "<ip:port>", "allowed_ips": [ "192.168.1.124/32" ], "last_handshake": 1676287619, "rx_bytes": 8731604, "tx_bytes": 88333652 } } } } $ ubus call wireguard genpsk { "preshared": "EKQJ3XI/6xLoifAoGb5bNA39De1tiwZ3x7h8OS2zKkE=" } $ ubus call wireguard genkey { "private": "IFyGkfXlO+WO8DMO3cqhaDZ8rBfioP5pVnAoQlEpXnI=", "public": "uF2O6/ZXZjKnUnxBnldElBYIXfpyvvtUnZfKP+BSBSI=" } $ ubus call wireguard pubkey '{"private":"IFyGkfXlO+WO8DMO3cqhaDZ8rBfioP5pVnAoQlEpXnI="}' { "public": "uF2O6/ZXZjKnUnxBnldElBYIXfpyvvtUnZfKP+BSBSI=" } Size comparison: 52436 /usr/bin/wg 18544 /usr/lib/rpcd/wireguard.so [0] https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library Signed-off-by: Andre Heider <a.heider@gmail.com>
* | Merge pull request #21005 from joelpet/prometheus-node-exporter-thermalEtienne Champetier2023-10-14
|\ \ | | | | | | prometheus-node-exporter-lua: Add thermal collector
| * | prometheus-node-exporter-lua: Add thermal collectorJoel Pettersson2023-06-13
| | | | | | | | | | | | Signed-off-by: Joel Pettersson <me@joelpet.se>
* | | catatonit: update to 0.2.0Oskari Rauta2023-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | no functional changes from catatonit 0.1.7, but license change from GPL-3.0-or-later to GPL-2.0-or-later. Switch package source to release version from git commit version. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | podman: update to 4.7.1Oskari Rauta2023-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfixes - Fixed a bug involving non-English locales of Windows where machine installs using user-mode networking were rejected due to erroneous version detection (#20209). - Fixed a regression in --env-file handling (#19565). - Fixed a bug where podman inspect would fail when stat'ing a device failed. API - The network list compat API endpoint is now much faster (#20035). Openwrt updates: added patch to allow building with musl-1.2.4 Patch source is from gentoo https://github.com/vimproved/gentoo/blob/c4c349f11a4352be1965726eadfe3a8bd8a6fa9c/app-containers/podman/files/podman-4.5.0-fix-build-with-musl-1.2.4.patch Issue was discussed by @jefferyto at mattn/go-sqlite3#1177 Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | Merge pull request #22197 from oskarirauta/zshJosef Schlehofer2023-10-11
|\ \ \ | | | | | | | | zsh: use libpcre2 instead of libpcre
| * | | zsh: backport PCRE2 patches and move to itChristian Marangi2023-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport PCRE2 patches from upstream and move package to PCRE2 library as PCRE is EOL and won't receive any security update anymore. Patch are backported with minimal change, only the Changelog change is commented out as it would conflict and makes no sense to adapt for the purpose of backport patches. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| * | | zsh: use autoreconf PKG_FIXUP to configureOskari Rauta2023-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation to PCRE2 fixup, use autoreconf PKG_FIXUP as a better configure system instead of configure script. This is needed to reduce upcoming patch to migrate to PCRE2 library. To correctly use autoreconf it's needed to declare empty PKG_REMOVE_FILES. zsh include custom macro in the default aclocal.m4 When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES is not defined, it's set to remove the file aclocal.m4 by default resulting in problem with the custom macro AC_PROG_LN. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com> [ split to 2 commit, add PKG_REMOVE_FILES, reword commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | | | rust: Use make's jobserver when building packagesJeffery To2023-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows cargo to use make's jobserver when building packages, by marking the cargo command as recursive (with the + prefix[1]) and setting MAKEFLAGS. This also: * Give cargo/x.py the build directory instead of having to change the current directory (and opening subshells) * Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable the use of make's jobserver [1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #22352 from commodo/stress-ngAlexandru Ardelean2023-10-11
|\ \ \ \ | | | | | | | | | | stress-ng: bump to version 0.17.0
| * | | | stress-ng: bump to version 0.17.00Alexandru Ardelean2023-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refreshed 001-disable-extra-stressors.patch Dropped 002-disable-compiler-test.patch - no longer needed since commit https://github.com/ColinIanKing/stress-ng/commit/a24c7f2048548e6e9ded652b0d16a7da37e4edf0 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* | | | | procs: Add new packageFacundo Acevedo2023-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Procs is a modern, feature-rich alternative to the 'ps' command written in Rust Signed-off-by: Facundo Acevedo <facevedo@disroot.org>
* | | | | kmod: update to 31Nick Hainke2023-10-10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Release Notes: https://github.com/kmod-project/kmod/blob/aff617ea871d0568cc491bd116c0be1e857463bb/NEWS#L1 Signed-off-by: Nick Hainke <vincent@systemli.org>
* | | | Merge pull request #22289 from mhei/mmc-utils-updateMichael Heimpold2023-10-05
|\ \ \ \ | | | | | | | | | | mmc-utils: update to latest upstream revision
| * | | | mmc-utils: update to latest upstream revisionMichael Heimpold2023-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also requires updating our patch for fortify-ing. We now also pass the version as define during compilation. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | | | ncdu: update to 1.19John Audia2023-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream bump Build system: x86_64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* | | | | yq: Update to 4.35.2Tianling Shen2023-10-03
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | | | prometheus-node-exporter-lua: drop bmx6 packageJosef Schlehofer2023-10-03
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the OpenWrt routing feed, package bmx6 and luci-app-bmx6 were removed because the LuCI app was vulnerable to several CVEs, as found by dependabot. It has been reporting it for a few months and has even created an issue. These two packages are not maintained in OpenWrt as well in upstream. Users should switch to the bmx7 package. Fixes: 9fb9d9343ea27d6dbb5008ece10c0c843dd2c781 ("bmx6: drop package") in the routing feed Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | podman: update to 4.7.0Oskari Rauta2023-10-01
| | | | | | | | | | | | | | | | | | | | | | | | A lot of changes. Changelog available at https://github.com/containers/podman/releases/tag/v4.7.0 Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | | crun: update to 1.9.2Oskari Rauta2023-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changelog 1.9.2: - cgroup: reset the inherited cpu affinity after moving to cgroup. Old kernels do that automatically, but new kernels remember the affinity that was set before the cgroup move, so we need to reset it in order to honor the cpuset configuration. changelog 1.9.1: - utils: ignore ENOTSUP when chmod a symlink. It fixes a problem on Linux 6.6 that always refuses chmod on a symlink. - build: fix build on CentOS 7 - linux: add new fallback when mount fails with EBUSY, so that there is not an additional tmpfs mount if not needed. - utils: improve error message when a directory cannot be created as a component of the path is already existing as a non directory. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | | btrfs-progs: update to version 6.5.1Josef Schlehofer2023-09-23
|/ / / | | | | | | | | | | | | | | | | | | Release notes: https://github.com/kdave/btrfs-progs/releases/tag/v6.5.1 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | docker-compose: Update to version 2.22.0Javier Marcet2023-09-23
| | | | | | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | | mg: switch pcre to pcre2Hirokazu MORIKAWA2023-09-21
| | | | | | | | | | | | | | | | | | | | | Switch pcre to pcre2 https://github.com/openwrt/packages/issues/22006 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* | | setools: Update to 4.4.3Jeffery To2023-09-21
| | | | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | slirp4netns: update to 1.2.2Oskari Rauta2023-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v1.2.2 changes: - Enabled reproducible builds v1.2.1 changes: - sandbox: Add support for escaping resolv.conf symlinks. This fixes usage in WSL environments which symlinks /etc/resolv.conf under a shared location under /mnt. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | collectd: remove target dependency from cpufreq pluginHannu Nyman2023-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently have more package architectures supporting CPU frequency scaling than earlier, and the package architecture vs. CPU target SDK matching does not fully reflect that. (E.g. aarch64_cortex-a53 is currently using bcm27xx/bcm2710) Simplify things by removing the target dependency and let the plugin be built for all architectures. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* | | Merge pull request #22130 from oskarirauta/dockerdFlorian Eckert2023-09-18
|\ \ \ | | | | | | | | dockerd: busybox compatibility
| * | | dockerd: busybox compatibilityOskari Rauta2023-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build hosts with busybox fail with long options on rm command. Short versions are supported by all, so this makes it script compatible with busybox hosts as well. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | | podman: depend on catatonitOskari Rauta2023-09-17
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | podman still seems to use catatonit with rootless containers. It seems that it is possible to use alternatives, such as tini, but maybe go the same way they went on mainstream. This PR just adds catatonit to depends. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | podman: update to 4.6.2Oskari Rauta2023-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch refreshed. Changelog: - Fixed a performance issue when calculating diff sizes in overlay. The podman system df command should see a significant performance improvement. - Fixed a bug where containers in a pod would use the pod restart policy over the set container restart policy. - Fixed a bug in the Compat Build endpoint where the pull query parameter did not parse 0/1 as a boolean. - Updated the containers/storage library to v1.48.1 Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | crun: update to 1.9Oskari Rauta2023-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - support arbitrary idmapped mounts. Now it is possible to specify a mapping for any type of mount, not only bind mounts. - add support for "ridmap" mount option to support recursive idmapped mounts. - fix check for oom_score_adj. Write the oom_score_adj file even when the new value is 0. - features: Support mountExtensions. - correctly handle unknown signal string when it doesn't start with a digit. - do not attempt to join again already joined namespace. - wasmer: use latest wasix API. - refresh libocispec Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | conmon: update to 2.1.8Oskari Rauta2023-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes: - stdio: ignore EIO for terminals - ensure console socket buffers are properly sized - conmon: drop return after pexit() - ctrl: make accept4 failures fatal - logging: avoid opening /dev/null for each write - oom: restore old OOM score - Use default umask 0022 Misc changes: - cli: log parsing errors to stderr - Changes to build conmon for riscv64 - Changes to build conmon for ppc64le - Fix close_other_fds on FreeBSD Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | bandwidthd: drop this packageJosef Schlehofer2023-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package is not maintained by upstream anymore as they replace it by Ntopng 3. [1] Upstream repository is archived and read only since February 2022 [2] [1] https://community.nethserver.org/t/bandwidthd-for-nethserver-7/4071/18 [2] https://github.com/NethServer/bandwidthd Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #21958 from graysky2/ncduAlexandru Ardelean2023-09-10
|\ \ \ | | | | | | | | ncdu: update to 1.18.1
| * | | ncdu: update to 1.18.1John Audia2023-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream bump Build system: x86_64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* | | | Merge pull request #22067 from robimarko/dbusAlexandru Ardelean2023-09-10
|\ \ \ \ | | | | | | | | | | dbus: update to 1.14.10 and take ower maintainership
| * | | | dbus: take maintainership of the packageRobert Marko2023-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since it seems that this nobody wants to be the maintainer of dbus, I can take the responsibility. I am no dbus expert, but can runtime test it and see if change seems sane. Signed-off-by: Robert Marko <robimarko@gmail.com>
| * | | | dbus: update to 1.14.10 stableRobert Marko2023-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current stable branch for dbus is 1.14 and that is recommended to be used. 1.13 was a development branch and not meant for production use. 1.14.10 is the latest stable, so lets move to it. Signed-off-by: Robert Marko <robimarko@gmail.com>
| * | | | dbus: drop CMake patchesRobert Marko2023-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake is not being used to build dbus as it does not respect endinaness under CMake and 1.14 branch. So, lets drop the patches as they will not apply to future 1.14 update. Signed-off-by: Robert Marko <robimarko@gmail.com>
* | | | | Merge pull request #22030 from BKPepe/retake-packagesAlexandru Ardelean2023-09-10
|\ \ \ \ \ | |/ / / / |/| | | | treewide: take maintainership from Karel
| * | | | treewide: take maintainership from KarelJosef Schlehofer2023-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both of us were working for Turris and using these devices on daily basis. A few of these packages are still required and used by Turris. It would be great if Turris people will take maintainership of these packages, but if they decide not to, I can step in and take them. Since Karel switched from using OpenWrt to NixOS and hopefully, I didn't reveal some secret here, let's take maintainership of his packages. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | syncthing: update to 1.24.0Van Waholtz2023-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package can be built with Go 1.21 and QUIC can be enabled. Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
* | | | | cache-domains: Fixed config files being outside of jailGerard Ryan2023-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix dnsmasq failing to startup once configured since the cache-domains config files are not included in the jail that dnsmasq runs inside. Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
* | | | | treewide: change my no longer used emailJosef Schlehofer2023-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company due to some reasons how the development goes and since that day my work address is not available and not sure if there is some redirect to someone else, but if anyone wants to reach me, use my email address, where they can find me. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | docker-compose: Update to version 2.21.0Javier Marcet2023-09-03
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | | | | mhz: respect CC and CFLAGS passed by buildsystemRobert Marko2023-09-03
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that the Makefile has both CC and CFLAGS hardcoded and does not allow overriding them by ones being passed by the buildsystem. This works fine until CONFIG_PKG_ASLR_PIE_ALL is selected, then building will fail with: arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o(.text+0x75c): unresolvable R_ARM_CALL relocation against symbol `__aeabi_l2d@@GCC_3.5 So, lets add a patch pending upstream that allows both CC and CFLAGS to be overriden so that ones passed by the buildsystem are actually respected. Fixes: 89123b308f98 ("mhz: add new package") Signed-off-by: Robert Marko <robimarko@gmail.com>
* | | | collectd-mod-ipstatistics: fix handling of long `/proc` linesAlex Shumsky2023-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `/proc/net/netstat` `TcpExt:` line is 2064 chars long on linux 6.1 Signed-off-by: Alex Shumsky <alexthreed@gmail.com> [PKG_RELEASE bump added]