aboutsummaryrefslogtreecommitdiff
path: root/www/asterisk-gui
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-04 07:39:45 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-04 07:39:45 +0000
commite4e654e9fcdfaaa4f83d8d63c6d03198247654ca (patch)
treeb81f424ca58b0d7a7b5b576c9bebe81decc98b0d /www/asterisk-gui
parentcb54a31a0393f40820a5e6f14b221967480602f6 (diff)
downloadports-e4e654e9fcdfaaa4f83d8d63c6d03198247654ca.tar.gz
ports-e4e654e9fcdfaaa4f83d8d63c6d03198247654ca.zip
Notes
Diffstat (limited to 'www/asterisk-gui')
-rw-r--r--www/asterisk-gui/Makefile8
-rw-r--r--www/asterisk-gui/distinfo6
-rw-r--r--www/asterisk-gui/files/patch-config-syslog.html (renamed from www/asterisk-gui/files/patch-config-sysinfo.html)8
-rw-r--r--www/asterisk-gui/files/patch-tools-Makefile14
-rw-r--r--www/asterisk-gui/pkg-descr2
-rw-r--r--www/asterisk-gui/pkg-plist7
6 files changed, 32 insertions, 13 deletions
diff --git a/www/asterisk-gui/Makefile b/www/asterisk-gui/Makefile
index fe03c843064e..6c43285dc03b 100644
--- a/www/asterisk-gui/Makefile
+++ b/www/asterisk-gui/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= asterisk-gui
-PORTVERSION= 0.0.1r20070501
+PORTVERSION= 0.0.1r20070528
CATEGORIES= www
MASTER_SITES= http://asterisk-bsd.googlecode.com/files/
-DISTNAME= ${PORTNAME}-snap-2007-05-01
+DISTNAME= ${PORTNAME}-snap-2007-05-28
MAINTAINER= pneumann@gmail.com
COMMENT= An asterisk ajax web manager
@@ -21,13 +21,13 @@ USE_GMAKE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
-OPTIONS= SIP_QUEUES "In queues register users as SIP, not Agents" on \
+OPTIONS= SIP_QUEUES "In queues register users as SIP, not Agents" off \
SAMPLE_CONFIG "Install sample configuration files" off
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/config/backup.html \
- ${WRKSRC}/config/sysinfo.html \
+ ${WRKSRC}/config/syslog.html \
${WRKSRC}/config/scripts/astman.js \
${WRKSRC}/tools/zapscan.c \
${WRKSRC}/tools/zapscan \
diff --git a/www/asterisk-gui/distinfo b/www/asterisk-gui/distinfo
index 5e6391e12ee9..cedf65d35886 100644
--- a/www/asterisk-gui/distinfo
+++ b/www/asterisk-gui/distinfo
@@ -1,3 +1,3 @@
-MD5 (asterisk-gui-snap-2007-05-01.tar.gz) = c5029e1d0d679d15054e6763ec214922
-SHA256 (asterisk-gui-snap-2007-05-01.tar.gz) = d633ef9fe1924304dfcf7abe25c10274fe670de77f8beb927b0aaf9d2167db99
-SIZE (asterisk-gui-snap-2007-05-01.tar.gz) = 286455
+MD5 (asterisk-gui-snap-2007-05-28.tar.gz) = 7f680cd4a66b9a0f6797186acf969fa1
+SHA256 (asterisk-gui-snap-2007-05-28.tar.gz) = d42dbfd3ee1234f4a034c5c328c28594f902abc8d482bd244687161b0a3b31fd
+SIZE (asterisk-gui-snap-2007-05-28.tar.gz) = 306972
diff --git a/www/asterisk-gui/files/patch-config-sysinfo.html b/www/asterisk-gui/files/patch-config-syslog.html
index fb196d4ef6c3..237d1aea7980 100644
--- a/www/asterisk-gui/files/patch-config-sysinfo.html
+++ b/www/asterisk-gui/files/patch-config-syslog.html
@@ -1,13 +1,13 @@
---- config/sysinfo.html.orig Sat Mar 31 20:31:33 2007
-+++ config/sysinfo.html Sat Mar 31 20:32:18 2007
-@@ -34,8 +34,8 @@
+--- config/syslog.html.orig Mon May 14 19:21:38 2007
++++ config/syslog.html Mon May 14 19:27:37 2007
+@@ -31,8 +31,8 @@
_$('status_message').style.display = "" ;
var _ld = _$('log_day').value;
if( _ld < 10 ){ var space = " "; }else{ var space = " "; }
- var tmp_command = "/bin/grep /var/log/asterisk/messages -e '" + _$('log_month').value + space + _ld
- + " ' > /var/lib/asterisk/static-http/config/today_log.html" ;
+ var tmp_command = "grep /var/log/asterisk/messages -e '" + _$('log_month').value + space + _ld
-+ + " ' > %%PREFIX%%/share/asterisk/static-http/config/today_log.html" ;
++ + " ' > %%PREFIX%%/share/asterisk/static-http/config/today_log.html" ;
parent.astmanEngine.run_tool( tmp_command , onSuccess = function() { _$('status_message').style.display='none'; load_todayslog(); } );
}
diff --git a/www/asterisk-gui/files/patch-tools-Makefile b/www/asterisk-gui/files/patch-tools-Makefile
new file mode 100644
index 000000000000..ed025a978a53
--- /dev/null
+++ b/www/asterisk-gui/files/patch-tools-Makefile
@@ -0,0 +1,14 @@
+--- tools/Makefile.orig Wed May 9 21:32:43 2007
++++ tools/Makefile Wed May 9 21:33:17 2007
+@@ -25,9 +25,9 @@
+ ifeq ($(PBX_ZAPTEL),1)
+ mkdir -p $(ASTSBINDIR)
+ $(INSTALL) -m 755 zapscan.bin $(ASTSBINDIR)
+- $(INSTALL) -m 755 zapscan.bin /sbin
++ $(INSTALL) -m 755 zapscan.bin $(ASTSBINDIR)/../sbin
+ $(INSTALL) -m 755 zapscan $(ASTSBINDIR)
+- $(INSTALL) -m 755 zapscan /sbin
++ $(INSTALL) -m 755 zapscan $(ASTSBINDIR)/../sbin
+ endif
+
+ clean:
diff --git a/www/asterisk-gui/pkg-descr b/www/asterisk-gui/pkg-descr
index 2195879d3068..89b8549661ed 100644
--- a/www/asterisk-gui/pkg-descr
+++ b/www/asterisk-gui/pkg-descr
@@ -2,6 +2,6 @@ Asterisk-GUI is a framework for the creation of graphical interfaces for
configuring Asterisk. Some sample graphical interfaces for specific vertical
markets are included for reference or for actual use and extension.
-It is the web-GUI componente of AsteriskNOW.
+It is the web-GUI component of AsteriskNOW.
WWW: http://www.asterisknow.org/
diff --git a/www/asterisk-gui/pkg-plist b/www/asterisk-gui/pkg-plist
index c30b998b5736..e6a341b01036 100644
--- a/www/asterisk-gui/pkg-plist
+++ b/www/asterisk-gui/pkg-plist
@@ -40,8 +40,10 @@ share/asterisk/static-http/config/setup/setup.css
share/asterisk/static-http/config/setup/template.html
share/asterisk/static-http/config/backup.html
share/asterisk/static-http/config/cfgbasic.html
-share/asterisk/static-http/config/guialert.html
+share/asterisk/static-http/config/cli.html
+share/asterisk/static-http/config/emailsettings.html
share/asterisk/static-http/config/feditor.html
+share/asterisk/static-http/config/guialert.html
share/asterisk/static-http/config/graphs.html
share/asterisk/static-http/config/home.html
share/asterisk/static-http/config/iax.html
@@ -56,9 +58,12 @@ share/asterisk/static-http/config/numberplan.html
share/asterisk/static-http/config/options.html
share/asterisk/static-http/config/queues.html
share/asterisk/static-http/config/record.html
+share/asterisk/static-http/config/ringgroups.html
share/asterisk/static-http/config/sip.html
share/asterisk/static-http/config/status.html
share/asterisk/static-http/config/sysinfo.html
+share/asterisk/static-http/config/syslog.html
+share/asterisk/static-http/config/timerules.html
share/asterisk/static-http/config/trunks.html
share/asterisk/static-http/config/users.html
share/asterisk/static-http/config/voicemail.html