Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30301 Details for
Bug 40979
new ebuild for PvPGN (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pvpgn 1.6.2 v2 ebuild file
pvpgn-1.6.2.ebuild (text/plain), 3.24 KB, created by
Dizzy
on 2004-04-29 01:03:41 UTC
(
hide
)
Description:
pvpgn 1.6.2 v2 ebuild file
Filename:
MIME Type:
Creator:
Dizzy
Created:
2004-04-29 01:03:41 UTC
Size:
3.24 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/games-server/monopd/monopd-0.8.3.ebuild,v 1.2 2004/02/20 07:31:48 mr_bones_ Exp $ > >inherit games > >SP="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/${SP}.tar.gz" > >LICENSE="GPL-2" >KEYWORDS="~x86" >SLOT="0" > >IUSE="mysql postgres" > >DEPEND="virtual/glibc > sys-apps/sed > mysql? ( >=dev-db/mysql-3.23 ) > postgres? ( >=dev-db/postgresql-7 )" >RDEPEND="virtual/glibc > sys-libs/zlib > mysql? ( >=dev-db/mysql-3.23 ) > postgres? ( >=dev-db/postgresql-7 )" > >pkg_setup() { > games_pkg_setup >} > >src_unpack() { > unpack ${P}.tar.bz2 > unpack ${SP}.tar.gz > > cd ${S} > > # Fix a forgotten DESTDIR target install > epatch ${FILESDIR}/pvpgn-1.6.2-man5-destdir.patch > > # Make PvPGN follow FHS standard > epatch ${FILESDIR}/pvpgn-1.6.2-fhs.patch > > # Rename the installed cdb tool to bncdb (conflicts with tinycdb) > epatch ${FILESDIR}/pvpgn-1.6.2-cdb-rename.patch >} > >src_compile() { > cd src > egamesconf \ > `use_with mysql` \ > `use_with postgres pgsql` > > # HACK ALERT: make pvpgn log into /var/log/pvpgn > cat Makefile | sed 's@lib/pvpgn/log@log/pvpgn@' > Makefile.tmp > rm -f Makefile > mv Makefile.tmp Makefile > > emake || die "compile problem" >} > >src_install() { > cd src > make DESTDIR=${D} install || die > > cd ${S} > dodoc README README.DEV CREDITS BUGS COPYING TODO UPDATE version-history.txt > docinto docs > dodoc docs/* > > exeinto /etc/init.d > newexe ${FILESDIR}/bnetd.rc bnetd > newexe ${FILESDIR}/d2cs.rc d2cs > newexe ${FILESDIR}/d2dbs.rc d2dbs > > # Install the support files > insinto ${DATADIR}/pvpgn > doins ${WORKDIR}/${SP}/* > > prepgamesdirs >} > >#pkg_preinst() { ># einfo "Checking and creating pvpgn user/group if necesarry" ># if ! groupmod pvpgn > /dev/null 2> /dev/null ; then ># groupadd pvpgn || die "problem adding group pvpgn" ># fi ># ># if ! id pvpgn > /dev/null 2> /dev/null ; then ># useradd -g pvpgn -s /dev/null -d /var/lib/pvpgn -c "PvPGN server" pvpgn ># fi >#} > >pkg_postinst() { > einfo "Setting up permissions on ${GAMES_STATEDIR}/pvpgn" > chown -R games-ded:games ${GAMES_STATEDIR}/pvpgn > chmod 0750 ${GAMES_STATEDIR}/pvpgn > > install -d -m0755 -o games-ded -g games ${ROOT}/var/log/pvpgn > keepdir ${ROOT}/var/log/pvpgn > > 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." > einfo > if use mysql > /dev/null ; then > 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." > einfo > fi > if use postgres > /dev/null ; then > 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." > einfo > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 40979
:
29328
|
30301
|
38236
|
38237
|
38238
|
38239
|
38240
|
38278
|
38279
|
38280
|
38281
|
38282
|
38283
|
38557