Commit Graph

3756 Commits

Author SHA1 Message Date
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
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 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
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 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 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
Florian Eckert 09b96b52e4
Merge pull request #16047 from oskarirauta/apparmor_utils
apparmor: add missing parser.conf
2021-07-06 10:55:23 +02:00
Daniel Golle 194e7f0286
uvol: fix units with lvm backend
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>
2021-07-06 05:27:13 +01:00
Oskari Rauta 18cf9866d0 apparmor: add missing parser.conf
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-07-06 03:38:44 +03:00
Baptiste Jonglez 7fe513971f tessdata: uncompress tarball only once to speed up builds
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>
2021-06-30 14:09:42 +02:00
Daniel Golle 1204cb82f9 auc: update to version 0.1.8
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>
2021-06-30 01:40:37 +01:00
Rosen Penev dfee9d005d
Merge pull request #15979 from G-M0N3Y-2503/cache-domains-fix-wildcard
cache-domains: Fixed missing wildcard entries
2021-06-29 14:50:12 -07:00
Rosen Penev ea8083639d
Merge pull request #15950 from rsalvaterra/lolcat
lolcat: add package
2021-06-29 14:45:47 -07:00
Rosen Penev 789a4e2a9a
Merge pull request #15877 from neheb/exfatp
exfatprogs: update to 1.1.2
2021-06-29 14:41:19 -07:00
Rosen Penev 0c025e503c
Merge pull request #15889 from flyn-org/podman
podman: change permissions on /usr/share/containers/seccomp.json
2021-06-28 12:50:21 -07:00
Rui Salvaterra d2582939ad lolcat: add package
A pure C implementation of lolcat, probably the lightest out there.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-28 09:05:19 +01:00
Gerard Ryan 8347b46969 cache-domains: Fixed missing wildcard entries
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>
2021-06-27 17:11:08 +10:00