Package: tnftp
Version: 20130505-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
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.13.0-5-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 tnftp-20130505/debian/control tnftp-20130505/debian/control
--- tnftp-20130505/debian/control	2013-05-25 19:04:41.000000000 -0400
+++ tnftp-20130505/debian/control	2014-01-27 15:13:05.000000000 -0500
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
-Build-Depends: debhelper (>= 7), hardening-wrapper, libncurses5-dev, libssl-dev
+Build-Depends: debhelper (>= 7), hardening-wrapper, libncurses5-dev, libssl-dev, autotools-dev
 Standards-Version: 3.9.4
 Homepage: http://en.wikipedia.org/wiki/Tnftp
 
diff -Nru tnftp-20130505/debian/rules tnftp-20130505/debian/rules
--- tnftp-20130505/debian/rules	2013-05-25 19:56:53.000000000 -0400
+++ tnftp-20130505/debian/rules	2014-01-25 22:19:25.000000000 -0500
@@ -13,6 +13,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man
 	$(MAKE)
 	touch build-stamp
@@ -22,6 +23,7 @@
 	dh_testroot
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to