Package: clamsmtp
Version: 1.10-11
Severity: normal
Tags: patch pending

Dear maintainer,

This package does not build on arm64 or mipe64el or or1k, or indeed
any new debian architectures due to autdated autoconf files

So I've prepared an NMU for clamsmtp (versioned as 1.10-11.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Discussion on debian-devel revealed consensus that the right way to
ensure successful builds on all new architectures was to autoreconf
packages, so that method has been used to fix this bug. This works for
all arches, even those that need libtool changes, and will continue to
work into the future without an update as each new arch comes along.
(Discussion at
https://lists.debian.org/debian-devel/2014/04/msg00383.html, thread
starting at https://lists.debian.org/debian-devel/2014/04/msg00342.html

As you can see this works fine on this package, and is a very simple
patch. 

Regards.
diff -u clamsmtp-1.10/debian/control clamsmtp-1.10/debian/control
--- clamsmtp-1.10/debian/control
+++ clamsmtp-1.10/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: ClamAV Team <pkg-clamav-de...@lists.alioth.debian.org>
 Uploaders: Michael Meskes <mes...@debian.org>
-Build-Depends: debhelper (>= 9), quilt (>= 0.46-7)
+Build-Depends: debhelper (>= 9), quilt (>= 0.46-7), dh-autoreconf
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-clamav/clamsmtp.git
 Vcs-Browser: http://git.debian.org/?p=pkg-clamav/clamsmtp.git;a=summary
diff -u clamsmtp-1.10/debian/changelog clamsmtp-1.10/debian/changelog
--- clamsmtp-1.10/debian/changelog
+++ clamsmtp-1.10/debian/changelog
@@ -1,3 +1,10 @@
+clamsmtp (1.10-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures
+
+ -- Chen Baozi <baoz...@gmail.com>  Fri, 06 Jun 2014 12:50:40 +0800
+
 clamsmtp (1.10-11) unstable; urgency=low
 
   * Added Italian debconf translation (Closes: #691355)
diff -u clamsmtp-1.10/debian/rules clamsmtp-1.10/debian/rules
--- clamsmtp-1.10/debian/rules
+++ clamsmtp-1.10/debian/rules
@@ -4 +4 @@
-	dh $@ --with quilt
+	dh $@ --with quilt --with autoreconf

Reply via email to