aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk14
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2007-01-04 00:18:06 +0800
committerbsam <bsam@FreeBSD.org>2007-01-04 00:18:06 +0800
commit7d517bd05c47880002547650a6c2e96480c98e35 (patch)
tree1fad240f515e3e8bb5a4d5956b44d40839e0bd9f /net/asterisk14
parent9b9f2173e8ac0a6e6d7d9a9766ea0189c07cdb6f (diff)
downloadfreebsd-ports-graphics-7d517bd05c47880002547650a6c2e96480c98e35.tar.gz
freebsd-ports-graphics-7d517bd05c47880002547650a6c2e96480c98e35.tar.zst
freebsd-ports-graphics-7d517bd05c47880002547650a6c2e96480c98e35.zip
1. Fix a typo: dmsmgr.conf -> dnsmgr.conf.
2. Create all needed directories (add @exec mkdir -p <dirs>) at pkg-plist file. This bug is seen only when the port is pkg_added/pkg_deletted by a port which depends on current port (ex. net/asterisk-addons). 3. Bump PORTREVISION. PR: 105310 Submitted by: bsam (me) Approved by: sobomax (maintainer timeout, 9 weeks)
Diffstat (limited to 'net/asterisk14')
-rw-r--r--net/asterisk14/Makefile2
-rw-r--r--net/asterisk14/pkg-plist9
2 files changed, 9 insertions, 2 deletions
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile
index 2cda18d7590..e8a54877d30 100644
--- a/net/asterisk14/Makefile
+++ b/net/asterisk14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
diff --git a/net/asterisk14/pkg-plist b/net/asterisk14/pkg-plist
index 16397e7e223..731cebb260f 100644
--- a/net/asterisk14/pkg-plist
+++ b/net/asterisk14/pkg-plist
@@ -45,7 +45,7 @@ etc/asterisk/codecs.conf-dist
@exec [ -f %B/codecs.conf ] || cp %B/%f %B/codecs.conf
@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi
etc/asterisk/dnsmgr.conf-dist
-@exec [ -f %B/dnsmgr.conf ] || cp %B/%f %B/dmsmgr.conf
+@exec [ -f %B/dnsmgr.conf ] || cp %B/%f %B/dnsmgr.conf
@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi
etc/asterisk/dundi.conf-dist
@exec [ -f %B/dundi.conf ] || cp %B/%f %B/dundi.conf
@@ -734,6 +734,7 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-unknown-caller.gsm
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
+@exec mkdir -p %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@@ -755,7 +756,13 @@ sbin/streamplayer
spool/asterisk/voicemail/default/1234/busy.gsm
spool/asterisk/voicemail/default/1234/unavail.gsm
@exec mkdir -p %D/log/asterisk/cdr-csv
+@exec mkdir -p %D/log/asterisk/cdr-custom
@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX
+@exec mkdir -p %D/spool/asterisk/dictate
+@exec mkdir -p %D/spool/asterisk/meetme
+@exec mkdir -p %D/spool/asterisk/monitor
+@exec mkdir -p %D/spool/asterisk/system
+@exec mkdir -p %D/spool/asterisk/tmp
@dirrm spool/asterisk/dictate
@dirrm spool/asterisk/meetme
@dirrm spool/asterisk/monitor