- disable execstack when building freebl
This commit is contained in:
parent
7c0fe911a5
commit
37d66db220
11
nss-disable-freebl-execstack.patch
Normal file
11
nss-disable-freebl-execstack.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- nss-3.12.2.99.3/mozilla/security/nss/lib/freebl/Makefile-save 2009-04-02 08:46:32.083530732 -0700
|
||||||
|
+++ nss-3.12.2.99.3/mozilla/security/nss/lib/freebl/Makefile 2009-04-02 08:46:51.740542226 -0700
|
||||||
|
@@ -133,7 +133,7 @@
|
||||||
|
ifeq ($(OS_TARGET),Linux)
|
||||||
|
ifeq ($(CPU_ARCH),x86_64)
|
||||||
|
ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
|
||||||
|
- ASFLAGS += -march=opteron -m64 -fPIC
|
||||||
|
+ ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
|
||||||
|
DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
|
||||||
|
DEFINES += -DNSS_USE_COMBA
|
||||||
|
DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
|
6
nss.spec
6
nss.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: Network Security Services
|
Summary: Network Security Services
|
||||||
Name: nss
|
Name: nss
|
||||||
Version: 3.12.2.99.3
|
Version: 3.12.2.99.3
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
URL: http://www.mozilla.org/projects/security/pki/nss/
|
URL: http://www.mozilla.org/projects/security/pki/nss/
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -34,6 +34,7 @@ Patch2: nss-nolocalsql.patch
|
|||||||
Patch4: nss-pem-bug483855.patch
|
Patch4: nss-pem-bug483855.patch
|
||||||
Patch5: nss-pem-bug429175.patch
|
Patch5: nss-pem-bug429175.patch
|
||||||
Patch6: nss-enable-pem.patch
|
Patch6: nss-enable-pem.patch
|
||||||
|
Patch7: nss-disable-freebl-execstack.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Network Security Services (NSS) is a set of libraries designed to
|
Network Security Services (NSS) is a set of libraries designed to
|
||||||
@ -90,6 +91,7 @@ low level services.
|
|||||||
%patch4 -p0 -b .483855
|
%patch4 -p0 -b .483855
|
||||||
%patch5 -p0 -b .429175
|
%patch5 -p0 -b .429175
|
||||||
%patch6 -p0 -b .libpem
|
%patch6 -p0 -b .libpem
|
||||||
|
%patch7 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -450,6 +452,8 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 02 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-4
|
||||||
|
- disable execstack when building freebl
|
||||||
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-3
|
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-3
|
||||||
- add upstream patch to fix bug 483855
|
- add upstream patch to fix bug 483855
|
||||||
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-2
|
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-2
|
||||||
|
Loading…
Reference in New Issue
Block a user