Add xonotic

This commit is contained in:
Alex D. 2021-01-30 18:03:18 +00:00
parent 2702e6c1c6
commit 37b65ebc05
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
7 changed files with 70 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-unbound
pkgver=2021.01.30
pkgrel=0
pkgrel=1
pkgdesc="Unbound configurations"
url="https://git.redxen.eu/RedXen"
arch="noarch"
@ -63,4 +63,4 @@ d3754ced9d8055ff7f1d364a93c403bba3f220a60ea519bceee5e9c43112d6a00d20d15cf659fdd6
d94ad338e2ea43c3ecdc62c861eddc0bb706807b738dd985309bcdf0b5fb435d7260bf272e2bbe40a774ec5b8fa49cbf23624c2c5213eea94f4f14aa3720abfa rctrl.conf
5e710c07178cc2da220d6c869ba9761d36626a60f968100ccac366177ade06676e7633ef4c20523dabd8b3d337308728327ef104da613fa69df7d82c8b77c713 internal.conf
28c917fe7f69643887097553312c4f1ffc747dffdbf150430e6c4b2e5833567922810716cb59a27887915664777ac3263be3c826956f504499f0ebdcc0b3aac5 auth-zones.conf
cc4dd9bf6429ef631f49105e9600cb253a4ed912889631020302c3ae23f86ac29b6aa8466698e7ee098b41fdff13cbc75746e31b0d33ccdf207da987acc33c21 redxen.eu"
b183abd7ac01c28aa42957c825f38bc70108433a4095f2020c812ffb9e115711df2db62f14667895d2e05978ebd05b5f72384f186cc7ee05f4304f8fe28979e8 redxen.eu"

View File

@ -63,6 +63,9 @@ wireguard 86400 IN CNAME 9013723.fsn1-dc1
; Mumble
mumble 86400 IN CNAME 8201371.fsn1-dc14.hetzner
; Xonotic
xonotic 86400 IN CNAME 8201371.fsn1-dc14.hetzner
; Mail
@ 86400 IN MX 10 mail

21
configs/xonotic/APKBUILD Normal file
View File

@ -0,0 +1,21 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-xonotic
pkgver=2021.01.30
pkgrel=1
pkgdesc="Xonotic server configuration"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="xonotic-server"
source="
xonotic.cfg
"
options="!check"
builddir="$srcdir"
package() {
install -Dm644 xonotic.cfg "$pkgdir"/etc/xonotic-server/redxen/data/server.cfg
}
sha512sums="5da4fb0e113523086216a469c9ec30eae1925b218e5d6e5b6bce63bb91dd8eff72414cfe49449e19ffcdd91577d932796b283f6a255825da30541905289d46f1 xonotic.cfg"

View File

@ -0,0 +1,18 @@
port 7542
skill 4
minplayers 2
maxplayers 64
hostname "[RX] Open source hardcore gibs"
sv_motd "Welcome to the RedXen Xonotic server"
sv_public 1
sv_vote_gametype 1
sv_status_privacy 1
g_maplist_votable 9
g_warmup 1
g_warmup_limit 30
sys_ticrate 0.005

12
openrc/xonotic/APKBUILD Normal file
View File

@ -0,0 +1,12 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_svcname=xonotic
_grpname=games
. ../APKBUILD-openrc.common
pkgver=2021.01.29
pkgrel=0
sha512sums="d5b3cb34992af61b25cd331e454b95eb1c3b69137afbe06faf08fc1eaf47dda373c97442a59d862b2a2ebb41aa365bcc0e2d21b83657cfdb3a72d9502856c632 runfile
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e conffile"

0
openrc/xonotic/conffile Normal file
View File

14
openrc/xonotic/runfile Normal file
View File

@ -0,0 +1,14 @@
#!/sbin/openrc-run
#!/sbin/openrc-run
description="Xonotic server"
supervisor=supervise-daemon
command="/usr/bin/xonotic-dedicated"
command_args="${SERVER_ARGS:--userdir /etc/xonotic-server/redxen}"
pidfile="/run/${RC_SVCNAME}.pid"
command_background=true
depend() {
want net
after net firewall
}