From patchwork Sat Apr 16 10:54:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 611339 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qnBD30G0Nz9t6B for ; Sat, 16 Apr 2016 20:56:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C4C5A920E9; Sat, 16 Apr 2016 10:56:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Czb1doN3OWcN; Sat, 16 Apr 2016 10:56:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 38D2492074; Sat, 16 Apr 2016 10:55:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6A1001C1514 for ; Sat, 16 Apr 2016 10:55:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 66BDAC01AA for ; Sat, 16 Apr 2016 10:55:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n3v31uGRFhzq for ; Sat, 16 Apr 2016 10:55:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 946C6C01A9 for ; Sat, 16 Apr 2016 10:55:24 +0000 (UTC) Received: from fwd39.aul.t-online.de (fwd39.aul.t-online.de [172.20.27.138]) by mailout05.t-online.de (Postfix) with SMTP id 8C9BA6391C2 for ; Sat, 16 Apr 2016 12:55:22 +0200 (CEST) Received: from fli4l.lan.fli4l (GoUVQ0ZXohkiZ8jVd+OySVTPI1RIMaTBngRh9opnDFK12py2JnIQE+EtuLPgdMJg1u@[84.191.204.39]) by fwd39.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1arNsn-0Kkdpw0; Sat, 16 Apr 2016 12:55:21 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:50372 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1arNsm-0007mb-7w; Sat, 16 Apr 2016 12:55:20 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 16 Apr 2016 12:54:53 +0200 Message-Id: <1460804118-4900-3-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.0.rc3 In-Reply-To: <1460804118-4900-1-git-send-email-bernd.kuhls@t-online.de> References: <1460804118-4900-1-git-send-email-bernd.kuhls@t-online.de> X-ID: GoUVQ0ZXohkiZ8jVd+OySVTPI1RIMaTBngRh9opnDFK12py2JnIQE+EtuLPgdMJg1u X-TOI-MSGID: ca1b18be-2320-4f80-bacd-8fa52d1a6ba0 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v14 02/27] package/freeswitch: enable optional modules X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" All these modules have no external dependencies. Signed-off-by: Bernd Kuhls --- package/freeswitch/freeswitch.mk | 80 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk index a6d5de3..95a992b 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -36,13 +36,6 @@ FREESWITCH_DEPENDENCIES = \ util-linux \ zlib -# freeswitch comes with pre-enabled modules, since we want to control -# the modules ourselves reset the upstream configuration -define FREESWITCH_RESET_MODULES - > $(@D)/modules.conf -endef -FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES - # we neither need host-perl nor host-php FREESWITCH_CONF_ENV += \ ac_cv_prog_PERL=false \ @@ -94,4 +87,77 @@ FREESWITCH_LICENSE_FILES += libs/libzrtp/src/zrtp_legal.c FREESWITCH_CONF_OPTS += --disable-zrtp endif +# Enable optional modules +FREESWITCH_ENABLED_MODULES += \ + applications/mod_avmd \ + applications/mod_blacklist \ + applications/mod_callcenter \ + applications/mod_commands \ + applications/mod_conference \ + applications/mod_curl \ + applications/mod_db \ + applications/mod_directory \ + applications/mod_dptools \ + applications/mod_easyroute \ + applications/mod_esf \ + applications/mod_esl \ + applications/mod_expr \ + applications/mod_fifo \ + applications/mod_fsk \ + applications/mod_hash \ + applications/mod_httapi \ + applications/mod_lcr \ + applications/mod_sms \ + applications/mod_snom \ + applications/mod_spandsp \ + applications/mod_spy \ + applications/mod_valet_parking \ + applications/mod_voicemail \ + codecs/mod_g723_1 \ + codecs/mod_g729 \ + dialplans/mod_dialplan_asterisk \ + dialplans/mod_dialplan_xml \ + endpoints/mod_loopback \ + endpoints/mod_rtc \ + endpoints/mod_rtmp \ + endpoints/mod_sofia \ + endpoints/mod_verto \ + event_handlers/mod_cdr_csv \ + event_handlers/mod_cdr_sqlite \ + event_handlers/mod_event_socket \ + formats/mod_local_stream \ + formats/mod_native_file \ + formats/mod_tone_stream \ + loggers/mod_console \ + loggers/mod_logfile \ + loggers/mod_syslog \ + say/mod_say_de \ + say/mod_say_en \ + say/mod_say_es \ + say/mod_say_es_ar \ + say/mod_say_fa \ + say/mod_say_fr \ + say/mod_say_he \ + say/mod_say_hr \ + say/mod_say_hu \ + say/mod_say_it \ + say/mod_say_ja \ + say/mod_say_nl \ + say/mod_say_pl \ + say/mod_say_pt \ + say/mod_say_ru \ + say/mod_say_sv \ + say/mod_say_th \ + say/mod_say_zh \ + xml_int/mod_xml_cdr \ + xml_int/mod_xml_rpc \ + xml_int/mod_xml_scgi + +define FREESWITCH_ENABLE_MODULES + $(Q)echo $(FREESWITCH_ENABLED_MODULES) \ + | tr ' ' '\n' \ + > $(@D)/modules.conf +endef +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES + $(eval $(autotools-package))