From 846ee0b9d0a84ea0868c7f3a3a6bb2e1730c16d7 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 26 Aug 2023 17:54:15 +0800 Subject: [PATCH 1/5] rust: Update to 1.72.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`, `BufWriter` and `LineWriter`](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 Sync for mpsc::Sender`](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 --- lang/rust/Makefile | 4 +-- .../0001-Update-xz2-and-use-it-static.patch | 6 ++-- .../patches/0002-Bumped-libc-version.patch | 35 ------------------- 3 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 lang/rust/patches/0002-Bumped-libc-version.patch diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 60df0e5cd..a3b92682b 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk include ./rust-values.mk PKG_NAME:=rust -PKG_VERSION:=1.71.1 +PKG_VERSION:=1.72.0 PKG_RELEASE:=1 PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.gz PKG_SOURCE_URL:=https://static.rust-lang.org/dist/ -PKG_HASH:=6fa90d50d1d529a75f6cc349784de57d7ec0ba2419b09bde7d335c25bd4e472e +PKG_HASH:=ea9d61bbb51d76b6ea681156f69f0e0596b59722f04414b01c6e100b4b5be3a1 HOST_BUILD_DIR:=$(BUILD_DIR)/host/rust-$(RUSTC_TARGET_ARCH)/rustc-$(PKG_VERSION)-src PKG_MAINTAINER:=Luca Barbato diff --git a/lang/rust/patches/0001-Update-xz2-and-use-it-static.patch b/lang/rust/patches/0001-Update-xz2-and-use-it-static.patch index 8d0c4b042..c5266669d 100644 --- a/lang/rust/patches/0001-Update-xz2-and-use-it-static.patch +++ b/lang/rust/patches/0001-Update-xz2-and-use-it-static.patch @@ -11,7 +11,7 @@ Subject: [PATCH] Update xz2 and use it static --- a/src/bootstrap/Cargo.lock +++ b/src/bootstrap/Cargo.lock -@@ -443,9 +443,9 @@ dependencies = [ +@@ -430,9 +430,9 @@ dependencies = [ [[package]] name = "lzma-sys" @@ -23,7 +23,7 @@ Subject: [PATCH] Update xz2 and use it static dependencies = [ "cc", "libc", -@@ -912,9 +912,9 @@ dependencies = [ +@@ -899,9 +899,9 @@ dependencies = [ [[package]] name = "xz2" @@ -37,7 +37,7 @@ Subject: [PATCH] Update xz2 and use it static ] --- a/src/bootstrap/Cargo.toml +++ b/src/bootstrap/Cargo.toml -@@ -50,7 +50,7 @@ toml = "0.5" +@@ -49,7 +49,7 @@ toml = "0.5" ignore = "0.4.10" opener = "0.5" once_cell = "1.7.2" diff --git a/lang/rust/patches/0002-Bumped-libc-version.patch b/lang/rust/patches/0002-Bumped-libc-version.patch deleted file mode 100644 index 52c8a245c..000000000 --- a/lang/rust/patches/0002-Bumped-libc-version.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 032857e7e403f654129c45dc7e6718a9ad49e377 Mon Sep 17 00:00:00 2001 -From: Nikolay Arhipov -Date: Tue, 6 Jun 2023 16:09:05 +0300 -Subject: [PATCH] Bumped libc version - ---- - Cargo.lock | 4 ++-- - library/std/Cargo.toml | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -1988,9 +1988,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0e - - [[package]] - name = "libc" --version = "0.2.143" -+version = "0.2.146" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "edc207893e85c5d6be840e969b496b53d94cec8be2d501b214f50daa97fa8024" -+checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" - dependencies = [ - "rustc-std-workspace-core", - ] ---- a/library/std/Cargo.toml -+++ b/library/std/Cargo.toml -@@ -15,7 +15,7 @@ cfg-if = { version = "1.0", features = [ - panic_unwind = { path = "../panic_unwind", optional = true } - panic_abort = { path = "../panic_abort" } - core = { path = "../core" } --libc = { version = "0.2.143", default-features = false, features = ['rustc-dep-of-std'] } -+libc = { version = "0.2.146", default-features = false, features = ['rustc-dep-of-std'] } - compiler_builtins = { version = "0.1.92" } - profiler_builtins = { path = "../profiler_builtins", optional = true } - unwind = { path = "../unwind" } From a86c47044d302c925bd3eec87fe3d83856b50f7d Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sun, 27 Aug 2023 09:51:22 +0800 Subject: [PATCH 2/5] v2raya: Update to 2.2.1 Signed-off-by: Tianling Shen --- net/v2raya/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/net/v2raya/Makefile b/net/v2raya/Makefile index 5f548d1e7..f290183e8 100644 --- a/net/v2raya/Makefile +++ b/net/v2raya/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=v2rayA -PKG_VERSION:=2.1.3 +PKG_VERSION:=2.2.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=65958a02d91f849e264e409536d2fb3e4c7d2a8d3a6b82fed1b90cfaff3d6dc9 +PKG_HASH:=97ae3d41ddd649dd07cfecf2bbe06a513d71186ef2620ca44af12e7956be5650 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/service PKG_LICENSE:=AGPL-3.0-only @@ -54,12 +54,12 @@ define Package/v2raya/conffiles /etc/config/v2raya endef -WEB_FILE:=$(PKG_NAME)-web-$(PKG_VERSION).tar.gz +WEB_FILE:=$(PKG_NAME)-web-$(PKG_VERSION).zip define Download/v2raya-web - URL:=https://codeload.github.com/v2rayA/v2raya-web/tar.gz/v$(PKG_VERSION)? - URL_FILE:=$(WEB_FILE) + URL:=https://github.com/v2rayA/v2rayA/releases/download/v$(PKG_VERSION)/ + URL_FILE:=web.zip FILE:=$(WEB_FILE) - HASH:=f262efe46b5377ceed0450f519ba8562a0e7553ec2cc34a4e62f95749b19be01 + HASH:=b7769b287b6e2ecdf8823142d126bf9b981a8d3af4cb73c8f798ed483bcc988c endef define Build/Prepare @@ -67,7 +67,7 @@ define Build/Prepare ( \ mkdir -p $(PKG_BUILD_DIR)/server/router/web ; \ - gzip -dc $(DL_DIR)/$(WEB_FILE) | $(HOST_TAR) -C $(PKG_BUILD_DIR)/server/router/web $(TAR_OPTIONS) ; \ + unzip -q -d $(PKG_BUILD_DIR)/server/router/web $(DL_DIR)/$(WEB_FILE) ; \ ) endef From b915dbb7a2c4b89c6d99609709222d71732dfbb8 Mon Sep 17 00:00:00 2001 From: Quintin Hill Date: Wed, 23 Aug 2023 22:00:01 +0100 Subject: [PATCH 3/5] python-dbus-fast: update to 1.93.0 Signed-off-by: Quintin Hill --- lang/python/python-dbus-fast/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python-dbus-fast/Makefile b/lang/python/python-dbus-fast/Makefile index 74b79d9bf..055e9ef21 100644 --- a/lang/python/python-dbus-fast/Makefile +++ b/lang/python/python-dbus-fast/Makefile @@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-dbus-fast -PKG_VERSION:=1.91.2 +PKG_VERSION:=1.93.0 PKG_RELEASE:=1 PYPI_NAME:=dbus-fast PYPI_SOURCE_NAME:=dbus_fast -PKG_HASH:=648b70804da35c92ac44af1d321aeb19df6596dbad362adc2f2507fd99f0f5ae +PKG_HASH:=4a86346d2fd26b589cf8f98a5467ecb363fce3b8b0d9cef3b5127c9408129428 PKG_MAINTAINER:=Quintin Hill PKG_LICENSE:=MIT From 8dc77f326788e8e28359be1208488ef6c22b738b Mon Sep 17 00:00:00 2001 From: Quintin Hill Date: Wed, 23 Aug 2023 22:00:23 +0100 Subject: [PATCH 4/5] python-ble2mqtt: update to 0.1.9 Signed-off-by: Quintin Hill --- lang/python/python-ble2mqtt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python-ble2mqtt/Makefile b/lang/python/python-ble2mqtt/Makefile index 7a99110a8..9ee591d60 100644 --- a/lang/python/python-ble2mqtt/Makefile +++ b/lang/python/python-ble2mqtt/Makefile @@ -7,11 +7,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-ble2mqtt -PKG_VERSION:=0.1.8 +PKG_VERSION:=0.1.9 PKG_RELEASE:=1 PYPI_NAME:=ble2mqtt -PKG_HASH:=206f707f5ad04b72247b1e772a569e14167e109f4e9f13d1d74eb4b049d4e6da +PKG_HASH:=4b7c9ea747d04687a7e57d47a7d847870e4d9f474967906e9e1e06b7bce5a5b9 PKG_MAINTAINER:=Quintin Hill PKG_LICENSE:=MIT From 40d5ba9378127a852b0b4735b02798be17e2e12c Mon Sep 17 00:00:00 2001 From: Tyler Young Date: Sun, 27 Aug 2023 20:58:10 -0400 Subject: [PATCH 5/5] tailscale: enable autodect of fw type Signed-off-by: Tyler Young --- net/tailscale/Makefile | 2 +- net/tailscale/files/tailscale.init | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/tailscale/Makefile b/net/tailscale/Makefile index 8cd236efb..48152ec90 100644 --- a/net/tailscale/Makefile +++ b/net/tailscale/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tailscale PKG_VERSION:=1.48.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)? diff --git a/net/tailscale/files/tailscale.init b/net/tailscale/files/tailscale.init index 6548fa220..7d5f52134 100644 --- a/net/tailscale/files/tailscale.init +++ b/net/tailscale/files/tailscale.init @@ -23,6 +23,9 @@ start_service() { procd_open_instance procd_set_param command /usr/sbin/tailscaled + # starting with v1.48.1 ENV variable is required to enable autodetection of iptables / nftables + procd_set_param env TS_DEBUG_FIREWALL_MODE=auto + # Set the port to listen on for incoming VPN packets. # Remote nodes will automatically be informed about the new port number, # but you might want to configure this in order to set external firewall