asterisk-1.8.x,asterisk-11.x: better dependency handling for asterisk modules

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2014-02-05 09:34:14 +01:00
parent 26a2328c1a
commit b42a48580f
4 changed files with 5 additions and 1826 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18
PKG_VERSION:=1.8.25.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
@ -676,7 +676,7 @@ define Buildasterisk18ModuleTemplate
define Package/asterisk18-$(subst _,-,$(1))
$$(call Package/asterisk18/Default)
TITLE:=$(2) support
DEPENDS:= asterisk18 $(4)
DEPENDS:= asterisk18 $(patsubst +%,+PACKAGE_asterisk18-$(subst _,-,$(1)):%,$(4))
endef
define Package/asterisk18-$(subst _,-,$(1))/description

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013 OpenWrt.org
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk11
PKG_VERSION:=11.7.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
@ -49,7 +49,7 @@ define BuildAsteriskModule
define Package/asterisk11-$(1)
$$(call Package/asterisk11/Default)
TITLE:=$(2) support
DEPENDS:= asterisk11 $(4)
DEPENDS:= asterisk11 $(patsubst +%,+PACKAGE_asterisk11-$(1):%,$(4))
endef
define Package/asterisk11-$(1)/conffiles
@ -262,9 +262,6 @@ CONFIGURE_ARGS+= \
define Build/Prepare
$(call Build/Prepare/Default)
ifneq ($(CONFIG_PACKAGE_asterisk11-chan-lantiq),)
$(CP) ./src-lantiq/* $(PKG_BUILD_DIR)/
endif
endef
define Build/Configure
@ -384,7 +381,6 @@ $(eval $(call BuildAsteriskModule,func-vmcount,vmcount dialplan,a vmcount dialpl
$(eval $(call BuildAsteriskModule,func-base64,base64 support,support of base64 function,,,,func_base64,))
$(eval $(call BuildAsteriskModule,chan-agent,Agents proxy channel,an implementation of agents proxy channel,,,,chan_agent,))
$(eval $(call BuildAsteriskModule,chan-iax2,IAX2 channel,IAX support,,/etc/asterisk/iax.conf /etc/asterisk/iaxprov.conf,iax.conf iaxprov.conf,chan_iax2,))
$(eval $(call BuildAsteriskModule,chan-lantiq,Lantiq channel,lantiq TAPI support,$(LTQ_TAPI_DEPENDS) @BROKEN,/etc/asterisk/lantiq.conf,lantiq.conf,chan_lantiq,))
$(eval $(call BuildAsteriskModule,chan-motif,Jingle channel,Motif Jingle Channel Driver,+asterisk11-res-xmpp,/etc/asterisk/motif.conf /etc/asterisk/jingle.conf,motif.conf jingle.conf,chan_motif,))
$(eval $(call BuildAsteriskModule,chan-mgcp,MGCP channel,the channel chan_mgcp,,/etc/asterisk/mgcp.conf,mgcp.conf,chan_mgcp,))
$(eval $(call BuildAsteriskModule,chan-mobile,Mobile channel,the channel chan_mobile,+bluez-libs,/etc/asterisk/chan_mobile.conf,chan_mobile.conf,chan_mobile,))

File diff suppressed because it is too large Load diff

View file

@ -1,138 +0,0 @@
;
; TAPI Telephony Interface
;
; Configuration file
[interfaces]
;
; Number of FXS ports (default: 2)
channels = 2
;
; Set tapi firmware file path
;firmwarefilename = /lib/firmware/danube_firmware.bin
;
; Set tapi bbd file path
;bbdfilename = /lib/firmware/danube_bbd_fxs.bin
;
; Set vmmc device path
;basepath = /dev/vmmc
;
[general]
;
; Gain setting for the receive and transmit path.
; The value is given in dB within the range (-24dB to +12dB), in 1 dB steps.
;
;rxgain = 1
;txgain = 1
;
;
;
; Line echo cancller valid types:
;
; off LEC and echo suppressor turned off.
; nlec LEC using fixed window; no echo suppressor.
; wlec LEC using fixed and moving window; no echo suppressor.
; nees LEC using fixed window and echo suppressor.
; nfees LEC using fixed and moving window and echo suppressor.
; es Echo suppressor
;
;echocancel = off
;
; If nlec or wlec is selected than size of the fixed window in narrowband (8 kHz) sampling mode
; can be defined with:
; A value of 0 defaults to: 16 ms if type is nlec or 8 ms if type is wlec:
;
;echocancelfixedwindowsize = 0
;
; If wlec is selected than size of the moving window in narrowband (8 kHz) sampling mode
; can be defined with:
; A value of 0 defaults to 8 ms.
;
;echocancelnfemovingwindowsize = 0
;
; If wlec is selected than size of the moving window in wideband (16 kHz) sampling mode
; can be defined with:
; A value of 0 defaults to 8 ms.
;
;echocancelwidefixedwindowsize = 0
;
; Activate or deactivate line echo cancller NLP (Non Linear Processor) if the LEC is active,
; valid is on or off:
;
;echocancelnlp = off
;
;
;
; Jitter buffer valid types:
;
; fixed Fixed jitter buffer.
; adaptive Adaptive jitter buffer.
;
;jitterbuffertype = fixed
;
; Jitter buffer packet adaptation valid types:
;
; voice Jitter buffer optimized for voice.
; data Jitter buffer optimized for data.
; datanorep Jitter buffer optimized for data but without doing packet repetition.
;
;jitterbufferpackettype = voice
;
; Following jitter buffer values can only be used with jitter buffer adaptive type:
; Turns on or off jitter buffer adaptation:
;
;jitterbufferadaptation = off
;
; Scaling factor multiplied by 16; in adaptive jitter buffer mode, the target average playout delay is
; equal to the estimated jitter multiplied by the scaling factor. The default value for the scaling factor
; is about 1.4 (scaling=22), meaning that the target average playout delay is equal to the estimated
; jitter. If less packets should be dropped because of jitter, the scaling factor has to be increased. An
; increase in the scaling factor will eventually lead to an increased playout delay.
; The supported range is 1 to 16 (16 up to 256).
;
;jitterbufferscalling = 1
;
; Initial size of the jitter buffer in time stamps of 125 us:
;
;jitterbufferinitialsize = 125
;
; Minimum size of the jitter buffer in time stamps of 125 us
;
;jitterbufferminsize = 125
;
; Maximum size of the jitter buffer in time stamps of 125 us
;
;jitterbuffermaxsize = 125
;
;
;
; Caller id valid standards:
;
; telecordia Bellcore/Telcordia GR-30-CORE; use Bell202 FSK coding of CID information. (default)
; etsifsk ETSI 300-659-1/2/3 V1.3.1; use V.23 FSK coding to transmit CID information.
; etsidtmf ETSI 300-659-1/2/3 V1.3.1; use DTMF transmission of CID information.
; sin SIN 227 Issue 3.4; use V.23 FSK coding of CID information.
; ntt NTT standard: TELEPHONE SERVICE INTERFACES, edition 5; use a modified V.23 FSK coding of
; CID information.
; kpndtmf KPN; use DTMF transmission of CID information.
; kpndtmffsk KPN; use DTMF and FSK transmission of CID information.
;
;calleridtype = telecordia
;
;
;
; Voice activity detection:
;
; on Voice activity detection on; in this case also comfort noise and spectral
; information (nicer noise) is switched on.
; g711 Voice activity detection on with comfort noise generation,
; but without spectral information.
; cng Voice activity detection on with comfort noise generation, but without silence compression
; sc Voice activity detection on with silence compression,
; but without comfort noise generation.
;
;voiceactivitydetection = on
;
;
;
;