games/odamex: simple update to 0.9.5 to fix a security bug.

From the release notes:

"This is a small release containing a fix for an exploit that allowed players
to spy on players they weren't supposed to. It is highly recommended that all
servers update to this new release as soon as possible."
This commit is contained in:
edd 2021-09-13 19:51:30 +00:00
parent c22fdaed2c
commit ddb8f598c7
3 changed files with 9 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.6 2021/08/22 19:48:24 edd Exp $
# $OpenBSD: Makefile,v 1.7 2021/09/13 19:51:30 edd Exp $
COMMENT = online multiplayer doom
V = 0.9.4
V = 0.9.5
DISTNAME = odamex-src-${V}
PKGNAME = odamex-${V}

View File

@ -1,2 +1,2 @@
SHA256 (odamex-src-0.9.4.tar.bz2) = tKYsnEcmQOYQOPZ6EvbgwVkj4yNvHHGEnzfow1A2bVQ=
SIZE (odamex-src-0.9.4.tar.bz2) = 6659835
SHA256 (odamex-src-0.9.5.tar.bz2) = WBqO5fWzemw1kYlY192v0nnZkbIEVuWmjWYMy+1ODPQ=
SIZE (odamex-src-0.9.5.tar.bz2) = 6659528

View File

@ -1,16 +1,17 @@
$OpenBSD: patch-odalaunch_CMakeLists_txt,v 1.1 2021/08/22 19:48:24 edd Exp $
$OpenBSD: patch-odalaunch_CMakeLists_txt,v 1.2 2021/09/13 19:51:30 edd Exp $
Make odalaunch find the odamex executable.
Index: odalaunch/CMakeLists.txt
--- odalaunch/CMakeLists.txt.orig
+++ odalaunch/CMakeLists.txt
@@ -1,5 +1,8 @@
@@ -1,6 +1,9 @@
include(OdalaunchCopyLibs)
include(OdamexTargetSettings)
+
+add_definitions(-DINSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
+
+
# API
set(API_DIR ../odalpapi)
file(GLOB API_HEADERS ${API_DIR}/*.h ${API_DIR}/threads/*.h)