[pkg-netfilter-team] xtables-addons, 3.20-1

Jeremy Sowden jeremy at azazel.net
Sat May 7 18:43:40 BST 2022


I've been doing some work on the packaging of xtables-addons.  It
includes a shared library which is intended to be used to query
accounting information recorded by one of the iptables targets in the
package.  The man-page says of it:

  The data can be queried using the userspace libxt_ACCOUNT_cl library,
  and by the reference implementation to show usage of this library,
  the iptaccount(8) tool.

Both the library and the tool are currently part of the xtables-addons-
common binary package.  The header and .so sym-link are not packaged.
Thus, the man-page notwithstanding, it is not possible to use the
library except by means of the tool.  It also leads to a warning from
Lintian:

  W: xtables-addons-common: package-name-doesnt-match-sonames libxt-ACCOUNT-cl1

In addition, there is no symbols file for the library, which elicits the
following from Lintian:

  I: xtables-addons-common: no-symbols-control-file usr/lib/x86_64-linux-gnu/libxt_ACCOUNT_cl.so.1.0.0

I could add a xtables-addons-common.symbols file, but then Lintian would
have this to say:

  I: xtables-addons-common: symbols-file-missing-build-depends-package-field libxt_ACCOUNT_cl.so.1

Consequently, when packaging the latest version, I have chosen to add
two new binary packages: libxt-account-cl1 for the shared library and
libxt-account-cl-dev for the related development files.  This pacifies
Lintian and makes it possible to use the library as intended.

My understanding is that when the new version is uploaded, it will have
to go through the NEW queue because of the new binary packages, and so,
as a DM, I cannot upload it.  Therefore, if my approach seems
reasonable, I should be grateful if someone would upload it for me.

Thanks,

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20220507/244e1a06/attachment.sig>


More information about the pkg-netfilter-team mailing list