Your message dated Wed, 25 Dec 2013 01:18:25 +0000
with message-id <[email protected]>
and subject line Bug#696211: fixed in acpica-unix 20131115-1.1
has caused the Debian Bug report #696211,
regarding acpica-unix: Please add cross-build, hardening flags 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.)


-- 
696211: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696211
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpica-unix
Version: 20100528-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu raring ubuntu-patch

Hi Mattia,

In Ubuntu, I've applied a patch to acpica-unix's packaging to add support
for cross-building, and use of dpkg-buildflags for hardening flags.  Please
consider applying the attached patch to the Debian package as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
=== modified file 'debian/rules'
--- debian/rules	2010-07-02 21:43:45 +0000
+++ debian/rules	2012-12-18 06:34:00 +0000
@@ -9,12 +9,15 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
+CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -Wall -fno-strict-aliasing
+
+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))
+	CC = $(DEB_HOST_GNU_TYPE)-gcc
 else
-	CFLAGS += -O2 -fno-strict-aliasing
+	CC = gcc
 endif
 
 configure: configure-stamp
@@ -32,7 +35,7 @@
 
 	# Commands to compile the package.
 	cd compiler && \
-	$(MAKE) CFLAGS="$(CFLAGS)" && \
+	$(MAKE) CFLAGS="$(CFLAGS)" CC=$(CC) && \
 	cd ..
 
 	touch build-stamp


--- End Message ---
--- Begin Message ---
Source: acpica-unix
Source-Version: 20131115-1.1

We believe that the bug you reported is fixed in the latest version of
acpica-unix, which is due to be installed in the Debian FTP archive.

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 Langasek <[email protected]> (supplier of updated acpica-unix 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: Tue, 10 Dec 2013 06:39:51 +0000
Source: acpica-unix
Binary: acpica-tools iasl acpidump
Architecture: source amd64 all
Version: 20131115-1.1
Distribution: unstable
Urgency: medium
Maintainer: Mattia Dongili <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Description: 
 acpica-tools - ACPICA tools for the development and debug of ACPI tables
 acpidump   - transitional dummy package
 iasl       - transitional dummy package
Closes: 696211
Changes: 
 acpica-unix (20131115-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.  Closes: #696211.
   * Add cross-compilation support.
   * Use dpkg-buildflags for hardening support.
   * Disable the test suite when DEB_BUILD_OPTIONS=nocheck is set.
Checksums-Sha1: 
 80049342fbe46809d7ce41d1424a7382590b8391 1982 acpica-unix_20131115-1.1.dsc
 5f1e12d7766e422bae6376aafe4d4e2eb7a52d44 33785 
acpica-unix_20131115-1.1.debian.tar.gz
 322a4bfefd15913c3715570131d2e3cd2a1f5aef 627196 
acpica-tools_20131115-1.1_amd64.deb
 75c971ae9c65b6f1235c4e979540a67f126ee780 157486 iasl_20131115-1.1_all.deb
 a2337800718e85cd1b52ae91490a3b651ba78093 157484 acpidump_20131115-1.1_all.deb
Checksums-Sha256: 
 cff6c3c53dfe26a45226ee630ebc95327801253613c5c67458a1173e1b6b6920 1982 
acpica-unix_20131115-1.1.dsc
 75112358e9b40a2b54f94ff8ca83579f24ec98b9725be0f81610f40eccc92e6c 33785 
acpica-unix_20131115-1.1.debian.tar.gz
 eb46b7e503792d21a58cc219238d5b1667e6315f9b9d68941b8e0d427897ab27 627196 
acpica-tools_20131115-1.1_amd64.deb
 c5ee41df960da4cdad086f57ef24b55302cf4ab8f06aa32d8a638d97c111755b 157486 
iasl_20131115-1.1_all.deb
 884341cb3c88a730184ad164d20a68430eec83eb0e4d8e79ada0dd0871943501 157484 
acpidump_20131115-1.1_all.deb
Files: 
 11fae83179db220ecb458a29bcae8253 1982 devel optional 
acpica-unix_20131115-1.1.dsc
 f0fe08bdd476fc249987a20be54cd3c6 33785 devel optional 
acpica-unix_20131115-1.1.debian.tar.gz
 78d92ebd92101c56c1878b18b3c9f7c6 627196 devel optional 
acpica-tools_20131115-1.1_amd64.deb
 07c9374cd1056a8b23f841cdf0fa797d 157486 oldlibs optional 
iasl_20131115-1.1_all.deb
 6cca1d4eb1211cb5251e2307cf01fab5 157484 oldlibs optional 
acpidump_20131115-1.1_all.deb

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

iQIcBAEBCAAGBQJSp7G2AAoJEFaNMPMhshM994cP/jdU8zx1rywrBZSelgyxPtWk
QdcWhS0c8D2odqy1I+4/b5809z2mUsJU6HR4agWE80/JySvWHmIF2mJZxDPn0ML2
P4Rm+dZYT58XHOTVoP0PuMLrg9pF7HIg19osUoPRqKBP30OHArzjx8cXKQ3n9/lV
VfgJg5xbTy9lSiwhEw2V8Lo7NoYnx91NFn+bdnfBCs8BMUMF9U0qhccEO9MIBNNN
xyg8Lmmj9hnpLjIGqW2Ce06BNj2HFEnXj9zj2uegJj63oQplzL2rl1tLs+AAB75m
sYiwHRHAsUsC1bQO3aIbBuhV6iNvJWT2xS8FUMBJ6aVLqYumRd1EXYVRTPxlJfIS
9Wqkj7SbpfUpfGzMS0fDzIfMaVu2Pozn70jm75I3VyHavTZLHUw533ytSxnjkYuk
WBGSDtDwaT8bkLn7NelgYkDXlBWBsSGeOQr5hcHMtJqUOYlUdzXdj45j3Uhk0cM6
zp/5O6sDKFjljgcfL27iLRL3CjsJy6VbI8j2xkPoQDrBOFesQvVeWPZONDTYW2fp
7dU97zLik67L/wmUGtZoVDTDWvuDrgJWwtqWBrJl7usApNCMDVdXh8xSor9kjRmh
zpvRKBMpo2WYNVbI0cmzkSYO7NuZgLcf4yjT0jO7l5ZqqbhIbYqvP5I534M6h5Je
FEGSYeboiFaEKpiDeBJj
=Haco
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to