Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 16:06:39 GMT
From:      Pankov Pavel <pankov_p@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/120794: [patch]Update audio/ventrilo-server to 3.0.2 + legal + some style fixes
Message-ID:  <200802181606.m1IG6dka096723@www.freebsd.org>
Resent-Message-ID: <200802181610.m1IGA1eg071507@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 18 16:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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