Commit Graph

24865 Commits

Author SHA1 Message Date
Rosen Penev 5685d92268 erlang: disable PIE
Fails to compile with it on.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 02:03:44 -07:00
Rosen Penev f200c802c3
Merge pull request #15945 from neheb/tv
tvheadend: fix compilation with GCC 9 and 10
2021-07-11 00:18:38 -07:00
Rosen Penev a3a30041e4
Merge pull request #16068 from neheb/kea
kea: fix compilation with GCC11
2021-07-11 00:13:25 -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 a78e527012
transmission: bump PKG_RELEASE
The commit updating the seccomp filter didn't bump PKG_RELEASE.
Do that now.

Fixes: 1141ee1e5 ("transmission: add new syscalls to seccomp filter)"
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-10 22:53:26 +01:00
Daniel Golle 1141ee1e51
transmission: add new syscalls to seccomp filter
Testing showed that additional syscalls are needed on ARMv7.
Add "getegid32", "geteuid32", "getgid32" and "getrandom" as they are
all innocent.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-10 22:04:50 +01: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
Rosen Penev d64eaa8796
Merge pull request #16072 from neheb/nutt
nut: fix compilation with GCC11
2021-07-09 12:54:17 -07:00
Josef Schlehofer 4124421cd5
Merge pull request #16077 from wodu/linuxptp_maint
linuxptp: Upgrade to version 3.1.1
2021-07-09 08:49:14 +02:00
Florian Eckert ef94ae52c3
Merge pull request #16066 from TDT-AG/pr/20210707-mwan3
mwan3: add internal command
2021-07-09 08:47:50 +02:00
Wojciech Dubowik fc72fdf27c linuxptp: Upgrade to version 3.1.1
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@westermo.com>
2021-07-09 08:38:48 +02:00
Nick Hainke 3d174b39cd dawn: update to latest version
555268b ubus: filter neighbors by SSID when preparing nr
3db9607 data storage: match SSID when searching ap entry
a22f5a7 storage: ensure SSID strings are NULL-terminated

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-07-08 17:00:48 +02:00
Florian Eckert 44d79147ea mwan3: bump PKG_VERSION to 2.10.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-08 09:07:52 +02:00
Florian Eckert 619b721c2f mwan3: add troublshoot command from LuCI
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-08 09:07:52 +02:00
Florian Eckert a9dac71e3d mwan3: cleanup help output
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-07-08 09:07:52 +02:00
Josef Schlehofer d8b4e7e371
Merge pull request #16063 from 1715173329/yq
yq: Update to 4.9.7
2021-07-08 06:22:19 +02:00
Rosen Penev c14c85fbc7 dtc: update to 1.6.1
Fixes compilation with GCC11.

Reorganized Makefile variables for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-08 12:05:50 +08:00
Rosen Penev 8923becfcc
Merge pull request #16075 from neheb/ebml
libebml: fix compilation with GCC11
2021-07-07 16:59:37 -07:00
Rosen Penev ba599764ca
Merge pull request #16069 from neheb/ele
libelektra: fix compilation with GCC11
2021-07-07 16:59:15 -07:00
Rosen Penev 62d7bb5aba libebml: fix compilation with GCC11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:55:26 -07: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
Rosen Penev db6a4f797f nut: fix compilation with GCC11
nut is a C++98 project which does not compile with GCC11's default of
C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:52:31 -07:00
Rosen Penev 92e08f83e5 libelektra: fix compilation with GCC11
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:49:57 -07:00
Rosen Penev a2332f2bcb kea: fix compilation with GCC11
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:48:51 -07:00
Rosen Penev e38c5e48bd
Merge pull request #16061 from nxhack/libupm_fix_build_error_with_gcc11
libupm: Workaround for errors with GCC11
2021-07-07 13:04:21 -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
Hirokazu MORIKAWA ed818a9fdb libupm: Workaround for errors with GCC11
https://github.com/openwrt/packages/issues/16060

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-07-07 18:25:48 +09:00
Rosen Penev 497a1c52c3
Merge pull request #16044 from tru7/libfmt
libfmt: bump to version 8.0.1
2021-07-07 00:28:33 -07:00
Josef Schlehofer 86c72d8095
Merge pull request #16055 from BKPepe/yt-update
youtube-dl: update to version 2021.6.6
2021-07-07 09:03:29 +02:00
Rosen Penev a6517cf5f2
Merge pull request #16049 from nxhack/libuv_CVE-2021-22918
libuv: fix CVE-2021-22918
2021-07-06 23:02:13 -07:00
Rosen Penev aec5150b74
Merge pull request #16053 from PowerDNS/pdns-recursor-4.5.4
pdns-recursor: update to 4.5.4
2021-07-06 23:01:35 -07: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
Sebastian Kemper 9ba7d16a1e postgresql: prevent addition of ARM target flag
configure.in checks for "ARMv8 CRC32C intrinsics" and goes as far as
adding "-march=armv8-a+crc" to the target flags if the compiler allows
it. This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:

  cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch

This commit prevents configure.in from adding the mentioned flag. The
addition is unwanted when cross-compiling.

An issue was raised for this recently, see [1].

[1] https://github.com/openwrt/packages/issues/16034

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-07-07 01:12:53 +01: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
Josef Schlehofer fbe3079179
youtube-dl: update to version 2021.6.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-06 17:09:49 +02:00
Alexandru Ardelean d27d23167b python3: do a simple ls on pip & setuptools if not selected for build
I seem to forget to check/select setuptools and pip (that come bundled with
Python).
This change will do a simple 'ls' on the 2 wheel files, so that the build
fails even if just building Python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Alexandru Ardelean 8b3297e507 python3: update to version 3.9.6
Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Peter van Dijk 59625074e5 pdns-recursor: update to 4.5.4
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2021-07-06 13:37:59 +02: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
Florian Eckert 061e0b3e09
Merge pull request #16029 from dangowrt/mwan3-rttables
mwan3: use default routes from additional tables
2021-07-06 07:54:32 +02:00
Hirokazu MORIKAWA aaa46eb44e libuv: fix CVE-2021-22918
idna: fix OOB read in punycode decoder

libuv was vulnerable to out-of-bounds reads in the uv__idna_toascii()
function which is used to convert strings to ASCII. This is called by
the DNS resolution function and can lead to information disclosures or
crashes.

b7466e31e4
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990561
https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-07-06 13:49:15 +09: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
Michael Heimpold 42aa15b653
Merge pull request #16038 from mhei/php7-update
php7: update to 7.4.21
2021-07-05 20:58:41 +02:00
Michael Heimpold 7984c71bdd
Merge pull request #16037 from mhei/php8-update
php8: update to 8.0.8
2021-07-05 20:58:30 +02:00