[openssh/f14/master] - Added -z relro -z now to LDFLAGS

Jan F. Chadima jfch2222 at fedoraproject.org
Fri Sep 3 14:35:07 UTC 2010


commit 8b2dfaf7b98728f92d64f50e9302441b1d964786
Author: Jan F. Chadima <jfch at frigo.(none)>
Date:   Thu Aug 12 08:21:22 2010 +0200

    - Added -z relro -z now to LDFLAGS

 openssh.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 9108eab..8a5273e 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -70,7 +70,7 @@
 %endif
 
 # Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
-%define openssh_rel 18
+%define openssh_rel 19
 %define openssh_ver 5.5p1
 %define pam_ssh_agent_rel 26
 %define pam_ssh_agent_ver 0.9.2
@@ -326,7 +326,7 @@ CFLAGS="$CFLAGS -fpic"
 %endif
 export CFLAGS
 SAVE_LDFLAGS="$LDFLAGS"
-LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
+LDFLAGS="$LDFLAGS -pie z relro -z now"; export LDFLAGS
 %endif
 %if %{kerberos5}
 if test -r /etc/profile.d/krb5-devel.sh ; then
@@ -588,6 +588,9 @@ fi
 %endif
 
 %changelog
+* Fri Sep  3 2010 Jan F. Chadima <jchadima at redhat.com> - 5.5p1-19 + 0.9.2-26
+- Added -z relro -z now to LDFLAGS
+
 * Wed Jul  7 2010 Jan F. Chadima <jchadima at redhat.com> - 5.5p1-18 + 0.9.2-26
 - merged with newer bugzilla's version of authorized keys command patch
 


More information about the scm-commits mailing list