Your message dated Sun, 09 Mar 2025 21:02:03 +0000
with message-id <e1trnmd-00dlsu...@fasolo.debian.org>
and subject line Bug#1098896: fixed in xtables-addons 3.27-4
has caused the Debian Bug report #1098896,
regarding xtables-addons: dkms and module-assistant updates
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1098896: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098896
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: xtables-addons
Version: 3.27-3
Severity: serious
Tags: patch
Justification: -source is currently unable to build modules

Hi,

I have a few updates for the dkms and module-assistant support of this
package. The -source package currently fails to build module packages.
This is fixed and an autopkgtest is added to automatically detect
breakage in the future.

To simplify packaging modules depending on xtables-addons (e.g.
west-chamber), let's ship the compat_*.h headers in the -common package.
That way we can simply depend on that package and set a static include
path instead of doing funny 'find, ln, cp, tar xf, echo' dances to get
to the headers from the -dkms or -source package.


Thanks for considering.


Andreas
>From 2c9f312ec07859876d071164b412d75a93877768 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 19 Feb 2025 21:51:16 +0100
Subject: [PATCH 1/6] dkms.conf: Declare BUILD_EXCLUSIVE_KERNEL_MIN="4.20" for
 using HASH_MAX_DESCSIZE

---
 debian/xtables-addons-dkms.dkms.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/xtables-addons-dkms.dkms.in 
b/debian/xtables-addons-dkms.dkms.in
index 740bd23..539b62b 100644
--- a/debian/xtables-addons-dkms.dkms.in
+++ b/debian/xtables-addons-dkms.dkms.in
@@ -4,6 +4,9 @@ PACKAGE_VERSION="@VERSION@"
 
 PACKAGE_NAME="xtables-addons"
 
+# HASH_MAX_DESCSIZE
+BUILD_EXCLUSIVE_KERNEL_MIN="4.20"
+
 BUILD_DIR="$dkms_tree/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
 MAKEARGS="-C $kernel_source_dir \
           M=${BUILD_DIR}/extensions \
-- 
2.39.5

>From ccbcdbccc6313d3acc3d630b107b8c59c6527655 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 19 Feb 2025 21:54:35 +0100
Subject: [PATCH 2/6] xtables-addons-source: Promote module-assistant to a
 dependency

This is nowadays the only supported way to build modules from the
-source package.
---
 debian/control | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1d8bfa9..6350905 100644
--- a/debian/control
+++ b/debian/control
@@ -68,11 +68,10 @@ Multi-Arch: foreign
 Depends:
  debhelper-compat (= 13),
  bzip2,
+ module-assistant,
  ${misc:Depends},
 Pre-Depends:
  ${misc:Pre-Depends},
-Recommends:
- module-assistant,
 Description: Additional targets and matches for iptables [sources for 
module-assistant]
  Xtables-addons provides extra modules for iptables not present in the kernel,
  and is the successor of patch-o-matic.  It contains matches and targets such
-- 
2.39.5

>From 90a54b56a5ea0b36a600c1eca1680dc91ccfe078 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 19 Feb 2025 21:58:03 +0100
Subject: [PATCH 3/6] Add autopkgtest for the -source package

---
 debian/tests/control | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 debian/tests/control

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..52f67c2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+Test-Command: /usr/share/modass/module-assistant-autopkgtest 
xtables-addons-source
+Features: test-name=m-a-autopkgtest
+Depends:
+ xtables-addons-source,
+ module-assistant-autopkgtest,
+ linux-doc,
+Restrictions:
+ superficial,
+ needs-root,
+ breaks-testbed,
+ allow-stderr,
-- 
2.39.5

>From 8abc78fcab6c128da8cb53510bd8c149a40137cd Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 19 Feb 2025 22:06:29 +0100
Subject: [PATCH 4/6] Fix building twice in a row

---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 000f1a8..2957525 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ SOURCE_MODULES_DIR = $(SOURCE_SRC_DIR)/modules
 
 override_dh_auto_clean:
        dh_auto_clean --no-parallel
+       find extensions -name '*.oo.d' -print -delete
 
 override_dh_clean:
        dh_clean $(SOURCE_BUILD_DIR)/ $(DKMS_CONF)
-- 
2.39.5

>From 8c4062d330833640dc561d0dac70716834ce124d Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 19 Feb 2025 22:50:52 +0100
Subject: [PATCH 5/6] xtables-addons-source: Generate debian/control on the fly

---
 debian/control       | 2 +-
 debian/rules         | 1 -
 debian/rules.modules | 5 ++++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 6350905..7d09095 100644
--- a/debian/control
+++ b/debian/control
@@ -68,7 +68,7 @@ Multi-Arch: foreign
 Depends:
  debhelper-compat (= 13),
  bzip2,
- module-assistant,
+ module-assistant (>= 0.11.14~),
  ${misc:Depends},
 Pre-Depends:
  ${misc:Pre-Depends},
diff --git a/debian/rules b/debian/rules
index 2957525..85d857c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,6 @@ build_source:
                $(SOURCE_BUILD_DIR)/extensions/pknock
        cp \
                debian/changelog \
-               debian/control \
                debian/control.modules.in \
                debian/copyright \
                $(SOURCE_BUILD_DIR)/debian
diff --git a/debian/rules.modules b/debian/rules.modules
index 1eedd98..651c182 100755
--- a/debian/rules.modules
+++ b/debian/rules.modules
@@ -16,7 +16,7 @@ PACKAGE = xtables-addons-modules
 -include /usr/share/modass/include/generic.make
 -include /usr/share/modass/include/common-rules.make
 
-kdist_clean:
+kdist_clean: | debian/control
        dh clean
 
 kdist_config: prep-deb-files
@@ -35,5 +35,8 @@ override_dh_auto_install:
 override_dh_auto_clean:
        $(MAKE) $(MAKEARGS) clean
 
+override_dh_clean:
+       dh_clean $(patsubst %.modules.in,%,$(wildcard debian/*.modules.in))
+
 override_dh_builddeb:
        dh_builddeb --destdir=$(DEB_DESTDIR)
-- 
2.39.5

>From 1251dfa059736a01738614702d76f7d8436b7be5 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Mon, 24 Feb 2025 10:51:34 +0100
Subject: [PATCH 6/6] xtables-addons-common: Ship compat_*.h for use by
 dependent modules

---
 debian/xtables-addons-common.install | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/xtables-addons-common.install 
b/debian/xtables-addons-common.install
index c71d4f5..2659abc 100644
--- a/debian/xtables-addons-common.install
+++ b/debian/xtables-addons-common.install
@@ -3,3 +3,4 @@ usr/lib/${DEB_HOST_MULTIARCH}/lib*.so.*
 usr/lib/${DEB_HOST_MULTIARCH}/xtables
 usr/libexec/xtables-addons
 usr/sbin/*
+extensions/compat_*.h                          
usr/include/xtables-addons/extensions/
-- 
2.39.5


--- End Message ---
--- Begin Message ---
Source: xtables-addons
Source-Version: 3.27-4
Done: Jeremy Sowden <aza...@debian.org>

We believe that the bug you reported is fixed in the latest version of
xtables-addons, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Sowden <aza...@debian.org> (supplier of updated xtables-addons package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 09 Mar 2025 16:49:15 +0000
Source: xtables-addons
Architecture: source
Version: 3.27-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Netfilter Packaging Team 
<team+pkg-netfilter-t...@tracker.debian.org>
Changed-By: Jeremy Sowden <aza...@debian.org>
Closes: 1098896
Changes:
 xtables-addons (3.27-4) unstable; urgency=medium
 .
   [ Jeremy Sowden ]
   * d/genmodlist
     - generate the current list of DKMS modules
     - output a comment indicating that the module list was generated
   * d/rules
     - use upper-case consistently for variables
   * d/patches
     - add numeric prefix to patches
   * d/s/options, d/p/02-clean-dependency-files.patch
     - instead of ignoring dependency files, patch upstream build to clean them
 .
   [ Andreas Beckmann ]
   * dkms.conf: Declare BUILD_EXCLUSIVE_KERNEL_MIN="4.20" for using
     HASH_MAX_DESCSIZE
   * xtables-addons-source: Promote module-assistant to a dependency
   * Add autopkgtest for the -source package
   * xtables-addons-source: Generate debian/control on the fly
   * xtables-addons-common: Ship compat_*.h for use by dependent modules
   * Closes: #1098896
Checksums-Sha1:
 b1311f0a0dc57d8dc4b87c6aaa36ea4e4a668da5 2344 xtables-addons_3.27-4.dsc
 313798f926ce4587fdee029f51c8931143d8ac09 15320 
xtables-addons_3.27-4.debian.tar.xz
 e1e82057512846d8506c8dceccb45786069221fb 6922 
xtables-addons_3.27-4_amd64.buildinfo
Checksums-Sha256:
 a867c18adf4968234749cf137fe1683eac5c02180c491464cb37eeb8468b137b 2344 
xtables-addons_3.27-4.dsc
 29d30328c7036a88298b5c28a00e1645822e4679e4476d8c02a1e0deb3c4c480 15320 
xtables-addons_3.27-4.debian.tar.xz
 42f5c786e90c4d2161a6fe2ed43616f589cda83e1d9eaddbd05b9f70660b5eb8 6922 
xtables-addons_3.27-4_amd64.buildinfo
Files:
 ed1e900036971ea51516d01f929f8f10 2344 net optional xtables-addons_3.27-4.dsc
 3f526585d4c9a7657ef31a08f9f6f2af 15320 net optional 
xtables-addons_3.27-4.debian.tar.xz
 5b2d6ab318d6a6e45083afeaa13078be 6922 net optional 
xtables-addons_3.27-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEbB20U2PvQDe9VtUXKYasCr3xBA0FAmfN+44SHGF6YXplbEBk
ZWJpYW4ub3JnAAoJECmGrAq98QQNxVIP/3oC1rduHUNECDCEgZpsReHDRqo6ZdS3
Z1FYsPSKmIG7e9QYEltksYcYnwObjFwJGt+2q7Qo1fEjf8+s0Ma/UczKRYAzyD22
B4mfkUnjQIw+/OdxaIvotCdUIPdgwZNR1511qnEPGIR843DEQA8Q5ZIhzr5Pp4F4
rxpLTDiaeNCF1P1r+jLJtFnjltVvt6+ePazKIqvpWRr5bKPtJt0NDJDBbNkjxYEZ
VzN2ivS+VOtZ8bCirKib+SMVQl5YZhxDVicTemHP/ctqGf+xI9KB1ZRgPXLjVEKq
Pa8koBWKO0g86Ss/G8f42g3KOO19FA05o4N5F+PpCeC3dh+F6hNAhqVd2fjVQbsE
6d30dISrveYO0tCK9hK7QxTmPvBqAuE+f6z+JhLwmwVBS8ZibW/b/aXqHngI/cGe
YHybKh4yLeZN150tKoR3gIkAfU/OD4+9jJtbOKaHE8TP8/CcSb2t7tO5KwVeO66h
TYOaE1HoRNXnXrjdOPoAwuC3zu4eJsqkaY01lR+WzTJIYHKf7y3e57CwefqyxBQq
biiuSo8tyNcYeqAriEaYXdcXkf1E49bAjQ9NE2uL15ONz0tcAsvpyg31Vdug2zS3
fYgF0wNJry0QNoBFr74ORpBH8RhfIbhZy8Hv/zWi/wGROdv9cY3HhdhBG6DTg9MO
9Et9Pc5Yzk7O
=o65Z
-----END PGP SIGNATURE-----

Attachment: pgpBUS1u7BRPd.pgp
Description: PGP signature


--- End Message ---

Reply via email to