Commit graph

27591 commits

Author SHA1 Message Date
Liangbin Lian
7af716f12d rclone: fix init script on CIDR format ipaddr
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2022-08-13 11:34:21 +02:00
John Audia
2611b86547 rsync: fix CVE-2022-29154
The rsync package is vulnerable to CVE-2022-29154[1], which is not yet in a
non-preview release. This commit applies the upstream commit to fix it and
several subsequent commits needed to fix bugs the initial fix introduced[2].

1. https://rsync.samba.org/ftp/rsync/NEWS#SECURITY_FIXES-3.2.5
2. https://bugs.archlinux.org/task/75558

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-13 11:31:08 +02:00
Josef Schlehofer
6345250af4
Merge pull request #19156 from turris-cz/websockets
python-websockets: update to version 10.3
2022-08-13 07:56:28 +02:00
Josef Schlehofer
ce1679a07f
python-websockets: update to version 10.3
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-12 21:35:39 +02:00
Alexandru Ardelean
7c9a2a687d libwebp: bump to version 1.2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-12 21:24:10 +02:00
Josef Schlehofer
d3eca9a12c
Merge pull request #19085 from hardfalcon/unbound-1.16.2
unbound: update to 1.16.2, fix CVE-2022-30698, CVE-2022-30699
2022-08-12 06:09:34 +02:00
Rafał Miłecki
d0406d4c95 ksmbd-tools: add package with hotplug.d script for auto sharing
One of common use cases for SMB3 server in routers is sharing hotplugged
drives. Users make many attempts setting that up which often are not
optimal.

This script handles it in the cleanest way by using:
1. hotplug.d mount subsystem
2. runtime config in the /var/run/config/

It provides a working basic solution that can be later adjusted by
modifying provided hotplug script.

A pretty much idential solution was part of the samba36 package. It was
added in the OpenWrt commit ef1efa756e0d0 ("samba36: add package with
hotplug.d script for auto sharing") as an answer for feature required by
the Rosinson company.

Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-08-11 14:05:45 -07:00
Rafał Miłecki
c9cba61989 ksmbd-tools: append config from /var/run/config/ for runtime shares
Dynamically created shares shouldn't be stored in the /etc/config/
because of:
1. Flash wearing
2. Risk of inconsistent state on reboots

With this change all automation/hotplug.d scripts can store runtime in
the /var/run/config/samba. It's useful e.g. for USB drives that user
wants to be automatically shared.

Also: automated scripts should never call "uci [foo] commit" as that
could flush incomplete config. This problem also gets solved.

Identical feature was added to samba36 in the OpenWrt commit
5a59e2c059866 ("samba36: append config from /var/run/config/ for runtime
shares") but wasn't ported to ksmbd until now.

Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-08-11 14:05:45 -07:00
Philip Prindeville
5a2fa10d07
Merge pull request #19146 from pprindeville/strongswan-include-mgf1
strongswan: bundle mgf1 with everything
2022-08-10 21:45:59 -06:00
Yousong Zhou
04ee032699 shadowsocks-libev: ss-rules: nft rule cleanup on reload
Remove nft rules file generated by ss-rules if ss-rules was or should be
turned off for by configuration.  Use "fw4 restart" instead of "fw4
reload" to force the runtime rule reloading

Ref: https://github.com/openwrt/packages/pull/17937#issuecomment-1207357037
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2022-08-11 10:44:10 +08:00
Yousong Zhou
58aa859d06 shadowsocks-libev: ss-rules: setup policy rules for udp/ip6
Supersedes: https://github.com/openwrt/packages/pull/18852
Fixes: https://github.com/openwrt/packages/issues/18850
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2022-08-11 09:54:18 +08:00
Philip Prindeville
be6762d663 strongswan: bundle mgf1 with everything
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-10 18:20:30 -06:00
Philip Prindeville
79be9563c3
Merge pull request #19145 from Thermi/strongswan-5.9.7-model-kdf-dependencies
strongswan: try to model kdf optional dependencies
2022-08-10 18:09:17 -06:00
Noel Kuntze
dc4defdbac
strongswan: try to model kdf optional dependencies
Signed-off-by: Noel Kuntze <noel.kuntze@thermi.consulting>
2022-08-11 00:45:38 +02:00
Jo-Philipp Wich
443c6c1c17 cgi-io: update to latest Git HEAD
901b0f0 main: fix two one-byte overreads in header_value()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-08-10 23:53:49 +02:00
Philip Prindeville
f82b83fefa
Merge pull request #19128 from pprindeville/strongswan-update-5.9.7
strongswan: Update to 5.9.7
2022-08-10 14:21:16 -06:00
Florian Eckert
437f7a54ff
Merge pull request #19084 from jtkohl/watchcat-ping-bugfix
watchcat: fix broken ping invocation for no-address-family configuration
2022-08-10 08:02:47 +02:00
Etienne Champetier
96aa76f16f
Merge pull request #19125 from hirnpfirsich/master
prometheus-node-exporter-lua: add realtek-poe exporter
2022-08-08 21:19:49 -04:00
Philip Prindeville
dd9f2849a4 strongswan: Update to 5.9.7
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-08 10:30:08 -06:00
Michael Heimpold
340df5ea14
Merge pull request #19130 from mhei/php8-update-8.1.9
php8: update to 8.1.9
2022-08-08 15:28:18 +02:00
Gregor Michels
201457c17a prometheus-node-exporter-lua: add realtek-poe exporter
exposes PoE metrics obtained from realtek-poe

 # HELP realtek_poe_switch_info information about the poe controller
 # TYPE realtek_poe_switch_info gauge
 realtek_poe_switch_info{mcu="ST Micro ST32F100 Microcontroller",firmware="v22.4"} 1

 # HELP realtek_poe_switch_budget_watts overall power budget
 # TYPE realtek_poe_switch_budget_watts gauge
 realtek_poe_switch_budget_watts 77

 # HELP realtek_poe_switch_consumption_watts overall power consumption
 # TYPE realtek_poe_switch_consumption_watts gauge
 realtek_poe_switch_consumption_watts 5

 # HELP realtek_poe_port_priority poe priority of port
 # TYPE realtek_poe_port_priority gauge
 realtek_poe_port_priority{device="lan1"} 1
 realtek_poe_port_priority{device="lan2"} 1
 [...]

 # HELP realtek_poe_port_consumption_watts per port power consumption
 # TYPE realtek_poe_port_consumption_watts gauge
 realtek_poe_port_consumption_watts{device="lan1"} 0
 realtek_poe_port_consumption_watts{device="lan2"} 0
 [...]

 # HELP realtek_poe_port_state per port poe state
 # TYPE realtek_poe_port_state gauge
 realtek_poe_port_state{device="lan1",state="Disabled"} 0
 realtek_poe_port_state{device="lan1",state="Searching"} 1
 [...]
 (states: Disabled, Searching, Delivering power, Fault, Other fault, Requesting power)

 # HELP realtek_poe_port_mode per port poe mode
 # TYPE realtek_poe_port_mode gauge
 realtek_poe_port_mode{device="lan1",mode="PoE"} 0
 realtek_poe_port_mode{device="lan1",mode="PoE+"} 1
 [...]
 (modes: PoE, Legacy, pre-PoE+, PoE+)

Signed-off-by: Gregor Michels <hirnpfirsich@brainpeach.de>
2022-08-08 14:55:44 +02:00
Alexandru Ardelean
56e2f4eb89
Merge pull request #19114 from commodo/squashfs-tools-zstd
squashfs-tools: enable zstd compression by default
2022-08-08 11:36:40 +03:00
Michael Heimpold
55e06d66fa php8: update to 8.1.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-08-08 00:58:45 +02:00
Nikos Mavrogiannopoulos
e27b2655c8
Merge pull request #18628 from mcb30/openconnect-proxy
OpenConnect proxy support
2022-08-07 22:15:11 +02:00
Nick Hainke
245d63426b prometheus-node-exporter-lua: fix hostapd stations
We can only utilize statistics from interfaces having ubus interface.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-07 12:22:34 -04:00
Etienne Champetier
5a782988bd
Merge pull request #18834 from jpds/prometheus-selinux-collector
prometheus-node-exporter-lua: Added selinux.lua.
2022-08-07 12:13:58 -04:00
Michael Brown
99213e6311 openconnect: Allow reconnect timeout to be specified
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-08-07 16:20:21 +01:00
Michael Brown
5c84d8ceba openconnect: Support use of a proxy server
Allow connection via a proxy server (required on some sites where
direct outbound HTTP(S) access is not permitted).

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-08-07 16:18:18 +01:00
Nikos Mavrogiannopoulos
5dcb407a5c
Merge pull request #19126 from PolynomialDivision/update-gnutls
gnutls: update to 3.7.7
2022-08-07 16:53:18 +02:00
Nick Hainke
0a4345d978 gnutls: update to 3.7.7
- libgnutls: Fixed double free during verification of pkcs7 signatures.
  Reported by Jaak Ristioja (#1383). [GNUTLS-SA-2022-07-07, CVSS: medium]
  [CVE-2022-2509]

- libgnutls: gnutls_hkdf_expand now only accepts LENGTH argument less than or
  equal to 255 times hash digest size, to comply with RFC 5869 2.3.

- libgnutls: Length limit for TLS PSK usernames has been increased
  from 128 to 65535 characters (#1323).

- libgnutls: AES-GCM encryption function now limits plaintext
  length to 2^39-256 bits, according to SP800-38D 5.2.1.1.

- libgnutls: New block cipher functions have been added to transparently
  handle padding.  gnutls_cipher_encrypt3 and gnutls_cipher_decrypt3 can be
  used in combination of GNUTLS_CIPHER_PADDING_PKCS7 flag to automatically
  add/remove padding if the length of the original plaintext is not a multiple
  of the block size.

- libgnutls: New function for manual FIPS self-testing.

API and ABI modifications:
- gnutls_fips140_run_self_tests: New function
- gnutls_cipher_encrypt3: New function
- gnutls_cipher_decrypt3: New function
- gnutls_cipher_padding_flags_t: New enum

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-07 09:18:17 +02:00
Tianling Shen
82a45b28b7 yq: Update to 4.27.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-06 10:35:27 -07:00
Espen Jürgensen
94f6216ef5 mxml: update to 3.3.1
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2022-08-06 10:35:17 -07:00
Šimon Bořek
a4a484fbca luajit: patch: PPC/e500 SPE: use soft float instead of failing
makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-08-06 10:34:58 -07:00
Alexandru Ardelean
f0d45ba340 squashfs-tools: enable zstd compression by default
Requested via:
  https://github.com/openwrt/packages/issues/19111

PKG_RELEASE is set to AUTORELEASE, so no need to bump.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-05 09:48:33 +03:00
Alexandru Ardelean
203a429951
Merge pull request #19104 from janh/python-paho-mqtt-depends-uuid
python-paho-mqtt: add missing dependency
2022-08-05 09:35:15 +03:00
Stijn Tintel
da128ced43 kea: bump to 2.0.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-04 16:53:05 -07:00
Rosen Penev
f66da4c1d8 squeezelite: update to 1.9.9-1403
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-04 16:52:19 -07:00
Philip Prindeville
d297b142c7
Merge pull request #19083 from pprindeville/drop-parallel-support-non-x86
lcdproc: don't enable LPT support on non-x86 architectures
2022-08-04 13:01:42 -06:00
Josef Schlehofer
ebc3704745
Merge pull request #18781 from paper42/fail2ban-py310
fail2ban: fix patch for python 3.10
2022-08-04 13:45:31 +02:00
Eneas U de Queiroz
2d41278daa
Merge pull request #19021 from borkra/fix_dependencies
Avoid building unused package dependencies
2022-08-03 23:44:33 -03:00
Philip Prindeville
13ed78046a lcdproc: don't enable LPT support on non-x86 architectures
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-03 18:24:28 -06:00
Jan Hoffmann
52ae0a2018 python-paho-mqtt: add missing dependency
The uuid module has been split out into a separate package with the
update to Python 3.10.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-08-03 17:04:42 +02:00
Clark Wang
bcc877e73c sexpect: updated to 2.3.11
Signed-off-by: Clark Wang <dearvoid@gmail.com>
2022-08-02 18:10:53 -07:00
Javier Marcet
500cdd1243 python-jsonschema: Update to 4.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:56 -07:00
Javier Marcet
35b1a03b83 docker-compose: Update to version 2.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:45 -07:00
Pascal Ernster
2179432991
unbound: update to 1.16.2, fix CVE-2022-30698, CVE-2022-30699
Maintainer: @EricLuehrsen
Compile tested: x86/64
Run tested: x86/64
Description: Update to 1.16.2, fix CVE-2022-30698 and CVE-2022-30699.

Signed-off-by: Pascal Ernster <git@hardfalcon.net>
2022-08-02 23:43:45 +02:00
Hannu Nyman
0aed202180 nano: update to 6.4
Update nano editor to version 6.4.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2022-08-02 15:32:10 +03:00
Aleksander Jan Bajkowski
12ac68f835 coremark: bump to 2022-07-27
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-02 14:42:13 +03:00
Michal Kowalski
406adc5363 watchcat: fix broken ping invocation for no-address-family configuration
Fix for issue #19010

Signed-off-by: John Kohl <jtk.git@bostonpog.org>
Signed-off-by: Michal Kowalski <18610805+kofec@users.noreply.github.com>
2022-08-01 20:35:15 -04:00
Boris Krasnovskiy
32f4d46f51 gnutls: Avoid building unused gnutls dependency
Avoid building unused gnutls dependency

Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
2022-07-30 19:11:24 -04:00