Commit ca971920 authored by Ronan's avatar Ronan

feat(flexisip): deal with JweAuth plugin

parent 6351627a
......@@ -46,6 +46,9 @@ endif()
if(ENABLE_REDIS)
lcb_dependencies("hiredis")
endif()
if(ENABLE_JWE_AUTH_PLUGIN)
lcb_dependencies("jose")
endif()
lcb_cmake_options(
"-DENABLE_TRANSCODER=${ENABLE_TRANSCODER}"
......@@ -59,5 +62,5 @@ lcb_cmake_options(
"-DENABLE_DOC=${ENABLE_DOC}"
"-DENABLE_PROTOBUF=${ENABLE_PROTOBUF}"
"-DENABLE_MDNS=${ENABLE_MDNS}"
"-DENABLE_JWE_AUTH_PLUGIN=${ENABLE_JWE_AUTH_PLUGIN}"
)
############################################################################
# jansson.cmake
# Copyright (C) 2018 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
############################################################################
lcb_git_repository("git@gitlab.linphone.org:BC/public/external/jansson.git")
lcb_external_source_paths("externals/jansson")
lcb_may_be_found_on_system(YES)
############################################################################
# jose.cmake
# Copyright (C) 2018 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
############################################################################
lcb_git_repository("git@gitlab.linphone.org:BC/public/external/jose.git")
lcb_external_source_paths("externals/jose")
lcb_may_be_found_on_system(YES)
lcb_dependencies("jansson")
......@@ -29,6 +29,7 @@ set(DEFAULT_VALUE_ENABLE_CONFERENCE OFF)
set(DEFAULT_VALUE_ENABLE_SNMP ON)
set(DEFAULT_VALUE_ENABLE_POLARSSL ON)
set(DEFAULT_VALUE_ENABLE_PROTOBUF OFF)
set(DEFAULT_VALUE_ENABLE_JWE_AUTH_PLUGIN OFF)
set(DEFAULT_VALUE_ENABLE_VCARD OFF)
set(DEFAULT_VALUE_ENABLE_VIDEO OFF)
......@@ -91,4 +92,3 @@ if(ENABLE_CONFERENCE)
"-DENABLE_UNIT_TESTS=${ENABLE_UNIT_TESTS}"
)
endif()
......@@ -29,3 +29,4 @@ lcb_add_option("Conference" "Enable conference server support." "${DEFAULT_VALUE
lcb_add_option("SNMP" "Enable SNMP support." "${DEFAULT_ENABLE_SNMP}")
lcb_add_option("Transcoder" "Enable transcoder support." "${DEFAULT_ENABLE_TRANSCODER}")
lcb_add_option("PROTOBUF" "Enable protobuf for REDIS." "${DEFAULT_ENABLE_PROTOBUF}" "ENABLE_PROTOBUF" OFF)
lcb_add_option("JweAuth" "Enable JweAuth plugin support." "${DEFAULT_VALUE_ENABLE_JWE_AUTH_PLUGIN}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment