add missing fteqw deps
All checks were successful
Construct / build (push) Successful in 2m20s

This commit is contained in:
Marco Cawthorne 2025-02-10 22:20:10 -08:00
parent 4fff4ff79e
commit 48eb0a66fa
Signed by: eukara
GPG key ID: CE2032F0A2882A22
3 changed files with 7 additions and 9 deletions

View file

@ -13,9 +13,8 @@ jobs:
- name: dependencies
run: |
apt update
apt install -y \
imagemagick wget
apt-get update
apt-get install -y openssl
- name: setup env
run: |

View file

@ -1,17 +1,16 @@
ENGINE_URL=https://code.idtech.space/fte/fteqw
ENGINE_CLBUILD=m-dbg
all: list
list: fteqw64
list:
./start.sh
index: fteqw64
./index.sh
fteqw64:
if [ ! -d ThirdParty/fteqw ];then mkdir -p ThirdParty; git clone --depth 1 $(ENGINE_URL) ThirdParty/fteqw;else cd ./ThirdParty/fteqw && git pull;fi
cd ThirdParty/fteqw/engine && $(MAKE) makelibs ARCH=x86_64
cd ThirdParty/fteqw/engine && $(MAKE) $(ENGINE_CLBUILD) ARCH=x86_64
install -m 0777 ./ThirdParty/fteqw/engine/debug/fteqw ./fteqw64
index:
./index.sh

View file

@ -25,7 +25,7 @@ do
OUTPUT="$(basename "$PKGLIST")"
echo "version 2" > tmplist0
cat "$PKGLIST" >> tmplist0
SIG=$(./fteqw64 -privkey ./private-key.pem -pubkey ./public-key.pem -certhost $AUTH_HOST -sign2 tmplist0)
SIG=$(openssl dgst -sha512 -sign ./private-key.pem tmplist1 | openssl enc -A -base64)
head -n 1 tmplist0 > "$OUTPUT"
echo "signature \"$AUTH_HOST\" \"$SIG\"" >> "$OUTPUT"
tail -n +2 tmplist0 >> "$OUTPUT"