summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-06-22 19:11:50 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-06-22 19:11:50 +0000
commit641ff1a31ffaa9c71ea625d718305b7f47452dd9 (patch)
tree6da53a79a236767a183ca051a6fa7f783e7dfe81 /games
parentAdd working MASTER_SITES (diff)
- Add a PKGMESSAGE to halflifeserver port about an issue with
running the Half-life servers as root - Enable this message in all mod slave ports Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=44328
Diffstat (limited to '')
-rw-r--r--games/halflifeserver/Makefile3
-rw-r--r--games/halflifeserver/pkg-message9
-rw-r--r--games/hlserver-cs/Makefile4
3 files changed, 16 insertions, 0 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile
index 676edda4d916..129aeb500d30 100644
--- a/games/halflifeserver/Makefile
+++ b/games/halflifeserver/Makefile
@@ -74,4 +74,7 @@ install-files:
scan-libs:
@${LDCONFIG_LINUX}
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/games/halflifeserver/pkg-message b/games/halflifeserver/pkg-message
new file mode 100644
index 000000000000..d5c9188cea34
--- /dev/null
+++ b/games/halflifeserver/pkg-message
@@ -0,0 +1,9 @@
+*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
+------------------------------------------------------------
+There is a bug in HLDS regarding the server log placement.
+Temporary workaround for this little problem is to run HLDS in
+a non-root environment. You may create a separate account for
+this or use an existing one as long as it does not have super-
+user privileges and manually do a recursive change in ownership
+and permissions to HLDS and any mods you install accordingly.
+------------------------------------------------------------
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
index 80cf262fe6ec..3020dc1bd3a4 100644
--- a/games/hlserver-cs/Makefile
+++ b/games/hlserver-cs/Makefile
@@ -42,6 +42,7 @@ HALFLIFESERVER_PORT= ${.CURDIR}/../halflifeserver
HLDSDIR!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V HLDSDIR
HL_PROGRAM!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V HL_PROGRAM
PLIST_SUB_MASTER!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PLIST_SUB_FOR_THIS_PORT
+PKGMESSAGE!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PKGMESSAGE
pre-patch:
# remove trailing ^M
@@ -86,4 +87,7 @@ install-run-scripts:
@${SH} ${WRKDIR}/${script}.sh
.endfor
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>