summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-08-09 20:25:41 +0000
committerPatrick Li <pat@FreeBSD.org>2003-08-09 20:25:41 +0000
commitd549bae93a323506c8eef8c5297587e0c6528967 (patch)
tree8fc0ab8b249b24ea37bd9e1bbf9a62ca9c1641ef /games
parentUpdate the Ruby/GNOME2 suite to 0.6.0. (diff)
Update to 3.1.1.1.d. This resolves the security issue.
PR: ports/55424 Submitted by: Kang Liu <lazykang@hotmail.com>, Notified by: "Reza Ambler" <reza225@sbcglobal.net>
Notes
Notes: svn path=/head/; revision=86670
Diffstat (limited to 'games')
-rw-r--r--games/halflifeserver/Makefile10
-rw-r--r--games/halflifeserver/distinfo1
-rw-r--r--games/halflifeserver/pkg-plist10
3 files changed, 16 insertions, 5 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile
index d3532e7dd081..61ae12020280 100644
--- a/games/halflifeserver/Makefile
+++ b/games/halflifeserver/Makefile
@@ -6,9 +6,11 @@
#
PORTNAME= hlds
-PORTVERSION= 3.1.1.1
+PORTVERSION= 3.1.1.1.d
CATEGORIES= games linux
-DISTNAME= hlds_l_${PORTVERSION:S/.//g}_full
+MASTER_SITES= http://www.isis.de/members/~hmenze/cs/server/linux/
+DISTFILES= hlds_l_3111_full.tar.gz \
+ hlds_l_3111d_update.tar.gz
MAINTAINER= pat@FreeBSD.org
COMMENT= Half-Life Dedicated Server for Linux
@@ -29,10 +31,10 @@ HLDSDIR= /usr/games/hlds_l/
SORT?= /usr/bin/sort
# files which should be installed with executables perms
-EXECUTABLES= hltv hlds hlds_run
+EXECUTABLES= hltv hlds hlds_run hlds_amd hlds_i486 hlds_i686
.include <bsd.port.pre.mk>
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+.if !exists(${DISTDIR}/hlds_l_${PORTVERSION:R:S/.//g}_full${EXTRACT_SUFX})
IGNORE= "Please download and execute ${DISTNAME}.bin to read valve\'s \
agreement and if you agree to the terms, then it will dump the \
tarball ${DISTNAME}${EXTRACT_SUFX} to your current directory. \
diff --git a/games/halflifeserver/distinfo b/games/halflifeserver/distinfo
index bd29154e2606..d8eb8fcfe7fa 100644
--- a/games/halflifeserver/distinfo
+++ b/games/halflifeserver/distinfo
@@ -1 +1,2 @@
MD5 (hlds_l_3111_full.tar.gz) = 358af895896bf6cf98d7ea4ac6072fd2
+MD5 (hlds_l_3111d_update.tar.gz) = fb45a812d4940b1603d894a25b961ec8
diff --git a/games/halflifeserver/pkg-plist b/games/halflifeserver/pkg-plist
index e2641c73643c..39f7079e1a1b 100644
--- a/games/halflifeserver/pkg-plist
+++ b/games/halflifeserver/pkg-plist
@@ -1,3 +1,4 @@
+%%PORTDOCS%%%%HLDSDIR%%ChangeLog
%%PORTDOCS%%%%HLDSDIR%%EULA.txt
%%PORTDOCS%%%%HLDSDIR%%HLTV-Readme.txt
%%HLDSDIR%%core_i386.so
@@ -385,14 +386,21 @@
%%HLDSDIR%%dmc/sprites/yelflare2.spr
%%HLDSDIR%%dmc/sprites/zerogxplode.spr
%%HLDSDIR%%dmc/titles.txt
+%%HLDSDIR%%engine_amd.so
%%HLDSDIR%%engine_i386.so
+%%HLDSDIR%%engine_i486.so
+%%HLDSDIR%%engine_i686.so
%%HLDSDIR%%filesystem_stdio_i386.so
%%HLDSDIR%%hlds
+%%HLDSDIR%%hlds_amd
+%%HLDSDIR%%hlds_i486
+%%HLDSDIR%%hlds_i686
%%HLDSDIR%%hlds_run
%%HLDSDIR%%hltv
%%HLDSDIR%%hltv.cfg
%%HLDSDIR%%kver.kp
%%HLDSDIR%%libSteamValidateUserIDTickets.so
+%%HLDSDIR%%libSteamValidateUserIDTickets_i386.so
%%HLDSDIR%%libhlwon.so
%%PORTDOCS%%%%HLDSDIR%%linuxreadme.txt
%%HLDSDIR%%proxy_i386.so
@@ -768,7 +776,7 @@
@unexec rmdir %D/%%HLDSDIR%%tfc 2>/dev/null || true
@unexec rmdir %D/%%HLDSDIR%%ricochet 2>/dev/null || true
@unexec rmdir %D/%%HLDSDIR%%dmc 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%cstrike 2>/dev/null || true
+@unexec rmdir %D/%%HLDSDIR%%cstrike 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%cstrike`` to remove any configuration files and logs left." | fmt
@unexec rmdir %D/%%HLDSDIR%% 2>/dev/null || echo "If you are permanently removing this port and its mods, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%`` to remove any configuration files and logs left." | fmt
@mode 0444
@exec grep -E "^/%%HLDSDIR%%$" %D/etc/ld.so.conf >/dev/null || ( echo /%%HLDSDIR%% >> %D/etc/ld.so.conf ; %%LDCONFIG%% )