Your message dated Sat, 10 Jan 2026 11:59:45 +0000
with message-id <[email protected]>
and subject line Released with 12.13
has caused the Debian Bug report #1124675,
regarding bookworm-pu: package c-icap-modules/0.5.5-2+deb12u1
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 [email protected]
immediately.)


-- 
1124675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124675
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Control: affects -1 + src:c-icap-modules
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: pu
Tags: bookworm
X-Debbugs-Cc: [email protected]
Severity: normal

I prepared an update to build the package without clamav support on
armel, mipsel and mips64el. The details why this is needed are covered
in #1123789.

The package has been build tested on mips64el and amd64. The resulting
package on amd64 has still clamav dependencies while mips64el does not.
I haven't noticed any other (relevant) differences.

The libssl-dev package is required to build and was pulled in via
libclamav-dev. Leaving it out resulted in FTBFS.

I avoid creating libc-icap-mod-virus-scan instead of shipping an empty
package.

Sebastian
diff -Nru c-icap-modules-0.5.5/debian/changelog 
c-icap-modules-0.5.5/debian/changelog
--- c-icap-modules-0.5.5/debian/changelog       2022-03-27 16:39:45.000000000 
+0200
+++ c-icap-modules-0.5.5/debian/changelog       2026-01-05 12:53:25.000000000 
+0100
@@ -1,3 +1,10 @@
+c-icap-modules (1:0.5.5-2+deb12u1) bookworm; urgency=medium
+
+  * Disable clamav support on armel, mipsel and mips64el. See #1123789 for
+    details.
+
+ -- Sebastian Andrzej Siewior <[email protected]>  Mon, 05 Jan 2026 
12:53:25 +0100
+
 c-icap-modules (1:0.5.5-2) unstable; urgency=medium
 
   * QA upload.
diff -Nru c-icap-modules-0.5.5/debian/control 
c-icap-modules-0.5.5/debian/control
--- c-icap-modules-0.5.5/debian/control 2022-03-27 16:31:14.000000000 +0200
+++ c-icap-modules-0.5.5/debian/control 2026-01-05 12:52:33.000000000 +0100
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: Debian QA Group <[email protected]>
 Build-Depends: debhelper-compat (= 13),
-               libclamav-dev,
+               libclamav-dev [!armel !mips !mips64el],
                libdb-dev,
+              libssl-dev,
                libicapapi-dev,
                libltdl-dev,
 Standards-Version: 4.6.0
@@ -13,7 +14,7 @@
 Vcs-Git: https://salsa.debian.org/debian/c-icap-modules.git
 
 Package: libc-icap-mod-virus-scan
-Architecture: any
+Architecture: amd64 arm64 armhf i386 ppc64el s390x
 Pre-Depends: ${misc:Pre-Depends}
 Depends: c-icap, clamav, ${misc:Depends}, ${shlibs:Depends}
 Replaces: c-icap
diff -Nru c-icap-modules-0.5.5/debian/rules c-icap-modules-0.5.5/debian/rules
--- c-icap-modules-0.5.5/debian/rules   2022-03-27 16:31:14.000000000 +0200
+++ c-icap-modules-0.5.5/debian/rules   2026-01-05 12:52:14.000000000 +0100
@@ -2,6 +2,7 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+include /usr/share/dpkg/architecture.mk
 
 # More hardening
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
@@ -9,6 +10,12 @@
 %:
        dh $@
 
+ifneq ($(filter armel mipsel mips64el,$(DEB_HOST_ARCH)),)
+  CLAMAV_OPTS := --with-clamav=no
+else
+  CLAMAV_OPTS := --with-clamav=yes
+endif
+
 override_dh_auto_configure:
        dh_auto_configure -- \
                --prefix=/usr \
@@ -18,7 +25,7 @@
                --libexecdir=/usr/lib/c_icap \
                --with-zlib=yes \
                --with-bzlib=yes \
-               --with-clamav=yes \
+               $(CLAMAV_OPTS) \
                --with-bdb=yes
 
 override_dh_auto_install:
@@ -39,8 +46,12 @@
 override_dh_fixperms-arch:
        dh_fixperms
        # config permissions
+ifeq ($(filter armel mipsel mips64el,$(DEB_HOST_ARCH)),)
        chmod 0644 debian/libc-icap-mod-virus-scan/etc/c-icap/*
+endif
        chmod 0644 debian/libc-icap-mod-urlcheck/etc/c-icap/*
        # template permissions
        chmod 0644 
debian/libc-icap-mod-urlcheck/usr/share/c_icap/templates/srv_url_check/*/*
+ifeq ($(filter armel mipsel mips64el,$(DEB_HOST_ARCH)),)
        chmod 0644 
debian/libc-icap-mod-virus-scan/usr/share/c_icap/templates/virus_scan/*/*
+endif

--- End Message ---
--- Begin Message ---
Package: release.debian.org\nVersion: 12.13\n\nThis update has been released as 
part of Debian 12.13.

--- End Message ---

Reply via email to