summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-02-03 07:43:08 +0000
committerTristan Heaven <tristan@gentoo.org>2007-02-03 07:43:08 +0000
commit2320a35ceb52bbc876172786f7f5ab31884f8f21 (patch)
tree92bcfef987c85d394b52ec7d2bed2da587fdfcdf /games-server
parentStable on ppc wrt bug #164978. (diff)
downloadhistorical-2320a35ceb52bbc876172786f7f5ab31884f8f21.tar.gz
historical-2320a35ceb52bbc876172786f7f5ab31884f8f21.tar.bz2
historical-2320a35ceb52bbc876172786f7f5ab31884f8f21.zip
rm old version
Package-Manager: portage-2.1.2-r6
Diffstat (limited to 'games-server')
-rw-r--r--games-server/pvpgn/Manifest22
-rw-r--r--games-server/pvpgn/files/1.6.5-fhs.patch211
-rw-r--r--games-server/pvpgn/files/digest-pvpgn-1.6.5-r16
-rw-r--r--games-server/pvpgn/pvpgn-1.6.5-r1.ebuild92
4 files changed, 10 insertions, 321 deletions
diff --git a/games-server/pvpgn/Manifest b/games-server/pvpgn/Manifest
index 2f8f924bfaa5..e54fc3212a56 100644
--- a/games-server/pvpgn/Manifest
+++ b/games-server/pvpgn/Manifest
@@ -1,7 +1,6 @@
-AUX 1.6.5-fhs.patch 10322 RMD160 a5463e9b8a17980256d5fe67ae550687610486c1 SHA1 1a94b482869af69498a74f27e6b3f7b91fb43b94 SHA256 926262b969c018fd39ae4f7ca42d247a11e7c52643955b02a48f77e5847786a5
-MD5 778be818c35e7df1e022398198427172 files/1.6.5-fhs.patch 10322
-RMD160 a5463e9b8a17980256d5fe67ae550687610486c1 files/1.6.5-fhs.patch 10322
-SHA256 926262b969c018fd39ae4f7ca42d247a11e7c52643955b02a48f77e5847786a5 files/1.6.5-fhs.patch 10322
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 1.6.6-fhs.patch 10322 RMD160 a5463e9b8a17980256d5fe67ae550687610486c1 SHA1 1a94b482869af69498a74f27e6b3f7b91fb43b94 SHA256 926262b969c018fd39ae4f7ca42d247a11e7c52643955b02a48f77e5847786a5
MD5 778be818c35e7df1e022398198427172 files/1.6.6-fhs.patch 10322
RMD160 a5463e9b8a17980256d5fe67ae550687610486c1 files/1.6.6-fhs.patch 10322
@@ -14,14 +13,9 @@ AUX init.d.rc 785 RMD160 499f33392f3aee22d610d337c94e0084f9f39092 SHA1 33faf653e
MD5 0dea305044e123e1b1ee007331906727 files/init.d.rc 785
RMD160 499f33392f3aee22d610d337c94e0084f9f39092 files/init.d.rc 785
SHA256 2eb461dd6f98daa5d9062f0a39266781e4df9e445e607432c64f69d29802459c files/init.d.rc 785
-DIST pvpgn-1.6.5.tar.bz2 1024406 RMD160 2194b021066f7c0dfac4c4878ced1229143f466a SHA1 e416af092614dfda976add89e470b03b440c4a01 SHA256 ff2987aeac170ec773eeb541df6057180f68266a062307628a7cbe13808c2872
DIST pvpgn-1.6.6.tar.bz2 1025551 RMD160 644be88813a9231f9511339ead34a9488d5235c2 SHA1 f50f9138206962293654ba8b64dcd1876e0f6954 SHA256 682c9ecf81f36f0ba4ce6a9c75d2552203eb1db2be7c6b1087ab802f4d09519c
DIST pvpgn-1.8.0.tar.bz2 999543 RMD160 0921e584732589b069f5e03678c41c309c040f22 SHA1 b3aae4244051f4ae248cc3c6c6784bbb650d920c SHA256 9eb713c8f9ccb297674ab1497f9768c1e623fccce4dbd9758b7aed2f35ffd42d
DIST pvpgn-support-1.0.tar.gz 126047 RMD160 2a6cf95e925596a36fdd5e57e744752a4d828acc SHA1 9c73ad8f8d4eadacabb7f1fd57b349c5d2a35114 SHA256 f2f832fd6265ae20239fdaa70498ee6bf922020172f47389520e656a3babff2d
-EBUILD pvpgn-1.6.5-r1.ebuild 2579 RMD160 a33c57f3fa870eb6099ff4f4a304b1ab8abe3923 SHA1 e15e182b71f440aa18b923bef4f761bce2251045 SHA256 cf2aa8824bfa668a0dd2a8e6adb399effc9d180a7b96ddaad72252149b7d2408
-MD5 f563dd233f1a7503bed2e8367906ae71 pvpgn-1.6.5-r1.ebuild 2579
-RMD160 a33c57f3fa870eb6099ff4f4a304b1ab8abe3923 pvpgn-1.6.5-r1.ebuild 2579
-SHA256 cf2aa8824bfa668a0dd2a8e6adb399effc9d180a7b96ddaad72252149b7d2408 pvpgn-1.6.5-r1.ebuild 2579
EBUILD pvpgn-1.6.6.ebuild 2573 RMD160 82f8470efdbc354761df18b947d6520f2b60a07f SHA1 4e059faeb8150eb650ea937934e2486131a67f5a SHA256 31a0bb7510d4fc1a8cb6b87f9f2239edae2d93418f52f8b14c06013119cc72be
MD5 7130531cb79c8a6876c5ec3a2514a08d pvpgn-1.6.6.ebuild 2573
RMD160 82f8470efdbc354761df18b947d6520f2b60a07f pvpgn-1.6.6.ebuild 2573
@@ -38,12 +32,16 @@ MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be525
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 8c1633fb74cf5f7a54351808d02575bc files/digest-pvpgn-1.6.5-r1 494
-RMD160 5f1b8a32f40dda3df21fbf2ddeeb0fb36c3131d8 files/digest-pvpgn-1.6.5-r1 494
-SHA256 14807dd75ee31815b0d3cf8ce3b8f8c4a8008ae01abdd2195a231f424bde4724 files/digest-pvpgn-1.6.5-r1 494
MD5 952f1df58f2f09f8fa4f8f95d6083400 files/digest-pvpgn-1.6.6 494
RMD160 938c8e5f21dd9f3ce6ff95c1907f57dd7d8dc553 files/digest-pvpgn-1.6.6 494
SHA256 173528a29d9ab63ed1e4f7ededfe0806b53d6d94dbaffa8da712fd2acaf77e9d files/digest-pvpgn-1.6.6 494
MD5 8afb7387ddedf2b2e5cc12f5fd55978e files/digest-pvpgn-1.8.0 491
RMD160 e962774007e759f6ea2ab7c050575e4b592d3bc4 files/digest-pvpgn-1.8.0 491
SHA256 38179921f61f8d6f6c929f3e7f748fff67c96df42fcfa8c31bca4cd2db73b1f7 files/digest-pvpgn-1.8.0 491
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFFxD0Sdz7hIScOURERAt1gAKDSwBx994jxFESamHKCwq+zl2AXpACbBGeY
+ETu2YeevspGv5rk+Ooz8Tng=
+=tEaP
+-----END PGP SIGNATURE-----
diff --git a/games-server/pvpgn/files/1.6.5-fhs.patch b/games-server/pvpgn/files/1.6.5-fhs.patch
deleted file mode 100644
index 84be5abcd981..000000000000
--- a/games-server/pvpgn/files/1.6.5-fhs.patch
+++ /dev/null
@@ -1,211 +0,0 @@
-diff -ur ../pvpgn-1.6.4/conf/bnetd.conf.in ./conf/bnetd.conf.in
---- ../pvpgn-1.6.4/conf/bnetd.conf.in 2004-06-22 16:29:33.000000000 +0300
-+++ ./conf/bnetd.conf.in 2004-08-27 11:12:19.789902272 +0300
-@@ -46,13 +46,13 @@
- # - "pass" : db password #
- # #
- # Examples: #
--# storage_path = file:dir=/usr/local/var/users;clan=/usr/local/var/clans;default=/usr/local/etc/bnetd_default_user.plain
--# storage_path = cdb:dir=/usr/local/var/userscdb;clan=/usr/local/var/clans;default=/usr/local/etc/bnetd_default_user.cdb
-+# storage_path = file:dir=%statedir%/users;clan=%statedir%/clans;default=%confdir%/bnetd_default_user.plain
-+# storage_path = cdb:dir=%statedir%/userscdb;clan=%statedir%/clans;default=%confdir%/bnetd_default_user.cdb
- # storage_path = sql:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0
- # storage_path = sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0
- #----------------------------------------------------------------------------#
-
--storage_path = file:dir=/usr/local/var/users;clan=/usr/local/var/clans;default=/usr/local/etc/bnetd_default_user.plain
-+storage_path = file:dir=%statedir%/users;clan=%statedir%/clans;default=%confdir%/bnetd_default_user.plain
-
- # #
- ##############################################################################
-@@ -63,36 +63,36 @@
- # Use absolute paths in these lines to avoid problems! #
- #----------------------------------------------------------------------------#
-
--filedir = /usr/local/var/files
--reportdir = /usr/local/var/reports
--chanlogdir = /usr/local/var/chanlogs
--motdfile = /usr/local/etc/bnmotd.txt
--issuefile = /usr/local/etc/bnissue.txt
--channelfile = /usr/local/etc/channel.conf
--newsfile = /usr/local/etc/news.txt
--adfile = /usr/local/etc/ad.conf
--topicfile = /usr/local/etc/topics.conf
--ipbanfile = /usr/local/etc/bnban.conf
--helpfile = /usr/local/etc/bnhelp.conf
--transfile = /usr/local/etc/gametrans.conf
--mpqfile = /usr/local/etc/autoupdate.conf
--logfile = /usr/local/var/bnetd.log
--realmfile = /usr/local/etc/realm.conf
--maildir = /usr/local/var/bnmail
--versioncheck_file = /usr/local/etc/versioncheck.conf
--mapsfile = /usr/local/etc/bnmaps.conf
--xplevelfile = /usr/local/etc/bnxplevel.conf
--xpcalcfile = /usr/local/etc/bnxpcalc.conf
-+filedir = %datadir%
-+reportdir = %statedir%/reports
-+chanlogdir = %statedir%/chanlogs
-+motdfile = %confdir%/bnmotd.txt
-+issuefile = %confdir%/bnissue.txt
-+channelfile = %confdir%/channel.conf
-+newsfile = %confdir%/news.txt
-+adfile = %confdir%/ad.conf
-+topicfile = %statedir%/etc/topics.conf
-+ipbanfile = %statedir%/etc/bnban.conf
-+helpfile = %confdir%/bnhelp.conf
-+transfile = %confdir%/gametrans.conf
-+mpqfile = %confdir%/autoupdate.conf
-+logfile = %logdir%/bnetd.log
-+realmfile = %confdir%/realm.conf
-+maildir = %statedir%/bnmail
-+versioncheck_file = %confdir%/versioncheck.conf
-+mapsfile = %confdir%/bnmaps.conf
-+xplevelfile = %confdir%/bnxplevel.conf
-+xpcalcfile = %confdir%/bnxpcalc.conf
- #pidfile = /usr/local/var/bnetd.pid
--ladderdir = /usr/local/var/ladders
--command_groups_file = /usr/local/etc/command_groups.conf
--tournament_file = /usr/local/etc/tournament.conf
--statusdir = /usr/local/var/status
--aliasfile = /usr/local/etc/bnalias.conf
--w3trans_file = /usr/local/etc/w3trans.conf
--anongame_infos_file = /usr/local/etc/anongame_infos.conf
--DBlayoutfile = /usr/local/etc/sql_DB_layout.conf
--supportfile = /usr/local/etc/supportfile.conf
-+ladderdir = %statedir%/ladders
-+command_groups_file = %confdir%/command_groups.conf
-+tournament_file = %confdir%/tournament.conf
-+statusdir = %statedir%/status
-+aliasfile = %confdir%/bnalias.conf
-+w3trans_file = %confdir%/w3trans.conf
-+anongame_infos_file = %confdir%/anongame_infos.conf
-+DBlayoutfile = %confdir%/sql_DB_layout.conf
-+supportfile = %confdir%/supportfile.conf
-
- fortunecmd = /usr/games/fortune
-
-diff -ur ../pvpgn-1.6.4/conf/d2cs.conf.in ./conf/d2cs.conf.in
---- ../pvpgn-1.6.4/conf/d2cs.conf.in 2004-08-12 15:30:36.000000000 +0300
-+++ ./conf/d2cs.conf.in 2004-08-26 14:11:11.000000000 +0300
-@@ -79,13 +79,13 @@
- # Use absolute paths in these lines to avoid problems! #
- #-------------------------------------------------------------------------------#
- # #
--logfile = /usr/local/var/d2cs.log
--charsavedir = /usr/local/var/charsave
--charinfodir = /usr/local/var/charinfo
--ladderdir = /usr/local/var/ladders
--newbiefile = /usr/local/var/files/newbie.save
--d2gstransfile = /usr/local/etc/d2gstrans.conf
--d2gsconffile = /usr/local/etc/d2server.ini
-+logfile = %logdir%/d2cs.log
-+charsavedir = %statedir%/charsave
-+charinfodir = %statedir%/charinfo
-+ladderdir = %statedir%/ladders
-+newbiefile = %datadir%/files/newbie.save
-+d2gstransfile = %confdir%/d2gstrans.conf
-+d2gsconffile = %confdir%/d2server.ini
- # #
- #################################################################################
-
-diff -ur ../pvpgn-1.6.4/conf/d2dbs.conf.in ./conf/d2dbs.conf.in
---- ../pvpgn-1.6.4/conf/d2dbs.conf.in 2004-01-21 21:21:26.000000000 +0200
-+++ ./conf/d2dbs.conf.in 2004-08-26 14:12:11.000000000 +0300
-@@ -47,13 +47,13 @@
- # File and Path section #
- # Use absolute paths in these lines to avoid problems! #
- #-------------------------------------------------------------------------------#
--logfile = /usr/local/var/d2dbs.log
--logfile-gs = /usr/local/var/d2dbs-gs.log
--charsavedir = /usr/local/var/charsave
--charinfodir = /usr/local/var/charinfo
--ladderdir = /usr/local/var/ladders
--bak_charsavedir = /usr/local/var/bak/charsave
--bak_charinfodir = /usr/local/var/bak/charinfo
-+logfile = %logdir%/d2dbs.log
-+logfile-gs = %logdir%/d2dbs-gs.log
-+charsavedir = %statedir%/charsave
-+charinfodir = %statedir%/charinfo
-+ladderdir = %statedir%/ladders
-+bak_charsavedir = %statedir%/bak/charsave
-+bak_charinfodir = %statedir%/bak/charinfo
- # #
- #################################################################################
-
-diff -ur ../pvpgn-1.6.4/src/Makefile.in ./src/Makefile.in
---- ../pvpgn-1.6.4/src/Makefile.in 2004-06-23 00:39:31.000000000 +0300
-+++ ./src/Makefile.in 2004-08-27 11:14:55.087293480 +0300
-@@ -23,21 +23,22 @@
- bindir = @bindir@
- sbindir = @sbindir@
- mandir = @mandir@
--confdir = @sysconfdir@
--sharedir = @localstatedir@
--filesdir = @localstatedir@/files
--usersdir = @localstatedir@/users
--userscdbdir = @localstatedir@/userscdb
--clandir = @localstatedir@/clans
--bnmaildir = @localstatedir@/bnmail
--reportsdir = @localstatedir@/reports
--chanlogsdir = @localstatedir@/chanlogs
--charinfodir = @localstatedir@/charinfo
--charsavedir = @localstatedir@/charsave
--ladderdir = @localstatedir@/ladders
--statusdir = @localstatedir@/status
--bak_charsavedir = @localstatedir@/bak/charsave
--bak_charinfodir = @localstatedir@/bak/charinfo
-+confdir = @sysconfdir@/pvpgn
-+statedir = @localstatedir@/pvpgn
-+filesdir = @datadir@/pvpgn
-+usersdir = @localstatedir@/pvpgn/users
-+userscdbdir = @localstatedir@/pvpgn/userscdb
-+clandir = @localstatedir@/pvpgn/clans
-+bnmaildir = @localstatedir@/pvpgn/bnmail
-+reportsdir = @localstatedir@/pvpgn/reports
-+chanlogsdir = @localstatedir@/pvpgn/chanlogs
-+charinfodir = @localstatedir@/pvpgn/charinfo
-+charsavedir = @localstatedir@/pvpgn/charsave
-+ladderdir = @localstatedir@/pvpgn/ladders
-+statusdir = @localstatedir@/pvpgn/status
-+bak_charsavedir = @localstatedir@/pvpgn/bak/charsave
-+bak_charinfodir = @localstatedir@/pvpgn/bak/charinfo
-+logdir = @localstatedir@/pvpgn/log
-
- SRC_SRCDIR = @srcdir@
- SRC_BINDIR = @srcdir@/../bin
-@@ -630,7 +631,7 @@
-
- .PHONY: install-share
- install-share:
-- ${INSTALL_DIRS} ${DESTDIR}/${sharedir} ${DESTDIR}/${filesdir} ${DESTDIR}/${usersdir} ${DESTDIR}/${userscdbdir} ${DESTDIR}/${bnmaildir} ${DESTDIR}/${reportsdir} \
-+ ${INSTALL_DIRS} ${DESTDIR}/${datadir} ${DESTDIR}/${statedir} ${DESTDIR}/${statedir}/etc ${DESTDIR}/${filesdir} ${DESTDIR}/${usersdir} ${DESTDIR}/${userscdbdir} ${DESTDIR}/${bnmaildir} ${DESTDIR}/${reportsdir} \
- ${DESTDIR}/${chanlogsdir} ${DESTDIR}/${charinfodir} ${DESTDIR}/${charsavedir} ${DESTDIR}/${bak_charsavedir} \
- ${DESTDIR}/${bak_charinfodir} ${DESTDIR}/${ladderdir} ${DESTDIR}/${statusdir} ${DESTDIR}/${clandir}
- @list='${SHARES}'; for p in $$list; do \
-@@ -680,21 +681,21 @@
- .PHONY: uninstall-share
- uninstall-share:
- @list='${SHARES}'; for p in $$list; do \
-- ${ECHO} " ${RMF} ${sharedir}/$$p"; \
-- ${RMF} ${sharedir}/$$p; \
-+ ${ECHO} " ${RMF} ${filesdir}/$$p"; \
-+ ${RMF} ${filesdir}/$$p; \
- done
-
- ${SRC_CONFDIR}/bnetd.conf: ${SRC_CONFDIR}/bnetd.conf.in ${SRC_SRCDIR}/config.status
- @${RMF} $@
-- ${SED} -e "s@/usr/local/var/@${sharedir}/@g" -e "s@/usr/local/etc/@${confdir}/@g" ${SRC_CONFDIR}/bnetd.conf.in > $@
-+ ${SED} -e "s@%datadir%@${filesdir}/@g" -e "s@%confdir%@${confdir}/@g" -e "s@%statedir%@${statedir}@g" -e "s@%logdir%@${logdir}@g" ${SRC_CONFDIR}/bnetd.conf.in > $@
-
- ${SRC_CONFDIR}/d2cs.conf: ${SRC_CONFDIR}/d2cs.conf.in ${SRC_SRCDIR}/config.status
- @${RMF} $@
-- ${SED} -e "s@\(=[[:blank:]]*\"*\)/usr/local/var/@\1${sharedir}/@g" -e "s@\(=[[:blank:]]*\"*\)/usr/local/etc/@\1${confdir}/@g" ${SRC_CONFDIR}/d2cs.conf.in > $@
-+ ${SED} -e "s@\(=[[:blank:]]*\"*\)%datadir%@\1${filesdir}/@g" -e "s@\(=[[:blank:]]*\"*\)%confdir%@\1${confdir}/@g" -e "s@\(=[[:blank:]]*\"*\)%statedir%@\1${statedir}/@g" -e "s@\(=[[:blank:]]*\"*\)%logdir%@\1${logdir}/@g" ${SRC_CONFDIR}/d2cs.conf.in > $@
-
- ${SRC_CONFDIR}/d2dbs.conf: ${SRC_CONFDIR}/d2dbs.conf.in ${SRC_SRCDIR}/config.status
- @${RMF} $@
-- ${SED} -e "s@\(=[[:blank:]]*\"*\)/usr/local/var/@\1${sharedir}/@g" -e "s@\(=[[:blank:]]*\"*\)/usr/local/etc/@\1${confdir}/@g" ${SRC_CONFDIR}/d2dbs.conf.in > $@
-+ ${SED} -e "s@\(=[[:blank:]]*\"*\)%datadir%@\1${filesdir}/@g" -e "s@\(=[[:blank:]]*\"*\)%confdir%@\1${confdir}/@g" -e "s@\(=[[:blank:]]*\"*\)%statedir%@\1${statedir}/@g" -e "s@\(=[[:blank:]]*\"*\)%logdir%@\1${logdir}/@g" ${SRC_CONFDIR}/d2dbs.conf.in > $@
-
- ${SRC_ACDIR}/ansi2knr: ${SRC_ACDIR}/ansi2knr.o
- @${RMF} $@
diff --git a/games-server/pvpgn/files/digest-pvpgn-1.6.5-r1 b/games-server/pvpgn/files/digest-pvpgn-1.6.5-r1
deleted file mode 100644
index 4989c0512bb6..000000000000
--- a/games-server/pvpgn/files/digest-pvpgn-1.6.5-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 89d10957b44fb60cd112c588cf644da1 pvpgn-1.6.5.tar.bz2 1024406
-RMD160 2194b021066f7c0dfac4c4878ced1229143f466a pvpgn-1.6.5.tar.bz2 1024406
-SHA256 ff2987aeac170ec773eeb541df6057180f68266a062307628a7cbe13808c2872 pvpgn-1.6.5.tar.bz2 1024406
-MD5 8ba36144ea3a7efe200536c142bb7886 pvpgn-support-1.0.tar.gz 126047
-RMD160 2a6cf95e925596a36fdd5e57e744752a4d828acc pvpgn-support-1.0.tar.gz 126047
-SHA256 f2f832fd6265ae20239fdaa70498ee6bf922020172f47389520e656a3babff2d pvpgn-support-1.0.tar.gz 126047
diff --git a/games-server/pvpgn/pvpgn-1.6.5-r1.ebuild b/games-server/pvpgn/pvpgn-1.6.5-r1.ebuild
deleted file mode 100644
index d14d8d7c7a86..000000000000
--- a/games-server/pvpgn/pvpgn-1.6.5-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.6.5-r1.ebuild,v 1.3 2006/11/23 19:40:00 vivo Exp $
-
-inherit eutils games
-
-SUPPORTP="pvpgn-support-1.0"
-DESCRIPTION="A gaming server for Battle.Net compatible clients"
-HOMEPAGE="http://www.pvpgn.org/"
-SRC_URI="mirror://sourceforge/pvpgn/${P}.tar.bz2
- mirror://sourceforge/pvpgn/${SUPPORTP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE="mysql postgres"
-
-DEPEND="virtual/libc
- sys-libs/zlib
- mysql? ( virtual/mysql )
- postgres? ( >=dev-db/postgresql-7 )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PV}-fhs.patch"
-}
-
-src_compile() {
- cd src
- # everything in GAMES_BINDIR (bug #63071)
- egamesconf \
- --sbindir="${GAMES_BINDIR}" \
- $(use_with mysql) \
- $(use_with postgres pgsql) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- local f
-
- dodoc README README.DEV CREDITS BUGS TODO UPDATE version-history.txt
- docinto docs
- dodoc docs/*
-
- cd src
- make DESTDIR="${D}" install || die "make install failed"
-
- insinto "${GAMES_DATADIR}/pvpgn"
- doins "${WORKDIR}/${SUPPORTP}/"* || die "doins failed"
-
- exeinto /etc/init.d
- # GAMES_USER_DED here instead of GAMES_USER (bug #65423)
- for f in bnetd d2cs d2dbs ; do
- newexe "${FILESDIR}/init.d.rc" ${f}
- sed -i \
- -e "s:NAME:${f}:g" \
- -e "s:GAMES_BINDIR:${GAMES_BINDIR}:g" \
- -e "s:GAMES_USER:${GAMES_USER_DED}:g" \
- -e "s:GAMES_GROUP:${GAMES_GROUP}:g" \
- "${D}/etc/init.d/${f}" \
- || die "sed ${D}/etc/init.d/${f} failed"
- done
-
- prepgamesdirs
- keepdir "${GAMES_STATEDIR}/pvpgn/log"
- chown -R ${GAMES_USER}:${GAMES_GROUP} "${D}${GAMES_STATEDIR}/pvpgn"
- fperms 0755 "${GAMES_STATEDIR}/pvpgn/log"
- fperms 0750 "${GAMES_STATEDIR}/pvpgn"
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- einfo " If this is a first installation you have to configure package by"
- einfo "editing the configuration files provided in \"${GAMES_SYSCONFDIR}/pvpgn\". Also you"
- einfo "should read the documentation from /usr/share/docs/${P}/"
- einfo
- einfo " If you are upgrading you MUST read /usr/share/docs/${P}/UPDATE.gz"
- einfo "and update your configuration acordingly."
- if use mysql ; then
- echo
- einfo " You have enabled MySQL storage support. You will need to edit "
- einfo "bnetd.conf to use it. Read README.storage from the docs dir."
- fi
- if use postgres ; then
- echo
- einfo " You have enabled PostgreSQL storage support. You will need to edit "
- einfo "bnetd.conf to use it. Read README.storage from the docs dir."
- fi
-}