Commit Graph
5267 Commits
Author SHA1 Message Date
Jan Pavlinec 3ee2a087a3 treewide: change email
Change from jan.pavlinec@nic.cz to jan.pavlinec1@gmail.com

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-07-29 13:21:02 +02:00
Rosen Penev a167eed837 Merge pull request #16173 from neheb/Mc
minicom: update to 2.8
2021-07-28 19:47:19 -07:00
Daniel Golle da00d71f55 uvol: ubi: fix bring-up of ro volumes
Fix bring-up of ro volumes on creation and on boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-28 20:29:56 +01:00
David Bauer bd08bdea6b Merge pull request #16217 from mweinelt/prometheus-hostapd-stations-ifname-fix
prometheus-node-exporter-lua: fix bss identifier in hostapd_stations
2021-07-28 18:17:13 +02:00
Alexandru Ardelean 399bb7f992 squashfs-tools: bump to version 4.5
Drop GCC 10 build patch
Adds 2 more utilities which are symlinks to mksquashfs,unsquashfs.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-26 11:22:54 +03:00
Rosen Penev c83edc105c Merge pull request #16201 from neheb/rrd
rrdtool1: don't build docs
2021-07-25 12:21:16 -07:00
Daniel Golle f4afa4189e uvol: update to version 0.3
* 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>
2021-07-25 00:40:41 +01:00
Martin Weinelt 2849ec248d prometheus-node-exporter-lua: fix bss identifier in hostapd_stations
We previously did not identify the correct BSS from the output of
`hostapd_cli -i <phy> status`, because when asked for a vif it will
always respond with information relevant to the whole phy.

The per vif settings will use an iterator and we now try to detect
the correct BSS from that output.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-24 17:44:14 +02:00
Tianling Shen d8fcfb0628 yq: Update to 4.11.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-24 18:27:59 +08:00
Rosen Penev 55fd042e33 Merge pull request #16179 from neheb/Ba
bash: update to 5.1.8
2021-07-23 19:53:24 -07:00
Rosen Penev cac37fe9ed Merge pull request #16178 from neheb/Bz
bluez: update to 5.60
2021-07-23 19:51:13 -07:00
Rosen Penev 81fbf54f46 Merge pull request #16177 from neheb/Cu
canutils: uipdate to 2021.06.0
2021-07-23 19:51:07 -07:00
Rosen Penev 2e6de93710 minicom: update to 2.8
Switch URL to new upstream.

Switch to AUTORELEASE for simplicity.

Removed most patches as they have been upstreamed. Rebased the remaining
one.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-23 19:50:27 -07:00
Rosen Penev a76dc4ac5c Merge pull request #16168 from neheb/Spi
spi-tools: update to 1.0.0
2021-07-23 19:48:16 -07:00
Rosen Penev 03580ba05f Merge pull request #16169 from neheb/Yara
yara: update to 4.1.1
2021-07-23 19:48:01 -07:00
Rosen Penev 566ec7008f triggerhappy: don't build man pages
Fixes compilation without host pod2man.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-23 19:38:56 -07:00
Javier Marcet 2bff0b47aa cryptsetup: update to version 2.3.6
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-07-24 00:04:40 +01:00
Daniel Golle 9c59eff456 uvol: adapt to changes in core
* 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>
2021-07-24 00:02:51 +01:00
Javier Marcet c76b09f810 ctop: update to 0.7.6
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-07-23 22:57:53 +02:00
Rosen Penev d67dde734c rrdtool1: don't build docs
Fixes compilation without host pod2man.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-22 16:31:04 -07:00
Rosen Penev e07a7928e4 fuse3: update to 3.10.4
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:29:05 -07:00
Rosen Penev e4d63c297d ncdu: udpate to 1.16
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:17:22 -07:00
Rosen Penev 069f1a80b6 bash: update to 5.1.8
Switch to AUTORELEASE for simplicity.

Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:15:52 -07:00
Rosen Penev 5c467bb76f bluez: update to 5.60
Switch to AUTORELEASE for simplicity.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:15:13 -07:00
Rosen Penev 5fb11cf1d5 canutils: uipdate to 2021.06.0
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:14:39 -07:00
Rosen Penev 9519819d66 fish: update to 3.3.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:12:56 -07:00
Rosen Penev 00da88bc70 gptfdisk: update to 1.0.8
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:12:03 -07:00
Rosen Penev 3d8514b198 yara: update to 4.1.1
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-20 19:49:52 -07:00
Rosen Penev efc131fcae spi-tools: update to 1.0.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-20 19:49:14 -07:00
Tianling Shen a5f657ecf7 yq: Update to 4.11.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-19 22:14:58 +08:00
Rosen Penev e11af80719 Merge pull request #16097 from neheb/telldus
telldus-core: fix compilation with GCC11
2021-07-19 04:00:37 -07:00
Sebastian Kemper f37006c2e6 sane-backends: use macros (properly), remove chmod
- 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>
2021-07-17 14:03:44 +02:00
Sebastian Kemper 977109e286 sane-backends: fix usbid file generation
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>
2021-07-17 14:01:04 +02:00
Daniel Golle ad61196780 uvol: general clean up
* 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>
2021-07-16 22:48:38 +01:00
Tianling Shen 855e5b6eb5 yq: Update to 4.9.8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-15 17:24:46 +08:00
Rosen Penev 048a2f68ca whois: remove nls.mk
whois as implemented in the OpenWrt package does not use gettext. Fixes
compilation issue with glibc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-13 21:19:17 -10:00
Josef Schlehofer 46747ada81 Merge pull request #16089 from turris-cz/lxc-switch-gpg-keyserver
lxc: add patch to switch GPG server
2021-07-11 20:43:48 +02:00
Rosen Penev 1cebb8e278 telldus-core: fix compilation with GCC11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:26:35 -07:00
Rosen Penev bd7b0eaa3b Merge pull request #16073 from neheb/hashdeep
hashdeep: fix compilation with GCC11
2021-07-11 00:12:03 -07:00
Daniel Golle e8c735f74a autopart: work on MBR/DOS partitioned disks
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>
2021-07-10 22:04:43 +01:00
Josef Schlehofer 70e06afd07 lxc: add patch to switch GPG server
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>
2021-07-10 18:16:52 +02:00
Rosen Penev e3f97d4832 hashdeep: fix compilation with GCC11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:53:25 -07:00
Tianling Shen faf915e97d yq: Update to 4.9.7
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-07 20:31:10 +08:00
Paul Spooren 2383a413ec syncthing: update to v1.18.0
See upstream release notes for changes:
https://github.com/syncthing/syncthing/releases/tag/v1.18.0

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-07-06 16:59:02 -10:00
Martin Weinelt df446adc24 prometheus-node-exporter-lua: Bump PKG_RELEASE
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt 445d8927f6 prometheus-node-exporter-lua: lower case bssid label value in wifi exporter
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>
2021-07-06 13:37:36 -04:00
Martin Weinelt a1b145abb0 prometheus-node-exporter-lua: fix corner case in hostapd_stations
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>
2021-07-06 13:37:36 -04:00
Martin Weinelt a98596168a prometheus-node-exporter-lua: normalize metric names in hostapd_stations
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>
2021-07-06 13:37:36 -04:00
Martin Weinelt 0a9d2b818d prometheus-node-exporter-lua: handle empty lines in all_sta output correctly
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>
2021-07-06 13:37:36 -04:00
Martin Weinelt 6d85547f24 prometheus-node-exporter-lua: increase label density in hostapd_stations
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>
2021-07-06 13:37:36 -04:00