Commit Graph

3739 Commits

Author SHA1 Message Date
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
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
Sebastian Kemper 1c73bd8591 mariadb: fix cmake issue
Same fix that went into libmariadb package with commit fd13c12.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-06-26 23:11:53 +02:00
Yuhei OKAWA 448db7a507 open-vm-tools: update to 11.3.0
Refreshed patches.

Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
2021-06-23 23:09:57 +09:00
Rosen Penev 2ed47b5414
Merge pull request #15884 from neheb/dom
domoticz: update to 2021.1 and fix other packages
2021-06-21 20:08:09 -07:00
Rosen Penev caa2cc5cc1 sumo: fix compilation when gtest is present
Removes cmake check for gtest.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-19 14:10:20 -07:00
Tianling Shen 6c6b74b8f8
yq: Update to 4.9.6
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-18 22:58:04 +08:00
Rosen Penev 89e9a1a634
Merge pull request #15875 from CodeFetch/patch-10
apparmor: fix packaging
2021-06-17 11:53:08 -07:00
Hannu Nyman 6f2ac237a1 nano: update to 5.8
Update nano editor version to 5.8.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-06-17 19:03:11 +03:00
Rosen Penev 1049f8bf7b
Merge pull request #15879 from neheb/lesss
less: update to 590
2021-06-17 06:22:12 -07:00
W. Michael Petullo a41556af4f podman: change permissions on /usr/share/containers/seccomp.json
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>
2021-06-16 22:08:01 -05:00
Vincent Wiemann dcd72a7d84 apparmor: fix packaging
Removes the BUILDONLY flag as otherwise no packages will be created.

Signed-off-by: Vincent Wiemann <vincent.wiemann@ironai.com>
2021-06-17 00:14:19 +02:00
Rosen Penev edfb91f334 domoticz: update to 2021.1
Remove outdated patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-15 20:04:50 -07:00
Rosen Penev 22055fdb15 less: update to 590
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-15 19:57:00 -07:00
Rosen Penev b445e13850 hdparm: update to 9.62
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-15 19:56:00 -07:00
Rosen Penev b1585a5375 exfatprogs: update to 1.1.2
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-15 19:54:45 -07:00
Rosen Penev 1517ca5e56
Merge pull request #15876 from mstorchak/tmux
tmux: update to 3.2a
2021-06-15 18:04:32 -07:00
Daniel Golle 9150e82768 auc: update to version 0.1.7
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>
2021-06-15 10:47:50 +01:00
Florian Eckert a4eb7f4499
Merge pull request #15825 from TDT-AG/pr/20210611-dockerd
dockerd: refactoring uciadd and ucidel handling
2021-06-15 11:16:54 +02:00