mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
games-server/pvpgn: treeclean
Closes: https://bugs.gentoo.org/957403 (pkgremoved) Closes: https://bugs.gentoo.org/903177 (pkgremoved) Closes: https://bugs.gentoo.org/951896 (pkgremoved) Closes: https://bugs.gentoo.org/954262 (pkgremoved) Closes: https://bugs.gentoo.org/875002 (pkgremoved) Closes: https://bugs.gentoo.org/846668 (pkgremoved) Closes: https://bugs.gentoo.org/812767 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
094e0f2346
commit
52ec831ef0
@ -1 +0,0 @@
|
||||
DIST pvpgn-1.99.7.2.1.tar.gz 1515818 BLAKE2B b4f5017b58e91785b199b700ced9e54bc7d953f2fe12696c931d44e5cad93f86eb77cff8fdc429e7d033f19d93ae895c192ce4c5a73beb7812c2f27f94bbeaf3 SHA512 b3b042c739b15b8460d9e0da1ed9f1fb6fb2db39046a23d7d30290b47b31e41de6c152023f0ab6dd92ce0c7b7483e6933509bda216cb0cb1260b5eed0bc874dd
|
||||
@ -1,229 +0,0 @@
|
||||
--- a/conf/bnetd.conf.in
|
||||
+++ b/conf/bnetd.conf.in
|
||||
@@ -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
|
||||
|
||||
--- a/conf/d2cs.conf.in
|
||||
+++ b/conf/d2cs.conf.in
|
||||
@@ -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
|
||||
|
||||
# #
|
||||
#################################################################################
|
||||
--- a/conf/d2dbs.conf.in
|
||||
+++ b/conf/d2dbs.conf.in
|
||||
@@ -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
|
||||
|
||||
# #
|
||||
#################################################################################
|
||||
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -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} $@
|
||||
@ -1,33 +0,0 @@
|
||||
--- a/cmake/Modules/DefineInstallationPaths.cmake
|
||||
+++ b/cmake/Modules/DefineInstallationPaths.cmake
|
||||
@@ -37,8 +37,8 @@
|
||||
)
|
||||
else()
|
||||
SET(LOCALSTATE_INSTALL_DIR
|
||||
- "${EXEC_INSTALL_PREFIX}/var/${APPLICATION_NAME}"
|
||||
- CACHE PATH "The ${APPLICATION_NAME} local state install dir (default prefix/var)"
|
||||
+ "/var/${APPLICATION_NAME}"
|
||||
+ CACHE PATH "The ${APPLICATION_NAME} local state install dir (default /var)"
|
||||
FORCE
|
||||
)
|
||||
endif()
|
||||
@@ -75,4 +75,4 @@
|
||||
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
|
||||
FORCE
|
||||
)
|
||||
-endif()
|
||||
\ No newline at end of file
|
||||
+endif()
|
||||
--- a/cmake/Modules/DefineInstallationPaths.cmake
|
||||
+++ b/cmake/Modules/DefineInstallationPaths.cmake
|
||||
@@ -71,8 +71,8 @@
|
||||
)
|
||||
else()
|
||||
SET(SYSCONF_INSTALL_DIR
|
||||
- "${EXEC_INSTALL_PREFIX}/etc/${APPLICATION_NAME}"
|
||||
- CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
|
||||
+ "/etc/${APPLICATION_NAME}"
|
||||
+ CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default /etc)"
|
||||
FORCE
|
||||
)
|
||||
endif()
|
||||
@ -1,40 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [[ ! -f /etc/games/pvpgn/NAME.conf ]] ; then
|
||||
eerror "You must have a NAME.conf configuration file to start NAME"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting PvPGN NAME"
|
||||
start-stop-daemon --background --start --quiet \
|
||||
--make-pidfile \
|
||||
--pidfile /var/run/NAME.pid \
|
||||
--exec GAMES_BINDIR/NAME -c GAMES_USER:GAMES_GROUP -- -f
|
||||
eend $? "Failed to start NAME"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping PvPGN NAME"
|
||||
start-stop-daemon --stop --quiet --retry 20 \
|
||||
--pidfile /var/run/NAME.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Rehashing configuration for PvPGN NAME"
|
||||
start-stop-daemon --stop --signal HUP --oknodo \
|
||||
--pidfile /var/run/NAME.pid
|
||||
eend $?
|
||||
}
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">pvpgn/pvpgn-server</remote-id>
|
||||
<remote-id type="sourceforge">pvpgn.berlios</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
SUPPORTP="${PN}-support-1.3"
|
||||
DESCRIPTION="A gaming server for Battle.Net compatible clients"
|
||||
HOMEPAGE="https://pvpgn.pro"
|
||||
SRC_URI="https://github.com/pvpgn/pvpgn-server/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-server-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mysql odbc postgres sqlite"
|
||||
|
||||
DEPEND="
|
||||
mysql? ( dev-db/mysql-connector-c:0= )
|
||||
odbc? ( dev-db/libiodbc )
|
||||
postgres? ( dev-db/postgresql:*[server] )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-user/pvpgn
|
||||
acct-group/pvpgn
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
#"${FILESDIR}"/${PN}-1.8.5-fhs.patch
|
||||
"${FILESDIR}"/${PN}-1.99.7.2.1-path.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/-O3 -march=native -mtune=native//' \
|
||||
-e 's/-stdlib=libc++//' \
|
||||
CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
local mycmakeargs=(
|
||||
-DWITH_MYSQL=$(usex mysql)
|
||||
-DWITH_ODBC=$(usex odbc)
|
||||
-DWITH_PGSQL=$(usex postgres)
|
||||
-DWITH_SQLITE3=$(usex sqlite)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local f
|
||||
|
||||
cmake_src_install
|
||||
|
||||
dolib.so "${BUILD_DIR}"/src/compat/libcompat.so
|
||||
dolib.so "${BUILD_DIR}"/src/common/libcommon.so
|
||||
|
||||
# Was: "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:/usr/bin:g" \
|
||||
-e "s:GAMES_USER:pvpgn:g" \
|
||||
-e "s:GAMES_GROUP:pvpgn:g" \
|
||||
"${ED}/etc/${PN}/${f}.conf" \
|
||||
"${ED}/etc/init.d/${f}" || die
|
||||
done
|
||||
|
||||
keepdir $(find "${ED}/var/lib"/${PN} -type d -printf "/var/lib/${PN}/%P ") /var/lib/${PN}/log
|
||||
|
||||
keepdir /var/pvpgn/{bnmail,chanlogs,charinfo,charsave,clans,ladders}
|
||||
keepdir /var/pvpgn/{reports,status,teams,userlogs,users,userscdb}
|
||||
keepdir /var/pvpgn/bak/char{info,save}
|
||||
|
||||
chown -R pvpgn:pvpgn "${ED}/var/lib/${PN}" || die
|
||||
fperms 0775 "/var/lib/${PN}/log"
|
||||
fperms 0770 "/var/lib/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If this is a first installation you need to configure the package by"
|
||||
elog "editing the configuration files provided in /etc/${PN}"
|
||||
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 accordingly."
|
||||
|
||||
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 directory."
|
||||
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 directory."
|
||||
fi
|
||||
}
|
||||
@ -189,7 +189,7 @@ dev-build/cmake-fedora
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2025-10-01)
|
||||
# Remaining old EAPI-7 based cmake.eclass consumers after 4 years of
|
||||
# tracking EAPI-7 removal. Port to EAPI-8 if you can.
|
||||
# Bugs #957246, #957403, #957788, #957819, #957869, #957918,
|
||||
# Bugs #957246, #957788, #957819, #957869, #957918,
|
||||
# #958596, #958651, #960286
|
||||
# Removal on 2025-11-01.
|
||||
dev-games/newton
|
||||
@ -201,7 +201,6 @@ games-engines/frobtads
|
||||
games-fps/avp
|
||||
games-kids/memonix
|
||||
games-puzzle/meandmyshadow
|
||||
games-server/pvpgn
|
||||
|
||||
# Sam James <sam@gentoo.org> (2025-09-21)
|
||||
# Breaks (common) mt7921e WiFi driver with a hang in many cases, affecting
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user