From 352a5d68916cfbfc2f7a867edd037f56c175d349 Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Mon, 9 Oct 2017 02:33:11 -0700 Subject: [PATCH] debianpkg: Always build FPM module - FPM is a module since 3.0. Always build it and allow user choice to enable or disable it Signed-off-by: Martin Winter --- debianpkg/backports/ubuntu12.04/debian/rules | 13 +------------ debianpkg/backports/ubuntu14.04/debian/rules | 13 +------------ debianpkg/rules | 13 +------------ 3 files changed, 3 insertions(+), 36 deletions(-) diff --git a/debianpkg/backports/ubuntu12.04/debian/rules b/debianpkg/backports/ubuntu12.04/debian/rules index d44a0c518c..7cafadcc49 100755 --- a/debianpkg/backports/ubuntu12.04/debian/rules +++ b/debianpkg/backports/ubuntu12.04/debian/rules @@ -11,7 +11,6 @@ # export WANT_PIM=1 # export WANT_OSPFAPI=1 # export WANT_TCP_ZEBRA=0 -# export WANT_FPM=0 # export WANT_BGP_VNC=0 # export WANT_CUMULUS_MODE=0 # export WANT_MULTIPATH=1 @@ -56,16 +55,6 @@ else USE_OSPFAPI=--enable-ospfapi=no endif -ifeq ($(WANT_FPM), 1) - USE_FPM=---enable-fpm - ifneq ($(WANT_TCP_ZEBRA),1) - $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)") - export WANT_TCP_ZEBRA=1 - endif -else - USE_FPM=--disable-fpm -endif - ifeq ($(WANT_TCP_ZEBRA),1) USE_TCP_ZEBRA=--enable-tcp-zebra endif @@ -137,7 +126,7 @@ override_dh_auto_configure: $(USE_MULTIPATH) \ $(USE_LDP) \ $(USE_TCP_ZEBRA) \ - $(USE_FPM) \ + --enable-fpm \ $(USE_FRR_USER) $(USE_FRR_GROUP) \ $(USE_FRR_VTY_GROUP) \ --enable-configfile-mask=0640 \ diff --git a/debianpkg/backports/ubuntu14.04/debian/rules b/debianpkg/backports/ubuntu14.04/debian/rules index b649335188..4d9a22046c 100755 --- a/debianpkg/backports/ubuntu14.04/debian/rules +++ b/debianpkg/backports/ubuntu14.04/debian/rules @@ -11,7 +11,6 @@ # export WANT_PIM=1 # export WANT_OSPFAPI=1 # export WANT_TCP_ZEBRA=0 -# export WANT_FPM=0 # export WANT_BGP_VNC=0 # export WANT_CUMULUS_MODE=0 # export WANT_MULTIPATH=1 @@ -56,16 +55,6 @@ else USE_OSPFAPI=--enable-ospfapi=no endif -ifeq ($(WANT_FPM), 1) - USE_FPM=---enable-fpm - ifneq ($(WANT_TCP_ZEBRA),1) - $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)") - export WANT_TCP_ZEBRA=1 - endif -else - USE_FPM=--disable-fpm -endif - ifeq ($(WANT_TCP_ZEBRA),1) USE_TCP_ZEBRA=--enable-tcp-zebra endif @@ -137,7 +126,7 @@ override_dh_auto_configure: $(USE_MULTIPATH) \ $(USE_LDP) \ $(USE_TCP_ZEBRA) \ - $(USE_FPM) \ + --enable-fpm \ $(USE_FRR_USER) $(USE_FRR_GROUP) \ $(USE_FRR_VTY_GROUP) \ --enable-configfile-mask=0640 \ diff --git a/debianpkg/rules b/debianpkg/rules index 413a664014..fb5512bac9 100755 --- a/debianpkg/rules +++ b/debianpkg/rules @@ -11,7 +11,6 @@ # export WANT_PIM=1 # export WANT_OSPFAPI=1 # export WANT_TCP_ZEBRA=0 -# export WANT_FPM=0 # export WANT_BGP_VNC=0 # export WANT_CUMULUS_MODE=0 # export WANT_MULTIPATH=1 @@ -56,16 +55,6 @@ else USE_OSPFAPI=--enable-ospfapi=no endif -ifeq ($(WANT_FPM), 1) - USE_FPM=---enable-fpm - ifneq ($(WANT_TCP_ZEBRA),1) - $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)") - export WANT_TCP_ZEBRA=1 - endif -else - USE_FPM=--disable-fpm -endif - ifeq ($(WANT_TCP_ZEBRA),1) USE_TCP_ZEBRA=--enable-tcp-zebra endif @@ -137,7 +126,7 @@ override_dh_auto_configure: $(USE_MULTIPATH) \ $(USE_LDP) \ $(USE_TCP_ZEBRA) \ - $(USE_FPM) \ + --enable-fpm \ $(USE_FRR_USER) $(USE_FRR_GROUP) \ $(USE_FRR_VTY_GROUP) \ --enable-configfile-mask=0640 \ -- 2.39.5