[med-svn] [pdb2pqr] 01/03: remove hardening-no-relro warning

Tatiana Malygina latticetower-guest at moszumanska.debian.org
Tue Jun 14 22:34:06 UTC 2016


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

latticetower-guest pushed a commit to branch master
in repository pdb2pqr.

commit 37115e74bb92c69ae95471fd179b8a25a92be104
Author: latticetower-guest <merlettaia at gmail.com>
Date:   Tue Jun 14 20:16:17 2016 +0300

    remove hardening-no-relro warning
---
 debian/changelog                      |  1 +
 debian/patches/fix_hardening_no_relro | 17 +++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 484c7dc..326279f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pdb2pqr (2.1.1+dfsg-2) UNRELEASED; urgency=medium
   * Team upload.
   * add README.test, docs, examples and simple testsuite
   * enable hardening
+  * add patch to remove hardening-no-relro warning
 
  -- Tatiana Malygina <merlettaia at gmail.com>  Mon, 13 Jun 2016 15:31:19 +0000
 
diff --git a/debian/patches/fix_hardening_no_relro b/debian/patches/fix_hardening_no_relro
new file mode 100644
index 0000000..a1eb684
--- /dev/null
+++ b/debian/patches/fix_hardening_no_relro
@@ -0,0 +1,17 @@
+Author: Tatiana Malygina <merlettaia at gmail.com>
+Last-Update: 2016-06-14
+Description: this fix prevents hardening-no-relro warning from appearing during
+ lintian run
+ 
+--- a/SConscript-main.py
++++ b/SConscript-main.py
+@@ -100,6 +100,9 @@
+ if env['EXTRA_LINKFLAGS']:
+     env.Append(LINKFLAGS = [env['EXTRA_LINKFLAGS']])
+ 
++if 'LDFLAGS' in os.environ:
++    env.Append(LINKFLAGS = os.environ['LDFLAGS'])
++    
+ if os.name == 'nt':
+     #Check to see if we are running in a virtualenv
+     if hasattr(sys, 'real_prefix'):
diff --git a/debian/patches/series b/debian/patches/series
index a862b92..d177cfc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-hashbangs.patch
 no_privacy_breach_logo.patch
 do_not_try_to_build_removed_js_target.patch
+fix_hardening_no_relro

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pdb2pqr.git



More information about the debian-med-commit mailing list