Rebase to NSS 3.79
Rebase to NSPR 4.34
This commit is contained in:
parent
192bd79b19
commit
9d849041f3
2
.gitignore
vendored
2
.gitignore
vendored
@ -70,3 +70,5 @@ TestUser51.cert
|
|||||||
/nss-3.73.tar.gz
|
/nss-3.73.tar.gz
|
||||||
/nss-3.75.tar.gz
|
/nss-3.75.tar.gz
|
||||||
/nss-3.77.tar.gz
|
/nss-3.77.tar.gz
|
||||||
|
/nss-3.79.tar.gz
|
||||||
|
/nspr-4.34.tar.gz
|
||||||
|
58
nss.spec
58
nss.spec
@ -1,5 +1,5 @@
|
|||||||
%global nspr_version 4.32.0
|
%global nspr_version 4.34.0
|
||||||
%global nss_version 3.77.0
|
%global nss_version 3.79.0
|
||||||
# NOTE: To avoid NVR clashes of nspr* packages:
|
# NOTE: To avoid NVR clashes of nspr* packages:
|
||||||
# - reset %%{nspr_release} to 1, when updating %%{nspr_version}
|
# - reset %%{nspr_release} to 1, when updating %%{nspr_version}
|
||||||
# - increment %%{nspr_version}, when updating the NSS part only
|
# - increment %%{nspr_version}, when updating the NSS part only
|
||||||
@ -7,7 +7,7 @@
|
|||||||
%global nss_release %baserelease
|
%global nss_release %baserelease
|
||||||
# use "%%global nspr_release %%[%%baserelease+n]" to handle offsets when
|
# use "%%global nspr_release %%[%%baserelease+n]" to handle offsets when
|
||||||
# release number between nss and nspr are different.
|
# release number between nss and nspr are different.
|
||||||
%global nspr_release %[%baserelease+5]
|
%global nspr_release %baserelease
|
||||||
# only need to update this as we added new
|
# only need to update this as we added new
|
||||||
# algorithms under nss policy control
|
# algorithms under nss policy control
|
||||||
%global crypto_policies_version 20210118
|
%global crypto_policies_version 20210118
|
||||||
@ -115,8 +115,6 @@ Source28: nss-p11-kit.config
|
|||||||
Source100: nspr-%{nspr_archive_version}.tar.gz
|
Source100: nspr-%{nspr_archive_version}.tar.gz
|
||||||
Source101: nspr-config.xml
|
Source101: nspr-config.xml
|
||||||
|
|
||||||
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=617723
|
|
||||||
Patch2: nss-539183.patch
|
|
||||||
# This patch uses the GCC -iquote option documented at
|
# This patch uses the GCC -iquote option documented at
|
||||||
# http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options
|
# http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options
|
||||||
# to give the in-tree headers a higher priority over the system headers,
|
# to give the in-tree headers a higher priority over the system headers,
|
||||||
@ -394,6 +392,7 @@ export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
|||||||
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
|
||||||
|
|
||||||
export NSPR_INCLUDE_DIR=$PWD/dist/include/nspr
|
export NSPR_INCLUDE_DIR=$PWD/dist/include/nspr
|
||||||
|
export NSPR_LIB_DIR=$PWD/dist/lib
|
||||||
|
|
||||||
export NSS_USE_SYSTEM_SQLITE=1
|
export NSS_USE_SYSTEM_SQLITE=1
|
||||||
|
|
||||||
@ -418,6 +417,7 @@ export POLICY_FILE="nss.config"
|
|||||||
# location of the policy file
|
# location of the policy file
|
||||||
export POLICY_PATH="/etc/crypto-policies/back-ends"
|
export POLICY_PATH="/etc/crypto-policies/back-ends"
|
||||||
|
|
||||||
|
|
||||||
%{__make} -C ./nss all
|
%{__make} -C ./nss all
|
||||||
%{__make} -C ./nss latest
|
%{__make} -C ./nss latest
|
||||||
|
|
||||||
@ -561,6 +561,15 @@ export USE_64=1
|
|||||||
|
|
||||||
# End -- copied from the build section
|
# End -- copied from the build section
|
||||||
|
|
||||||
|
# copy the nspr libraries into the NSS object directory so we use the
|
||||||
|
# newly compiled nspr binaries in our test rather than the build root
|
||||||
|
# versions
|
||||||
|
export LOBJDIR=`make -s -C ./nss/tests/common objdir_name`
|
||||||
|
for i in ./dist/lib/*.so
|
||||||
|
do
|
||||||
|
cp $i ./dist/${LOBJDIR}/lib
|
||||||
|
done
|
||||||
|
|
||||||
# This is necessary because the test suite tests algorithms that are
|
# This is necessary because the test suite tests algorithms that are
|
||||||
# disabled by the system policy.
|
# disabled by the system policy.
|
||||||
export NSS_IGNORE_SYSTEM_POLICY=1
|
export NSS_IGNORE_SYSTEM_POLICY=1
|
||||||
@ -584,9 +593,9 @@ if [ $SPACEISBAD -ne 0 ]; then
|
|||||||
echo "error: filenames containing space are not supported (xargs)"
|
echo "error: filenames containing space are not supported (xargs)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
MYRAND=`perl -e 'print 9000 + int rand 1000'`; echo $MYRAND ||:
|
export MYRAND=`perl -e 'print 9000 + int rand 1000'`; echo $MYRAND
|
||||||
RANDSERV=selfserv_${MYRAND}; echo $RANDSERV ||:
|
export RANDSERV=selfserv_${MYRAND}; echo $RANDSERV
|
||||||
DISTBINDIR=`ls -d ./dist/*.OBJ/bin`; echo $DISTBINDIR ||:
|
export DISTBINDIR=./dist/${LOBJDIR}/bin
|
||||||
pushd "$DISTBINDIR"
|
pushd "$DISTBINDIR"
|
||||||
ln -s selfserv $RANDSERV
|
ln -s selfserv $RANDSERV
|
||||||
popd
|
popd
|
||||||
@ -645,6 +654,25 @@ for f in nspr-config; do
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Begin -- copied from the build section
|
||||||
|
# this is needed to make sure LOBJDIR is correct
|
||||||
|
|
||||||
|
export FREEBL_NO_DEPEND=1
|
||||||
|
|
||||||
|
export BUILD_OPT=1
|
||||||
|
export NSS_DISABLE_PPC_GHASH=1
|
||||||
|
|
||||||
|
%ifnarch noarch
|
||||||
|
%if 0%{__isa_bits} == 64
|
||||||
|
export USE_64=1
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# End -- copied from the build section
|
||||||
|
|
||||||
|
# get the objdir value from the test make file
|
||||||
|
export LOBJDIR=`make -s -C ./nss/tests/common objdir_name`
|
||||||
|
|
||||||
# There is no make install target so we'll do it ourselves.
|
# There is no make install target so we'll do it ourselves.
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/nss3
|
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/nss3
|
||||||
@ -673,7 +701,7 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
|
|||||||
# Copy the binary libraries we want
|
# Copy the binary libraries we want
|
||||||
for file in libnssutil3.so libsoftokn3.so %{?with_dbm:libnssdbm3.so} libfreebl3.so libfreeblpriv3.so libnss3.so libnsssysinit.so libsmime3.so libssl3.so
|
for file in libnssutil3.so libsoftokn3.so %{?with_dbm:libnssdbm3.so} libfreebl3.so libfreeblpriv3.so libnss3.so libnsssysinit.so libsmime3.so libssl3.so
|
||||||
do
|
do
|
||||||
install -p -m 755 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
install -p -m 755 dist/${LOBJDIR}/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install the empty NSS db files
|
# Install the empty NSS db files
|
||||||
@ -692,19 +720,19 @@ install -p -m 644 %{SOURCE15} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/pkcs11.tx
|
|||||||
# Copy the development libraries we want
|
# Copy the development libraries we want
|
||||||
for file in libcrmf.a libnssb.a libnssckfw.a
|
for file in libcrmf.a libnssb.a libnssckfw.a
|
||||||
do
|
do
|
||||||
install -p -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
install -p -m 644 dist/${LOBJDIR}/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Copy the binaries we want
|
# Copy the binaries we want
|
||||||
for file in certutil cmsutil crlutil modutil nss-policy-check pk12util signver ssltap
|
for file in certutil cmsutil crlutil modutil nss-policy-check pk12util signver ssltap
|
||||||
do
|
do
|
||||||
install -p -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{_bindir}
|
install -p -m 755 dist/${LOBJDIR}/bin/$file $RPM_BUILD_ROOT/%{_bindir}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Copy the binaries we ship as unsupported
|
# Copy the binaries we ship as unsupported
|
||||||
for file in bltest ecperf fbectest fipstest shlibsign atob btoa derdump listsuites ocspclnt pp selfserv signtool strsclnt symkeyutil tstclnt vfyserv vfychain
|
for file in bltest ecperf fbectest fipstest shlibsign atob btoa derdump listsuites ocspclnt pp selfserv signtool strsclnt symkeyutil tstclnt vfyserv vfychain
|
||||||
do
|
do
|
||||||
install -p -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
|
install -p -m 755 dist/${LOBJDIR}/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Copy the include files we want
|
# Copy the include files we want
|
||||||
@ -722,7 +750,7 @@ done
|
|||||||
# Copy the static freebl library
|
# Copy the static freebl library
|
||||||
for file in libfreebl.a
|
for file in libfreebl.a
|
||||||
do
|
do
|
||||||
install -p -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
install -p -m 644 dist/${LOBJDIR}/lib/$file $RPM_BUILD_ROOT/%{_libdir}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Copy the template files we want
|
# Copy the template files we want
|
||||||
@ -1059,6 +1087,10 @@ update-crypto-policies &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 31 2022 Bob Relyea <rrelyea@redhat.com> - 3.79.0-1
|
||||||
|
- Update to NSS 3.79
|
||||||
|
- Update to NSPR 4.34
|
||||||
|
|
||||||
* Tue Apr 5 2022 Bob Relyea <rrelyea@redhat.com> - 3.77.0-1
|
* Tue Apr 5 2022 Bob Relyea <rrelyea@redhat.com> - 3.77.0-1
|
||||||
- Update to 3.77
|
- Update to 3.77
|
||||||
|
|
||||||
|
7
sources
7
sources
@ -1,7 +1,4 @@
|
|||||||
SHA512 (blank-cert8.db) = ac131d15708c5f1b5e467831f919f4fc4ba13b60a4bb5fe260c845fa9afcd899a588d21ed52060abaa1bbb29f2b53af8b495d28407183cb03aff1974f95f1d3d
|
|
||||||
SHA512 (blank-cert9.db) = 2f8eab4c0612210ee47db8a3a80c1b58a0b43849551af78c7da403fda3e3d4e7757838061ae56ccf5aac335cb54f254f0a9e6e9c0dd5920b4155a39264525b06
|
SHA512 (blank-cert9.db) = 2f8eab4c0612210ee47db8a3a80c1b58a0b43849551af78c7da403fda3e3d4e7757838061ae56ccf5aac335cb54f254f0a9e6e9c0dd5920b4155a39264525b06
|
||||||
SHA512 (blank-key3.db) = 01f7314e9fc8a7c9aa997652624cfcde213d18a6b3bb31840c1a60bbd662e56b5bc3221d13874abb42ce78163b225a6dfce2e1326cf6dd29366ad9c28ba5a71c
|
|
||||||
SHA512 (blank-key4.db) = 8fedae93af7163da23fe9492ea8e785a44c291604fa98e58438448efb69c85d3253fc22b926d5c3209c62e58a86038fd4d78a1c4c068bc00600a7f3e5382ebe7
|
SHA512 (blank-key4.db) = 8fedae93af7163da23fe9492ea8e785a44c291604fa98e58438448efb69c85d3253fc22b926d5c3209c62e58a86038fd4d78a1c4c068bc00600a7f3e5382ebe7
|
||||||
SHA512 (blank-secmod.db) = 06a2dbd861839ef6315093459328b500d3832333a34b30e6fac4a2503af337f014a4d319f0f93322409e719142904ce8bc08252ae9a4f37f30d4c3312e900310
|
SHA512 (nspr-4.34.tar.gz) = 4cfac886c14cf7df4c4b79fa1c3bc92e1b14260c9c3018fa2562060d62fecb4e66c0b4e8f7edf4f4823def784a919d99dde88a89674f0cd8a644310b0569ead4
|
||||||
SHA512 (nspr-4.32.tar.gz) = da9b65b374783d20a2e589211b411816d899e296e91175d376e59df1919144c1808c155a234d6ceefdf7b8ae8f47cec98d92a5aa3150a579513251860e50dcb7
|
SHA512 (nss-3.79.tar.gz) = d3311da3bd0e6907760390221c1307a63d84dd8ad9b85dbfdbf59fe4678341c9856b6f93235731999a1236c98dc0ac66d2dc023eb439cb696f73509dae70c41d
|
||||||
SHA512 (nss-3.77.tar.gz) = bd62eeb8f90ecd2d3999fd78fea6652736c02a6530f29e98d0cad0707f3b901b30409132eb6a6d53b9f5c05c6b464615a946a2a3e255553c793e44d0ed93179e
|
|
||||||
|
Loading…
Reference in New Issue
Block a user