${misc:Depends},
frr (<< ${source:Upstream-Version}.0-~),
frr (>= ${source:Version}~),
- python (>= 2.7) | python3,
- python-ipaddr | python-ipaddress
+ python3:any
Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (Python Tools)
This package includes info files for frr, a free software which manages
TCP/IP based routing protocols. It supports BGP4, BGP4+, OSPFv2, OSPFv3,
USE_SYSTEMD=--enable-systemd=no
endif
+export PYTHON=python3
+
%:
dh $@ --with=$(DH_WITH_SYSTEMD)autoreconf --parallel --dbg-package=frr-dbg
override_dh_auto_install:
dh_auto_install
- # installed in frr-pythontools
- rm debian/tmp/usr/lib/frr/frr-reload.py
+ sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/frr-reload.py
# let dh_systemd_* and dh_installinit do their thing automatically
ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),)