aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* syncthing: update to v1.18.0Paul Spooren2021-07-06
| | | | | | | See upstream release notes for changes: https://github.com/syncthing/syncthing/releases/tag/v1.18.0 Signed-off-by: Paul Spooren <mail@aparcar.org>
* prometheus-node-exporter-lua: Bump PKG_RELEASEMartin Weinelt2021-07-06
| | | | Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* prometheus-node-exporter-lua: lower case bssid label value in wifi exporterMartin Weinelt2021-07-06
| | | | | | | To allow cross matching bssids between different exporters we need to use the same case, as label matching is case senstive. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* prometheus-node-exporter-lua: fix corner case in hostapd_stationsMartin Weinelt2021-07-06
| | | | | | | | | | | There was a corner case, when a vif had no stations, that evaluate_metrics for a station that was nil and had no collected metrics would have been called. Comment the code, to make it easier to understand and follow, and simplify some variable names along the way. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* prometheus-node-exporter-lua: normalize metric names in hostapd_stationsMartin Weinelt2021-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normalizes metrics according to the Prometheus upstream metric guidelines available at https://prometheus.io/docs/practices/naming/. Drops the `hostapd_station_wpa` metric, because it is misleading, as it is not a differentiator between WPA versions, like one could be led to assume. Exposes more flags in a more consistent manner. Their metric was previously only exposed if the flag was present, but not if it wasn't. The same applies issue was fixed with regards to vht caps. After this commit the following breaking changes are in place: - All flags have been moved below `hostapd_station_flags_$flagname`: - `hostapd_station_ht` is now `hostapd_station_flag_ht` - `hostapd_station_mfp` is now `hostapd_station_flag_mfp` - `hostapd_station_vht` is now `hostapd_station_flag_vht` - `hostapd_station_wmm` is now `hostapd_station_flag_wmm` - New flags have been exposed: - `hostapd_station_flag_he` for high-efficency connections - `hostapd_station_flag_short_preamble` for short preamble connections - `hostapd_station_flag_auth` for authentication state - `hostapd_station_flag_assoc` for association state - Some metrics have had their unit normalized to the SI base unit or embedded into the metrics name: - `hostapd_station_inactive_msec` is now `hostapd_station_inactive_seconds`, the value is still float64 and as such has enough precision anyway, but becomes easier to reason about - `hostapd_station_connected_time` has been renamed to `hostapd_station_connected_seconds_total` so the unit, as well as the nature of the counter is reflected - `hostapd_station_signal` now includes its unit and is therefore named `hostapd_station_signal_dbm` - The packet counter metrics have been normalized to what the node exporter uses, so it is more in line with the defaults in the Prometheus ecosystem: - `hostapd_station_rx_packets` is now `hostapd_station_receive_packets_total` - `hostapd_station_rx_bytes` is now `hostapd_station_receive_bytes_total` - `hostapd_station_tx_packets` is now `hostapd_station_transmit_packets_total` - `hostapd_station_tx_bytes` is now `hostapd_station_transmit_bytes_total` Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* prometheus-node-exporter-lua: handle empty lines in all_sta output correctlyMartin Weinelt2021-07-06
| | | | | | | An empty line has a name and value that is nil and setting a table index to nil breaks metrics for every vif after the first one. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* prometheus-node-exporter-lua: increase label density in hostapd_stationsMartin Weinelt2021-07-06
| | | | | | | | | | | | Correlating data is only possible when we have more metadata, this adds a bunch of labels for each client, that will increase the depth of dashboards yet to come. In particular the changes in this commit are: - renames the `ifname` label to `vif` - adds `frequency`, `channel`, `bssid`, `ssid`, `encryption` and `mode` Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* Merge pull request #16047 from oskarirauta/apparmor_utilsFlorian Eckert2021-07-06
|\ | | | | apparmor: add missing parser.conf
| * apparmor: add missing parser.confOskari Rauta2021-07-06
| | | | | | | | Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | uvol: fix units with lvm backendDaniel Golle2021-07-06
|/ | | | | | | | Free and total bytes are now properly returned as bytes by LVM2 as requested. No longer multiply values. Fix parameter order of 'create' command in usage output while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tessdata: uncompress tarball only once to speed up buildsBaptiste Jonglez2021-06-30
| | | | | | | | | | | | | | | The previous approach was to uncompress N times a big tarball (638 MB) where N=130 is the number of supported languages. Each iteration would only extract a single file, but it still needs to uncompress the whole tarball. This is of course completely inefficient. Now, we uncompress the tarball only once to extract all relevant files, and then iterate N times to copy the file needed for each language. This massively speeds up builds, at the expense of temporarily requiring more build space (about 1 GB more) Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
* auc: update to version 0.1.8Daniel Golle2021-06-30
| | | | | | | This fixes support for x86, auc now selects the right combined image depending on the system being booted in EFI mode or not. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #15979 from G-M0N3Y-2503/cache-domains-fix-wildcardRosen Penev2021-06-29
|\ | | | | cache-domains: Fixed missing wildcard entries
| * cache-domains: Fixed missing wildcard entriesGerard Ryan2021-06-27
| | | | | | | | | | | | | | | | The fix requires the use of the generated dnsmasq `lancache.conf` file. So I moved configuration of the hosts directory out of the UCI and into the generated dnsmasq configuration file to simplify the script. Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
* | Merge pull request #15950 from rsalvaterra/lolcatRosen Penev2021-06-29
|\ \ | | | | | | lolcat: add package
| * | lolcat: add packageRui Salvaterra2021-06-28
| | | | | | | | | | | | | | | | | | A pure C implementation of lolcat, probably the lightest out there. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* | | Merge pull request #15877 from neheb/exfatpRosen Penev2021-06-29
|\ \ \ | | | | | | | | exfatprogs: update to 1.1.2
| * | | exfatprogs: update to 1.1.2Rosen Penev2021-06-15
| | | | | | | | | | | | | | | | | | | | | | | | Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | Merge pull request #15889 from flyn-org/podmanRosen Penev2021-06-28
|\ \ \ \ | |_|/ / |/| | | podman: change permissions on /usr/share/containers/seccomp.json
| * | | podman: change permissions on /usr/share/containers/seccomp.jsonW. Michael Petullo2021-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running podman as users other than root seems to require that those users can read /usr/share/containers/seccomp.json. This change sets the permissions on that file to match those used on Fedora. Signed-off-by: W. Michael Petullo <mike@flyn.org>
* | | | mariadb: fix cmake issueSebastian Kemper2021-06-26
| |_|/ |/| | | | | | | | | | | | | | Same fix that went into libmariadb package with commit fd13c12. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* | | open-vm-tools: update to 11.3.0Yuhei OKAWA2021-06-23
| | | | | | | | | | | | | | | | | | Refreshed patches. Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
* | | Merge pull request #15884 from neheb/domRosen Penev2021-06-21
|\ \ \ | | | | | | | | domoticz: update to 2021.1 and fix other packages
| * | | domoticz: update to 2021.1Rosen Penev2021-06-15
| | |/ | |/| | | | | | | | | | | | | Remove outdated patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | sumo: fix compilation when gtest is presentRosen Penev2021-06-19
| | | | | | | | | | | | | | | | | | Removes cmake check for gtest. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | yq: Update to 4.9.6Tianling Shen2021-06-18
| | | | | | | | | | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | Merge pull request #15875 from CodeFetch/patch-10Rosen Penev2021-06-17
|\ \ \ | | | | | | | | apparmor: fix packaging
| * | | apparmor: fix packagingVincent Wiemann2021-06-17
| | | | | | | | | | | | | | | | | | | | | | | | Removes the BUILDONLY flag as otherwise no packages will be created. Signed-off-by: Vincent Wiemann <vincent.wiemann@ironai.com>
* | | | nano: update to 5.8Hannu Nyman2021-06-17
| | | | | | | | | | | | | | | | | | | | | | | | Update nano editor version to 5.8. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* | | | Merge pull request #15879 from neheb/lesssRosen Penev2021-06-17
|\ \ \ \ | |_|_|/ |/| | | less: update to 590
| * | | less: update to 590Rosen Penev2021-06-15
| | |/ | |/| | | | | | | | | | | | | Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* / | hdparm: update to 9.62Rosen Penev2021-06-15
|/ / | | | | | | | | | | Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #15876 from mstorchak/tmuxRosen Penev2021-06-15
|\ \ | |/ |/| tmux: update to 3.2a
| * tmux: update to 3.2aMaxim Storchak2021-06-15
| | | | | | | | Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* | auc: update to version 0.1.7Daniel Golle2021-06-15
| | | | | | | | | | | | | | | | No longer fail in case a package is part of multiple lists (which may happen temporarily in case it becomes 'nonshared'). Bump version to prepare for sync accross branches. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | Merge pull request #15825 from TDT-AG/pr/20210611-dockerdFlorian Eckert2021-06-15
|\ \ | | | | | | dockerd: refactoring uciadd and ucidel handling
| * | dockerd: refactoring uciadd and ucidel handlingFlorian Eckert2021-06-15
| | | | | | | | | | | | | | | | | | | | | This change makes the handling of adding and deleting interface, device bridge and firewall more robust. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | mg: bump to 6.9Hirokazu MORIKAWA2021-06-15
| |/ |/| | | | | Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* | Merge pull request #15864 from commodo/stress-ng-updateRosen Penev2021-06-14
|\ \ | | | | | | stress-ng: bump to version 0.12.10
| * | stress-ng: bump to version 0.12.10Alexandru Ardelean2021-06-14
| | | | | | | | | | | | | | | | | | | | | Patch `010-soft-float.patch` can be dropped. It was upstreamed via https://github.com/ColinIanKing/stress-ng/pull/126 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | parted: add new packageOskari Rauta2021-06-14
|/ / | | | | | | Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | auc: fix several issuesDaniel Golle2021-06-13
| | | | | | | | | | | | | | | | | | | | * don't segfault if server reply is incomplete * always request 'generic' image on x86/generic and x86/64 * make SNAPSHOT branches sticky, eg. stay on 21.02-SNAPSHOT and do not 'upgrade' to 21.02.0-rc2. * output requested server URL when debugging Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | squashfs-tools: build with xz by defaultDaniel Golle2021-06-13
| | | | | | | | | | | | | | | | squashfs-tools aren't of much use without xz compression support on OpenWrt, as we build kernel with squashfs supporting only xz. Enabled support for xz compression by default. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | uvol: try to be more shellcheck compliant, fix LVM vol-upDaniel Golle2021-06-13
| | | | | | | | | | | | | | | | | | * quotes around all variables * always use 'read -r' instead of 'read' * some more minor shellcheck fixes * reorder LVM ops for 'up' call to allow it to succeed Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | prometheus-node-export-lua: add my emailKevin Lyda2021-06-13
| | | | | | | | | | | | Add my email address to the copyright for the file. Signed-off-by: Kevin Lyda <kevin@lyda.ie>
* | treewide: back to cmake.mkRosen Penev2021-06-12
| | | | | | | | | | | | Ninja was merged to base and therefore we can now use normal cmake.mk Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #15814 from neheb/t1Rosen Penev2021-06-11
|\ \ | |/ |/| tang: remove outdated key handling
| * tang: remove outdated key handlingRosen Penev2021-06-09
| | | | | | | | | | | | | | | | As of https://github.com/latchset/tang/commit/c0f080efcd2e50 , tang has no more tangd-update. Instead, it handles it itself. Update postinst script. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | cni: update to 0.8.1Oskari Rauta2021-06-10
| | | | | | | | | | | | | | | | | | | | | | This is a security release that fixes a single bug: - tighten up plugin-finding logic (#811) Users of libcni are strongly encouraged to update. Added me to list of maintainers as requested by @dangowrt. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | Merge pull request #15820 from ktgeek/compile-fixes-15807-15818Rosen Penev2021-06-10
|\ \ | | | | | | bluld: fix compilation issues for nls and string truncation