fusionpbx: Fix support for PHP7

- Reverted version changes to properly support PHP70.
	- Discussion with upstream about updating tag release (4.3.4) ongoing.
	- Included php-memcache|d as conditinional for PHP56.
This commit is contained in:
Angel M. Adames 2017-11-29 14:10:42 +00:00
parent 240f421e6d
commit e877f84d6e
3 changed files with 27 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD$
DISTNAME= fusionpbx-4.2
DISTNAME= fusionpbx-4.2.2
CATEGORIES= comms net audio
GITHUB_PROJECT= fusionpbx
MASTER_SITES= ${MASTER_SITE_GITHUB:=fusionpbx/}
@ -38,7 +38,11 @@ DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql
DEPENDS+= ${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets
DEPENDS+= memcached-[0-9]*:../../devel/memcached
.if (${PHP_VERSION_DEFAULT} == "56")
DEPENDS+= ${PHP_PKG_PREFIX}-memcache-[0-9]*:../../devel/php-memcache
DEPENDS+= ${PHP_PKG_PREFIX}-memcached-[0-9]*:../../devel/php-memcached
.endif
do-install:
cd ${WRKSRC}/${PKGNAME} && pax -rw -pe . ${DESTDIR}${PREFIX}/${INSTALLATION_DIRS}

View File

@ -259,6 +259,7 @@ share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/030_is_local.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/040_call_block.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/050_user_record.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/060_redial.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/070_speed_dial.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/200_agent_status.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/210_agent_status_id.xml
share/fusionpbx/app/dialplan/resources/switch/conf/dialplan/220_provision.xml
@ -324,7 +325,6 @@ share/fusionpbx/app/dialplan_outbound/app_menu.php
share/fusionpbx/app/dialplan_outbound/dialplan_outbound_add.php
share/fusionpbx/app/dialplan_outbound/root.php
share/fusionpbx/app/edit/app_config.php
share/fusionpbx/app/edit/app_defaults.php
share/fusionpbx/app/edit/app_languages.php
share/fusionpbx/app/edit/app_menu.php
share/fusionpbx/app/edit/clipadd.php
@ -442,7 +442,6 @@ share/fusionpbx/app/follow_me/app_config.php
share/fusionpbx/app/follow_me/app_menu.php
share/fusionpbx/app/follow_me/root.php
share/fusionpbx/app/gateways/app_config.php
share/fusionpbx/app/gateways/app_defaults.php
share/fusionpbx/app/gateways/app_languages.php
share/fusionpbx/app/gateways/app_menu.php
share/fusionpbx/app/gateways/gateway_copy.php
@ -451,6 +450,7 @@ share/fusionpbx/app/gateways/gateway_edit.php
share/fusionpbx/app/gateways/gateways.php
share/fusionpbx/app/gateways/root.php
share/fusionpbx/app/ivr_menus/app_config.php
share/fusionpbx/app/ivr_menus/app_defaults.php
share/fusionpbx/app/ivr_menus/app_languages.php
share/fusionpbx/app/ivr_menus/app_menu.php
share/fusionpbx/app/ivr_menus/ivr_menu_copy.php
@ -532,7 +532,6 @@ share/fusionpbx/app/provision/app_config.php
share/fusionpbx/app/provision/app_defaults.php
share/fusionpbx/app/provision/app_menu.php
share/fusionpbx/app/provision/index.php
share/fusionpbx/app/provision/provision_write.php
share/fusionpbx/app/provision/resources/classes/provision.php
share/fusionpbx/app/provision/resources/functions/device_by.php
share/fusionpbx/app/provision/root.php
@ -542,6 +541,7 @@ share/fusionpbx/app/recordings/app_languages.php
share/fusionpbx/app/recordings/app_menu.php
share/fusionpbx/app/recordings/recording_delete.php
share/fusionpbx/app/recordings/recording_edit.php
share/fusionpbx/app/recordings/recording_play.php
share/fusionpbx/app/recordings/recordings.php
share/fusionpbx/app/recordings/resources/classes/switch_recordings.php
share/fusionpbx/app/recordings/root.php
@ -556,6 +556,7 @@ share/fusionpbx/app/registrations/root.php
share/fusionpbx/app/registrations/status_registrations.php
share/fusionpbx/app/registrations/status_registrations_inc.php
share/fusionpbx/app/ring_groups/app_config.php
share/fusionpbx/app/ring_groups/app_defaults.php
share/fusionpbx/app/ring_groups/app_languages.php
share/fusionpbx/app/ring_groups/app_menu.php
share/fusionpbx/app/ring_groups/ring_group_delete.php
@ -1650,6 +1651,7 @@ share/fusionpbx/resources/install/scripts/app/ring_groups/resources/scripts/dest
share/fusionpbx/resources/install/scripts/app/ring_groups/resources/scripts/monitor.lua
share/fusionpbx/resources/install/scripts/app/ring_groups/resources/scripts/ring_member.lua
share/fusionpbx/resources/install/scripts/app/servers/resources/memcache.lua
share/fusionpbx/resources/install/scripts/app/speed_dial/index.lua
share/fusionpbx/resources/install/scripts/app/toll_allow/index.lua
share/fusionpbx/resources/install/scripts/app/voicemail/app_languages.lua
share/fusionpbx/resources/install/scripts/app/voicemail/index.lua
@ -1677,6 +1679,7 @@ share/fusionpbx/resources/install/scripts/app/voicemail/resources/functions/reco
share/fusionpbx/resources/install/scripts/app/voicemail/resources/functions/record_name.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/functions/return_call.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/functions/send_email.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/functions/send_sms.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/scripts/mwi.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/scripts/mwi_subscribe.lua
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/de/at/email_body.tpl
@ -1686,6 +1689,7 @@ share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/de/d
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_body.tpl
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/en/gb/email_subject.tpl
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body.tpl
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/en/us/email_body_transcription.tpl
share/fusionpbx/resources/install/scripts/app/voicemail/resources/templates/en/us/email_subject.tpl
share/fusionpbx/resources/install/scripts/app/xml_handler/index.lua
share/fusionpbx/resources/install/scripts/app/xml_handler/resources/scripts/configuration/acl.conf.lua
@ -1759,6 +1763,12 @@ share/fusionpbx/resources/install/scripts/resources/functions/interval_timer.lua
share/fusionpbx/resources/install/scripts/resources/functions/is_uuid.lua
share/fusionpbx/resources/install/scripts/resources/functions/lazy_settings.lua
share/fusionpbx/resources/install/scripts/resources/functions/log.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson/_str_lib.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson/_str_lib_lua53.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson/decoder.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson/encoder.lua
share/fusionpbx/resources/install/scripts/resources/functions/lunajson/sax.lua
share/fusionpbx/resources/install/scripts/resources/functions/mkdir.lua
share/fusionpbx/resources/install/scripts/resources/functions/presence_in.lua
share/fusionpbx/resources/install/scripts/resources/functions/route_to_bridge.lua
@ -1773,6 +1783,7 @@ share/fusionpbx/resources/install/scripts/resources/tests/self_test.lua
share/fusionpbx/resources/install/scripts/roku.lua
share/fusionpbx/resources/install/scripts/service
share/fusionpbx/resources/install/scripts/streamfile.lua
share/fusionpbx/resources/install/scripts/transfer2.lua
share/fusionpbx/resources/install/scripts/wakeup.lua
share/fusionpbx/resources/install/sql/mysql.sql
share/fusionpbx/resources/install/sql/pgsql.sql
@ -2018,6 +2029,7 @@ share/fusionpbx/resources/templates/conf/autoload_configs/httapi.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/http_cache.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/ivr.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/java.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/json_cdr.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/lcr.conf.xml
share/fusionpbx/resources/templates/conf/autoload_configs/local_stream.conf
share/fusionpbx/resources/templates/conf/autoload_configs/logfile.conf.xml
@ -2457,6 +2469,7 @@ share/fusionpbx/resources/templates/provision/yealink/w52p/directory.xml
share/fusionpbx/resources/templates/provision/yealink/w52p/favorite_setting.xml
share/fusionpbx/resources/templates/provision/yealink/w52p/y000000000025.cfg
share/fusionpbx/resources/templates/provision/yealink/w52p/{$mac}.cfg
share/fusionpbx/resources/uuid.php
share/fusionpbx/resources/wysiwyg.php
share/fusionpbx/root.php
share/fusionpbx/secure/.htaccess
@ -2465,6 +2478,7 @@ share/fusionpbx/secure/htaccess.tmp
share/fusionpbx/secure/index.php
share/fusionpbx/secure/root.php
share/fusionpbx/secure/v_mailto.php
share/fusionpbx/themes/default/app_config.php
share/fusionpbx/themes/default/app_defaults.php
share/fusionpbx/themes/default/app_languages.php
share/fusionpbx/themes/default/config.php

View File

@ -1,6 +1,6 @@
$NetBSD$
SHA1 (fusionpbx-4.2.zip) = df3ec960d754070de174bf1db5287879245d1081
RMD160 (fusionpbx-4.2.zip) = 51bdf775edd6f8670e49e1a4eaf1c71858f7edf1
SHA512 (fusionpbx-4.2.zip) = 15ac4523490e7db8a83999db70e4cbe03698b50402e28cd43d3fa9956e07a30d4719ae46c6efa896bcfc604e0549831a44f2f17b8ba7e9519a1b826c25e81a38
Size (fusionpbx-4.2.zip) = 9136705 bytes
SHA1 (fusionpbx-4.2.2.zip) = e0e5440e355ff0a9d25baf934516619b7d0e0533
RMD160 (fusionpbx-4.2.2.zip) = c838bbf4aac23fdcc308c0c864534732c93a50d4
SHA512 (fusionpbx-4.2.2.zip) = 3273beebe6e6742cd54cd79cd7c556d5d2567d323fbfa770723094cd4021daa83bd65abc2dd4ebb2759e2f49da0437ea48baf2e10bc288b82f566328dd94ca10
Size (fusionpbx-4.2.2.zip) = 9189707 bytes