Version bump. Original ebuild and patch by Anatoly Shipitsin <norguhtar@gmail.com...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 15 Nov 2006 15:54:39 +0000 (15:54 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 15 Nov 2006 15:54:39 +0000 (15:54 +0000)
Package-Manager: portage-2.1.2_rc1-r6

games-server/pvpgn/ChangeLog
games-server/pvpgn/Manifest
games-server/pvpgn/files/1.8.0-fhs.patch [new file with mode: 0644]
games-server/pvpgn/files/digest-pvpgn-1.6.5-r1
games-server/pvpgn/files/digest-pvpgn-1.6.6
games-server/pvpgn/files/digest-pvpgn-1.8.0 [new file with mode: 0644]
games-server/pvpgn/pvpgn-1.8.0.ebuild [new file with mode: 0644]

index a456b897c16fe955db14cf81d9be49a964cd1be8..a36101c3e12e447e749adfd5f7b709dca3abb50f 100644 (file)
@@ -1,32 +1,12 @@
 # ChangeLog for games-server/pvpgn
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.7 2005/08/29 17:19:07 mr_bones_ Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.8 2006/11/15 15:54:39 wolf31o2 Exp $
 
-  29 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org> pvpgn-1.6.6.ebuild:
-  stable for x86
+*pvpgn-1.8.0 (15 Nov 2006)
 
-  29 Jun 2005; Mike Frysinger <vapier@gentoo.org> pvpgn-1.6.6.ebuild:
-  Scott Emmons says in #97356: fix permissions fool!
+  15 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  +files/1.8.0-fhs.patch, +pvpgn-1.8.0.ebuild:
+  Version bump. Original ebuild and patch by Anatoly Shipitsin
+  <norguhtar@gmail.com> and updated by Wai Ling <simotsa@gmail.com> and
+  myself. Closing bug #107761.
 
-*pvpgn-1.6.6 (26 May 2005)
-
-  26 May 2005; Michael Sterrett <mr_bones_@gentoo.org>
-  +files/1.6.6-fhs.patch, +pvpgn-1.6.6.ebuild:
-  version bump (bug #67335)
-
-*pvpgn-1.6.5-r1 (27 Sep 2004)
-
-  27 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> +pvpgn-1.6.5-r1.ebuild:
-  fix call to fperms; everything in GAMES_BINDIR (bug #63071); use
-  GAMES_USER_DED instead of GAMES_USER for services (bug #65423)
-
-  05 Sep 2004; David Holm <dholm@gentoo.org> pvpgn-1.6.5.ebuild:
-  Added to ~ppc.
-
-  31 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> pvpgn-1.6.5.ebuild:
-  make ${GAMES_STATEDIR}/pvpgn in src_install; error check; error messages; tidy
-
-*pvpgn-1.6.5 (01 Sep 2004)
-
-  01 Sep 2004; Mike Frysinger <vapier@gentoo.org> :
-  Initial import.  Ebuild submitted by Mihai RUSU #40979.
index 27fd3681b1fca725f1b8420500c3f1b75ba49482..ff21ae6d361f914236e1213b21deb48d89b741aa 100644 (file)
@@ -1,9 +1,59 @@
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 fb5e703aa41050d49b0ee8d37707c1d6 pvpgn-1.6.5-r1.ebuild 2590
-MD5 cacd85d33f4d321e9b107828f8a1af2f pvpgn-1.6.6.ebuild 2584
-MD5 a5c615ca80e7622a5bffff6054be75bf ChangeLog 1209
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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
+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
+SHA256 926262b969c018fd39ae4f7ca42d247a11e7c52643955b02a48f77e5847786a5 files/1.6.6-fhs.patch 10322
+AUX 1.8.0-fhs.patch 11549 RMD160 4045f4ae46d516b9de04aff30942eb2f62022e92 SHA1 236da3a9e6affd2b42ed4e70fc488756201b32f7 SHA256 ec54d02676a29ed0d1ffbd1c590425a6a371e34ebb99abbaeeaf4465b73c66ef
+MD5 712e5a1031dfc19f01ca6d44bbaba36a files/1.8.0-fhs.patch 11549
+RMD160 4045f4ae46d516b9de04aff30942eb2f62022e92 files/1.8.0-fhs.patch 11549
+SHA256 ec54d02676a29ed0d1ffbd1c590425a6a371e34ebb99abbaeeaf4465b73c66ef files/1.8.0-fhs.patch 11549
+AUX init.d.rc 785 RMD160 499f33392f3aee22d610d337c94e0084f9f39092 SHA1 33faf653e7556444a7e6ae9bc930abba8710c716 SHA256 2eb461dd6f98daa5d9062f0a39266781e4df9e445e607432c64f69d29802459c
 MD5 0dea305044e123e1b1ee007331906727 files/init.d.rc 785
-MD5 778be818c35e7df1e022398198427172 files/1.6.5-fhs.patch 10322
-MD5 1c3287bfa7c9f6e8826885ab742acb79 files/digest-pvpgn-1.6.6 134
-MD5 ba5db7daf3b6cfeb5c463b3d8f7ee32b files/digest-pvpgn-1.6.5-r1 134
+RMD160 499f33392f3aee22d610d337c94e0084f9f39092 files/init.d.rc 785
+SHA256 2eb461dd6f98daa5d9062f0a39266781e4df9e445e607432c64f69d29802459c files/init.d.rc 785
+DIST pvpgn-1.6.5.tar.bz2 1024406
+DIST pvpgn-1.6.6.tar.bz2 1025551
+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 2590 RMD160 4e9be6e0a0b976cc036807850e938b5fca8a0360 SHA1 9583743f5d09141f30a29bbef57292cadecda2c3 SHA256 453762e0ff1ad8b98376ddb4c63270345c0ffc551e489837b3757c2b5bf1e72c
+MD5 fb5e703aa41050d49b0ee8d37707c1d6 pvpgn-1.6.5-r1.ebuild 2590
+RMD160 4e9be6e0a0b976cc036807850e938b5fca8a0360 pvpgn-1.6.5-r1.ebuild 2590
+SHA256 453762e0ff1ad8b98376ddb4c63270345c0ffc551e489837b3757c2b5bf1e72c pvpgn-1.6.5-r1.ebuild 2590
+EBUILD pvpgn-1.6.6.ebuild 2584 RMD160 ffc22257c5abf373a0e541fdf6c1603be7fbae02 SHA1 77c36510f6c297b642658fe15cca3d34151fef90 SHA256 c68678bf889440ad0076434c6b0e6830f54a118c9467242cca06e0e785bd1681
+MD5 cacd85d33f4d321e9b107828f8a1af2f pvpgn-1.6.6.ebuild 2584
+RMD160 ffc22257c5abf373a0e541fdf6c1603be7fbae02 pvpgn-1.6.6.ebuild 2584
+SHA256 c68678bf889440ad0076434c6b0e6830f54a118c9467242cca06e0e785bd1681 pvpgn-1.6.6.ebuild 2584
+EBUILD pvpgn-1.8.0.ebuild 2593 RMD160 b7ff23d019e869fcb51d392d0ac8d4b7e0091859 SHA1 4585f6a2d7f6b442777af4c0d427c6a908cbd9ab SHA256 309eedb479b3cf10bfc6469e63a759f5d0c633ab03072f24dd71215c3f05e830
+MD5 b1ae50282b5c1efe1f778f47ce57362e pvpgn-1.8.0.ebuild 2593
+RMD160 b7ff23d019e869fcb51d392d0ac8d4b7e0091859 pvpgn-1.8.0.ebuild 2593
+SHA256 309eedb479b3cf10bfc6469e63a759f5d0c633ab03072f24dd71215c3f05e830 pvpgn-1.8.0.ebuild 2593
+MISC ChangeLog 507 RMD160 166057e9a66bd2e640ce5be1eae70f92d1df518e SHA1 157b37a59a0700399be9e729e7cd71f3534bb972 SHA256 f858cd991bbc3e6177fe8132b3f770b3efca91eea0d164c2fbb28243c7c9518f
+MD5 a2320202bb9840cb2da697c17837c111 ChangeLog 507
+RMD160 166057e9a66bd2e640ce5be1eae70f92d1df518e ChangeLog 507
+SHA256 f858cd991bbc3e6177fe8132b3f770b3efca91eea0d164c2fbb28243c7c9518f ChangeLog 507
+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 6af624d531eb211901861e2686a20b2c files/digest-pvpgn-1.6.5-r1 318
+RMD160 94378c5729e7c97304f6d27b0f661301300b05e5 files/digest-pvpgn-1.6.5-r1 318
+SHA256 b55fafa77f07bbaf1f549bb60f269b105de3bbdc70b5c2d4b887d0393300aacb files/digest-pvpgn-1.6.5-r1 318
+MD5 2f78c17cf88339453593be95a0ccb199 files/digest-pvpgn-1.6.6 318
+RMD160 e27c429428df857d1cf594f0e3847e229b792c50 files/digest-pvpgn-1.6.6 318
+SHA256 abd09048a777b2210783938f9811092d06e9770531135d6d429d7104d35bb7c4 files/digest-pvpgn-1.6.6 318
+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 v1.4.5 (GNU/Linux)
+
+iD8DBQFFWzkukT4lNIS36YERAvcoAJ47z55GVHxaIUM/9+iDgRd7jHG+PACghPqg
+y1ssz6GxmRDuaY6WSbCn5Vc=
+=o+hm
+-----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
new file mode 100644 (file)
index 0000000..d1450b3
--- /dev/null
@@ -0,0 +1,233 @@
+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} $@
index 3d25d5d4a9764245da35ceb6527a56dea308f683..f11a3d25ba254dcf2b83a4dea29e79130e1e7b0f 100644 (file)
@@ -1,2 +1,4 @@
 MD5 89d10957b44fb60cd112c588cf644da1 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
index 27849eb1edc404a31f0657c03703660bc76a0b2f..33bef08670f81af7f94813b3d17c6c3b792d1947 100644 (file)
@@ -1,2 +1,4 @@
 MD5 f1405d0f6efb48ea408f6fe8a1f5e171 pvpgn-1.6.6.tar.bz2 1025551
 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/files/digest-pvpgn-1.8.0 b/games-server/pvpgn/files/digest-pvpgn-1.8.0
new file mode 100644 (file)
index 0000000..a307d72
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 575e2ebd66a7093f76e620b5f6e27d9b pvpgn-1.8.0.tar.bz2 999543
+RMD160 0921e584732589b069f5e03678c41c309c040f22 pvpgn-1.8.0.tar.bz2 999543
+SHA256 9eb713c8f9ccb297674ab1497f9768c1e623fccce4dbd9758b7aed2f35ffd42d pvpgn-1.8.0.tar.bz2 999543
+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.8.0.ebuild b/games-server/pvpgn/pvpgn-1.8.0.ebuild
new file mode 100644 (file)
index 0000000..f094ea0
--- /dev/null
@@ -0,0 +1,93 @@
+# 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.8.0.ebuild,v 1.1 2006/11/15 15:54:39 wolf31o2 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="http://download.berlios.de/pvpgn/${PN}-${PV/_/}.tar.bz2
+       http://download.berlios.de/pvpgn/${SUPPORTP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="mysql postgres"
+
+DEPEND="sys-libs/zlib
+       mysql? ( >=dev-db/mysql-3.23 )
+       postgres? ( >=dev-db/postgresql-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
+       make DESTDIR="${D}" install || die "make 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}/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 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
+
+       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/${PF}/"
+       einfo
+       einfo "  If you are upgrading you MUST read /usr/share/docs/${PF}/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
+}