Source: mimedefang
Version: 2.84-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

mimedefang cannot be cross built from source, because its Build-Depends
are not satisfiable. Instead of looking into such a difficult problem, I
looked into easily droppable dependencies. It turns out that the
sanitizer dependency is entirely unused. There is no mention of it or
its contained modules or tools in the entire source. libunix-syslog-perl
is used to provide Unix::Syslog, which can be used by mimedefang if
Sys::Syslog is not available. The latter is part of perl itself, so the
former is unused. Please consider applying the attached patch.

Helmut
diff --minimal -Nru mimedefang-2.84/debian/changelog 
mimedefang-2.84/debian/changelog
--- mimedefang-2.84/debian/changelog    2020-09-14 13:40:19.000000000 +0200
+++ mimedefang-2.84/debian/changelog    2021-01-24 12:22:26.000000000 +0100
@@ -1,3 +1,13 @@
+mimedefang (2.84-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + libunix-syslog-perl is unneeded as mimedefang can use either Sys::Syslog
+      or Unix::Syslog and the former is part of perl itself.
+    + sanitizer is unused. There is no mention of it beyond debian/control.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 24 Jan 2021 12:22:26 +0100
+
 mimedefang (2.84-4) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --minimal -Nru mimedefang-2.84/debian/control 
mimedefang-2.84/debian/control
--- mimedefang-2.84/debian/control      2020-09-14 13:40:19.000000000 +0200
+++ mimedefang-2.84/debian/control      2021-01-24 12:20:49.000000000 +0100
@@ -2,7 +2,7 @@
 Section: mail
 Priority: optional
 Maintainer: Christoph Martin <mar...@uni-mainz.de>
-Build-Depends: debhelper-compat (= 12), po-debconf, libmilter-dev, bsd-mailx, 
libunix-syslog-perl, libperl-dev, libmime-tools-perl, 
libmail-spamassassin-perl, sanitizer, libhtml-parser-perl, libarchive-zip-perl
+Build-Depends: debhelper-compat (= 12), po-debconf, libmilter-dev, bsd-mailx, 
libperl-dev, libmime-tools-perl, libmail-spamassassin-perl, 
libhtml-parser-perl, libarchive-zip-perl
 Standards-Version: 3.9.8
 Homepage: https://www.mimedefang.org/
 Vcs-Git: https://salsa.debian.org/debian/mimedefang.git

Reply via email to