From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 4 02:30:08 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 352051065674 for ; Sun, 4 Apr 2010 02:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA378FC17 for ; Sun, 4 Apr 2010 02:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o342U74J067910 for ; Sun, 4 Apr 2010 02:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o342U7up067907; Sun, 4 Apr 2010 02:30:07 GMT (envelope-from gnats) Resent-Date: Sun, 4 Apr 2010 02:30:07 GMT Resent-Message-Id: <201004040230.o342U7up067907@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric F Crist Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E49AA106566B for ; Sun, 4 Apr 2010 02:28:59 +0000 (UTC) (envelope-from ecrist@cartman.secure-computing.net) Received: from cartman.secure-computing.net (cartman.secure-computing.net [173.8.118.211]) by mx1.freebsd.org (Postfix) with ESMTP id 91D7D8FC14 for ; Sun, 4 Apr 2010 02:28:59 +0000 (UTC) Received: from cartman.secure-computing.net (localhost [127.0.0.1]) by cartman.secure-computing.net (8.14.3/8.14.3) with ESMTP id o342UN4l073043; Sat, 3 Apr 2010 21:30:23 -0500 (CDT) (envelope-from ecrist@cartman.secure-computing.net) Received: (from ecrist@localhost) by cartman.secure-computing.net (8.14.3/8.14.3/Submit) id o342UNsm073042; Sat, 3 Apr 2010 21:30:23 -0500 (CDT) (envelope-from ecrist) Message-Id: <201004040230.o342UNsm073042@cartman.secure-computing.net> Date: Sat, 3 Apr 2010 21:30:23 -0500 (CDT) From: Eric F Crist To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Richard Neese Subject: ports/145371: Update to fusionpbx X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric F Crist List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 02:30:08 -0000 >Number: 145371 >Category: ports >Synopsis: Update to fusionpbx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Apr 04 02:30:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Eric F Crist >Release: FreeBSD 8.0-RELEASE amd64 >Organization: Secure Computing Networks FusionPBX >Environment: System: FreeBSD cartman.secure-computing.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Update to fusionpbx port. >How-To-Repeat: >Fix: --- fusionpbx.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fusionpbx # fusionpbx/files # fusionpbx/files/pkg-message.in # fusionpbx/distinfo # fusionpbx/pkg-descr # fusionpbx/Makefile # echo c - fusionpbx mkdir -p fusionpbx > /dev/null 2>&1 echo c - fusionpbx/files mkdir -p fusionpbx/files > /dev/null 2>&1 echo x - fusionpbx/files/pkg-message.in sed 's/^X//' >fusionpbx/files/pkg-message.in << 'fd1f0e329bc066bc03bd85ebebe23612' X X ************************************************* X * Attention Freebsd FusionPBX Users * X * * X * Please do the fallowing after install * X ************************************************* X X ALL USERS: X ---------- X If you use any other databes then the default sqlite3 X do the following for PostgreSQL and MySQL. X X Setup PostgreSQL: X ----------------- X add postgresql_enable="YES" to /etc/rc.conf X initdb -D /usr/local/pgsql/data X postmaster -D /usr/local/pgsql/data >logfile 2>&1 & X su pgsql X type: createuser -s -e FusionPBX X psql -d FusionPBX -U FusionPBX X alter user FusionPBX with password 'pbx2010'; X exit back to root X cd /usr/local/etc/rc.d X ./postgresql restart X cd /usr/local/www/fusionpbx/includes/install/sql X su pgsql X psql -f pgsql.sql FusionPBX X exit X X Setup MySQL: X ------------ X cd /usr/ports/database/mysql54-server X make install && make clean X X LIGHTTPD USERS: X --------------- X add lighttpd_enable="YES" to /etc/rc.conf X X APACHE22: X --------- X apache22_enable="YES" to /etc/rc.donf X X FusionPBX Apache config file add in X X /usr/local/etc/apache22/Includes/fusionpbx.conf X X # This line is unnecessary in many cases X Alias /fusionpbx/ "/usr/local/www/fusionpbx/" X X X Options All X AllowOverride All X Order allow,deny X Allow from all X X X add php to apache X X /usr/local/etc/apache22/Includes/php-inc.conf X X DirectoryIndex index.php X AddType application/x-httpd-php .php X AddType application/x-httpd-php-source .phps X X Last thing: X ----------- X edit /etc/group and add :www to the freeswitch group and save X X ------------ X Now Reboot. X ------------ X X After wich point your browser to the following X X URL: http://ip.of.you.machine/fusionpbx/ X X and follow the installer instructions. fd1f0e329bc066bc03bd85ebebe23612 echo x - fusionpbx/distinfo sed 's/^X//' >fusionpbx/distinfo << '318d58b2d5061eaf4a0e6ed54202fd37' XMD5 (fusionpbx-1.0.tar.gz) = 91b18f6d26b68f1297cba0b1d47c2de7 XSHA256 (fusionpbx-1.0.tar.gz) = 379de43c80b0a31c83d22c509910da70c58e552d58cfef0826679f333fb30fda XSIZE (fusionpbx-1.0.tar.gz) = 1939773 318d58b2d5061eaf4a0e6ed54202fd37 echo x - fusionpbx/pkg-descr sed 's/^X//' >fusionpbx/pkg-descr << '953605280310c8255f3e617e50f7c199' XFusionPBX is a OpenSorce php5 based frontend web gui for freeswitch. X XWWW: http://www.fusionpbx.com 953605280310c8255f3e617e50f7c199 echo x - fusionpbx/Makefile sed 's/^X//' >fusionpbx/Makefile << 'e5126df063315ba963cd5a402fda4d88' X# Ports collection makefile for: fusionpbx X# Date created: October 28, 2009 X# Whom: Richard Neese X# X# $FreeBSD$ X# X XPORTNAME= fusionpbx XPORTVERSION= 1.0 XCATEGORIES= www XMASTER_SITES= http://www.fusionpbx.com/downloads/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= ecrist@secure-computing.net XCOMMENT= Fusionpbx php5 webgui for FreeSwitch X XRUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch XUSE_SQLITE+= yes XUSE_PHP= dom filter ftp json pcre pdo pdo_sqlite posix session simplexml \ X xml xmlreader xmlwriter xmlrpc xsl zlib XDEFAULT_PHP_VER=5 XIGNORE_WITH_PHP=4 XWANT_PHP_CLI= yes X XWRKSRC= ${WRKDIR}/${PORTNAME:L} XNO_BUILD= yes X XSUB_FILES= pkg-message X XOPTIONS= POSTGRES "Install POSTGRESQL Server" off \ X MYSQL "Install MySQL Server" off \ X LIGHTTPD "Install LIGHTTPD Web Server" off \ X APACHE22 "Install APACHE22 Web Server" on X X.include X X.if !defined(WITH_POSTGRES) XPLIST_SUB+= WITH_POSTGRES="@comment " X.else XPLIST_SUB+= WITH_POSTGRES="" XRUN_DEPENDS+= postgresql84-server:${PORTSDIR}/databases/postgresql84-server \ X php5-pgsql:${PORTSDIR}/databases/php5-pgsql \ X php5-pdo_pgsql:${PORTSDIR}/databases/php5-pdo_pgsql X.endif X X.if !defined(WITH_MYSQL) XPLIST_SUB+= WITH_MYSQL="@comment " X.else XUSE_MYSQL= server XWANT_MYSQL_VER= 54 XPLIST_SUB+= WITH_MYSQL="" XRUN_DEPENDS+= php5-mysql:${PORTSDIR}/databases/php5-mysql \ X php5-pdo_mysql:${PORTSDIR}/databases/php5-pdo_mysql X.endif X X.if !defined(WITH_LIGHTTPD) XPLIST_SUB+= WITH_LIGHTTPD="@comment " X.else XPLIST_SUB+= WITH_LIGHTTPD="" XRUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd X.endif X X.if !defined(WITH_APACHE22) XPLIST_SUB+= WITH_APACHE22="@comment " X.else XPLIST_SUB+= WITH_APACHE22="" XUSE_APACHE= 22+ X.endif X Xdo-install: X ${MKDIR} ${WWWDIR} X ${MKDIR} /var/db/fusionpbx X cd ${WRKSRC}; ${FIND} . \ X | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} X ${CHMOD} -R 664 ${WWWDIR} X cd ${WRKDIR}/; X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include e5126df063315ba963cd5a402fda4d88 exit --- fusionpbx.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: