Just distributing it in binary form, linked against OpenSSL, is forbidden.
+* Debian Policy compliance notes
+================================
+
+- 4.15 Reproducibility
+ FRR build is reproducible as outlined in version 4.2.1 of the Policy, but
+ won't be reproducible when the build directory is varied. This is because
+ configure parameters are burned into the executables which includes CFLAGS
+ like -fdebug-prefix-map=/build/directory/...
+
+
* Daemon selection:
===================
+#
+# TODO
+#
+
+- check that tests/{control,daemons} actually do something useful and sensible
+- /usr/share/doc/frr-doc should be named just frr?
+- debian/watch pgpsigurlmangle / signing-key
+- multiarch for DSOs?
+- frr try-restart
+
#
# To check if the patches still apply on new upstream versions:
#
Priority: optional
Maintainer: Nobody <nobody@frrouting.org>
Uploaders: Nobody <nobody@frrouting.org>
-XSBC-Original-Maintainer: <maintainers@frrouting.org>
Build-Depends:
autotools-dev,
bison,
python (>= 2.7) | python3,
python-sphinx | python3-sphinx,
texinfo (>= 4.7)
-Standards-Version: 3.9.6
+Standards-Version: 4.2.1
Homepage: http://www.frrouting.org/
+Vcs-Browser: https://github.com/FRRouting/frr/
+Vcs-Git: https://github.com/FRRouting/frr.git
Package: frr
Architecture: any
logrotate (>= 3.2-11)
Pre-Depends: adduser
Recommends: frr-pythontools
+Suggests: frr-doc
Conflicts: zebra, zebra-pj, quagga
Replaces: zebra, zebra-pj
Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon forked from Quagga
Depends:
${misc:Depends},
frr (= ${binary:Version})
-Priority: extra
+Priority: optional
Section: debug
Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (debug symbols)
This package provides debugging symbols for all binary packages built
adduser \
--system \
--ingroup frr \
- --home /var/run/frr/ \
+ --home /nonexistent \
--gecos "Frr routing suite" \
--shell /bin/false \
frr >/dev/null
#
####################################
-export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DH_OPTIONS=-v
ifeq ($(WANT_OSPFAPI), 1)
USE_OSPFAPI=--enable-ospfapi=yes
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
DEBIAN_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
-
ifdef DEBIAN_JOBS
MAKEFLAGS += -j$(DEBIAN_JOBS)
endif
+ifneq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
+MAKE_SILENT="V=0"
+export DH_VERBOSE=0
+else
+MAKE_SILENT="V=1"
+export DH_VERBOSE=1
+export DH_OPTIONS=-v
+endif
+
#
# build profiles
#
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ USE_DOC=--enable-doc
+else
+ USE_DOC=--disable-doc
+endif
+
ifeq ($(filter pkg.frr.rtrlib,$(DEB_BUILD_PROFILES)),)
USE_RPKI=--disable-rpki
else
--localstatedir=/var/run/frr \
--sbindir=/usr/lib/frr \
--sysconfdir=/etc/frr \
+ --with-vtysh-pager=/usr/bin/pager \
+ $(USE_DOC) \
$(USE_SNMP) \
$(USE_OSPFAPI) \
$(USE_MULTIPATH) \
rm debian/tmp/usr/lib/frr/modules/*.la
rm debian/tmp/usr/lib/frr/libyang_plugins/*.la
+override_dh_auto_build:
+ dh_auto_build -- $(MAKE_SILENT)
+
override_dh_auto_clean:
# we generally do NOT want a full distclean since that wipes both
# debianpkg/changelog and config.version