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 705495 Details for
Bug 915818
Preparing NSS for SharedSystemCertificates
[?]
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]
Patch for nss.spec
nsssym.patch (text/plain), 3.43 KB, created by
Kai Engert (:kaie) (inactive account)
on 2013-03-05 15:01:14 UTC
(
hide
)
Description:
Patch for nss.spec
Filename:
MIME Type:
Creator:
Kai Engert (:kaie) (inactive account)
Created:
2013-03-05 15:01:14 UTC
Size:
3.43 KB
patch
obsolete
>diff --git a/nss.spec b/nss.spec >index 4acca34..0fb825b 100644 >--- a/nss.spec >+++ b/nss.spec >@@ -11,7 +11,7 @@ > Summary: Network Security Services > Name: nss > Version: 3.14.3 >-Release: 1%{?dist} >+Release: 9%{?dist} > License: MPLv2.0 > URL: http://www.mozilla.org/projects/security/pki/nss/ > Group: System Environment/Libraries >@@ -20,6 +20,8 @@ Requires: nss-util >= %{nss_util_version} > # TODO: revert to same version as nss once we are done with the merge > Requires: nss-softokn%{_isa} >= %{nss_softokn_version} > Requires: nss-system-init >+Requires(post): %{_sbindir}/update-alternatives >+Requires(postun): %{_sbindir}/update-alternatives > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: nspr-devel >= %{nspr_version} > # TODO: revert to same version as nss once we are done with the merge >@@ -293,6 +295,10 @@ chmod 755 ./mozilla/dist/pkgconfig/setup-nsssysinit.sh > %{__cp} ./mozilla/security/nss/lib/ckfw/nssck.api ./mozilla/dist/private/nss/ > > %check >+if [ $DISABLETEST -eq 1 ]; then >+ echo "testing disabled" >+ exit 0 >+fi > > # Begin -- copied from the build section > FREEBL_NO_DEPEND=1 >@@ -386,8 +392,11 @@ echo "test suite completed" > %{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory} > %{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig > >+touch $RPM_BUILD_ROOT%{_libdir}/libnssckbi.so >+%{__install} -p -m 755 mozilla/dist/*.OBJ/lib/libnssckbi.so $RPM_BUILD_ROOT/%{_libdir}/libnssckbi.so.nss >+ > # Copy the binary libraries we want >-for file in libnss3.so libnssckbi.so libnsspem.so libnsssysinit.so libsmime3.so libssl3.so >+for file in libnss3.so libnsspem.so libnsssysinit.so libsmime3.so libssl3.so > do > %{__install} -p -m 755 mozilla/dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir} > done >@@ -490,9 +499,35 @@ rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h > # from previous versions of nss.spec > /usr/bin/setup-nsssysinit.sh on > >-%post -p /sbin/ldconfig >- >-%postun -p /sbin/ldconfig >+%post >+# If we upgrade, and the shared filename is a regular file, then we must >+# remove it, before we can install the alternatives symbolic link. >+if [ $1 -gt 1 ] ; then >+ # when upgrading or downgrading >+ if test -f %{_libdir}/libnssckbi.so; then >+ rm -f %{_libdir}/libnssckbi.so >+ fi >+fi >+# Install the symbolic link >+# FYI: Certain other packages use alternatives --set to enforce that the first >+# installed package is preferred. We don't do that. Highest priority wins. >+%{_sbindir}/update-alternatives --install %{_libdir}/libnssckbi.so \ >+ %{name} %{_libdir}/libnssckbi.so.nss 10 >+/sbin/ldconfig >+ >+%postun >+if [ $1 -eq 0 ] ; then >+ # package removal >+ %{_sbindir}/update-alternatives --remove %{name} %{_libdir}/libnssckbi.so.nss >+else >+ # upgrade or downgrade >+ # If the new installed package uses a regular file (not a symblic link), >+ # then cleanup the alternatives link. >+ if test -f %{_libdir}/libnssckbi.so; then >+ %{_sbindir}/update-alternatives --remove %{name} %{_libdir}/libnssckbi.so.nss >+ fi >+fi >+/sbin/ldconfig > > > %files >@@ -500,7 +535,8 @@ rm -f $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h > %{_libdir}/libnss3.so > %{_libdir}/libssl3.so > %{_libdir}/libsmime3.so >-%{_libdir}/libnssckbi.so >+%ghost %{_libdir}/libnssckbi.so >+%{_libdir}/libnssckbi.so.nss > %{_libdir}/libnsspem.so > %dir %{_sysconfdir}/pki/nssdb > %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pki/nssdb/cert8.db
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 915818
:
702958
|
702959
|
705495
|
705665