1
0
Fork 0

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 <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 10:16:56 +01:00
parent 6a8c646813
commit 7eca9cb333
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 5 additions and 5 deletions

4
debian/control vendored
View file

@ -17,7 +17,7 @@ Build-Depends:
libcap-dev, libcap-dev,
libelf-dev:native, libelf-dev:native,
libjson-c-dev, libjson-c-dev,
liblua5.3-dev <pkg.frr.lua>, liblua5.3-dev <!pkg.frr.nolua>,
libpam0g-dev, libpam0g-dev,
libpcre2-dev, libpcre2-dev,
libprotobuf-c-dev, libprotobuf-c-dev,
@ -28,7 +28,7 @@ Build-Depends:
libssh-dev <!pkg.frr.nortrlib>, libssh-dev <!pkg.frr.nortrlib>,
libunwind-dev [!alpha !m68k !sparc64 !x32], libunwind-dev [!alpha !m68k !sparc64 !x32],
libyang2-dev (>= 2.1.128), libyang2-dev (>= 2.1.128),
lua5.3 <pkg.frr.lua>, lua5.3 <!pkg.frr.nolua>,
pkgconf, pkgconf,
protobuf-c-compiler, protobuf-c-compiler,
python3-dev:native, python3-dev:native,

6
debian/rules vendored
View file

@ -21,10 +21,10 @@ else
CONF_RPKI=--disable-rpki CONF_RPKI=--disable-rpki
endif endif
ifeq ($(filter pkg.frr.lua,$(DEB_BUILD_PROFILES)),) ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),)
CONF_LUA=--disable-scripting
else
CONF_LUA=--enable-scripting CONF_LUA=--enable-scripting
else
CONF_LUA=--disable-scripting
endif endif
ifeq ($(filter pkg.frr.pim6d,$(DEB_BUILD_PROFILES)),) ifeq ($(filter pkg.frr.pim6d,$(DEB_BUILD_PROFILES)),)