Package: xprobe
Version: 0.3-1.1
Followup-For: Bug #536262
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Use autotools-dev to update config.{sub,guess} instead of current method,
    which doesn't appear to be working.

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-2-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 -u xprobe-0.3/debian/rules xprobe-0.3/debian/rules
--- xprobe-0.3/debian/rules
+++ xprobe-0.3/debian/rules
@@ -6,8 +6,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir src/xprobe.cc
-	ln -s ../../../../cfg-scripts/config.guess libs-external/USI++/src/cfgaux
-	ln -s ../../../../cfg-scripts/config.sub libs-external/USI++/src/cfgaux
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
 	touch configure-stamp
 
@@ -17,15 +16,12 @@
 	$(MAKE)
 	touch build-stamp
 
-# Removing outdated config.guess/sub:
-# dpkg-source will ignore the deletion when making the diff.gz
 clean:
 	dh_testdir src/xprobe.cc
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	-$(MAKE) distclean
-	rm -f libs-external/USI++/src/cfgaux/config.guess
-	rm -f libs-external/USI++/src/cfgaux/config.sub
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build
diff -u xprobe-0.3/debian/control xprobe-0.3/debian/control
--- xprobe-0.3/debian/control
+++ xprobe-0.3/debian/control
@@ -2,7 +2,7 @@
 Section: net
 Priority: extra
 Maintainer: Richard Atterer <atte...@debian.org>
-Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1)
+Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1), autotools-dev
 Standards-Version: 3.5.9
 
 Package: xprobe

Reply via email to