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

Elio Maldonado emaldonado at fedoraproject.org
Wed Mar 28 18:54:00 UTC 2012


commit dcb4572f0b4474bf6ff05e5a56e806a1a23c8657
Author: Elio Maldonado <emaldona at redhat.com>
Date:   Wed Mar 28 11:53:26 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 57569c1..ebff187 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.1%{?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 28 2012 Elio Maldonado <emaldona at redhat.com> - 3.13.3
+- Resolves: Bug 805716 - Library needs partial RELRO support added
+
 * Sat Mar 10 2012 Elio Maldonado <emaldona at redhat.com> - 3.13.3-2.1
 - Retagging to synchronize changelog tag with Release tag
 


More information about the scm-commits mailing list