Commit Graph

24877 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca 1b41e8f641 ruby: update to 3.0.2
This release fixes some bugs and these vulnerabilities:

* CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP
* CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP
* CVE-2021-31799: A command injection vulnerability in RDoc

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-07-15 14:44:15 -03:00
Josef Schlehofer e319e89fde
syslog-ng: disable mqtt
For now, disable mqtt as it was automatically enabled as the build
system finds compiled libpaho-mqtt-c and requires dependency.

---
Here is the output:
Package syslog-ng is missing dependencies for the following libraries:
libpaho-mqtt3c.so.1
---

This is a new feature since syslog-ng 3.33.1 and if anyone is interested
in it, it can be enabled.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-12 16:16:57 +02:00
Philip Prindeville 8ece746b51
Merge pull request #16105 from turris-cz/syslog-ng/update
syslog-ng: update to version 3.33.1
2021-07-11 13:31:20 -06: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
Josef Schlehofer 2b4be08a8c
syslog-ng: update to version 3.33.1
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.1

- Bump version in config
It fixes:
WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.33 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.31'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-11 20:23:28 +02:00
Nick Hainke 65e19092a9 dawn: update to 2021-07-11
ec9a3a9 fix GCC11 compilation

Thanks to neheb and cotequeiroz.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-07-11 17:34:08 +02:00
Rosen Penev 6dfd07097d apache: update to 2.4.48
Refreshed patch.

Fixes:

CVE-2019-17567
CVE-2020-13938
CVE-2020-13950
CVE-2020-35452
CVE-2021-26690
CVE-2021-26691
CVE-2021-30641
CVE-2021-31618

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 11:17:36 +02:00
Rosen Penev 510301d3dc
Merge pull request #16096 from neheb/ibr
ibrdtn stuff: fix compilation with GCC11
2021-07-11 02:04:12 -07:00
Rosen Penev e3b89b6f5d ibrcommon: fix compilation with GCC11
GCC11 defaults to C++17, which does not allow throw specifiers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:24:21 -07:00
Rosen Penev 20d01239c7 ibrdtn-tools: fix compilation with GCC11
throw() is not supported with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:23:55 -07:00
Rosen Penev 77e696ccdc ibrdtnd: fix compilation with GCC11
throw() is not compatible with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:23:55 -07:00
Rosen Penev f2313569b6 ibrdtn: fix compilation with GCC11
GCC11 defaults to C++17, which does now allow specifying throw().

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:23:55 -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
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 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