Date: Mon, 23 May 2005 03:06:24 +0300 (EEST) From: "Max E. Kuznecov" <mek@mek.uz.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81375: [MAINTAINER] games/pvpgn: update to 1.7.7 Message-ID: <200505230006.j4N06OD0022689@syhpoon-hq.ein.uz.ua> Resent-Message-ID: <200505230010.j4N0A11c075950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81375 >Category: ports >Synopsis: [MAINTAINER] games/pvpgn: update to 1.7.7 >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: Mon May 23 00:10:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Max E. Kuznecov >Release: FreeBSD 4.11-RELEASE i386 >Organization: none >Environment: System: FreeBSD syhpoon-hq.ein.uz.ua 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Sun Feb 6 19:08:09 EET 2005 max@syhpoon-hq.ein.uz.ua:/usr/obj/usr/src/sys/DOM i386 >Description: Update to 1.7.7 >How-To-Repeat: >Fix: --- pvpgn.patch begins here --- diff -ruN pvpgn.old/Makefile pvpgn/Makefile --- pvpgn.old/Makefile Fri May 20 00:26:18 2005 +++ pvpgn/Makefile Mon May 23 02:08:27 2005 @@ -6,7 +6,7 @@ # PORTNAME= pvpgn -PORTVERSION= 1.7.5 +PORTVERSION= 1.7.7 CATEGORIES= games MASTER_SITES= http://download.berlios.de/pvpgn/ DISTFILES= ${EXTRACT_ONLY} pvpgn-support-1.0.tar.gz @@ -41,12 +41,11 @@ bniextract.1 bnilist.1 bnpass.1 bnstat.1 bntrackd.1 tgainfo.1 MAN5= bnetd.conf.5 bntext.5 -.if defined(WITH_MYSQL_VER) -WITH_MYSQL= yes -.if ${WITH_MYSQL_VER} == 3 -WANT_MYSQL_VER= 323 -.endif -.endif +OPTIONS= MYSQL "Include MySQL user accounts support" off \ + PGSQL "Include PostgreSQL user accounts support" off \ + SQLITE3 "Include SQLite3 user accounts support" off + +.include <bsd.port.pre.mk> .if defined(WITH_MYSQL) USE_MYSQL= yes @@ -58,19 +57,16 @@ CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif +.if defined(WITH_SQLITE3) +CONFIGURE_ARGS+=--with-sqlite3 +LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 +.endif + ## support files SUPPORT_SUFFX= .tar.gz SUPPORT_FILES= pvpgn-support-1.0 -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_MYSQL=yes Include MySQL user account support" - @${ECHO} " WITH_PGSQL=yes Include PostgreSQL user account support" - @${ECHO} "" - post-extract: @${MKDIR} ${WRKSRC}/${SUPPORT_FILES} @${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${SUPPORT_FILES}${SUPPORT_SUFFX} @@ -101,4 +97,4 @@ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -ruN pvpgn.old/distinfo pvpgn/distinfo --- pvpgn.old/distinfo Fri May 20 00:26:18 2005 +++ pvpgn/distinfo Fri May 20 00:37:31 2005 @@ -1,4 +1,4 @@ -MD5 (pvpgn/pvpgn-1.7.5.tar.bz2) = b38b336dc3e0ee3e6489ed28151539ed -SIZE (pvpgn/pvpgn-1.7.5.tar.bz2) = 980076 +MD5 (pvpgn/pvpgn-1.7.7.tar.bz2) = 465e18b04ca903eca7e2973a2d557e46 +SIZE (pvpgn/pvpgn-1.7.7.tar.bz2) = 983639 MD5 (pvpgn/pvpgn-support-1.0.tar.gz) = 8ba36144ea3a7efe200536c142bb7886 SIZE (pvpgn/pvpgn-support-1.0.tar.gz) = 126047 diff -ruN pvpgn.old/files/patch-Makefile.in pvpgn/files/patch-Makefile.in --- pvpgn.old/files/patch-Makefile.in Fri May 20 00:26:18 2005 +++ pvpgn/files/patch-Makefile.in Fri May 20 00:53:57 2005 @@ -1,6 +1,6 @@ ---- Makefile.in.orig Fri Mar 4 00:03:08 2005 -+++ Makefile.in Tue Mar 8 00:58:17 2005 -@@ -667,8 +667,8 @@ +--- Makefile.in.orig Tue Apr 26 10:28:10 2005 ++++ Makefile.in Fri May 20 00:47:48 2005 +@@ -669,8 +669,8 @@ ${INSTALL_DIRS} ${DESTDIR}/${confdir} @list='${CONFS}'; for p in $$list; do \ if test -f ${SRC_CONFDIR}/$$p; then \ diff -ruN pvpgn.old/files/patch-conf-bnetd.conf.in pvpgn/files/patch-conf-bnetd.conf.in --- pvpgn.old/files/patch-conf-bnetd.conf.in Fri May 20 00:26:18 2005 +++ pvpgn/files/patch-conf-bnetd.conf.in Fri May 20 00:55:29 2005 @@ -1,5 +1,5 @@ ---- ../conf/bnetd.conf.in.orig Tue Mar 8 00:59:58 2005 -+++ ../conf/bnetd.conf.in Tue Mar 8 01:02:16 2005 +--- ../conf/bnetd.conf.in.orig Fri May 20 00:48:15 2005 ++++ ../conf/bnetd.conf.in Fri May 20 00:50:13 2005 @@ -15,8 +15,8 @@ # a leading '#'). If none are specified, the userid will not be changed. # #----------------------------------------------------------------------------# @@ -11,7 +11,7 @@ # effective_user = #12 # effective_group = #20 -@@ -75,14 +75,14 @@ +@@ -77,14 +77,14 @@ ipbanfile = /usr/local/etc/bnban.conf helpfile = /usr/local/etc/bnhelp.conf mpqfile = /usr/local/etc/autoupdate.conf @@ -24,21 +24,20 @@ xplevelfile = /usr/local/etc/bnxplevel.conf xpcalcfile = /usr/local/etc/bnxpcalc.conf -#pidfile = /usr/local/var/bnetd.pid -+pidfile = /var/run/pvpgn/bnetd.pid ++pidfile = /var/run/pvpgn/bnetd.pid ladderdir = /usr/local/var/ladders command_groups_file = /usr/local/etc/command_groups.conf tournament_file = /usr/local/etc/tournament.conf -@@ -112,8 +112,7 @@ +@@ -114,7 +114,7 @@ # warn # error # fatal -loglevels = fatal,error,warn,info,debug,trace --#loglevels = fatal,error,warn,info +loglevels = fatal,error,warn + #loglevels = fatal,error,warn,info # # - ############################################################################## -@@ -300,7 +299,7 @@ +@@ -302,7 +302,7 @@ # List additional game types to be counted as ladder games # Curently allowed types: topvbot, melee, ffa, oneonone # Example: ladder_games = "topvbot,oneonone" diff -ruN pvpgn.old/pkg-install pvpgn/pkg-install --- pvpgn.old/pkg-install Fri May 20 00:26:18 2005 +++ pvpgn/pkg-install Mon May 23 02:12:11 2005 @@ -53,6 +53,13 @@ chown -R ${USER}:${GROUP} %%PVPGN_DIR%% mkdir -m 750 ${LOGDIR} ${PIDDIR} 2> /dev/null chown -R ${USER}:${GROUP} ${LOGDIR} ${PIDDIR} + + echo "**********************" + echo "* For upgraders: changes in bnetd.conf (in version 1.7.7):" + echo "* Renamed old config variable 'servername' to 'hostname' in bnetd.conf" + echo "* Added 'servername' config variable in bnetd.conf for server identification" + echo "**********************" + exit 0 ;; esac --- pvpgn.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?200505230006.j4N06OD0022689>