summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-12 01:41:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-12 01:41:01 +0000
commit59409ba7f46151ed65c6d5e1851cf50a21d170ec (patch)
tree05ecbebb09a8c7d26eb26bf68b3442b2071240aa /games-server
parentrespect CFLAGS and dont bomb when PIC is defined #43440 (diff)
downloadhistorical-59409ba7f46151ed65c6d5e1851cf50a21d170ec.tar.gz
historical-59409ba7f46151ed65c6d5e1851cf50a21d170ec.tar.bz2
historical-59409ba7f46151ed65c6d5e1851cf50a21d170ec.zip
old
Diffstat (limited to 'games-server')
-rw-r--r--games-server/hlstats/files/digest-hlstats-1.20-r11
-rw-r--r--games-server/hlstats/hlstats-1.20-r1.ebuild79
2 files changed, 0 insertions, 80 deletions
diff --git a/games-server/hlstats/files/digest-hlstats-1.20-r1 b/games-server/hlstats/files/digest-hlstats-1.20-r1
deleted file mode 100644
index 9f103b801f60..000000000000
--- a/games-server/hlstats/files/digest-hlstats-1.20-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ebea3784d7798fa44cea38b969f2644d hlstats-1.20.tar.gz 1075534
diff --git a/games-server/hlstats/hlstats-1.20-r1.ebuild b/games-server/hlstats/hlstats-1.20-r1.ebuild
deleted file mode 100644
index dd19009376aa..000000000000
--- a/games-server/hlstats/hlstats-1.20-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/hlstats-1.20-r1.ebuild,v 1.3 2005/02/12 01:14:38 mr_bones_ Exp $
-
-inherit games webapp
-
-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"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND=">=sys-apps/sed-4"
-RDEPEND="dev-lang/perl
- dev-db/mysql
- net-www/apache
- dev-php/mod_php"
-
-pkg_setup() {
- webapp_pkg_setup
- games_pkg_setup
-}
-
-src_install() {
- webapp_src_preinst
-
- 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 || die "sed pl failed"
- dogamesbin *.pl || die "dogamesbin failed"
- 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 ${MY_HTDOCSDIR}
- cp -r hlstats.php hlstatsimg hlstatsinc ${D}/${MY_HTDOCSDIR}/
- webapp_serverowned ${MY_HTDOCSDIR}
-
- webapp_src_install
-}
-
-pkg_postinst() {
- games_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 ${MY_HTDOCSDIR}/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)"
- webapp_pkg_postinst
-}