aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* uvol: update to version 0.3Daniel Golle2021-07-25
| | | | | | | | | | | * genrate UCI fstab configs for each volume before first 'up' * remove UCI section on volume remove * use autofs automounter for read-only volumes * try umount on 'down' * emulate hotplug events for UBI volume up/down * more robust error paths Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* yq: Update to 4.11.2Tianling Shen2021-07-24
| | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* Merge pull request #16179 from neheb/BaRosen Penev2021-07-23
|\ | | | | bash: update to 5.1.8
| * bash: update to 5.1.8Rosen Penev2021-07-21
| | | | | | | | | | | | | | | | Switch to AUTORELEASE for simplicity. Remove upstream backports. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #16178 from neheb/BzRosen Penev2021-07-23
|\ \ | | | | | | bluez: update to 5.60
| * | bluez: update to 5.60Rosen Penev2021-07-21
| |/ | | | | | | | | | | | | | | Switch to AUTORELEASE for simplicity. Refresh patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #16177 from neheb/CuRosen Penev2021-07-23
|\ \ | | | | | | canutils: uipdate to 2021.06.0
| * | canutils: uipdate to 2021.06.0Rosen Penev2021-07-21
| |/ | | | | | | | | | | Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #16168 from neheb/SpiRosen Penev2021-07-23
|\ \ | | | | | | spi-tools: update to 1.0.0
| * | spi-tools: update to 1.0.0Rosen Penev2021-07-20
| |/ | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #16169 from neheb/YaraRosen Penev2021-07-23
|\ \ | | | | | | yara: update to 4.1.1
| * | yara: update to 4.1.1Rosen Penev2021-07-20
| |/ | | | | | | | | | | Remove upstreamed patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | cryptsetup: update to version 2.3.6Javier Marcet2021-07-24
| | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | uvol: adapt to changes in coreDaniel Golle2021-07-24
| | | | | | | | | | | | | | | | | | * lvm: remove left-over ubus events * lvm: resolve /dev/dm-* device name As block-mount and blockd now use /dev/dm-* names, let uvol also return those device names. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | ctop: update to 0.7.6Javier Marcet2021-07-23
| | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | fuse3: update to 3.10.4Rosen Penev2021-07-21
|/ | | | | | Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* yq: Update to 4.11.0Tianling Shen2021-07-19
| | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* Merge pull request #16097 from neheb/telldusRosen Penev2021-07-19
|\ | | | | telldus-core: fix compilation with GCC11
| * telldus-core: fix compilation with GCC11Rosen Penev2021-07-11
| | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | sane-backends: use macros (properly), remove chmodSebastian Kemper2021-07-17
| | | | | | | | | | | | | | | | | | | | - use $(INSTALL_DIR) instead of mkdir - using $(INSTALL_CONF) and then running chmod is pointless, use $(INSTALL_DATA) directly - /etc/xinetd.d/sane-port doesn't need read protection from non-root users, use $(INSTALL_DATA) as well Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* | sane-backends: fix usbid file generationSebastian Kemper2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | On some build systems (build bots, Debian Buster for example) the current mechanism in the Build/Install define doesn't run. Replace it with shell fu that works. Issue was reported, see [1]. [1] https://github.com/openwrt/packages/issues/16085 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* | uvol: general clean upDaniel Golle2021-07-16
| | | | | | | | | | | | | | | | | | * make sure new volumes are in state 'down' until explicitely requested to transition to 'up' state. Useful for additional verification steps after writing a read-only volume. * remove unused ubus events as blockd does that much better now Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | yq: Update to 4.9.8Tianling Shen2021-07-15
| | | | | | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | whois: remove nls.mkRosen Penev2021-07-13
| | | | | | | | | | | | | | whois as implemented in the OpenWrt package does not use gettext. Fixes compilation issue with glibc. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | Merge pull request #16089 from turris-cz/lxc-switch-gpg-keyserverJosef Schlehofer2021-07-11
|\ \ | |/ |/| lxc: add patch to switch GPG server
| * lxc: add patch to switch GPG serverJosef Schlehofer2021-07-10
| | | | | | | | | | | | | | | | | | | | | | By default, there was used sks-keyservers.net pool, which has invalid SSL certificate and they also announced that their service is deprecate and no longer maintained. Use the same GPG server as LXC is using by default in the newer releases. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | Merge pull request #16073 from neheb/hashdeepRosen Penev2021-07-11
|\ \ | | | | | | hashdeep: fix compilation with GCC11
| * | hashdeep: fix compilation with GCC11Rosen Penev2021-07-07
| | | | | | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | autopart: work on MBR/DOS partitioned disksDaniel Golle2021-07-10
| |/ |/| | | | | | | | | | | | | Using GPT/UUID parition table is not always a possible choice. Add support for MBR/DOS partitioned disks to make autopart work on legacy targets like mt7623. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | yq: Update to 4.9.7Tianling Shen2021-07-07
|/ | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* 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>