diff options
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/pvpgn/Manifest | 14 | ||||
-rw-r--r-- | games-server/pvpgn/files/1.8.0-fhs.patch | 233 | ||||
-rw-r--r-- | games-server/pvpgn/pvpgn-1.8.0.ebuild | 93 |
3 files changed, 0 insertions, 340 deletions
diff --git a/games-server/pvpgn/Manifest b/games-server/pvpgn/Manifest index 03268190b83f..71672ca5ff77 100644 --- a/games-server/pvpgn/Manifest +++ b/games-server/pvpgn/Manifest @@ -1,21 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 1.8.0-fhs.patch 11549 RMD160 4045f4ae46d516b9de04aff30942eb2f62022e92 SHA1 236da3a9e6affd2b42ed4e70fc488756201b32f7 SHA256 ec54d02676a29ed0d1ffbd1c590425a6a371e34ebb99abbaeeaf4465b73c66ef AUX pvpgn-1.8.5-fhs.patch 11549 RMD160 4045f4ae46d516b9de04aff30942eb2f62022e92 SHA1 236da3a9e6affd2b42ed4e70fc488756201b32f7 SHA256 ec54d02676a29ed0d1ffbd1c590425a6a371e34ebb99abbaeeaf4465b73c66ef AUX pvpgn.rc 789 RMD160 2d3c6fe4caf1d62e6abe047ad5d1841275e7bf5f SHA1 cf6e991c28c71534be3590203c411b71982235af SHA256 dcd619a74c10f7a3cc6d8432beed76f8e357bab5cbef7e9723e393578f0ff87a -DIST pvpgn-1.8.0.tar.bz2 999543 RMD160 0921e584732589b069f5e03678c41c309c040f22 SHA1 b3aae4244051f4ae248cc3c6c6784bbb650d920c SHA256 9eb713c8f9ccb297674ab1497f9768c1e623fccce4dbd9758b7aed2f35ffd42d DIST pvpgn-1.8.5.tar.bz2 982931 RMD160 90c40b16970acfd48efbe7614ccea0db9cf8d0f9 SHA1 50af7ddb7033a8082e60b69e4219ecf62b314007 SHA256 229607bb52a0c8bdc01e310ff7e0ca23c91d63d2a2ed2f7decaa3ddac40e57d5 -DIST pvpgn-support-1.0.tar.gz 126047 RMD160 2a6cf95e925596a36fdd5e57e744752a4d828acc SHA1 9c73ad8f8d4eadacabb7f1fd57b349c5d2a35114 SHA256 f2f832fd6265ae20239fdaa70498ee6bf922020172f47389520e656a3babff2d DIST pvpgn-support-1.2.tar.gz 125345 RMD160 093bebbfdeca8f05a534a919ca29677ad8c41887 SHA1 708de34b3fd54c579d186eccb35d0e8598e5909b SHA256 5ab2cf15d9957dabbf60ea46c12bf6d4704aaead4ac358e85f5ef8494330d51f -EBUILD pvpgn-1.8.0.ebuild 2581 RMD160 0464de16e334bb2667bc3f28fe2ccec061e897e9 SHA1 4cde2b74b708f60b3f3026014d0c70f4cde726d4 SHA256 e1e7b28a475a247d9613c40eaf38745846d599b9e736193b47c954cc10abe420 EBUILD pvpgn-1.8.5.ebuild 2633 RMD160 807faf74feb0aff497d42f8689e04ded6b1bda6a SHA1 e535dae6faf7702f22fac4add0b63eef3eae7f66 SHA256 dfda6d398d81ed1e20241eb203780f4e1fda1e39ceb1368e18fe7e8efa47a0bf MISC ChangeLog 1861 RMD160 51196d45d6337cebcf789a0305d260aa8ce48529 SHA1 93cfb087119136c88eb27eb74f426b8e32107c0f SHA256 037d902e96058d0a95f81a16862e9701de54aa97bae1ab4b8ab613ce6d0442b6 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAksILqQACgkQkKaRLQcq0GImGACcD3EJFDjGCa0IQ0ccOU3r1EH+ -M88An02HPNTApIG0hgHFqu0EYoTS4diM -=5/yI ------END PGP SIGNATURE----- diff --git a/games-server/pvpgn/files/1.8.0-fhs.patch b/games-server/pvpgn/files/1.8.0-fhs.patch deleted file mode 100644 index d1450b3ad178..000000000000 --- a/games-server/pvpgn/files/1.8.0-fhs.patch +++ /dev/null @@ -1,233 +0,0 @@ -diff -ruN pvpgn-1.8.0rc2.orig/conf/bnetd.conf.in pvpgn-1.8.0rc2/conf/bnetd.conf.in ---- pvpgn-1.8.0rc2.orig/conf/bnetd.conf.in 2005-09-19 08:17:50.000000000 -0400 -+++ pvpgn-1.8.0rc2/conf/bnetd.conf.in 2006-08-16 23:34:10.000000000 -0400 -@@ -50,22 +50,22 @@ - # - "prefix" : prefix to use for all pvpgn tables (default "") # - # # - # Examples: # --# storage_path = file:mode=plain;dir=/usr/local/var/users;clan=/usr/local/var/clans;team=/usr/local/var/teams;default=/usr/local/etc/bnetd_default_user.plain --# storage_path = file:mode=cdb;dir=/usr/local/var/userscdb;clan=/usr/local/var/clans;team=/usr/local/var/teams;default=/usr/local/etc/bnetd_default_user.cdb -+# storage_path = file:mode=plain;dir=%statedir%/users;clan=%statedir%/clans;team=%statedir%/teams;default=%confdir%/bnetd_default_user.plain -+# storage_path = file:mode=cdb;dir=%statedir%/userscdb;clan=%statedir%/clans;team=%statedir%/teams;default=%confdir%/bnetd_default_user.cdb - # storage_path = sql:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_ - # storage_path = sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_ --# storage_path = sql:mode=sqlite3;name=/usr/local/var/users.db;default=0;prefix=pvpgn_ -+# storage_path = sql:mode=sqlite3;name=%statedir%/users.db;default=0;prefix=pvpgn_ - # storage_path = sql:mode=odbc;name=PVPGN;prefix=pvpgn_ - # - # WARNING!! you MUST change "DBlayoutfile" bellow configuration directive to - # sql_DB_layout2.conf to be able to use "sql2" !!! - # storage_path = sql2:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_ - # storage_path = sql2:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_ --# storage_path = sql2:mode=sqlite3;name=/usr/local/var/users.db;default=0;prefix=pvpgn2_ -+# storage_path = sql2:mode=sqlite3;name=%statedir%/users.db;default=0;prefix=pvpgn2_ - # storage_path = sql2:mode=odbc;name=PVPGN;prefix=pvpgn2_ - #----------------------------------------------------------------------------# - --storage_path = file:mode=plain;dir=/usr/local/var/users;clan=/usr/local/var/clans;team=/usr/local/var/teams;default=/usr/local/etc/bnetd_default_user.plain -+storage_path = file:mode=plain;dir=%statedir%/users;clan=%statedir%/clans;team=%statedir%/teams;default=%confdir%/bnetd_default_user.plain - - # # - ############################################################################## -@@ -76,35 +76,35 @@ - # 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 --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 --#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 --anongame_infos_file = /usr/local/etc/anongame_infos.conf --DBlayoutfile = /usr/local/etc/sql_DB_layout.conf --supportfile = /usr/local/etc/supportfile.conf --transfile = /usr/local/etc/address_translation.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 = %confdir%/topics.conf -+ipbanfile = %confdir%/bnban.conf -+helpfile = %confdir%/bnhelp.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 = /var/run/bnetd/bnetd.pid -+ladderdir = %confdir%/ladders -+command_groups_file = %confdir%/command_groups.conf -+tournament_file = %confdir%/tournament.conf -+statusdir = %statedir%/status -+aliasfile = %confdir%/bnalias.conf -+anongame_infos_file = %confdir%/anongame_infos.conf -+DBlayoutfile = %confdir%/sql_DB_layout.conf -+supportfile = %confdir%/supportfile.conf -+transfile = %confdir%/address_translation.conf - - fortunecmd = /usr/games/fortune - -diff -ruN pvpgn-1.8.0rc2.orig/conf/d2cs.conf.in pvpgn-1.8.0rc2/conf/d2cs.conf.in ---- pvpgn-1.8.0rc2.orig/conf/d2cs.conf.in 2005-09-29 01:37:33.000000000 -0400 -+++ pvpgn-1.8.0rc2/conf/d2cs.conf.in 2006-08-16 23:35:43.000000000 -0400 -@@ -86,16 +86,16 @@ - # 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 --bak_charsavedir = /usr/local/var/bak/charsave --bak_charinfodir = /usr/local/var/bak/charinfo --ladderdir = /usr/local/var/ladders --newbiefile = /usr/local/var/files/newbie.save --transfile = /usr/local/etc/address_translation.conf --d2gsconffile = /usr/local/etc/d2server.ini --#pidfile = /usr/local/var/d2cs.pid -+logfile = %logdir%/d2cs.log -+charsavedir = %statedir%/charsave -+charinfodir = %statedir%/charinfo -+bak_charsavedir = %statedir%/bak/charsave -+bak_charinfodir = %statedir%/bak/charinfo -+ladderdir = %statedir%/ladders -+newbiefile = %statedir%/files/newbie.save -+transfile = %confdir%/address_translation.conf -+d2gsconffile = %confdir%/d2server.ini -+#pidfile = /var/run/bnetd/d2cs.pid - - # # - ################################################################################# -diff -ruN pvpgn-1.8.0rc2.orig/conf/d2dbs.conf.in pvpgn-1.8.0rc2/conf/d2dbs.conf.in ---- pvpgn-1.8.0rc2.orig/conf/d2dbs.conf.in 2005-08-24 23:58:18.000000000 -0400 -+++ pvpgn-1.8.0rc2/conf/d2dbs.conf.in 2006-08-16 23:36:58.000000000 -0400 -@@ -49,14 +49,14 @@ - # 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 --#pidfile = /usr/local/var/d2dbs.pid -+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 -+#pidfile = /var/run/bnetd/d2dbs.pid - - # # - ################################################################################# - -diff -ruN pvpgn-1.8.0rc2.orig/src/Makefile.in pvpgn-1.8.0rc2/src/Makefile.in ---- pvpgn-1.8.0rc2.orig/src/Makefile.in 2005-07-29 02:11:38.000000000 +0600 -+++ pvpgn-1.8.0rc2/src/Makefile.in 2005-09-23 15:10:02.968342144 +0600 -@@ -23,22 +23,23 @@ - bindir = @bindir@ - sbindir = @sbindir@ - mandir = @mandir@ --confdir = @sysconfdir@ --sharedir = @localstatedir@ --filesdir = @localstatedir@/files --usersdir = @localstatedir@/users --userscdbdir = @localstatedir@/userscdb --clandir = @localstatedir@/clans --teamdir = @localstatedir@/teams --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 -@@ -677,7 +678,8 @@ - - .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}/${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} ${DESTDIR}/${teamdir} -@@ -728,21 +730,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@/usr/local/var/@${sharedir}/@g" -e "s@/usr/local/etc/@${confdir}/@g" ${SRC_CONFDIR}/d2cs.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}/d2cs.conf.in > $@ - - ${SRC_CONFDIR}/d2dbs.conf: ${SRC_CONFDIR}/d2dbs.conf.in ${SRC_SRCDIR}/config.status - @${RMF} $@ -- ${SED} -e "s@/usr/local/var/@${sharedir}/@g" -e "s@/usr/local/etc/@${confdir}/@g" ${SRC_CONFDIR}/d2dbs.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}/d2dbs.conf.in > $@ - - ${SRC_ACDIR}/ansi2knr: ${SRC_ACDIR}/ansi2knr.o - @${RMF} $@ diff --git a/games-server/pvpgn/pvpgn-1.8.0.ebuild b/games-server/pvpgn/pvpgn-1.8.0.ebuild deleted file mode 100644 index b43db6b4f78c..000000000000 --- a/games-server/pvpgn/pvpgn-1.8.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.8.0.ebuild,v 1.9 2008/05/21 16:02:11 dev-zero Exp $ - -inherit eutils games - -SUPPORTP="pvpgn-support-1.0" -DESCRIPTION="A gaming server for Battle.Net compatible clients" -HOMEPAGE="http://pvpgn.berlios.de/" -SRC_URI="mirror://berlios/${PN}/${PN}-${PV/_/}.tar.bz2 - mirror://berlios/${PN}/${SUPPORTP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc x86" -IUSE="mysql postgres" - -DEPEND="mysql? ( virtual/mysql ) - postgres? ( >=virtual/postgresql-server-7 )" - -S=${WORKDIR}/${PN}-${PV/_/} - -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 - emake DESTDIR="${D}" install || die "emake install failed" - - insinto "${GAMES_DATADIR}/pvpgn" - doins "${WORKDIR}/${SUPPORTP}/"* || die "doins failed" - - # GAMES_USER_DED here instead of GAMES_USER (bug #65423) - for f in bnetd d2cs d2dbs ; do - newinitd "${FILESDIR}/${PN}.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/games/${PN}/${f}.conf" \ - "${D}/etc/init.d/${f}" \ - || die "sed failed" - done - - prepgamesdirs - keepdir "${GAMES_STATEDIR}/pvpgn/log" - chown -R ${GAMES_USER_DED}:${GAMES_GROUP} "${D}${GAMES_STATEDIR}/pvpgn" - fperms 0775 "${GAMES_STATEDIR}/pvpgn/log" - fperms 0770 "${GAMES_STATEDIR}/pvpgn" -} - -pkg_postinst() { - games_pkg_postinst - - elog "If this is a first installation you need to configure the package by" - elog "editing the configuration files provided in ${GAMES_SYSCONFDIR}/pvpgn" - elog "Also you should read the documentation in /usr/share/docs/${PF}" - elog - elog "If you are upgrading you MUST read UPDATE in /usr/share/docs/${PF}" - elog "and update your configuration acordingly." - if use mysql ; then - elog - elog "You have enabled MySQL storage support. You will need to edit" - elog "bnetd.conf to use it. Read README.storage from the docs dir." - fi - if use postgres ; then - elog - elog "You have enabled PostgreSQL storage support. You will need to edit" - elog "bnetd.conf to use it. Read README.storage from the docs dir." - fi -} |