Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mihomo for openSUSE:Factory checked in at 2026-11-13 18:30:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mihomo (Old) and /work/SRC/openSUSE:Factory/.mihomo.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mihomo" Fri Nov 13 18:30:44 2026 rev:8 rq:1396986 version:1.19.34 Changes: -------- --- /work/SRC/openSUSE:Factory/mihomo/mihomo.changes 2026-10-23 20:23:57.741658369 +0200 +++ /work/SRC/openSUSE:Factory/.mihomo.new.1251/mihomo.changes 2026-11-13 18:33:41.762145672 +0100 @@ -1,0 +2,28 @@ +Wed Nov 11 12:58:57 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.19.34: + * Support Snell protocol version 6 for outbound and inbound + (#3410), multiple users for the shadowsocks listener (#3383) + and ss-password generation in the command line tool (#3372) + * mieru inbound: new tcp-idle-timeout option to close idle TCP + connections (#3354) + * Fix a SOCKS domain length arithmetic overflow (#3359), ssh + clients not closing on connection write errors, an empty age + secret key breaking DecryptBytes (#3450), and data arriving + with the HTTP proxy CONNECT response being dropped (#3382) + * Fix tun auto route rules, easytier stalling on undrained host + packets (#3400) and tfo-go on go1.26.9+ and go1.27.2+; + httpupgrade share links now convert to ws with + v2ray-http-upgrade (#3415) + * Embedded easytier-go bumped to keep guest memory off the Go + heap (#3454); utls updated to a go1.26-based release +- Build the embedded EasyTier WASI core (easytier_core.wasm) from + source (easytier-wasi-2.7.0+2abb167.tar.zst, the vendored + easytier-go's commit) instead of shipping upstream's prebuilt + binary; new BuildRequires rust/cargo >= 1.95, binaryen, + protobuf-devel and zstd +- EasyTier outbound only on x86_64 and aarch64, where Factory's + rust ships the wasm32-wasip1 std; other arches build with + upstream's no_easytier tag + +------------------------------------------------------------------- Old: ---- mihomo-1.19.33.tar.gz New: ---- easytier-wasi-2.7.0+2abb167.tar.zst mihomo-1.19.34.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mihomo.spec ++++++ --- /var/tmp/diff_new_pack.kVRUa9/_old 2026-11-13 18:33:46.158331797 +0100 +++ /var/tmp/diff_new_pack.kVRUa9/_new 2026-11-13 18:33:46.160331881 +0100 @@ -16,8 +16,15 @@ # +# Factory's rust ships the wasm32-wasip1 std only on x86_64/aarch64 +%if 0%{?suse_version} > 1600 +%ifarch x86_64 aarch64 +%bcond_without easytier +%endif +%endif +%global gotags with_gvisor%{!?with_easytier:,no_easytier} Name: mihomo -Version: 1.19.33 +Version: 1.19.34 Release: 0 Summary: The universal proxy platform # Legal-Review-Notice: mihomo's own code is GPL-3.0-only, but the Go binary @@ -37,10 +44,14 @@ Source2: config.yaml Source3: %{name}.service Source4: start.sh +Source5: easytier-wasi-2.7.0+2abb167.tar.zst # upstream go.mod asks for go 1.20, but %%check uses "go test -skip", # which exists only since go 1.21 BuildRequires: golang(API) >= 1.21 BuildRequires: golang-packaging +BuildRequires: memory-constraints +BuildRequires: pkgconfig +BuildRequires: zstd Requires: bash # mihomo is the maintained successor to clash (the original Dreamacro/clash was # archived; its final release was 1.18.0) and to the former Clash.Meta @@ -48,6 +59,20 @@ Obsoletes: clash < %{version} Provides: clash-meta = %{version} Obsoletes: clash-meta < %{version} +# easytier_core.wasm is stripped from vendor.tar.gz after every service run +# and rebuilt from Source5 in %%build (see the recipe there) +# Source-Binary-Exception: vendor.tar.gz:vendor/github.com/metacubex/wazero/testdata/*.wasm -- test-data: wazero unit-test fixtures, never built or shipped +# Source-Binary-Exception: vendor.tar.gz:vendor/github.com/metacubex/wazero/*/testdata/*.wasm -- test-data: wazero unit-test fixtures, never built or shipped +# Source-Binary-Exception: vendor.tar.gz:vendor/github.com/metacubex/sing-tun/internal/wintun/*/*.dll -- other-platform: Windows wintun driver DLLs, unused on Linux builds +# binaryen, cargo, rust, protobuf: EasyTier WASI core rebuild in %%build; +# rust 1.95 is upstream's rust-version +%if %{with easytier} +BuildRequires: binaryen +BuildRequires: cargo >= 1.95 +BuildRequires: rust >= 1.95 +# protobuf-devel: protoc and its well-known-type includes for prost-build +BuildRequires: pkgconfig(protobuf) >= 35.1 +%endif %description mihomo (formerly Clash.Meta) is a rule-based tunnel / universal proxy platform @@ -55,14 +80,44 @@ %prep %autosetup -a1 +%setup -q -T -D -a5 %build +%limit_build -m 4000 +%if %{with easytier} +# upstream's build-wasi-core.sh recipe; system wasm-opt, not pinned Binaryen 131 +export CARGO_NET_OFFLINE=true +export RUSTFLAGS= +export CARGO_ENCODED_RUSTFLAGS="--remap-path-prefix=$PWD/easytier-wasi-2.7.0+2abb167=/workspace/EasyTier" +export PROTOC=%{_bindir}/protoc +export PROTOC_INCLUDE=%{_includedir} +export CARGO_TARGET_DIR=$PWD/target-wasi +# commit-time epoch for cargo only (Go BuildTime keeps the changelog one); +# subshell: cargo reads .cargo/config.toml from the cwd only +(cd easytier-wasi-2.7.0+2abb167 && +SOURCE_DATE_EPOCH=1794361856 cargo build --frozen --release --target wasm32-wasip1 \ + -p easytier-core --no-default-features \ + --features "management,proxy-smoltcp-stack,wasi-crypto-offload,aes-gcm,tcp-hole-punch" \ + --jobs %{_smp_build_ncpus}) +wasm-opt -O4 --enable-bulk-memory --enable-bulk-memory-opt \ + --enable-nontrapping-float-to-int \ + target-wasi/wasm32-wasip1/release/easytier_core.wasm \ + -o vendor/github.com/easytier/easytier/easytier-go/internal/artifact/easytier_core.wasm +# Provenance in generator format for the rebuilt artifact (the Go host +# rejects an artifact/bindings commit mismatch, so both move together) +wasm_sha="$(sha256sum vendor/github.com/easytier/easytier/easytier-go/internal/artifact/easytier_core.wasm | cut -d' ' -f1)" +printf '// Code generated by go generate; DO NOT EDIT.\n\npackage artifact\n\nconst (\n\tCommit = "2abb1676b475947e46c527b57acc5f296cb48482"\n\tSHA256 = "%%s"\n)\n' \ + "${wasm_sha}" > vendor/github.com/easytier/easytier/easytier-go/internal/artifact/provenance.go +printf '// Code generated by go generate; DO NOT EDIT.\n\npackage proto\n\nconst (\n\tEasyTierCommit = "2abb1676b475947e46c527b57acc5f296cb48482"\n\tSchemaSHA256 = "fbf1c98738e0c452052223750f49612322dd04b5dadc7f7ac7c5d57254f0047f"\n)\n' \ + > vendor/github.com/easytier/easytier/easytier-go/proto/provenance.go +test -z "$(gofmt -l vendor/github.com/easytier/easytier/easytier-go/internal/artifact/ vendor/github.com/easytier/easytier/easytier-go/proto/provenance.go)" +%endif # reproducible BuildTime from the changelog-derived SOURCE_DATE_EPOCH build_time="$(date -u -d "@${SOURCE_DATE_EPOCH:-0}" +'%%Y-%%m-%%dT%%H:%%M:%%SZ')" go build -trimpath -buildmode=pie \ -ldflags "-X github.com/metacubex/mihomo/constant.Version=v%{version} \ -X github.com/metacubex/mihomo/constant.BuildTime=${build_time}" \ - -tags with_gvisor -o %{name} + -tags %{gotags} -o %{name} %install install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name} @@ -78,7 +133,7 @@ # test time, which cannot work in the network-less build root - skip exactly # those three. The separate test/ directory is its own module # ("module mihomo-test") driving docker containers, so ./... never reaches it. -go test -mod=vendor -tags with_gvisor -skip V2RayInterop ./... >gotest.log 2>&1 || { +go test -mod=vendor -tags %{gotags} -skip V2RayInterop ./... >gotest.log 2>&1 || { cat gotest.log exit 1 } ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kVRUa9/_old 2026-11-13 18:33:46.202333660 +0100 +++ /var/tmp/diff_new_pack.kVRUa9/_new 2026-11-13 18:33:46.206333829 +0100 @@ -3,7 +3,7 @@ <service name="tar_scm" mode="manual"> <param name="url">https://github.com/MetaCubeX/mihomo.git</param> <param name="scm">git</param> - <param name="revision">v1.19.33</param> + <param name="revision">v1.19.34</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="match-tag">v*</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.kVRUa9/_old 2026-11-13 18:33:46.228334761 +0100 +++ /var/tmp/diff_new_pack.kVRUa9/_new 2026-11-13 18:33:46.231334888 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/MetaCubeX/mihomo.git</param> - <param name="changesrevision">3f27ef39f8c96bbfbc8b0b9bb10f5c9ef60149d8</param></service></servicedata> + <param name="changesrevision">0455d0d28c4526937380505153e65a843d8612e8</param></service></servicedata> (No newline at EOF) ++++++ mihomo-1.19.33.tar.gz -> mihomo-1.19.34.tar.gz ++++++ ++++ 2988 lines of diff (skipped) ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/mihomo/vendor.tar.gz /work/SRC/openSUSE:Factory/.mihomo.new.1251/vendor.tar.gz differ: char 4, line 1
