summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 05:51:11 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 05:51:11 +0000
commitedbc06b08e95c97e2012a831adcf93b9652b0be0 (patch)
treedebef26d9299fcdb4a69696d45a8fc8d27d36722 /games-server
parentgames-server (diff)
downloadgentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.gz
gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.bz2
gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.zip
games-servers !
Diffstat (limited to 'games-server')
-rw-r--r--games-server/halfd/ChangeLog8
-rw-r--r--games-server/halfd/Manifest3
-rw-r--r--games-server/halfd/files/digest-halfd-2.191
-rw-r--r--games-server/halfd/halfd-2.19.ebuild25
-rw-r--r--games-server/halflife-adminmod/ChangeLog19
-rw-r--r--games-server/halflife-adminmod/Manifest8
-rw-r--r--games-server/halflife-adminmod/files/2.50.52-adminmod.cfg27
-rw-r--r--games-server/halflife-adminmod/files/2.50.56a-adminmod.cfg20
-rw-r--r--games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.521
-rw-r--r--games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.56a1
-rw-r--r--games-server/halflife-adminmod/files/modsetup63
-rw-r--r--games-server/halflife-adminmod/halflife-adminmod-2.50.52.ebuild43
-rw-r--r--games-server/halflife-adminmod/halflife-adminmod-2.50.56a.ebuild43
-rw-r--r--games-server/halflife-clanmod/ChangeLog8
-rw-r--r--games-server/halflife-clanmod/Manifest3
-rw-r--r--games-server/halflife-clanmod/files/digest-halflife-clanmod-1.81.24e1
-rw-r--r--games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild29
-rw-r--r--games-server/halflife-cstrike/ChangeLog8
-rw-r--r--games-server/halflife-cstrike/Manifest7
-rw-r--r--games-server/halflife-cstrike/files/digest-halflife-cstrike-1.51
-rw-r--r--games-server/halflife-cstrike/files/hlds-cstrike3
-rw-r--r--games-server/halflife-cstrike/files/hlds-cstrike.conf.d8
-rw-r--r--games-server/halflife-cstrike/files/hlds-cstrike.rc26
-rw-r--r--games-server/halflife-cstrike/files/server.cfg78
-rw-r--r--games-server/halflife-cstrike/halflife-cstrike-1.5.ebuild68
-rw-r--r--games-server/halflife-dpb/ChangeLog8
-rw-r--r--games-server/halflife-dpb/Manifest6
-rw-r--r--games-server/halflife-dpb/files/digest-halflife-dpb-2.12
-rw-r--r--games-server/halflife-dpb/files/hlds-dpb3
-rw-r--r--games-server/halflife-dpb/files/hlds-dpb.conf.d8
-rw-r--r--games-server/halflife-dpb/files/hlds-dpb.rc26
-rw-r--r--games-server/halflife-dpb/halflife-dpb-2.1.ebuild81
-rw-r--r--games-server/halflife-entmod/ChangeLog8
-rw-r--r--games-server/halflife-entmod/Manifest3
-rw-r--r--games-server/halflife-entmod/files/digest-halflife-entmod-21
-rw-r--r--games-server/halflife-entmod/halflife-entmod-2.ebuild26
-rw-r--r--games-server/halflife-hlguard/ChangeLog13
-rw-r--r--games-server/halflife-hlguard/Manifest6
-rw-r--r--games-server/halflife-hlguard/files/digest-halflife-hlguard-1.411
-rw-r--r--games-server/halflife-hlguard/files/digest-halflife-hlguard-1.50.021
-rw-r--r--games-server/halflife-hlguard/files/modsetup51
-rw-r--r--games-server/halflife-hlguard/halflife-hlguard-1.41.ebuild30
-rw-r--r--games-server/halflife-hlguard/halflife-hlguard-1.50.02.ebuild34
-rw-r--r--games-server/halflife-hookmod/ChangeLog8
-rw-r--r--games-server/halflife-hookmod/Manifest3
-rw-r--r--games-server/halflife-hookmod/files/digest-halflife-hookmod-41
-rw-r--r--games-server/halflife-hookmod/halflife-hookmod-4.ebuild26
-rw-r--r--games-server/halflife-metamod/ChangeLog13
-rw-r--r--games-server/halflife-metamod/Manifest3
-rw-r--r--games-server/halflife-metamod/files/digest-halflife-metamod-1.16.21
-rw-r--r--games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild63
-rw-r--r--games-server/halflife-modsetup/ChangeLog13
-rw-r--r--games-server/halflife-modsetup/Manifest3
-rw-r--r--games-server/halflife-modsetup/files/digest-halflife-modsetup-0.1.11
-rw-r--r--games-server/halflife-modsetup/halflife-modsetup-0.1.1.ebuild30
-rw-r--r--games-server/halflife-ns/ChangeLog13
-rw-r--r--games-server/halflife-ns/Manifest8
-rw-r--r--games-server/halflife-ns/files/digest-halflife-ns-1.042
-rw-r--r--games-server/halflife-ns/files/digest-halflife-ns-2.01
-rw-r--r--games-server/halflife-ns/files/hlds-ns3
-rw-r--r--games-server/halflife-ns/files/hlds-ns.conf.d8
-rw-r--r--games-server/halflife-ns/files/hlds-ns.rc26
-rw-r--r--games-server/halflife-ns/halflife-ns-1.04.ebuild73
-rw-r--r--games-server/halflife-ns/halflife-ns-2.0.ebuild72
-rw-r--r--games-server/halflife-server/ChangeLog31
-rw-r--r--games-server/halflife-server/Manifest10
-rw-r--r--games-server/halflife-server/files/digest-halflife-server-3.1.1.01
-rw-r--r--games-server/halflife-server/files/digest-halflife-server-3.1.1.11
-rw-r--r--games-server/halflife-server/files/digest-halflife-server-3.1.1.1d2
-rw-r--r--games-server/halflife-server/files/hlds3
-rw-r--r--games-server/halflife-server/files/hlds.conf.d9
-rw-r--r--games-server/halflife-server/files/hlds.rc26
-rw-r--r--games-server/halflife-server/halflife-server-3.1.1.0.ebuild85
-rw-r--r--games-server/halflife-server/halflife-server-3.1.1.1.ebuild86
-rw-r--r--games-server/halflife-server/halflife-server-3.1.1.1d.ebuild93
-rw-r--r--games-server/halflife-statsme/ChangeLog8
-rw-r--r--games-server/halflife-statsme/Manifest7
-rw-r--r--games-server/halflife-statsme/files/2.7.1-cstrike-gentoo.patch30
-rw-r--r--games-server/halflife-statsme/files/2.7.1-dod-gentoo.patch26
-rw-r--r--games-server/halflife-statsme/files/2.7.1-tfc-gentoo.patch26
-rw-r--r--games-server/halflife-statsme/files/digest-halflife-statsme-2.7.16
-rw-r--r--games-server/halflife-statsme/files/modsetup53
-rw-r--r--games-server/halflife-statsme/halflife-statsme-2.7.1.ebuild56
-rw-r--r--games-server/halflife-steam/ChangeLog12
-rw-r--r--games-server/halflife-steam/Manifest4
-rw-r--r--games-server/halflife-steam/files/digest-halflife-steam-2.0_beta2
-rw-r--r--games-server/halflife-steam/files/steam3
-rw-r--r--games-server/halflife-steam/halflife-steam-2.0_beta.ebuild62
-rw-r--r--games-server/hlstats/ChangeLog8
-rw-r--r--games-server/hlstats/Manifest5
-rw-r--r--games-server/hlstats/files/digest-hlstats-1.021
-rw-r--r--games-server/hlstats/files/hlstats7
-rw-r--r--games-server/hlstats/files/hlstats.rc23
-rw-r--r--games-server/hlstats/hlstats-1.02.ebuild71
-rw-r--r--games-server/monopd/ChangeLog33
-rw-r--r--games-server/monopd/Manifest6
-rw-r--r--games-server/monopd/files/digest-monopd-0.8.21
-rw-r--r--games-server/monopd/files/digest-monopd-0.8.2-r11
-rw-r--r--games-server/monopd/files/monopd17
-rw-r--r--games-server/monopd/monopd-0.8.2-r1.ebuild26
-rw-r--r--games-server/monopd/monopd-0.8.2.ebuild22
-rw-r--r--games-server/nwn-ded/ChangeLog8
-rw-r--r--games-server/nwn-ded/Manifest4
-rw-r--r--games-server/nwn-ded/files/digest-nwn-ded-1.301
-rw-r--r--games-server/nwn-ded/files/nwserver3
-rw-r--r--games-server/nwn-ded/nwn-ded-1.30.ebuild33
-rw-r--r--games-server/ut2003-ded/ChangeLog9
-rw-r--r--games-server/ut2003-ded/Manifest3
-rw-r--r--games-server/ut2003-ded/files/digest-ut2003-ded-22251
-rw-r--r--games-server/ut2003-ded/ut2003-ded-2225.ebuild33
110 files changed, 2139 insertions, 0 deletions
diff --git a/games-server/halfd/ChangeLog b/games-server/halfd/ChangeLog
new file mode 100644
index 000000000000..5f936bf47485
--- /dev/null
+++ b/games-server/halfd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halfd
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halfd/ChangeLog,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+*halfd-2.19 (26 Jul 2003)
+
+ 26 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me #25188.
diff --git a/games-server/halfd/Manifest b/games-server/halfd/Manifest
new file mode 100644
index 000000000000..193421f4e0d6
--- /dev/null
+++ b/games-server/halfd/Manifest
@@ -0,0 +1,3 @@
+MD5 1dca24c7a2dd87515c9b5f378f4612ea halfd-2.19.ebuild 631
+MD5 f24fec5e1ff954e9451decbe9ebc8688 files/digest-halfd-2.19 62
+MD5 1a2398079579337ade99bd0e8d67c785 ChangeLog 341
diff --git a/games-server/halfd/files/digest-halfd-2.19 b/games-server/halfd/files/digest-halfd-2.19
new file mode 100644
index 000000000000..9c8f8cc3b88d
--- /dev/null
+++ b/games-server/halfd/files/digest-halfd-2.19
@@ -0,0 +1 @@
+MD5 02f416ab49814b7d50fb9ec0d13403a3 halfd-2.19.tar.gz 364792
diff --git a/games-server/halfd/halfd-2.19.ebuild b/games-server/halfd/halfd-2.19.ebuild
new file mode 100644
index 000000000000..5762bf53544a
--- /dev/null
+++ b/games-server/halfd/halfd-2.19.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halfd/halfd-2.19.ebuild,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Half-Life server management tool"
+HOMEPAGE="http://halfd.org/"
+SRC_URI="http://halfd.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="dev-tcltk/tclx
+ dev-lang/perl"
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+ dodoc FAQ.txt INSTALL* README UPGRADE
+ rm FAQ.txt INSTALL* README UPGRADE
+ cp -r * ${D}/${dir}/
+ prepgamesdirs
+}
diff --git a/games-server/halflife-adminmod/ChangeLog b/games-server/halflife-adminmod/ChangeLog
new file mode 100644
index 000000000000..2a3e7e65280b
--- /dev/null
+++ b/games-server/halflife-adminmod/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-games/halflife-adminmod
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/ChangeLog,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+*halflife-adminmod-2.50.56a (12 Aug 2003)
+
+ 12 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage.
+
+*halflife-adminmod-2.50.52 (08 Jul 2003)
+
+ 26 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Tweak default config files ... turn off default pws and stuff.
+
+ 25 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added halflife-modsetup support.
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-adminmod/Manifest b/games-server/halflife-adminmod/Manifest
new file mode 100644
index 000000000000..334aa1f1b29d
--- /dev/null
+++ b/games-server/halflife-adminmod/Manifest
@@ -0,0 +1,8 @@
+MD5 6ce5a6a2f495ea6caf57eb41e94e89fd files/digest-halflife-adminmod-2.50.52 72
+MD5 22c482d93cb3d2c50ec25f308bdda601 files/modsetup 1717
+MD5 d2d3cb2fa13d4b5009d5776626452f9e files/2.50.52-adminmod.cfg 1100
+MD5 c70c7ef6d70e05e6a986d2d24e96d161 files/2.50.56a-adminmod.cfg 817
+MD5 bc1b576050fdddb7287dd28d5dd0532b files/digest-halflife-adminmod-2.50.56a 73
+MD5 8d8aaf5c8c218b39d81a0f87dfb932da halflife-adminmod-2.50.52.ebuild 1159
+MD5 7de6022e60dfe06a3df4be613774217c ChangeLog 694
+MD5 5802b31110cc48b3a735f869171ae607 halflife-adminmod-2.50.56a.ebuild 1160
diff --git a/games-server/halflife-adminmod/files/2.50.52-adminmod.cfg b/games-server/halflife-adminmod/files/2.50.52-adminmod.cfg
new file mode 100644
index 000000000000..37ba6106e8c6
--- /dev/null
+++ b/games-server/halflife-adminmod/files/2.50.52-adminmod.cfg
@@ -0,0 +1,27 @@
+diff -U 0 config.orig/adminmod.cfg config/adminmod.cfg
+--- config.orig/adminmod.cfg 2003-07-25 08:54:15.000000000 -0400
++++ config/adminmod.cfg 2003-07-25 08:56:16.000000000 -0400
+@@ -17 +17 @@
+-admin_connect_msg "Welcome to the Real World..."
++admin_connect_msg "Welcome to the Real World w/Gentoo Linux..."
+@@ -62 +62 @@
+-admin_plugin_file "addons/adminmod/config/plugin.ini"
++admin_plugin_file "plugin.ini"
+@@ -70 +70 @@
+-admin_reject_msg "You do not have access to this command."
++admin_reject_msg "Larry the Cow says you do not have access to this command."
+@@ -79 +79 @@
+-admin_repeat_msg "This server is using Admin Mod"
++admin_repeat_msg "Running Admin Mod on Gentoo Linux"
+@@ -90 +90 @@
+-admin_vault_file "addons/adminmod/config/vault.ini"
++admin_vault_file "vault.ini"
+@@ -166 +166 @@
+-//help_file "addons/adminmod/config/admin_help.cfg"
++//help_file "admin_help.cfg"
+@@ -221 +221 @@
+-//script_file "cstrike/addons/adminmod/scripts/admin.amx"
++//script_file "../addons/adminmod/scripts/admin.amx"
+@@ -230 +230 @@
+-users_file "addons/adminmod/config/users.ini"
++users_file "users.ini"
diff --git a/games-server/halflife-adminmod/files/2.50.56a-adminmod.cfg b/games-server/halflife-adminmod/files/2.50.56a-adminmod.cfg
new file mode 100644
index 000000000000..83be51a21823
--- /dev/null
+++ b/games-server/halflife-adminmod/files/2.50.56a-adminmod.cfg
@@ -0,0 +1,20 @@
+--- config/adminmod.cfg.orig 2003-08-12 10:47:26.000000000 -0400
++++ config/adminmod.cfg 2003-08-12 10:51:55.000000000 -0400
+@@ -17 +17 @@
+-admin_connect_msg "Welcome to the Real World..."
++admin_connect_msg "Welcome to the Real World w/Gentoo Linux..."
+@@ -62 +62 @@
+-admin_plugin_file "addons/adminmod/config/plugin.ini"
++admin_plugin_file "plugin.ini"
+@@ -70 +70 @@
+-admin_reject_msg "You do not have access to this command."
++admin_reject_msg "Larry the Cow says you do not have access to this command."
+@@ -79 +79 @@
+-admin_repeat_msg "This server is using Admin Mod"
++admin_repeat_msg "Running Admin Mod on Gentoo Linux"
+@@ -90 +90 @@
+-admin_vault_file "addons/adminmod/config/vault.ini"
++admin_vault_file "vault.ini"
+@@ -222 +222 @@
+-users_file "addons/adminmod/config/users.ini"
++users_file "users.ini"
diff --git a/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.52 b/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.52
new file mode 100644
index 000000000000..d48e90557cd5
--- /dev/null
+++ b/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.52
@@ -0,0 +1 @@
+MD5 9c5b7a8f7981ca0cbd9be09292c8fb6d halflife-admin-2.50.52.tgz 1518416
diff --git a/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.56a b/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.56a
new file mode 100644
index 000000000000..6ae76ad74906
--- /dev/null
+++ b/games-server/halflife-adminmod/files/digest-halflife-adminmod-2.50.56a
@@ -0,0 +1 @@
+MD5 06b91e0c93db4571f971c45cbe296509 halflife-admin-2.50.56a.tgz 1517251
diff --git a/games-server/halflife-adminmod/files/modsetup b/games-server/halflife-adminmod/files/modsetup
new file mode 100644
index 000000000000..33d39aeaf335
--- /dev/null
+++ b/games-server/halflife-adminmod/files/modsetup
@@ -0,0 +1,63 @@
+#!/bin/bash
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/files/modsetup,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+source GENTOO_CFGDIR/modsetup.conf || { echo "Could not find config file!" ; exit 1 ; }
+
+moddir=${PWD}
+plugindir=${moddir}/../addons/adminmod/
+
+gen_default_cfgs() {
+ local m=${moddir}
+ local c=${plugindir}/config/
+ for f in adminmod.cfg plugin.ini ; do
+ [ ! -e ${m}/${f} ] \
+ && cp ${c}/${f} ${m}/
+ done
+ c=${c}/Samples/
+ for f in ips.ini maps.ini models.ini users.ini wordlist.txt ; do
+ [ ! -e ${m}/${f} ] \
+ && cp ${c}/${f} ${m}/
+ done
+}
+
+while :; do
+case $1 in
+ help)
+ file=`dialog --title "Adminmod help" \
+ --menu "Select Help File:" 16 80 10 \
+ README.gz 'README' \
+ CHANGES.gz 'ChangeLog' \
+ admin_permission_levels.txt.gz 'Accessible Functions' \
+ adminmod_accesslevel.txt.gz 'Access Level Explanation' \
+ amx_error_codes.txt.gz 'AMX Errors' \
+ html/toclist.htm 'HTML Docs' 2>&1`
+ [ $? -eq 0 ] || exit 0
+ file=${plugindir}/docs/${file}
+ [ "${file:${#file}-3}" == "htm" ] \
+ && ${BROWSER} ${file} \
+ || less ${file}
+ ;;
+ config)
+ gen_default_cfgs
+ file=`dialog --title "Adminmod config files" \
+ --help-button \
+ --menu "Select file to Edit:" 16 80 10 \
+ adminmod.cfg 'Main adminmod configuration file' \
+ plugin.ini 'Edit adminmod plugin list by hand' \
+ users.ini 'List of admins and their access levels' \
+ maps.ini 'List of maps admins can switch to' \
+ ips.ini 'Set IPs for reserved slots' \
+ models.ini 'Restrict model hacks' \
+ wordlist.txt 'Filter bad words' 2>&1`
+ if [ "${file:0:4}" == "HELP" ] ; then
+ $0 help
+ else
+ [ -z "${file}" ] && exit 0
+ ${EDITOR} ${moddir}/${file}
+ fi
+ ;;
+ *)
+ exit 0
+ ;;
+esac
+done
diff --git a/games-server/halflife-adminmod/halflife-adminmod-2.50.52.ebuild b/games-server/halflife-adminmod/halflife-adminmod-2.50.52.ebuild
new file mode 100644
index 000000000000..23a0dbc1777f
--- /dev/null
+++ b/games-server/halflife-adminmod/halflife-adminmod-2.50.52.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/halflife-adminmod-2.50.52.ebuild,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+inherit games eutils
+
+MY_P=${P/mod/}
+DESCRIPTION="give people admin access (and a looooooot more)"
+HOMEPAGE="http://www.adminmod.org/"
+SRC_URI="mirror://sourceforge/halflifeadmin/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+PDEPEND="app-games/halflife-modsetup"
+
+S=${WORKDIR}/Adminmod
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # fix default values
+ sed -i "s:addons:../addons:" config/{metamod,plugin}.ini
+ sed -i "/^[^/]/s:^://:" config/Samples/{ips,users}.ini
+ sed -i "/^[^/h]/s:^://:" config/Samples/models.ini
+ epatch ${FILESDIR}/${PV}-adminmod.cfg
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/adminmod
+
+ dodoc CHANGES README docs/*
+ dohtml -r docs/html/*
+ rm -rf LICENSE CHANGES README docs dlls/metamod_i386.so
+
+ dodir ${dir}
+ cp -rf ${S}/* ${FILESDIR}/modsetup ${D}/${dir}/
+ dosym /usr/share/doc/${PF} ${dir}/docs
+
+ prepgamesdirs
+}
diff --git a/games-server/halflife-adminmod/halflife-adminmod-2.50.56a.ebuild b/games-server/halflife-adminmod/halflife-adminmod-2.50.56a.ebuild
new file mode 100644
index 000000000000..6e35e491ddf1
--- /dev/null
+++ b/games-server/halflife-adminmod/halflife-adminmod-2.50.56a.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/halflife-adminmod-2.50.56a.ebuild,v 1.1 2003/09/10 05:51:10 vapier Exp $
+
+inherit games eutils
+
+MY_P=${P/mod/}
+DESCRIPTION="give people admin access (and a looooooot more)"
+HOMEPAGE="http://www.adminmod.org/"
+SRC_URI="mirror://sourceforge/halflifeadmin/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+PDEPEND="app-games/halflife-modsetup"
+
+S=${WORKDIR}/Adminmod
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # fix default values
+ sed -i "s:addons:../addons:" config/{metamod,plugin}.ini
+ sed -i "/^[^/]/s:^://:" config/Samples/{ips,users}.ini
+ sed -i "/^[^/h]/s:^://:" config/Samples/models.ini
+ epatch ${FILESDIR}/${PV}-adminmod.cfg
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/adminmod
+
+ dodoc CHANGES README docs/*
+ dohtml -r docs/html/*
+ rm -rf LICENSE CHANGES README docs dlls/metamod_i386.so
+
+ dodir ${dir}
+ cp -rf ${S}/* ${FILESDIR}/modsetup ${D}/${dir}/
+ dosym /usr/share/doc/${PF} ${dir}/docs
+
+ prepgamesdirs
+}
diff --git a/games-server/halflife-clanmod/ChangeLog b/games-server/halflife-clanmod/ChangeLog
new file mode 100644
index 000000000000..3c3d57a0428d
--- /dev/null
+++ b/games-server/halflife-clanmod/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-clanmod
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-clanmod/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-clanmod-1.81.24e (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-clanmod/Manifest b/games-server/halflife-clanmod/Manifest
new file mode 100644
index 000000000000..a71234f88fcd
--- /dev/null
+++ b/games-server/halflife-clanmod/Manifest
@@ -0,0 +1,3 @@
+MD5 f8ad89c3a434205784e6b6d68f6e9e97 files/digest-halflife-clanmod-1.81.24e 69
+MD5 f9d85b712510b67257f5dbb3a68dafbc halflife-clanmod-1.81.24e.ebuild 800
+MD5 a2070e3182eeb55fa3ee3185991d9403 ChangeLog 371
diff --git a/games-server/halflife-clanmod/files/digest-halflife-clanmod-1.81.24e b/games-server/halflife-clanmod/files/digest-halflife-clanmod-1.81.24e
new file mode 100644
index 000000000000..4b51aa648692
--- /dev/null
+++ b/games-server/halflife-clanmod/files/digest-halflife-clanmod-1.81.24e
@@ -0,0 +1 @@
+MD5 edf30a6338d6981071ed19905ef60e9a cm-1.81.24e-all-mods.zip 695773
diff --git a/games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild b/games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild
new file mode 100644
index 000000000000..02f5293db586
--- /dev/null
+++ b/games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="tool for Half-Life mods which helps ease admining a server"
+HOMEPAGE="http://www.unitedadmins.com/clanmod.php"
+SRC_URI="mirror://sourceforge/clanmod/cm-${PV}-all-mods.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+
+S=${WORKDIR}/cm-${PV}/addons/clanmod
+
+src_unpack() {
+ unpack ${A}
+ edos2unix `find -name '*.cfg' -o -name '*.sql' -o -name '*.txt'`
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/clanmod
+ dodir ${dir}
+ cp -rf * ${D}/${dir}
+ prepgamesdirs
+}
diff --git a/games-server/halflife-cstrike/ChangeLog b/games-server/halflife-cstrike/ChangeLog
new file mode 100644
index 000000000000..a328b08a5408
--- /dev/null
+++ b/games-server/halflife-cstrike/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-cstrike
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-cstrike-1.5 (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-cstrike/Manifest b/games-server/halflife-cstrike/Manifest
new file mode 100644
index 000000000000..d294ff36fb22
--- /dev/null
+++ b/games-server/halflife-cstrike/Manifest
@@ -0,0 +1,7 @@
+MD5 30deb1d4743d67fe84fc00d02cb47050 files/hlds-cstrike 59
+MD5 97ea8306848e658c04b5c45d07387dd6 files/digest-halflife-cstrike-1.5 65
+MD5 108376d9c8b8f312c1469a7c42201042 files/server.cfg 1401
+MD5 8378161b06d52a4b5849b907f4a41b09 files/hlds-cstrike.rc 802
+MD5 c95a21f2584de1af71a81cd925ae360c files/hlds-cstrike.conf.d 396
+MD5 27fb768915150663177c60674fc6e94a ChangeLog 366
+MD5 ea371d3dff4d32c5bba38c96a980d08a halflife-cstrike-1.5.ebuild 2176
diff --git a/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5 b/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5
new file mode 100644
index 000000000000..87d87c25d977
--- /dev/null
+++ b/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5
@@ -0,0 +1 @@
+MD5 d688876fa2864ff69ff808432c9e6fe7 cs_15_full.tar.gz 112935519
diff --git a/games-server/halflife-cstrike/files/hlds-cstrike b/games-server/halflife-cstrike/files/hlds-cstrike
new file mode 100644
index 000000000000..aa3bdacaa97d
--- /dev/null
+++ b/games-server/halflife-cstrike/files/hlds-cstrike
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./hlds_run -game cstrike ${@}
diff --git a/games-server/halflife-cstrike/files/hlds-cstrike.conf.d b/games-server/halflife-cstrike/files/hlds-cstrike.conf.d
new file mode 100644
index 000000000000..9eb3688acb84
--- /dev/null
+++ b/games-server/halflife-cstrike/files/hlds-cstrike.conf.d
@@ -0,0 +1,8 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/files/hlds-cstrike.conf.d,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+# to find out more options, read these 2 files:
+# GENTOO_DIR/cstrike/readme.txt
+
+HLDS_OPTS="+sv_lan 1 -nomaster -insecure +maxplayers 16 +map cs_italy"
diff --git a/games-server/halflife-cstrike/files/hlds-cstrike.rc b/games-server/halflife-cstrike/files/hlds-cstrike.rc
new file mode 100644
index 000000000000..c3287e302df3
--- /dev/null
+++ b/games-server/halflife-cstrike/files/hlds-cstrike.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/files/hlds-cstrike.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting halflife cstrike dedicated"
+ screen -A -m -d -S hlds-cstrike su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds-cstrike ${HLDS_OPTS}" &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping halflife cstrike dedicated"
+ local ppid=`screen -list | grep hlds-cstrike | awk -F . '{ print $1 }' | sed -e s/.//`
+ if [ -z "${ppid}" ] ; then
+ eend 1 "Lost screen session"
+ else
+ local cpid=`pstree -p ${ppid} | sed -e 's:^.*hlds_run(::' -e 's:).*$::'`
+ kill ${ppid} ${cpid}
+ eend $? "Could not kill hlds-cstrike"
+ fi
+}
diff --git a/games-server/halflife-cstrike/files/server.cfg b/games-server/halflife-cstrike/files/server.cfg
new file mode 100644
index 000000000000..78dd595b4b87
--- /dev/null
+++ b/games-server/halflife-cstrike/files/server.cfg
@@ -0,0 +1,78 @@
+// Use this file to configure your DEDICATED server.
+// This config file is executed everytime the server changes levels.
+
+// disable autoaim
+sv_aim 0
+
+// disable clients' ability to pause the server
+pausable 0
+
+// default server name.
+hostname "Powered by Gentoo Linux"
+
+// maximum client movement speed
+sv_maxspeed 320
+
+// Timelimit for the map.
+mp_timelimit 30
+
+sv_cheats 0
+
+// force teambalance
+mp_autoteambalance 1
+// number of players before team is seen as unbalanced
+mp_limitteams 1
+
+// kick idle players
+mp_autokick 1
+
+// part of a minute in which you can buy
+mp_buytime 0.4
+
+mp_c4timer 45
+
+// only see your teams players
+mp_chasecam 1
+// force chasecam
+mp_forcechasecam 1
+// fade to black so dead players can't see anything
+mp_fadetoblack 0
+
+// allow flashlight to be used ?
+mp_flashlight 0
+
+// enable footsteps
+mp_footsteps 1
+
+mp_freezetime 3
+
+// be damaged by "friendly" grenades
+mp_friendly_grenade_damage 1
+// be damaged by your teammates' fire
+mp_friendlyfire 1
+
+// kill that many hostages and you're out
+mp_hostagepenalty 2
+
+// on round lasts:
+mp_roundtime 5
+
+// team killers can't play the next round
+mp_tkpunish 1
+
+// (dis)allow voicechat
+sv_enablevoice 1
+
+// realistic falling damage ?
+mp_falldamage 1
+
+// number of decals allowed
+mp_decals 250
+
+// rate settings, you might want to adjust for internet play
+sv_maxrate 40000
+sv_minrate 6000
+
+// rcon_password "gentoorulez"
+
+log on
diff --git a/games-server/halflife-cstrike/halflife-cstrike-1.5.ebuild b/games-server/halflife-cstrike/halflife-cstrike-1.5.ebuild
new file mode 100644
index 000000000000..1a82ca76237a
--- /dev/null
+++ b/games-server/halflife-cstrike/halflife-cstrike-1.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/halflife-cstrike-1.5.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Halflife Counterstrike mod (server only, client only works in wine)"
+HOMEPAGE="http://www.counter-strike.net/"
+SRC_URI="ftp://ftp.splatterworld.de/games/hl/mods/cs/server/cs_${PV//.}_full.tar.gz"
+
+SLOT="0"
+LICENSE="ValveServer"
+KEYWORDS="-* x86"
+IUSE="dedicated"
+RESTRICT="nostrip"
+
+RDEPEND="app-games/halflife-server
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/cstrike
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv server.cfg server.cfg.default
+ cp ${FILESDIR}/server.cfg server.cfg
+ mv ${S} ${D}/${dir}/ || die "moving cstrike"
+
+ dogamesbin ${FILESDIR}/hlds-cstrike
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds-cstrike
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds-cstrike.rc hlds-cstrike
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds-cstrike
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds-cstrike
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds-cstrike.conf.d hlds-cstrike
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds-cstrike
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife/cstrike
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ dir=${dir}/cstrike
+ for cfg in server.cfg liblist.gam mapcycle.txt motd.txt ; do
+ [ -e ${dir}/${cfg} ] && mv ${D}/${dir}/${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${cfg}
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/cstrike
+ touch ${dir}/{server.cfg,liblist.gam,mapcycle.txt,motd.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds-cstrike start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds-cstrike"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/cstrike/server.cfg"
+ einfo "For an example config file, use"
+ einfo "/opt/halflife/cstrike/server.cfg.sample"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-dpb/ChangeLog b/games-server/halflife-dpb/ChangeLog
new file mode 100644
index 000000000000..b00e6b3a6c1f
--- /dev/null
+++ b/games-server/halflife-dpb/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-dpb
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-dpb/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-dpb-2.1 (09 Jul 2003)
+
+ 09 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for Dejenerat.
diff --git a/games-server/halflife-dpb/Manifest b/games-server/halflife-dpb/Manifest
new file mode 100644
index 000000000000..9bd7f461e6e4
--- /dev/null
+++ b/games-server/halflife-dpb/Manifest
@@ -0,0 +1,6 @@
+MD5 342e2e156ab6dab5c54a8cd80c1b17c9 files/hlds-dpb 55
+MD5 3f6bc605cdb6f8fedd3b205541445cd9 files/hlds-dpb.conf.d 385
+MD5 f987f75ab4ff097e13ecdc0f2f9d18a1 files/hlds-dpb.rc 770
+MD5 90a0e37509b36d1610f45b2ce425a874 files/digest-halflife-dpb-2.1 123
+MD5 e8d8b4ddd463ae7188629f6fd28ed692 ChangeLog 368
+MD5 6fe02113d69b673859e5a5bae6f457bd halflife-dpb-2.1.ebuild 2539
diff --git a/games-server/halflife-dpb/files/digest-halflife-dpb-2.1 b/games-server/halflife-dpb/files/digest-halflife-dpb-2.1
new file mode 100644
index 000000000000..06735074dd85
--- /dev/null
+++ b/games-server/halflife-dpb/files/digest-halflife-dpb-2.1
@@ -0,0 +1,2 @@
+MD5 f979cecdbe54f8fafc6f57fae4c31df0 dpb_v20.tar.gz 53182073
+MD5 0c95b285092a8698a7ee94392d7b37c0 dpb_v2021.tar.gz 6650597
diff --git a/games-server/halflife-dpb/files/hlds-dpb b/games-server/halflife-dpb/files/hlds-dpb
new file mode 100644
index 000000000000..a558f208468d
--- /dev/null
+++ b/games-server/halflife-dpb/files/hlds-dpb
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./hlds_run -game dpb ${@}
diff --git a/games-server/halflife-dpb/files/hlds-dpb.conf.d b/games-server/halflife-dpb/files/hlds-dpb.conf.d
new file mode 100644
index 000000000000..e8d1136168b6
--- /dev/null
+++ b/games-server/halflife-dpb/files/hlds-dpb.conf.d
@@ -0,0 +1,8 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-dpb/files/hlds-dpb.conf.d,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+# to find out more options, read these 2 files:
+# GENTOO_DIR/dpb/readme.txt
+
+HLDS_OPTS="+sv_lan 1 -nomaster -insecure +maxplayers 16 +map dpb_splat"
diff --git a/games-server/halflife-dpb/files/hlds-dpb.rc b/games-server/halflife-dpb/files/hlds-dpb.rc
new file mode 100644
index 000000000000..fe84dd95af29
--- /dev/null
+++ b/games-server/halflife-dpb/files/hlds-dpb.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-dpb/files/hlds-dpb.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting halflife dpb dedicated"
+ screen -A -m -d -S hlds-dpb su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds-dpb ${HLDS_OPTS}" &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping halflife dpb dedicated"
+ local ppid=`screen -list | grep hlds-dpb | awk -F . '{ print $1 }' | sed -e s/.//`
+ if [ -z "${ppid}" ] ; then
+ eend 1 "Lost screen session"
+ else
+ local cpid=`pstree -p ${ppid} | sed -e 's:^.*hlds_run(::' -e 's:).*$::'`
+ kill ${ppid} ${cpid}
+ eend $? "Could not kill hlds-dpb"
+ fi
+}
diff --git a/games-server/halflife-dpb/halflife-dpb-2.1.ebuild b/games-server/halflife-dpb/halflife-dpb-2.1.ebuild
new file mode 100644
index 000000000000..7bc74e1f793c
--- /dev/null
+++ b/games-server/halflife-dpb/halflife-dpb-2.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-dpb/halflife-dpb-2.1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Halflife Digital Paintball mod"
+HOMEPAGE="http://www.digitalpaintball.net/"
+SRC_URI="http://www.linuxatron.com/dpb/dpb_v20.tar.gz
+ http://philes.gamedaemons.net/halflife/digitalpaintball/dpb_v20.tar.gz
+ http://www.elitethinking.net/files/dpb/patches/server/dpb_v20.tar.gz
+ http://philes.gamedaemons.net/halflife/digitalpaintball/dpb_v2021.tar.gz
+ http://www.zero-temptation.com/dpb_v2021.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="-* x86"
+IUSE="dedicated"
+RESTRICT="nostrip"
+
+RDEPEND="app-games/halflife-server
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/dpb
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S} ${D}/${dir}/ || die "moving dpb"
+
+ dogamesbin ${FILESDIR}/hlds-dpb
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds-dpb
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds-dpb.rc hlds-dpb
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds-dpb
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds-dpb
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds-dpb.conf.d hlds-dpb
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds-dpb
+
+ # now set the gamedll
+ local gamedll_linux=""
+ if has_version =sys-libs/glibc-2.2* ; then
+ gamedll_linux="2.2"
+ elif has_version =sys-devel/gcc-2* ; then
+ gamedll_linux="2.3-libstdc++5"
+ else
+ gamedll_linux="2.3"
+ fi
+ dosed "/gamedll_linux/s:\".*\":\"dlls/pb-i686-glibc${gamedll_linux}.so\":" ${dir}/dpb/liblist.gam
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife/dpb
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ dir=${dir}/dpb
+ for cfg in server.cfg liblist.gam mapcycle.txt motd.txt ; do
+ [ -e ${dir}/${cfg} ] && mv ${D}/${dir}/${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${cfg}
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/dpb
+ touch ${dir}/{server.cfg,liblist.gam,mapcycle.txt,motd.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds-dpb start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds-dpb"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/dpb/server.cfg"
+ einfo "For an example config file, use"
+ einfo "/opt/halflife/dpb/server.cfg.sample"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-entmod/ChangeLog b/games-server/halflife-entmod/ChangeLog
new file mode 100644
index 000000000000..d1a1a1024019
--- /dev/null
+++ b/games-server/halflife-entmod/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-entmod
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-entmod/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-entmod-2 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-entmod/Manifest b/games-server/halflife-entmod/Manifest
new file mode 100644
index 000000000000..0c571545528f
--- /dev/null
+++ b/games-server/halflife-entmod/Manifest
@@ -0,0 +1,3 @@
+MD5 b8cfa5ed5b315970175e4c97ecd6c1ca files/digest-halflife-entmod-2 59
+MD5 1a9c29688c97ce67706ec035772af0e1 ChangeLog 361
+MD5 cd1731e2dae2511bd44d8a94be4f56d9 halflife-entmod-2.ebuild 664
diff --git a/games-server/halflife-entmod/files/digest-halflife-entmod-2 b/games-server/halflife-entmod/files/digest-halflife-entmod-2
new file mode 100644
index 000000000000..f8288f34275e
--- /dev/null
+++ b/games-server/halflife-entmod/files/digest-halflife-entmod-2
@@ -0,0 +1 @@
+MD5 b288de7db048e1acd78337dd62994cb9 EntMod_lin.zip 305685
diff --git a/games-server/halflife-entmod/halflife-entmod-2.ebuild b/games-server/halflife-entmod/halflife-entmod-2.ebuild
new file mode 100644
index 000000000000..787bc1766d43
--- /dev/null
+++ b/games-server/halflife-entmod/halflife-entmod-2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-entmod/halflife-entmod-2.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="adds real-time entity control for admins"
+SRC_URI="http://www.adminop.net/AdminOP/EntMod_lin.zip"
+HOMEPAGE="http://www.adminop.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+
+S=${WORKDIR}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/entmod
+
+ dodir ${dir}
+ cp -rf entmod_readme.txt sound addons/EntMod/* ${D}/${dir}/
+
+ prepgamesdirs
+}
diff --git a/games-server/halflife-hlguard/ChangeLog b/games-server/halflife-hlguard/ChangeLog
new file mode 100644
index 000000000000..28c9e5a14075
--- /dev/null
+++ b/games-server/halflife-hlguard/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/halflife-hlguard
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-hlguard-1.50.02 (10 Aug 2003)
+
+ 10 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + halflife-modsetup support.
+
+*halflife-hlguard-1.41 (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-hlguard/Manifest b/games-server/halflife-hlguard/Manifest
new file mode 100644
index 000000000000..5bcd9c8cbaa2
--- /dev/null
+++ b/games-server/halflife-hlguard/Manifest
@@ -0,0 +1,6 @@
+MD5 808a8631750538467a9bcf2bba8b5d70 files/digest-halflife-hlguard-1.41 60
+MD5 9f40c4af0ea9c0b44083202aee530e75 files/digest-halflife-hlguard-1.50.02 63
+MD5 45da6ec4629a3110beb890fb2ad7fadf files/modsetup 1350
+MD5 185556b505ecd2ab3cb1cb0ccc36f04e halflife-hlguard-1.41.ebuild 810
+MD5 f4c361f36123be68b168d7c4c0fcf22f ChangeLog 505
+MD5 753b8e4acaf6da1bb8bfcc9a6842f12b halflife-hlguard-1.50.02.ebuild 958
diff --git a/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.41 b/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.41
new file mode 100644
index 000000000000..090d82f3aeb1
--- /dev/null
+++ b/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.41
@@ -0,0 +1 @@
+MD5 2f534624125072281aa6f2e5852176cf hlg-1_41-en.zip 153226
diff --git a/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.50.02 b/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.50.02
new file mode 100644
index 000000000000..8b88e7332e04
--- /dev/null
+++ b/games-server/halflife-hlguard/files/digest-halflife-hlguard-1.50.02
@@ -0,0 +1 @@
+MD5 dcbde55435a9bde37aba5f3547b2a183 hlg-1_50_02-en.zip 615406
diff --git a/games-server/halflife-hlguard/files/modsetup b/games-server/halflife-hlguard/files/modsetup
new file mode 100644
index 000000000000..485c9e5afa97
--- /dev/null
+++ b/games-server/halflife-hlguard/files/modsetup
@@ -0,0 +1,51 @@
+#!/bin/bash
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/files/modsetup,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+source GENTOO_CFGDIR/modsetup.conf || { echo "Could not find config file!" ; exit 1 ; }
+
+moddir=${PWD}
+plugindir=${moddir}/../addons/hlguard/
+
+gen_default_cfgs() {
+ mkdir ${moddir}/addons
+ ln -s ../../addons/hlguard addons/hlguard
+ #local m=${moddir}
+ #local c=${plugindir}/
+ #for f in statsme.cfg ; do
+ # [ ! -e ${m}/${f} ] \
+ # && cp ${c}/${f} ${m}/
+ #done
+}
+
+while :; do
+case $1 in
+ help)
+ file=`dialog --title "Statsme help" \
+ --menu "Select Help File:" 16 80 10 \
+ hlg_readme.txt.gz 'Basic readme' \
+ http://docs.unitedadmins.com/HLGuard/en/index.htm 'Online Docs' \
+ http://docs.unitedadmins.com/HLGuard/en/about_config_files.htm 'Config files' 2>&1`
+ [ $? -eq 0 ] || exit 0
+ [ "${file:0:4}" != "http" ] && file=/usr/share/doc/halflife-hlguard-*/${file}
+ [ "${file:${#file}-3}" == "htm" ] \
+ && ${BROWSER} ${file} \
+ || less ${file}
+ ;;
+ config)
+ gen_default_cfgs
+ file=`dialog --title "Statsme config files" \
+ --help-button \
+ --menu "Select file to Edit:" 16 80 10 \
+ hlguard.cfg 'Main configuration file' 2>&1`
+ if [ "${file:0:4}" == "HELP" ] ; then
+ $0 help
+ else
+ [ -z "${file}" ] && exit 0
+ ${EDITOR} ${moddir}/addons/hlguard/${file}
+ fi
+ ;;
+ *)
+ exit 0
+ ;;
+esac
+done
diff --git a/games-server/halflife-hlguard/halflife-hlguard-1.41.ebuild b/games-server/halflife-hlguard/halflife-hlguard-1.41.ebuild
new file mode 100644
index 000000000000..64dc84fc18c4
--- /dev/null
+++ b/games-server/halflife-hlguard/halflife-hlguard-1.41.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/halflife-hlguard-1.41.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="server-side anti-cheat solution for Half-Life and it's many MODs"
+HOMEPAGE="http://www.unitedadmins.com/hlguard.php"
+SRC_URI="http://www.unitedadmins.com/files/hlg-${PV/./_}-en.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+
+S=${WORKDIR}/addons/hlguard
+
+src_unpack() {
+ unpack ${A}
+ edos2unix `find -name '*.txt' -o -name '*.cfg'`
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/hlguard
+ dodir ${dir}
+ mv * ${D}/${dir}/
+ dodoc ${WORKDIR}/hlg_readme.txt
+ prepgamesdirs
+}
diff --git a/games-server/halflife-hlguard/halflife-hlguard-1.50.02.ebuild b/games-server/halflife-hlguard/halflife-hlguard-1.50.02.ebuild
new file mode 100644
index 000000000000..ab553805ee8e
--- /dev/null
+++ b/games-server/halflife-hlguard/halflife-hlguard-1.50.02.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/halflife-hlguard-1.50.02.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="server-side anti-cheat solution for Half-Life and it's many MODs"
+HOMEPAGE="http://www.unitedadmins.com/hlguard.php"
+SRC_URI="http://www.unitedadmins.com/files/hlg-${PV//./_}-en.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod
+ app-games/halflife-modsetup"
+
+S=${WORKDIR}/addons/hlguard
+
+src_unpack() {
+ unpack ${A}
+ edos2unix `find -name '*.txt' -o -name '*.cfg'`
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/hlguard
+ dodir ${dir}
+ mv * ${D}/${dir}/
+ dodoc ${WORKDIR}/hlg_readme.txt
+ exeinto ${dir}
+ doexe ${FILESDIR}/modsetup
+ dosed "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}/halflife:" ${dir}/modsetup
+ prepgamesdirs
+}
diff --git a/games-server/halflife-hookmod/ChangeLog b/games-server/halflife-hookmod/ChangeLog
new file mode 100644
index 000000000000..1fbe3f1eaaa5
--- /dev/null
+++ b/games-server/halflife-hookmod/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-hookmod
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hookmod/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-hookmod-4 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-hookmod/Manifest b/games-server/halflife-hookmod/Manifest
new file mode 100644
index 000000000000..18521d68a8df
--- /dev/null
+++ b/games-server/halflife-hookmod/Manifest
@@ -0,0 +1,3 @@
+MD5 e68255a4d8f10381ea82f186f2f720f5 files/digest-halflife-hookmod-4 61
+MD5 d4a5a3df2fcf0998136a5b2a0b8eb50f ChangeLog 364
+MD5 977399d420c992f4deccb415ace2c02f halflife-hookmod-4.ebuild 654
diff --git a/games-server/halflife-hookmod/files/digest-halflife-hookmod-4 b/games-server/halflife-hookmod/files/digest-halflife-hookmod-4
new file mode 100644
index 000000000000..7a5e447c9434
--- /dev/null
+++ b/games-server/halflife-hookmod/files/digest-halflife-hookmod-4
@@ -0,0 +1 @@
+MD5 8aeaef88a6e67e25d1929933e95d4bfe HookMod4_lin.zip 138876
diff --git a/games-server/halflife-hookmod/halflife-hookmod-4.ebuild b/games-server/halflife-hookmod/halflife-hookmod-4.ebuild
new file mode 100644
index 000000000000..ac404bb18c72
--- /dev/null
+++ b/games-server/halflife-hookmod/halflife-hookmod-4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hookmod/halflife-hookmod-4.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="add a hook feature to any Half-Life mod"
+SRC_URI="http://www.adminop.net/AdminOP/HookMod${PV}_lin.zip"
+HOMEPAGE="http://www.adminop.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="app-games/halflife-metamod"
+
+S=${WORKDIR}/addons/HookMod
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/hookmod
+
+ dodir ${dir}
+ cp -rf ${S}/* ${D}/${dir}/
+
+ prepgamesdirs
+}
diff --git a/games-server/halflife-metamod/ChangeLog b/games-server/halflife-metamod/ChangeLog
new file mode 100644
index 000000000000..2a99d9a7f0de
--- /dev/null
+++ b/games-server/halflife-metamod/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/halflife-metamod
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-metamod-1.16.2 (06 Aug 2003)
+
+ 06 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + default to binary install #25236.
+
+*halflife-metamod-1.16 (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-metamod/Manifest b/games-server/halflife-metamod/Manifest
new file mode 100644
index 000000000000..ca3d5f04c4ec
--- /dev/null
+++ b/games-server/halflife-metamod/Manifest
@@ -0,0 +1,3 @@
+MD5 350f52851012a70f58ceacca8057e049 files/digest-halflife-metamod-1.16.2 64
+MD5 a459f4a593cdc2ebe11c1c6d91c9fda9 ChangeLog 511
+MD5 40a08894e603aa8079ffe9d57bc4666a halflife-metamod-1.16.2.ebuild 1277
diff --git a/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2 b/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2
new file mode 100644
index 000000000000..b2b74ea20a2c
--- /dev/null
+++ b/games-server/halflife-metamod/files/digest-halflife-metamod-1.16.2
@@ -0,0 +1 @@
+MD5 29a2810dfa597c22daf3bd4bdfd647d4 metamod-1.16.2.tgz 2152713
diff --git a/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild b/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild
new file mode 100644
index 000000000000..16e0a2bc0cf2
--- /dev/null
+++ b/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/halflife-metamod-1.16.2.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games gcc
+
+DESCRIPTION="plugin manager for Half-Life server"
+HOMEPAGE="http://www.metamod.org/"
+SRC_URI="http://www.metamod.org/files/metamod-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="src"
+
+DEPEND="src? ( dev-games/hlsdk )
+ >=sys-apps/sed-4"
+RDEPEND="app-games/halflife-server"
+
+S=${WORKDIR}/metamod-${PV}
+
+src_unpack() {
+ unpack ${A}
+ [ `use src` ] && [ `gcc-major-version` -eq 3 ] \
+ && sed -i 's:-malign:-falign:g' `find -name Makefile`
+}
+
+src_compile() {
+ [ `use src` ] || return 0
+ make \
+ SDKTOP=${GAMES_LIBDIR}/hlsdk \
+ CCO="${CFLAGS}" \
+ CC="$(gcc-getCC)" \
+ opt \
+ || die
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/metamod
+ dodir ${dir}
+
+ if [ `use src` ] ; then
+ make \
+ SDKTOP=${GAMES_LIBDIR}/hlsdk \
+ INST_DIR=${D}/${dir} \
+ OPT=opt \
+ install \
+ || die
+ else
+ insinto ${dir}
+ doins dlls/*.so
+ fi
+ insinto ${dir}
+ doins doc/metamod.ini
+
+ insinto /usr/include/metamod
+ doins metamod/*.h
+
+ dodoc doc/* doc/txt/*
+ dohtml -r doc/html/*
+
+ prepgamesdirs
+}
diff --git a/games-server/halflife-modsetup/ChangeLog b/games-server/halflife-modsetup/ChangeLog
new file mode 100644
index 000000000000..d565eafe5bae
--- /dev/null
+++ b/games-server/halflife-modsetup/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/halflife-modsetup
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-modsetup/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-modsetup-0.1.1 (10 Aug 2003)
+
+ 10 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Fix bug in saving metamod.ini file.
+
+*halflife-modsetup-0.1 (25 Jul 2003)
+
+ 25 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-modsetup/Manifest b/games-server/halflife-modsetup/Manifest
new file mode 100644
index 000000000000..8cec2c99dae2
--- /dev/null
+++ b/games-server/halflife-modsetup/Manifest
@@ -0,0 +1,3 @@
+MD5 fa45ddfcc127c9e078a91eda0d19f157 files/digest-halflife-modsetup-0.1.1 71
+MD5 7a189565ba0a615d44aa843a56e6bd9a ChangeLog 500
+MD5 f3a6f7570b21f9b9522ebc5f91f40d2e halflife-modsetup-0.1.1.ebuild 761
diff --git a/games-server/halflife-modsetup/files/digest-halflife-modsetup-0.1.1 b/games-server/halflife-modsetup/files/digest-halflife-modsetup-0.1.1
new file mode 100644
index 000000000000..5b28abd70be0
--- /dev/null
+++ b/games-server/halflife-modsetup/files/digest-halflife-modsetup-0.1.1
@@ -0,0 +1 @@
+MD5 b913468cd37d24fa415d79b25f4a96b9 halflife-modsetup-0.1.1.tbz2 3047
diff --git a/games-server/halflife-modsetup/halflife-modsetup-0.1.1.ebuild b/games-server/halflife-modsetup/halflife-modsetup-0.1.1.ebuild
new file mode 100644
index 000000000000..4b10165ad7c5
--- /dev/null
+++ b/games-server/halflife-modsetup/halflife-modsetup-0.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-modsetup/halflife-modsetup-0.1.1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="script to assist in setting up your server"
+HOMEPAGE="http://wh0rd.org/"
+SRC_URI="mirror://gentoo/${P}.tbz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="dev-util/dialog"
+
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e "s:GENTOO_HLDIR:${GAMES_PREFIX_OPT}/halflife:" \
+ -e "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}/halflife:" \
+ ${S}/halflife-modsetup
+}
+
+src_install() {
+ dogamesbin halflife-modsetup
+ insinto ${GAMES_SYSCONFDIR}/halflife
+ doins modsetup.conf
+ prepgamesdirs
+}
diff --git a/games-server/halflife-ns/ChangeLog b/games-server/halflife-ns/ChangeLog
new file mode 100644
index 000000000000..64547365607e
--- /dev/null
+++ b/games-server/halflife-ns/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/halflife-ns
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-ns-2.0 (03 Aug 2003)
+
+ 03 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #25712.
+
+*halflife-ns-1.04 (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-ns/Manifest b/games-server/halflife-ns/Manifest
new file mode 100644
index 000000000000..881b7cbf0c44
--- /dev/null
+++ b/games-server/halflife-ns/Manifest
@@ -0,0 +1,8 @@
+MD5 a15626d4baff256269cd997f5dc600b6 files/digest-halflife-ns-1.04 139
+MD5 6c40b510bc9f395ff8f5b2b4d83cbf1e files/hlds-ns.rc 762
+MD5 b4f1a99e48f7d511ee08db16f700ac5e files/hlds-ns.conf.d 387
+MD5 c66877a7e84218012527f6f8ce3af59c files/hlds-ns 56
+MD5 75b63cf2942acc8e30a8d81ad7b6067a files/digest-halflife-ns-2.0 73
+MD5 3ac10f520e86e399de0200631b991720 halflife-ns-1.04.ebuild 2031
+MD5 657d4970bc5f198ce2e181db0c33ac86 ChangeLog 460
+MD5 493798acef6b57fed498b8ffe30832e8 halflife-ns-2.0.ebuild 2188
diff --git a/games-server/halflife-ns/files/digest-halflife-ns-1.04 b/games-server/halflife-ns/files/digest-halflife-ns-1.04
new file mode 100644
index 000000000000..430363975fdd
--- /dev/null
+++ b/games-server/halflife-ns/files/digest-halflife-ns-1.04
@@ -0,0 +1,2 @@
+MD5 e221ffe39e5d7ad0b5d0d7b2f1c890b3 ns-v104.zip 2725609
+MD5 d66f75402060685265f68f314bf8d3a8 ns_v1_linux_dedicated_server.tar.gz 85252204
diff --git a/games-server/halflife-ns/files/digest-halflife-ns-2.0 b/games-server/halflife-ns/files/digest-halflife-ns-2.0
new file mode 100644
index 000000000000..2ec039a07edf
--- /dev/null
+++ b/games-server/halflife-ns/files/digest-halflife-ns-2.0
@@ -0,0 +1 @@
+MD5 6fd11703656924ad50b69505cd027197 ns_v2_dedicated_server.zip 91860927
diff --git a/games-server/halflife-ns/files/hlds-ns b/games-server/halflife-ns/files/hlds-ns
new file mode 100644
index 000000000000..d50b2b46845e
--- /dev/null
+++ b/games-server/halflife-ns/files/hlds-ns
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./hlds_run -game ns "${@}"
diff --git a/games-server/halflife-ns/files/hlds-ns.conf.d b/games-server/halflife-ns/files/hlds-ns.conf.d
new file mode 100644
index 000000000000..815fcb31ff78
--- /dev/null
+++ b/games-server/halflife-ns/files/hlds-ns.conf.d
@@ -0,0 +1,8 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/files/hlds-ns.conf.d,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+# to find out more options, read these 2 files:
+# GENTOO_DIR/ns/readme.txt
+
+HLDS_OPTS="+sv_lan 1 -nomaster -insecure +maxplayers 16 +map ns_eclipse.bsp"
diff --git a/games-server/halflife-ns/files/hlds-ns.rc b/games-server/halflife-ns/files/hlds-ns.rc
new file mode 100644
index 000000000000..67ee7bedca51
--- /dev/null
+++ b/games-server/halflife-ns/files/hlds-ns.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/files/hlds-ns.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting halflife ns dedicated"
+ screen -A -m -d -S hlds-ns su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds-ns ${HLDS_OPTS}" &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping halflife ns dedicated"
+ local ppid=`screen -list | grep hlds-ns | awk -F . '{ print $1 }' | sed -e s/.//`
+ if [ -z "${ppid}" ] ; then
+ eend 1 "Lost screen session"
+ else
+ local cpid=`pstree -p ${ppid} | sed -e 's:^.*hlds_run(::' -e 's:).*$::'`
+ kill ${ppid} ${cpid}
+ eend $? "Could not kill hlds-ns"
+ fi
+}
diff --git a/games-server/halflife-ns/halflife-ns-1.04.ebuild b/games-server/halflife-ns/halflife-ns-1.04.ebuild
new file mode 100644
index 000000000000..db174e6f976d
--- /dev/null
+++ b/games-server/halflife-ns/halflife-ns-1.04.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/halflife-ns-1.04.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+BASE=ns_v1_linux_dedicated_server.tar.gz
+UPDATE=ns-v${PV/./}.zip
+DESCRIPTION="Halflife Natural Selection mod ... kill aliens or marines"
+HOMEPAGE="http://www.natural-selection.org/"
+SRC_URI="http://files.redphive.org/${UPDATE}
+ http://files.redphive.org/${BASE}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="dedicated"
+
+RDEPEND="app-games/halflife-server
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/ns
+
+src_unpack() {
+ unpack ${BASE}
+ cd ${S}
+ unpack ${UPDATE}
+ edos2unix *.txt *.cfg *.gam *.lst
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S} ${D}/${dir}/ || die "moving ns"
+
+ dogamesbin ${FILESDIR}/hlds-ns
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds-ns
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds-ns.rc hlds-ns
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds-ns
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds-ns
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds-ns.conf.d hlds-ns
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds-ns
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife/ns
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ dir=${dir}/ns
+ for cfg in *.cfg mapcycle.txt motd.txt titles.txt ; do
+ [ -e ${dir}/ns/${cfg} ] && mv ${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${cfg}
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/ns
+ touch ${dir}/{*.cfg,mapcycle.txt,motd.txt,titles.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds-ns start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds-ns"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/ns/server.cfg"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-ns/halflife-ns-2.0.ebuild b/games-server/halflife-ns/halflife-ns-2.0.ebuild
new file mode 100644
index 000000000000..0d7304109a9f
--- /dev/null
+++ b/games-server/halflife-ns/halflife-ns-2.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/halflife-ns-2.0.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+BASE=ns_v2_dedicated_server.zip
+DESCRIPTION="Halflife Natural Selection mod ... kill aliens or marines"
+HOMEPAGE="http://www.natural-selection.org/"
+SRC_URI="http://gamefiles.blueyonder.co.uk/blueyondergames/halflife/modifications/naturalselection/server/win32/${BASE}
+ http://gamefiles.blueyonder.co.uk/blueyondergames/halflife/modifications/naturalselection/server/win32/${BASE}
+ http://www.clansin.com/Downloads/patches/server/${BASE}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="dedicated"
+
+RDEPEND="app-games/halflife-server
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/ns
+
+src_unpack() {
+ unpack ${BASE}
+ cd ${S}
+ edos2unix *.txt *.cfg *.gam *.lst
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S} ${D}/${dir}/ || die "moving ns"
+
+ dogamesbin ${FILESDIR}/hlds-ns
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds-ns
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds-ns.rc hlds-ns
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds-ns
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds-ns
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds-ns.conf.d hlds-ns
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds-ns
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife/ns
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ dir=${dir}/ns
+ for cfg in *.cfg mapcycle.txt motd.txt titles.txt ; do
+ [ -e ${dir}/ns/${cfg} ] && mv ${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${cfg}
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ local dir=${GAMES_PREFIX_OPT}/halflife/ns
+ touch ${dir}/{*.cfg,mapcycle.txt,motd.txt,titles.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds-ns start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds-ns"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/ns/server.cfg"
+}
diff --git a/games-server/halflife-server/ChangeLog b/games-server/halflife-server/ChangeLog
new file mode 100644
index 000000000000..a01c33bcc763
--- /dev/null
+++ b/games-server/halflife-server/ChangeLog
@@ -0,0 +1,31 @@
+# ChangeLog for app-games/halflife-server
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# Author: Alexander Gretencord <arutha@gmx.de>
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-server-3.1.1.1d (10 Jul 2003)
+
+ 30 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump ... and i think this one likes new glibc :)
+
+*halflife-server-3.1.1.1.1c (10 Jul 2003)
+
+ 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ I like patches, dont you ?
+
+*halflife-server-3.1.1.1 (08 Jul 2003)
+
+ 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Ah, about time this guy was updated. Only took mmmmmmmm a year ...
+
+*halflife-server-1.1.1.0 (25 July 2002)
+
+ 25 July 2002; Seemant Kulleen <seemant@gentoo.org>
+ halflife-server-1.1.1.0.ebuild :
+ Added LICENSE and also put RESTRICT="nostrip" and export DEBUG=yes so that
+ it compiles and _runs_
+
+*halflife-server-1.1.1.0 (5 July 2002)
+
+ 05 Jul 2002; Bart Verwilst <verwilst@gentoo.org> :
+ Initial ebuild
diff --git a/games-server/halflife-server/Manifest b/games-server/halflife-server/Manifest
new file mode 100644
index 000000000000..04f438c37579
--- /dev/null
+++ b/games-server/halflife-server/Manifest
@@ -0,0 +1,10 @@
+MD5 46c849fb0d6c28378fa45a885809634e ChangeLog 1063
+MD5 e3450c612c3b4c1fc74f459a7ab6fb27 halflife-server-3.1.1.1d.ebuild 2842
+MD5 b3225560bc5d00b932b3a2b71829181f halflife-server-3.1.1.1.ebuild 2635
+MD5 24f59d98e93c91c0f7ed20f7924db21d halflife-server-3.1.1.0.ebuild 2557
+MD5 44f3ab1b21f0c77083d95b7797622c4d files/hlds 45
+MD5 b84bb710f763eb38824f577fb34be5d1 files/hlds.conf.d 409
+MD5 addce9f2892d449fe6b31b71f0e82f5e files/hlds.rc 751
+MD5 2f3ed54e0214379756815ec6e47c7660 files/digest-halflife-server-3.1.1.1d 140
+MD5 33aa6e9a8329c0496b14c7fe325bd710 files/digest-halflife-server-3.1.1.1 68
+MD5 78ca89528f5a1368fc86d219d211603b files/digest-halflife-server-3.1.1.0 68
diff --git a/games-server/halflife-server/files/digest-halflife-server-3.1.1.0 b/games-server/halflife-server/files/digest-halflife-server-3.1.1.0
new file mode 100644
index 000000000000..37fcdefba356
--- /dev/null
+++ b/games-server/halflife-server/files/digest-halflife-server-3.1.1.0
@@ -0,0 +1 @@
+MD5 4bf86966424dedc686cdf63c72c1913d hlds_l_3110_full.bin 120884265
diff --git a/games-server/halflife-server/files/digest-halflife-server-3.1.1.1 b/games-server/halflife-server/files/digest-halflife-server-3.1.1.1
new file mode 100644
index 000000000000..050a05100457
--- /dev/null
+++ b/games-server/halflife-server/files/digest-halflife-server-3.1.1.1
@@ -0,0 +1 @@
+MD5 d9c9cb32a55a814ae6fd6e36568ea9c8 hlds_l_3111_full.bin 121936616
diff --git a/games-server/halflife-server/files/digest-halflife-server-3.1.1.1d b/games-server/halflife-server/files/digest-halflife-server-3.1.1.1d
new file mode 100644
index 000000000000..07488d2b293b
--- /dev/null
+++ b/games-server/halflife-server/files/digest-halflife-server-3.1.1.1d
@@ -0,0 +1,2 @@
+MD5 d9c9cb32a55a814ae6fd6e36568ea9c8 hlds_l_3111_full.bin 121936616
+MD5 fb45a812d4940b1603d894a25b961ec8 hlds_l_3111d_update.tar.gz 3587195
diff --git a/games-server/halflife-server/files/hlds b/games-server/halflife-server/files/hlds
new file mode 100644
index 000000000000..7870602e72e9
--- /dev/null
+++ b/games-server/halflife-server/files/hlds
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./hlds_run ${@}
diff --git a/games-server/halflife-server/files/hlds.conf.d b/games-server/halflife-server/files/hlds.conf.d
new file mode 100644
index 000000000000..1964df4403e0
--- /dev/null
+++ b/games-server/halflife-server/files/hlds.conf.d
@@ -0,0 +1,9 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/files/hlds.conf.d,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+# to find out more options, read these 2 files:
+# GENTOO_DIR/readme.txt
+# GENTOO_DIR/linuxreadme.txt
+
+HLDS_OPTS="+sv_lan 1 -nomaster -insecure +maxplayers 16 +map crossfire"
diff --git a/games-server/halflife-server/files/hlds.rc b/games-server/halflife-server/files/hlds.rc
new file mode 100644
index 000000000000..99cfc8e770d6
--- /dev/null
+++ b/games-server/halflife-server/files/hlds.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/files/hlds.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting halflife dedicated..."
+ screen -A -m -d -S hlds su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds ${HLDS_OPTS}" &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping halflife dedicated..."
+ local ppid=`screen -list | grep hlds | awk -F . '{ print $1 }' | sed -e s/.//`
+ if [ -z "${ppid}" ] ; then
+ eend 1 "Lost screen session"
+ else
+ local cpid=`pstree -p ${ppid} | sed -e 's:^.*hlds_run(::' -e 's:).*$::'`
+ kill ${ppid} ${cpid}
+ eend $? "Could not kill hlds"
+ fi
+}
diff --git a/games-server/halflife-server/halflife-server-3.1.1.0.ebuild b/games-server/halflife-server/halflife-server-3.1.1.0.ebuild
new file mode 100644
index 000000000000..56fc57778da1
--- /dev/null
+++ b/games-server/halflife-server/halflife-server-3.1.1.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/halflife-server-3.1.1.0.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+MY_PN=hlds_l_3110_full
+DESCRIPTION="Halflife Linux Server"
+SRC_URI="gentoo://mirror/${MY_PN}.bin"
+HOMEPAGE="http://www.valve.com/"
+
+LICENSE="ValveServer"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip" # fetch
+
+DEPEND="sys-apps/util-linux"
+RDEPEND="dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/hlds_l
+
+#pkg_nofetch() {
+# einfo "Please goto fileplanet and d/l ${MY_BIN}"
+# einfo "http://www.fileplanet.com/files/50000/58368.shtml"
+#}
+
+src_unpack() {
+ local metastart=`tail -c 8 ${DISTDIR}/${MY_PN}.bin | head -c 4 | hexdump -e \"%i\"`
+ local newsize=$(expr $(ls -al ${DISTDIR}/${MY_PN}.bin | awk '{print $5}') - $metastart)
+ tail -c ${newsize} ${DISTDIR}/${MY_PN}.bin > ${MY_PN}.bin
+ echo ">>> Unpacking ${MY_PN}.bin to ${S}"
+ tar -zxf ${MY_PN}.bin
+ rm ${MY_PN}.bin
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S}/* ${D}/${dir}/ || die
+ dodir ${dir}/valve/logs
+
+ dogamesbin ${FILESDIR}/hlds
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds.rc hlds
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds.conf.d hlds
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ [ -e ${dir}/hltv.cfg ] && mv ${D}/${dir}/hltv.cfg{,.sample}
+ dosym {${dir},${cdir}}/hltv.cfg
+ for mod in tfc valve dmc ricochet ; do
+ dodir ${cdir}/${mod}
+ for cfg in server.cfg liblist.gam mapcycle.txt motd.txt ; do
+ [ -e ${dir}/${mod}/${cfg} ] && [ -e ${D}/${dir}/${mod}/${cfg} ] && \
+ mv ${D}/${dir}/${mod}/${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${mod}/${cfg}
+ done
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ touch ${dir}/hltv.cfg
+ touch ${dir}/{dmc,ricochet,tfc,valve}/{server.cfg,liblist.gam,mapcycle.txt,motd.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/valve/server.cfg"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-server/halflife-server-3.1.1.1.ebuild b/games-server/halflife-server/halflife-server-3.1.1.1.ebuild
new file mode 100644
index 000000000000..fa66badba44b
--- /dev/null
+++ b/games-server/halflife-server/halflife-server-3.1.1.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/halflife-server-3.1.1.1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+MY_PN=hlds_l_3111_full
+DESCRIPTION="Halflife Linux Server"
+SRC_URI="${MY_PN}.bin"
+HOMEPAGE="http://www.valve.com/ http://www.fileplanet.com/files/50000/58368.shtml"
+
+LICENSE="ValveServer"
+SLOT="0"
+KEYWORDS="-* ~x86"
+RESTRICT="nostrip fetch"
+
+DEPEND="sys-apps/util-linux"
+RDEPEND="dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/hlds_l
+
+pkg_nofetch() {
+ einfo "Please goto fileplanet and d/l ${MY_BIN}"
+ einfo "http://www.fileplanet.com/files/50000/58368.shtml"
+}
+
+src_unpack() {
+ local metastart=`tail -c 8 ${DISTDIR}/${MY_PN}.bin | head -c 4 | hexdump -e \"%i\"`
+ local newsize=$(expr $(ls -al ${DISTDIR}/${MY_PN}.bin | awk '{print $5}') - $metastart)
+ tail -c ${newsize} ${DISTDIR}/${MY_PN}.bin > ${MY_PN}.bin
+ tar -xf ${MY_PN}.bin
+ echo ">>> Unpacking ${MY_PN}.tar.gz to ${S}"
+ tar -zxf ${MY_PN}.tar.gz
+ unpack hlds_l_3111d_update.tar.gz
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S}/* ${D}/${dir}/ || die
+ dodir ${dir}/valve/logs
+
+ dogamesbin ${FILESDIR}/hlds
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds.rc hlds
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds.conf.d hlds
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ [ -e ${dir}/hltv.cfg ] && mv ${D}/${dir}/hltv.cfg{,.sample}
+ dosym {${dir},${cdir}}/hltv.cfg
+ for mod in tfc valve dmc ricochet ; do
+ dodir ${cdir}/${mod}
+ for cfg in server.cfg liblist.gam mapcycle.txt motd.txt ; do
+ [ -e ${dir}/${mod}/${cfg} ] && [ -e ${D}/${dir}/${mod}/${cfg} ] && \
+ mv ${D}/${dir}/${mod}/${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${mod}/${cfg}
+ done
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ touch ${dir}/hltv.cfg
+ touch ${dir}/{dmc,ricochet,tfc,valve}/{server.cfg,liblist.gam,mapcycle.txt,motd.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/valve/server.cfg"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-server/halflife-server-3.1.1.1d.ebuild b/games-server/halflife-server/halflife-server-3.1.1.1d.ebuild
new file mode 100644
index 000000000000..1a37852e7189
--- /dev/null
+++ b/games-server/halflife-server/halflife-server-3.1.1.1d.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/halflife-server-3.1.1.1d.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+MY_PN=hlds_l_3111_full
+DESCRIPTION="Halflife Linux Server"
+SRC_URI="${MY_PN}.bin
+ hlds_l_3111d_update.tar.gz"
+HOMEPAGE="http://www.valve.com/ http://www.fileplanet.com/files/50000/58368.shtml"
+
+LICENSE="ValveServer"
+SLOT="0"
+KEYWORDS="-* ~x86"
+RESTRICT="nostrip fetch"
+
+DEPEND="sys-apps/util-linux"
+RDEPEND="dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}/hlds_l
+
+pkg_nofetch() {
+ einfo "Please goto fileplanet and d/l ${MY_BIN}"
+ einfo "http://www.fileplanet.com/files/50000/58368.shtml"
+ echo
+ einfo "And then download hlds_l_3111d_update.tar.gz"
+ einfo "server: ftp.valvesoftware.com"
+ einfo "user: hlserver"
+ einfo "password: hlserver"
+ einfo "directory: Linux/"
+}
+
+src_unpack() {
+ local metastart=`tail -c 8 ${DISTDIR}/${MY_PN}.bin | head -c 4 | hexdump -e \"%i\"`
+ local newsize=$(expr $(ls -al ${DISTDIR}/${MY_PN}.bin | awk '{print $5}') - $metastart)
+ tail -c ${newsize} ${DISTDIR}/${MY_PN}.bin > ${MY_PN}.bin
+ tar -xf ${MY_PN}.bin
+ echo ">>> Unpacking ${MY_PN}.tar.gz to ${S}"
+ tar -zxf ${MY_PN}.tar.gz
+ unpack hlds_l_3111d_update.tar.gz
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ dodir ${dir}
+
+ mv ${S}/* ${D}/${dir}/ || die
+ dodir ${dir}/valve/logs
+
+ dogamesbin ${FILESDIR}/hlds
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hlds.rc hlds
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds
+ dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds
+ insinto /etc/conf.d ; newins ${FILESDIR}/hlds.conf.d hlds
+ dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds
+
+ local cdir=${GAMES_SYSCONFDIR}/halflife
+ dodir ${cdir}
+ # this allows users to upgrade w/out losing their previous settings
+ [ -e ${dir}/hltv.cfg ] && mv ${D}/${dir}/hltv.cfg{,.sample}
+ dosym {${dir},${cdir}}/hltv.cfg
+ for mod in tfc valve dmc ricochet ; do
+ dodir ${cdir}/${mod}
+ for cfg in server.cfg liblist.gam mapcycle.txt motd.txt ; do
+ [ -e ${dir}/${mod}/${cfg} ] && [ -e ${D}/${dir}/${mod}/${cfg} ] && \
+ mv ${D}/${dir}/${mod}/${cfg}{,.sample}
+ dosym {${dir},${cdir}}/${mod}/${cfg}
+ done
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ local dir=${GAMES_PREFIX_OPT}/halflife
+ touch ${dir}/hltv.cfg
+ touch ${dir}/{dmc,ricochet,tfc,valve}/{server.cfg,liblist.gam,mapcycle.txt,motd.txt}
+
+ einfo "To start the dedicated server, just run"
+ einfo "/etc/init.d/hlds start"
+ echo
+ einfo "The server utilizes screen so you can get to"
+ einfo "the console by typing:"
+ einfo " screen -r hlds"
+ echo
+ einfo "To configure your server, just edit the file:"
+ einfo "${GAMES_PREFIX_OPT}/halflife/valve/server.cfg"
+
+ games_pkg_postinst
+}
diff --git a/games-server/halflife-statsme/ChangeLog b/games-server/halflife-statsme/ChangeLog
new file mode 100644
index 000000000000..b6477eb84927
--- /dev/null
+++ b/games-server/halflife-statsme/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/halflife-statsme
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-statsme/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*halflife-statsme-2.7.1 (10 Aug 2003)
+
+ 10 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-statsme/Manifest b/games-server/halflife-statsme/Manifest
new file mode 100644
index 000000000000..4a9025d5487e
--- /dev/null
+++ b/games-server/halflife-statsme/Manifest
@@ -0,0 +1,7 @@
+MD5 aceace1c6cd2d9bfb16fb9a6b4e143d1 files/2.7.1-cstrike-gentoo.patch 1546
+MD5 7a993e740e1fc1663a01586d6fab08e1 files/2.7.1-dod-gentoo.patch 1352
+MD5 7a993e740e1fc1663a01586d6fab08e1 files/2.7.1-tfc-gentoo.patch 1352
+MD5 e32b27a9e2015eed8a9b57bac39d641f files/digest-halflife-statsme-2.7.1 437
+MD5 29d1dd74400175067ab9d347a79705d3 files/modsetup 1484
+MD5 afc98f5edcfb6495f41b230ab6390c5c ChangeLog 368
+MD5 1a4922c44016fa97f45e73c54d37f05a halflife-statsme-2.7.1.ebuild 1871
diff --git a/games-server/halflife-statsme/files/2.7.1-cstrike-gentoo.patch b/games-server/halflife-statsme/files/2.7.1-cstrike-gentoo.patch
new file mode 100644
index 000000000000..d0e7f53baddc
--- /dev/null
+++ b/games-server/halflife-statsme/files/2.7.1-cstrike-gentoo.patch
@@ -0,0 +1,30 @@
+--- motd.cfg.orig 2003-08-10 14:35:31.000000000 -0400
++++ motd.cfg 2003-08-10 14:53:09.000000000 -0400
+@@ -7,0 +8 @@
++sm_motd " This server is powered by Gentoo Linux"
+@@ -10,0 +12 @@
++sm_motd " Larry the Cow is: on the prowl"
+--- statsme.cfg.orig 2003-08-10 14:35:37.000000000 -0400
++++ statsme.cfg 2003-08-10 14:54:42.000000000 -0400
+@@ -21 +21 @@
+-sm_menupassword "root" // To display public menu type as player in the console: statsme_menu root
++//sm_menupassword "gentoostat" // To display public menu type as player in the console: statsme_menu root
+@@ -69 +69 @@
+-sm_ranktitle "Top 15"
++sm_ranktitle "Larry the Cow's Top 15"
+@@ -90 +90 @@
+-sm_menu "Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
++sm_menu "Larry the Cow's Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
+--- scripts/gresuc.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/gresuc.cfg 2003-08-10 14:45:07.000000000 -0400
+@@ -7 +7 @@
+-sm_do "{#.gs0=Ha! Ha! Ha! {k.name} good job!}"
++sm_do "{#.gs0=HAHA {k.name} blew up like Larry the Cow !}"
+--- scripts/headshot.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/headshot.cfg 2003-08-10 14:45:58.000000000 -0400
+@@ -18,0 +19 @@
++sm_do "{#.txths7={v.name}'s head just got tipped over by Larry the Cow!}"
+--- scripts/lastman.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/lastman.cfg 2003-08-10 14:47:39.000000000 -0400
+@@ -15,0 +16 @@
++sm_do "{%.txtlm4=Larry the Cow sez 'j00 can do it'}"
diff --git a/games-server/halflife-statsme/files/2.7.1-dod-gentoo.patch b/games-server/halflife-statsme/files/2.7.1-dod-gentoo.patch
new file mode 100644
index 000000000000..4e3ce3a9bfbd
--- /dev/null
+++ b/games-server/halflife-statsme/files/2.7.1-dod-gentoo.patch
@@ -0,0 +1,26 @@
+--- motd.cfg.orig 2003-08-10 14:35:31.000000000 -0400
++++ motd.cfg 2003-08-10 14:53:09.000000000 -0400
+@@ -7,0 +8 @@
++sm_motd " This server is powered by Gentoo Linux"
+@@ -10,0 +12 @@
++sm_motd " Larry the Cow is: on the prowl"
+--- statsme.cfg.orig 2003-08-10 14:35:37.000000000 -0400
++++ statsme.cfg 2003-08-10 14:54:42.000000000 -0400
+@@ -20 +20 @@
+-sm_menupassword "root" // To display public menu type as player in the console: statsme_menu root
++//sm_menupassword "gentoostat" // To display public menu type as player in the console: statsme_menu root
+@@ -68 +68 @@
+-sm_ranktitle "Top 15"
++sm_ranktitle "Larry the Cow's Top 15"
+@@ -88 +88 @@
+-sm_menu "Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
++sm_menu "Larry the Cow's Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
+--- scripts/gresuc.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/gresuc.cfg 2003-08-10 14:45:07.000000000 -0400
+@@ -7 +7 @@
+-sm_do "{#.gs0=Ha! Ha! Ha! {k.name} good job!}"
++sm_do "{#.gs0=HAHA {k.name} blew up like Larry the Cow !}"
+--- scripts/headshot.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/headshot.cfg 2003-08-10 14:45:58.000000000 -0400
+@@ -17,0 +18 @@
++sm_do "{#.txths7={v.name}'s head just got tipped over by Larry the Cow!}"
diff --git a/games-server/halflife-statsme/files/2.7.1-tfc-gentoo.patch b/games-server/halflife-statsme/files/2.7.1-tfc-gentoo.patch
new file mode 100644
index 000000000000..4e3ce3a9bfbd
--- /dev/null
+++ b/games-server/halflife-statsme/files/2.7.1-tfc-gentoo.patch
@@ -0,0 +1,26 @@
+--- motd.cfg.orig 2003-08-10 14:35:31.000000000 -0400
++++ motd.cfg 2003-08-10 14:53:09.000000000 -0400
+@@ -7,0 +8 @@
++sm_motd " This server is powered by Gentoo Linux"
+@@ -10,0 +12 @@
++sm_motd " Larry the Cow is: on the prowl"
+--- statsme.cfg.orig 2003-08-10 14:35:37.000000000 -0400
++++ statsme.cfg 2003-08-10 14:54:42.000000000 -0400
+@@ -20 +20 @@
+-sm_menupassword "root" // To display public menu type as player in the console: statsme_menu root
++//sm_menupassword "gentoostat" // To display public menu type as player in the console: statsme_menu root
+@@ -68 +68 @@
+-sm_ranktitle "Top 15"
++sm_ranktitle "Larry the Cow's Top 15"
+@@ -88 +88 @@
+-sm_menu "Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
++sm_menu "Larry the Cow's Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
+--- scripts/gresuc.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/gresuc.cfg 2003-08-10 14:45:07.000000000 -0400
+@@ -7 +7 @@
+-sm_do "{#.gs0=Ha! Ha! Ha! {k.name} good job!}"
++sm_do "{#.gs0=HAHA {k.name} blew up like Larry the Cow !}"
+--- scripts/headshot.cfg.org 2003-08-10 14:44:34.000000000 -0400
++++ scripts/headshot.cfg 2003-08-10 14:45:58.000000000 -0400
+@@ -17,0 +18 @@
++sm_do "{#.txths7={v.name}'s head just got tipped over by Larry the Cow!}"
diff --git a/games-server/halflife-statsme/files/digest-halflife-statsme-2.7.1 b/games-server/halflife-statsme/files/digest-halflife-statsme-2.7.1
new file mode 100644
index 000000000000..193da7b1cdd4
--- /dev/null
+++ b/games-server/halflife-statsme/files/digest-halflife-statsme-2.7.1
@@ -0,0 +1,6 @@
+MD5 cb15175d3b45ca2cebad823410a6ecf3 statsme-2.7.1-cstrike.zip 120233
+MD5 c47af04ea7ff44cb3e580b4a8b2aa507 statsme-2.7.1-cstrike-scriptpacks.zip 16366
+MD5 4597630ae4f25383aef4d1442ea60eea statsme-2.7.1-dod.zip 114564
+MD5 d2fa7610ce6fb35fec8d75794d63d332 statsme-2.7.1-dod-scriptpacks.zip 12350
+MD5 dcc82c12e9aa3b1a688e18c5d4d0a3bb statsme-2.7.1-tfc.zip 112659
+MD5 ee15461af3b37640ea349ff85796efad statsme-2.7.1-tfc-scriptpacks.zip 12508
diff --git a/games-server/halflife-statsme/files/modsetup b/games-server/halflife-statsme/files/modsetup
new file mode 100644
index 000000000000..c0763e716e69
--- /dev/null
+++ b/games-server/halflife-statsme/files/modsetup
@@ -0,0 +1,53 @@
+#!/bin/bash
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-statsme/files/modsetup,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+source GENTOO_CFGDIR/modsetup.conf || { echo "Could not find config file!" ; exit 1 ; }
+
+moddir=${PWD}
+plugindir=${moddir}/../addons/statsme-HLMODDIR/
+
+gen_default_cfgs() {
+ mkdir ${moddir}/addons
+ ln -s ../../addons/statsme-`basename ${moddir}` addons/statsme
+ #local m=${moddir}
+ #local c=${plugindir}/
+ #for f in statsme.cfg ; do
+ # [ ! -e ${m}/${f} ] \
+ # && cp ${c}/${f} ${m}/
+ #done
+}
+
+while :; do
+case $1 in
+ help)
+ file=`dialog --title "Statsme help" \
+ --menu "Select Help File:" 16 80 10 \
+ sm_readme.txt.gz 'Basic readme' \
+ sm_changelog.txt.gz 'Changelog file' \
+ http://docs.unitedadmins.com/statsme/en/index.htm 'Online Docs' \
+ http://docs.unitedadmins.com/statsme/en/config.htm 'Configuration Docs' \
+ http://docs.unitedadmins.com/statsme/en/commands.htm 'Commands' 2>&1`
+ [ $? -eq 0 ] || exit 0
+ [ "${file:0:4}" != "http" ] && file=/usr/share/doc/halflife-statsme-*/${file}
+ [ "${file:${#file}-3}" == "htm" ] \
+ && ${BROWSER} ${file} \
+ || less ${file}
+ ;;
+ config)
+ gen_default_cfgs
+ file=`dialog --title "Statsme config files" \
+ --help-button \
+ --menu "Select file to Edit:" 16 80 10 \
+ statsme.cfg 'Main configuration file' 2>&1`
+ if [ "${file:0:4}" == "HELP" ] ; then
+ $0 help
+ else
+ [ -z "${file}" ] && exit 0
+ ${EDITOR} ${moddir}/addons/statsme/${file}
+ fi
+ ;;
+ *)
+ exit 0
+ ;;
+esac
+done
diff --git a/games-server/halflife-statsme/halflife-statsme-2.7.1.ebuild b/games-server/halflife-statsme/halflife-statsme-2.7.1.ebuild
new file mode 100644
index 000000000000..3246c33af694
--- /dev/null
+++ b/games-server/halflife-statsme/halflife-statsme-2.7.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-statsme/halflife-statsme-2.7.1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="plugin for metamod to track in game statistics in real time"
+HOMEPAGE="http://www.unitedadmins.com/statsme.php"
+SRC_URI="!nocstrike? ( mirror://sourceforge/statsme/statsme-${PV}-cstrike.zip )
+ !nocstrike? ( mirror://sourceforge/statsme/statsme-${PV}-cstrike-scriptpacks.zip )
+ !nodod? ( mirror://sourceforge/statsme/statsme-${PV}-dod.zip )
+ !nodod? ( mirror://sourceforge/statsme/statsme-${PV}-dod-scriptpacks.zip )
+ !notfc? ( mirror://sourceforge/statsme/statsme-${PV}-tfc.zip )
+ !notfc? ( mirror://sourceforge/statsme/statsme-${PV}-tfc-scriptpacks.zip )"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="nocstrike nodod notfc"
+
+RDEPEND="app-games/halflife-metamod"
+
+S=${WORKDIR}
+
+src_unpack() {
+ for m in cstrike dod tfc ; do
+ [ `use no${m}` ] && continue
+ mkdir ${S}/${m}
+ cd ${S}/${m}
+ unpack statsme-${PV}-${m}.zip
+ cd addons/statsme/scriptpacks
+ unpack statsme-${PV}-${m}-scriptpacks.zip
+ cd ..
+ edos2unix `find -name '*.txt' -o -name '*.cfg' -o -name 'README.*'`
+ epatch ${FILESDIR}/${PV}-${m}-gentoo.patch
+ done
+ cd ${S}
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/halflife/addons/statsme
+ for m in cstrike dod tfc ; do
+ [ `use no${m}` ] && continue
+ dodir ${dir}-${m}
+ cd ${S}/${m}/addons/statsme
+ #sed -i "s:addons/statsme/:../addons/statsme-${m}/:g" \
+ # statsme.cfg scriptpacks.cfg scriptpacks/*/README.*
+ mv * ${D}/${dir}-${m}/
+ exeinto ${dir}-${m}
+ doexe ${FILESDIR}/modsetup
+ dosed "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}/halflife:" ${dir}-${m}/modsetup
+ dosed "s:HLMODDIR:${m}:" ${dir}-${m}/modsetup
+ done
+ dodoc ${WORKDIR}/*/*.txt
+ prepgamesdirs
+}
diff --git a/games-server/halflife-steam/ChangeLog b/games-server/halflife-steam/ChangeLog
new file mode 100644
index 000000000000..b54c2bd151ee
--- /dev/null
+++ b/games-server/halflife-steam/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-games/halflife-steam
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+ 22 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ halflife-steam-2.0_beta.ebuild:
+ it's "fetch", not "nofetch" even though it should be "nofetch"
+
+*halflife-steam-2.0_beta (10 Jul 2003)
+
+ 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/halflife-steam/Manifest b/games-server/halflife-steam/Manifest
new file mode 100644
index 000000000000..6c727ca52db3
--- /dev/null
+++ b/games-server/halflife-steam/Manifest
@@ -0,0 +1,4 @@
+MD5 2f7a828f959feb9ebdf20829424e5d67 ChangeLog 521
+MD5 457cce7f3df550d6c74d5217680049d0 halflife-steam-2.0_beta.ebuild 1897
+MD5 2286fbfaf8b8f706bff4cd3a13cd3deb files/digest-halflife-steam-2.0_beta 113
+MD5 2a680bac991f44c6bd9ac3b68f9a2efd files/steam 42
diff --git a/games-server/halflife-steam/files/digest-halflife-steam-2.0_beta b/games-server/halflife-steam/files/digest-halflife-steam-2.0_beta
new file mode 100644
index 000000000000..af122ce558c0
--- /dev/null
+++ b/games-server/halflife-steam/files/digest-halflife-steam-2.0_beta
@@ -0,0 +1,2 @@
+MD5 0c4c5e792840e9d30c93689c04cb9497 steam.gz 1670495
+MD5 28f1ad656e06a3eedd0e64d10115d4b7 Steam_README.txt 4954
diff --git a/games-server/halflife-steam/files/steam b/games-server/halflife-steam/files/steam
new file mode 100644
index 000000000000..050d1b7e3d6c
--- /dev/null
+++ b/games-server/halflife-steam/files/steam
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./steam ${@}
diff --git a/games-server/halflife-steam/halflife-steam-2.0_beta.ebuild b/games-server/halflife-steam/halflife-steam-2.0_beta.ebuild
new file mode 100644
index 000000000000..81bffd446360
--- /dev/null
+++ b/games-server/halflife-steam/halflife-steam-2.0_beta.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/halflife-steam-2.0_beta.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="client for Valve Software's Steam content delivery program"
+HOMEPAGE="http://www.steampowered.com/"
+SRC_URI="steam.gz Steam_README.txt"
+
+LICENSE="ValveServer"
+SLOT="0"
+KEYWORDS="-* x86"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from the following ftp server:"
+ einfo "server: ftp.valvesoftware.com"
+ einfo "user: hlserver"
+ einfo "password: hlserver"
+ einfo "directory: Linux/steam"
+}
+
+src_unpack() {
+ unpack steam.gz
+ cp ${DISTDIR}/Steam_README.txt .
+}
+
+src_install() {
+ exeinto ${GAMES_PREFIX_OPT}/halflife
+ doexe steam
+
+ dogamesbin ${FILESDIR}/steam
+ dosed "s:GENTOO_DIR:${GAMES_PREFIX_OPT}/halflife:" ${GAMES_BINDIR}/steam
+
+ dodoc Steam_README.txt
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ einfo 'Steam Usage ! (note: please do this as root)'
+ einfo '1. Run `steam` to update itself.'
+ einfo '2. Run `steam` again to get help menu.'
+ einfo '3. Create an account:'
+ einfo ' steam -create linux1@here.com comPlexPass "Your hint" "answer"'
+ einfo '4. Update the halflife modules you want:'
+ einfo " steam -update cstrike ${GAMES_PREFIX_OPT}/halflife linux1@here.com comPlexPass"
+ einfo " steam -update tfc ${GAMES_PREFIX_OPT}/halflife linux1@here.com comPlexPass"
+ einfo " steam -update valve ${GAMES_PREFIX_OPT}/halflife linux1@here.com comPlexPass"
+ einfo ' *Note: tfc contains tfc, dmc, and ricochet mods'
+ einfo '5. After your first update, you only have to run:'
+ einfo ' steam -update cstrike'
+ einfo ' steam -update tfc'
+ einfo ' steam -update valve'
+ echo
+ einfo "For more info, see /usr/share/doc/${PF}/Steam_README.txt.gz"
+}
diff --git a/games-server/hlstats/ChangeLog b/games-server/hlstats/ChangeLog
new file mode 100644
index 000000000000..f64b2ea560a6
--- /dev/null
+++ b/games-server/hlstats/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/hlstats
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*hlstats-1.02 (09 Jul 2003)
+
+ 09 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/hlstats/Manifest b/games-server/hlstats/Manifest
new file mode 100644
index 000000000000..1b110a955ba8
--- /dev/null
+++ b/games-server/hlstats/Manifest
@@ -0,0 +1,5 @@
+MD5 e17d2f98654b79f3086627830f48ecc5 ChangeLog 340
+MD5 233e1cbbec72a80341874af66cdcdf17 hlstats-1.02.ebuild 2333
+MD5 5284252af75d7b56edfa27ddaa6ec1d2 files/digest-hlstats-1.02 64
+MD5 819787fd7ea1413af32af58c51ede1a5 files/hlstats 120
+MD5 a2776bad082ef3e3154883cc7946aed4 files/hlstats.rc 506
diff --git a/games-server/hlstats/files/digest-hlstats-1.02 b/games-server/hlstats/files/digest-hlstats-1.02
new file mode 100644
index 000000000000..753d3552bfe4
--- /dev/null
+++ b/games-server/hlstats/files/digest-hlstats-1.02
@@ -0,0 +1 @@
+MD5 87058a6afb4ce0d327c5edfa35c6f3cd hlstats-1.02.tar.gz 685899
diff --git a/games-server/hlstats/files/hlstats b/games-server/hlstats/files/hlstats
new file mode 100644
index 000000000000..e67f5f55cafa
--- /dev/null
+++ b/games-server/hlstats/files/hlstats
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+while :; do
+ GENTOO_DIR/hlstats.pl 2>1 >> /var/log/hlstats.log
+ echo >> /var/log/hlstats.log
+ sleep 5
+done
diff --git a/games-server/hlstats/files/hlstats.rc b/games-server/hlstats/files/hlstats.rc
new file mode 100644
index 000000000000..4d8fa07b1dd3
--- /dev/null
+++ b/games-server/hlstats/files/hlstats.rc
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/files/hlstats.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+depend() {
+ need mysql
+}
+
+start() {
+ ebegin "Starting hlstats"
+ /usr/bin/hlstats &
+ local ret=$?
+ echo $! > /var/run/hlstats.pid
+ eend ${ret}
+}
+
+stop() {
+ ebegin "Stopping hlstats"
+ local pid=$(</var/run/hlstats.pid)
+ [ ! -z "${pid}" ] && kill ${pid}
+ eend $?
+}
diff --git a/games-server/hlstats/hlstats-1.02.ebuild b/games-server/hlstats/hlstats-1.02.ebuild
new file mode 100644
index 000000000000..749cc6f936c5
--- /dev/null
+++ b/games-server/hlstats/hlstats-1.02.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/hlstats-1.02.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="real-time player rankings/statistics for half-life"
+HOMEPAGE="http://www.hlstats.org/"
+SRC_URI="mirror://sourceforge/hlstats/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="dev-lang/perl
+ dev-db/mysql
+ net-www/apache
+ dev-php/mod_php"
+
+src_install() {
+ dohtml *.html
+ dodoc ChangeLog
+
+ insinto ${GAMES_LIBDIR}/${PN}
+ doins *.{pm,plib}
+
+ insinto ${GAMES_DATADIR}/${PN}
+ doins *.sql
+
+ sed -i \
+ -e "s:./hlstats.conf:${GAMES_SYSCONFDIR}/hlstats.conf:" \
+ -e "/^\$opt_libdir =/s:=.*:=\"${GAMES_LIBDIR}/${PN}/\";:" \
+ *.pl
+ dogamesbin *.pl
+ dobin ${FILESDIR}/hlstats
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /usr/bin/hlstats
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/hlstats.rc hlstats
+
+ insinto ${GAMES_SYSCONFDIR}
+ doins hlstats.conf
+
+ dodir /home/httpd/htdocs
+ cp -r hlstats.php hlstatsimg hlstatsinc ${D}/home/httpd/htdocs/
+
+ #prepgamesdirs # let apache own the files
+}
+
+pkg_postinst() {
+ einfo "To setup:"
+ einfo " 1. \`mysqladmin create hlstats\`"
+ einfo " 2. \`mysql hlstats < ${GAMES_DATADIR}/${PN}/hlstats.sql\`"
+ einfo " 3. \`mysql hlstats < ${GAMES_DATADIR}/${PN}/gamesupport_GAME.sql\`"
+ einfo " so if you want cstrike support, replace 'GAME' with 'cstrike'"
+ einfo " 4. Edit ${GAMES_SYSCONFDIR}/hlstats.conf"
+ einfo " 5. Edit /home/httpd/htdocs/hlstats.php"
+ einfo " 6. \`rc-update add hlstats default\`"
+ einfo " 7. \`/etc/init.d/hlstats start\`"
+ einfo " 8. Edit the cfg files of the game servers you want to track ..."
+ einfo " add these lines to your config file:"
+ einfo " log on"
+ einfo " logaddress 1.2.3.4 27500"
+ einfo " (replace 1.2.3.4 with the IP of the server hlstats is running on)"
+ einfo " 9. If you want daily awards, setup a cronjob to run hlstats-awards.pl"
+ einfo " for example, run \`crontab -e\` and add this entry:"
+ einfo " 30 00 * * * ${GAMES_BINDIR}/hlstats-awards.pl"
+ einfo " 10. Finally ! Start up the server and after a while goto"
+ einfo " http://1.2.3.4/hlstats.php"
+ einfo " (replace 1.2.3.4 with the IP of the server hlstats is running on)"
+}
diff --git a/games-server/monopd/ChangeLog b/games-server/monopd/ChangeLog
new file mode 100644
index 000000000000..6a0aa44bcde4
--- /dev/null
+++ b/games-server/monopd/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for app-games/monopd
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/monopd/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*monopd-0.8.2-r1 (25 Aug 2003)
+
+ 25 Aug 2003; Michael Sterrett <msterret@gentoo.org> monopd-0.8.2-r1.ebuild,
+ files/monopd:
+ Added a monopd file for /etc/init.d supplied by Nikolas Garofil via bug 27322
+
+ 21 Aug 2003; Michael Sterrett <msterret@gentoo.org> monopd-0.8.2.ebuild:
+ add error message for make install
+
+*monopd-0.8.2 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #24819 + games.eclass support.
+
+*monopd-0.7.0 (06 Jan 2003)
+
+ 06 Jan 2003; Hannes Mehnert <hannes@gentoo.org> monopd-0.7.0.ebuild:
+ version bump, thanks to cap@capsi.com (Rob Kaper) (bug #9872)
+
+*monopd-0.4.3-r1 (1 Oct 2002)
+
+ 01 Oct 2002; Mike Frysinger <vapier@gentoo.org> monopd-0.4.3-r1.ebuild :
+ Old version installed some parts into ${D}/${D}/ ... fixed that
+
+*monopd-0.4.3 (1 Aug 2002)
+
+ 1 Aug 2002; J. Alberto Suárez López <bass@gentoo.org> monopd-0.4.3.ebuild
+ First relase
+
diff --git a/games-server/monopd/Manifest b/games-server/monopd/Manifest
new file mode 100644
index 000000000000..5328a4f48fad
--- /dev/null
+++ b/games-server/monopd/Manifest
@@ -0,0 +1,6 @@
+MD5 1c2d6cec1dffb66299b477afe89e52d3 ChangeLog 1123
+MD5 5ce20326c4b3383408c40c229441f850 monopd-0.8.2.ebuild 650
+MD5 26d79a406e7133916b75878619e4afdc monopd-0.8.2-r1.ebuild 702
+MD5 99587f294891a4b5b95f93ecac090639 files/monopd 291
+MD5 2f83e945aa59c6596bd310e92ad0e940 files/digest-monopd-0.8.2 65
+MD5 2f83e945aa59c6596bd310e92ad0e940 files/digest-monopd-0.8.2-r1 65
diff --git a/games-server/monopd/files/digest-monopd-0.8.2 b/games-server/monopd/files/digest-monopd-0.8.2
new file mode 100644
index 000000000000..c917d3acf120
--- /dev/null
+++ b/games-server/monopd/files/digest-monopd-0.8.2
@@ -0,0 +1 @@
+MD5 e475f080e2537fcb6b01b40f18519c31 monopd-0.8.2.tar.bz2 104802
diff --git a/games-server/monopd/files/digest-monopd-0.8.2-r1 b/games-server/monopd/files/digest-monopd-0.8.2-r1
new file mode 100644
index 000000000000..c917d3acf120
--- /dev/null
+++ b/games-server/monopd/files/digest-monopd-0.8.2-r1
@@ -0,0 +1 @@
+MD5 e475f080e2537fcb6b01b40f18519c31 monopd-0.8.2.tar.bz2 104802
diff --git a/games-server/monopd/files/monopd b/games-server/monopd/files/monopd
new file mode 100644
index 000000000000..f15ca9138797
--- /dev/null
+++ b/games-server/monopd/files/monopd
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting monopd server"
+ start-stop-daemon --start -q -b --exec /usr/games/bin/monopd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping monopd server"
+ start-stop-daemon --stop -q --exec /usr/games/bin/monopd
+ eend $?
+}
diff --git a/games-server/monopd/monopd-0.8.2-r1.ebuild b/games-server/monopd/monopd-0.8.2-r1.ebuild
new file mode 100644
index 000000000000..606f17dc2e3e
--- /dev/null
+++ b/games-server/monopd/monopd-0.8.2-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/monopd/monopd-0.8.2-r1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="server for atlantik games"
+HOMEPAGE="http://unixcode.org/monopd/"
+SRC_URI="mirror://sourceforge/monopd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND=">=net-libs/libcapsinetwork-0.2.3
+ >=sys-libs/libmath++-0.0.3"
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc doc/api/gameboard API AUTHORS ChangeLog INSTALL NEWS README* TODO
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/monopd
+
+ prepgamesdirs
+}
diff --git a/games-server/monopd/monopd-0.8.2.ebuild b/games-server/monopd/monopd-0.8.2.ebuild
new file mode 100644
index 000000000000..0cb04656ca29
--- /dev/null
+++ b/games-server/monopd/monopd-0.8.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/monopd/monopd-0.8.2.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="server for atlantik games"
+HOMEPAGE="http://unixcode.org/monopd/"
+SRC_URI="mirror://sourceforge/monopd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND=">=net-libs/libcapsinetwork-0.2.3
+ >=sys-libs/libmath++-0.0.3"
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc doc/api/gameboard API AUTHORS ChangeLog INSTALL NEWS README* TODO
+ prepgamesdirs
+}
diff --git a/games-server/nwn-ded/ChangeLog b/games-server/nwn-ded/ChangeLog
new file mode 100644
index 000000000000..03f52f58aedd
--- /dev/null
+++ b/games-server/nwn-ded/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/nwn-ded
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*nwn-ded-1.30 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #24214.
diff --git a/games-server/nwn-ded/Manifest b/games-server/nwn-ded/Manifest
new file mode 100644
index 000000000000..11dd47fcfc91
--- /dev/null
+++ b/games-server/nwn-ded/Manifest
@@ -0,0 +1,4 @@
+MD5 78c4b84c67636167f562460ffde0e43b files/digest-nwn-ded-1.30 74
+MD5 bfdcf278d621e5f6ec577235fa7a4947 files/nwserver 45
+MD5 d516ffa3906a14e899c1154dd01467f1 nwn-ded-1.30.ebuild 887
+MD5 2764b0a22c464bedaf89b13b0848b50a ChangeLog 351
diff --git a/games-server/nwn-ded/files/digest-nwn-ded-1.30 b/games-server/nwn-ded/files/digest-nwn-ded-1.30
new file mode 100644
index 000000000000..1b71b4f94df6
--- /dev/null
+++ b/games-server/nwn-ded/files/digest-nwn-ded-1.30
@@ -0,0 +1 @@
+MD5 9e05d17d2e44f3de3aeeef17de1553f3 NWNDedicatedServer1.30.zip 200194156
diff --git a/games-server/nwn-ded/files/nwserver b/games-server/nwn-ded/files/nwserver
new file mode 100644
index 000000000000..366bb57b6f54
--- /dev/null
+++ b/games-server/nwn-ded/files/nwserver
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./nwserver ${@}
diff --git a/games-server/nwn-ded/nwn-ded-1.30.ebuild b/games-server/nwn-ded/nwn-ded-1.30.ebuild
new file mode 100644
index 000000000000..0f66f19c393e
--- /dev/null
+++ b/games-server/nwn-ded/nwn-ded-1.30.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/nwn-ded-1.30.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Neverwinter Nights Dedicated server"
+HOMEPAGE="http://nwn.bioware.com/downloads/standaloneserver.html"
+SRC_URI="http://nwdownloads.bioware.com/neverwinternights/standaloneserver/NWNDedicatedServer${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* x86"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ tar -zxf linuxdedserver${PV/.}.tar.gz || die
+ rm linuxdedserver${PV/.}.tar.gz
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ mv ${S}/* ${D}/${dir}/ || die "installing server"
+ dogamesbin ${FILESDIR}/nwserver
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/nwserver
+
+ prepgamesdirs
+ chmod -R g+w ${D}/${dir}
+}
diff --git a/games-server/ut2003-ded/ChangeLog b/games-server/ut2003-ded/ChangeLog
new file mode 100644
index 000000000000..0d57a0663683
--- /dev/null
+++ b/games-server/ut2003-ded/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-games/ut2003-ded
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ChangeLog,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+*ut2003-ded-2225 (27 Jun 2003)
+
+ 27 Jun 2003; phoen][x <phoenix@gentoo.org> ut2003-ded-20021004.ebuild,
+ ChangeLog, files/digest-ut2003-ded-20021004 :
+ Initial import #8795.
diff --git a/games-server/ut2003-ded/Manifest b/games-server/ut2003-ded/Manifest
new file mode 100644
index 000000000000..eadf076486eb
--- /dev/null
+++ b/games-server/ut2003-ded/Manifest
@@ -0,0 +1,3 @@
+MD5 e2b1909161f8423e1574286673de9654 ChangeLog 396
+MD5 48462d3ad228a5ede0f48f61bd21ae86 ut2003-ded-2225.ebuild 998
+MD5 76db69a30b347237a649a660d9db261d files/digest-ut2003-ded-2225 74
diff --git a/games-server/ut2003-ded/files/digest-ut2003-ded-2225 b/games-server/ut2003-ded/files/digest-ut2003-ded-2225
new file mode 100644
index 000000000000..46b951961762
--- /dev/null
+++ b/games-server/ut2003-ded/files/digest-ut2003-ded-2225
@@ -0,0 +1 @@
+MD5 a3b6c5d9492692533168ee685026e926 ut2003-lnxded-2225.tar.bz2 304132056
diff --git a/games-server/ut2003-ded/ut2003-ded-2225.ebuild b/games-server/ut2003-ded/ut2003-ded-2225.ebuild
new file mode 100644
index 000000000000..1a95d489cdba
--- /dev/null
+++ b/games-server/ut2003-ded/ut2003-ded-2225.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ut2003-ded-2225.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Unreal Tournament 2003 Linux Dedicated Server"
+HOMEPAGE="http://www.ut2003.com/"
+SRC_URI="http://games.gci.net/pub/UT2003/ut2003-lnxded-${PV}.tar.bz2
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/unrealtourn2/ut2003-lnxded-${PV}.tar.bz2"
+
+LICENSE="ut2003"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+
+S=${WORKDIR}/ut2003_dedicated
+
+src_install() {
+ einfo "This will take a while ... go get a pizza or something"
+
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+ mv * ${D}/${dir}/
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ ewarn "NOTE: To have your server authenticate properly, you"
+ ewarn " MUST visit the following site and request a key."
+ ewarn "http://ut2003master.epicgames.com/ut2003server/cdkey.php"
+ games_pkg_postinst
+}