[nspr] Resolves: Bug 805672 - Library needs partial RELRO support added
Elio Maldonado
emaldonado at fedoraproject.org
Wed Mar 21 21:23:55 UTC 2012
commit 6aaff3fc4e45a5e1ddea9a6ed8a53e70029a5fd1
Author: Elio Maldonado <emaldona at redhat.com>
Date: Wed Mar 21 14:22:11 2012 -0700
Resolves: Bug 805672 - Library needs partial RELRO support added
- Pick up fix applied on RHEL 6.2
nspr.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nspr.spec b/nspr.spec
index cfd01ca..771ba9c 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -1,7 +1,7 @@
Summary: Netscape Portable Runtime
Name: nspr
Version: 4.9
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/nspr/
Group: System Environment/Libraries
@@ -51,6 +51,10 @@ cp %{SOURCE2} ./mozilla/nsprpub/config/
%build
+# partial RELRO support as a security enhancement
+LDFLAGS+=-Wl,-z,relro
+export LDFLAGS
+
./mozilla/nsprpub/configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
@@ -135,6 +139,9 @@ cat %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \
%{_bindir}/nspr-config
%changelog
+* Wed Mar 21 2012 Elio Maldonado <emaldona at redhat.com> - 4.9-2
+- Resolves: Bug 805672 - Library needs partial RELRO support added
+
* Wed Feb 29 2012 Elio Maldonado <emaldona at redhat.com> - 4.9-1
- Update to NSPR_4_9_RTM
More information about the scm-commits
mailing list