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).
This commit is contained in:
Linus Groh authored and Nico Weber committed 2026-08-31 21:58:24 -04:00
1 parent 947829d4a6
commit 3fec64001e
3 files changed
+8 -10

No files matched your search

+2 -2
View File
@@ -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 |
+3 -4
View File
@@ -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'
+3 -4
View File
@@ -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'