tags 661079 + pending patch
tags 1020809 + pending patch
thanks

I've just uploaded aespipe 2.4d-1.1 to DELAYED/10:
  
  aespipe (2.4d-1.1) unstable; urgency=medium
  .
    * Non-maintainer upload.
    * Move to dpkg-buildflags(1) in debian/rules:
      - Ensure that the stack is not executable. (Closes: #661079)
      - Make the build reproducible by setting -fdebug-prefix-map.
        (Closes: #1020809)

The full debdiff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diffstat for aespipe-2.4d aespipe-2.4d

 changelog |   10 ++++++++++
 rules     |   22 ++++++----------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff -Nru aespipe-2.4d/debian/changelog aespipe-2.4d/debian/changelog
--- aespipe-2.4d/debian/changelog       2016-11-28 11:39:38.000000000 +0000
+++ aespipe-2.4d/debian/changelog       2022-12-08 17:14:21.000000000 +0000
@@ -1,3 +1,13 @@
+aespipe (2.4d-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Move to dpkg-buildflags(1) in debian/rules:
+    - Ensure that the stack is not executable. (Closes: #661079)
+    - Make the build reproducible by setting -fdebug-prefix-map.
+      (Closes: #1020809)
+
+ -- Chris Lamb <la...@debian.org>  Thu, 08 Dec 2022 17:14:21 +0000
+
 aespipe (2.4d-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru aespipe-2.4d/debian/rules aespipe-2.4d/debian/rules
--- aespipe-2.4d/debian/rules   2016-11-10 23:50:56.000000000 +0000
+++ aespipe-2.4d/debian/rules   2022-12-08 17:14:21.000000000 +0000
@@ -1,22 +1,15 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
+export DEB_BUILD_MAINT_OPTIONS=hardening=-pie 
reproducible=-fixfilepath,+fixdebugpath
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk 
+
 DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-# needed because of gcc-4.0 problems (#325131)
-ifneq (,$(filter $(DEB_HOST_ARCH),arm hppa))
-       CFLAGS += -O1
-else
-       CFLAGS += -O2
-endif
-endif
-
 ifeq ($(DEB_HOST_ARCH),amd64)
        DEBIAN_OPTIMIZE := amd64
 endif
@@ -25,16 +18,13 @@
        DEBIAN_OPTIMIZE := x86
 endif
 
-CFLAGS += -no-pie
-LDFLAGS += -no-pie
-
 config.status: configure
        dh_testdir
 
        ln -sf /usr/share/misc/config.sub .
        ln -sf /usr/share/misc/config.guess .
 
-       CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \
+       ./configure \
          --host=$(DEB_HOST_GNU_TYPE) \
          --build=$(DEB_BUILD_GNU_TYPE) \
          --prefix=/usr \

Reply via email to