Monast is a monitoring interface which acts as an operator panel for AsteriskTM

to display extensions status and calls details going through your IP-PBX.

It was develop in Python, PHP and uses prototype.js to handle AJAX calls and YUI
(Yahoo User Interface).

Monast can originate, transfer, park and hangup calls, Manage queue members
(add, remove, pause and unpause members) and meetme conference rooms.
(all using drag&drop feature from YUI)

Licensed under BSD, it has been created by Diego Aguirre (DagMoller).

WWW: http://monast.sf.net

PR:		ports/144988
Submitted by:	Marcelo/Porks Rossi <marcelorossi at gmail.com>
This commit is contained in:
Renato Botelho 2010-09-16 19:41:13 +00:00
parent 90e004fcfc
commit 2927185ff6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261293
5 changed files with 162 additions and 0 deletions

View File

@ -563,6 +563,7 @@
SUBDIR += mod_xsendfile
SUBDIR += moinmoin
SUBDIR += momspider
SUBDIR += monast
SUBDIR += monkey
SUBDIR += moodle
SUBDIR += moonshine

49
www/monast/Makefile Normal file
View File

@ -0,0 +1,49 @@
# New ports collection makefile for: monast
# Date created: 09 Mar 2010
# Whom: Marcelo/Porks Rossi <marcelorossi@gmail.com>
#
# $FreeBSD$
#
PORTNAME= monast
PORTVERSION= 1.4
CATEGORIES= www net
MASTER_SITES= SF/monast/MonAst%20for%20Asterisk%201.4_1.6/1.4
PATCH_SITES= http://www.mii.com.br/monast/
PATCHFILES= monast-1.4.patch1.gz
MAINTAINER= marcelorossi@gmail.com
COMMENT= A monitoring and an operator panel interface for AsteriskTM
USE_PYTHON= 2.5+
NO_BUILD= YES
do-install:
${MKDIR} ${PREFIX}/monast/amapi
${MKDIR} ${PREFIX}/monast/simplejson
${MKDIR} ${WWWDIR}/css
${MKDIR} ${WWWDIR}/image
${MKDIR} ${WWWDIR}/template
${MKDIR} ${WWWDIR}/lib
${MKDIR} ${WWWDIR}/js
${INSTALL_SCRIPT} ${WRKSRC}/contrib/freebsd/monast ${PREFIX}/etc/rc.d/monast
${INSTALL_SCRIPT} ${WRKSRC}/pymon/monast.py ${PREFIX}/monast/monast.py
${INSTALL_DATA} ${WRKSRC}/pymon/monast.conf.sample ${PREFIX}/etc/monast.conf.default
${INSTALL_DATA} ${WRKSRC}/pymon/amapi/* ${PREFIX}/monast/amapi/
${INSTALL_DATA} ${WRKSRC}/pymon/simplejson/* ${PREFIX}/monast/simplejson/
${INSTALL_DATA} ${WRKSRC}/*.php ${WWWDIR}/
.for f in css image template js
${INSTALL_DATA} ${WRKSRC}/${f}/* ${WWWDIR}/${f}/
.endfor
(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} \* ${WWWDIR}/lib)
post-install:
@if [ ! -f ${PREFIX}/etc/monast.conf ]; then \
${CP} -p ${PREFIX}/etc/monast.conf.default ${PREFIX}/etc/monast.conf ; \
fi
${PYTHON_CMD} -O -mcompileall ${PREFIX}/monast/
${PYTHON_CMD} -mcompileall ${PREFIX}/monast/
.include <bsd.port.mk>

6
www/monast/distinfo Normal file
View File

@ -0,0 +1,6 @@
MD5 (monast-1.4.tar.gz) = 907a2021768bdbd5b5a1290e9d9c2377
SHA256 (monast-1.4.tar.gz) = 8e2bd38f0a52f13476d366d649f95a4bd74e23ff62a20f61a46b8c3f2bee48d8
SIZE (monast-1.4.tar.gz) = 211040
MD5 (monast-1.4.patch1.gz) = 93f40c50b654401503fb1ebc949f7587
SHA256 (monast-1.4.patch1.gz) = 0ef14e0d5888bbbda5ac7722dfb27c42a6b6039be49a3d8d534eda5ec18a1092
SIZE (monast-1.4.patch1.gz) = 713

13
www/monast/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
Monast is a monitoring interface which acts as an operator panel for AsteriskTM
to display extensions status and calls details going through your IP-PBX.
It was develop in Python, PHP and uses prototype.js to handle AJAX calls and YUI
(Yahoo User Interface).
Monast can originate, transfer, park and hangup calls, Manage queue members
(add, remove, pause and unpause members) and meetme conference rooms.
(all using drag&drop feature from YUI)
Licensed under BSD, it has been created by Diego Aguirre (DagMoller).
WWW: http://monast.sf.net

93
www/monast/pkg-plist Normal file
View File

@ -0,0 +1,93 @@
@unexec if cmp -s %D/etc/monast.conf %D/etc/monast.conf.default; then rm -f %D/etc/monast.conf; fi
etc/monast.conf.default
@exec [ -f %B/monast.conf ] || cp %B/%f %B/monast.conf
etc/rc.d/monast
monast/amapi/AsteriskManager.py
monast/amapi/AsteriskManager.pyc
monast/amapi/AsteriskManager.pyo
monast/amapi/LICENSE
monast/amapi/README
monast/monast.py
monast/monast.pyc
monast/monast.pyo
monast/simplejson/__init__.py
monast/simplejson/__init__.pyc
monast/simplejson/__init__.pyo
monast/simplejson/_speedups.c
monast/simplejson/decoder.py
monast/simplejson/decoder.pyc
monast/simplejson/decoder.pyo
monast/simplejson/encoder.py
monast/simplejson/encoder.pyc
monast/simplejson/encoder.pyo
monast/simplejson/scanner.py
monast/simplejson/scanner.pyc
monast/simplejson/scanner.pyo
monast/simplejson/tool.py
monast/simplejson/tool.pyc
monast/simplejson/tool.pyo
%%WWWDIR%%/action.php
%%WWWDIR%%/css/styles.css
%%WWWDIR%%/image/park.png
%%WWWDIR%%/image/record.png
%%WWWDIR%%/image/trash.png
%%WWWDIR%%/index.php
%%WWWDIR%%/js/monast.js
%%WWWDIR%%/js/prototype-1.6.0.3.js
%%WWWDIR%%/lib/class.TemplatePower.inc.php
%%WWWDIR%%/lib/config.php
%%WWWDIR%%/lib/include.php
%%WWWDIR%%/lib/json.php
%%WWWDIR%%/lib/util.php
%%WWWDIR%%/lib/yui_2.5.2/animation/animation-min.js
%%WWWDIR%%/lib/yui_2.5.2/assets/skins/sam/skin.css
%%WWWDIR%%/lib/yui_2.5.2/assets/skins/sam/sprite.png
%%WWWDIR%%/lib/yui_2.5.2/button/assets/skins/sam/button.css
%%WWWDIR%%/lib/yui_2.5.2/button/button-min.js
%%WWWDIR%%/lib/yui_2.5.2/container/assets/skins/sam/container.css
%%WWWDIR%%/lib/yui_2.5.2/container/container-min.js
%%WWWDIR%%/lib/yui_2.5.2/container/container_core-min.js
%%WWWDIR%%/lib/yui_2.5.2/cookie/cookie-beta-min.js
%%WWWDIR%%/lib/yui_2.5.2/dragdrop/dragdrop-min.js
%%WWWDIR%%/lib/yui_2.5.2/element/element-beta-min.js
%%WWWDIR%%/lib/yui_2.5.2/fonts/fonts-min.css
%%WWWDIR%%/lib/yui_2.5.2/logger/logger-min.js
%%WWWDIR%%/lib/yui_2.5.2/menu/assets/skins/sam/menu.css
%%WWWDIR%%/lib/yui_2.5.2/menu/menu-min.js
%%WWWDIR%%/lib/yui_2.5.2/tabview/tabview-min.js
%%WWWDIR%%/lib/yui_2.5.2/yahoo-dom-event/yahoo-dom-event.js
%%WWWDIR%%/status.php
%%WWWDIR%%/template/index.html
@dirrm %%WWWDIR%%/template
@dirrm %%WWWDIR%%/lib/yui_2.5.2/yahoo-dom-event
@dirrm %%WWWDIR%%/lib/yui_2.5.2/tabview
@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets/skins/sam
@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets/skins
@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu/assets
@dirrm %%WWWDIR%%/lib/yui_2.5.2/menu
@dirrm %%WWWDIR%%/lib/yui_2.5.2/logger
@dirrm %%WWWDIR%%/lib/yui_2.5.2/fonts
@dirrm %%WWWDIR%%/lib/yui_2.5.2/element
@dirrm %%WWWDIR%%/lib/yui_2.5.2/dragdrop
@dirrm %%WWWDIR%%/lib/yui_2.5.2/cookie
@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets/skins/sam
@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets/skins
@dirrm %%WWWDIR%%/lib/yui_2.5.2/container/assets
@dirrm %%WWWDIR%%/lib/yui_2.5.2/container
@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets/skins/sam
@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets/skins
@dirrm %%WWWDIR%%/lib/yui_2.5.2/button/assets
@dirrm %%WWWDIR%%/lib/yui_2.5.2/button
@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets/skins/sam
@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets/skins
@dirrm %%WWWDIR%%/lib/yui_2.5.2/assets
@dirrm %%WWWDIR%%/lib/yui_2.5.2/animation
@dirrm %%WWWDIR%%/lib/yui_2.5.2
@dirrm %%WWWDIR%%/lib
@dirrm %%WWWDIR%%/js
@dirrm %%WWWDIR%%/image
@dirrm %%WWWDIR%%/css
@dirrm %%WWWDIR%%
@dirrm monast/simplejson
@dirrm monast/amapi
@dirrm monast