[Pkg-wmaker-commits] [wmclock] 30/66: Imported LDFLAGS for hardening

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 10:52:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmclock.

commit d63ccca0794792567266dad81b5cb6970685949b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Apr 26 15:36:07 2014 -0500

    Imported LDFLAGS for hardening
---
 debian/changelog               |  7 +++++++
 debian/patches/hardening.patch | 17 +++++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 73b2b66..4f388a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wmclock (1.0.14-4) unstable; urgency=low
+
+  * debian/patches
+    + (hardening.patch) Imported LDFLAGS for hardening.
+
+ -- Doug Torrance <dtorrance at monmouthcollege.edu>  Sat, 26 Apr 2014 15:29:37 -0500
+
 wmclock (1.0.14-3) unstable; urgency=low
 
   * debian/copyright
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..176f52e
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,17 @@
+Description: Import LDFLAGS for hardening
+ This patch fixes the hardening-no-relro Lintian warning by appending the
+ LDFLAGS from dpkg-buildflags to the LDOPTIONS variable used by imake.
+ See https://wiki.debian.org/Hardening for more information.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+
+--- wmclock-1.0.14.orig/Imakefile
++++ wmclock-1.0.14/Imakefile
+@@ -7,6 +7,8 @@ CFLAGS         += -Wall -pedantic -Wshad
+ CFLAGS         += -Wcast-qual -Wchar-subscripts -Wpointer-arith 
+ CFLAGS         += -Wredundant-decls -Wstrict-prototypes
+ 
++LDOPTIONS      += $(LDFLAGS)
++
+ XPMLIB		= -L$(PREFIX)/lib/X11 -lXpm   
+ DEPLIBS		= $(DEPXLIB) 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4154e87..04b46ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ manpage_fixes.patch
 manpage_xpm_notes.patch
 fix_12_year_display.patch
 correct_year.patch
+hardening.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmclock.git



More information about the Pkg-wmaker-commits mailing list