From patchwork Sun Apr 17 15:24:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 611444 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 3qnw7s6ySFz9t3g for ; Mon, 18 Apr 2016 01:25:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EAAC18CE10; Sun, 17 Apr 2016 15:25:12 +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 YMZNkdlR7pXm; Sun, 17 Apr 2016 15:25:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3C9898C658; Sun, 17 Apr 2016 15:25:05 +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 265A01C1F52 for ; Sun, 17 Apr 2016 15:24:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2131787E19 for ; Sun, 17 Apr 2016 15:24:59 +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 a5aINNF5eAOf for ; Sun, 17 Apr 2016 15:24:57 +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 78ED687D2A for ; Sun, 17 Apr 2016 15:24:57 +0000 (UTC) Received: from fwd14.aul.t-online.de (fwd14.aul.t-online.de [172.20.26.242]) by mailout05.t-online.de (Postfix) with SMTP id 44830560A37 for ; Sun, 17 Apr 2016 17:24:55 +0200 (CEST) Received: from fli4l.lan.fli4l (bHtSgGZ1Qhdd1QARUOvKZAdSDCVrS8NY86izf9zduevtaQfwvY0kUcQikFDLOS2QF8@[84.191.213.191]) by fwd14.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aroZA-0wT5kG0; Sun, 17 Apr 2016 17:24:52 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:42030 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1aroZ9-0000vq-Tt; Sun, 17 Apr 2016 17:24:52 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 17 Apr 2016 17:24:24 +0200 Message-Id: <1460906689-29900-3-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.0.rc3 In-Reply-To: <1460906689-29900-1-git-send-email-bernd.kuhls@t-online.de> References: <1460906689-29900-1-git-send-email-bernd.kuhls@t-online.de> X-ID: bHtSgGZ1Qhdd1QARUOvKZAdSDCVrS8NY86izf9zduevtaQfwvY0kUcQikFDLOS2QF8 X-TOI-MSGID: 9f1a3c00-a664-456e-bdb5-e1397196f59d Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v15 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 4b9e956..560ca17 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -37,13 +37,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 @@ else 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))