summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-12-08 17:28:01 +0100
committerQuentin Young <qlyoung@nvidia.com>2020-12-08 17:28:01 +0100
commitbcccb2248dfe4bee9d0eae2e36c9af2c902fd262 (patch)
tree651c1cf8db00f4bcbe3f873acf3ecf7021757b11 /debian
parentbuild: fix default scriptdir path (diff)
downloadfrr-bcccb2248dfe4bee9d0eae2e36c9af2c902fd262.tar.xz
frr-bcccb2248dfe4bee9d0eae2e36c9af2c902fd262.zip
debian: clean up packaging stuff for scripting
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules7
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index a5e22466c..f0ad02d15 100644
--- a/debian/control
+++ b/debian/control
@@ -29,8 +29,8 @@ Build-Depends: bison,
python3-dev,
python3-pytest <!nocheck>,
python3-sphinx,
- liblua5.3-dev,
- texinfo (>= 4.7)
+ texinfo (>= 4.7),
+ liblua5.3-dev <!pkg.frr.nolua>
Standards-Version: 4.5.0.3
Homepage: https://www.frrouting.org/
Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master
diff --git a/debian/rules b/debian/rules
index 6cc03c378..2fd5bc75e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,12 @@ else
CONF_SYSTEMD=--enable-systemd=no
endif
+ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),)
+ CONF_LUA=--enable-scripting
+else
+ CONF_LUA=--disable-scripting
+endif
+
export PYTHON=python3
%:
@@ -49,6 +55,7 @@ override_dh_auto_configure:
\
$(CONF_SYSTEMD) \
$(CONF_RPKI) \
+ $(CONF_LUA) \
--with-libpam \
--enable-doc \
--enable-doc-html \