diff options
author | Daniel Baumann <daniel@debian.org> | 2024-11-12 14:53:17 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-12 14:55:31 +0100 |
commit | 2b7af42f0d1e2a4400c53259d3cb7525c0f9eea2 (patch) | |
tree | 8f4bae2f47704cef865c375ddb7b9690563545cd | |
parent | Releasing debian version 10.1.1-2. (diff) | |
download | frr-2b7af42f0d1e2a4400c53259d3cb7525c0f9eea2.tar.xz frr-2b7af42f0d1e2a4400c53259d3cb7525c0f9eea2.zip |
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>
-rw-r--r-- | debian/control | 4 | ||||
-rwxr-xr-x | debian/rules | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/control b/debian/control index 802bcecb..7bfc99dc 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: libcap-dev, libelf-dev:native, libjson-c-dev, - liblua5.3-dev <pkg.frr.lua>, + liblua5.3-dev <!pkg.frr.nolua>, libpam0g-dev, libpcre2-dev, libprotobuf-c-dev, @@ -28,7 +28,7 @@ Build-Depends: libssh-dev <!pkg.frr.nortrlib>, libunwind-dev [!alpha !m68k !sparc64 !x32], libyang2-dev (>= 2.1.128), - lua5.3 <pkg.frr.lua>, + lua5.3 <!pkg.frr.nolua>, pkgconf, protobuf-c-compiler, python3-dev:native, diff --git a/debian/rules b/debian/rules index 4d31d760..b4d51bb7 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)),) |