[nss-util] Resolves: Bug 805716 - Library needs partial RELRO support added

Elio Maldonado emaldonado at fedoraproject.org
Wed Mar 21 21:52:53 UTC 2012


commit 8419394e6fead2f52a9834846801c58da3740a27
Author: Elio Maldonado <emaldona at redhat.com>
Date:   Wed Mar 21 14:52:05 2012 -0700

    Resolves: Bug 805716 - Library needs partial RELRO support added

 nss-util.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nss-util.spec b/nss-util.spec
index a0f1875..381fc54 100644
--- a/nss-util.spec
+++ b/nss-util.spec
@@ -3,7 +3,7 @@
 Summary:          Network Security Services Utilities Library
 Name:             nss-util
 Version:          3.13.3
-Release:          2%{?dist}
+Release:          3%{?dist}
 License:          MPLv1.1 or GPLv2+ or LGPLv2+
 URL:              http://www.mozilla.org/projects/security/pki/nss/
 Group:            System Environment/Libraries
@@ -54,6 +54,10 @@ Header and library files for doing development with Network Security Services.
 
 %build
 
+# partial RELRO support as a security enhancement
+LDFLAGS+=-Wl,-z,relro
+export LDFLAGS
+
 # Enable compiler optimizations and disable debugging code
 BUILD_OPT=1
 export BUILD_OPT
@@ -201,6 +205,9 @@ done
 %{_includedir}/nss3/utilrename.h
 
 %changelog
+* Wed Mar 21 2012 Elio Maldonado <emaldona at redhat.com> - 3.13.3-3
+- Resolves: Bug 805716 - Library needs partial RELRO support added
+
 * Fri Mar 09 2012 Elio Maldonado Batiz <emaldona at redhat.com> - 3.13.3-2
 - Require nspr 4.9
 


More information about the scm-commits mailing list