File project.diff of Package scrcpy
--- scrcpy-update-server.orig
+++ scrcpy-update-server
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
VERSION=@VERSION@
SHA256=@SHA256@
@@ -11,7 +13,7 @@ TIMEOUT=10
MAXTIME=30
check() {
- echo "$SHA256 $1" | sha256sum --check > /dev/null 2>&1
+ echo "$SHA256 $1" | sha256sum -c > /dev/null 2>&1
return $?
}
@@ -55,6 +57,7 @@ for url in $URLS; do
mkdir -p "$DESTDIR"
mv "$TEMPFILE" "$DEST"
+ # default mode is 600
chmod 644 "$DEST"
echo "[scrcpy] Server $VERSION installed"
--- scrcpy.changes.orig
+++ scrcpy.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Feb 18 17:02:44 UTC 2026 - munix9@googlemail.com
+
+- Sync scrcpy-update-server with
+ https://salsa.debian.org/yangfl-guest/scrcpy/-/blob/master/debian/scrcpy-update-server
+
+-------------------------------------------------------------------
Wed Dec 17 19:45:02 UTC 2025 - munix9@googlemail.com
- Update to version 3.3.4:
--- scrcpy.spec.orig
+++ scrcpy.spec
@@ -1,7 +1,7 @@
#
# spec file for package scrcpy
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -97,7 +97,7 @@ if ! echo "%{srv_sha256}" | grep -E -q "
fi
%post
-if ! echo "%{srv_sha256} %{_datadir}/%{name}/%{name}-server" | sha256sum --check >/dev/null 2>&1 ; then
+if ! echo "%{srv_sha256} %{_datadir}/%{name}/%{name}-server" | sha256sum -c >/dev/null 2>&1 ; then
echo "-------------------------------------------------------------------"
echo "%{srv_info}"
echo "-------------------------------------------------------------------"