summaryrefslogtreecommitdiffstats
path: root/debianpkg
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-06-27 17:24:51 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-08 23:24:58 +0200
commit7134904b1fe1475da5ca9667e47407e8e1ce35a9 (patch)
treefab4043e18a19b3198a41c6af1fb80962c8c57b6 /debianpkg
parentbfdd: imported new daemon source code (diff)
downloadfrr-7134904b1fe1475da5ca9667e47407e8e1ce35a9.tar.xz
frr-7134904b1fe1475da5ca9667e47407e8e1ce35a9.zip
bfdd: wire to the build process
Add BFD daemon to the build process and packaging instructions. Currently the bfdd daemon does nothing, this is just to document how the daemon insertion step occured. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'debianpkg')
-rwxr-xr-xdebianpkg/backports/ubuntu12.04/debian/rules1
-rwxr-xr-xdebianpkg/backports/ubuntu14.04/debian/rules8
-rwxr-xr-xdebianpkg/rules8
3 files changed, 17 insertions, 0 deletions
diff --git a/debianpkg/backports/ubuntu12.04/debian/rules b/debianpkg/backports/ubuntu12.04/debian/rules
index 01ad81d37..3a6c80297 100755
--- a/debianpkg/backports/ubuntu12.04/debian/rules
+++ b/debianpkg/backports/ubuntu12.04/debian/rules
@@ -134,6 +134,7 @@ override_dh_auto_configure:
--enable-poll=yes \
$(USE_CUMULUS) \
$(USE_PIM) \
+ --disable-bfdd \
--enable-dependency-tracking \
$(USE_BGP_VNC) \
$(shell dpkg-buildflags --export=configure); \
diff --git a/debianpkg/backports/ubuntu14.04/debian/rules b/debianpkg/backports/ubuntu14.04/debian/rules
index f7b942865..f7468d6f7 100755
--- a/debianpkg/backports/ubuntu14.04/debian/rules
+++ b/debianpkg/backports/ubuntu14.04/debian/rules
@@ -16,6 +16,7 @@ WANT_CUMULUS_MODE ?= 0
WANT_MULTIPATH ?= 1
WANT_SNMP ?= 0
WANT_RPKI ?= 0
+WANT_BFD ?= 1
# NOTES:
#
@@ -108,6 +109,12 @@ else
USE_RPKI=--disable-rpki
endif
+ifeq ($(WANT_BFD), 1)
+ USE_BFD=--enable-bfdd
+else
+ USE_BFD=--disable-bfdd
+endif
+
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
DEBIAN_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
@@ -159,6 +166,7 @@ override_dh_auto_configure:
--enable-dependency-tracking \
$(USE_BGP_VNC) \
$(USE_RPKI) \
+ $(USE_BFD) \
$(shell dpkg-buildflags --export=configure); \
fi
diff --git a/debianpkg/rules b/debianpkg/rules
index 9c84c0651..c1cb86549 100755
--- a/debianpkg/rules
+++ b/debianpkg/rules
@@ -16,6 +16,7 @@ WANT_CUMULUS_MODE ?= 0
WANT_MULTIPATH ?= 1
WANT_SNMP ?= 0
WANT_RPKI ?= 0
+WANT_BFD ?= 1
# NOTES:
#
@@ -108,6 +109,12 @@ else
USE_RPKI=--disable-rpki
endif
+ifeq ($(WANT_BFD), 1)
+ USE_BFD=--enable-bfdd
+else
+ USE_BFD=--disable-bfdd
+endif
+
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
DEBIAN_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
@@ -160,6 +167,7 @@ override_dh_auto_configure:
--enable-dependency-tracking \
$(USE_BGP_VNC) \
$(USE_RPKI) \
+ $(USE_BFD) \
$(shell dpkg-buildflags --export=configure); \
fi