Blame SPECS/nss-softokn.spec

716a00
%global nspr_version 4.10.8
dcddc0
%global nss_name nss
031e90
%global nss_util_version 3.21.0
031e90
%global nss_util_build -2.2
dcddc0
%global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
dcddc0
%global saved_files_dir %{_libdir}/nss/saved
6fbbf4
%global prelink_conf_dir %{_sysconfdir}/prelink.conf.d/
6fbbf4
%define dracutlibdir %{_prefix}/lib/dracut
6fbbf4
%global dracut_modules_dir %{dracutlibdir}/modules.d/05nss-softokn/
6fbbf4
%global dracut_conf_dir %{dracutlibdir}/dracut.conf.d
6fbbf4
dcddc0
dcddc0
# Produce .chk files for the final stripped binaries
dcddc0
#
dcddc0
# NOTE: The LD_LIBRARY_PATH line guarantees shlibsign links
dcddc0
# against the freebl that we just built. This is necessary
dcddc0
# because the signing algorithm changed on 3.14 to DSA2 with SHA256
dcddc0
# whereas we previously signed with DSA and SHA1. We must Keep this line
dcddc0
# until all mock platforms have been updated.
dcddc0
# After %%{__os_install_post} we would add
6fbbf4
#export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}
dcddc0
%define __spec_install_post \
dcddc0
    %{?__debug_package:%{__debug_install_post}} \
dcddc0
    %{__arch_install_post} \
dcddc0
    %{__os_install_post} \
dcddc0
    $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libsoftokn3.so \
6fbbf4
    $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreeblpriv3.so \
dcddc0
    $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.so \
dcddc0
    $RPM_BUILD_ROOT/%{unsupported_tools_directory}/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libnssdbm3.so \
dcddc0
%{nil}
dcddc0
dcddc0
Summary:          Network Security Services Softoken Module
dcddc0
Name:             nss-softokn
571600
Version:          3.16.2.3
4aaebc
Release:          14.4%{?dist}
dcddc0
License:          MPLv2.0
dcddc0
URL:              http://www.mozilla.org/projects/security/pki/nss/
dcddc0
Group:            System Environment/Libraries
dcddc0
Requires:         nspr >= %{nspr_version}
031e90
Requires:         nss-util >= %{nss_util_version}%{nss_util_build}
6fbbf4
Requires:         nss-softokn-freebl%{_isa} >= %{version}-%{release}
dcddc0
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
dcddc0
BuildRequires:    nspr-devel >= %{nspr_version}
031e90
BuildRequires:    nss-util-devel >= %{nss_util_version}%{nss_util_build}
dcddc0
BuildRequires:    sqlite-devel
dcddc0
BuildRequires:    zlib-devel
dcddc0
BuildRequires:    pkgconfig
dcddc0
BuildRequires:    gawk
dcddc0
BuildRequires:    psmisc
dcddc0
BuildRequires:    perl
dcddc0
5297d5
Source0:          %{name}-%{version}.tar.gz
5297d5
# The nss-softokn tar ball is a subset of nss-{version}.tar.gz.
dcddc0
# We use the nss-split-softokn.sh script to keep only what we need
5297d5
# via via nss-split-softokn.sh ${version}
dcddc0
# Detailed Steps:
dcddc0
# rhpkg clone nss-softokn
dcddc0
# cd nss-softokn
dcddc0
# Split off nss-softokn out of the full nss source tar ball:
dcddc0
# sh ./nss-split-softokn.sh ${version}
5297d5
# A file named {name}-{version}.tar.gz should appear
dcddc0
# which is ready for uploading to the lookaside cache.
dcddc0
Source1:          nss-split-softokn.sh
dcddc0
Source2:          nss-softokn.pc.in
dcddc0
Source3:          nss-softokn-config.in
6fbbf4
Source4:	  nss-softokn-prelink.conf
6fbbf4
Source5:	  nss-softokn-dracut-module-setup.sh
6fbbf4
Source6:	  nss-softokn-dracut.conf
dcddc0
dcddc0
Patch1:           build-nss-softoken-only.patch
dcddc0
# Build only the softoken and freebl related tools
dcddc0
Patch8:           softoken-minimal-test-dependencies.patch
dcddc0
# Select the tests to run based on the type of build
dcddc0
# This patch uses the gcc-iquote dir option documented at
dcddc0
# http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options
dcddc0
# to place the in-tree directories at the head of the list on list of directories
dcddc0
# to be searched for for header files. This ensures a build even when system freebl 
dcddc0
# headers are older. Such is the case when we are starting a major update.
dcddc0
# NSSUTIL_INCLUDE_DIR, after all, contains both util and freebl headers. 
dcddc0
# Once has been bootstapped the patch may be removed, but it doesn't hurt to keep it.
dcddc0
Patch10:           iquote.patch
5297d5
Patch11:           nss-softokn-allow-level1.patch
6fbbf4
Patch12:           additional-covscan-fixes.patch
700847
Patch13:           nss-softokn-3.16-tls12-mechanisms.patch
031e90
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=923089
031e90
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=951455
700847
Patch14:	   nss-softokn-3.16-sha384-key-derive.patch
6fbbf4
716a00
# Patch related to CVE-2015-2730
716a00
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1125025
716a00
# from https://hg.mozilla.org/projects/nss/rev/2c05e861ce07
716a00
Patch102:           CheckForPeqQ-or-PnoteqQ-before-adding-P-and-Q.patch
716a00
6fbbf4
6fbbf4
# FIPS update
031e90
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1181814
6fbbf4
Patch80:	nss-softokn-3.16-fips-post.patch
6fbbf4
Patch81:	nss-softokn-3.16-fips.patch
6fbbf4
Patch82:	nss-softokn-3.16-fips-rem-old-test.patch
6fbbf4
Patch83:	nss-softokn-3.16-lowhash-test.patch
6fbbf4
Patch90:	nss-softokn-3.16-addG.patch
6fbbf4
Patch94:	nss-softokn-3.16-rsa-fips-186.patch
6fbbf4
Patch95:	nss-softokn-3.16-ppc-no-init_support.patch
6fbbf4
Patch97:	nss-softokn-3.16-add_encrypt_derive.patch
6fbbf4
Patch98:	nss-softokn-3.16.allow_level1_init.patch
6fbbf4
Patch99:	nss-softokn-3.16-fips_user_slots.patch
6fbbf4
Patch100:	nss-softokn-3.16-block-sigchld.patch
6fbbf4
Patch200:	nss-softokn-3.16-fipstest.patch
6fbbf4
Patch201:	nss-softokn-3.16-fipstest-186-4.patch
6fbbf4
Patch202:	nss-softokn-fix-error-handling.patch
6fbbf4
Patch203:	nss-softokn-3.16-freebl_dyload.patch
6fbbf4
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1113632
700847
Patch204:	limit-create-fipscheck.patch
031e90
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=923089
031e90
# Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=951455
700847
Patch205:	nss-softokn-3.16-tls12-mechanisms-fipstest.patch
031e90
# https://bugzilla.redhat.com/show_bug.cgi?id=1053437
031e90
Patch206:   skip-check-fork-in_GetFunctionList.patch
dcddc0
dcddc0
%description
dcddc0
Network Security Services Softoken Cryptographic Module
dcddc0
dcddc0
%package freebl
dcddc0
Summary:          Freebl library for the Network Security Services
dcddc0
Group:            System Environment/Base
dcddc0
Conflicts:        nss < 3.12.2.99.3-5
dcddc0
Conflicts:        prelink < 0.4.3
dcddc0
Conflicts:        filesystem < 3
dcddc0
dcddc0
%description freebl
93f351
NSS Softoken Cryptographic Module Freebl Library
dcddc0
dcddc0
Install the nss-softokn-freebl package if you need the freebl 
dcddc0
library.
dcddc0
dcddc0
%package freebl-devel
dcddc0
Summary:          Header and Library files for doing development with the Freebl library for NSS
dcddc0
Group:            System Environment/Base
dcddc0
Provides:         nss-softokn-freebl-static = %{version}-%{release}
dcddc0
Requires:         nss-softokn-freebl%{?_isa} = %{version}-%{release}
dcddc0
dcddc0
%description freebl-devel
93f351
NSS Softoken Cryptographic Module Freebl Library Development Tools
dcddc0
This package supports special needs of some PKCS #11 module developers and
dcddc0
is otherwise considered private to NSS. As such, the programming interfaces
dcddc0
may change and the usual NSS binary compatibility commitments do not apply.
dcddc0
Developers should rely only on the officially supported NSS public API.
dcddc0
dcddc0
%package devel
dcddc0
Summary:          Development libraries for Network Security Services
dcddc0
Group:            Development/Libraries
dcddc0
Requires:         nss-softokn%{?_isa} = %{version}-%{release}
dcddc0
Requires:         nss-softokn-freebl-devel%{?_isa} = %{version}-%{release}
dcddc0
Requires:         nspr-devel >= %{nspr_version}
031e90
Requires:         nss-util-devel >= %{nss_util_version}%{nss_util_build}
dcddc0
Requires:         pkgconfig
dcddc0
BuildRequires:    nspr-devel >= %{nspr_version}
031e90
BuildRequires:    nss-util-devel >= %{nss_util_version}%{nss_util_build}
dcddc0
# require nss at least the version when we split via subpackages
dcddc0
dcddc0
%description devel
dcddc0
Header and library files for doing development with Network Security Services.
dcddc0
dcddc0
dcddc0
%prep
dcddc0
%setup -q
dcddc0
dcddc0
%patch1 -p0 -b .softokenonly
dcddc0
%patch8 -p0 -b .crypto
dcddc0
# activate if needed when doing a major update with new apis
571600
#%patch10 -p0 -b .iquote
5297d5
%patch11 -p0 -b .allow_level1
dcddc0
6fbbf4
#fips
6fbbf4
%patch80 -p0 -b .fips-post
6fbbf4
%patch81 -p0 -b .fips
6fbbf4
%patch82 -p0 -b .rm-old-test
6fbbf4
%patch83 -p0 -b .lowhash-test
6fbbf4
%patch90 -p0 -b .addG
6fbbf4
%patch94 -p1 -b .fips-186-4
6fbbf4
%patch95 -p0 -b .ppc_no_init_support
6fbbf4
%patch97 -p0 -b .add_encrypt_derive
6fbbf4
%patch98 -p0 -b .allow_level1_init
6fbbf4
%patch99 -p0 -b .fips_user_slots
6fbbf4
%patch100 -p0 -b .block_sigchld
6fbbf4
%patch200 -p0 -b .fipstest
6fbbf4
%patch201 -p0 -b .fipstest-186-4
6fbbf4
%patch202 -p0 -b .1154764
6fbbf4
%patch203 -p0 -b .freebl-dyload
6fbbf4
%patch204 -p0 -b .limit_create_fips_check
700847
%patch205 -p0 -b .1212106
031e90
# https://bugzilla.redhat.com/show_bug.cgi?id=1053437
031e90
%patch206 -p3 -b .skipcheckfork
6fbbf4
%patch12 -p0 -b .1154764extras
700847
pushd nss
700847
%patch13 -p1 -b .1212106
700847
popd
700847
%patch14 -p1 -b .sha384_key_derive
716a00
pushd nss
716a00
%patch102 -p1 -b .extra_check
716a00
popd
dcddc0
dcddc0
%build
dcddc0
dcddc0
# partial RELRO support as a security enhancement
dcddc0
LDFLAGS+=-Wl,-z,relro
dcddc0
export LDFLAGS
dcddc0
dcddc0
FREEBL_NO_DEPEND=1
dcddc0
export FREEBL_NO_DEPEND
dcddc0
dcddc0
# Must export FREEBL_LOWHASH=1 for nsslowhash.h so that it gets
dcddc0
# copied to dist and the rpm install phase can find it
dcddc0
# This due of the upstream changes to fix
dcddc0
# https://bugzilla.mozilla.org/show_bug.cgi?id=717906
dcddc0
FREEBL_LOWHASH=1
dcddc0
export FREEBL_LOWHASH
dcddc0
6fbbf4
#FREEBL_USE_PRELINK=1
6fbbf4
#export FREEBL_USE_PRELINK
dcddc0
dcddc0
# Enable compiler optimizations and disable debugging code
dcddc0
BUILD_OPT=1
dcddc0
export BUILD_OPT
dcddc0
dcddc0
# Uncomment to disable optimizations
dcddc0
#RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/-O2/-O0/g'`
dcddc0
#export RPM_OPT_FLAGS
dcddc0
dcddc0
# Generate symbolic info for debuggers
dcddc0
XCFLAGS=$RPM_OPT_FLAGS
dcddc0
export XCFLAGS
dcddc0
dcddc0
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
dcddc0
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
dcddc0
dcddc0
export PKG_CONFIG_ALLOW_SYSTEM_LIBS
dcddc0
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
dcddc0
dcddc0
NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nspr | sed 's/-I//'`
dcddc0
NSPR_LIB_DIR=`/usr/bin/pkg-config --libs-only-L nspr | sed 's/-L//'`
dcddc0
dcddc0
export NSPR_INCLUDE_DIR
dcddc0
export NSPR_LIB_DIR
dcddc0
dcddc0
export NSSUTIL_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nss-util | sed 's/-I//'`
dcddc0
export NSSUTIL_LIB_DIR=%{_libdir}
dcddc0
dcddc0
NSS_USE_SYSTEM_SQLITE=1
dcddc0
export NSS_USE_SYSTEM_SQLITE
dcddc0
031e90
%ifnarch noarch
031e90
%if 0%{__isa_bits} == 64
dcddc0
USE_64=1
dcddc0
export USE_64
dcddc0
%endif
031e90
%endif
dcddc0
dcddc0
# uncomment if the iquote patch is activated
dcddc0
export IN_TREE_FREEBL_HEADERS_FIRST=1
dcddc0
dcddc0
# Use only the basicutil subset for sectools.a
dcddc0
export NSS_BUILD_SOFTOKEN_ONLY=1
dcddc0
93f351
# display processor information
93f351
CPU_INFO=`cat /proc/cpuinfo`
93f351
echo "############## CPU INFO ##################"
93f351
echo "${CPU_INFO}"
93f351
echo "##########################################"
93f351
dcddc0
# Compile softokn plus needed support
dcddc0
%{__make} -C ./nss/coreconf
dcddc0
%{__make} -C ./nss/lib/dbm
dcddc0
%{__make} -C ./nss
dcddc0
dcddc0
# Set up our package file
dcddc0
# The nspr_version and nss_util_version globals used here
dcddc0
# must match the ones nss-softokn has for its Requires. 
dcddc0
%{__mkdir_p} ./dist/pkgconfig
dcddc0
%{__cat} %{SOURCE2} | sed -e "s,%%libdir%%,%{_libdir},g" \
dcddc0
                          -e "s,%%prefix%%,%{_prefix},g" \
dcddc0
                          -e "s,%%exec_prefix%%,%{_prefix},g" \
dcddc0
                          -e "s,%%includedir%%,%{_includedir}/nss3,g" \
dcddc0
                          -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
dcddc0
                          -e "s,%%NSSUTIL_VERSION%%,%{nss_util_version},g" \
dcddc0
                          -e "s,%%SOFTOKEN_VERSION%%,%{version},g" > \
dcddc0
                          ./dist/pkgconfig/nss-softokn.pc
dcddc0
dcddc0
SOFTOKEN_VMAJOR=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VMAJOR" | awk '{print $3}'`
dcddc0
SOFTOKEN_VMINOR=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VMINOR" | awk '{print $3}'`
dcddc0
SOFTOKEN_VPATCH=`cat nss/lib/softoken/softkver.h | grep "#define.*SOFTOKEN_VPATCH" | awk '{print $3}'`
dcddc0
dcddc0
export SOFTOKEN_VMAJOR
dcddc0
export SOFTOKEN_VMINOR
dcddc0
export SOFTOKEN_VPATCH
dcddc0
dcddc0
%{__cat} %{SOURCE3} | sed -e "s,@libdir@,%{_libdir},g" \
dcddc0
                          -e "s,@prefix@,%{_prefix},g" \
dcddc0
                          -e "s,@exec_prefix@,%{_prefix},g" \
dcddc0
                          -e "s,@includedir@,%{_includedir}/nss3,g" \
dcddc0
                          -e "s,@MOD_MAJOR_VERSION@,$SOFTOKEN_VMAJOR,g" \
dcddc0
                          -e "s,@MOD_MINOR_VERSION@,$SOFTOKEN_VMINOR,g" \
dcddc0
                          -e "s,@MOD_PATCH_VERSION@,$SOFTOKEN_VPATCH,g" \
dcddc0
                          > ./dist/pkgconfig/nss-softokn-config
dcddc0
dcddc0
chmod 755 ./dist/pkgconfig/nss-softokn-config
dcddc0
dcddc0
dcddc0
%check
571600
if [ ${DISABLETEST:-0} -eq 1 ]; then
571600
  echo "testing disabled"
571600
  exit 0
571600
fi
dcddc0
dcddc0
# Begin -- copied from the build section
dcddc0
FREEBL_NO_DEPEND=1
dcddc0
export FREEBL_NO_DEPEND
dcddc0
dcddc0
BUILD_OPT=1
dcddc0
export BUILD_OPT
dcddc0
031e90
%ifnarch noarch
031e90
%if 0%{__isa_bits} == 64
dcddc0
USE_64=1
dcddc0
export USE_64
dcddc0
%endif
031e90
%endif
dcddc0
dcddc0
# to test for the last tool built correctly
dcddc0
export NSS_BUILD_SOFTOKEN_ONLY=1
dcddc0
dcddc0
# End -- copied from the build section
dcddc0
dcddc0
# enable the following line to force a test failure
dcddc0
# find . -name \*.chk | xargs rm -f
dcddc0
dcddc0
# Run test suite.
dcddc0
dcddc0
SPACEISBAD=`find ./nss/tests | grep -c ' '` ||:
dcddc0
if [ $SPACEISBAD -ne 0 ]; then
dcddc0
  echo "error: filenames containing space are not supported (xargs)"
dcddc0
  exit 1
dcddc0
fi
dcddc0
dcddc0
rm -rf ./tests_results
571600
pushd ./nss/tests/
dcddc0
# all.sh is the test suite script
dcddc0
dcddc0
# only run cipher tests for nss-softokn
dcddc0
%global nss_cycles "standard"
571600
%global nss_tests "cipher lowhash"
dcddc0
%global nss_ssl_tests " "
dcddc0
%global nss_ssl_run " "
dcddc0
dcddc0
HOST=localhost DOMSUF=localdomain PORT=$MYRAND NSS_CYCLES=%{?nss_cycles} NSS_TESTS=%{?nss_tests} NSS_SSL_TESTS=%{?nss_ssl_tests} NSS_SSL_RUN=%{?nss_ssl_run} ./all.sh
dcddc0
571600
popd
dcddc0
571600
# Normally, the grep exit status is 0 if selected lines are found and 1 otherwise,
571600
# Grep exits with status greater than 1 if an error ocurred. 
571600
# If there are test failures we expect TEST_FAILURES > 0 and GREP_EXIT_STATUS = 0, 
571600
# With no test failures we expect TEST_FAILURES = 0 and GREP_EXIT_STATUS = 1, whereas 
571600
# GREP_EXIT_STATUS > 1 would indicate an error in grep such as failure to find the log file.
571600
killall $RANDSERV || :
571600
571600
TEST_FAILURES=$(grep -c FAILED ./tests_results/security/localhost.1/output.log) || GREP_EXIT_STATUS=$?
571600
if [ ${GREP_EXIT_STATUS:-0} -eq 1 ]; then
571600
  echo "okay: test suite detected no failures"
571600
else
4aaebc
  %ifarch %{arm}
4aaebc
    :
4aaebc
    # do nothing on arm where the test suite is failing and has been
4aaebc
    # for while, do run the test suite but make it non fatal on arm
4aaebc
  %else
571600
  if [ ${GREP_EXIT_STATUS:-0} -eq 0 ]; then
571600
    # while a situation in which grep return status is 0 and it doesn't output
571600
    # anything shouldn't happen, set the default to something that is
571600
    # obviously wrong (-1)
571600
    echo "error: test suite had ${TEST_FAILURES:--1} test failure(s)"
571600
    exit 1
571600
  else
571600
    if [ ${GREP_EXIT_STATUS:-0} -eq 2 ]; then
571600
      echo "error: grep has not found log file"
571600
      exit 1
571600
    else
571600
      echo "error: grep failed with exit code: ${GREP_EXIT_STATUS}"
571600
      exit 1
571600
    fi
571600
  fi
571600
%endif
dcddc0
fi
dcddc0
echo "test suite completed"
dcddc0
dcddc0
%install
dcddc0
dcddc0
%{__rm} -rf $RPM_BUILD_ROOT
dcddc0
dcddc0
# There is no make install target so we'll do it ourselves.
dcddc0
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory}
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
dcddc0
%{__mkdir_p} $RPM_BUILD_ROOT/%{saved_files_dir}
6fbbf4
%{__mkdir_p} $RPM_BUILD_ROOT/%{prelink_conf_dir}
6fbbf4
%{__mkdir_p} $RPM_BUILD_ROOT/%{dracut_modules_dir}
6fbbf4
%{__mkdir_p} $RPM_BUILD_ROOT/%{dracut_conf_dir}
6fbbf4
6fbbf4
%{__install} -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{prelink_conf_dir}
6fbbf4
%{__install} -m 755 %{SOURCE5} $RPM_BUILD_ROOT/%{dracut_modules_dir}/module-setup.sh
6fbbf4
%{__install} -m 644 %{SOURCE6} $RPM_BUILD_ROOT/%{dracut_conf_dir}/50-nss-softokn.conf
6fbbf4
dcddc0
dcddc0
# Copy the binary libraries we want
6fbbf4
for file in libsoftokn3.so libnssdbm3.so libfreebl3.so libfreeblpriv3.so
dcddc0
do
dcddc0
  %{__install} -p -m 755 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
dcddc0
done
dcddc0
dcddc0
# Copy the binaries we ship as unsupported
dcddc0
for file in bltest fipstest shlibsign
dcddc0
do
dcddc0
  %{__install} -p -m 755 dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
dcddc0
done
dcddc0
dcddc0
# Copy the include files we want
dcddc0
for file in dist/public/nss/*.h
dcddc0
do
dcddc0
  %{__install} -p -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3
dcddc0
done
dcddc0
dcddc0
# Copy some freebl include files we also want
dcddc0
for file in blapi.h alghmac.h
dcddc0
do
dcddc0
  %{__install} -p -m 644 dist/private/nss/$file $RPM_BUILD_ROOT/%{_includedir}/nss3
dcddc0
done
dcddc0
dcddc0
# Copy the static freebl library
dcddc0
for file in libfreebl.a
dcddc0
do
dcddc0
%{__install} -p -m 644 dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
dcddc0
done
dcddc0
dcddc0
# Copy the package configuration files
dcddc0
%{__install} -p -m 644 ./dist/pkgconfig/nss-softokn.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss-softokn.pc
dcddc0
%{__install} -p -m 755 ./dist/pkgconfig/nss-softokn-config $RPM_BUILD_ROOT/%{_bindir}/nss-softokn-config
dcddc0
dcddc0
dcddc0
%clean
dcddc0
%{__rm} -rf $RPM_BUILD_ROOT
dcddc0
dcddc0
dcddc0
%post -p /sbin/ldconfig
dcddc0
dcddc0
%postun -p /sbin/ldconfig
dcddc0
dcddc0
%files
dcddc0
%defattr(-,root,root)
dcddc0
%{_libdir}/libnssdbm3.so
dcddc0
%{_libdir}/libnssdbm3.chk
dcddc0
%{_libdir}/libsoftokn3.so
dcddc0
%{_libdir}/libsoftokn3.chk
dcddc0
# shared with nss-tools
dcddc0
%dir %{_libdir}/nss
dcddc0
%dir %{saved_files_dir}
dcddc0
%dir %{unsupported_tools_directory}
dcddc0
%{unsupported_tools_directory}/bltest
dcddc0
%{unsupported_tools_directory}/fipstest
dcddc0
%{unsupported_tools_directory}/shlibsign
6fbbf4
#shared
dcddc0
dcddc0
%files freebl
dcddc0
%defattr(-,root,root)
dcddc0
%{_libdir}/libfreebl3.so
dcddc0
%{_libdir}/libfreebl3.chk
6fbbf4
%{_libdir}/libfreeblpriv3.so
6fbbf4
%{_libdir}/libfreeblpriv3.chk
6fbbf4
#shared
6fbbf4
%dir %{prelink_conf_dir}
6fbbf4
%{prelink_conf_dir}/nss-softokn-prelink.conf
6fbbf4
%dir %{dracut_modules_dir}
6fbbf4
%{dracut_modules_dir}/module-setup.sh
6fbbf4
%{dracut_conf_dir}/50-nss-softokn.conf
dcddc0
dcddc0
%files freebl-devel
dcddc0
%defattr(-,root,root)
dcddc0
%{_libdir}/libfreebl.a
dcddc0
%{_includedir}/nss3/blapi.h
dcddc0
%{_includedir}/nss3/blapit.h
dcddc0
%{_includedir}/nss3/alghmac.h
dcddc0
dcddc0
%files devel
dcddc0
%defattr(-,root,root)
dcddc0
%{_libdir}/pkgconfig/nss-softokn.pc
dcddc0
%{_bindir}/nss-softokn-config
dcddc0
dcddc0
# co-owned with nss
dcddc0
%dir %{_includedir}/nss3
dcddc0
#
dcddc0
# The following headers are those exported public in
dcddc0
# nss/lib/freebl/manifest.mn and
dcddc0
# nss/lib/softoken/manifest.mn
dcddc0
#
dcddc0
# The following list is short because many headers, such as
dcddc0
# the pkcs #11 ones, have been provided by nss-util-devel
dcddc0
# which installed them before us.
dcddc0
#
dcddc0
%{_includedir}/nss3/ecl-exp.h
dcddc0
%{_includedir}/nss3/nsslowhash.h
dcddc0
%{_includedir}/nss3/shsign.h
dcddc0
dcddc0
%changelog
4aaebc
* Tue Jun 28 2016 Kai Engert <kaie@redhat.com> - 3.16.2.3-14.4
4aaebc
- escape all percent characters in all changelog comments
4aaebc
4aaebc
* Wed Apr 20 2016 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-14.3
4aaebc
- Fix a flaw in %%check for nss not building on arm
4aaebc
- Resolves: Bug 1200856
4aaebc
031e90
* Fri Apr 15 2016 Kai Engert <kaie@redhat.com> - 3.16.2.3-14.2
031e90
- Adjust for a renamed variable in newer nss-util, require a compatible nss-util version.
031e90
031e90
* Mon Apr 11 2016 Kai Engert <kaie@redhat.com> - 3.16.2.3-14.1
031e90
- Pick up a bugfix related to fork(), to avoid a regression with NSS 3.21
031e90
031e90
* Fri Aug 07 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-14
716a00
- Pick up upstream freebl patch for CVE-2015-2730
716a00
- Check for P == Q or P ==-Q before adding P and Q
716a00
031e90
* Thu Jul 16 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-13
031e90
- Add links to filed upstream bugs to better track patches in spec file
031e90
700847
* Wed Jun 24 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-12
700847
- Bump nss_util_version to 3.19.1
700847
700847
* Fri May 29 2015 Robert Relyea <rrelyea@redhat.com> - 3.16.2.3-11
700847
- Make sure we have enough space for generating keyblocks for ciphers with HMAC_SHA384 (TLS).
700847
700847
* Wed Apr 29 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-10
700847
- Use the TLS 1.2 mechanisms for PKCS #11 added for V2.40
700847
6fbbf4
* Mon Feb 02 2015 Tomáš Mráz <tmraz@redhat.com> - 3.16.2.3-9
6fbbf4
- add configuration file for dracut to add the nss-softokn module by default
6fbbf4
6fbbf4
* Thu Jan 29 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-8
6fbbf4
- fix permissions on dracut install file.
6fbbf4
- Resolves: Bug 1169957 - curl unable to download url when url is https and environment is dracut
6fbbf4
6fbbf4
* Tue Jan 20 2015 Robert Relyea <rrelyea@redhat.com> - 3.16.2.3-7
6fbbf4
- Use RHEL-7 dracut semantics rather than RHEL-6
6fbbf4
- fix dependencies so nss-softokn pulls in nss-softokn-freebl
6fbbf4
- keep dummy libfreebl3.chk for dracut kernel.
6fbbf4
6fbbf4
* Tue Jan 13 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-6
6fbbf4
- Update fix for flaws reported by coverity scan  
6fbbf4
- Resolves: Bug 1154764 - Defects found in nss-softokn
6fbbf4
6fbbf4
* Fri Jan 09 2015 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-5
6fbbf4
- Skip the fips checks if the action is newslot or delslot.
6fbbf4
- Resolves: Bug 1156406 - NSS fails to access sql:/etc/pki/nssdb in system FIPS mode
6fbbf4
6fbbf4
* Wed Dec 10 2014 Robert Relyea <rrelyea@redhat.com> - 3.16.2.3-4
6fbbf4
- add libfreeblpriv3.so to dracut.
6fbbf4
6fbbf4
* Tue Nov 18 2014 Robert Relyea <rrelyea@redhat.com> - 3.16.2.3-3
6fbbf4
- Resolves: Bug 1153602 - libfreebl3.so runs prelink during the initialization phase
6fbbf4
- Decouple libfreebl3.so from the actual library.
6fbbf4
- Blacklist the freebl libraries
6fbbf4
- Turn off calling prelink to unprelink the binary
6fbbf4
6fbbf4
* Tue Nov 18 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2.3-2
6fbbf4
- Remove temporary workaround for brew build problems now resolved
6fbbf4
- Resolves: Bug 1158161 - Upgrade to NSS 3.16.2.3 for Firefox 31.3
6fbbf4
6fbbf4
* Thu Nov 13 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-13
6fbbf4
- Resolves: Bug 1158161 - Upgrade to NSS 3.16.2.3 for Firefox 31.3
6fbbf4
6fbbf4
* Wed Nov 05 2014 Robert Relyea <rrelyea@redhat.com> 3.16.2-12
6fbbf4
- Add support for encrypt_derive.
6fbbf4
- Allow us to init database at level1 while already in FIPS mode.
6fbbf4
- Allow UserDBOpen'ed FIPS tokens to do all the mechanisms as well as
6fbbf4
  the main fips token.
6fbbf4
- Silence SIGCHLD when prelink is used.
6fbbf4
6fbbf4
* Tue Oct 21 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-11
6fbbf4
- Fix the location of an upstream URL reference
6fbbf4
6fbbf4
* Tue Oct 21 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-10
6fbbf4
- Resolves: Bug 1154232 - nss tools core dump on ppc64
6fbbf4
6fbbf4
* Tue Oct 21 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-9
6fbbf4
- Resolves: Bug 1154764 - Defects found in nss-softokn-3.16.2-7.el7
6fbbf4
6fbbf4
* Thu Oct 16 2014 Robert Relyea <rrelyea@redhat.com> 3.16.2-8
6fbbf4
- Conform RSA keygen to FIPS 186-4 tests
6fbbf4
6fbbf4
* Fri Oct 10 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-7
6fbbf4
- Change RSA_PrivateKeyCheck to not require p > q
6fbbf4
- Resolves: Bug 1150645 - Importing an RSA private key fails if p < q
6fbbf4
6fbbf4
* Sat Sep 27 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-6
6fbbf4
- Add lowhash to the softoken tests to run as done on rhel-6.6
6fbbf4
- Adapt suboptimal shell code in nss.spec fix from bug 108750
6fbbf4
- Resolves: Bug 1145434 - CVE-2014-1568
6fbbf4
6fbbf4
* Sat Sep 27 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-5- 
6fbbf4
- Fix incorrect path in the %%check section
6fbbf4
- Add way to skip test suite execution during development work
6fbbf4
- Resolves: Bug 1145434 - CVE-2014-1568
6fbbf4
6fbbf4
* Thu Sep 25 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-4
6fbbf4
- Resolves: Bug 1145434 - CVE-2014-1568
6fbbf4
6fbbf4
* Mon Sep 22 2014 Robert Relyea <rrelyea@redhat.com> 3.16.2-3
6fbbf4
- Update for FIPS validation
571600
6fbbf4
* Tue Aug 05 2014 Elio Maldonado <emaldona@redhat.com> 3.16.2-2
6fbbf4
- Generic 32/64 bit platform detection (fix ppc64le build)
6fbbf4
- Resolves: Bug 1125620 - nss-softokn fails to build on arch: ppc64le (build failure)
6fbbf4
- Fix contributed by Peter Robinson <pbrobinson@redhat.com>
e47d09
6fbbf4
* Tue Jul 08 2014 Elio Maldonado <emaldona@redhat.com> - 3.16.2-1
93f351
- Update to nss-3.16.2
6fbbf4
- Resolves: Bug 1103925 - Rebase RHEL 7.1 to at least NSS-SOFTOKN 3.16.1 (FF 31)
93f351
5297d5
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.15.4-2
5297d5
- Mass rebuild 2014-01-24
5297d5
5297d5
* Sun Jan 19 2014 Elio Maldonado <emaldona@redhat.com> - 3.15.3-4
5297d5
- Rebase to nss-3.15.4
5297d5
- Resolves: Bug 1054457 - CVE-2013-1740
5297d5
- Update softokn splitting script to oparate on the upstream pristine source
5297d5
- Using the .gz archives directly, not repackaging as .bz2 ones
5297d5
- Avoid unneeded manual steps that could introduce errors
5297d5
- Update the iquote and build softoken only patches on account of the rebase
5297d5
5297d5
* Sun Jan 19 2014 Elio Maldonado <emaldona@redhat.com> - 3.15.3-3
5297d5
- Fix to allow level 1 fips mode if the db has no password
5297d5
- Resolves: Bug 852023 - FIPS mode detection does not work
5297d5
5297d5
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.15.3-2
5297d5
- Mass rebuild 2013-12-27
5297d5
5297d5
* Mon Nov 25 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.3-1
5297d5
- Rebase to NSS_3_15_3_RTM
5297d5
- Related: Bug 1031463 - CVE-2013-5605 CVE-2013-5606 CVE-2013-1741
5297d5
dcddc0
* Tue Oct 29 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.2-2
dcddc0
- Resolves: rhbz#1020395 - Allow Level 1 FIPS mode if the nss db has no password
dcddc0
dcddc0
* Mon Oct 21 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.2-1
dcddc0
- Rebase to nss-softoken from nss-3.15.2
dcddc0
- Resolves: rhbz#1012679 - pick up NSS-SOFTOKN 3.15.2 (required for bug 1012656)
dcddc0
dcddc0
* Thu Oct 10 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.1-3
dcddc0
- Add export NSS_ENABLE_ECC=1 rto the %%build and %%check sections
dcddc0
- Resolves: rhbz#752980 - [7.0 FEAT] Support ECDSA algorithm in the nss packag
dcddc0
dcddc0
* Tue Aug 06 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.1-2
dcddc0
- Remove an obsolete script and adjust the sources numbering accordingly
dcddc0
dcddc0
* Fri Jul 26 2013 Elio Maldonado <emaldona@redhat.com> - 3.15.1-1
dcddc0
- Update to NSS_3_15_1_RTM
dcddc0
dcddc0
* Tue Jul 02 2013 Elio Maldonado <emaldona@redhat.com> - 3.15-4
dcddc0
- Split off nss-softokn from the unstripped nss source tar ball
dcddc0
dcddc0
* Mon Jun 17 2013 Elio Maldonado <emaldona@redhat.com> - 3.15-3
dcddc0
- Update to NSS_3_15_RTM
dcddc0
- Require nspr-4.10 or greater
dcddc0
- Fix patch that selects tests to run
dcddc0
dcddc0
* Tue Apr 23 2013 Elio Maldonado <emaldona@redhat.com> - 3.15-0.1.beta.3
dcddc0
- Reverse the last changes since pk11gcmtest properly belongs to nss
dcddc0
dcddc0
* Tue Apr 23 2013 Elio Maldonado <emaldona@redhat.com> - 3.15-0.1.beta.2
dcddc0
- Add lowhashtest and pk11gcmtest as unsupported tools
dcddc0
- Modify nss-softoken-split script to include them in the split
dcddc0
dcddc0
* Fri Apr 05 2013 Elio Maldonado <emaldona@redhat.com> - 3.15-0.1.beta.1
dcddc0
- Update to NSS_3_15_BETA1
dcddc0
- Update spec file, patches, and helper scrips on account of a shallwer source tree
dcddc0
dcddc0
* Fri Feb 15 2013 Elio Maldonado <emaldona@redhat.com> - 3.14.3-1
dcddc0
- Update to NSS_3_14_3_RTM
dcddc0
- Resolves: rhbz#909781 - specfile support for AArch64
dcddc0
dcddc0
* Mon Feb 04 2013 Elio Maldonado <emaldona@redhat.com> - 3.14.2-3
dcddc0
- Allow building nss-softokn against older system sqlite
dcddc0
dcddc0
* Sat Feb 02 2013 Elio Maldonado <emaldona@redhat.com> - 3.14.2-2
dcddc0
- Update to NSS_3_14_2_RTM
dcddc0
- Restore comments on how to transition when signing algorithm changes
dcddc0
- Remove unused patches
dcddc0
dcddc0
* Fri Feb 01 2013 Elio Maldonado <emaldona@redhat.com> - 3.14.2-1
dcddc0
- Update to NSS_3_14_2_RTM
dcddc0
dcddc0
* Thu Dec 27 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-5
dcddc0
- Add RSA performance test for freebl
dcddc0
- Fix bogus date in changelog warnings
dcddc0
dcddc0
* Mon Dec 24 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-4
4aaebc
- Fix bogus date warnings in %%changelog
dcddc0
dcddc0
* Sat Dec 22 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-3
dcddc0
- Cleanup patches for building softoken only libraries and tests
dcddc0
dcddc0
* Mon Dec 17 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-2
dcddc0
- Require nspr version >= 4.9.4
dcddc0
dcddc0
* Mon Dec 17 2012 Elio Maldonado <emaldona@redhat.com> - 3.14.1-1
dcddc0
- Update to NSS_3_14_1_RTM
dcddc0
dcddc0
* Mon Dec 03 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-6
dcddc0
- Bug 883114 - Install bltest and fipstest as unsupported tools
dcddc0
dcddc0
* Mon Nov 19 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-5
dcddc0
- Truly apply the bug 829088 patch this time
dcddc0
- Resolves: rhbz#829088 - Fix failure in sha244 self-test
dcddc0
dcddc0
* Mon Nov 19 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-4
dcddc0
- Apply the bug 829088 patch in question
dcddc0
- Adjust the patch to account for code changes in nss-3.14
dcddc0
- Resolves: rhbz#829088 - Fix failure in sha244 self-test
dcddc0
dcddc0
* Sun Nov 18 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-3
dcddc0
- Resolves: rhbz#829088 - Fix failure in sha244 self-test
dcddc0
- Fixes login failures on fips mode
dcddc0
dcddc0
* Sat Oct 27 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-2
dcddc0
 - Update the license to MPLv2.0
dcddc0
dcddc0
* Mon Oct 22 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-1
dcddc0
- Update to NSS_3_14_RTM
dcddc0
dcddc0
* Sun Oct 21 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-0.1.rc1.2
dcddc0
- Update to NSS_3_14_RC
dcddc0
- Remove the temporary bootstrapping modifications
dcddc0
dcddc0
* Sun Oct 21 2012 Elio Maldonado <emaldona@redhat.com> - 3.14-0.1.rc.1
dcddc0
- Update to NSS_3_14_RC1
dcddc0
- Remove patches rendered obsolete by this update and update others
dcddc0
- Temporarily modifiy the spec file while bootstrapping the buildroot a follows:
dcddc0
- Remove unwanted headers that we lo loger ship
dcddc0
- Modified the post install scriplet to ensure the in-tree freebl library is loaded
dcddc0
dcddc0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.5-3
dcddc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dcddc0
dcddc0
* Wed Jun 20 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.5-2
dcddc0
- Resolves: rhbz#833529 - revert unwanted change to nss-softokn.pc.in
dcddc0
dcddc0
* Mon Jun 18 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.5-1
dcddc0
- Update to NSS_3_13_5_RTM
dcddc0
- Remove unneeded fix for gcc 4.7 c++ issue in secmodt.h which undoes the upstream fix
dcddc0
- Fix Libs: line on nss-softokn.pc.in
dcddc0
dcddc0
* Wed Jun 13 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.4-3
dcddc0
- Resolves: rhbz#745224 - nss-softokn sha224 self-test fails in fips mode
dcddc0
dcddc0
* Tue Apr 10 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.4-2
dcddc0
- Resolves: Bug 801975 Restore use of NSS_NoDB_Init or alternate to fipstest
dcddc0
dcddc0
* Fri Apr 06 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.4-1
dcddc0
- Update to NSS_3_13_4
dcddc0
dcddc0
* Sun Apr 01 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.4-0.1.beta.1
dcddc0
- Update to NSS_3_13_4_BETA1
dcddc0
- Improve steps for splitting off softokn from the full nss
dcddc0
dcddc0
* Wed Mar 21 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.3-2
dcddc0
- Resolves: Bug 805719 - Library needs partial RELRO support added
dcddc0
dcddc0
* Thu Mar 01 2012 Elio Maldonado <emaldona@redhat.com> - 3.13.3-1
dcddc0
- Update to NSS_3_13_3_RTM
dcddc0
dcddc0
* Wed Feb  1 2012 Tom Callaway <spot@fedoraproject.org> 3.13.1-20
dcddc0
- re-enable /usrmove changes
dcddc0
dcddc0
* Wed Feb  1 2012 Tom Callaway <spot@fedoraproject.org> 3.13.1-19.1
dcddc0
- fix issue with gcc 4.7 in secmodt.h and C++11 user-defined literals
dcddc0
- temporarily revert /usrmove changes. they will be restored in -20 for the f17-usrmove tag.
dcddc0
dcddc0
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 3.13.1-19
dcddc0
- add filesystem guard
dcddc0
dcddc0
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 3.13.1-18
dcddc0
- install everything in /usr
dcddc0
  https://fedoraproject.org/wiki/Features/UsrMove
dcddc0
dcddc0
* Fri Jan 13 2012 Elio Maldonado Batiz <emaldona@redhat.com> - 3.13.1-17
dcddc0
- Remove unneeded prelink patch afterthe nss update to 3.13.1
dcddc0
dcddc0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.1-16
dcddc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dcddc0
dcddc0
* Fri Dec 30 2011 Elio Maldonado <emaldona@redhat.com> - 3.13.1-15
dcddc0
- Bug 770999 - Fix segmentation violation when turning on fips mode
dcddc0
- Reintroduce the iquote patch but don't apply it unless needed
dcddc0
dcddc0
* Tue Dec 13 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-14
dcddc0
- Restore the update to 3.13.1
dcddc0
- Update the patch for freebl to deal with prelinked shared libraries
dcddc0
- Add additional dbrg power-up self-tests as required by fips
dcddc0
- Reactivate the tests
dcddc0
dcddc0
* Tue Dec 06 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-13
dcddc0
- Bug 757005 Build nss-softokn for rhel 7
dcddc0
- Make it almost like nss-softokn-3.12.9 in rhel 6.2
dcddc0
- Added a patch to build with Linux 3 and higher
dcddc0
- Meant to work with nss and nss-utul 3.1.3.1
dcddc0
- Download only the 3.12.9 sources from the lookaside cache
dcddc0
dcddc0
* Fri Dec 02 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-12
dcddc0
- Retagging
dcddc0
dcddc0
* Wed Nov 23 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-11
dcddc0
- Downgrading to 3.12.9 for a merge into new RHEL git repo
dcddc0
- This build is for the buildroot for a limited time only
dcddc0
- Do not not push it to update-testing
dcddc0
dcddc0
* Tue Nov 08 2011 Elio Maldonado <emaldona@redhat.com> - 3.13.1-1
dcddc0
- Update to NSS_3_13_1_RTM
dcddc0
dcddc0
* Wed Oct 12 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-6
dcddc0
- Fix failure to switch nss-softokn to FIPS mode (#745571)
dcddc0
dcddc0
* Tue Oct 11 2011 Elio Maldonado <emaldona@redhat.com> - 3.13-0.1.rc0.3
dcddc0
- Update to NSS_3_13_RC0 post bootstrapping
dcddc0
- Don't incude util in sources for the lookaside cache
dcddc0
- Reenable building the fipstest tool
dcddc0
- Restore full cli argument parsing in the sectool library
dcddc0
dcddc0
* Sun Oct 09 2011 Elio Maldonado <emaldona@redhat.com> - 3.13-0.1.rc0.2
dcddc0
- Update to NSS_3_13_RC0 bootstrapping the system phase 2
dcddc0
- Reenable the cipher test suite
dcddc0
dcddc0
* Sat Oct 08 2011 Elio Maldonado <emaldona@redhat.com> - 3.13-0.rc0.1
dcddc0
- Update to NSS_3_13_RC0
dcddc0
dcddc0
* Thu Sep  8 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.12.11-3
dcddc0
- Avoid %%post/un shell invocations and dependencies.
dcddc0
dcddc0
* Wed Aug 17 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-5
dcddc0
- rebuilt as recommended to deal with an rpm 4.9.1 issue
dcddc0
dcddc0
* Wed Jul 20 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-4
dcddc0
- Adjustements from code review (#715402)
dcddc0
dcddc0
* Sun Jun 26 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-3
dcddc0
- Add %%{check} section to run crypto tests as part of the build (#715402)
dcddc0
dcddc0
* Tue Jun 14 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-2
dcddc0
- Fix intel optimized aes code to deal with case where input and ouput are in the same buffer (#709517)
dcddc0
dcddc0
* Fri May 06 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-1
dcddc0
- Update to NSS_3_12_10_RTM
dcddc0
dcddc0
* Wed Apr 27 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-0.1.beta1
dcddc0
- Update to NSS_3_12_10_BETA1
dcddc0
dcddc0
* Fri Feb 25 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-7
dcddc0
- Add requires nss-softokn-freebl-devel to nss-softokn-devel (#675196)
dcddc0
dcddc0
* Mon Feb 14 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-5
dcddc0
- Expand the nss-softokn-freebl-devel package description (#675196)
dcddc0
dcddc0
* Mon Feb 14 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-5
dcddc0
- Remove duplicates from the file lists
dcddc0
dcddc0
* Sun Feb 13 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-4
dcddc0
- Add blapit.h to headers provided by nss-softokn-freebl-devel (#675196)
dcddc0
- Expand the freebl-devel package description
dcddc0
dcddc0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.9-3
dcddc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
dcddc0
dcddc0
* Fri Feb 04 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-2
dcddc0
- Add header for nss-softokn-freebl-devel (#675196)
dcddc0
dcddc0
* Wed Jan 12 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-1
dcddc0
- Update to 3.12.9
dcddc0
dcddc0
* Mon Dec 27 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.9-0.1.beta2
dcddc0
- Rebuilt according to fedora pre-release package naming guidelines
dcddc0
dcddc0
* Fri Dec 10 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.8.99.2-1
dcddc0
- Update to NSS_3_12_9_BETA2
dcddc0
dcddc0
* Wed Dec 08 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.8.99.1-1
dcddc0
- Update to NSS_3_12_9_BETA1
dcddc0
dcddc0
* Wed Sep 29 2010 jkeating - 3.12.8-2
dcddc0
- Rebuilt for gcc bug 634757
dcddc0
dcddc0
* Thu Sep 23 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.8-1
dcddc0
- Update to 3.12.8
dcddc0
- Adhere to static library packaging guidelines (#609613)
dcddc0
- Fix nss-util-devel version dependency line
dcddc0
- Shorten freebl and freebl subpackages descriptions
dcddc0
dcddc0
* Sat Sep 18 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.99.4-1
dcddc0
- NSS 3.12.8 RC0
dcddc0
dcddc0
* Sun Sep 12 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.7.99.3-2
dcddc0
- Update the required version of nss-util to 3.12.7.99.3
dcddc0
dcddc0
* Sat Sep 04 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.7.99.3-1
dcddc0
- NSS 3.12.8 Beta 3
dcddc0
dcddc0
* Mon Aug 30 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.7-3
dcddc0
- Update BuildRequires on nspr-devel and nss-util-devel
dcddc0
dcddc0
* Sun Aug 29 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.7-2
dcddc0
- Define NSS_USE_SYSTEM_SQLITE and remove nss-nolocalsql patch
dcddc0
- Fix rpmlint warnings about macros in comments and changelog
dcddc0
dcddc0
* Mon Aug 16 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.7-1
dcddc0
- Update to 3.12.7
dcddc0
- Fix build files to ensure nsslowhash.h is included in public headers
dcddc0
dcddc0
* Tue Jun 08 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.6-3
dcddc0
- Retagging
dcddc0
dcddc0
* Mon Jun 07 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.6-2
dcddc0
- Bump NVR to be greater than those for nss-softokn subpackages in F11 (rhbz#601407)
dcddc0
dcddc0
* Sun Jun 06 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-23
dcddc0
- Bump release number
dcddc0
dcddc0
* Fri Jun 04 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-22
dcddc0
- Cleanup changelog comments to avoid unwanted macro expansions
dcddc0
dcddc0
* Wed Jun 02 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-21
dcddc0
- Retagging
dcddc0
dcddc0
* Wed Jun 02 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-20
dcddc0
- Add %%{?_isa} to the requires in the devel packages (#596840)
dcddc0
- Fix typo in the package description (#598295)
dcddc0
- Update nspr version to 4.8.4
dcddc0
dcddc0
* Sat May 08 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-19
dcddc0
- Consider the system as not fips enabled when /proc/sys/crypto/fips_enabled isn't present (rhbz#590199)
dcddc0
dcddc0
* Sat May 08 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-18
dcddc0
- Fix Conflicts line to prevent update when prelink is not yet the right version (rhbz#590199)
dcddc0
dcddc0
* Mon Apr 19 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-17
dcddc0
- Updated prelink patch rhbz#504949
dcddc0
dcddc0
* Thu Apr 15 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-16
dcddc0
- allow prelink of softoken and freebl. Change the verify code to use
dcddc0
  prelink -u if prelink is installed. Fix by Robert Relyea rhbz#504949
dcddc0
dcddc0
* Mon Jan 18 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-15
dcddc0
- Move libfreebl3.so and its .chk file to /lib{64} (rhbz#561544)
dcddc0
dcddc0
* Mon Jan 18 2010 Elio Maldonado <emaldona@redhat.com> - 3.12.4-13
dcddc0
- Fix in nss-softokn-spec.in 
dcddc0
- Require nss-util >= 3.12.4
dcddc0
dcddc0
* Thu Dec 03 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-12
dcddc0
- Require nss-util 3.12.5
dcddc0
dcddc0
* Fri Nov 20 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-11
dcddc0
- export freebl devel tools (#538226)
dcddc0
dcddc0
* Wed Sep 23 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-10
dcddc0
- Fix paths in nss-softokn-prelink so signed libraries don't get touched, rhbz#524794
dcddc0
dcddc0
* Thu Sep 17 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-9
dcddc0
- Add nssdbm3.so to nss-softokn-prelink.conf, rhbz#524077
dcddc0
dcddc0
* Thu Sep 10 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-8
dcddc0
- Retagging for a chained build
dcddc0
dcddc0
* Thu Sep 10 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-6
dcddc0
- Don't list libraries in nss-softokn-config, dynamic linking required
dcddc0
dcddc0
* Tue Sep 08 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-5
dcddc0
- Installing shared libraries to %%{_libdir}
dcddc0
dcddc0
* Sun Sep 06 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-4
dcddc0
- Postuninstall scriptlet finishes quietly
dcddc0
dcddc0
* Sat Sep 05 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-3
dcddc0
- Remove symblic links to shared libraries from devel, rhbz#521155
dcddc0
- Apply the nss-nolocalsql patch
dcddc0
- No rpath-link in nss-softokn-config
dcddc0
dcddc0
* Fri Sep 04 2009 serstring=Elio Maldonado<emaldona@redhat.cpm> - 3.12.4-2
dcddc0
- Retagging to pick up the correct .cvsignore
dcddc0
dcddc0
* Tue Sep 01 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-1
dcddc0
- Update to 3.12.4
dcddc0
- Fix logic on postun
dcddc0
- Don't require sqlite
dcddc0
dcddc0
* Mon Aug 31 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-24
4aaebc
- Fixed test on %%postun to avoid returning 1 when nss-softokn instances still remain
dcddc0
dcddc0
* Sun Aug 30 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-23
dcddc0
- Explicitly state via nss_util_version the nss-util version we require
dcddc0
dcddc0
* Fri Aug 28 2009 Warren Togami <wtogami@redhat.com> - 3.12.3.99.3-22
dcddc0
- caolan's nss-softokn.pc patch
dcddc0
dcddc0
* Thu Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-21
dcddc0
- Bump the release number for a chained build of nss-util, nss-softokn and nss
dcddc0
dcddc0
* Thu Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-20
dcddc0
- List freebl, nssdbm and softokn libraries in nss-softokn-config and nss-softokn.pc
dcddc0
dcddc0
* Thu Aug 27 2009 Elio Maldonado@<emaldona@redhat.com> - 3.12.3.99.3-19
dcddc0
- Determine NSSUTIL_INCLUDE_DIR and NSSUTIL_LIB_DIR with a pkg-config query on nss-util
dcddc0
- Remove the release 17 hack
dcddc0
dcddc0
* Thu Aug 27 2009 Elio maldonado<emaldona@redhat.com> - 3.12.3.99.3-18
dcddc0
- fix spurious executable permissions on nss-softokn.pc
dcddc0
dcddc0
* Thu Aug 27 2009 Adel Gadllah <adel.gadllah@gmail.com> - 3.12.3.99.3-17
dcddc0
- Add hack to fix build
dcddc0
dcddc0
* Tue Aug 25 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-16
dcddc0
- only have a single Requires: line in the .pc file
dcddc0
dcddc0
* Tue Aug 25 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-12
dcddc0
- bump to unique rpm nvr 
dcddc0
dcddc0
* Tue Aug 25 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-10
dcddc0
- Build after nss with subpackages and new nss-util
dcddc0
dcddc0
* Thu Aug 20 2009 Dennis Gilmore <dennis@ausil.us> 3.12.3.99.3-9
dcddc0
- revert to shipping bits
dcddc0
dcddc0
* Wed Aug 19 2009 Elio Maldonado <emaldona@redhat.com> 3.12.3.99.3-8.1
dcddc0
- Disable installing until conflicts are relsoved
dcddc0
dcddc0
* Wed Aug 19 2009 Elio Maldonado <emaldona@redhat.com> 3.12.3.99.3-8
dcddc0
- Initial build