Your message dated Fri, 15 Jul 2011 14:47:52 +0000
with message-id <[email protected]>
and subject line Bug#451281: fixed in net-tools 1.60-24.1
has caused the Debian Bug report #451281,
regarding net-tools : cross build support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
451281: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451281
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: net-tools
Version: 1.60-17.2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: crossbuilt

--- Please enter the report below this line. ---

As part of the long term mass bug filing for cross building support,
(http://lists.debian.org/debian-devel/2007/11/msg00116.html), I've
prepared this patch for debian/rules.

The cross building support in Debian has been recently rewritten -
particularly in respect of how environment variables and overrides are
handled - so this patch is now needed to allow net-tools to correctly
identify the cross compiler.

--- net-tools-1.60/debian/rules 
+++ net-tools.new/debian/rules 
@@ -7,6 +7,14 @@
 
 # This is the debhelper compatability version to use.
 export DH_COMPAT=1
+
+DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
+else
+CROSS=
+endif
 
 configure: configure-stamp
 configure-stamp:
@@ -18,7 +26,7 @@
        dh_testdir
        cp debian/config.h config.h
        cp debian/config.make config.make
-       $(MAKE)
+       $(MAKE) $(CROSS)
        touch build-stamp
 
 clean:
@@ -33,7 +41,7 @@
        dh_testroot
        dh_clean -k
        dh_installdirs
-       $(MAKE) update BASEDIR=`pwd`/debian/tmp
+       $(MAKE) update BASEDIR=`pwd`/debian/tmp $(CROSS)
        mv debian/tmp/sbin/arp debian/tmp/usr/sbin/arp
        # we don't want man pages for domainname and friends... (yet)
        rm -rf debian/tmp/usr/share/man/*/man1/ debian/tmp/usr/share/man/man1/


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.22-2-amd64

Debian Release: lenny/sid
  500 unstable        www.linux.codehelp.co.uk 
  500 unstable        www.emdebian.org 
  500 unstable        ftp.uk.debian.org 

--- Package information. ---
Depends         (Version) | Installed
=========================-+-=============
libc6        (>= 2.6.1-1) | 2.6.1-6


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpGDVpm2rPNt.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: net-tools
Source-Version: 1.60-24.1

We believe that the bug you reported is fixed in the latest version of
net-tools, which is due to be installed in the Debian FTP archive:

net-tools_1.60-24.1.diff.gz
  to main/n/net-tools/net-tools_1.60-24.1.diff.gz
net-tools_1.60-24.1.dsc
  to main/n/net-tools/net-tools_1.60-24.1.dsc
net-tools_1.60-24.1_amd64.deb
  to main/n/net-tools/net-tools_1.60-24.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <[email protected]> (supplier of updated net-tools 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 15 Jul 2011 14:58:52 +0100
Source: net-tools
Binary: net-tools
Architecture: source amd64
Version: 1.60-24.1
Distribution: unstable
Urgency: low
Maintainer: net-tools Team <[email protected]>
Changed-By: Steve McIntyre <[email protected]>
Description: 
 net-tools  - The NET-3 networking toolkit
Closes: 451281 530712
Changes: 
 net-tools (1.60-24.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Add cross-build support, based on patch from Neil Williams. Closes: #451281
   * debian/control: Add Homepage. Closes: #530712.
Checksums-Sha1: 
 c741becfce57dcb094e95500add27068984d3ac5 1772 net-tools_1.60-24.1.dsc
 50d19eab8e30327bf4385ba880c0cc387ce12a41 222342 net-tools_1.60-24.1.diff.gz
 5c1b39497077aa51746d65a7919e479b5bb45dbe 343048 net-tools_1.60-24.1_amd64.deb
Checksums-Sha256: 
 69f2b51cf44e54a697b1b793694c0bb45ce01553d3dbfe32f51f4691747c7d37 1772 
net-tools_1.60-24.1.dsc
 6563e947174848263f329fe60f3c88ec83f95dfd6edfb78aac7896ae6fa758c8 222342 
net-tools_1.60-24.1.diff.gz
 745545b1aff506917fc00f4be096e1c2b932fc3fda0ed2e07d56abde47f41c4b 343048 
net-tools_1.60-24.1_amd64.deb
Files: 
 d269f0afd09dd9ef0b14b851bd72d5c0 1772 net important net-tools_1.60-24.1.dsc
 61e03d325e5c02713a987befd6ea1e1a 222342 net important 
net-tools_1.60-24.1.diff.gz
 79d185a5852773e45ba05739b5cd85d2 343048 net important 
net-tools_1.60-24.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJOIE9CAAoJEFh5eVc0QmhOMeQP/Rfwv/csUnJK2suR3/c/92A9
pP3YhRWRPF5umgj4RycIaaLv9NCPYFk2U88qwcKj0RgKhPEVbb2IuTOV8KiI4yk7
GSQWCfEjHvCQr9jU0DXUsud5w/IrQRsHFKaYA+njwAtxSFMaIgHGDMBSnmPSQgUm
SBahJdGexHlsSG0X1vMdnDL6WicOYU5kY7JWdX0Fga3Kn6HWdmH8jU5PnL97DfN1
PLhPSM8rfS76gTuLtGWwQNTNyrGutqrt3iGciz0hp8WKPPSlmf+J7OoOljcauZO9
g+9oGFNAHOqjfUnX12eFg8uBVpfozGD66aZcvcI5Vr7db/TtybNYU1szo+/kLePp
RIuBJZyEbcCI0pRs4styKS/t5oCa3bOkYQ3VA+4WCeduJZqBdT7C9A9pbOAYFOtl
TQGKBP7XuaEFDtJwIB9q+Sts5DVEDPOTwWzGaL4QaSIz/uwgabHQ3Ekjv4+yIuzn
qAW5VjVJ33FRQxwhknccP6J6C29aptcnz8s83j9YFjsmoZc2DwGfGs970ghVWGH7
/jseS7ZwMsAuqzmemSfaui+6noYUyXlYsqjwIUsmFYViKWctfGB67sfgjQ9jcmk7
k4OAIPeUWrsMX2Dfq5O96M/OXT+IKV1GxdT44aalvPocUF5sesTGx0Pvfdnq+GPG
0tDuoKCH/njdW7vrBFbz
=XTPe
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to