0d179dc23c
pkgsrc changes: - from joerg@ - srtp support - new asterisk-config option to control installing of sample config files - manifest.xml for Solaris' SMF - various bugfixes, some reworked by myself - backport kqueue timer update from Asterisk 13 ----- The Asterisk Development Team has announced the release of Asterisk 11.20.0. The release of Asterisk 11.20.0 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: Bugs fixed in this release: ----------------------------------- * ASTERISK-25449 - main/sched: Regression introduced by 5c713fdf18f causes erroneous duplicate RTCP messages; other potential scheduling issues in chan_sip/chan_skinny (Reported by Matt Jordan) * ASTERISK-25438 - res_rtp_asterisk: ICE role message even when ICE is not enabled (Reported by Joshua Colp) * ASTERISK-25427 - Callerid change does not always emit NewCallerid AMI event (Reported by Ivan Poddubny) * ASTERISK-25407 - Asterisk fails to log to multiple syslog destinations (Reported by Elazar Broad) * ASTERISK-25410 - app_record: RECORDED_FILE variable not being populated (Reported by Kevin Harwell) * ASTERISK-25394 - pbx: Incorrect device and presence state when changing hint details (Reported by Joshua Colp) * ASTERISK-25396 - chan_sip: Extremely long callerid name causes invalid SIP (Reported by Walter Doekes) * ASTERISK-25353 - [patch] Transcoding while different in Frame size = Frames lost (Reported by Alexander Traud) * ASTERISK-25227 - No audio at in-band announcements in ooh323 channel (Reported by Alexandr Dranchuk) * ASTERISK-25346 - chan_sip: Overwriting answered elsewhere hangup cause on call pickup (Reported by Joshua Colp) * ASTERISK-25215 - Differences in queue.log between Set QUEUE_MEMBER and using PauseQueueMember (Reported by Lorne Gaetz) * ASTERISK-25320 - chan_sip.c: sip_report_security_event searches for wrong or non existent peer on invite (Reported by Kevin Harwell) * ASTERISK-25315 - DAHDI channels send shortened duration DTMF tones. (Reported by Richard Mudgett) * ASTERISK-25312 - res_http_websocket: Terminate connection on fatal cases (Reported by Joshua Colp) * ASTERISK-25265 - [patch]DTLS Failure when calling WebRTC-peer on Firefox 39 - add ECDH support and fallback to prime256v1 (Reported by Stefan Engström) Improvements made in this release: ----------------------------------- * ASTERISK-25310 - [patch]on FreeBSD also pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED (Reported by Guido Falsi) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.20.0 Thank you for your continued support of Asterisk!
123 lines
3.6 KiB
Makefile
123 lines
3.6 KiB
Makefile
# $NetBSD: options.mk,v 1.8 2015/10/27 08:49:01 jnemeth Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
|
|
PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp
|
|
PKG_SUPPORTED_OPTIONS+= jabber speex snmp pgsql asterisk-config
|
|
PKG_OPTIONS_LEGACY_OPTS+= gtk:x11
|
|
PKG_SUGGESTED_OPTIONS= ldap jabber speex asterisk-config
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= zaptel x11 unixodbc webvmail ldap spandsp jabber
|
|
PLIST_VARS+= speex snmp pgsql srtp
|
|
|
|
# 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"
|
|
.include "../../audio/speexdsp/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-speex
|
|
CONFIGURE_ARGS+= --with-speexdsp
|
|
PLIST.speex= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-speex
|
|
CONFIGURE_ARGS+= --without-speexdsp
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msnmp)
|
|
.include "../../net/net-snmp/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-netsnmp
|
|
PLIST.snmp= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-netsnmp
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-postgres
|
|
PLIST.pgsql= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-postgres
|
|
.endif
|