+++ /dev/null
-# ChangeLog for games-server/halfd
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halfd/ChangeLog,v 1.3 2004/06/24 23:18:27 agriffis Exp $
-
-*halfd-2.19 (26 Jul 2003)
-
- 26 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me #25188.
+++ /dev/null
-MD5 535228bfcad462c7500afb1ce47133f9 halfd-2.19.ebuild 635
-MD5 5707d3fc455a7e1f0041cef803a278fd ChangeLog 340
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f24fec5e1ff954e9451decbe9ebc8688 files/digest-halfd-2.19 62
+++ /dev/null
-MD5 02f416ab49814b7d50fb9ec0d13403a3 halfd-2.19.tar.gz 364792
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:18:27 agriffis 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"
-IUSE=""
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-adminmod
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/ChangeLog,v 1.6 2004/06/25 03:02:22 agriffis Exp $
-
-*halflife-adminmod-2.50.59-r1 (22 Jun 2004)
-
- 22 Jun 2004; Mike Frysinger <vapier@gentoo.org> -files/2.50.58-adminmod.cfg,
- halflife-adminmod-2.50.58.ebuild, +halflife-adminmod-2.50.59-r1.ebuild,
- -halflife-adminmod-2.50.59.ebuild:
- Version bump to fix install #53715 by James Le Cuirot.
-
-*halflife-adminmod-2.50.59 (16 Apr 2004)
-
- 16 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bumpage #46306 by Daniel Fullmer.
-
-*halflife-adminmod-2.50.58 (08 Nov 2003)
-
- 08 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bumpage #31044.
-
-*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.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 83ad760d13e0fcfff735d48e9db643a6 ChangeLog 1246
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 c93bbb38ad552428a8134304b8518d2e halflife-adminmod-2.50.59-r1.ebuild 1264
-MD5 0de921717db784a8e64346ce9b36844b files/digest-halflife-adminmod-2.50.59-r1 75
-MD5 4238f553d5d45976b6843912967c1bc0 files/modsetup 1724
-MD5 c70c7ef6d70e05e6a986d2d24e96d161 files/2.50.59-adminmod.cfg 817
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFA+e4EmdTrptrqvGERAiPuAKCBVa3aY66VP7jGbX1qHBxFji7bZgCeNfO1
-Q9voJFokLl7WaWKkhW8fLZI=
-=9qQg
------END PGP SIGNATURE-----
+++ /dev/null
---- 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"
+++ /dev/null
-MD5 1ede3ec0873770c43c6150658bff1f03 halflife-admin-2.50.59.tar.gz 1559354
+++ /dev/null
-#!/bin/bash
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/files/modsetup,v 1.2 2004/07/18 03:18:58 dragonheart 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
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-adminmod/halflife-adminmod-2.50.59-r1.ebuild,v 1.2 2004/06/25 03:02:22 agriffis 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}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod"
-PDEPEND="games-server/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 HISTORY NEWS README docs/*.txt
- dohtml -r docs/html/*
- rm -rf HISTORY LICENSE NEWS README docs dlls/metamod_i386.so
-
- dodir ${dir}
- cp -a ${S} ${D}/${dir}
- cp ${FILESDIR}/modsetup ${D}/${dir}/
- dosed "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}:" ${dir}/modsetup
- dosym /usr/share/doc/${PF} ${dir}/docs
-
- prepgamesdirs
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-clanmod
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-clanmod/ChangeLog,v 1.3 2004/06/24 23:18:37 agriffis Exp $
-
-*halflife-clanmod-1.81.24e (08 Jul 2003)
-
- 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3687662240bc7be4ad0abb3c25c7ebac ChangeLog 370
-MD5 84408a5c90fbcdadc1578eebce3c2129 halflife-clanmod-1.81.24e.ebuild 843
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f8ad89c3a434205784e6b6d68f6e9e97 files/digest-halflife-clanmod-1.81.24e 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiCcZHTu7gpaalycRAoK7AKCybrLdLeEIGiqlRf6rkFgQ2EyreQCghnAH
-dGfHpN0SuRu4gNBXIqs/gys=
-=EbY2
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 edf30a6338d6981071ed19905ef60e9a cm-1.81.24e-all-mods.zip 695773
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.6 2004/11/03 00:31:47 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"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-cstrike
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/ChangeLog,v 1.3 2004/06/24 23:18:48 agriffis Exp $
-
-*halflife-cstrike-1.5 (08 Jul 2003)
-
- 08 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
-MD5 256de43691fd39ce753082413f114e54 halflife-cstrike-1.5.ebuild 2175
-MD5 4645edb020b0b38c480a57526e9b19f9 ChangeLog 365
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 0ebcf05f9b6bd8a2ca3d97cf0fbe63db files/hlds-cstrike.conf.d 392
-MD5 108376d9c8b8f312c1469a7c42201042 files/server.cfg 1401
-MD5 8db8dad1af9b2414de0d6f322f284c7d files/hlds-cstrike.rc 798
-MD5 97ea8306848e658c04b5c45d07387dd6 files/digest-halflife-cstrike-1.5 65
-MD5 30deb1d4743d67fe84fc00d02cb47050 files/hlds-cstrike 59
+++ /dev/null
-MD5 d688876fa2864ff69ff808432c9e6fe7 cs_15_full.tar.gz 112935519
+++ /dev/null
-#!/bin/sh
-cd GENTOO_DIR
-exec ./hlds_run -game cstrike ${@}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:17:21 agriffis 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"
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:17:21 agriffis 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
-}
+++ /dev/null
-// 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
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:18:48 agriffis 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="games-server/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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-dpb
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-dpb/ChangeLog,v 1.3 2004/06/24 23:18:59 agriffis Exp $
-
-*halflife-dpb-2.1 (09 Jul 2003)
-
- 09 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me for Dejenerat.
+++ /dev/null
-MD5 f64f989070b3b1ecd572a31fc2a6e484 halflife-dpb-2.1.ebuild 2538
-MD5 78031e94ae71f4ad92a2f6ff3b2042b1 ChangeLog 367
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 c27f4e975cdc4647901ad8ede6e60112 files/hlds-dpb.conf.d 381
-MD5 90a0e37509b36d1610f45b2ce425a874 files/digest-halflife-dpb-2.1 123
-MD5 342e2e156ab6dab5c54a8cd80c1b17c9 files/hlds-dpb 55
-MD5 d70ddff3a1f04e91b2333f078e793d8a files/hlds-dpb.rc 766
+++ /dev/null
-MD5 f979cecdbe54f8fafc6f57fae4c31df0 dpb_v20.tar.gz 53182073
-MD5 0c95b285092a8698a7ee94392d7b37c0 dpb_v2021.tar.gz 6650597
+++ /dev/null
-#!/bin/sh
-cd GENTOO_DIR
-exec ./hlds_run -game dpb ${@}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:17:40 agriffis 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"
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:17:40 agriffis 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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:18:59 agriffis 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="games-server/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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-entmod
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-entmod/ChangeLog,v 1.3 2004/06/24 23:19:11 agriffis Exp $
-
-*halflife-entmod-2 (13 Jul 2003)
-
- 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 fa6fd01840adfbc66f74da39b43f0405 ChangeLog 360
-MD5 2df09c91285dd0ef8a105c5363f4f05f halflife-entmod-2.ebuild 707
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 b8cfa5ed5b315970175e4c97ecd6c1ca files/digest-halflife-entmod-2 59
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiCcoHTu7gpaalycRArLFAJ0Zc6+4tjGIh/Hb8Tr1cpJrlgWfCQCg8Mz6
-7PFc1npI5PKaWqgxf5TkW14=
-=1bRF
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 b288de7db048e1acd78337dd62994cb9 EntMod_lin.zip 305685
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.6 2004/11/03 00:32:02 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"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-hlguard
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/ChangeLog,v 1.3 2004/06/24 23:19:21 agriffis 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.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 5bc7718894acea7de7cab3533d644a3e ChangeLog 504
-MD5 679f2be9b864aee9f31cdaf29cde4255 halflife-hlguard-1.41.ebuild 851
-MD5 ffa8ebf674e52b96b203e106b1f6aa6f halflife-hlguard-1.50.02.ebuild 1004
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 808a8631750538467a9bcf2bba8b5d70 files/digest-halflife-hlguard-1.41 60
-MD5 9f40c4af0ea9c0b44083202aee530e75 files/digest-halflife-hlguard-1.50.02 63
-MD5 5b0e3503dd0851aecbfeec5d757d9590 files/modsetup 1357
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiOGUHTu7gpaalycRAtf5AJ4pDRvCyshdUlI6CGNKxzGT5K/zyQCg3FsO
-l+eH/3gj2JC0odMiupIB8Ow=
-=XPb5
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 2f534624125072281aa6f2e5852176cf hlg-1_41-en.zip 153226
+++ /dev/null
-MD5 dcbde55435a9bde37aba5f3547b2a183 hlg-1_50_02-en.zip 615406
+++ /dev/null
-#!/bin/bash
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hlguard/files/modsetup,v 1.2 2004/07/18 03:19:58 dragonheart 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
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.6 2004/11/03 13:47:25 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"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.7 2004/11/03 13:47:25 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"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod
- games-server/halflife-modsetup"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-hookmod
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-hookmod/ChangeLog,v 1.3 2004/06/24 23:19:32 agriffis Exp $
-
-*halflife-hookmod-4 (13 Jul 2003)
-
- 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 21ba02e289d1025ca7f897215d05ca34 ChangeLog 363
-MD5 780848a027c96c398cddec5b2a8c34ea halflife-hookmod-4.ebuild 695
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 e68255a4d8f10381ea82f186f2f720f5 files/digest-halflife-hookmod-4 61
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiCc3HTu7gpaalycRAg+TAJ9rdebM5aqmpXgcS5WsSx62+oi4PwCgiHJU
-tOXW7paGBEiVVBVuoPM+bgI=
-=mDdB
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 8aeaef88a6e67e25d1929933e95d4bfe HookMod4_lin.zip 138876
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.6 2004/11/03 00:32:17 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"
-IUSE=""
-
-RDEPEND="games-server/halflife-metamod"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S=${WORKDIR}/addons/HookMod
-
-src_install() {
- local dir=${GAMES_PREFIX_OPT}/halflife/addons/hookmod
-
- dodir ${dir}
- cp -rf ${S}/* ${D}/${dir}/
-
- prepgamesdirs
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-metamod
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/ChangeLog,v 1.6 2004/08/31 22:13:42 vapier Exp $
-
-*halflife-metamod-1.17.2 (31 Aug 2004)
-
- 31 Aug 2004; Mike Frysinger <vapier@gentoo.org>
- -halflife-metamod-1.17-r1.ebuild, +halflife-metamod-1.17.2.ebuild:
- Version bump #56989 by Sergey Borodich.
-
-*halflife-metamod-1.17-r1 (16 Apr 2004)
-
- 16 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump to fix original release (fixed config locations #42043).
-
-*halflife-metamod-1.17 (21 Feb 2004)
-
- 21 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump.
-
-*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.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 25247703b03d94727abb9c064a5a972f halflife-metamod-1.17.2.ebuild 1403
-MD5 ee613d92c7407d3437e64650f7c75516 ChangeLog 983
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 3b3bcd399b884a0e6f4dd0a3463e3ed4 files/digest-halflife-metamod-1.17.2 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBpP7kI1lqEGTUzyQRAnf4AKDZQeLmUBtX2CfdSww1sD1DSlCW4gCfXP5k
-NzLqrmRh8+0lufoq5EijwTY=
-=vMke
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 cbb8d050acd076209a542ffc2a2c9b49 metamod-1.17.2-linux.tar.gz 184668
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-metamod/halflife-metamod-1.17.2.ebuild,v 1.1 2004/08/31 22:13:42 vapier Exp $
-
-inherit games gcc
-
-DESCRIPTION="plugin manager for Half-Life server"
-HOMEPAGE="http://www.metamod.org/"
-SRC_URI="x86? ( mirror://sourceforge/metamod/metamod-${PV}-linux.tar.gz )"
-# amd64? ( mirror://sourceforge/metamod/metamod-${PV}-linux-amd64.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86" # amd64
-IUSE=""
-
-#DEPEND="src? ( dev-games/hlsdk )
-# >=sys-apps/sed-4"
-RDEPEND="|| ( games-server/halflife-server games-server/halflife-steam )"
-
-S="${WORKDIR}"
-
-#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
- exeinto ${dir}/dlls
- doexe *.so
-# fi
-# insinto ${dir}
-# doins doc/*.ini
-
-# insinto /usr/include/metamod
-# doins metamod/*.h
-
-# dodoc doc/* doc/txt/*
-# dohtml -r doc/html/*
-
- prepgamesdirs
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-modsetup
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-modsetup/ChangeLog,v 1.3 2004/06/24 23:19:42 agriffis 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.
+++ /dev/null
-MD5 40be19fa95e203614cebdf42b8412f75 halflife-modsetup-0.1.1.ebuild 765
-MD5 5357c0f04235fd6f041ef9a8e2a427c0 ChangeLog 499
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 fa45ddfcc127c9e078a91eda0d19f157 files/digest-halflife-modsetup-0.1.1 71
+++ /dev/null
-MD5 b913468cd37d24fa415d79b25f4a96b9 halflife-modsetup-0.1.1.tbz2 3047
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:19:42 agriffis 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"
-IUSE=""
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-ns
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/ChangeLog,v 1.5 2004/06/24 23:19:53 agriffis Exp $
-
-*halflife-ns-3.0_beta3 (16 Aug 2004)
-
- 16 Aug 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump #46535 by Daniel Fullmer.
-
-*halflife-ns-2.01 (16 Aug 2004)
-
- 16 Aug 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump #46535 by Daniel Fullmer.
-
-*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.
+++ /dev/null
-MD5 a0eb4b1eb61e638751c6166f84f81a22 halflife-ns-3.0_beta3.ebuild 2354
-MD5 5756f2e28795ce32a545865f5943a10f halflife-ns-2.01.ebuild 2262
-MD5 7dbc5cd02264221acd5b588a65c72047 halflife-ns-1.04.ebuild 2030
-MD5 e0719f8700b0da47d716758e57ed37ec halflife-ns-2.0.ebuild 2187
-MD5 0974d0a3ee4b251afc5a3fcebe41ee63 ChangeLog 718
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 2fef95156cd220aa430b93dba760d72c files/hlds-ns.rc 758
-MD5 c66877a7e84218012527f6f8ce3af59c files/hlds-ns 56
-MD5 8b1a469757092d885d57bcae90524bac files/digest-halflife-ns-3.0_beta3 160
-MD5 a15626d4baff256269cd997f5dc600b6 files/digest-halflife-ns-1.04 139
-MD5 630d1e830ed6a879521d80e017852898 files/digest-halflife-ns-2.01 130
-MD5 75b63cf2942acc8e30a8d81ad7b6067a files/digest-halflife-ns-2.0 73
-MD5 0a4d7d8c2fb8626d4da997c701c88f0f files/hlds-ns.conf.d 383
+++ /dev/null
-MD5 e221ffe39e5d7ad0b5d0d7b2f1c890b3 ns-v104.zip 2725609
-MD5 d66f75402060685265f68f314bf8d3a8 ns_v1_linux_dedicated_server.tar.gz 85252204
+++ /dev/null
-MD5 6fd11703656924ad50b69505cd027197 ns_v2_dedicated_server.zip 91860927
+++ /dev/null
-MD5 6fd11703656924ad50b69505cd027197 ns_v2_dedicated_server.zip 91860927
-MD5 7d09893844b8fef158401acb3c778a27 ns-v201.zip 1690991
+++ /dev/null
-MD5 3c1c8d2022395ca9070133536475b4a5 ns_v3_b1_dedicated_server.zip 135242626
-MD5 8125897b7b62353ada2e20e31be754d4 ns_v30_b3_patch_dedicated_server.zip 26243313
+++ /dev/null
-#!/bin/sh
-cd GENTOO_DIR
-exec ./hlds_run -game ns "${@}"
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:19:12 agriffis 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"
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:19:12 agriffis 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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:19:53 agriffis 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="games-server/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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.4 2004/06/24 23:19:53 agriffis 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="games-server/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"
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/halflife-ns-2.01.ebuild,v 1.2 2004/06/24 23:19:53 agriffis Exp $
-
-inherit games eutils
-
-BASE=ns_v2_dedicated_server.zip
-PATCH=ns-v201.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}
- http://files.redphive.org/ns/${PATCH}"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE="dedicated"
-
-RDEPEND="games-server/halflife-server
- dedicated? ( app-misc/screen )"
-
-S=${WORKDIR}/ns
-
-src_unpack() {
- unpack ${BASE}
- cd ${S}
- unpack ${PATCH}
- 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"
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-ns/halflife-ns-3.0_beta3.ebuild,v 1.3 2004/06/24 23:19:53 agriffis Exp $
-
-inherit games eutils
-
-BASE=ns_v3_b1_dedicated_server.zip
-PATCH=ns_v30_b3_patch_dedicated_server.zip
-DESCRIPTION="Halflife Natural Selection mod ... kill aliens or marines"
-HOMEPAGE="http://www.natural-selection.org/"
-SRC_URI="http://download.jarhedz.com/ns_beta/${BASE}
- ftp://ftp.snt.utwente.nl/pub/games/halflife/steam/natural-selection/server/${BASE}
- ftp://games.surftown.dk/ns/beta-3.0/${PATCH}
- http://ftp.club-internet.fr/pub/games/nofrag/ns-fr.com/server/${PATCH}"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE="dedicated"
-
-RDEPEND="games-server/halflife-server
- dedicated? ( app-misc/screen )"
-
-S=${WORKDIR}/nsp
-
-src_unpack() {
- unpack ${BASE}
- unpack ${PATCH}
- cd ${S}
- edos2unix *.txt *.cfg *.gam *.lst
-}
-
-src_install() {
- local dir=${GAMES_PREFIX_OPT}/halflife
- dodir ${dir}
-
- mv ${S} ${D}/${dir}/ || die "moving nsp"
-
- newgamesbin ${FILESDIR}/hlds-ns hlds-nsp
- dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hlds-nsp
- dosed "s:-game ns:-game nsp:" ${GAMES_BINDIR}/hlds-nsp
-
- exeinto /etc/init.d ; newexe ${FILESDIR}/hlds-ns.rc hlds-nsp
- dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" /etc/init.d/hlds-nsp
- dosed "s:GENTOO_GAMES_USER:${GAMES_USER_DED}:" /etc/init.d/hlds-nsp
- dosed "s:hlds-ns:hlds-nsp:g" /etc/init.d/hlds-nsp
- insinto /etc/conf.d ; newins ${FILESDIR}/hlds-ns.conf.d hlds-nsp
- dosed "s:GENTOO_DIR:${dir}:" /etc/conf.d/hlds-nsp
-
- local cdir=${GAMES_SYSCONFDIR}/halflife/nsp
- dodir ${cdir}
- # this allows users to upgrade w/out losing their previous settings
- dir=${dir}/nsp
- for cfg in *.cfg mapcycle.txt motd.txt titles.txt ; do
- [ -e ${dir}/nsp/${cfg} ] && mv ${cfg}{,.sample}
- dosym {${dir},${cdir}}/${cfg}
- done
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- local dir=${GAMES_PREFIX_OPT}/halflife/nsp
- touch ${dir}/{*.cfg,mapcycle.txt,motd.txt,titles.txt}
-
- einfo "To start the dedicated server, just run"
- einfo "/etc/init.d/hlds-nsp start"
- echo
- einfo "The server utilizes screen so you can get to"
- einfo "the console by typing:"
- einfo " screen -r hlds-nsp"
- echo
- einfo "To configure your server, just edit the file:"
- einfo "${GAMES_PREFIX_OPT}/halflife/nsp/server.cfg"
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-server
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-server/ChangeLog,v 1.7 2004/09/30 00:41:09 swegener Exp $
-
- 03 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
- halflife-server-3.1.1.1.ebuild, halflife-server-3.1.1.1e.ebuild:
- IUSE sync
-
-*halflife-server-3.1.1.1e (18 Apr 2004)
-
- 18 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
- Version bump #43703 by Sergey Borodich.
-
-*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)
-*halflife-server-3.1.1.0 (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
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 6123a6888ae8b5868c3ec0d4e2f165a1 ChangeLog 1324
-MD5 edd2b370c2bb522c21251e5ba839d2c0 halflife-server-3.1.1.0.ebuild 2651
-MD5 1bfc903ad8fb9a5fd8cf803cba787b7a halflife-server-3.1.1.1.ebuild 2527
-MD5 0f7e8ba1362dcc736a0128544a4421fa halflife-server-3.1.1.1e.ebuild 2735
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 5b849a039a512e868b4a7b494225324c files/3.1.1.0-hlds_run-boffix.patch 362
-MD5 c9e8e6c4eb131ff5bde143fc43ab86f5 files/digest-halflife-server-3.1.1.0 127
-MD5 33aa6e9a8329c0496b14c7fe325bd710 files/digest-halflife-server-3.1.1.1 68
-MD5 0084423084f2d147fe7ce67a8c7913ac files/digest-halflife-server-3.1.1.1e 140
-MD5 44f3ab1b21f0c77083d95b7797622c4d files/hlds 45
-MD5 91d0a041d8ff8c57d39b692d7af45935 files/hlds.conf.d 405
-MD5 d946f1defb7ea2fce873155f83933fc2 files/hlds.rc 741
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBW1YwI1lqEGTUzyQRAlTfAKDO+VNIanyv4Pvl5zGiTzxvoGfJCACg1r69
-XsSU807JpI1bMdygYQbz2SU=
-=0763
------END PGP SIGNATURE-----
+++ /dev/null
---- hlds_run.orig 2003-12-17 18:38:03.000000000 -0500
-+++ hlds_run 2003-12-17 18:38:15.000000000 -0500
-@@ -17,6 +17,7 @@
- #trap "" SIGINT
-
- # setup the libraries, local dir first!
-+export LD_PRELOAD=./boffix_i386.so
- export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
- if test -n "`echo $* | grep "\-norestart"`" ; then
- RESTART=""; # norestart defined, do do restarts
+++ /dev/null
-MD5 4bf86966424dedc686cdf63c72c1913d hlds_l_3110_full.bin 120884265
-MD5 2dcf56fbbe1ad52c46e5d4db4fd76cbd boffix_v3.tar.gz 6786
+++ /dev/null
-MD5 d9c9cb32a55a814ae6fd6e36568ea9c8 hlds_l_3111_full.bin 121936616
+++ /dev/null
-MD5 d9c9cb32a55a814ae6fd6e36568ea9c8 hlds_l_3111_full.bin 121936616
-MD5 79baaaf4b3c7902928047f30917dc635 hlds_l_3111e_update.tar.gz 3701968
+++ /dev/null
-#!/bin/sh
-cd GENTOO_DIR
-exec ./hlds_run ${@}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.2 2004/07/14 22:20:39 agriffis 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"
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# 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.3 2004/07/14 22:20:39 agriffis 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
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.11 2004/06/24 23:20:04 agriffis Exp $
-
-inherit games eutils
-
-MY_PV=${PV//.}
-MY_PN=hlds_l_${MY_PV}_full
-DESCRIPTION="Halflife Linux Server"
-HOMEPAGE="http://www.valve.com/"
-SRC_URI="${MY_PN}.bin boffix_v3.tar.gz"
-
-LICENSE="ValveServer"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-RESTRICT="nostrip fetch"
-
-DEPEND="sys-apps/util-linux"
-RDEPEND="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"
- einfo "Then download boffix_v3.tar.gz from here:"
- einfo "http://miklos.clanhost.dk/boffix_v3.tar.gz"
-}
-
-src_unpack() {
- unpack_pdv ${MY_PN}.bin 4
- echo ">>> Unpacking ${MY_PN}.tar.gz to ${S}"
- tar -zxf ${MY_PN}.tar.gz || die "unpacking ${MY_PN}.tar.gz failed"
- rm ${MY_PN}.tar.gz
- cd ${S}
- unpack boffix_v3.tar.gz
- epatch ${FILESDIR}/${PV}-hlds_run-boffix.patch
-}
-
-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
- chown -R ${GAMES_USER_DED}:${GAMES_GROUP} ${D}/${dir}
-}
-
-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}
-
- games_pkg_postinst
-
- 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"
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.10 2004/06/24 23:20:04 agriffis Exp $
-
-inherit eutils games
-
-MY_PV=${PV//.}
-MY_PN=hlds_l_${MY_PV}_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"
-IUSE="dedicated"
-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() {
- unpack_pdv ${MY_PN}.bin 4
- echo ">>> Unpacking ${MY_PN}.tar.gz to ${S}"
- tar -zxf ${MY_PN}.tar.gz || die "unpacking ${MY_PN}.tar.gz failed"
- rm ${MY_PN}.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
- chown -R ${GAMES_USER_DED}:${GAMES_GROUP} ${D}/${dir}
-}
-
-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}
-
- games_pkg_postinst
-
- 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"
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.1e.ebuild,v 1.7 2004/06/24 23:20:04 agriffis Exp $
-
-inherit games eutils
-
-MY_PV=${PV//.}
-MY_PN=hlds_l_3111_full
-DESCRIPTION="Halflife Linux Server"
-SRC_URI="${MY_PN}.bin
- hlds_l_${MY_PV}_update.tar.gz"
-HOMEPAGE="http://www.valve.com/ http://www.fileplanet.com/files/50000/58368.shtml"
-
-LICENSE="ValveServer"
-SLOT="0"
-KEYWORDS="-* ~x86"
-IUSE="dedicated"
-RESTRICT="nostrip fetch"
-
-DEPEND="sys-apps/util-linux"
-RDEPEND="dedicated? ( app-misc/screen )"
-
-S=${WORKDIR}/hlds_l
-
-pkg_nofetch() {
- einfo "Please goto fileplanet and download ${MY_BIN}"
- einfo "http://www.fileplanet.com/files/50000/58368.shtml"
- einfo "And then download hlds_l_${MY_PV}_update.tar.gz"
- einfo "http://www.3dgamers.com/dl/games/halflife/hlds_l_${MY_PV}_update.tar.gz"
-}
-
-src_unpack() {
- unpack_pdv ${MY_PN}.bin 4
- echo ">>> Unpacking ${MY_PN}.tar.gz to ${S}"
- tar -zxf ${MY_PN}.tar.gz || die "unpacking ${MY_PN}.tar.gz failed"
- unpack hlds_l_${MY_PV}_update.tar.gz
- rm ${MY_PN}.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
- chown -R ${GAMES_USER_DED}:${GAMES_GROUP} ${D}/${dir}
-}
-
-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}
-
- games_pkg_postinst
-
- 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"
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-statsme
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-statsme/ChangeLog,v 1.4 2004/06/28 22:09:51 agriffis Exp $
-
- 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>
- halflife-statsme-2.7.1.ebuild:
- fix use invocation
-
-*halflife-statsme-2.7.1 (10 Aug 2003)
-
- 10 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 e80166047201c0d9cc57c37f02f59865 ChangeLog 472
-MD5 97b69aa3b226d008ba68b0ec71c684d5 halflife-statsme-2.7.1.ebuild 1892
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-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 b7293f88a553696f45250f811a1e12af files/modsetup 1491
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiCdZHTu7gpaalycRAsBlAKCPav+6YO6A9QMIEEPc6/WaS97qdwCgwn91
-h+MS9aqbI33yaR4glyQY6+A=
-=dRiS
------END PGP SIGNATURE-----
+++ /dev/null
---- 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'}"
+++ /dev/null
---- 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!}"
+++ /dev/null
---- 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!}"
+++ /dev/null
-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
+++ /dev/null
-#!/bin/bash
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-statsme/files/modsetup,v 1.2 2004/07/18 03:20:29 dragonheart 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
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# 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.7 2004/11/03 00:32:52 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="games-server/halflife-metamod"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# ChangeLog for games-server/halflife-steam
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/ChangeLog,v 1.5 2004/09/12 10:35:31 mholzer Exp $
-
- 12 Sep 2004; Martin Holzer <mholzer@gentoo.org> halflife-steam-2.0.ebuild:
- new syntax
-
-*halflife-steam-2.0 (02 Dec 2003)
-
- 02 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
- Update ebuild #34075.
-
-*halflife-steam-2.0_beta (10 Jul 2003)
-
- 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"
-
- 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 a3ac70d2675eff6a0f50072c2c39886e ChangeLog 720
-MD5 e707fcbe0dfad98abefa1d229e82eb96 halflife-steam-2.0.ebuild 2162
-MD5 d0140119f206d8fe49a1d4b5117ec67b files/steam 44
-MD5 0bfc039a889ae19739913bdd9fe8b305 files/digest-halflife-steam-2.0 132
+++ /dev/null
-MD5 0ddcaabd9d90a0bcbf2d7881611528b1 hldsupdatetool.bin 2981254
-MD5 fada107b6f72bbd9e91bd1cd604135e1 hldsupdatetool_readme.txt 5987
+++ /dev/null
-#!/bin/sh
-cd GENTOO_DIR
-exec ./steam "${@}"
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-steam/halflife-steam-2.0.ebuild,v 1.5 2004/09/12 10:35:31 mholzer Exp $
-
-inherit games eutils
-
-DESCRIPTION="client for Valve Software's Steam content delivery program"
-HOMEPAGE="http://www.steampowered.com/"
-SRC_URI="hldsupdatetool.bin hldsupdatetool_readme.txt"
-
-LICENSE="ValveServer"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-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"
-}
-
-src_unpack() {
- unpack_pdv hldsupdatetool.bin 4
- chmod a+x steam
- cp ${DISTDIR}/hldsupdatetool_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 hldsupdatetool_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 -command create -username foobar -email linux1@here.com -password comPlexPass -question "Your hint" -answer "answer"'
- einfo '4. Update the halflife modules you want:'
- einfo " steam -command update -game cstrike -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password comPlexPass"
- einfo " steam -command update -game tfc -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password comPlexPass"
- einfo " steam -command update -game valve -dir ${GAMES_PREFIX_OPT}/halflife -username -email linux1@here.com -password 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"
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>