Przeglądaj źródła

feat(punkbuster): ship the last PunkBuster release for every server that supports it (#5148)

Rebuild the Battlefield 1942, Battlefield: Vietnam, Call of Duty 2,
Call of Duty: World at War, Quake 3, Quake 4, Soldier of Fortune 2 and
Wolfenstein: Enemy Territory archives so each has the same PunkBuster
layout, using the last PunkBuster release for that game. World at War
had no PunkBuster files before.

Each pb folder now holds only pbsv.so, the client and agent libraries,
the htm client update files, PB_EULA.txt, and pbns.dat where the game
has one. The empty dll folder, PunkBuster runtime files and leftover
logs, profiles and installers are removed. Every archive is repacked
with root ownership. Directories, server binaries and shell scripts
are 0755, and every other file, including the .so libraries, is 0644.
The Quake 4 and Enemy Territory launcher scripts now change to their
own directory instead of a fixed install path.

The archives use a new naming format,
<shortname>-<gameversion>-linux-i386-linuxgsm-<YYYYMMDD>.tar.xz.
The old names were the upstream package names. Battlefield 1942 is
still the 1.61 server patched to 1.612. The old archives stay on
linuxgsm.download, so older releases keep installing.
Daniel Gibbs 3 dni temu
rodzic
commit
97a46c20c6
1 zmienionych plików z 24 dodań i 24 usunięć
  1. 24 24
      lgsm/modules/install_server_files.sh

+ 24 - 24
lgsm/modules/install_server_files.sh

@@ -17,21 +17,21 @@ fn_install_server_files() {
 		force="noforce"
 		md5="4b502ed86fafd44b9b9dda99ee4cb44f"
 	elif [ "${shortname}" == "bf1942" ]; then
-		remote_fileurl="https://linuxgsm.download/BattleField1942/bf1942_lnxded-1.61-hacked-to-1.612.full-linuxgsm.tar.xz"
+		remote_fileurl="https://linuxgsm.download/BattleField1942/bf1942-1.612-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="bf1942_lnxded-1.61-hacked-to-1.612.full-linuxgsm.tar.xz"
+		local_filename="bf1942-1.612-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="d58016b3c45f86a71bb56c39749ce941"
+		md5="0a3ae8721d3b14d81912b01fbfbd5cb2"
 	elif [ "${shortname}" == "bfv" ]; then
-		remote_fileurl="https://linuxgsm.download/BattlefieldVietnam/bfv_linded-v1.21-20041207_patch-linuxgsm.tar.xz"
+		remote_fileurl="https://linuxgsm.download/BattlefieldVietnam/bfv-1.21-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="bfv_linded-v1.21-20041207_patch-linuxgsm.tar.xz"
+		local_filename="bfv-1.21-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="9a8117732b8abd99cc59f1f0fa92adfa"
+		md5="532bc18529c7cb86fb41c79ec61c5283"
 
 	elif [ "${shortname}" == "cod" ]; then
 		remote_fileurl="https://linuxgsm.download/CallOfDuty/cod-1.5b-linux-i386-linuxgsm-20261102.tar.xz"
@@ -50,13 +50,13 @@ fn_install_server_files() {
 		force="noforce"
 		md5="deb2f9a66c9f3c7a23099c31c98242d0"
 	elif [ "${shortname}" == "cod2" ]; then
-		remote_fileurl="https://linuxgsm.download/CallOfDuty2/cod2-lnxded-1.3-full.tar.xz"
+		remote_fileurl="https://linuxgsm.download/CallOfDuty2/cod2-1.3-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="cod2-lnxded-1.3-full.tar.xz"
+		local_filename="cod2-1.3-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="b8c4c611f01627dd43348e78478a3d41"
+		md5="e7dfaaf11f3f714c60e2ac1057476aa4"
 	elif [ "${shortname}" == "cod4" ]; then
 		remote_fileurl="https://linuxgsm.download/CallOfDuty4/cod4x-21.2-linux-i386-linuxgsm-20261102.tar.xz"
 		local_filedir="${tmpdir}"
@@ -66,13 +66,13 @@ fn_install_server_files() {
 		force="noforce"
 		md5="7c8d55d12e44f321f31ad1320567659a"
 	elif [ "${shortname}" == "codwaw" ]; then
-		remote_fileurl="https://linuxgsm.download/CallOfDutyWorldAtWar/codwaw-lnxded-1.7-full.tar.xz"
+		remote_fileurl="https://linuxgsm.download/CallOfDutyWorldAtWar/codwaw-1.7-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="codwaw-lnxded-1.7-full.tar.xz"
+		local_filename="codwaw-1.7-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="2c6be1bb66ea631b9b2e7ae6216c6680"
+		md5="d7bdc6b2a671c3e07184e1a3262ec14c"
 	elif [ "${shortname}" == "cswon" ]; then
 		remote_fileurl="https://linuxgsm.download/CounterStrikeWON2/cswon-3111e-cs15-linux-i386-linuxgsm-20261102.tar.xz"
 		local_filedir="${tmpdir}"
@@ -114,21 +114,21 @@ fn_install_server_files() {
 		force="noforce"
 		md5="f0abe39ed649765cd99b7e5e1c62b4f6"
 	elif [ "${shortname}" == "q3" ]; then
-		remote_fileurl="https://linuxgsm.download/Quake3/quake3-1.32c-x86-full-linux.tar.xz"
+		remote_fileurl="https://linuxgsm.download/Quake3/q3-1.32c-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="quake3-1.32c-x86-full-linux.tar.xz"
+		local_filename="q3-1.32c-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="b0e26d8919fe9313fb9d8ded2360f3db"
+		md5="e6c958f4e01845d06bd5b8f3835bafa0"
 	elif [ "${shortname}" == "q4" ]; then
-		remote_fileurl="https://linuxgsm.download/Quake4/quake4-1.4.2-x86-linuxded.tar.xz"
+		remote_fileurl="https://linuxgsm.download/Quake4/q4-1.4.2-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="quake4-1.4.2-x86-linuxded.tar.xz"
+		local_filename="q4-1.4.2-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="afe30b44f23c8ae2ce6f0f464473d8ba"
+		md5="7aaa88fb0ba0c533fe23b7b993fd6530"
 	elif [ "${shortname}" == "qw" ]; then
 		remote_fileurl="https://linuxgsm.download/QuakeWorld/nquake.server.linux.190506.full.tar.xz"
 		local_filedir="${tmpdir}"
@@ -154,13 +154,13 @@ fn_install_server_files() {
 		force="noforce"
 		md5="a0e3980e944cd321c5f064d752a7431e"
 	elif [ "${shortname}" == "sof2" ]; then
-		remote_fileurl="https://linuxgsm.download/SoldierOfFortune2/sof2gold-1.03.tar.xz"
+		remote_fileurl="https://linuxgsm.download/SoldierOfFortune2/sof2-1.03-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="sof2gold-1.03.tar.xz"
+		local_filename="sof2-1.03-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="201e23bab04207d00ce813d001c483d9"
+		md5="d8cd9ad624290a1de1c72e43aa35195e"
 	elif [ "${shortname}" == "ts" ]; then
 		remote_fileurl="https://linuxgsm.download/TheSpecialists/ts-3.0-linux-i386-linuxgsm-20261102.tar.xz"
 		local_filedir="${tmpdir}"
@@ -210,13 +210,13 @@ fn_install_server_files() {
 		force="noforce"
 		md5="c1f908ab27772d8c6ca8ee731d32ddda"
 	elif [ "${shortname}" == "wet" ]; then
-		remote_fileurl="https://linuxgsm.download/WolfensteinEnemyTerritory/enemy-territory.260b.tar.xz"
+		remote_fileurl="https://linuxgsm.download/WolfensteinEnemyTerritory/wet-2.60b-linux-i386-linuxgsm-20261101.tar.xz"
 		local_filedir="${tmpdir}"
-		local_filename="enemy-territory.260b.tar.xz"
+		local_filename="wet-2.60b-linux-i386-linuxgsm-20261101.tar.xz"
 		chmodx="nochmodx"
 		run="norun"
 		force="noforce"
-		md5="581a333cc7eacda2f56d5a00fe11eafa"
+		md5="60b7483c22db98effc3622dbb9e5710f"
 	elif [ "${shortname}" == "samp" ]; then
 		remote_fileurl="https://files.samp-sc.com/samp037svr_R2-1.tar.gz"
 		local_filedir="${tmpdir}"