Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 13:53:26 GMT
From:      Ditesh Shashikant Gathani <ditesh@gathani.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117864: New port: net/astmanproxy A multi-threaded proxy server for Asterisk written in C/P-threads
Message-ID:  <200711061353.lA6DrQ5t062789@www.freebsd.org>
Resent-Message-ID: <200711061400.lA6E0131038245@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 06 14:00:01 UTC 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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