From 3fec64001e561f0ec526a5569b2b4955c1d800da Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 1 Sep 2026 01:05:02 +0100 Subject: [PATCH] Ports: Use pinned commit as version for halflife/opfor Yet another reason why invented version strings are a bad idea: despite using the same repository and date version string, these ports are actually pointing to different commits (they probably shouldn't, but that's a separate issue). --- Ports/AvailablePorts.md | 4 ++-- Ports/halflife/package.sh | 7 +++---- Ports/opfor/package.sh | 7 +++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 5adb4d5f078..b18e9e6669f 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -122,7 +122,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`gsl`](gsl/) | GNU Scientific Library | 2.7.1 | https://www.gnu.org/software/gsl/ | | [`guile`](guile/) | The GNU guile programming language | 3.0.8 | https://www.gnu.org/software/guile/ | | [`gzip`](gzip/) | GNU gzip | 1.14 | https://www.gnu.org/software/gzip/ | -| [`halflife`](halflife/) | Half-Life | 2022.12.26 | https://github.com/FWGS/hlsdk-portable | +| [`halflife`](halflife/) | Half-Life | 63e3769 | https://github.com/FWGS/hlsdk-portable | | [`harfbuzz`](harfbuzz/) | HarfBuzz | 9.0.0 | https://github.com/harfbuzz/harfbuzz | | [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.1 | https://hatari.tuxfamily.org/ | | [`hexedit`](hexedit/) | A console-based hex editor | 1.6 | https://github.com/pixel/hexedit | @@ -260,7 +260,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`openttd-opengfx`](openttd-opengfx/) | OpenGFX graphics for OpenTTD | 7.1 | https://www.openttd.org/ | | [`openttd-opensfx`](openttd-opensfx/) | OpenSFX audio files for OpenTTD | 1.0.3 | https://www.openttd.org/ | | [`opentyrian`](opentyrian/) | OpenTyrian | 9750f8c | https://github.com/opentyrian/opentyrian | -| [`opfor`](opfor/) | Half-Life: Opposing Force | 2022.12.26 | https://github.com/FWGS/hlsdk-portable | +| [`opfor`](opfor/) | Half-Life: Opposing Force | e785ec1 | https://github.com/FWGS/hlsdk-portable | | [`optipng`](optipng/) | OptiPNG | 0.7.7 | http://optipng.sourceforge.net/ | | [`opusfile`](opusfile/) | opusfile | 0.12 | https://opus-codec.org/ | | [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip | diff --git a/Ports/halflife/package.sh b/Ports/halflife/package.sh index e8c6fde5044..d64ad512962 100755 --- a/Ports/halflife/package.sh +++ b/Ports/halflife/package.sh @@ -1,12 +1,11 @@ #!/usr/bin/env -S bash ../.port_include.sh port='halflife' -version='2022.12.26' # Bogus version, this was the last time the commit hashes were updated. -_hlsdk_commit='63e3769c46ba7f502b53abdfdd55597e4130c0dd' +version='63e3769c46ba7f502b53abdfdd55597e4130c0dd' useconfigure='true' depends=("xash3d-fwgs") -workdir="hlsdk-portable-${_hlsdk_commit}" +workdir="hlsdk-portable-${version}" files=( - "https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz#b010c94ed400e44508f43706aeea68b82615c6ad22d2b1b892e8d6201d97503d" + "https://github.com/FWGS/hlsdk-portable/archive/${version}.tar.gz#b010c94ed400e44508f43706aeea68b82615c6ad22d2b1b892e8d6201d97503d" ) launcher_name='Half-Life' launcher_category='&Games' diff --git a/Ports/opfor/package.sh b/Ports/opfor/package.sh index 7de5434ab01..2162be66128 100755 --- a/Ports/opfor/package.sh +++ b/Ports/opfor/package.sh @@ -1,12 +1,11 @@ #!/usr/bin/env -S bash ../.port_include.sh port='opfor' -version='2022.12.26' # Bogus version, this was the last time the commit hashes were updated. -_hlsdk_commit='e785ec1582eece8bf8f603249c2a567f6ec3d5eb' +version='e785ec1582eece8bf8f603249c2a567f6ec3d5eb' useconfigure='true' depends=("xash3d-fwgs") -workdir="hlsdk-portable-${_hlsdk_commit}" +workdir="hlsdk-portable-${version}" files=( - "https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz#0cf2cb120c3e350d05233cc718126436e68f4f2f1289c1f31623a4c8aef419eb" + "https://github.com/FWGS/hlsdk-portable/archive/${version}.tar.gz#0cf2cb120c3e350d05233cc718126436e68f4f2f1289c1f31623a4c8aef419eb" ) launcher_name='Half-Life: Opposing Force' launcher_category='&Games'