Package: nmh
Version: 1.5-release-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

Please use autotools-dev to update config.{sub,guess} for new architectures.
For example, we needed these updates in Ubuntu for the new arm64 and ppc64el
architectures.

In Ubuntu, the attached patch was applied to achieve the following:
  * Use autotools-dev to update config.{sub,guess} for new arches.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru nmh-1.5-release/debian/control nmh-1.5-release/debian/control
--- nmh-1.5-release/debian/control	2013-11-10 00:10:04.000000000 -0500
+++ nmh-1.5-release/debian/control	2014-01-07 19:56:32.000000000 -0500
@@ -4,7 +4,7 @@
 Maintainer: Nick Rusnov <[email protected]>
 Uploaders:  Alexander Zangerl <[email protected]>
 Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 8.0.0), libncurses5-dev, liblockfile-dev (>= 1.01), libsasl2-dev, libdb-dev, flex, libssl-dev
+Build-Depends: debhelper (>= 8.0.0), libncurses5-dev, liblockfile-dev (>= 1.01), libsasl2-dev, libdb-dev, flex, libssl-dev, autotools-dev
 
 Package: nmh
 Architecture: any
diff -Nru nmh-1.5-release/debian/rules nmh-1.5-release/debian/rules
--- nmh-1.5-release/debian/rules	2013-11-10 00:11:04.000000000 -0500
+++ nmh-1.5-release/debian/rules	2014-01-06 03:37:46.000000000 -0500
@@ -22,6 +22,7 @@
 
 build-stamp: 
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure \
 	  --prefix=                              \
 	  --bindir='$${prefix}/usr/bin/mh'       \
@@ -50,6 +51,7 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 	# generated file shouldn't end up in the debian diff
 	rm -f sbr/dtimep.c
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to