From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 1 19:50:13 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6947716A41F for ; Thu, 1 Sep 2005 19:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D17DD43D46 for ; Thu, 1 Sep 2005 19:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j81JoCeI074645 for ; Thu, 1 Sep 2005 19:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j81JoCtj074640; Thu, 1 Sep 2005 19:50:12 GMT (envelope-from gnats) Resent-Date: Thu, 1 Sep 2005 19:50:12 GMT Resent-Message-Id: <200509011950.j81JoCtj074640@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Max E. Kuznecov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8189216A41F for ; Thu, 1 Sep 2005 19:47:39 +0000 (GMT) (envelope-from max@syhpoon-hq.ein.uz.ua) Received: from syhpoon-hq.ein.uz.ua (syhpoon-hq.ein.uz.ua [194.42.202.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3106443D53 for ; Thu, 1 Sep 2005 19:47:36 +0000 (GMT) (envelope-from max@syhpoon-hq.ein.uz.ua) Received: from syhpoon-hq.ein.uz.ua (localhost [127.0.0.1]) by syhpoon-hq.ein.uz.ua (8.13.1/8.13.1) with ESMTP id j81JlxcO039851 for ; Thu, 1 Sep 2005 22:47:59 +0300 (EEST) (envelope-from max@syhpoon-hq.ein.uz.ua) Received: (from max@localhost) by syhpoon-hq.ein.uz.ua (8.13.1/8.13.1/Submit) id j81JlwLw039850; Thu, 1 Sep 2005 22:47:58 +0300 (EEST) (envelope-from max) Message-Id: <200509011947.j81JlwLw039850@syhpoon-hq.ein.uz.ua> Date: Thu, 1 Sep 2005 22:47:58 +0300 (EEST) From: "Max E. Kuznecov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85584: [maintainer-update] games/pvpgn: update to 1.7.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Max E. Kuznecov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 19:50:13 -0000 >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 @@ -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: