From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 18 16:10:13 2012 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 C44491065675 for ; Sat, 18 Aug 2012 16:10:13 +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 998D38FC1A for ; Sat, 18 Aug 2012 16:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7IGADRs066377 for ; Sat, 18 Aug 2012 16:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7IGADNp066376; Sat, 18 Aug 2012 16:10:13 GMT (envelope-from gnats) Resent-Date: Sat, 18 Aug 2012 16:10:13 GMT Resent-Message-Id: <201208181610.q7IGADNp066376@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, Richard Neese Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56389106566B for ; Sat, 18 Aug 2012 16:05:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 409AE8FC12 for ; Sat, 18 Aug 2012 16:05:41 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7IG5fdT024951 for ; Sat, 18 Aug 2012 16:05:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7IG5eaL024947; Sat, 18 Aug 2012 16:05:40 GMT (envelope-from nobody) Message-Id: <201208181605.q7IG5eaL024947@red.freebsd.org> Date: Sat, 18 Aug 2012 16:05:40 GMT From: Richard Neese To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170746: update of www/fusionpbx web gui port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 16:10:13 -0000 >Number: 170746 >Category: ports >Synopsis: update of www/fusionpbx web gui port >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: Sat Aug 18 16:10:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Richard Neese >Release: FreeBSD 9.0-RELEASE >Organization: >Environment: FreeBSD ports.freebsd.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Updated fusion to the new 3.1 release and cleaned and brought the port to options ng >How-To-Repeat: >Fix: Patch attached with submission follows: Index: distinfo =================================================================== --- distinfo (revision 302692) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (fusionpbx-3.0.4.tar.gz) = 1066f32759a7bdaa8e8ac802f71b10af38db63c33c7a1aeef109044fd8309427 -SIZE (fusionpbx-3.0.4.tar.gz) = 5159078 +SHA256 (fusionpbx-3.1.tar.gz) = 8dde792b2bac81196cfb51ea871004f39192d9c1944044fcf8a8f9713aef0ed8 +SIZE (fusionpbx-3.1.tar.gz) = 5179008 Index: pkg-plist =================================================================== --- pkg-plist (revision 302692) +++ pkg-plist (working copy) @@ -134,8 +134,20 @@ %%WWWDIR%%/app/dialplan/resources/xml/dialplan/450_park_in.xml %%WWWDIR%%/app/dialplan/resources/xml/dialplan/455_park_out.xml %%WWWDIR%%/app/dialplan/resources/xml/dialplan/460_park_slots.xml +%%WWWDIR%%/app/dialplan/resources/xml/dialplan/480_operator.xml +%%WWWDIR%%/app/dialplan/resources/xml/dialplan/485_operator-forward.xml +%%WWWDIR%%/app/dialplan/resources/xml/dialplan/490_do-not-disturb.xml %%WWWDIR%%/app/dialplan/resources/xml/dialplan/999_local_extension.xml %%WWWDIR%%/app/dialplan/root.php +%%WWWDIR%%/app/dialplan_features/app_config.php +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/300_dx.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/310_att_xfer.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/320_xfer_vm.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/330_is_transfer.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/340_cf.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/350_please_hold.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/360_is_zrtp_secure.xml +%%WWWDIR%%/app/dialplan_features/resources/xml/dialplan/370_is_secure.xml %%WWWDIR%%/app/dialplan_inbound/app_config.php %%WWWDIR%%/app/dialplan_inbound/app_defaults.php %%WWWDIR%%/app/dialplan_inbound/dialplan_inbound_add.php @@ -155,11 +167,12 @@ %%WWWDIR%%/app/extensions/v_extensions_delete.php %%WWWDIR%%/app/extensions/v_extensions_edit.php %%WWWDIR%%/app/fax/app_config.php +%%WWWDIR%%/app/fax/fax.php +%%WWWDIR%%/app/fax/fax_copy.php +%%WWWDIR%%/app/fax/fax_delete.php +%%WWWDIR%%/app/fax/fax_edit.php +%%WWWDIR%%/app/fax/fax_view.php %%WWWDIR%%/app/fax/root.php -%%WWWDIR%%/app/fax/v_fax.php -%%WWWDIR%%/app/fax/v_fax_delete.php -%%WWWDIR%%/app/fax/v_fax_edit.php -%%WWWDIR%%/app/fax/v_fax_view.php %%WWWDIR%%/app/fifo/app_config.php %%WWWDIR%%/app/fifo/root.php %%WWWDIR%%/app/fifo/v_fifo.php @@ -259,6 +272,13 @@ %%WWWDIR%%/app/hardware_phones/v_hardware_phones.php %%WWWDIR%%/app/hardware_phones/v_hardware_phones_delete.php %%WWWDIR%%/app/hardware_phones/v_hardware_phones_edit.php +%%WWWDIR%%/app/hot_desking/app_config.php +%%WWWDIR%%/app/hot_desking/extension_delete.php +%%WWWDIR%%/app/hot_desking/extension_edit.php +%%WWWDIR%%/app/hot_desking/index.php +%%WWWDIR%%/app/hot_desking/resources/xml/dialplan/470_hot-desk-login.xml +%%WWWDIR%%/app/hot_desking/resources/xml/dialplan/475_hot-desk-logout.xml +%%WWWDIR%%/app/hot_desking/root.php %%WWWDIR%%/app/hunt_group/app_config.php %%WWWDIR%%/app/hunt_group/root.php %%WWWDIR%%/app/hunt_group/v_hunt_group.php @@ -336,6 +356,7 @@ %%WWWDIR%%/app/php_service/v_php_service_delete.php %%WWWDIR%%/app/php_service/v_php_service_edit.php %%WWWDIR%%/app/provision/app_config.php +%%WWWDIR%%/app/provision/app_defaults.php %%WWWDIR%%/app/provision/index.php %%WWWDIR%%/app/provision/provision_write.php %%WWWDIR%%/app/provision/root.php @@ -436,6 +457,7 @@ %%WWWDIR%%/app/services/v_services_delete.php %%WWWDIR%%/app/services/v_services_edit.php %%WWWDIR%%/app/settings/app_config.php +%%WWWDIR%%/app/settings/app_defaults.php %%WWWDIR%%/app/settings/root.php %%WWWDIR%%/app/settings/v_settings_edit.php %%WWWDIR%%/app/signup/app_config.php @@ -451,6 +473,7 @@ %%WWWDIR%%/app/sip_profiles/resources/xml/sip_profiles/internal-ipv6.xml %%WWWDIR%%/app/sip_profiles/resources/xml/sip_profiles/internal.xml %%WWWDIR%%/app/sip_profiles/root.php +%%WWWDIR%%/app/sip_profiles/sip_profile_copy.php %%WWWDIR%%/app/sip_profiles/sip_profile_settings.php %%WWWDIR%%/app/sip_profiles/sip_profile_settings_delete.php %%WWWDIR%%/app/sip_profiles/sip_profile_settings_edit.php @@ -594,6 +617,7 @@ %%WWWDIR%%/core/backup/backupandrestore.php %%WWWDIR%%/core/backup/root.php %%WWWDIR%%/core/databases/app_config.php +%%WWWDIR%%/core/databases/app_defaults.php %%WWWDIR%%/core/databases/database_delete.php %%WWWDIR%%/core/databases/database_edit.php %%WWWDIR%%/core/databases/databases.php @@ -690,13 +714,13 @@ %%WWWDIR%%/includes/classes/array_order.php %%WWWDIR%%/includes/classes/call_forward.php %%WWWDIR%%/includes/classes/database.php -%%WWWDIR%%/includes/classes/dialplan.php %%WWWDIR%%/includes/classes/do_not_disturb.php %%WWWDIR%%/includes/classes/follow_me.php %%WWWDIR%%/includes/classes/install.php %%WWWDIR%%/includes/classes/menu.php %%WWWDIR%%/includes/classes/root.php %%WWWDIR%%/includes/classes/schema.php +%%WWWDIR%%/includes/classes/switch_dialplan.php %%WWWDIR%%/includes/classes/switch_directory.php %%WWWDIR%%/includes/classes/switch_fax.php %%WWWDIR%%/includes/classes/switch_ivr_menu.php @@ -838,6 +862,7 @@ %%WWWDIR%%/includes/install/lang/en/wakeup/sounds.xml %%WWWDIR%%/includes/install/scripts/call_broadcast_originate.js %%WWWDIR%%/includes/install/scripts/call_forward.lua +%%WWWDIR%%/includes/install/scripts/dial_string.lua %%WWWDIR%%/includes/install/scripts/disa.lua %%WWWDIR%%/includes/install/scripts/eavesdrop.lua %%WWWDIR%%/includes/install/scripts/fax_retry.lua @@ -853,6 +878,7 @@ %%WWWDIR%%/includes/install/scripts/ring_group.lua %%WWWDIR%%/includes/install/scripts/roku.lua %%WWWDIR%%/includes/install/scripts/wakeup.lua +%%WWWDIR%%/includes/install/scripts/xml_handler.lua %%WWWDIR%%/includes/install/sounds/en/us/callie/custom/16000/4.wav %%WWWDIR%%/includes/install/sounds/en/us/callie/custom/16000/a.wav %%WWWDIR%%/includes/install/sounds/en/us/callie/custom/16000/accept.wav @@ -1034,6 +1060,7 @@ %%WWWDIR%%/includes/templates/conf/autoload_configs/event_socket.conf.xml %%WWWDIR%%/includes/templates/conf/autoload_configs/fax.conf.xml %%WWWDIR%%/includes/templates/conf/autoload_configs/fifo.conf.xml +%%WWWDIR%%/includes/templates/conf/autoload_configs/freetdm.conf.xml %%WWWDIR%%/includes/templates/conf/autoload_configs/hash.conf.xml %%WWWDIR%%/includes/templates/conf/autoload_configs/httapi.conf.xml %%WWWDIR%%/includes/templates/conf/autoload_configs/http_cache.conf.xml @@ -1097,6 +1124,7 @@ %%WWWDIR%%/includes/templates/conf/directory/default/skinny-example.xml.noload %%WWWDIR%%/includes/templates/conf/extensions.conf %%WWWDIR%%/includes/templates/conf/freeswitch.xml +%%WWWDIR%%/includes/templates/conf/freetdm.conf %%WWWDIR%%/includes/templates/conf/fur_elise.ttml %%WWWDIR%%/includes/templates/conf/ivr_menus/demo_ivr.xml %%WWWDIR%%/includes/templates/conf/jingle_profiles/client.xml @@ -1401,6 +1429,10 @@ @dirrm %%WWWDIR%%/app/log_viewer @dirrm %%WWWDIR%%/app/ivr_menu @dirrm %%WWWDIR%%/app/hunt_group +@dirrm %%WWWDIR%%/app/hot_desking/resources/xml/dialplan +@dirrm %%WWWDIR%%/app/hot_desking/resources/xml +@dirrm %%WWWDIR%%/app/hot_desking/resources +@dirrm %%WWWDIR%%/app/hot_desking @dirrm %%WWWDIR%%/app/hardware_phones @dirrm %%WWWDIR%%/app/grammar_edit/images/thumbnails @dirrm %%WWWDIR%%/app/grammar_edit/images @@ -1419,6 +1451,10 @@ @dirrm %%WWWDIR%%/app/exec @dirrm %%WWWDIR%%/app/dialplan_outbound @dirrm %%WWWDIR%%/app/dialplan_inbound +@dirrm %%WWWDIR%%/app/dialplan_features/resources/xml/dialplan +@dirrm %%WWWDIR%%/app/dialplan_features/resources/xml +@dirrm %%WWWDIR%%/app/dialplan_features/resources +@dirrm %%WWWDIR%%/app/dialplan_features @dirrm %%WWWDIR%%/app/dialplan/resources/xml/dialplan @dirrm %%WWWDIR%%/app/dialplan/resources/xml @dirrm %%WWWDIR%%/app/dialplan/resources @@ -1440,9 +1476,3 @@ @exec mkdir -p %D/%%WWWDIR%%/includes/templates/provision/grandstream @exec mkdir -p %D/%%WWWDIR%%/includes/templates/provision/cisco/7960 @exec mkdir -p %D/%%WWWDIR%%/includes/templates/provision/cisco/7940 -@exec chown -R www:www /usr/local/www/fusionpbx -@dirrmtry www/fusionpbx/ 2> /dev/null || /usr/bin/true -@cwd /var -@dirrmtry db/fusionpbx -@exec mkdir -p %D/db/fusionpbx -@exec chown www:www %D/db/fusionpbx Index: Makefile =================================================================== --- Makefile (revision 302692) +++ Makefile (working copy) @@ -6,7 +6,7 @@ # PORTNAME= fusionpbx -DISTVERSION= 3.0.4 +DISTVERSION= 3.1 CATEGORIES= www MASTER_SITES= http://www.fusionpbx.com/downloads/ \ ${MASTER_SITE_GOOGLE_CODE} @@ -15,8 +15,7 @@ COMMENT= Fusionpbx PHP5 Graphical User Interface for FreeSwitch LIB_DEPENDS= odbc:${PORTSDIR}/databases/unixODBC -RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php5-pdo_odbc - +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc USE_SQLITE= yes USE_PHP= dom filter ftp json pcre pdo pdo_sqlite posix \ @@ -31,23 +30,28 @@ WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes -#config options -OPTIONS= PDOPGSQL "Install POSTGRESQL PDO Connecor" off \ - PDOMYSQL "Install MySQL PDO Connector " off +OPTIONS_DEFINE= PDOPGSQL PDOMYSQL +PDOPGSQL_DESC= Install POSTGRESQL PDO Connecor +PDOMYSQL_DESC= Install MySQL PDO Connector + .include -.if !defined(WITH_PDOPGSQL) -PLIST_SUB+= WITH_PDOPGSQL="@comment " +.for opt in ${ALL_OPTIONS} +.if $(PORT_OPTIONS:M${opt}) +PLIST_SUB+= ${opt}="" .else +PLIST_SUB+= ${opt}="@comment " +.endif +.endfor + +.if ${PORT_OPTIONS:MPDOPGSQL) USE_PGSQL= yes USE_PHP+= pgsql pdo_pgsql PLIST_SUB+= WITH_PDOPGSQL="" .endif -.if !defined(WITH_PDOMYSQL) -PLIST_SUB+= WITHPDO-MYSQL="@comment " -.else +.if ${PORT_OPTIONS:MPDOMYSQL) USE_MYSQL= client USE_PHP+= mysql pdo_mysql PLIST_SUB+= WITH_PDOMYSQL="" >Release-Note: >Audit-Trail: >Unformatted: