+++ /dev/null
-# ChangeLog for games-server/hlstats
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/ChangeLog,v 1.10 2006/11/23 19:39:18 vivo Exp $
-
- 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> hlstats-1.32.ebuild:
- dev-db/mysql => virtual/mysql
-
-*hlstats-1.32 (05 Apr 2005)
-
- 05 Apr 2005; Mike Frysinger <vapier@gentoo.org> +hlstats-1.32.ebuild:
- Version bump #84878.
-
-*hlstats-1.31 (11 Mar 2005)
-
- 11 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> +hlstats-1.31.ebuild:
- version bump (bug #84878)
-
-*hlstats-1.30 (11 Feb 2005)
-
- 11 Feb 2005; Mike Frysinger <vapier@gentoo.org> +hlstats-1.30.ebuild:
- Version bump #67721 by Mark Burrows.
-
-*hlstats-1.20-r1 (23 Jun 2004)
-
- 23 Jun 2004; Mike Frysinger <vapier@gentoo.org> +hlstats-1.20-r1.ebuild,
- -hlstats-1.20.ebuild:
- Use webapps #27805
-
- 21 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> hlstats-1.02.ebuild:
- clean older ebuild
-
-*hlstats-1.20 (13 Oct 2003)
-
- 13 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bump #30990.
-
-*hlstats-1.02 (09 Jul 2003)
-
- 09 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
-AUX hlstats 120 RMD160 10f48704a038ba1aa863119fc93404296b79cea8 SHA1 ebc871932c63b0c2c3034006be5a2e5076978baa SHA256 09a4e2fae90671e071c7b02a2aab450cf42ca6ebe2c61cdf9f1c382eeb8b6dc4
-MD5 819787fd7ea1413af32af58c51ede1a5 files/hlstats 120
-RMD160 10f48704a038ba1aa863119fc93404296b79cea8 files/hlstats 120
-SHA256 09a4e2fae90671e071c7b02a2aab450cf42ca6ebe2c61cdf9f1c382eeb8b6dc4 files/hlstats 120
-AUX hlstats.rc 502 RMD160 d416a3ee1e24f3f3e5f635ea4b5a99ba7c083318 SHA1 68f549619c6805f237b199acfde1e65191ce1de8 SHA256 70834f24c6426597fcedac982551539a3fad65c99ed65e0359895b7f26697bd6
-MD5 abc69f8fd2ab9151ef7106998a231151 files/hlstats.rc 502
-RMD160 d416a3ee1e24f3f3e5f635ea4b5a99ba7c083318 files/hlstats.rc 502
-SHA256 70834f24c6426597fcedac982551539a3fad65c99ed65e0359895b7f26697bd6 files/hlstats.rc 502
-DIST hlstats-1.32.tar.gz 2067107 RMD160 687f39274779d579c627b72f6372cd9d7bbe8425 SHA1 8908c0994776d3c314a7a7644b41a8b3c4d74ddb SHA256 8600bf18404b461a012a8ce77dfaf9523b70464e2dbe401100a0e7ad00c43189
-EBUILD hlstats-1.32.ebuild 2557 RMD160 6c00e2f10a556a5a6dadec0d134ec60949ade1ae SHA1 bac4cce06f200ef0430ca2e41ad8fd39f3b2df59 SHA256 4ae58e6a143ca74362a080e6c6e1345dbb7aaa979779156359a9788ea1d16943
-MD5 87cc854ca2c43335727a57e4bf40bf8a hlstats-1.32.ebuild 2557
-RMD160 6c00e2f10a556a5a6dadec0d134ec60949ade1ae hlstats-1.32.ebuild 2557
-SHA256 4ae58e6a143ca74362a080e6c6e1345dbb7aaa979779156359a9788ea1d16943 hlstats-1.32.ebuild 2557
-MISC ChangeLog 1196 RMD160 0b93b66067ed226101f87f4a1d81bce75f8d9e7e SHA1 b2d5afb39870f13e6173025c1d7ac784ea13239c SHA256 ae2ec94b329851e785c8cd00004e280d2e8a3169f94249b7bfc69f9196e675f2
-MD5 dbb1f85d1ff501e673f6d215ca45bd4a ChangeLog 1196
-RMD160 0b93b66067ed226101f87f4a1d81bce75f8d9e7e ChangeLog 1196
-SHA256 ae2ec94b329851e785c8cd00004e280d2e8a3169f94249b7bfc69f9196e675f2 ChangeLog 1196
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
-SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 25324a44f51b3060014b8ab91c7ffdcd files/digest-hlstats-1.32 241
-RMD160 83d0baeb417165574f20bd6494c967d2c0a60479 files/digest-hlstats-1.32 241
-SHA256 9c3e7aabfe814cb0ed413a49b269697e3b9d7223854eddde616beb5052822130 files/digest-hlstats-1.32 241
+++ /dev/null
-MD5 4b683fed5b4b7a112a150cc51b6d8c67 hlstats-1.32.tar.gz 2067107
-RMD160 687f39274779d579c627b72f6372cd9d7bbe8425 hlstats-1.32.tar.gz 2067107
-SHA256 8600bf18404b461a012a8ce77dfaf9523b70464e2dbe401100a0e7ad00c43189 hlstats-1.32.tar.gz 2067107
+++ /dev/null
-#!/bin/bash
-
-while :; do
- GENTOO_DIR/hlstats.pl 2>1 >> /var/log/hlstats.log
- echo >> /var/log/hlstats.log
- sleep 5
-done
+++ /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/hlstats/files/hlstats.rc,v 1.2 2004/07/14 22:22:45 agriffis 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 $?
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/hlstats-1.32.ebuild,v 1.3 2006/11/23 19:39:18 vivo 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="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/perl
- virtual/mysql
- net-www/apache
- virtual/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
- newinitd ${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)"
- echo
- einfo "To Upgrade:"
- einfo " 1. \`mysql hlstats < ${GAMES_DATADIR}/${PN}/upgrade_from_1.31.sql\`"
- webapp_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>