Ticket #8132: packaging.patch

File packaging.patch, 22.7 KB (added by superm1@…, 7 years ago)

Packaging patch

  • patches/100-build_tools-iconv.patch

     
    1 diff -Nru asterisk-1.6.2.0-beta2.org/build_tools/menuselect-deps.in asterisk-1.6.2.0-beta2/build_tools/menuselect-deps.in 
    2 --- asterisk-1.6.2.0-beta2.org/build_tools/menuselect-deps.in   2009-01-15 21:18:53.000000000 +0100 
    3 +++ asterisk-1.6.2.0-beta2/build_tools/menuselect-deps.in       2009-06-04 19:37:42.000000000 +0200 
    4 @@ -11,7 +11,7 @@ 
    5  GTK=@PBX_GTK@ 
     1--- asterisk-1.8.0/build_tools/menuselect-deps.in.orig  2010-07-27 18:30:38.000000000 -0400 
     2+++ asterisk-1.8.0/build_tools/menuselect-deps.in       2010-10-26 00:28:45.989447002 -0400 
     3@@ -14,7 +14,7 @@ 
    64 H323=@PBX_H323@ 
    75 HOARD=@PBX_HOARD@ 
     6 ICAL=@PBX_ICAL@ 
    87-ICONV=@PBX_ICONV@ 
    98+ICONV=0 
    109 IKSEMEL=@PBX_IKSEMEL@ 
  • Makefile

     
    88include $(TOPDIR)/rules.mk 
    99 
    1010PKG_NAME:=asterisk 
    11 PKG_VERSION:=1.6.2.13 
     11PKG_VERSION:=1.8.0 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/ 
    16 PKG_MD5SUM:=1e184a4d9301e2e4b9de3bc98b507d4f 
     16PKG_MD5SUM:=83203b43aaf12f36bdc953d6b04d18a4 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
    1919 
    20 define Package/asterisk16/Default 
    21   SUBMENU:=asterisk16 (Complete Open Source PBX), v1.6.x 
     20define Package/asterisk18/Default 
     21  SUBMENU:=asterisk18 (Complete Open Source PBX), v1.8.x 
    2222  SECTION:=net 
    2323  CATEGORY:=Network 
    2424  URL:=http://www.asterisk.org/ 
    2525  MAINTAINER:=Hans Zandbelt <hans.zandbelt@gmail.com> 
    2626endef 
    2727 
    28 define Package/asterisk16/Default/description 
     28define Package/asterisk18/Default/description 
    2929 Asterisk is a complete PBX in software. It provides all of the features 
    3030 you would expect from a PBX and more. Asterisk does voice over IP in three 
    3131 protocols, and can interoperate with almost all standards-based telephony 
     
    3333endef 
    3434 
    3535 
    36 define Package/asterisk16 
    37 $(call Package/asterisk16/Default) 
     36define Package/asterisk18 
     37$(call Package/asterisk18/Default) 
    3838  TITLE:=Complete open source PBX 
    3939  DEPENDS:= +libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32 @!PACKAGE_asterisk14 
    4040endef 
    4141 
    42 define Package/asterisk16/description 
    43 $(call Package/asterisk16/Default/description) 
     42define Package/asterisk18/description 
     43$(call Package/asterisk18/Default/description) 
    4444endef 
    4545 
    46 define Package/asterisk16-sounds 
    47 $(call Package/asterisk16/Default) 
     46define Package/asterisk18-sounds 
     47$(call Package/asterisk18/Default) 
    4848  TITLE:=Sound files 
    49   DEPENDS:= +asterisk16 
     49  DEPENDS:= +asterisk18 
    5050endef 
    5151 
    52 define Package/asterisk16-sounds/description 
    53 $(call Package/asterisk16/Default/description) 
     52define Package/asterisk18-sounds/description 
     53$(call Package/asterisk18/Default/description) 
    5454 This package contains sound files for Asterisk. 
    5555endef 
    5656 
    5757 
    58 define Package/asterisk16-voicemail 
    59 $(call Package/asterisk16/Default) 
     58define Package/asterisk18-voicemail 
     59$(call Package/asterisk18/Default) 
    6060  TITLE:=Voicemail support 
    61   DEPENDS:= +asterisk16 
     61  DEPENDS:= +asterisk18 
    6262endef 
    6363 
    64 define Package/asterisk16-voicemail/description 
    65 $(call Package/asterisk16/Default/description) 
     64define Package/asterisk18-voicemail/description 
     65$(call Package/asterisk18/Default/description) 
    6666 This package contains voicemail related modules for Asterisk. 
    6767endef 
    6868 
    69 define Package/asterisk16-app-meetme 
    70 $(call Package/asterisk16/Default) 
     69define Package/asterisk18-app-meetme 
     70$(call Package/asterisk18/Default) 
    7171  TITLE:=conferencing support 
    72   DEPENDS:= +asterisk16 +dahdi-tools-libtonezone +kmod-dahdi-linux 
     72  DEPENDS:= +asterisk18 +dahdi-tools-libtonezone +kmod-dahdi-linux 
    7373endef 
    7474 
    75 define Package/asterisk16-app-meetme/description 
    76 $(call Package/asterisk16/Default/description) 
     75define Package/asterisk18-app-meetme/description 
     76$(call Package/asterisk18/Default/description) 
    7777 This package provides the MeetMe application driver Conferencing support to 
    7878 Asterisk. 
    7979endef 
    8080 
    81 define Package/asterisk16-chan-iax2 
    82 $(call Package/asterisk16/Default) 
     81define Package/asterisk18-chan-iax2 
     82$(call Package/asterisk18/Default) 
    8383  TITLE:=IAX support 
    84   DEPENDS:= +asterisk16 
     84  DEPENDS:= +asterisk18 
    8585endef 
    8686 
    87 define Package/asterisk16-chan-iax2/description 
    88 $(call Package/asterisk16/Default/description) 
     87define Package/asterisk18-chan-iax2/description 
     88$(call Package/asterisk18/Default/description) 
    8989 This package provides IAX support to 
    9090 Asterisk. 
    9191endef 
    9292 
    93 define Package/asterisk16-cdr 
    94 $(call Package/asterisk16/Default) 
     93define Package/asterisk18-cdr 
     94$(call Package/asterisk18/Default) 
    9595  TITLE:=CDR support 
    96   DEPENDS:= +asterisk16 
     96  DEPENDS:= +asterisk18 
    9797endef 
    9898 
    99 define Package/asterisk16-cdr/description 
    100 $(call Package/asterisk16/Default/description) 
     99define Package/asterisk18-cdr/description 
     100$(call Package/asterisk18/Default/description) 
    101101 This package provides Call Detail Record support to 
    102102 Asterisk. 
    103103endef 
    104104 
    105 define Package/asterisk16-res-musiconhold 
    106 $(call Package/asterisk16/Default) 
     105define Package/asterisk18-res-musiconhold 
     106$(call Package/asterisk18/Default) 
    107107  TITLE:=MOH support 
    108   DEPENDS:= +asterisk16 
     108  DEPENDS:= +asterisk18 
    109109endef 
    110110 
    111 define Package/asterisk16-res-musiconhold/description 
    112 $(call Package/asterisk16/Default/description) 
     111define Package/asterisk18-res-musiconhold/description 
     112$(call Package/asterisk18/Default/description) 
    113113 This package provides Music On Hold support to 
    114114 Asterisk. 
    115115endef 
    116116 
    117 define Package/asterisk16-chan-gtalk 
    118 $(call Package/asterisk16/Default) 
     117define Package/asterisk18-chan-gtalk 
     118$(call Package/asterisk18/Default) 
    119119  TITLE:=GTalk support 
    120   DEPENDS:= +asterisk16 +libiksemel 
     120  DEPENDS:= +asterisk18 +libiksemel 
    121121endef 
    122122 
    123 define Package/asterisk16-chan-gtalk/description 
    124 $(call Package/asterisk16/Default/description) 
     123define Package/asterisk18-chan-gtalk/description 
     124$(call Package/asterisk18/Default/description) 
    125125 This package provides the channel chan_gtalk and res_jabber for GTalk 
    126126 support to Asterisk. 
    127127endef 
    128128 
    129 define Package/asterisk16-curl 
    130 $(call Package/asterisk16/Default) 
     129define Package/asterisk18-curl 
     130$(call Package/asterisk18/Default) 
    131131  TITLE:=CURL support 
    132   DEPENDS:= +asterisk16 +libcurl 
     132  DEPENDS:= +asterisk18 +libcurl 
    133133endef 
    134134 
    135 define Package/asterisk16-curl/description 
    136 $(call Package/asterisk16/Default/description) 
     135define Package/asterisk18-curl/description 
     136$(call Package/asterisk18/Default/description) 
    137137 This package provides CURL 
    138138 support to Asterisk. 
    139139endef 
    140140  
    141 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk16-app-meetme),) 
     141ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),) 
    142142  CONFIGURE_ARGS+= \ 
    143143        --with-dahdi="$(STAGING_DIR)/usr" 
    144144else 
     
    146146        --without-dahdi 
    147147endif 
    148148 
    149 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk16-chan-gtalk),) 
     149ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),) 
    150150  CONFIGURE_ARGS+= \ 
    151151        --with-gnutls="$(STAGING_DIR)/usr" \ 
    152152        --with-iksemel="$(STAGING_DIR)/usr" 
     
    159159        --without-iksemel 
    160160endif 
    161161 
    162 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk16-curl),) 
     162ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),) 
    163163  CONFIGURE_ARGS+= \ 
    164164        --with-curl="$(STAGING_DIR)/usr" 
    165165else 
     
    228228#       $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/ 
    229229#endef 
    230230 
    231 define Package/asterisk16/conffiles 
     231define Package/asterisk18/conffiles 
    232232/etc/asterisk/asterisk.conf 
    233233/etc/asterisk/modules.conf 
    234234/etc/asterisk/extensions.conf 
     
    243243/etc/init.d/asterisk 
    244244endef 
    245245 
    246 define Package/asterisk16/install 
     246define Package/asterisk18/install 
    247247        $(INSTALL_DIR) $(1)/etc/asterisk 
    248248        for f in asterisk extensions features \ 
    249249                indications logger manager modules \ 
     
    267267        $(INSTALL_BIN)  ./files/asterisk.init $(1)/etc/init.d/asterisk 
    268268endef 
    269269 
    270 define Package/asterisk16-sounds/install 
     270define Package/asterisk18-sounds/install 
    271271        $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/ 
    272272        $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/ 
    273273        rm -f $(1)/usr/lib/asterisk/sounds/vm-* 
     
    275275endef 
    276276 
    277277 
    278 define Package/asterisk16-voicemail/conffiles 
     278define Package/asterisk18-voicemail/conffiles 
    279279/etc/asterisk/voicemail.conf 
    280280endef 
    281281 
    282 define Package/asterisk16-voicemail/install 
     282define Package/asterisk18-voicemail/install 
    283283        $(INSTALL_DIR) $(1)/etc/asterisk 
    284284        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/ 
    285285        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     
    289289        $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/ 
    290290endef 
    291291 
    292 define Package/asterisk16-app-meetme/conffiles 
     292define Package/asterisk18-app-meetme/conffiles 
    293293/etc/asterisk/meetme.conf 
    294294endef 
    295295 
    296 define Package/asterisk16-app-meetme/install 
     296define Package/asterisk18-app-meetme/install 
    297297        $(INSTALL_DIR) $(1)/etc/asterisk 
    298298        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/ 
    299299        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     
    303303        $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/ 
    304304endef 
    305305 
    306 define Package/asterisk16-chan-iax2/conffiles 
     306define Package/asterisk18-chan-iax2/conffiles 
    307307/etc/asterisk/iax.conf 
    308308/etc/asterisk/iaxprov.conf 
    309309endef 
    310310 
    311 define Package/asterisk16-cdr/conffiles 
     311define Package/asterisk18-cdr/conffiles 
    312312/etc/asterisk/cdr.conf 
    313313/etc/asterisk/cdr_custom.conf 
    314314/etc/asterisk/cdr_manager.conf 
     
    317317/etc/asterisk/cdr_tds.conf 
    318318endef 
    319319 
    320 define Package/asterisk16-res-musiconhold/conffiles 
     320define Package/asterisk18-res-musiconhold/conffiles 
    321321/etc/asterisk/musiconhold.conf 
    322322endef 
    323323 
    324 define Package/asterisk16-chan-iax2/install 
     324define Package/asterisk18-chan-iax2/install 
    325325        $(INSTALL_DIR) $(1)/etc/asterisk 
    326326        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/ 
    327327        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/ 
     
    329329        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/ 
    330330endef 
    331331 
    332 define Package/asterisk16-cdr/install 
     332define Package/asterisk18-cdr/install 
    333333        $(INSTALL_DIR) $(1)/etc/asterisk 
    334334        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/ 
    335335        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
    336336        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/ 
    337337endef 
    338338 
    339 define Package/asterisk16-res-musiconhold/install 
     339define Package/asterisk18-res-musiconhold/install 
    340340        $(INSTALL_DIR) $(1)/etc/asterisk 
    341341        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/ 
    342342        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
    343343        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/ 
    344344endef 
    345345 
    346 define Package/asterisk16-chan-gtalk/conffiles 
     346define Package/asterisk18-chan-gtalk/conffiles 
    347347/etc/asterisk/gtalk.conf 
    348348/etc/asterisk/jabber.conf 
    349349endef 
    350350 
    351 define Package/asterisk16-chan-gtalk/install 
     351define Package/asterisk18-chan-gtalk/install 
    352352        $(INSTALL_DIR) $(1)/etc/asterisk 
    353353        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/ 
    354354        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/ 
     
    357357        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/ 
    358358endef 
    359359 
    360 define Package/asterisk16-curl/install 
     360define Package/asterisk18-curl/install 
    361361        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
    362362        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/ 
    363363        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/ 
    364364endef 
    365365 
    366 define BuildAsterisk16ModuleTemplate 
     366define Buildasterisk18ModuleTemplate 
    367367 
    368   define Package/asterisk16-$(subst _,-,$(1)) 
    369   $$(call Package/asterisk16/Default) 
     368  define Package/asterisk18-$(subst _,-,$(1)) 
     369  $$(call Package/asterisk18/Default) 
    370370    TITLE:=$(2) support 
    371     DEPENDS:= +asterisk16 
     371    DEPENDS:= +asterisk18 
    372372  endef 
    373373 
    374   define Package/asterisk16-$(subst _,-,$(1))/description 
    375   $$(call Package/asterisk16/Default/description) 
     374  define Package/asterisk18-$(subst _,-,$(1))/description 
     375  $$(call Package/asterisk18/Default/description) 
    376376    This package provides support $(3) in Asterisk. 
    377377  endef 
    378378 
    379   define Package/asterisk16-$(subst _,-,$(1))/install 
     379  define Package/asterisk18-$(subst _,-,$(1))/install 
    380380        $(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules 
    381381        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/ 
    382382  endef 
    383383 
    384   $$(eval $$(call BuildPackage,asterisk16-$(subst _,-,$(1)))) 
     384  $$(eval $$(call BuildPackage,asterisk18-$(subst _,-,$(1)))) 
    385385endef 
    386386 
    387 $(eval $(call BuildPackage,asterisk16)) 
    388 $(eval $(call BuildPackage,asterisk16-voicemail)) 
    389 $(eval $(call BuildPackage,asterisk16-sounds)) 
    390 #$(eval $(call BuildPackage,asterisk16-app-meetme)) 
    391 $(eval $(call BuildPackage,asterisk16-chan-iax2)) 
    392 $(eval $(call BuildPackage,asterisk16-cdr)) 
    393 $(eval $(call BuildPackage,asterisk16-res-musiconhold)) 
    394 $(eval $(call BuildPackage,asterisk16-chan-gtalk)) 
    395 $(eval $(call BuildPackage,asterisk16-curl)) 
    396 $(eval $(call BuildAsterisk16ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands)) 
    397 $(eval $(call BuildAsterisk16ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available)) 
    398 $(eval $(call BuildAsterisk16ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel)) 
    399 $(eval $(call BuildAsterisk16ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup)) 
    400 $(eval $(call BuildAsterisk16ModuleTemplate,app_exec,Exec application,support for application execution)) 
    401 $(eval $(call BuildAsterisk16ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system)) 
    402 $(eval $(call BuildAsterisk16ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable)) 
    403 $(eval $(call BuildAsterisk16ModuleTemplate,app_read,Variable read,a trivial application to read a variable)) 
    404 $(eval $(call BuildAsterisk16ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time)) 
    405 $(eval $(call BuildAsterisk16ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1))) 
    406 $(eval $(call BuildAsterisk16ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc.)) 
    407 $(eval $(call BuildAsterisk16ModuleTemplate,app_system,System exec,support for executing system commands)) 
    408 $(eval $(call BuildAsterisk16ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect)) 
    409 $(eval $(call BuildAsterisk16ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch)) 
    410 $(eval $(call BuildAsterisk16ModuleTemplate,app_while,While loop,a while loop implementation)) 
    411 $(eval $(call BuildAsterisk16ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel)) 
    412 $(eval $(call BuildAsterisk16ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel)) 
    413 $(eval $(call BuildAsterisk16ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs)) 
    414 $(eval $(call BuildAsterisk16ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs)) 
    415 $(eval $(call BuildAsterisk16ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs)) 
    416 $(eval $(call BuildAsterisk16ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format)) 
    417 $(eval $(call BuildAsterisk16ModuleTemplate,format_g729,G.729,support for raw headerless G729 data)) 
    418 $(eval $(call BuildAsterisk16ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format)) 
    419 $(eval $(call BuildAsterisk16ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format)) 
    420 $(eval $(call BuildAsterisk16ModuleTemplate,func_db,Database interaction,functions for interaction with the database)) 
    421 $(eval $(call BuildAsterisk16ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights)) 
    422 $(eval $(call BuildAsterisk16ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function)) 
    423 $(eval $(call BuildAsterisk16ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control)) 
    424 $(eval $(call BuildAsterisk16ModuleTemplate,func_global,Global variable,global variable dialplan functions)) 
    425 $(eval $(call BuildAsterisk16ModuleTemplate,func_shell,Shell,support for shell execution)) 
    426 $(eval $(call BuildAsterisk16ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic)) 
    427 $(eval $(call BuildAsterisk16ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules)) 
    428 $(eval $(call BuildAsterisk16ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support)) 
    429 $(eval $(call BuildAsterisk16ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension)) 
    430 $(eval $(call BuildAsterisk16ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID)) 
    431 $(eval $(call BuildAsterisk16ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid)) 
    432 $(eval $(call BuildAsterisk16ModuleTemplate,app_verbose,Verbose logging,Verbose logging application)) 
    433 $(eval $(call BuildAsterisk16ModuleTemplate,func_channel,Channel info,Channel info dialplan function)) 
    434 $(eval $(call BuildAsterisk16ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number, and see if it is blacklisted)) 
     387$(eval $(call BuildPackage,asterisk18)) 
     388$(eval $(call BuildPackage,asterisk18-voicemail)) 
     389$(eval $(call BuildPackage,asterisk18-sounds)) 
     390#$(eval $(call BuildPackage,asterisk18-app-meetme)) 
     391$(eval $(call BuildPackage,asterisk18-chan-iax2)) 
     392$(eval $(call BuildPackage,asterisk18-cdr)) 
     393$(eval $(call BuildPackage,asterisk18-res-musiconhold)) 
     394$(eval $(call BuildPackage,asterisk18-chan-gtalk)) 
     395$(eval $(call BuildPackage,asterisk18-curl)) 
     396$(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands)) 
     397$(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available)) 
     398$(eval $(call Buildasterisk18ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel)) 
     399$(eval $(call Buildasterisk18ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup)) 
     400$(eval $(call Buildasterisk18ModuleTemplate,app_exec,Exec application,support for application execution)) 
     401$(eval $(call Buildasterisk18ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system)) 
     402$(eval $(call Buildasterisk18ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable)) 
     403$(eval $(call Buildasterisk18ModuleTemplate,app_read,Variable read,a trivial application to read a variable)) 
     404$(eval $(call Buildasterisk18ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time)) 
     405$(eval $(call Buildasterisk18ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1))) 
     406$(eval $(call Buildasterisk18ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc.)) 
     407$(eval $(call Buildasterisk18ModuleTemplate,app_system,System exec,support for executing system commands)) 
     408$(eval $(call Buildasterisk18ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect)) 
     409$(eval $(call Buildasterisk18ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch)) 
     410$(eval $(call Buildasterisk18ModuleTemplate,app_while,While loop,a while loop implementation)) 
     411$(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel)) 
     412$(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel)) 
     413$(eval $(call Buildasterisk18ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs)) 
     414$(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs)) 
     415$(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs)) 
     416$(eval $(call Buildasterisk18ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format)) 
     417$(eval $(call Buildasterisk18ModuleTemplate,format_g729,G.729,support for raw headerless G729 data)) 
     418$(eval $(call Buildasterisk18ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format)) 
     419$(eval $(call Buildasterisk18ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format)) 
     420$(eval $(call Buildasterisk18ModuleTemplate,func_db,Database interaction,functions for interaction with the database)) 
     421$(eval $(call Buildasterisk18ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights)) 
     422$(eval $(call Buildasterisk18ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function)) 
     423$(eval $(call Buildasterisk18ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control)) 
     424$(eval $(call Buildasterisk18ModuleTemplate,func_global,Global variable,global variable dialplan functions)) 
     425$(eval $(call Buildasterisk18ModuleTemplate,func_shell,Shell,support for shell execution)) 
     426$(eval $(call Buildasterisk18ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic)) 
     427$(eval $(call Buildasterisk18ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules)) 
     428$(eval $(call Buildasterisk18ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support)) 
     429$(eval $(call Buildasterisk18ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension)) 
     430$(eval $(call Buildasterisk18ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID)) 
     431$(eval $(call Buildasterisk18ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid)) 
     432$(eval $(call Buildasterisk18ModuleTemplate,app_verbose,Verbose logging,Verbose logging application)) 
     433$(eval $(call Buildasterisk18ModuleTemplate,func_channel,Channel info,Channel info dialplan function)) 
     434$(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number, and see if it is blacklisted))