mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
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 <mwinter@opensourcerouting.org>
This commit is contained in:
parent
979bf74e97
commit
23b53dca77
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user