pkgsrc/comms/asterisk/options.mk
jnemeth 1bbc663607 Update to Asterisk 11.1.0: this is a major new long term support release.
As this is a major release, you should read the information about updating:

https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11

You can also find documentation in:  /usr/pkg/share/doc/asterisk

----- 11.1.0:

The Asterisk Development Team has announced the release of Asterisk 11.1.0.

The release of Asterisk 11.1.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following is a sample of the issues resolved in this release:

* --- Fix execution of 'i' extension due to uninitialized variable.

* --- Prevent resetting of NATted realtime peer address on reload.

* --- Fix ConfBridge crash if no timing module loaded.

* --- Fix the Park 'r' option when a channel parks itself.

* --- Fix an issue where outgoing calls would fail to establish audio
      due to ICE negotiation failures.

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.1.0

----- 11.0.1:

The Asterisk Development Team has announced the release of Asterisk 11.0.1.

The release of Asterisk 11.0.1 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following are the issues resolved in this release:

* --- chan_sip: Fix a bug causing SIP reloads to remove all entries
      from the registry

* --- confbridge: Fix a bug which made conferences not record with
      AMI/CLI commands

* --- Fix an issue with res_http_websocket where the chan_sip
      WebSocket handler could not be registered.

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.0.1

Thank you for your continued support of Asterisk!

----- 11.0.0:

The Asterisk Development Team is pleased to announce the release of
Asterisk 11.0.0.

Asterisk 11 is the next major release series of Asterisk.  It is a Long Term
Support (LTS) release, similar to Asterisk 1.8.  For more information about
support time lines for Asterisk releases, see the Asterisk versions page:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

For important information regarding upgrading to Asterisk 11, please see the
Asterisk wiki:

https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11

A short list of new features includes:

* A new channel driver named chan_motif has been added which provides support
  for Google Talk and Jingle in a single channel driver.  This new channel
  driver includes support for both audio and video, RFC2833 DTMF, all codecs
  supported by Asterisk, hold, unhold, and ringing notification. It is also
  compliant with the current Jingle specification, current Google Jingle
  specification, and the original Google Talk protocol.

* Support for the WebSocket transport for chan_sip.

* SIP peers can now be configured to support negotiation of ICE candidates.

* The app_page application now no longer depends on DAHDI or app_meetme. It
  has been re-architected to use app_confbridge internally.

* Hangup handlers can be attached to channels using the CHANNEL() function.
  Hangup handlers will run when the channel is hung up similar to the h
  extension; however, unlike an h extension, a hangup handler is associated with
  the actual channel and will execute anytime that channel is hung up,
  regardless of where it is in the dialplan.

* Added pre-dial handlers for the Dial and Follow-Me applications.  Pre-dial
  allows you to execute a dialplan subroutine on a channel before a call is
  placed but after the application performing a dial action is invoked. This
  means that the handlers are executed after the creation of the callee
  channels, but before any actions have been taken to actually dial the callee
  channels.

* Log messages can now be easily associated with a certain call by looking at
  a new unique identifier, "Call Id".  Call ids are attached to log messages for
  just about any case where it can be determined that the message is related
  to a particular call.

* Introduced Named ACLs as a new way to define Access Control Lists (ACLs) in
  Asterisk. Unlike traditional ACLs defined in specific module configuration
  files, Named ACLs can be shared across multiple modules.

* The Hangup Cause family of functions and dialplan applications allow for
  inspection of the hangup cause codes for each channel involved in a call.
  This allows a dialplan writer to determine, for each channel, who hung up and
  for what reason(s).

* Two new functions have been added: FEATURE() and FEATUREMAP(). FEATURE()
  lets you set some of the configuration options from the general section
  of features.conf on a per-channel basis. FEATUREMAP() lets you customize
  the key sequence used to activate built-in features, such as blindxfer,
  and automon.

* Support for DTLS-SRTP in chan_sip.

* Support for named pickupgroups/callgroups, allowing any number of pickupgroups
  and callgroups to be defined for several channel drivers.

* IPv6 Support for AMI, AGI, ExternalIVR, and the SIP Security Event Framework.

More information about the new features can be found on the Asterisk wiki:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Documentation

A full list of all new features can also be found in the CHANGES file.

http://svnview.digium.com/svn/asterisk/branches/11/CHANGES

For a full list of changes in the current release, please see the ChangeLog.

http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-11.0.0

Thank you for your continued support of Asterisk!
2012-12-11 08:22:48 +00:00

106 lines
3.2 KiB
Makefile

# $NetBSD: options.mk,v 1.5 2012/12/11 08:22:48 jnemeth Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp
PKG_SUPPORTED_OPTIONS+= jabber speex
PKG_OPTIONS_LEGACY_OPTS+= gtk:x11
PKG_SUGGESTED_OPTIONS= ldap jabber speex
.include "../../mk/bsd.options.mk"
PLIST_VARS+= zaptel x11 unixodbc webvmail ldap spandsp jabber
PLIST_VARS+= speex
# Asterisk now uses DAHDI, not zaptel; not implemented yet...
#.if !empty(PKG_OPTIONS:Mzaptel)
## zaptel only supported under NetBSD at the moment
#. include "../../comms/zaptel-netbsd/buildlink3.mk"
#PLIST.zaptel= yes
#.else
#MAKE_FLAGS+= WITHOUT_ZAPTEL=1
#.endif
# gtkconsole depends on GTK 2.x
.if !empty(PKG_OPTIONS:Mx11)
. include "../../x11/gtk2/buildlink3.mk"
. include "../../devel/SDL/buildlink3.mk"
CONFIGURE_ARGS+= --with-sdl
CONFIGURE_ARGS+= --with-gtk2
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --without-sdl
CONFIGURE_ARGS+= --without-gtk2
.endif
.if !empty(PKG_OPTIONS:Munixodbc)
. include "../../databases/unixodbc/buildlink3.mk"
. include "../../devel/libltdl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ltdl
CONFIGURE_ARGS+= --with-unixodbc
PLIST.unixodbc= yes
.else
CONFIGURE_ARGS+= --without-ltdl
CONFIGURE_ARGS+= --without-unixodbc
.endif
.if !empty(PKG_OPTIONS:Mspandsp)
. include "../../comms/spandsp/buildlink3.mk"
CONFIGURE_ARGS+= --with-spandsp
PLIST.spandsp= yes
.else
CONFIGURE_ARGS+= --without-spandsp
.endif
.if !empty(PKG_OPTIONS:Mjabber)
. include "../../textproc/iksemel/buildlink3.mk"
CONFIGURE_ARGS+= --with-iksemel=${PREFIX}
PLIST.jabber= yes
.else
CONFIGURE_ARGS+= --without-iksemel
.endif
MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts
post-configure:
.if !empty(PKG_OPTIONS:Mx11)
${ECHO} "MENUSELECT_PBX=-pbx_gtkconsole" >> ${WRKSRC}/pkgsrc.makeopts
.endif
.if !empty(PKG_OPTIONS:Munixodbc)
${ECHO} "MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE" >> ${WRKSRC}/pkgsrc.makeopts
.endif
.if defined(PLIST.mgcp)
${ECHO} "MENUSELECT_RES=-res_pktccops" >> ${WRKSRC}/pkgsrc.makeopts
${ECHO} "MENUSELECT_CHANNELS=-chan_mgcp" >> ${WRKSRC}/pkgsrc.makeopts
.endif
${ECHO} "MENUSELECT_AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi" >> ${WRKSRC}/pkgsrc.makeopts
# this is a hack to work around a bug in menuselect
cd ${WRKSRC} && make menuselect.makeopts
.if !empty(PKG_OPTIONS:Mwebvmail)
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
SUBST_CLASSES+= webvmail
SUBST_STAGE.webvmail= post-patch
SUBST_FILES.webvmail= contrib/scripts/vmail.cgi
SUBST_SED.webvmail+= -e 's|@ASTETCDIR@|${ASTETCDIR}|'
SUBST_SED.webvmail+= -e "s|@ASTSPOOLDIR@|${ASTSPOOLDIR}|"
INSTALLATION_DIRS+= ${PREFIX}/libexec/cgi-bin ${PREFIX}/share/httpd/htdocs
SPECIAL_PERMS+= ${PREFIX}/libexec/cgi-bin/vmail ${ASTERISK_USER} ${ASTERISK_GROUP} 04555
INSTALL_TARGET+= webvmail
PLIST.webvmail= yes
.endif
.if !empty(PKG_OPTIONS:Mldap)
.include "../../databases/openldap-client/buildlink3.mk"
PLIST.ldap= yes
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.if !empty(PKG_OPTIONS:Mspeex)
.include "../../audio/speex/buildlink3.mk"
CONFIGURE_ARGS+= --with-speex
CONFIGURE_ARGS+= --with-speexdsp
PLIST.speex= yes
.else
CONFIGURE_ARGS+= --without-speex
CONFIGURE_ARGS+= --without-speexdsp
.endif