Skip to content

Commit

Permalink
games/odamex: simple update to 0.9.5 to fix a security bug.
Browse files Browse the repository at this point in the history
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."
  • Loading branch information
edd committed Sep 13, 2021
1 parent c22fdae commit ddb8f59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions games/odamex/Makefile
@@ -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}

Expand Down
4 changes: 2 additions & 2 deletions games/odamex/distinfo
@@ -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
9 changes: 5 additions & 4 deletions games/odamex/patches/patch-odalaunch_CMakeLists_txt
@@ -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)

0 comments on commit ddb8f59

Please sign in to comment.