Release v1.0.6: OAuth-Patch für alle Rust-Adress-Schreibweisen

Erweiterter sed-Patch der oauth/src/lib.rs:
- '127.0.0.1' (String-Literal)
- [127, 0, 0, 1] (Array-Syntax)
- Ipv4Addr::LOCALHOST (Rust-Konstante → Ipv4Addr::UNSPECIFIED)

Build gibt die gepatchten Zeilen aus damit der Patch nachvollziehbar ist.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 19:39:56 +02:00
parent 2fb79dcead
commit 7c26af0d36
2 changed files with 10 additions and 3 deletions

View File

@@ -23,8 +23,15 @@ RUN apk add --no-cache \
RUN git clone --depth 1 --branch v0.7.0 \
https://github.com/librespot-org/librespot.git /build && \
cd /build && \
# OAuth-Server auf allen Interfaces binden (statt nur 127.0.0.1)
sed -i 's/127\.0\.0\.1/0.0.0.0/g' oauth/src/lib.rs && \
# OAuth-Server auf allen Interfaces binden (statt nur localhost).
# Rust-Code kann die Adresse auf verschiedene Weisen schreiben:
sed -i \
-e 's/127\.0\.0\.1/0.0.0.0/g' \
-e 's/\[127, 0, 0, 1\]/[0, 0, 0, 0]/g' \
-e 's/Ipv4Addr::LOCALHOST/Ipv4Addr::UNSPECIFIED/g' \
oauth/src/lib.rs && \
echo "--- oauth/src/lib.rs (Addr-Zeilen nach Patch) ---" && \
grep -n "0\.0\.0\|UNSPECIFIED\|127\|LOCALHOST" oauth/src/lib.rs || true && \
cargo build \
--release \
--locked \

View File

@@ -1,6 +1,6 @@
---
name: "Busch-Radio Spotify Bridge"
version: "1.0.5"
version: "1.0.6"
slug: busch_radio_spotify
description: >
Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio.