Your message dated Wed, 30 Nov 2011 09:03:02 +0000
with message-id <[email protected]>
and subject line Bug#647800: fixed in cal3d 0.11.0-4.1
has caused the Debian Bug report #647800,
regarding cal3d: Please add build-arch/build-indep targets and enable hardning 
flags
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.)


-- 
647800: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647800
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cal3d
Version: 0.11.0-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: goal-hardening

Hi,

Attached is a debdiff that enables build-arch/build-indep targets and
enables hardning flags.  The rules could be improved to only build the
docs in build-indep; but given the short runtime for docs generation I
figured it was not worth it.

This would assist in "hardning" release goal[1] and the /proposed/
"build-arch" release goal[2].  Since the latter has not been accepted,
this bug has been fixed as a "wishlist".

As I recall you are busy at the moment, so I intend to NMU this
package.  If I do not hear from you in a week, I will upload it to
DELAYED/10 as per devref 5.11.1[3]

Thanks for considering,
~Niels

[1] http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags

[2] https://wiki.debian.org/ReleaseGoals/BuildArchTarget

[3] http://www.debian.org/doc/manuals/developers-reference/pkgs.html#nmu
diff -u cal3d-0.11.0/debian/rules cal3d-0.11.0/debian/rules
--- cal3d-0.11.0/debian/rules
+++ cal3d-0.11.0/debian/rules
@@ -5,22 +5,20 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CXXFLAGS = -Wall -g -fPIC
 LIBS = -lstdc++
 
 ifneq (,$(findstring mips,$(DEB_BUILD_GNU_TYPE)))
 	LIBS += -lm
 endif
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CXXFLAGS += -O0
-else
-	CXXFLAGS += -O2
-endif
+
+DPKG_EXPORT_BUILDFLAGS = 1
+DEB_CXXFLAGS_MAINT_APPEND = -Wall -fPIC
+include /usr/share/dpkg/buildflags.mk
 
 config.status: configure
 	dh_testdir
 
-	CXXFLAGS="$(CXXFLAGS)" LIBS="$(LIBS)" \
+	LIBS="$(LIBS)" \
 	./configure \
 		--host=$(DEB_HOST_GNU_TYPE) \
 		--build=$(DEB_BUILD_GNU_TYPE) \
@@ -34,7 +32,9 @@
 	sed -e 's/CC="gcc"/CC="g++"/g' libtool > lt.tmp && mv -f lt.tmp libtool
 
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:  config.status
 	dh_testdir
 
diff -u cal3d-0.11.0/debian/control cal3d-0.11.0/debian/control
--- cal3d-0.11.0/debian/control
+++ cal3d-0.11.0/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Michael Koch <[email protected]>
-Build-Depends: debhelper (>= 5), doxygen
+Build-Depends: debhelper (>= 5), doxygen, dpkg-dev (>= 1.16.1)
 Standards-Version: 3.8.2
 Homepage: https://gna.org/projects/cal3d/
 
diff -u cal3d-0.11.0/debian/changelog cal3d-0.11.0/debian/changelog
--- cal3d-0.11.0/debian/changelog
+++ cal3d-0.11.0/debian/changelog
@@ -1,3 +1,11 @@
+cal3d (0.11.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added build-arch and build-indep targets.
+  * Enable harding flags by using dpkg-buildflags.
+
+ -- Niels Thykier <[email protected]>  Sun, 06 Nov 2011 13:55:19 +0100
+
 cal3d (0.11.0-4) unstable; urgency=low
 
   * Updated config.guess and config.sub (Closes: #528398).

--- End Message ---
--- Begin Message ---
Source: cal3d
Source-Version: 0.11.0-4.1

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

cal3d_0.11.0-4.1.diff.gz
  to main/c/cal3d/cal3d_0.11.0-4.1.diff.gz
cal3d_0.11.0-4.1.dsc
  to main/c/cal3d/cal3d_0.11.0-4.1.dsc
libcal3d-doc_0.11.0-4.1_all.deb
  to main/c/cal3d/libcal3d-doc_0.11.0-4.1_all.deb
libcal3d12-dev_0.11.0-4.1_amd64.deb
  to main/c/cal3d/libcal3d12-dev_0.11.0-4.1_amd64.deb
libcal3d12_0.11.0-4.1_amd64.deb
  to main/c/cal3d/libcal3d12_0.11.0-4.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.
Niels Thykier <[email protected]> (supplier of updated cal3d 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: Sun, 06 Nov 2011 13:55:19 +0100
Source: cal3d
Binary: libcal3d12 libcal3d12-dev libcal3d-doc
Architecture: source all amd64
Version: 0.11.0-4.1
Distribution: unstable
Urgency: low
Maintainer: Michael Koch <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Description: 
 libcal3d-doc - Skeletal based 3d character animation library - API 
documentation
 libcal3d12 - Skeletal based 3d character animation library
 libcal3d12-dev - Skeletal based 3d character animation library - development 
files
Closes: 647800
Changes: 
 cal3d (0.11.0-4.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Added build-arch and build-indep targets.
     (Closes: #647800)
   * Enable harding flags by using dpkg-buildflags.
Checksums-Sha1: 
 f735912e18dc303495ff4f616f4c52c8344f66f4 1808 cal3d_0.11.0-4.1.dsc
 d55a0af7d6bc3bd96ae694c98624a43f2a9dacb6 11158 cal3d_0.11.0-4.1.diff.gz
 aadbcadbb489d2c8396ae61079b7589919456e32 312276 libcal3d-doc_0.11.0-4.1_all.deb
 5bc8c805671a0c191614fe5139678f263f8f966d 212888 libcal3d12_0.11.0-4.1_amd64.deb
 a1372c701b3777b9d39f5814f6d114b18133cf8b 301630 
libcal3d12-dev_0.11.0-4.1_amd64.deb
Checksums-Sha256: 
 c3a5925577a4a387bb989a2016b4e6c76eaf9a8ea438d3d8254ca6ccaf8adcf4 1808 
cal3d_0.11.0-4.1.dsc
 d2de4d3cad56728a0441e887c5962e6a9e7811316471fc3a0696a02978d05f0d 11158 
cal3d_0.11.0-4.1.diff.gz
 3ace39c66a1c40638926100334dd76be4142df47510c564585017ff880bd14d1 312276 
libcal3d-doc_0.11.0-4.1_all.deb
 fa51efeb76fb462dd7f5659ba06edf5875d7cfd266ecb4d9d7626bf09dce1582 212888 
libcal3d12_0.11.0-4.1_amd64.deb
 b84b26950500c1803d13e1394b498f954a5381b54896e9c572fb82af9afd3847 301630 
libcal3d12-dev_0.11.0-4.1_amd64.deb
Files: 
 0776aa8a06ae26b7c9745a3f18b578b1 1808 libs optional cal3d_0.11.0-4.1.dsc
 3b04335eca7594dfb6a90d08a189d004 11158 libs optional cal3d_0.11.0-4.1.diff.gz
 6ed35d1bcf1b0d69f3f45faec790c7a6 312276 doc optional 
libcal3d-doc_0.11.0-4.1_all.deb
 c17b74ce104a90be9f92def7101f56cf 212888 libs optional 
libcal3d12_0.11.0-4.1_amd64.deb
 ec5a3099ad1246b344b5fdd13ae505c6 301630 libdevel optional 
libcal3d12-dev_0.11.0-4.1_amd64.deb

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

iQIcBAEBCAAGBQJOv+cNAAoJEAVLu599gGRCOAQQAISRHcv5Qq4mRYQGEMiPNKs+
XSCLSorKR2PQIiVYATbQCXSqYGXZKgv3UcvOPUOb84A0HjTbqEG9dYE4Otm1V6yg
XfkBKXbZuk9kup0d3Tl3+DGq2rnNqiBQnb6rEY5Q6n/6AD6lwXgcq/IHawvLLJpY
AIBBKUj8iL8O9aOk+/C3po30udBZS8zSogGLY2zpf3r3dDgfL/wFCJOryg/Lv3nI
5xQGppAUHnwjj8ks6ajj/y0uWHBPio7uKfqzDHjuUEUYd+Z8iV6bn5KNR9aTWhVx
sSEjqaLePjf72izer0KekuBi4ClulbUnqcz9crhtxWSvsDu0CV9V2W0uMFCBwNwc
MB4yrG0VswVGc3e1shxkhPrwHQW1zuTqBlCBUQWDo9ZVBRBzUmPOj1A5L+sR6UzK
1ljT4Mys6vFhYsXgiaqO0gLlZYa9ao8+7VpxQstVphFJYfzL18848vCipAn70X7E
TH9kUP8gyyOHurrq9xsW9jZzfSEEZ7r0eiF+bAgHje1TfWE5+bZbn4y01LGn8y5l
lIiF8K4iynpct3VL2xNORabj0B99WQjDrw8WdJAF9cH1Zm/ducY31rFRoMn+pPUM
gi9Mo5aTgR3AkLgTRw4qHYN0rfyGN1jfBD4HWbQdYHCbCQhyXTSQLzak8O2DWsbu
RMiFGcfgfItMer0QVU3K
=XBcP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to