Your message dated Wed, 14 Nov 2007 22:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451305: fixed in hostname 2.94
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hostname
Version: 2.93
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 hostname to correctly
identify the cross compiler.

Thanks.

--- hostname-2.93/debian/rules 
+++ hostname.new/debian/rules 
@@ -4,6 +4,14 @@
 #export DH_VERBOSE=1
 
 CFLAGS = -Wall -g
+
+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
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
@@ -16,7 +24,7 @@
        dh_testdir
 
        # Building package
-       CFLAGS="$(CFLAGS)" $(MAKE)
+       CFLAGS="$(CFLAGS)" $(MAKE) $(CROSS)
 
        touch build-stamp
 
@@ -37,7 +45,7 @@
        dh_installdirs
 
        # Installing package
-       $(MAKE) install BASEDIR=$(CURDIR)/debian/hostname
+       $(MAKE) install BASEDIR=$(CURDIR)/debian/hostname $(CROSS)
 
 binary-indep: build install
 


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

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


-- 

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

Attachment: pgpc2dvvaYAaU.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: hostname
Source-Version: 2.94

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

hostname_2.94.dsc
  to pool/main/h/hostname/hostname_2.94.dsc
hostname_2.94.tar.gz
  to pool/main/h/hostname/hostname_2.94.tar.gz
hostname_2.94_i386.deb
  to pool/main/h/hostname/hostname_2.94_i386.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.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated hostname 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: SHA1

Format: 1.7
Date: Wed, 14 Nov 2007 23:05:00 +0100
Source: hostname
Binary: hostname
Architecture: source i386
Version: 2.94
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 hostname   - utility to set/show the host name or domain name
Closes: 252182 253956 382728 396596 451305
Changes: 
 hostname (2.94) unstable; urgency=low
 .
   * Correcting manpage about --file (Closes: #252182).
   * Explicitly saying in the manpage, that /etc/hostname should not contain the
     FQDN (Closes: #253956).
   * Using symlink for dnsdomainname (Closes: #382728).
   * Syncing version number in code (Closes: #396596).
   * Applied patch from Neil Williams <[EMAIL PROTECTED]> to add cross build
     support (Closes: #451305).
Files: 
 71d01a97b635d8904c17a2f52efedcc7 487 base required hostname_2.94.dsc
 cd912124dd92ec7122cbf06f9d834d53 9280 base required hostname_2.94.tar.gz
 7aedccc17cccbccc0eb8d4f46134b36a 10448 base required hostname_2.94_i386.deb

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

iD8DBQFHO3XY+C5cwEsrK54RAqm8AKCe9v4D+QaIfH70Mbx2tX7J9JazGwCeO2CP
w2+/JVQK3qJeQx83RK1S6+c=
=IzfD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to