[subversion/f18] use full RELRO for mod_*.so (#973694)

jorton jorton at fedoraproject.org
Thu Jul 25 18:29:00 UTC 2013


commit bf2fea072acd25c14eb43928097c5168918e1eee
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Jul 25 19:28:45 2013 +0100

    use full RELRO for mod_*.so (#973694)
    
    Resolves: rhbz#973694

 subversion.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/subversion.spec b/subversion.spec
index 36b671a..a241ae1 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -26,7 +26,7 @@
 Summary: A Modern Concurrent Version Control System
 Name: subversion
 Version: 1.7.11
-Release: 1%{?dist}
+Release: 1%{?dist}.1
 License: ASL 2.0
 Group: Development/Tools
 URL: http://subversion.apache.org/
@@ -206,6 +206,7 @@ export svn_cv_ruby_sitedir_archsuffix=""
 sed -i 's/-fpie/-fPIE/' Makefile.in
 %endif
 
+export APACHE_LDFLAGS="-Wl,-z,relro,-z,now"
 export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path} CFLAGS="$RPM_OPT_FLAGS"
 %configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
         --with-swig --with-neon=%{_prefix} \
@@ -469,6 +470,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %endif
 
 %changelog
+* Thu Jul 25 2013 Joe Orton <jorton at redhat.com> - 1.7.11-1.1
+- use full RELRO for mod_*.so (#973694)
+
 * Thu Jul 25 2013 Joe Orton <jorton at redhat.com> - 1.7.11-1
 - update to 1.7.11
 


More information about the scm-commits mailing list