Source: gadmin-proftpd
Version: 1:0.4.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gadmin-proftpd fails to cross build from source, because it fails to
pass the relevant --host flag to ./configure. The easiest way to fix
that is using dh_auto_configure. After doing so, gadmin-proftpd cross
builds successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru gadmin-proftpd-0.4.2/debian/changelog 
gadmin-proftpd-0.4.2/debian/changelog
--- gadmin-proftpd-0.4.2/debian/changelog       2011-06-25 23:36:22.000000000 
+0200
+++ gadmin-proftpd-0.4.2/debian/changelog       2018-04-07 08:53:45.000000000 
+0200
@@ -1,3 +1,10 @@
+gadmin-proftpd (1:0.4.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 07 Apr 2018 08:53:45 +0200
+
 gadmin-proftpd (1:0.4.2-1) unstable; urgency=low
 
   * New maintainer. (Closes: #605304)
diff --minimal -Nru gadmin-proftpd-0.4.2/debian/rules 
gadmin-proftpd-0.4.2/debian/rules
--- gadmin-proftpd-0.4.2/debian/rules   2010-11-28 20:33:29.000000000 +0100
+++ gadmin-proftpd-0.4.2/debian/rules   2018-04-07 08:53:43.000000000 +0200
@@ -9,7 +9,7 @@
        rm -f po/*.gmo
 
 override_dh_auto_configure:
-       SYSINIT_START_CMD="update-rc.d -f proftpd defaults" 
SYSINIT_STOP_CMD="update-rc.d -f proftpd remove" ./configure --prefix=/usr 
--sbindir=/usr/sbin --sysconfdir=/etc --localstatedir=/var
+       SYSINIT_START_CMD="update-rc.d -f proftpd defaults" 
SYSINIT_STOP_CMD="update-rc.d -f proftpd remove" dh_auto_configure -- 
--sbindir=/usr/sbin
 
 override_dh_auto_install:
        $(MAKE) DESTDIR=$(CURDIR)/debian/gadmin-proftpd install

Reply via email to