diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-05 04:44:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-05 04:44:07 +0000 |
commit | 8e1a27f4d227e12ca9230856af33f4155838d5e8 (patch) | |
tree | ca8f116b7f9a78d3cf9172ddf70827c42f810463 /games-server/hlstats | |
parent | old (diff) | |
download | historical-8e1a27f4d227e12ca9230856af33f4155838d5e8.tar.gz historical-8e1a27f4d227e12ca9230856af33f4155838d5e8.tar.bz2 historical-8e1a27f4d227e12ca9230856af33f4155838d5e8.zip |
Version bump #84878.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-server/hlstats')
-rw-r--r-- | games-server/hlstats/ChangeLog | 7 | ||||
-rw-r--r-- | games-server/hlstats/Manifest | 8 | ||||
-rw-r--r-- | games-server/hlstats/files/digest-hlstats-1.32 | 1 | ||||
-rw-r--r-- | games-server/hlstats/hlstats-1.32.ebuild | 81 |
4 files changed, 92 insertions, 5 deletions
diff --git a/games-server/hlstats/ChangeLog b/games-server/hlstats/ChangeLog index d6d92f39069b..6b235ca2f54e 100644 --- a/games-server/hlstats/ChangeLog +++ b/games-server/hlstats/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-server/hlstats # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/ChangeLog,v 1.8 2005/03/11 18:12:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/hlstats/ChangeLog,v 1.9 2005/04/05 04:44:07 vapier Exp $ + +*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) diff --git a/games-server/hlstats/Manifest b/games-server/hlstats/Manifest index 4b85341401da..eb5516baa170 100644 --- a/games-server/hlstats/Manifest +++ b/games-server/hlstats/Manifest @@ -1,8 +1,8 @@ -MD5 2aa7ebee83ce7e8c3d364bced3319eb0 ChangeLog 972 -MD5 19fff730a220d09c4cf6a29dce7a2239 hlstats-1.31.ebuild 2476 +MD5 fe170ed20ba007e8b61b52eea1d38656 ChangeLog 1094 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 163ae26bf22ced93de3a173176acf446 hlstats-1.30.ebuild 2473 -MD5 b567904c6912530d9091ddfc12435f6e files/digest-hlstats-1.30 65 +MD5 19fff730a220d09c4cf6a29dce7a2239 hlstats-1.31.ebuild 2476 +MD5 4baec01e2275396a0006eb1d01a9d50f hlstats-1.32.ebuild 2578 +MD5 8775a29d01460325e284e5f24ccdac60 files/digest-hlstats-1.32 65 MD5 819787fd7ea1413af32af58c51ede1a5 files/hlstats 120 MD5 abc69f8fd2ab9151ef7106998a231151 files/hlstats.rc 502 MD5 8073404119b020b10d1705e241f8b9f5 files/digest-hlstats-1.31 65 diff --git a/games-server/hlstats/files/digest-hlstats-1.32 b/games-server/hlstats/files/digest-hlstats-1.32 new file mode 100644 index 000000000000..43158393f1d7 --- /dev/null +++ b/games-server/hlstats/files/digest-hlstats-1.32 @@ -0,0 +1 @@ +MD5 4b683fed5b4b7a112a150cc51b6d8c67 hlstats-1.32.tar.gz 2067107 diff --git a/games-server/hlstats/hlstats-1.32.ebuild b/games-server/hlstats/hlstats-1.32.ebuild new file mode 100644 index 000000000000..94f685cfeb45 --- /dev/null +++ b/games-server/hlstats/hlstats-1.32.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2005 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.1 2005/04/05 04:44:07 vapier 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=">=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 + 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 +} |