[SCM] meterec/master: Fix missing hardening flags

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Feb 16 10:54:39 UTC 2016


The following commit has been merged in the master branch:
commit 2a9e875f4377efb78cabe2e1e3fdab31f5936290
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Feb 16 10:49:59 2016 +0000

    Fix missing hardening flags
    
    Closes: #687047

diff --git a/debian/patches/01-hardening_flags.patch b/debian/patches/01-hardening_flags.patch
new file mode 100644
index 0000000..f5e1653
--- /dev/null
+++ b/debian/patches/01-hardening_flags.patch
@@ -0,0 +1,33 @@
+Description: Use CPPFLAGS from environment (dpkg-buildflags).
+ Necessary for hardening flags.
+Author: Simon Ruderich <simon at ruderich.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687047
+Last-Update: 2012-09-08
+Forwarded: no
+---
+ configure    |    2 +-
+ configure.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- meterec.orig/configure
++++ meterec/configure
+@@ -4388,7 +4388,7 @@ PACKAGE_CFLAGS="$SNDFILE_CFLAGS $JACK_CF
+ PACKAGE_LIBS="$SNDFILE_LIBS $JACK_LIBS $LIBCONFIG_LIBS $NCURSES_LIBS "
+ 
+ CFLAGS="$CFLAGS $PACKAGE_CFLAGS"
+-CPPFLAGS="$CFLAGS $PACKAGE_CFLAGS"
++CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS"
+ LIBS=" $LIBS $PACKAGE_LIBS"
+ 
+ ac_ext=c
+--- meterec.orig/configure.in
++++ meterec/configure.in
+@@ -28,7 +28,7 @@ PACKAGE_CFLAGS="$SNDFILE_CFLAGS $JACK_CF
+ PACKAGE_LIBS="$SNDFILE_LIBS $JACK_LIBS $LIBCONFIG_LIBS $NCURSES_LIBS "
+ 
+ CFLAGS="$CFLAGS $PACKAGE_CFLAGS"
+-CPPFLAGS="$CFLAGS $PACKAGE_CFLAGS"
++CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS"
+ LIBS=" $LIBS $PACKAGE_LIBS"
+ 
+ AC_CHECK_HEADERS(jack/session.h)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0f7bb07
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-hardening_flags.patch

-- 
meterec packaging



More information about the pkg-multimedia-commits mailing list