From 7eca9cb333c72b6f64d13dea5f3e1daa51ac0622 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 5 Feb 2025 10:16:56 +0100 Subject: [PATCH] Changing lua build-profile to match its original intendet purpose of enabling scripting support by default but allowing to exclude it if needed. Signed-off-by: Daniel Baumann --- debian/control | 4 ++-- debian/rules | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 802bcec..7bfc99d 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: libcap-dev, libelf-dev:native, libjson-c-dev, - liblua5.3-dev , + liblua5.3-dev , libpam0g-dev, libpcre2-dev, libprotobuf-c-dev, @@ -28,7 +28,7 @@ Build-Depends: libssh-dev , libunwind-dev [!alpha !m68k !sparc64 !x32], libyang2-dev (>= 2.1.128), - lua5.3 , + lua5.3 , pkgconf, protobuf-c-compiler, python3-dev:native, diff --git a/debian/rules b/debian/rules index 4d31d76..b4d51bb 100755 --- a/debian/rules +++ b/debian/rules @@ -21,10 +21,10 @@ else CONF_RPKI=--disable-rpki endif -ifeq ($(filter pkg.frr.lua,$(DEB_BUILD_PROFILES)),) - CONF_LUA=--disable-scripting -else +ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),) CONF_LUA=--enable-scripting +else + CONF_LUA=--disable-scripting endif ifeq ($(filter pkg.frr.pim6d,$(DEB_BUILD_PROFILES)),)