[subversion] - use full relro in mod_dav_svn build (#973694)

jorton jorton at fedoraproject.org
Tue Jun 18 15:49:29 UTC 2013


commit cf226578fa9b5ee6f762795602e081b647d1d5e6
Author: Joe Orton <jorton at redhat.com>
Date:   Tue Jun 18 16:48:41 2013 +0100

    - use full relro in mod_dav_svn build (#973694)

 subversion.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/subversion.spec b/subversion.spec
index 7fdbe54..d37d1e5 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -205,6 +205,7 @@ sed -i 's/-fpie/-fPIE/' Makefile.in
 
 export CFLAGS="$RPM_OPT_FLAGS -DSVN_SQLITE_MIN_VERSION_NUMBER=3007012 \
        -DSVN_SQLITE_MIN_VERSION=\\\"3.7.12\\\""
+export APACHE_LDFLAGS="-Wl,-z,relro,-z,now"
 export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
 %configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
         --with-swig --with-serf=%{_prefix} \
@@ -470,6 +471,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %changelog
 * Tue Jun 18 2013 Joe Orton <jorton at redhat.com> - 1.8.0-1
 - update to 1.8.0; switch to serf
+- use full relro in mod_dav_svn build (#973694)
 
 * Mon Jun  3 2013 Joe Orton <jorton at redhat.com> - 1.7.10-1
 - update to 1.7.10 (#970014)


More information about the scm-commits mailing list