[pkg-netfilter-team] Bug#981206: nftables: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Wed Jan 27 13:03:22 GMT 2021


Source: nftables
Version: 0.9.8-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

nftables participates in dependency loops relevant to architecture
bootstrap. Instead of working on such a difficult problem, I looked into
easily droppable dependencies and observed that nftables has some.

 * asciidoc-base is droppable in principle until one notices that the
   fallback strategy is shipping prebuilt manual pages. I suggest
   deleting them before build to ensure that manual pages are always
   built from source.
 * docbook-xsl and xsltproc can be dropped as there is no docbook
   documentation anymore.
 * python3-setuptools can be dropped as the python module uses distutils
   instead.

Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru nftables-0.9.8/debian/changelog nftables-0.9.8/debian/changelog
--- nftables-0.9.8/debian/changelog	2021-01-17 18:48:39.000000000 +0100
+++ nftables-0.9.8/debian/changelog	2021-01-27 13:58:01.000000000 +0100
@@ -1,3 +1,14 @@
+nftables (0.9.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Clean prebuilt manual pages to ensure that they're rebuilt using
+      asciidoc.
+    + Drop now unused docbook-xsl and xsltproc.
+    + Drop python3-setuptools as distutils are used instead.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 27 Jan 2021 13:58:01 +0100
+
 nftables (0.9.8-1) unstable; urgency=medium
 
   * [ccb440d] New upstream version 0.9.8
diff --minimal -Nru nftables-0.9.8/debian/clean nftables-0.9.8/debian/clean
--- nftables-0.9.8/debian/clean	1970-01-01 01:00:00.000000000 +0100
+++ nftables-0.9.8/debian/clean	2021-01-27 13:57:55.000000000 +0100
@@ -0,0 +1,3 @@
+doc/*.3
+doc/*.5
+doc/*.8
diff --minimal -Nru nftables-0.9.8/debian/control nftables-0.9.8/debian/control
--- nftables-0.9.8/debian/control	2021-01-17 18:48:19.000000000 +0100
+++ nftables-0.9.8/debian/control	2021-01-27 13:58:01.000000000 +0100
@@ -8,7 +8,6 @@
                bison,
                debhelper-compat (= 13),
                dh-python,
-               docbook-xsl,
                flex,
                libgmp-dev,
                libjansson-dev,
@@ -18,8 +17,6 @@
                libtool (>= 2.2.6),
                libxtables-dev (>= 1.6.1),
                python3-all,
-               python3-setuptools,
-               xsltproc
 Standards-Version: 4.5.1
 Homepage: https://www.netfilter.org/
 Vcs-Git: https://salsa.debian.org/pkg-netfilter-team/pkg-nftables.git


More information about the pkg-netfilter-team mailing list