Commit Graph

29984 Commits

Author SHA1 Message Date
Gioacchino Mazzurco b95e1c56e7
libssh: compile against MbedTLS instead of OpenSSL
Since 2017 libssh supports to be compiled against libmbedtls instead of
libopessl, OpenWrt ships mbedtls by default, while depending on OpenSSL
increase image size by almost 1.5MB unnecessarily.

Signed-off-by: Gioacchino Mazzurco <gio@eigenlab.org>
2023-08-28 10:04:00 +02:00
Tianling Shen 846ee0b9d0
rust: Update to 1.72.0
Version 1.72.0 (2023-08-24)
==========================

Language
--------
- [Replace const eval limit by a lint and add an exponential backoff warning](https://github.com/rust-lang/rust/pull/103877/)
- [expand: Change how `#![cfg(FALSE)]` behaves on crate root](https://github.com/rust-lang/rust/pull/110141/)
- [Stabilize inline asm for LoongArch64](https://github.com/rust-lang/rust/pull/111235/)
- [Uplift `clippy::undropped_manually_drops` lint](https://github.com/rust-lang/rust/pull/111530/)
- [Uplift `clippy::invalid_utf8_in_unchecked` lint](https://github.com/rust-lang/rust/pull/111543/)
- [Uplift `clippy::cast_ref_to_mut` lint](https://github.com/rust-lang/rust/pull/111567/)
- [Uplift `clippy::cmp_nan` lint](https://github.com/rust-lang/rust/pull/111818/)
- [resolve: Remove artificial import ambiguity errors](https://github.com/rust-lang/rust/pull/112086/)
- [Don't require associated types with Self: Sized bounds in `dyn Trait` objects](https://github.com/rust-lang/rust/pull/112319/)

Compiler
--------
- [Remember names of `cfg`-ed out items to mention them in diagnostics](https://github.com/rust-lang/rust/pull/109005/)
- [Support for native WASM exceptions](https://github.com/rust-lang/rust/pull/111322/)
- [Add support for NetBSD/aarch64-be (big-endian arm64).](https://github.com/rust-lang/rust/pull/111326/)
- [Write to stdout if `-` is given as output file](https://github.com/rust-lang/rust/pull/111626/)
- [Force all native libraries to be statically linked when linking a static binary](https://github.com/rust-lang/rust/pull/111698/)
- [Add Tier 3 support for `loongarch64-unknown-none*`](https://github.com/rust-lang/rust/pull/112310/)
- [Prevent `.eh_frame` from being emitted for `-C panic=abort`](https://github.com/rust-lang/rust/pull/112403/)
- [Support 128-bit enum variant in debuginfo codegen](https://github.com/rust-lang/rust/pull/112474/)
- [compiler: update solaris/illumos to enable tsan support.](https://github.com/rust-lang/rust/pull/112039/)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------
- [Document memory orderings of `thread::{park, unpark}`](https://github.com/rust-lang/rust/pull/99587/)
- [io: soften ‘at most one write attempt’ requirement in io::Write::write](https://github.com/rust-lang/rust/pull/107200/)
- [Specify behavior of HashSet::insert](https://github.com/rust-lang/rust/pull/107619/)
- [Relax implicit `T: Sized` bounds on `BufReader<T>`, `BufWriter<T>` and `LineWriter<T>`](https://github.com/rust-lang/rust/pull/111074/)
- [Update runtime guarantee for `select_nth_unstable`](https://github.com/rust-lang/rust/pull/111974/)
- [Return `Ok` on kill if process has already exited](https://github.com/rust-lang/rust/pull/112594/)
- [Implement PartialOrd for `Vec`s over different allocators](https://github.com/rust-lang/rust/pull/112632/)
- [Use 128 bits for TypeId hash](https://github.com/rust-lang/rust/pull/109953/)
- [Don't drain-on-drop in DrainFilter impls of various collections.](https://github.com/rust-lang/rust/pull/104455/)
- [Make `{Arc,Rc,Weak}::ptr_eq` ignore pointer metadata](https://github.com/rust-lang/rust/pull/106450/)

Rustdoc
-------
- [Allow whitespace as path separator like double colon](https://github.com/rust-lang/rust/pull/108537/)
- [Add search result item types after their name](https://github.com/rust-lang/rust/pull/110688/)
- [Search for slices and arrays by type with `[]`](https://github.com/rust-lang/rust/pull/111958/)
- [Clean up type unification and "unboxing"](https://github.com/rust-lang/rust/pull/112233/)

Stabilized APIs
---------------
- [`impl<T: Send> Sync for mpsc::Sender<T>`](https://doc.rust-lang.org/nightly/std/sync/mpsc/struct.Sender.html#impl-Sync-for-Sender%3CT%3E)
- [`impl TryFrom<&OsStr> for &str`](https://doc.rust-lang.org/nightly/std/primitive.str.html#impl-TryFrom%3C%26'a+OsStr%3E-for-%26'a+str)
- [`String::leak`](https://doc.rust-lang.org/nightly/alloc/string/struct.String.html#method.leak)

These APIs are now stable in const contexts:

- [`CStr::from_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_bytes`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_str`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)

Cargo
-----
- Enable `-Zdoctest-in-workspace` by default. When running each documentation
  test, the working directory is set to the root directory of the package the
  test belongs to.
  [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests)
  [#12221](https://github.com/rust-lang/cargo/pull/12221)
  [#12288](https://github.com/rust-lang/cargo/pull/12288)
- Add support of the "default" keyword to reset previously set `build.jobs`
  parallelism back to the default.
  [#12222](https://github.com/rust-lang/cargo/pull/12222)

Compatibility Notes
-------------------
- [Alter `Display` for `Ipv6Addr` for IPv4-compatible addresses](https://github.com/rust-lang/rust/pull/112606/)
- Cargo changed feature name validation check to a hard error. The warning was
  added in Rust 1.49. These extended characters aren't allowed on crates.io, so
  this should only impact users of other registries, or people who don't publish
  to a registry.
  [#12291](https://github.com/rust-lang/cargo/pull/12291)

Refreshed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-26 18:00:03 +08:00
Jianhui Zhao 9b38508b86 lua-lsqlite3: add build VARIANT for Lua5.3
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-08-25 23:32:07 +08:00
Michael Heimpold c2d7f6a02d
Merge pull request #21896 from mhei/php8-update-to-8.2.9
php8: update to 8.2.9
2023-08-25 08:05:59 +02:00
Jeffery To 09e06f9594 python-setuptools: Update to 68.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:44 +08:00
Jeffery To bc32e54713 python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:35 +08:00
Jeffery To dd5146b208 python-click: Update to 8.1.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:25 +08:00
Jeffery To 6facae339e python-pytest-xdist: Update to 3.3.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:16 +08:00
Jeffery To b130986e17 python-pytest: Update to 7.4.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:07 +08:00
Jeffery To 383b8c1658 python-pyrsistent: Update to 0.19.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:58 +08:00
Jeffery To dbe5283ed0 python-pyparsing: Update to 3.1.1
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:49 +08:00
Jeffery To 001c2cbe0d python-pyotp: Update to 2.9.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:39 +08:00
Jeffery To a9b23f4683 python-pyfuse3: Update to 3.3.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:30 +08:00
Jeffery To f9e3847599 python-py: Update to 1.11.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:17 +08:00
Tianling Shen 2d078f9e3c xray-core: backport pending patch for Go 1.21 update
Fix build for Go 1.21.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-24 17:18:24 +08:00
Jan Hoffmann 9871979707 vnstat2: update to version 2.11
This release breaks the noexit patch, because the code for removing old
now returns an error when no interfaces are configured. As it is run on
startup, the daemon exits in this case. To avoid this, add an additional
check so an error is only returned in an actual error case.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-08-24 11:14:05 +08:00
Zephyr Lykos a9373d6dd1 tailscale: Update to 1.48.1
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-08-24 11:11:06 +08:00
Karl Palsson 1eef58684c net/mosquitto: bump to 2.0.17
This is a security and bug fix release.

Security:
- CVE-2023-28366: Fix memory leak in broker when clients send multiple QoS 2
  messages with the same message ID, but then never respond to the PUBREC
  commands.
- CVE-2023-0809: Fix excessive memory being allocated based on malicious
  initial packets that are not CONNECT packets.
- CVE-2023-3592: Fix memory leak when clients send v5 CONNECT packets with a
  will message that contains invalid property types.
- Broker will now reject Will messages that attempt to publish to $CONTROL/.
- Broker now validates usernames provided in a TLS certificate or TLS-PSK
  identity are valid UTF-8.
- Fix potential crash when loading invalid persistence file.
- Library will no longer allow single level wildcard certificates, e.g. *.com

Bugfixes of note or relevance to OpenWrt:
- Fix bridges with non-matching cleansession/local_cleansession being expired
  on start after restoring from persistence. Closes #2634.
Client library:
- Use CLOCK_BOOTTIME when available, to keep track of time. This solves the
  problem of the client OS sleeping and the client hence not being able to
  calculate the actual time for keepalive purposes. Closes #2760.

Full changelog available at: https://github.com/eclipse/mosquitto/blob/v2.0.16/ChangeLog.txt
plus: https://github.com/eclipse/mosquitto/blob/v2.0.17/ChangeLog.txt
(2.0.17 fixes regressions from the 2.0.16 release)

Signed-off-by: Karl Palsson <karlp@tweak.au>
2023-08-23 20:40:08 +00:00
Tianling Shen a8ac5861f6 v2ray-core: backport upstream Go 1.21 updates
Fix build for Go 1.21.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-23 12:24:18 -07:00
Zhi-Jun You 3abdb2887e mdio-tools: update to 1.3.0
Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.0.

[v1.3.0] - 2023-07-24
---------------------

Primarily widen the gamut of supported kernel versions, now supporting
all kernels from 5.2 and onwards.

- mvls: Support for 88E6320/88E6321

- mdio-netlink: Adapt to the upstream C22/C45 refactor.

Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>
2023-08-23 21:57:56 +08:00
Luca Barbato f3a6491674 bottom: New package
Bottom is a top/htop workalike with few additional features, written in
rust.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-08-23 08:35:02 +08:00
Ray Wang d5b99f9e8a natmap: update to 20230820
Signed-off-by: Ray Wang <r@hev.cc>
2023-08-23 08:23:18 +08:00
Toke Høiland-Jørgensen 0ded22fd33 sqm-scripts: Bump to v1.6.0
Fixes an issue with DSA switch compatibility

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-08-22 12:51:53 +02:00
Ted Hess 676c3edc63
Merge pull request #21874 from thess/unbound-SSL-workaround
Unbound: Silence SSL unexpected eof messages
2023-08-21 18:39:28 -04:00
Ted Hess 2a71e17ca1 Unbound: Silence SSL unexpected eof messages
Refs: https://github.com/NLnetLabs/unbound/issues/812
      https://github.com/NLnetLabs/unbound/issues/846

This is a backport of: https://github.com/NLnetLabs/unbound/commit/d7e7761
and can be removed with the next release/update of the Unbound package

Signed-off-by: Ted Hess <thess@kitschensync.net>
2023-08-21 16:01:11 -04:00
Michael Heimpold d85bac4d1e php8: update to 8.2.9
This fixes:
    - CVE-2023-3824

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-21 17:57:22 +02:00
Hannu Nyman db334337b7
Merge pull request #21882 from dobo90/adguardhome_0.107.36
adguardhome: update to 0.107.36 and fix compilation with Go 1.21
2023-08-21 18:41:47 +03:00
Dobroslaw Kijowski 11230bb580 adguardhome: update quic-go to v0.37.6
* quic-go v0.36.x cannot be compiled with Go 1.21. Update that
  AdGuardHome dependency to latest one from v0.37 series.
* It fixes following compilation error:
  go-mod-cache/github.com/quic-go/quic-go@v0.36.2/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.
  com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet.

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-08-21 15:30:25 +02:00
Hannu Nyman d4fa3d0a1a adguardhome: update to v0.107.36
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.34
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.35
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.36

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

[ Reword commit message ]
Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2023-08-21 15:14:44 +02:00
Zephyr Lykos 750faf5942 tailscale: Update to 1.48.0
Everything is working on pure upstream code.
Patching is not longer needed.

Added entire /etc/tailscale/ directory to conffiles for persistent ssh
host key & https certificate across sysupgrades.

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-08-21 08:19:39 +02:00
Tianling Shen 9c63068154
yq: Update to 4.35.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-20 21:36:08 +08:00
Perry Melange 93a102e21a tunneldigger-broker: update to v0.4.0
Include new hook script to build

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange 0d1085fe9e tunneldigger-broker: add rate-limit hook
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange 49cdf15da4 tunneldigger-broker: add option to isolate bridge ports
Add new option to a config bridge section to indicate
if a bridge port added to the bridge should be isolated
or not.  The default is 0 (no isolation).

example

config bridge
     option interface 'br-mybridge1446'
     option mtu '1446'
     option isolate '1' # default '0'

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange ab2b1ade27 tunneldigger-broker: update lib functions
Use config_foreach instead of config_cb

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Perry Melange 99dfea7730 tunneldigger-broker: update config file and init for v0.4.0
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2023-08-20 02:25:27 +02:00
Jonas Jelonek c287e98af2 rust: correct mistake in previous host-build fix
Fixes the commit 105fa3920e which was intended to make rust/host build
on aarch64 darwin working again. However, the fix contains a mistake
because it sets RUSTC_TARGET_ARCH instead of RUSTC_HOST_ARCH. Thus, the
fix doesn't work.
This properly sets the correct variable RUSTC_HOST_ARCH.

Fixes: 105fa3920e ("rust: fix host build on aarch64 darwin")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2023-08-19 14:26:43 +08:00
Van Waholtz 23113ceb97 syncthing: disable quic to support GO 1.21
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 09:19:42 +02:00
Van Waholtz 0449b0f394 syncthing: update to 1.23.7
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 09:19:42 +02:00
Van Waholtz 115e209a74 sing-box: update to 1.4.0-beta.5
Add support for GO 1.21.

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 13:28:47 +08:00
Jianhui Zhao bd438b6937 lua-eco: update to 2.4.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-08-18 09:03:39 +08:00
Lucian Cristian 00e9510e2e libyang: update to 2.1.80
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-17 16:55:01 -07:00
Jeffery To 3d497b2bc4 python-trove-classifiers: Update to 2023.8.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:47:57 +08:00
Jeffery To 3a5f9999ca python-psycopg2: Update to 2.9.7, update list of dependencies
This also adds a source package (python-psycopg2-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:46:09 +08:00
Jeffery To 53d3fc6f44 python-msgpack: Update to 1.0.5, add host Cython dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:55 +08:00
Jeffery To 56bac94a03 python-psutil: Update to 5.9.5, replace patch
100_add_cross_platform_build_ability.patch was submitted upstream in
https://github.com/giampaolo/psutil/pull/2068, but that pull request was
closed without being merged.

This replaces that patch with a simpler version that only updates
setup.py, leaving the run-time library code unchanged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:41 +08:00
Jeffery To 96880b435b python-more-itertools: Update to 10.1.0
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:03 +08:00
Jeffery To ec19051980 python-markdown: Update to 3.4.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:56 +08:00
Jeffery To 0068a50193 python-distro: Update to 1.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:42 +08:00
Lucian Cristian d01460fe93 frr: updat to 9.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-17 18:35:06 +08:00