From nobody@FreeBSD.org  Tue Nov  6 13:53:41 2007
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 03F8416A417
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Nov 2007 13:53:41 +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 DE3D613C4A5
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Nov 2007 13:53:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lA6DrQ42062790
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 6 Nov 2007 13:53:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lA6DrQ5t062789;
	Tue, 6 Nov 2007 13:53:26 GMT
	(envelope-from nobody)
Message-Id: <200711061353.lA6DrQ5t062789@www.freebsd.org>
Date: Tue, 6 Nov 2007 13:53:26 GMT
From: Ditesh Shashikant Gathani <ditesh@gathani.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: net/astmanproxy A multi-threaded proxy server for Asterisk written in C/P-threads
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117864
>Category:       ports
>Synopsis:       New port: net/astmanproxy A multi-threaded proxy server for Asterisk written in C/P-threads
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 06 14:00:01 UTC 2007
>Closed-Date:    Sat Dec 15 16:36:19 UTC 2007
>Last-Modified:  Sat Dec 15 16:40:00 UTC 2007
>Originator:     Ditesh Shashikant Gathani
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD neela.qubeconnect.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
>Description:
AstManProxy is a multi-threaded proxy server for Asterisk written in C/P-threads. It is designed to handle communication with multiple Asterisk servers. It also acts as a single point of contact for applications. AstManProxy supports multiple input/output formats, including Standard, XML, CSV, and HTTP, HTTPS and SSL.
>How-To-Repeat:
Not applicable.
>Fix:
shar file as attached.

Patch attached with submission follows:

# 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:
#
#	.
#	./Makefile
#	./pkg-plist
#	./pkg-descr
#	./distinfo
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	astmanproxy
X# Date created:		1 November 2007
X# Whom:			ditesh@gathani.org
X#
X# $FreeBSD: ports/net/bsdproxy/Makefile,v 1.6 2006/03/07 08:27:02 ade Exp $
X#
X
XPORTNAME=	astmanproxy
XPORTVERSION=	1.21
XCATEGORIES=	net
XMASTER_SITES=	http://www.popvox.com/
XDISTFILES=	astmanproxy-latest.tgz
X
XMAINTAINER=	ditesh@gathani.org
XCOMMENT=	A multi-threaded proxy server for Asterisk written in C/P-threads
X
XBUILD_DEPENDS=	openssl:${PORTSDIR}/security/openssl
X
XUSE_GMAKE=	yes
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|^CONFDIR:.*|CONFDIR := ${PREFIX}/etc/asterisk|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|^CONFDIR_REAL.*|CONFDIR_REAL := ${PREFIX}/etc/asterisk|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|^PERMDIR:.*|PERMDIR:= ${PREFIX}/etc/asterisk|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|^PERMDIR_REAL.*|PERMDIR_REAL := ${PREFIX}/etc/asterisk|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|^LIBDIR.*|LIBDIR := ${PREFIX}/lib/asterisk|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|^BINDIR.*|BINDIR := ${PREFIX}/sbin|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|MKTEMP=.*|MKTEMP=/usr/bin/mktemp|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|LOGDIR=/var/log/asterisk|LOGDIR=/var/log|' ${WRKSRC}/Makefile
X	${REINPLACE_CMD} -e 's|-ldl ||' ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xsbin/astmanproxy
Xlib/asterisk/modules/http.so
Xlib/asterisk/modules/csv.so
Xlib/asterisk/modules/standard.so
Xlib/asterisk/modules/xml.so
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XAstManProxy is a multi-threaded proxy server for Asterisk written in C/P-threads
X. It is designed to handle communication with multiple Asterisk servers. It also
Xacts as a single point of contact for applications. AstManProxy supports
Xmultiple input/output formats, including Standard, XML, CSV, and HTTP, HTTPS and
XSSL.
X
XWWW:		http://www.popvox.com/astmanproxy/
XAuthor:		David C. Troy <dave@popvox.com>
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (astmanproxy-latest.tgz) = d1b018bd5446514cd8bd1c337b98069f
XSHA256 (astmanproxy-latest.tgz) = d909dc57eb949700e620439f64dd95c183a3c654abd3ac37fba67966486b8e7e
XSIZE (astmanproxy-latest.tgz) = 56081
END-of-./distinfo
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Nov 7 12:55:44 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117864 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Dec 15 16:36:18 UTC 2007 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117864: commit references a PR
Date: Sat, 15 Dec 2007 16:36:23 +0000 (UTC)

 miwi        2007-12-15 16:36:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net                  Makefile 
   Added files:
     net/astmanproxy      Makefile distinfo pkg-descr pkg-plist 
   Log:
   AstManProxy is a multi-threaded proxy server for Asterisk written in C/P-threads.
   It is designed to handle communication with multiple Asterisk servers. It also
   acts as a single point of contact for applications. AstManProxy supports
   multiple input/output formats, including Standard, XML, CSV, and HTTP, HTTPS and
   SSL.
   
   WWW:            http://www.popvox.com/astmanproxy/
   Author:         David C. Troy <dave@popvox.com>
   
   PR:             ports/117864
   Submitted by:   ditesh at gathani.org
   
   Revision  Changes    Path
   1.1945    +1 -0      ports/net/Makefile
   1.1       +39 -0     ports/net/astmanproxy/Makefile (new)
   1.1       +3 -0      ports/net/astmanproxy/distinfo (new)
   1.1       +8 -0      ports/net/astmanproxy/pkg-descr (new)
   1.1       +12 -0     ports/net/astmanproxy/pkg-plist (new)
 _______________________________________________
 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:
