- Fix build
- Sort pkg-descr - Add missing dependency - Bump PORTREVISION Submitted by: pointyhat via pav/erwin
This commit is contained in:
parent
d3d180cc86
commit
412444b2c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204648
3 changed files with 18 additions and 7 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= astmanproxy
|
||||
PORTVERSION= 1.21
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.popvox.com/
|
||||
DISTFILES= astmanproxy-latest.tgz
|
||||
|
@ -14,6 +15,8 @@ DISTFILES= astmanproxy-latest.tgz
|
|||
MAINTAINER= ditesh@gathani.org
|
||||
COMMENT= A multi-threaded proxy server for Asterisk
|
||||
|
||||
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
|
@ -28,6 +31,9 @@ post-patch:
|
|||
${REINPLACE_CMD} -e 's|LOGDIR=/var/log/asterisk|LOGDIR=/var/log|' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} -e 's|-ldl ||' ${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${PREFIX}/etc/asterisk
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/configs/astmanproxy.conf ${PREFIX}/etc/asterisk/astmanproxy.conf.sample
|
||||
@[ -f ${PREFIX}/etc/asterisk/astmanproxy.conf ] || \
|
||||
|
@ -35,5 +41,8 @@ post-install:
|
|||
@${INSTALL_DATA} ${WRKSRC}/configs/astmanproxy.users ${PREFIX}/etc/asterisk/astmanproxy.users.sample
|
||||
@[ -f ${PREFIX}/etc/asterisk/astmanproxy.users ] || \
|
||||
${INSTALL_DATA} ${WRKSRC}/configs/astmanproxy.users ${PREFIX}/etc/asterisk/astmanproxy.users
|
||||
@${INSTALL_DATA} ${WRKSRC}/configs/ssl.conf ${PREFIX}/etc/asterisk/proxy-ssl.conf.sample
|
||||
@[ -f ${PREFIX}/etc/asterisk/proxy-ssl.conf ] || \
|
||||
${INSTALL_DATA} ${WRKSRC}/configs/ssl.conf ${PREFIX}/etc/asterisk/proxy-ssl.conf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
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.
|
||||
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>
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
@unexec if cmp -s %%PREFIX%%/etc/asterisk/astmanproxy.conf %%PREFIX%%/etc/asterisk/astmanproxy.conf.sample; then rm %%PREFIX%%/etc/asterisk/astmanproxy.conf; fi
|
||||
@unexec if cmp -s %%PREFIX%%/etc/asterisk/astmanproxy.users %%PREFIX%%/etc/asterisk/astmanproxy.users.sample; then rm %%PREFIX%%/etc/asterisk/astmanproxy.users; fi
|
||||
@unexec if cmp -s %%PREFIX%%/etc/asterisk/proxy-ssl.conf %%PREFIX%%/etc/asterisk/proxy-ssl.conf.sample; then rm %%PREFIX%%/etc/asterisk/proxy-ssl.conf; fi
|
||||
etc/asterisk/astmanproxy.conf.sample
|
||||
etc/asterisk/astmanproxy.users.sample
|
||||
etc/asterisk/proxy-ssl.conf.sample
|
||||
lib/asterisk/modules/csv.so
|
||||
lib/asterisk/modules/http.so
|
||||
lib/asterisk/modules/standard.so
|
||||
lib/asterisk/modules/xml.so
|
||||
sbin/astmanproxy
|
||||
@dirrm lib/asterisk/modules
|
||||
@dirrm lib/asterisk
|
||||
@dirrmtry lib/asterisk/modules
|
||||
@dirrmtry lib/asterisk
|
||||
@dirrmtry etc/asterisk
|
||||
|
|
Loading…
Reference in a new issue