Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 11:29:17 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369315 - in head: . net/asterisk net/asterisk11
Message-ID:  <201409261129.s8QBTHWU011559@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Fri Sep 26 11:29:17 2014
New Revision: 369315
URL: http://svnweb.freebsd.org/changeset/ports/369315
QAT: https://qat.redports.org/buildarchive/r369315/

Log:
  - Update net/asterisk to 1.8.31.0
  - Update net/asterisk11 to 11.13.0
  - Make LUA option enabled by default [1]
  - Simplify plist
  
  Requested by:	Dennis Guse <dennis.guse at tu-berlin.de> (and others) [1]

Modified:
  head/UPDATING
  head/net/asterisk/Makefile
  head/net/asterisk/distinfo
  head/net/asterisk/pkg-plist
  head/net/asterisk11/Makefile
  head/net/asterisk11/distinfo
  head/net/asterisk11/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/UPDATING	Fri Sep 26 11:29:17 2014	(r369315)
@@ -5,6 +5,36 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20140926:
+  AFFECTS: users of net/asterisk and net/asterisk11
+  AUTHOR: madpilot@FreeBSD.org
+
+  The asterisk ports have been modified to have the LUA option
+  turned on by default to make such functionality available to users
+  of binary packages.
+
+  Some care should be taken before upgrading by people not using lua
+  to avoid the sample extensions.lua file from being loaded on reload
+  after updating the asterisk port/pkg.
+
+  Users compiling from ports not interested in LUA support are advised
+  to disable the option before updating.
+
+  People using binary packages(or not wanting to disable the LUA
+  option in the port) not using the lua functionality should add:
+
+  noload => pbx_lua.so 
+
+  to the PREFIX/etc/asterisk/modules.conf file, if using the
+  autoload=yes option in that same file. People not autoloading
+  modules don't need to perform any special action.
+
+  If asterisk is rebooted and the pbx_lua module gets loaded on a
+  system were it should not, it will load the example extensions.lua
+  configuration file adding unexpected logic to your dialplan. In
+  such a case following the above steps and reloading asterisk will
+  fix the problem.
+
 20140922:
   AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6
   AUTHOR: xmj@FreeBSD.org

Modified: head/net/asterisk/Makefile
==============================================================================
--- head/net/asterisk/Makefile	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk/Makefile	Fri Sep 26 11:29:17 2014	(r369315)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	asterisk
-PORTVERSION=	1.8.30.0
-PORTREVISION=	3
+PORTVERSION=	1.8.31.0
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -50,7 +49,7 @@ CONFLICTS_INSTALL=	asterisk*-1.4* asteri
 OPTIONS_DEFINE=	VORBIS PGSQL MYSQL ODBC RADIUS SNMP H323 FREETDS JABBER SQLITE GSM \
 		CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP OOH323
 OPTIONS_DEFAULT=	VORBIS ODBC PGSQL RADIUS SNMP H323 FREETDS JABBER GSM \
-		SQLITE CURL
+		SQLITE CURL LUA
 
 OPTIONS_DEFINE_i386=	DAHDI
 OPTIONS_DEFINE_amd64=	DAHDI

Modified: head/net/asterisk/distinfo
==============================================================================
--- head/net/asterisk/distinfo	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk/distinfo	Fri Sep 26 11:29:17 2014	(r369315)
@@ -1,2 +1,2 @@
-SHA256 (asterisk-1.8.30.0.tar.gz) = 5f25b55f938faaae9dc279abaf278ef69b64d7b386528b8e531e2352ecc13a7c
-SIZE (asterisk-1.8.30.0.tar.gz) = 29540685
+SHA256 (asterisk-1.8.31.0.tar.gz) = 259c94112c690c1bf62bffd030445a20a9a254ecac74ffde7af3341a110dc083
+SIZE (asterisk-1.8.31.0.tar.gz) = 29630500

Modified: head/net/asterisk/pkg-plist
==============================================================================
--- head/net/asterisk/pkg-plist	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk/pkg-plist	Fri Sep 26 11:29:17 2014	(r369315)
@@ -663,9 +663,9 @@ share/asterisk/phoneprov/000000000000.cf
 share/asterisk/phoneprov/polycom.xml
 share/asterisk/phoneprov/polycom_line.xml
 share/asterisk/phoneprov/snom-mac.xml
-share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.25
-share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.25
-share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.25
+share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.26
+share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.26
+share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.26
 share/asterisk/sounds/en/ascending-2tone.gsm
 share/asterisk/sounds/en/conf-adminmenu-18.gsm
 share/asterisk/sounds/en/conf-adminmenu-162.gsm
@@ -1170,7 +1170,7 @@ share/asterisk/sounds/en/vm-undeleted.gs
 share/asterisk/sounds/en/vm-unknown-caller.gsm
 share/asterisk/sounds/en/vm-whichbox.gsm
 share/asterisk/sounds/en/vm-youhave.gsm
-share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.25
+share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.26
 share/asterisk/static-http/ajamdemo.html
 share/asterisk/static-http/astman.css
 share/asterisk/static-http/astman.js
@@ -1192,71 +1192,29 @@ share/asterisk/static-http/mantest.html
 %%LUA%%lib/asterisk/modules/pbx_lua.so
 %%DOCSDIR%%/images/asterisk-intro.jpg
 %%DOCSDIR%%/images/kpad2.jpg
-@dirrm %%DOCSDIR%%/images
-@dirrm %%DOCSDIR%%
-@dirrm share/asterisk/static-http
-@dirrm share/asterisk/sounds/en/silence
-@dirrm share/asterisk/sounds/en/phonetic
-@dirrm share/asterisk/sounds/en/letters
-@dirrm share/asterisk/sounds/en/followme
-@dirrm share/asterisk/sounds/en/digits
-@dirrm share/asterisk/sounds/en/dictate
-@dirrm share/asterisk/sounds/en
-@dirrm share/asterisk/sounds
-@dirrm share/asterisk/phoneprov
-@dirrm share/asterisk/moh
-@dirrm share/asterisk/keys
-@dirrm share/asterisk/images
-@dirrm share/asterisk/firmware/iax
-@dirrm share/asterisk/firmware
-@dirrm share/asterisk/documentation/thirdparty
-@dirrm share/asterisk/documentation
-@dirrm share/asterisk/agi-bin
-@dirrm share/asterisk
-@dirrm lib/asterisk/modules
-@dirrm lib/asterisk
-@dirrm include/asterisk/doxygen
-@dirrm include/asterisk
-@dirrmtry %%ETCDIR%%
-@exec mkdir -p %D/share/asterisk/keys
-@exec mkdir -p %D/share/asterisk/images
-@exec mkdir -p %D/share/asterisk/firmware/iax
-@exec mkdir -p %D/share/asterisk/documentation/thirdparty
-@cwd %%VARDIR%%
-spool/asterisk/voicemail/default/1234/en/busy.gsm
-spool/asterisk/voicemail/default/1234/en/unavail.gsm
-@exec mkdir -p %D/log/asterisk/cdr-csv
-@exec mkdir -p %D/log/asterisk/cdr-custom
-@exec mkdir -p %D/log/asterisk/cel-custom
-@exec mkdir -p %D/spool/asterisk/dictate
-@exec mkdir -p %D/spool/asterisk/meetme
-@exec mkdir -p %D/spool/asterisk/monitor
-@exec mkdir -p %D/spool/asterisk/outgoing
-@exec mkdir -p %D/spool/asterisk/system
-@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX
-@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/en
-@exec mkdir -p %D/spool/asterisk/tmp
-@exec mkdir -p %D/db/asterisk
-@exec mkdir -p %D/run/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/db/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/spool/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/log/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/run/asterisk
-@dirrm spool/asterisk/dictate
-@dirrm spool/asterisk/meetme
-@dirrm spool/asterisk/monitor
-@dirrm spool/asterisk/outgoing
-@dirrm spool/asterisk/system
-@dirrm spool/asterisk/voicemail/default/1234/INBOX
-@dirrm spool/asterisk/voicemail/default/1234/en
-@dirrm spool/asterisk/voicemail/default/1234
-@dirrm spool/asterisk/voicemail/default
-@dirrm spool/asterisk/voicemail
-@dirrm spool/asterisk/tmp
-@dirrm spool/asterisk
-@dirrmtry log/asterisk/cdr-csv
-@dirrmtry log/asterisk/cdr-custom
-@dirrmtry log/asterisk/cel-custom
-@dirrmtry log/asterisk
-@dirrmtry db/asterisk
-@dirrmtry run/asterisk
+@dir share/asterisk/keys
+@dir share/asterisk/images
+@dir share/asterisk/firmware/iax
+@dir share/asterisk/documentation/thirdparty
+@owner %%ASTERISK_USER%%
+@group %%ASTERISK_GROUP%%
+%%VARDIR%%/spool/asterisk/voicemail/default/1234/en/busy.gsm
+%%VARDIR%%/spool/asterisk/voicemail/default/1234/en/unavail.gsm
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234/INBOX
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234/en
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234
+@dir %%VARDIR%%/spool/asterisk/voicemail/default
+@dir %%VARDIR%%/spool/asterisk/voicemail
+@dir %%VARDIR%%/log/asterisk/cdr-csv
+@dir %%VARDIR%%/log/asterisk/cdr-custom
+@dir %%VARDIR%%/log/asterisk/cel-custom
+@dir %%VARDIR%%/log/asterisk
+@dir %%VARDIR%%/spool/asterisk/dictate
+@dir %%VARDIR%%/spool/asterisk/meetme
+@dir %%VARDIR%%/spool/asterisk/monitor
+@dir %%VARDIR%%/spool/asterisk/outgoing
+@dir %%VARDIR%%/spool/asterisk
+@dir %%VARDIR%%/spool/asterisk/system
+@dir %%VARDIR%%/spool/asterisk/tmp
+@dir %%VARDIR%%/db/asterisk
+@dir %%VARDIR%%/run/asterisk

Modified: head/net/asterisk11/Makefile
==============================================================================
--- head/net/asterisk11/Makefile	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk11/Makefile	Fri Sep 26 11:29:17 2014	(r369315)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	asterisk
-PORTVERSION=	11.12.1
+PORTVERSION=	11.13.0
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -45,7 +45,7 @@ CONFLICTS_INSTALL=	asterisk*-1.4* asteri
 OPTIONS_DEFINE=	VORBIS PGSQL MYSQL ODBC RADIUS SNMP FREETDS XMPP SQLITE GSM \
 		CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP OOH323
 OPTIONS_DEFAULT=	VORBIS ODBC PGSQL RADIUS SNMP FREETDS \
-		XMPP GSM SQLITE CURL
+		XMPP GSM SQLITE CURL LUA
 
 OPTIONS_DEFINE_i386=	DAHDI
 OPTIONS_DEFINE_amd64=	DAHDI

Modified: head/net/asterisk11/distinfo
==============================================================================
--- head/net/asterisk11/distinfo	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk11/distinfo	Fri Sep 26 11:29:17 2014	(r369315)
@@ -1,2 +1,2 @@
-SHA256 (asterisk-11.12.1.tar.gz) = 4369a2827cfcf72b32b176206d09ecdfaa4f96e9c5f9306506305591fa61ee60
-SIZE (asterisk-11.12.1.tar.gz) = 34862194
+SHA256 (asterisk-11.13.0.tar.gz) = 8c99d4d1008a2ba5e8f727c538fc53430ee15263b75b8acc8b338d182359b65e
+SIZE (asterisk-11.13.0.tar.gz) = 34966835

Modified: head/net/asterisk11/pkg-plist
==============================================================================
--- head/net/asterisk11/pkg-plist	Fri Sep 26 09:30:02 2014	(r369314)
+++ head/net/asterisk11/pkg-plist	Fri Sep 26 11:29:17 2014	(r369315)
@@ -703,10 +703,10 @@ share/asterisk/phoneprov/000000000000.cf
 share/asterisk/phoneprov/polycom.xml
 share/asterisk/phoneprov/polycom_line.xml
 share/asterisk/phoneprov/snom-mac.xml
-share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.25
-share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.25
-share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.25
-share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.25
+share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.26
+share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.26
+share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.26
+share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.26
 share/asterisk/sounds/en/ascending-2tone.gsm
 share/asterisk/sounds/en/conf-adminmenu-162.gsm
 share/asterisk/sounds/en/conf-adminmenu-18.gsm
@@ -1228,71 +1228,29 @@ share/asterisk/static-http/mantest.html
 %%LUA%%lib/asterisk/modules/pbx_lua.so
 %%DOCSDIR%%/images/asterisk-intro.jpg
 %%DOCSDIR%%/images/kpad2.jpg
-@dirrm %%DOCSDIR%%/images
-@dirrm %%DOCSDIR%%
-@dirrm share/asterisk/static-http
-@dirrm share/asterisk/sounds/en/silence
-@dirrm share/asterisk/sounds/en/phonetic
-@dirrm share/asterisk/sounds/en/letters
-@dirrm share/asterisk/sounds/en/followme
-@dirrm share/asterisk/sounds/en/digits
-@dirrm share/asterisk/sounds/en/dictate
-@dirrm share/asterisk/sounds/en
-@dirrm share/asterisk/sounds
-@dirrm share/asterisk/phoneprov
-@dirrm share/asterisk/moh
-@dirrm share/asterisk/keys
-@dirrm share/asterisk/images
-@dirrm share/asterisk/firmware/iax
-@dirrm share/asterisk/firmware
-@dirrm share/asterisk/documentation/thirdparty
-@dirrm share/asterisk/documentation
-@dirrm share/asterisk/agi-bin
-@dirrm share/asterisk
-@dirrm lib/asterisk/modules
-@dirrm lib/asterisk
-@dirrm include/asterisk/doxygen
-@dirrm include/asterisk
-@dirrmtry %%ETCDIR%%
-@exec mkdir -p %D/share/asterisk/keys
-@exec mkdir -p %D/share/asterisk/images
-@exec mkdir -p %D/share/asterisk/firmware/iax
-@exec mkdir -p %D/share/asterisk/documentation/thirdparty
-@cwd %%VARDIR%%
-spool/asterisk/voicemail/default/1234/en/busy.gsm
-spool/asterisk/voicemail/default/1234/en/unavail.gsm
-@exec mkdir -p %D/log/asterisk/cdr-csv
-@exec mkdir -p %D/log/asterisk/cdr-custom
-@exec mkdir -p %D/log/asterisk/cel-custom
-@exec mkdir -p %D/spool/asterisk/dictate
-@exec mkdir -p %D/spool/asterisk/meetme
-@exec mkdir -p %D/spool/asterisk/monitor
-@exec mkdir -p %D/spool/asterisk/outgoing
-@exec mkdir -p %D/spool/asterisk/system
-@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX
-@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/en
-@exec mkdir -p %D/spool/asterisk/tmp
-@exec mkdir -p %D/db/asterisk
-@exec mkdir -p %D/run/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/db/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/spool/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/log/asterisk
-@exec chown -R %%ASTERISK_USER%%:%%ASTERISK_GROUP%% %D/run/asterisk
-@dirrm spool/asterisk/dictate
-@dirrm spool/asterisk/meetme
-@dirrm spool/asterisk/monitor
-@dirrm spool/asterisk/outgoing
-@dirrm spool/asterisk/system
-@dirrm spool/asterisk/voicemail/default/1234/INBOX
-@dirrm spool/asterisk/voicemail/default/1234/en
-@dirrm spool/asterisk/voicemail/default/1234
-@dirrm spool/asterisk/voicemail/default
-@dirrm spool/asterisk/voicemail
-@dirrm spool/asterisk/tmp
-@dirrm spool/asterisk
-@dirrmtry log/asterisk/cdr-csv
-@dirrmtry log/asterisk/cdr-custom
-@dirrmtry log/asterisk/cel-custom
-@dirrmtry log/asterisk
-@dirrmtry db/asterisk
-@dirrmtry run/asterisk
+@dir share/asterisk/keys
+@dir share/asterisk/images
+@dir share/asterisk/firmware/iax
+@dir share/asterisk/documentation/thirdparty
+@owner %%ASTERISK_USER%%
+@group %%ASTERISK_GROUP%%
+%%VARDIR%%/spool/asterisk/voicemail/default/1234/en/busy.gsm
+%%VARDIR%%/spool/asterisk/voicemail/default/1234/en/unavail.gsm
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234/INBOX
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234/en
+@dir %%VARDIR%%/spool/asterisk/voicemail/default/1234
+@dir %%VARDIR%%/spool/asterisk/voicemail/default
+@dir %%VARDIR%%/spool/asterisk/voicemail
+@dir %%VARDIR%%/log/asterisk/cdr-csv
+@dir %%VARDIR%%/log/asterisk/cdr-custom  
+@dir %%VARDIR%%/log/asterisk/cel-custom
+@dir %%VARDIR%%/log/asterisk
+@dir %%VARDIR%%/spool/asterisk/dictate
+@dir %%VARDIR%%/spool/asterisk/meetme   
+@dir %%VARDIR%%/spool/asterisk/monitor
+@dir %%VARDIR%%/spool/asterisk/outgoing
+@dir %%VARDIR%%/spool/asterisk
+@dir %%VARDIR%%/spool/asterisk/system
+@dir %%VARDIR%%/spool/asterisk/tmp
+@dir %%VARDIR%%/db/asterisk
+@dir %%VARDIR%%/run/asterisk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409261129.s8QBTHWU011559>