]> git.puffer.fish Git - mirror/frr.git/commitdiff
debianpkg: add & document lintian overrides
authorDavid Lamparter <equinox@diac24.net>
Thu, 25 Oct 2018 18:44:42 +0000 (20:44 +0200)
committerDavid Lamparter <equinox@diac24.net>
Fri, 18 Jan 2019 14:36:40 +0000 (15:36 +0100)
Signed-off-by: David Lamparter <equinox@diac24.net>
debianpkg/frr-dbg.lintian-overrides [new file with mode: 0644]
debianpkg/frr-rpki-rtrlib.lintian-overrides [new file with mode: 0644]
debianpkg/frr-snmp.lintian-overrides
debianpkg/frr.lintian-overrides
debianpkg/source/lintian-overrides [new file with mode: 0644]
debianpkg/subdir.am

diff --git a/debianpkg/frr-dbg.lintian-overrides b/debianpkg/frr-dbg.lintian-overrides
new file mode 100644 (file)
index 0000000..0da3ec5
--- /dev/null
@@ -0,0 +1,2 @@
+# extra priority is deprecated
+frr-dbg binary: debug-package-should-be-priority-extra
diff --git a/debianpkg/frr-rpki-rtrlib.lintian-overrides b/debianpkg/frr-rpki-rtrlib.lintian-overrides
new file mode 100644 (file)
index 0000000..4c47185
--- /dev/null
@@ -0,0 +1,2 @@
+# module contains no function calls that can be hardened
+frr-rpki-rtrlib binary: hardening-no-fortify-functions *
index 3853070284c7d3dfdbb4582fa52d2dacd74db9ae..3d84527854258bda7cdcf6f4a53d9320c24289e6 100644 (file)
@@ -1 +1,5 @@
-frr: package-name-doesnt-match-sonames libfrrsnmp0
+# libfrr* are for internal use only and do not provide a stable API or ABI.
+# soname / library versioning is irrelevant and they must always be shipped
+# exact-matching to the daemons compiled against it
+frr-snmp binary: package-name-doesnt-match-sonames libfrrsnmp0
+frr binary: no-symbols-control-file *
index 4050c01693e9b6da31e6212f4661f25874b0bce1..182a092c89b3434ebe9becff663c43189b81cf30 100644 (file)
@@ -1,2 +1,9 @@
-frr: package-name-doesnt-match-sonames libfrr0 libfrrospfapiclient0
-frr: systemd-service-file-refers-to-unusual-wantedby-target lib/systemd/system/frr.service network-online.target
+# libfrr* are for internal use only and do not provide a stable API or ABI.
+# soname / library versioning is irrelevant and they must always be shipped
+# exact-matching to the daemons compiled against it
+frr binary: package-name-doesnt-match-sonames libfrr0 libfrrospfapiclient0
+frr binary: no-symbols-control-file *
+
+# we're a bit special since we provide network connectivity by starting up
+# routing protocols.
+frr binary: systemd-service-file-refers-to-unusual-wantedby-target lib/systemd/system/frr.service network-online.target
diff --git a/debianpkg/source/lintian-overrides b/debianpkg/source/lintian-overrides
new file mode 100644 (file)
index 0000000..6a948ca
--- /dev/null
@@ -0,0 +1,12 @@
+# these are for build-compatibility on older distros (e.g. Ubuntu 14.04)
+frr source: alternatively-build-depends-on-python-sphinx-and-python3-sphinx
+
+# still need the OR for Ubuntu 14.04
+frr source: ored-build-depends-on-obsolete-package
+
+# old lintian on Ubuntu 14.04
+frr source: invalid-restriction-formula-in-build-profiles-field *
+frr source: invalid-profile-name-in-source-relation *
+frr source: restriction-formula-without-versioned-dpkg-dev-dependency
+frr source: restriction-formula-with-debhelper-without-debhelper-version
+frr source: package-needs-versioned-debhelper-build-depends 9
index 1eba9156f31a649f1cc63b73ecfbd34ba8814019..85ece9a9909534f0a6265e646692b675c80e202d 100644 (file)
@@ -11,16 +11,19 @@ EXTRA_DIST += \
        debianpkg/copyright \
        debianpkg/rules \
        debianpkg/source/format \
+       debianpkg/source/lintian-overrides \
        debianpkg/tests/control \
        debianpkg/tests/daemons \
        debianpkg/watchfrr.rc \
        debianpkg/watch \
        \
+       debianpkg/frr-dbg.lintian-overrides \
        debianpkg/frr-doc.docs \
        debianpkg/frr-doc.info \
        debianpkg/frr-doc.install \
        debianpkg/frr-pythontools.install \
        debianpkg/frr-rpki-rtrlib.install \
+       debianpkg/frr-rpki-rtrlib.lintian-overrides \
        debianpkg/frr-snmp.install \
        debianpkg/frr-snmp.lintian-overrides \
        debianpkg/frr.conf \