Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 04:01:21 +0600 (NOVT)
From:      Alexey Dokuchaev <danfe@regency.nsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61146: UPDATE & UNFORBID PORT: games/mvdsv
Message-ID:  <200401092201.i09M1LKS033065@regency.nsu.ru>
Resent-Message-ID: <200401092210.i09MA6bO065856@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61146
>Category:       ports
>Synopsis:       UPDATE & UNFORBID PORT: games/mvdsv
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 09 14:10:06 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.9-RC i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.9-RC FreeBSD 4.9-RC #1: Thu Oct 9 15:52:43 NOVST 2003 root@regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
Unforbid this useful port by upgrading to recently released 0.1722b
release.  Full changelog available at their website.
Also, introduce minor port cleanups.
>How-To-Repeat:
N/A
>Fix:
Apply the following diff:
%%%
diff -ur /usr/ports/games/mvdsv/Makefile mvdsv/Makefile
--- /usr/ports/games/mvdsv/Makefile	Wed Dec 10 15:59:53 2003
+++ mvdsv/Makefile	Sat Jan 10 03:54:17 2004
@@ -6,29 +6,27 @@
 #
 
 PORTNAME=	mvdsv
-PORTVERSION=	0.165b
+PORTVERSION=	0.1722
 CATEGORIES=	games
-MASTER_SITES=	http://www.wsb.poznan.pl/~pawel/q/q/ktpro/develop/ \
+MASTER_SITES=	http://www.wsb.poznan.pl/~pawel/q/q/ktpro/ \
 		http://freebsd.nsu.ru/distfiles/
-DISTNAME=	qwex_src-${PORTVERSION}
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	danfe@regency.nsu.ru
 COMMENT=	Enhanced QuakeWorld server with multi-view demos capability
 
-FORBIDDEN=	Remote buffer overflow exists
-
 MAKEFILE=	${FILESDIR}/Makefile
-WRKSRC=		${WRKDIR}/mvdsrc/source
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/vvd/${PORTNAME}${PORTVERSION}b/source
 
 pre-everything::
+.if !defined(WITH_OPTIMIZED_CFLAGS)
+	@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options"
+.endif
 .if ${MACHINE_ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
 	@${ECHO_MSG} "Define WITHOUT_X86_ASM to disable x86 assembly code"
 .endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-post-install:
-	@${SED} -e 's#$${PREFIX}#${PREFIX}#g' ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ur /usr/ports/games/mvdsv/distinfo mvdsv/distinfo
--- /usr/ports/games/mvdsv/distinfo	Wed Jun  4 02:36:13 2003
+++ mvdsv/distinfo	Sat Jan 10 03:53:11 2004
@@ -1 +1 @@
-MD5 (qwex_src-0.165b.tar.gz) = 69329a418fedafb43277acae8d5aca10
+MD5 (mvdsv-0.1722.tar.gz) = 141760e87b64508fc0a66fc2dc9776c7
diff -ur /usr/ports/games/mvdsv/files/Makefile mvdsv/files/Makefile
--- /usr/ports/games/mvdsv/files/Makefile	Wed Jun  4 02:36:13 2003
+++ mvdsv/files/Makefile	Sat Jan 10 03:53:11 2004
@@ -11,7 +11,7 @@
 # Created on Wednesday, May 21 2003 by Alexey Dokuchaev <danfe@regency.nsu.ru>
 #
 
-DO_CFLAGS =	${CFLAGS} -funsigned-char -I${LOCALBASE}/include -DSERVERONLY
+DO_CFLAGS =	${CFLAGS} -funsigned-char -I${LOCALBASE}/include -DSERVERONLY -Dstricmp=strcasecmp
 
 .if ${MACHINE_ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
 DO_CFLAGS +=	-Did386
diff -ur /usr/ports/games/mvdsv/files/patch-sv_demo.c mvdsv/files/patch-sv_demo.c
--- /usr/ports/games/mvdsv/files/patch-sv_demo.c	Wed Jun  4 02:36:13 2003
+++ mvdsv/files/patch-sv_demo.c	Sat Jan 10 03:53:11 2004
@@ -1,6 +1,6 @@
 --- sv_demo.c.orig	Tue Jun  3 17:50:02 2003
 +++ sv_demo.c	Tue Jun  3 17:53:09 2003
-@@ -607,12 +607,12 @@
+@@ -610,12 +610,12 @@
  {
  	if (!USACACHE)
  	{
%%%
Also, don't forget to remove now unneeded patches in files/ subdirectory:

	patch-sv_login.c
	patch-sv_sv_main.c
	patch-sv_sys_unix.c

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401092201.i09M1LKS033065>