From nobody@FreeBSD.org  Sun Mar  5 22:45:09 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5104116A420
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Mar 2006 22:45:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 68ECE43D66
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Mar 2006 22:44:59 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k25Mixi4002119
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 5 Mar 2006 22:44:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k25MixuB002118;
	Sun, 5 Mar 2006 22:44:59 GMT
	(envelope-from nobody)
Message-Id: <200603052244.k25MixuB002118@www.freebsd.org>
Date: Sun, 5 Mar 2006 22:44:59 GMT
From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] audio/hawkvoice: Portable sound and speech compression library
X-Send-Pr-Version: www-2.3

>Number:         94115
>Category:       ports
>Synopsis:       [NEW PORT] audio/hawkvoice: Portable sound and speech compression library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 05 22:50:03 GMT 2006
>Closed-Date:    Sat Mar 25 11:56:16 GMT 2006
>Last-Modified:  Sat Mar 25 11:56:16 GMT 2006
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Feb 15 20:23:11 PET 2006
>Description:
HawkVoice is a game oriented, multiplayer voice over network API released under the GNU Library General 
Public License (LGPL) , with support for Linux/UNIX systems and Windows 9x/ME/NT/2000/XP/CE. 

It is designed to be a portable, free, open source code alternative to the Microsoft DirectPlay Voice in 
DX8-9. It provides voice compression using several free voice codecs. The very low bitrate (VLB) codecs, 
those less than 6 Kbps, are optimized for the compression of human speech.

WWW:	http://www.hawksoft.com/hawkvoice/
>How-To-Repeat:

>Fix:
--- hawkvoice-0.91.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hawkvoice
#	hawkvoice/pkg-descr
#	hawkvoice/Makefile
#	hawkvoice/pkg-plist
#	hawkvoice/distinfo
#	hawkvoice/files
#	hawkvoice/files/patch-src_makefile.linux
#
echo c - hawkvoice
mkdir -p hawkvoice > /dev/null 2>&1
echo x - hawkvoice/pkg-descr
sed 's/^X//' >hawkvoice/pkg-descr << 'END-of-hawkvoice/pkg-descr'
XHawkVoice is a game oriented, multiplayer voice over network API released under the GNU Library General 
XPublic License (LGPL) , with support for Linux/UNIX systems and Windows 9x/ME/NT/2000/XP/CE. 
X
XIt is designed to be a portable, free, open source code alternative to the Microsoft DirectPlay Voice in 
XDX8-9. It provides voice compression using several free voice codecs. The very low bitrate (VLB) codecs, 
Xthose less than 6 Kbps, are optimized for the compression of human speech.
X
XWWW:	http://www.hawksoft.com/hawkvoice/
END-of-hawkvoice/pkg-descr
echo x - hawkvoice/Makefile
sed 's/^X//' >hawkvoice/Makefile << 'END-of-hawkvoice/Makefile'
X# New ports collection makefile for:	hawkvoice
X# Date created:		2006-03-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hawkvoice
XPORTVERSION=	0.91
XCATEGORIES=	audio devel
XMASTER_SITES=	http://www.hawksoft.com/download/files/
XDISTNAME=	HawkVoiceDI091src
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Portable sound and speech compression library
X
XUSE_ZIP=	yes
XUSE_DOS2UNIX=	yes
XUSE_GMAKE=	yes
XMAKEFILE=	makefile.linux
XINSTALLS_SHLIB=	yes
X
XLDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
XCPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include
XMAKE_ENV=	CC="${CC}" CFLAGS="${CFLAGS} ${OPTFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
XWRKSRC=	${WRKDIR}/HawkVoiceDI
X
XOPTIONS=	OPTIMIZATION	"Enable optimization"	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_OPTIMIZATION)
XCFLAGS+=	-funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT
X.endif
X
Xpost-patch:
X	@cd ${WRKSRC}/src && \
X		${FIND} * -type f -exec ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' "{}" \;
X
Xdo-build:
X	@cd ${WRKSRC}/src && \
X		${SETENV} ${MAKE_ENV} ${GMAKE} -f ${MAKEFILE}
X
Xdo-install:
X	@cd ${WRKSRC}/src && \
X		${GMAKE} -f ${MAKEFILE} install
X
Xpost-install:
X	@${RM} -f ${PREFIX}/lib/libHVDI.a
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in api.txt HVDIchanges.txt readme.txt cryptapi.txt
X	@${INSTALL_DATA} ${WRKSRC}/src/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-hawkvoice/Makefile
echo x - hawkvoice/pkg-plist
sed 's/^X//' >hawkvoice/pkg-plist << 'END-of-hawkvoice/pkg-plist'
Xinclude/hvdi.h
Xlib/libHVDI.so
Xlib/libHVDI.so.0
Xlib/libHVDI.so.0.9.1
X%%PORTDOCS%%%%DOCSDIR%%/api.txt
X%%PORTDOCS%%%%DOCSDIR%%/HVDIchanges.txt
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%%%DOCSDIR%%/cryptapi.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-hawkvoice/pkg-plist
echo x - hawkvoice/distinfo
sed 's/^X//' >hawkvoice/distinfo << 'END-of-hawkvoice/distinfo'
XMD5 (HawkVoiceDI091src.zip) = 119fab09d2b2d674267a9d1bd377a135
XSHA256 (HawkVoiceDI091src.zip) = 10f624df7f86a54290f4b8dc825049aab83f02c4e36fa53b14c5327e352489ee
XSIZE (HawkVoiceDI091src.zip) = 477680
END-of-hawkvoice/distinfo
echo c - hawkvoice/files
mkdir -p hawkvoice/files > /dev/null 2>&1
echo x - hawkvoice/files/patch-src_makefile.linux
sed 's/^X//' >hawkvoice/files/patch-src_makefile.linux << 'END-of-hawkvoice/files/patch-src_makefile.linux'
X--- src/makefile.linux	Sun Mar  5 17:05:02 2006
X+++ src/makefile.linux	Sun Mar  5 17:05:37 2006
X@@ -1,19 +1,18 @@
X-CC = gcc
X+CC? = ${CC}
X AR = ar cru
X RANLIB = ranlib
X MAJOR_VERSION = 0
X MINOR_VERSION = 9
X PATCH_LEVEL = 1
X VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
X-LIBDIR = /usr/lib
X-INCDIR = /usr/include
X+LIBDIR = ${PREFIX}/lib
X+INCDIR = ${PREFIX}/include
X INCLUDE = -I../include
X OUTPUT = libHVDI.so.$(VERSION)
X LIBNAME = HVDI
X STATIC = libHVDI.a
X-OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE
X-CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS)
X-LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic
X+CFLAGS? = ${CFLAGS} -Wall -fPIC $(INCLUDE)
X+LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic ${LDFLAGS}
X 
X HVDI_SOURCE = decpacket.c encpacket.c hvdi.c rate.c hcrypt.c
X 
X@@ -55,25 +54,14 @@
X 	$(AR) $(STATIC) $(OBJECTS)
X 	$(RANLIB) $(STATIC)
X 
X-include depend
X-
X install:
X 	cp $(OUTPUT) $(LIBDIR)
X 	cp $(STATIC) $(LIBDIR)
X 	chmod 755 $(LIBDIR)/$(OUTPUT)
X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION)
X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so
X+	ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION)
X+	ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so
X 	cp hvdi.h $(INCDIR)/hvdi.h
X 	chmod 644 $(INCDIR)/hvdi.h
X-	@echo ""
X-	@echo "*************************************************"
X-	@echo "* Installed HawkVoiceDI.                             *"
X-	@echo "* Remember to run /sbin/ldconfig before using   *"
X-	@echo "* the library, you may also want to check that  *"
X-	@echo "* $(LIBDIR) is included in /etc/ld.so.conf      *"
X-	@echo "* You must be root to run ldconfig.             *"
X-	@echo "*************************************************"
X 
X uninstall:
X 	rm -f $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
END-of-hawkvoice/files/patch-src_makefile.linux
exit
--- hawkvoice-0.91.shar ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: garga 
State-Changed-When: Wed Mar 22 15:42:50 UTC 2006 
State-Changed-Why:  
Ask for submitter fix. 

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

From: Renato Botelho <garga@FreeBSD.org>
To: acardenas@bsd.org.pe
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/94115: [NEW PORT] audio/hawkvoice: Portable sound and speech
 compression library
Date: Wed, 22 Mar 2006 12:40:40 -0300

 * You are removing a file on post-install: target, it's not a good
 practice. What do you think about patch Makefile to doesn't install
 this file instead remove it? Or, simply leave the file installed?
 Any problem with the .a file?
 
 * pkg-descr has more than 80 columns
 
 Could you take a look at these points?
 
 Thanks for contributing
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To: Renato Botelho <garga@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/94115: [NEW PORT] audio/hawkvoice: Portable sound and
 speech compression library
Date: Wed, 22 Mar 2006 11:31:31 -0500

 On Wed, 22 Mar 2006 12:40:40 -0300
 Renato Botelho <garga@FreeBSD.org> wrote:
 
 > * You are removing a file on post-install: target, it's not a good
 > practice. What do you think about patch Makefile to doesn't install
 > this file instead remove it? Or, simply leave the file installed?
 > Any problem with the .a file?
 
 Done, the .a file has not problem, I had a tiny error
 
 > * pkg-descr has more than 80 columns
 
 Done, sorry I ignored it, I will have present in the future
 
 > Could you take a look at these points?
 > 
 > Thanks for contributing
 
 See new PR:
 
 --- hawkvoice-0.91.shar begins here ---
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	hawkvoice
 #	hawkvoice/pkg-descr
 #	hawkvoice/Makefile
 #	hawkvoice/pkg-plist
 #	hawkvoice/distinfo
 #	hawkvoice/files
 #	hawkvoice/files/patch-src_makefile.linux
 #
 echo c - hawkvoice
 mkdir -p hawkvoice > /dev/null 2>&1
 echo x - hawkvoice/pkg-descr
 sed 's/^X//' >hawkvoice/pkg-descr << 'END-of-hawkvoice/pkg-descr'
 XHawkVoice is a game oriented, multiplayer voice over network API released under
 Xthe GNU Library General Public License (LGPL) , with support for Linux/UNIX 
 Xsystems and Windows 9x/ME/NT/2000/XP/CE. 
 X
 XIt is designed to be a portable, free, open source code alternative to the 
 XMicrosoft DirectPlay Voice in DX8-9. It provides voice compression using several
 Xfree voice codecs. The very low bitrate (VLB) codecs, those less than 6 Kbps, 
 Xare optimized for the compression of human speech.
 X
 XWWW:	http://www.hawksoft.com/hawkvoice/
 END-of-hawkvoice/pkg-descr
 echo x - hawkvoice/Makefile
 sed 's/^X//' >hawkvoice/Makefile << 'END-of-hawkvoice/Makefile'
 X# New ports collection makefile for:	hawkvoice
 X# Date created:		2006-03-05
 X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	hawkvoice
 XPORTVERSION=	0.91
 XCATEGORIES=	audio devel
 XMASTER_SITES=	http://www.hawksoft.com/download/files/
 XDISTNAME=	HawkVoiceDI091src
 X
 XMAINTAINER=	acardenas@bsd.org.pe
 XCOMMENT=	Portable sound and speech compression library
 X
 XUSE_ZIP=	yes
 XUSE_DOS2UNIX=	yes
 XUSE_GMAKE=	yes
 XMAKEFILE=	makefile.linux
 XINSTALLS_SHLIB=	yes
 X
 XLDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
 XCPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include
 XMAKE_ENV=	CC="${CC}" CFLAGS="${CFLAGS} ${OPTFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
 XWRKSRC=	${WRKDIR}/HawkVoiceDI
 X
 XOPTIONS=	OPTIMIZATION	"Enable optimization"	off
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITH_OPTIMIZATION)
 XCFLAGS+=	-funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT
 X.endif
 X
 Xpost-patch:
 X	@cd ${WRKSRC}/src && \
 X		${FIND} * -type f -exec ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' "{}" \;
 X
 Xdo-build:
 X	@cd ${WRKSRC}/src && \
 X		${SETENV} ${MAKE_ENV} ${GMAKE} -f ${MAKEFILE}
 X
 Xdo-install:
 X	@cd ${WRKSRC}/src && \
 X		${GMAKE} -f ${MAKEFILE} install
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	@${MKDIR} ${DOCSDIR}
 X.for FILE in api.txt HVDIchanges.txt readme.txt cryptapi.txt
 X	@${INSTALL_DATA} ${WRKSRC}/src/${FILE} ${DOCSDIR}
 X.endfor
 X.endif
 X
 X.include <bsd.port.post.mk>
 END-of-hawkvoice/Makefile
 echo x - hawkvoice/pkg-plist
 sed 's/^X//' >hawkvoice/pkg-plist << 'END-of-hawkvoice/pkg-plist'
 Xinclude/hvdi.h
 Xlib/libHVDI.a
 Xlib/libHVDI.so
 Xlib/libHVDI.so.0
 Xlib/libHVDI.so.0.9.1
 X%%PORTDOCS%%%%DOCSDIR%%/api.txt
 X%%PORTDOCS%%%%DOCSDIR%%/HVDIchanges.txt
 X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
 X%%PORTDOCS%%%%DOCSDIR%%/cryptapi.txt
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%
 END-of-hawkvoice/pkg-plist
 echo x - hawkvoice/distinfo
 sed 's/^X//' >hawkvoice/distinfo << 'END-of-hawkvoice/distinfo'
 XMD5 (HawkVoiceDI091src.zip) = 119fab09d2b2d674267a9d1bd377a135
 XSHA256 (HawkVoiceDI091src.zip) = 10f624df7f86a54290f4b8dc825049aab83f02c4e36fa53b14c5327e352489ee
 XSIZE (HawkVoiceDI091src.zip) = 477680
 END-of-hawkvoice/distinfo
 echo c - hawkvoice/files
 mkdir -p hawkvoice/files > /dev/null 2>&1
 echo x - hawkvoice/files/patch-src_makefile.linux
 sed 's/^X//' >hawkvoice/files/patch-src_makefile.linux << 'END-of-hawkvoice/files/patch-src_makefile.linux'
 X--- src/makefile.linux	Sun Mar  5 17:05:02 2006
 X+++ src/makefile.linux	Sun Mar  5 17:05:37 2006
 X@@ -1,19 +1,18 @@
 X-CC = gcc
 X+CC? = ${CC}
 X AR = ar cru
 X RANLIB = ranlib
 X MAJOR_VERSION = 0
 X MINOR_VERSION = 9
 X PATCH_LEVEL = 1
 X VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_LEVEL)
 X-LIBDIR = /usr/lib
 X-INCDIR = /usr/include
 X+LIBDIR = ${PREFIX}/lib
 X+INCDIR = ${PREFIX}/include
 X INCLUDE = -I../include
 X OUTPUT = libHVDI.so.$(VERSION)
 X LIBNAME = HVDI
 X STATIC = libHVDI.a
 X-OPTFLAGS = -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE
 X-CFLAGS = -Wall -fPIC $(INCLUDE) $(OPTFLAGS)
 X-LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic
 X+CFLAGS? = ${CFLAGS} -Wall -fPIC $(INCLUDE)
 X+LIBFLAGS = -shared -Wl,-soname,HVDI.so.$(MAJOR_VERSION).$(MINOR_VERSION) -rdynamic ${LDFLAGS}
 X 
 X HVDI_SOURCE = decpacket.c encpacket.c hvdi.c rate.c hcrypt.c
 X 
 X@@ -55,25 +54,14 @@
 X 	$(AR) $(STATIC) $(OBJECTS)
 X 	$(RANLIB) $(STATIC)
 X 
 X-include depend
 X-
 X install:
 X 	cp $(OUTPUT) $(LIBDIR)
 X 	cp $(STATIC) $(LIBDIR)
 X 	chmod 755 $(LIBDIR)/$(OUTPUT)
 X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
 X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so.$(MAJOR_VERSION)
 X-	ln -s $(LIBDIR)/$(OUTPUT) lib$(LIBNAME).so
 X+	ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION)
 X+	ln -s $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so
 X 	cp hvdi.h $(INCDIR)/hvdi.h
 X 	chmod 644 $(INCDIR)/hvdi.h
 X-	@echo ""
 X-	@echo "*************************************************"
 X-	@echo "* Installed HawkVoiceDI.                             *"
 X-	@echo "* Remember to run /sbin/ldconfig before using   *"
 X-	@echo "* the library, you may also want to check that  *"
 X-	@echo "* $(LIBDIR) is included in /etc/ld.so.conf      *"
 X-	@echo "* You must be root to run ldconfig.             *"
 X-	@echo "*************************************************"
 X 
 X uninstall:
 X 	rm -f $(LIBDIR)/$(OUTPUT) $(LIBDIR)/lib$(LIBNAME).so.$(MAJOR_VERSION).$(MINOR_VERSION)
 END-of-hawkvoice/files/patch-src_makefile.linux
 exit
 --- hawkvoice-0.91.shar ends here ---
 
 Greetings
 ACM
 -- 
 Grupo de Usuarios *BSD Peru - BSDPeru
 http://www.bsd.org.pe
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Wed Mar 22 17:23:50 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94115 
State-Changed-From-To: feedback->closed 
State-Changed-By: garga 
State-Changed-When: Sat Mar 25 11:56:15 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94115 
>Unformatted:
