Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 669712 Details for
Bug 689918
Build NSS without any softoken or util sources present in the tree
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Changes to the spec file in patch form
nss.spec.changes.patch (text/plain), 7.33 KB, created by
Elio Maldonado Batiz
on 2012-12-27 22:59:17 UTC
(
hide
)
Description:
Changes to the spec file in patch form
Filename:
MIME Type:
Creator:
Elio Maldonado Batiz
Created:
2012-12-27 22:59:17 UTC
Size:
7.33 KB
patch
obsolete
>diff --git a/nss.spec b/nss.spec >index 9fdb794..5f3abf4 100644 >--- a/nss.spec >+++ b/nss.spec >@@ -7,7 +7,7 @@ > Summary: Network Security Services > Name: nss > Version: 3.14.1 >-Release: 2%{?dist} >+Release: 3%{?dist} > License: MPLv2.0 > URL: http://www.mozilla.org/projects/security/pki/nss/ > Group: System Environment/Libraries >@@ -41,6 +41,7 @@ Source0: %{name}-%{version}-stripped.tar.bz2 > # to produce ${name}-${version}-stripped.tar.bz2 > # for uploading to the lookaside cache. > Source100: mozilla-crypto-strip.sh >+Source101: copy-softoken-libs.sh > > Source1: nss.pc.in > Source2: nss-config.in >@@ -73,6 +74,12 @@ Patch40: nss-3.14.0.0-disble-ocsp-test.patch > Patch42: 0001-Add-extended-key-usage-for-MS-Authenticode-Code-Sign.patch > > Patch43: no-softoken-freebl-tests.patch >+# upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=820207 >+Patch44: rsaperf.patch >+# TODO: Add upstream bug URL here >+Patch45: Bug-689918-build-without-softoken.patch >+# Templates are installed in /usr/include/nss3/templates >+Patch46: add-templates-directory-to-includes.patch > > %description > Network Security Services (NSS) is a set of libraries designed to >@@ -158,6 +165,31 @@ low level services. > %patch40 -p1 -b .noocsptest > %patch42 -p0 -b .870864 > %patch43 -p0 -b .nosoftokentests >+%patch44 -p0 -b .rsaperf >+%patch45 -p0 -b .689918 >+%patch46 -p0 -b .templates >+ >+######################################################### >+# Higher-level libraries and test tools need access to >+# module-private headers from util, freebl, and softoken >+# until fixed upstream we must copy some headers locally >+######################################################### >+pemNeeds="softoken lowkeyti softoknt" >+for file in ${pemNeeds}; do >+ %{__cp} ./mozilla/security/nss/lib/softoken/${file}.h ./mozilla/security/nss/lib/ckfw/pem/ >+done >+ >+# Script copies system libraries and their .chk files to the build tree >+%{__cp} %{SOURCE101} ./mozilla/security/nss >+ >+######## Remove freebl, softoken and util from the source tree >+%{__rm} -rf ./mozilla/security/nss/lib/freebl >+%{__rm} -rf ./mozilla/security/nss/lib/softoken >+%{__rm} -rf ./mozilla/security/nss/lib/util >+######## Remove nss-softokn test tools from the source tree >+%{__rm} -rf ./mozilla/security/nss/cmd/bltest >+%{__rm} -rf ./mozilla/security/nss/cmd/fipstest >+%{__rm} -rf ./mozilla/security/nss/cmd/rsaperf_low > > %build > >@@ -191,10 +223,22 @@ NSPR_LIB_DIR=%{_libdir} > export NSPR_INCLUDE_DIR > export NSPR_LIB_DIR > >+export NSSUTIL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-util | sed 's/-I//'` >+export NSSUTIL_LIB_DIR=%{_libdir} >+ > export FREEBL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-softokn | sed 's/-I//'` > export FREEBL_LIB_DIR=%{_libdir} > export USE_SYSTEM_FREEBL=1 > >+export FREEBL_LIBS=`/usr/bin/pkg-config --libs nss-softokn` >+ >+export SOFTOKEN_LIB_DIR=%{_libdir} >+# use the system ones >+export USE_SYSTEM_NSSUTIL=1 >+export USE_SYSTEM_FREEBL=1 >+export USE_SYSTEM_SOFTOKEN=1 >+export NSS_BUILD_WITHOUT_SOFTOKEN=1 >+ > NSS_USE_SYSTEM_SQLITE=1 > export NSS_USE_SYSTEM_SQLITE > >@@ -210,19 +254,6 @@ unset NSS_ENABLE_ECC > %{__make} -C ./mozilla/security/coreconf > %{__make} -C ./mozilla/security/dbm > >-%{__make} -C ./mozilla/security/nss/lib/util export >-%{__make} -C ./mozilla/security/nss/lib/freebl export >-%{__make} -C ./mozilla/security/nss/lib/softoken export >- >-%{__make} -C ./mozilla/security/nss/lib/util >-%{__make} -C ./mozilla/security/nss/lib/freebl >-%{__make} -C ./mozilla/security/nss/lib/softoken >- >-# stash away the bltest and fipstest to build them last >-tar cf build_these_later.tar ./mozilla/security/nss/cmd/bltest ./mozilla/security/nss/cmd/fipstest >-rm -rf ./mozilla/security/nss/cmd/bltest >-rm -rf ./mozilla/security/nss/cmd/fipstest >- > ##### phase 2: build the rest of nss > # nss supports pluggable ecc > NSS_ENABLE_ECC=1 >@@ -239,11 +270,12 @@ export NSS_ECC_MORE_THAN_SUITE_B > %{__make} -C ./mozilla/security/dbm > %{__make} -C ./mozilla/security/nss > >-##### phase 3: build bltest and fipstest >-tar xf build_these_later.tar >-unset NSS_ENABLE_ECC; %{__make} -C ./mozilla/security/nss/cmd/bltest >-unset NSS_ENABLE_ECC; %{__make} -C ./mozilla/security/nss/cmd/fipstest >-%{__rm} -f build_these_later.tar >+######## Copy the prebuild sytem nss-softokn libraries and tests >+# applications into the build tree. >+# With a makefile target the destination directory is known >+pushd ./mozilla/security/nss >+%{__make} copy_softoken_libs >+popd > > # Set up our package file > # The nspr_version and nss_{util|softokn}_version globals used >@@ -431,49 +463,6 @@ done > # Copy the pkcs #11 configuration script > %{__install} -p -m 755 ./mozilla/dist/pkgconfig/setup-nsssysinit.sh $RPM_BUILD_ROOT/%{_bindir}/setup-nsssysinit.sh > >-#remove the nss-util-devel headers >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/base64.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/ciferfam.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssb64.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssb64t.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslocks.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssilock.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssilckt.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssrwlk.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssrwlkt.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nssutil.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11f.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11n.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11p.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11t.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11u.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/portreg.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secasn1.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secasn1t.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/seccomon.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secder.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secdert.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secdig.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secdigt.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secerr.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secitem.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secoid.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secoidt.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/secport.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/utilrename.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/utilmodt.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/utilpars.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/utilparst.h >- >-#remove headers shipped nss-softokn-devel and nss-softokn-freebl-devel >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/alghmac.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/blapit.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/ecl-exp.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/hasht.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/shsign.h >-rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h >- > %clean > %{__rm} -rf $RPM_BUILD_ROOT > >@@ -603,6 +592,10 @@ rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h > > > %changelog >+* Wed Dec 26 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-3 >+- Split rsaperf into low and high level components >+- Resolves: rhbz#689918 - Build without softoken or util sources in the tree >+ > * Sat Dec 22 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-2 > - Require nspr >= 4.9.4 > - Fix changelog invalid dates
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 689918
:
552424
|
552425
|
552428
|
552434
|
552436
|
552443
|
561692
|
561694
|
561696
|
561697
|
561698
|
561699
|
561700
|
572565
|
574101
|
584429
|
643175
|
643180
|
643202
|
643203
|
643660
|
643794
|
643807
|
669709
|
669710
|
669711
|
669712
|
669713
|
762643
|
762645
|
762646