Date: Thu, 1 Sep 2005 22:47:58 +0300 (EEST) From: "Max E. Kuznecov" <mek@mek.uz.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85584: [maintainer-update] games/pvpgn: update to 1.7.8 Message-ID: <200509011947.j81JlwLw039850@syhpoon-hq.ein.uz.ua> Resent-Message-ID: <200509011950.j81JoCtj074640@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85584 >Category: ports >Synopsis: [maintainer-update] games/pvpgn: update to 1.7.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 01 19:50:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Max E. Kuznecov >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: None >Environment: System: FreeBSD syhpoon-hq.ein.uz.ua 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Sun Aug 7 22:11:45 EEST 2005 max@syhpoon-hq.ein.uz.ua:/usr/obj/usr/src/sys/DOM i386 >Description: Update to version 1.7.8 Entry to ports/UPDATING: ----------------------- Important changes for upgraders: * /usr/local/etc/pvpgn/sql_DB_layout.conf-sample: includes changes needed for the new "username" SQL field used to fix a MAJOR bug that shows up with case sensitive SQL engines (almost ALL non-MySQL engines); if you update to 1.7.8 YOU MUST update this file too if you have your accounts on SQL * /usr/local/etc/pvpgn/bnetd.conf-sample: changed "servaddrs" directive to not be totally commented and be as ":" by default in bnetd.conf (if "servaddrs" is commented this means "bnetd" will not listen for b.net services at all) >How-To-Repeat: -- >Fix: --- pvpgn-1.7.7-1.7.8.patch begins here --- diff -ruN pvpgn_orig/Makefile pvpgn/Makefile --- pvpgn_orig/Makefile Thu Sep 1 21:06:15 2005 +++ pvpgn/Makefile Thu Sep 1 22:23:51 2005 @@ -6,7 +6,7 @@ # PORTNAME= pvpgn -PORTVERSION= 1.7.7 +PORTVERSION= 1.7.8 CATEGORIES= games MASTER_SITES= http://download.berlios.de/pvpgn/ DISTFILES= ${EXTRACT_ONLY} pvpgn-support-1.0.tar.gz @@ -43,7 +43,8 @@ OPTIONS= MYSQL "Include MySQL user accounts support" off \ PGSQL "Include PostgreSQL user accounts support" off \ - SQLITE3 "Include SQLite3 user accounts support" off + SQLITE3 "Include SQLite3 user accounts support" off \ + D2 "Enable Diablo II server (D2CS/D2DBS)" on .include <bsd.port.pre.mk> @@ -60,6 +61,13 @@ .if defined(WITH_SQLITE3) CONFIGURE_ARGS+=--with-sqlite3 LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 +.endif + +.if defined(WITHOUT_D2) +CONFIGURE_ARGS+= --disable-d2cs --disable-d2dbs +PLIST_SUB+= WITH_D2="@comment " +.else +PLIST_SUB+= WITH_D2="" .endif ## support files diff -ruN pvpgn_orig/distinfo pvpgn/distinfo --- pvpgn_orig/distinfo Thu Sep 1 21:06:15 2005 +++ pvpgn/distinfo Thu Sep 1 21:10:48 2005 @@ -1,4 +1,4 @@ -MD5 (pvpgn/pvpgn-1.7.7.tar.bz2) = 465e18b04ca903eca7e2973a2d557e46 -SIZE (pvpgn/pvpgn-1.7.7.tar.bz2) = 983639 +MD5 (pvpgn/pvpgn-1.7.8.tar.bz2) = b3f4e2328ba3e9bde53ddabf444aa130 +SIZE (pvpgn/pvpgn-1.7.8.tar.bz2) = 987125 MD5 (pvpgn/pvpgn-support-1.0.tar.gz) = 8ba36144ea3a7efe200536c142bb7886 SIZE (pvpgn/pvpgn-support-1.0.tar.gz) = 126047 diff -ruN pvpgn_orig/pkg-install pvpgn/pkg-install --- pvpgn_orig/pkg-install Thu Sep 1 21:06:15 2005 +++ pvpgn/pkg-install Thu Sep 1 21:14:39 2005 @@ -11,6 +11,8 @@ HOME_DIR=/nonexistent LOGDIR=/var/log/pvpgn PIDDIR=/var/run/pvpgn + PKGNAME=$1 + PVPGN_CONFDIR=${PKG_PREFIX:-/usr/local}/etc/pvpgn if pw group show "${GROUP}" 2>/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." @@ -53,6 +55,15 @@ chown -R ${USER}:${GROUP} %%PVPGN_DIR%% mkdir -m 750 ${LOGDIR} ${PIDDIR} 2> /dev/null chown -R ${USER}:${GROUP} ${LOGDIR} ${PIDDIR} + + echo "===> Post-installation informations for ${PKGNAME}" + echo "" + echo " o You can find the configuration files for this" + echo " package in the directory ${PVPGN_CONFDIR}." + echo " Please note, that the files were installed as *.conf-sample" + echo " In order to run server, you must rename them." + echo "" + exit 0 ;; esac diff -ruN pvpgn_orig/pkg-plist pvpgn/pkg-plist --- pvpgn_orig/pkg-plist Thu Sep 1 21:06:15 2005 +++ pvpgn/pkg-plist Thu Sep 1 21:16:51 2005 @@ -31,9 +31,9 @@ etc/pvpgn/bnxplevel.conf-sample etc/pvpgn/channel.conf-sample etc/pvpgn/command_groups.conf-sample -etc/pvpgn/d2cs.conf-sample -etc/pvpgn/d2dbs.conf-sample -etc/pvpgn/d2server.ini-sample +%%WITH_D2%%etc/pvpgn/d2cs.conf-sample +%%WITH_D2%%etc/pvpgn/d2dbs.conf-sample +%%WITH_D2%%etc/pvpgn/d2server.ini-sample etc/pvpgn/news.txt-sample etc/pvpgn/realm.conf-sample etc/pvpgn/sql_DB_layout.conf-sample @@ -44,8 +44,8 @@ etc/rc.d/bnetd%%RC_SUFX%% sbin/bnetd sbin/bntrackd -sbin/d2cs -sbin/d2dbs +%%WITH_D2%%sbin/d2cs +%%WITH_D2%%sbin/d2dbs %%DATADIR%%/files/IX86ver1.mpq %%DATADIR%%/files/PMACver1.mpq %%DATADIR%%/files/WAR3IX86.mpq --- pvpgn-1.7.7-1.7.8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509011947.j81JlwLw039850>