diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-28 16:34:37 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-28 16:34:37 +0800 |
commit | 79e0261ba50afd4e8f5ab9594543ee6ab1efd011 (patch) | |
tree | 051d6ab12e02b7903c388fa4663a090b402791fb /net | |
parent | 0917629f7c1774a4a8e51c326b0658730cfc4792 (diff) | |
download | freebsd-ports-gnome-79e0261ba50afd4e8f5ab9594543ee6ab1efd011.tar.gz freebsd-ports-gnome-79e0261ba50afd4e8f5ab9594543ee6ab1efd011.tar.zst freebsd-ports-gnome-79e0261ba50afd4e8f5ab9594543ee6ab1efd011.zip |
- Fix build
- Sort pkg-descr
- Add missing dependency
- Bump PORTREVISION
Submitted by: pointyhat via pav/erwin
Diffstat (limited to 'net')
-rw-r--r-- | net/astmanproxy/Makefile | 9 | ||||
-rw-r--r-- | net/astmanproxy/pkg-descr | 10 | ||||
-rw-r--r-- | net/astmanproxy/pkg-plist | 6 |
3 files changed, 18 insertions, 7 deletions
diff --git a/net/astmanproxy/Makefile b/net/astmanproxy/Makefile index a92ae1f945fc..b86206729cc1 100644 --- a/net/astmanproxy/Makefile +++ b/net/astmanproxy/Makefile @@ -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> diff --git a/net/astmanproxy/pkg-descr b/net/astmanproxy/pkg-descr index 16f093fbcaa5..f01f1e011005 100644 --- a/net/astmanproxy/pkg-descr +++ b/net/astmanproxy/pkg-descr @@ -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> diff --git a/net/astmanproxy/pkg-plist b/net/astmanproxy/pkg-plist index 5e0822aae63d..538d45ac0421 100644 --- a/net/astmanproxy/pkg-plist +++ b/net/astmanproxy/pkg-plist @@ -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 |