From nobody@FreeBSD.org  Mon Feb 18 16:09:08 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3A93E16A418
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 16:09:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 278AB13C4DD
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 16:09:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1IG6d4c096724
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Feb 2008 16:06:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1IG6dka096723;
	Mon, 18 Feb 2008 16:06:39 GMT
	(envelope-from nobody)
Message-Id: <200802181606.m1IG6dka096723@www.freebsd.org>
Date: Mon, 18 Feb 2008 16:06:39 GMT
From: Pankov Pavel <pankov_p@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch]Update audio/ventrilo-server to 3.0.2 + legal + some style fixes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: amistry@am-productions.biz

>Number:         120794
>Category:       ports
>Synopsis:       [patch]Update audio/ventrilo-server to 3.0.2 + legal + some style fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 18 16:10:00 UTC 2008
>Closed-Date:    Thu Mar 13 15:25:10 UTC 2008
>Last-Modified:  Thu Mar 13 15:30:03 UTC 2008
>Originator:     Pankov Pavel
>Release:        6.3-STABLE
>Organization:
MPEI
>Environment:
FreeBSD vds.pankov.pp.ru 6.3-STABLE FreeBSD 6.3-STABLE #1: Wed Feb 13 07:51:42 CET 2008     root@dione.ispsystem.net:/root/src/sys/i386/compile/ISPSYSTEM_PAE16  i386
>Description:
Here is the patch for audio/ventrilo-server that:
- Updates to 3.0.2
- Fixes some style issues (including portlint)
- Clears legal issues (at least according to my reading of LICENSE)
- Removes using wget for automatical clicking "I agree" on the web site
- Unbroken
>How-To-Repeat:
make -C /usr/ports/audio/ventrilo-server install clean
>Fix:
Apply attached patch.

Patch attached with submission follows:

Index: ports/LEGAL
===================================================================
RCS file: /home/ncvs/ports/LEGAL,v
retrieving revision 1.566
diff -u -r1.566 LEGAL
--- ports/LEGAL	13 Feb 2008 21:16:26 -0000	1.566
+++ ports/LEGAL	18 Feb 2008 15:57:51 -0000
@@ -23,6 +23,10 @@
 
 Dist			Port			Why
 ------------------------------------------------------------------------------
+ventrilo_srv-*		audio/ventrilo-server	May not be redistributed. 
+						Crypto; export-controlled. 
+						For personal use only. 
+						Must accept license to download.
 112887-04.tar		editors/staroffice60	Must be bought and downloaded
 						directly from Sun via WWW
 						interface
Index: ports/audio/ventrilo-server/Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/ventrilo-server/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- ports/audio/ventrilo-server/Makefile	15 Nov 2007 09:55:33 -0000	1.2
+++ ports/audio/ventrilo-server/Makefile	18 Feb 2008 15:57:51 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ventrilo
-PORTVERSION=	2.3.1
+PORTVERSION=	3.0.2
 CATEGORIES=	audio net
 MASTER_SITES=	# http://www.ventrilo.com/download.php
 PKGNAMESUFFIX=	-server
@@ -15,32 +15,23 @@
 MAINTAINER=	amistry@am-productions.biz
 COMMENT=	Server side of the Ventrilo group voice chat system
 
-FETCH_DEPENDS=	${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
-LIB_DEPENDS=	c.4:${PORTSDIR}/misc/compat4x
+LIB_DEPENDS=	stdc\\+\\+.3:${PORTSDIR}/misc/compat4x \
+		m.2:${PORTSDIR}/misc/compat4x \
+		c.4:${PORTSDIR}/misc/compat4x
 
-BROKEN=		bad checksum
+.if !exists(${DISTDIR}/${DISTFILES})
+IGNORE=	distfile can only be fetched if you accept the license. Go to http://www.ventrilo.com/dlprod.php?id=105 and put ${DISTFILES} into ${DISTDIR}
+.endif
 
-ONLY_FOR_ARCHS=	i386
+IA32_BINARY_PORT=	yes
 NO_BUILD=	yes
 RESTRICTED=	Redistribution of pre-compiled binaries is not permitted
-NO_CDROM=	Redistribution of pre-compiled binaries is not permitted
 INSTALL_DIR=	${PREFIX}/ventrilo-server
 USE_RC_SUBR=	${PORTNAME}${PKGNAMESUFFIX}.sh
 VENT_USER=	${PORTNAME}
-FETCH_CMD=	${LOCALBASE}/bin/wget
+WRKSRC=	${WRKDIR}/ventsrv
 SUB_FILES=	pkg-message
 
-.include <bsd.port.pre.mk>
-
-do-fetch:
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-	${FETCH_CMD} --post-data "Download=Download" "http://download1.ventrilo.com/dl.php?server_freebsd_i386&2332415189" -O "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
-.endif
-
-do-extract:
-	@${MKDIR} ${WRKSRC}
-	@${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/${DISTFILES}
-
 do-install:
 	@ ${SETENV} PKG_PREFIX=${PREFIX} \
 		${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@@ -66,4 +57,4 @@
 		${SH} ${PKGDEINSTALL} ${PORTNAME} POST-DEINSTALL
 
 PKGDEINSTALL=	${PKGINSTALL}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: ports/audio/ventrilo-server/distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/ventrilo-server/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- ports/audio/ventrilo-server/distinfo	6 Oct 2006 21:26:08 -0000	1.1
+++ ports/audio/ventrilo-server/distinfo	18 Feb 2008 15:57:51 -0000
@@ -1,3 +1,3 @@
-MD5 (ventrilo_srv-2.3.1-FreeBSD-i386.tar.gz) = 5f521245c5fef2ff96f4218e718c7906
-SHA256 (ventrilo_srv-2.3.1-FreeBSD-i386.tar.gz) = f949899a8d82ba99c56278d26af095925bced646b50ab49fe386b7d5c50d1590
-SIZE (ventrilo_srv-2.3.1-FreeBSD-i386.tar.gz) = 119690
+MD5 (ventrilo_srv-3.0.2-FreeBSD-i386.tar.gz) = 418f879ec38e9155f6c0fc97e22541c9
+SHA256 (ventrilo_srv-3.0.2-FreeBSD-i386.tar.gz) = b6ddba417cf4194f2d3a7fb01fdb8f4aec8d5da316085eda7cf7e2e0e1c3b5f5
+SIZE (ventrilo_srv-3.0.2-FreeBSD-i386.tar.gz) = 148042
Index: ports/audio/ventrilo-server/files/ventrilo-server.sh.in
===================================================================
RCS file: /home/ncvs/ports/audio/ventrilo-server/files/ventrilo-server.sh.in,v
retrieving revision 1.2
diff -u -r1.2 ventrilo-server.sh.in
--- ports/audio/ventrilo-server/files/ventrilo-server.sh.in	26 Feb 2007 23:02:02 -0000	1.2
+++ ports/audio/ventrilo-server/files/ventrilo-server.sh.in	18 Feb 2008 15:57:51 -0000
@@ -3,13 +3,9 @@
 # $FreeBSD: ports/audio/ventrilo-server/files/ventrilo-server.sh.in,v 1.2 2007/02/26 23:02:02 dougb Exp $
 
 # PROVIDE: ventrilo
-# REQUIRE: NETWORKING
+# REQUIRE: DAEMON
 # KEYWORD: shutdown
 
-[ -z "${ventrilo_enable}" ] && ventrilo_enable="NO"
-[ -z "${ventrilo_port}" ] && ventrilo_port="3784"
-[ -z "${ventrilo_srv}" ] && ventrilo_srv="localhost"
-
 . %%RC_SUBR%%
 
 prefix=%%PREFIX%%
@@ -26,6 +22,10 @@
 rcvar=`set_rcvar`
 
 load_rc_config $name
+
+: ${ventrilo_enable="NO"}
+: ${ventrilo_port="3784"}
+: ${ventrilo_srv="localhost"}
 
 ventrilo_info()
 {


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Feb 18 16:10:16 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120794 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Mar 13 15:06:35 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120794 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120794: commit references a PR
Date: Thu, 13 Mar 2008 15:24:43 +0000 (UTC)

 pav         2008-03-13 15:24:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/ventrilo-server Makefile distinfo 
     audio/ventrilo-server/files ventrilo-server.sh.in 
   Log:
   - Update to 3.0.2
   - Update legal status
   
   PR:             ports/120794
   Submitted by:   Pankov Pavel <pankov_p@mail.ru>
   Approved by:    maintainer timeout (3 weeks)
   
   Revision  Changes    Path
   1.3       +10 -16    ports/audio/ventrilo-server/Makefile
   1.2       +3 -3      ports/audio/ventrilo-server/distinfo
   1.3       +6 -6      ports/audio/ventrilo-server/files/ventrilo-server.sh.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120794: commit references a PR
Date: Thu, 13 Mar 2008 15:25:01 +0000 (UTC)

 pav         2008-03-13 15:24:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    LEGAL 
   Log:
   - Add entry for ventrilo-server
   
   PR:             ports/120794
   Submitted by:   Pankov Pavel <pankov_p@mail.ru>
   
   Revision  Changes    Path
   1.572     +5 -1      ports/LEGAL
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
