aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-06-23 03:11:50 +0800
committerlioux <lioux@FreeBSD.org>2001-06-23 03:11:50 +0800
commitc35bf82d6930350e11a5f51754cbea8ce4197957 (patch)
tree0a74dc6bfc2c8eb6d5283e5928d49ce359ac4895 /games
parent873104deb8eb978cdff15b676fba25110072fe01 (diff)
downloadfreebsd-ports-gnome-c35bf82d6930350e11a5f51754cbea8ce4197957.tar.gz
freebsd-ports-gnome-c35bf82d6930350e11a5f51754cbea8ce4197957.tar.zst
freebsd-ports-gnome-c35bf82d6930350e11a5f51754cbea8ce4197957.zip
- 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
Diffstat (limited to 'games')
-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>