From 219e39bcc0fd9119cec0dc9ab3a99230197c2726 Mon Sep 17 00:00:00 2001 From: seed Date: Thu, 13 Aug 2026 17:09:47 +0000 Subject: [PATCH] r5: self-building GeoIP (static mkisp + mirror/gitea-fallback/sanity-gate); retire builder+puller --- README.md | 8 ++++---- install_xui.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5bb6df6..b203b93 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ fallback. 1. Pre-flight checks — root, Ubuntu 20.04/22.04/24.04, x86_64, RAM/disk, re-install guard 2. Installs missing deps (`wget`, `unzip`, `tar`) -3. Downloads `XUI_1.5.13-r4.zip` (~659 MB, r4 runtime repack) from the Gitea mirror (falls back to GitHub) +3. Downloads `XUI_1.5.13-r5.zip` (~659 MB, r5 runtime repack) from the Gitea mirror (falls back to GitHub) 4. Verifies the SHA-256 checksum (on by default) 5. Extracts `install`, `database.sql`, `xui.tar.gz` 6. Runs the bundled `./install` **non-interactively** — auto-generates a valid @@ -55,8 +55,8 @@ and the one-liner picks it up, no version bump needed. The 661 MB release is hosted on our Gitea, publicly downloadable with **no auth**: ``` -https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/XUI_1.5.13-r4.zip -sha256: daab04cab369c04676d1eac2fd2520369b13fa5844e08347d67d778b098e20b0 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback) +https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip +sha256: 145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback) ``` Re-uploading later (e.g. a new version) — from any box with the Gitea token: @@ -117,7 +117,7 @@ To pull a local copy anytime: ```bash curl -L -o release/XUI_1.5.13.zip \ - "https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/XUI_1.5.13-r4.zip" + "https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip" ``` ## Credentials diff --git a/install_xui.sh b/install_xui.sh index c1a9d7d..33b1b81 100755 --- a/install_xui.sh +++ b/install_xui.sh @@ -16,11 +16,11 @@ set -euo pipefail # --------------------------------------------------------------------------- # Config # --------------------------------------------------------------------------- -RELEASE_NAME="XUI_1.5.13-r4.zip" +RELEASE_NAME="XUI_1.5.13-r5.zip" # Primary download source: self-hosted Gitea generic-package mirror (fast, under # our control). Override with the XUI_URL env var to point elsewhere. -DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/${RELEASE_NAME}" +DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/${RELEASE_NAME}" URL="${XUI_URL:-$DEFAULT_URL}" # Fallback source: the upstream XUIPatch GitHub release. Tried automatically if @@ -29,7 +29,7 @@ FALLBACK_URL="${XUI_FALLBACK_URL:-https://github.com/xuione/XUIPatch/releases/do # Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract. # Override/clear with the XUI_SHA256 env var (set to "" to skip). -EXPECTED_SHA256="${XUI_SHA256-daab04cab369c04676d1eac2fd2520369b13fa5844e08347d67d778b098e20b0}" +EXPECTED_SHA256="${XUI_SHA256-145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59}" WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"