aa8c558
%global nspr_version 4.8
5defb2b
%global nss_util_version 3.12.4
5defb2b
%global nss_softokn_version 3.12.4
29f74fb
%global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
29f74fb
245af98
Summary:          Network Security Services
245af98
Name:             nss
5defb2b
Version:          3.12.4
5defb2b
Release:          1%{?dist}
9c5168e
License:          MPLv1.1 or GPLv2+ or LGPLv2+
245af98
URL:              http://www.mozilla.org/projects/security/pki/nss/
245af98
Group:            System Environment/Libraries
245af98
Requires:         nspr >= %{nspr_version}
d4d1c79
Requires:         nss-util >= %{nss_util_version}
d4d1c79
Requires:         nss-softokn >= %{nss_softokn_version}
245af98
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
245af98
BuildRequires:    nspr-devel >= %{nspr_version}
440dee8
BuildRequires:    nss-softokn-devel >= %{version}                                                  
d4d1c79
BuildRequires:    nss-util-devel >= %{nss_util_version}
613a5e1
BuildRequires:    sqlite-devel
df58862
BuildRequires:    zlib-devel
7729d26
BuildRequires:    pkgconfig
245af98
BuildRequires:    gawk
9bb1784
BuildRequires:    psmisc
79f6667
BuildRequires:    perl
245af98
93ebcc1
Source0:          %{name}-%{version}-stripped.tar.bz2
d5b7e00
245af98
Source1:          nss.pc.in
245af98
Source2:          nss-config.in
6b76e16
Source3:          blank-cert8.db
6b76e16
Source4:          blank-key3.db
6b76e16
Source5:          blank-secmod.db
47b4b2b
Source12:         %{name}-pem-20090622.tar.bz2
245af98
2461dd4
Patch2:           nss-nolocalsql.patch
47b4b2b
Patch6:           nss-enable-pem.patch
7f17142
245af98
%description
245af98
Network Security Services (NSS) is a set of libraries designed to
245af98
support cross-platform development of security-enabled client and
245af98
server applications. Applications built with NSS can support SSL v2
245af98
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
245af98
v3 certificates, and other security standards.
245af98
245af98
%package tools
245af98
Summary:          Tools for the Network Security Services
245af98
Group:            System Environment/Base
245af98
Requires:         nss = %{version}-%{release}
df58862
Requires:         zlib
245af98
245af98
%description tools
245af98
Network Security Services (NSS) is a set of libraries designed to
245af98
support cross-platform development of security-enabled client and
245af98
server applications. Applications built with NSS can support SSL v2
245af98
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509
245af98
v3 certificates, and other security standards.
245af98
245af98
Install the nss-tools package if you need command-line tools to
245af98
manipulate the NSS certificate and key database.
245af98
245af98
245af98
%package devel
245af98
Summary:          Development libraries for Network Security Services
245af98
Group:            Development/Libraries
245af98
Requires:         nss = %{version}-%{release}
e9604df
Requires:         nss-util-devel
e9604df
Requires:         nss-softokn-devel 
245af98
Requires:         nspr-devel >= %{nspr_version}
3434861
Requires:         pkgconfig
245af98
245af98
%description devel
245af98
Header and Library files for doing development with Network Security Services.
245af98
245af98
245af98
%package pkcs11-devel
245af98
Summary:          Development libraries for PKCS #11 (Cryptoki) using NSS
245af98
Group:            Development/Libraries
245af98
Requires:         nss-devel = %{version}-%{release}
245af98
245af98
%description pkcs11-devel
245af98
Library files for developing PKCS #11 modules using basic NSS 
245af98
low level services.
245af98
245af98
245af98
%prep
245af98
%setup -q
47b4b2b
%setup -q -T -D -n %{name}-%{version} -a 12
d5b7e00
2461dd4
%patch2 -p0
47b4b2b
%patch6 -p0 -b .libpem
d5b7e00
245af98
245af98
%build
245af98
724f4ea
FREEBL_NO_DEPEND=1
724f4ea
export FREEBL_NO_DEPEND
724f4ea
245af98
# Enable compiler optimizations and disable debugging code
245af98
BUILD_OPT=1
245af98
export BUILD_OPT
245af98
245af98
# Generate symbolic info for debuggers
245af98
XCFLAGS=$RPM_OPT_FLAGS
245af98
export XCFLAGS
245af98
245af98
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
245af98
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
245af98
245af98
export PKG_CONFIG_ALLOW_SYSTEM_LIBS
245af98
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
245af98
245af98
NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --cflags-only-I nspr | sed 's/-I//'`
245af98
NSPR_LIB_DIR=`/usr/bin/pkg-config --libs-only-L nspr | sed 's/-L//'`
245af98
245af98
export NSPR_INCLUDE_DIR
245af98
export NSPR_LIB_DIR
245af98
a31a41a
%ifarch x86_64 ppc64 ia64 s390x sparc64
245af98
USE_64=1
245af98
export USE_64
245af98
%endif
245af98
aa8c558
# We only ship the nss proper libraries, no softoken nor util, yet                                   
aa8c558
# we must compile with the entire source tree because nss needs                               
aa8c558
# private exports from util. The install section will ensure not
aa8c558
# to override nss-util and nss-softoken headers already installed.
3cecc97
#     
d5b7e00
%{__make} -C ./mozilla/security/coreconf
d5b7e00
%{__make} -C ./mozilla/security/dbm
d5b7e00
%{__make} -C ./mozilla/security/nss
245af98
245af98
# Set up our package file
d4d1c79
# The nspr_version and nss_{util|softokn}_version globals used
d4d1c79
# here match the ones nss has for its Requires. 
29f74fb
%{__mkdir_p} ./mozilla/dist/pkgconfig
a2b7a45
%{__cat} %{SOURCE1} | sed -e "s,%%libdir%%,%{_libdir},g" \
245af98
                          -e "s,%%prefix%%,%{_prefix},g" \
245af98
                          -e "s,%%exec_prefix%%,%{_prefix},g" \
245af98
                          -e "s,%%includedir%%,%{_includedir}/nss3,g" \
cfe6bf9
                          -e "s,%%NSS_VERSION%%,%{version},g" \
03109ee
                          -e "s,%%NSPR_VERSION%%,%{nspr_version},g" \
d4d1c79
                          -e "s,%%NSSUTIL_VERSION%%,%{nss_util_version},g" \
d4d1c79
                          -e "s,%%SOFTOKEN_VERSION%%,%{nss_softokn_version},g" > \
29f74fb
                          ./mozilla/dist/pkgconfig/nss.pc
245af98
245af98
NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
245af98
NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
245af98
NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
245af98
245af98
export NSS_VMAJOR 
245af98
export NSS_VMINOR 
245af98
export NSS_VPATCH
245af98
a2b7a45
%{__cat} %{SOURCE2} | sed -e "s,@libdir@,%{_libdir},g" \
245af98
                          -e "s,@prefix@,%{_prefix},g" \
245af98
                          -e "s,@exec_prefix@,%{_prefix},g" \
245af98
                          -e "s,@includedir@,%{_includedir}/nss3,g" \
245af98
                          -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
245af98
                          -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
245af98
                          -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
29f74fb
                          > ./mozilla/dist/pkgconfig/nss-config
245af98
29f74fb
chmod 755 ./mozilla/dist/pkgconfig/nss-config
245af98
9bb1784
# enable the following line to force a test failure
9bb1784
# find ./mozilla -name \*.chk | xargs rm -f
9bb1784
79f6667
# Run test suite.
79f6667
# In order to support multiple concurrent executions of the test suite
79f6667
# (caused by concurrent RPM builds) on a single host,
79f6667
# we'll use a random port. Also, we want to clean up any stuck
79f6667
# selfserv processes. If process name "selfserv" is used everywhere,
79f6667
# we can't simply do a "killall selfserv", because it could disturb
79f6667
# concurrent builds. Therefore we'll do a search and replace and use
79f6667
# a different process name.
79f6667
# Using xargs doesn't mix well with spaces in filenames, in order to
79f6667
# avoid weird quoting we'll require that no spaces are being used.
79f6667
79f6667
SPACEISBAD=`find ./mozilla/security/nss/tests | grep -c ' '` ||:
79f6667
if [ SPACEISBAD -ne 0 ]; then
79f6667
  echo "error: filenames containing space are not supported (xargs)"
79f6667
  exit 1
79f6667
fi
79f6667
MYRAND=`perl -e 'print 9000 + int rand 1000'`; echo $MYRAND ||:
79f6667
RANDSERV=selfserv_${MYRAND}; echo $RANDSERV ||:
79f6667
DISTBINDIR=`ls -d ./mozilla/dist/*.OBJ/bin`; echo $DISTBINDIR ||:
79f6667
pushd `pwd`
79f6667
cd $DISTBINDIR
79f6667
ln -s selfserv $RANDSERV
79f6667
popd
79f6667
# man perlrun, man perlrequick
79f6667
# replace word-occurrences of selfserv with selfserv_$MYRAND
79f6667
find ./mozilla/security/nss/tests -type f |\
79f6667
  grep -v "\.db$" |grep -v "\.crl$" | grep -v "\.crt$" |\
79f6667
  grep -vw CVS  |xargs grep -lw selfserv |\
79f6667
  xargs -l perl -pi -e "s/\bselfserv\b/$RANDSERV/g" ||:
79f6667
79f6667
killall $RANDSERV || :
79f6667
6dc6a9a
rm -rf ./mozilla/tests_results
6dc6a9a
cd ./mozilla/security/nss/tests/
6dc6a9a
# all.sh is the test suite script
b559a43
aed9acf
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
56e4ce9
6dc6a9a
cd ../../../../
9bb1784
6dc6a9a
killall $RANDSERV || :
79f6667
6dc6a9a
TEST_FAILURES=`grep -c FAILED ./mozilla/tests_results/security/localhost.1/output.log` || :
6dc6a9a
if [ $TEST_FAILURES -ne 0 ]; then
6dc6a9a
  echo "error: test suite returned failure(s)"
6dc6a9a
  exit 1
6dc6a9a
fi
6dc6a9a
echo "test suite completed"
9bb1784
245af98
245af98
%install
245af98
29f74fb
%{__rm} -rf $RPM_BUILD_ROOT
29f74fb
245af98
# There is no make install target so we'll do it ourselves.
245af98
245af98
%{__mkdir_p} $RPM_BUILD_ROOT/%{_includedir}/nss3
245af98
%{__mkdir_p} $RPM_BUILD_ROOT/%{_bindir}
f0c6761
%{__mkdir_p} $RPM_BUILD_ROOT/%{_lib}
7f17142
%{__mkdir_p} $RPM_BUILD_ROOT/%{unsupported_tools_directory}
29f74fb
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
245af98
245af98
# Copy the binary libraries we want
3cecc97
for file in libnss3.so libssl3.so libsmime3.so libnssckbi.so libnsspem.so
70b6ea6
do
cf51446
  %{__install} -p -m 755 mozilla/dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_lib}
a2b7a45
  ln -sf ../../%{_lib}/$file $RPM_BUILD_ROOT/%{_libdir}/$file
70b6ea6
done
70b6ea6
6b76e16
# Install the empty NSS db files
6b76e16
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb
3cecc97
%{__install} -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/cert8.db
3cecc97
%{__install} -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/key3.db
3cecc97
%{__install} -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/pki/nssdb/secmod.db
3cecc97
     
245af98
# Copy the development libraries we want
245af98
for file in libcrmf.a libnssb.a libnssckfw.a
245af98
do
3cecc97
  %{__install} -p -m 644 mozilla/dist/*.OBJ/lib/$file $RPM_BUILD_ROOT/%{_libdir}
245af98
done
245af98
245af98
# Copy the binaries we want
7f17142
for file in certutil cmsutil crlutil modutil pk12util signtool signver ssltap
245af98
do
cf51446
  %{__install} -p -m 755 mozilla/dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{_bindir}
245af98
done
245af98
7f17142
# Copy the binaries we ship as unsupported
3cecc97
for file in atob btoa derdump ocspclnt pp selfserv strsclnt symkeyutil tstclnt vfyserv vfychain
7f17142
do
cf51446
  %{__install} -p -m 755 mozilla/dist/*.OBJ/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
7f17142
done
7f17142
d5b7e00
# Copy the include files we want
245af98
for file in mozilla/dist/public/nss/*.h
245af98
do
cf51446
  %{__install} -p -m 644 $file $RPM_BUILD_ROOT/%{_includedir}/nss3
245af98
done
245af98
29f74fb
# Copy the package configuration files
aa8c558
%{__install} -p -m 644 ./mozilla/dist/pkgconfig/nss.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/nss.pc
aa8c558
%{__install} -p -m 755 ./mozilla/dist/pkgconfig/nss-config $RPM_BUILD_ROOT/%{_bindir}/nss-config
245af98
e798b1c
#remove the nss-util-devel headers
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/base64.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/ciferfam.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssb64.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssb64t.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslocks.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssilock.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssilckt.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssrwlk.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssrwlkt.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nssutil.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11f.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11n.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11p.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11t.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/pkcs11u.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/portreg.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secasn1.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secasn1t.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/seccomon.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secder.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secdert.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secdig.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secdigt.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secerr.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secitem.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secoid.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secoidt.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secport.h
e798b1c
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/utilrename.h
e798b1c
3cecc97
#remove header shipped in nss-softokn-devel
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/blapit.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/ecl-exp.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/hasht.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/sechash.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/secmodt.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/shsign.h
3cecc97
rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h
e798b1c
245af98
%clean
245af98
%{__rm} -rf $RPM_BUILD_ROOT
245af98
245af98
%post
245af98
/sbin/ldconfig >/dev/null 2>/dev/null
245af98
245af98
%postun
245af98
/sbin/ldconfig >/dev/null 2>/dev/null
245af98
245af98
%files
245af98
%defattr(-,root,root)
f0c6761
/%{_lib}/libnss3.so
f0c6761
/%{_lib}/libssl3.so
f0c6761
/%{_lib}/libsmime3.so
f0c6761
/%{_lib}/libnssckbi.so
f0c6761
/%{_lib}/libnsspem.so
6b76e16
%dir %{_sysconfdir}/pki/nssdb
6b76e16
%config(noreplace) %{_sysconfdir}/pki/nssdb/cert8.db
6b76e16
%config(noreplace) %{_sysconfdir}/pki/nssdb/key3.db
6b76e16
%config(noreplace) %{_sysconfdir}/pki/nssdb/secmod.db
e9604df
245af98
%files tools
245af98
%defattr(-,root,root)
245af98
%{_bindir}/certutil
7f17142
%{_bindir}/cmsutil
7f17142
%{_bindir}/crlutil
245af98
%{_bindir}/modutil
245af98
%{_bindir}/pk12util
245af98
%{_bindir}/signtool
7f17142
%{_bindir}/signver
245af98
%{_bindir}/ssltap
7f17142
%{unsupported_tools_directory}/atob
7f17142
%{unsupported_tools_directory}/btoa
7f17142
%{unsupported_tools_directory}/derdump
7f17142
%{unsupported_tools_directory}/ocspclnt
7f17142
%{unsupported_tools_directory}/pp
7f17142
%{unsupported_tools_directory}/selfserv
7f17142
%{unsupported_tools_directory}/strsclnt
7f17142
%{unsupported_tools_directory}/symkeyutil
7f17142
%{unsupported_tools_directory}/tstclnt
7f17142
%{unsupported_tools_directory}/vfyserv
7f17142
%{unsupported_tools_directory}/vfychain
245af98
245af98
%files devel
245af98
%defattr(-,root,root)
a2b7a45
%{_libdir}/libnss3.so
a2b7a45
%{_libdir}/libssl3.so
a2b7a45
%{_libdir}/libsmime3.so
a2b7a45
%{_libdir}/libnssckbi.so
a2b7a45
%{_libdir}/libnsspem.so
245af98
%{_libdir}/libcrmf.a
245af98
%{_libdir}/pkgconfig/nss.pc
245af98
%{_bindir}/nss-config
245af98
3cecc97
%dir %{_includedir}/nss3
245af98
%{_includedir}/nss3/cert.h
245af98
%{_includedir}/nss3/certdb.h
245af98
%{_includedir}/nss3/certt.h
245af98
%{_includedir}/nss3/cmmf.h
245af98
%{_includedir}/nss3/cmmft.h
245af98
%{_includedir}/nss3/cms.h
245af98
%{_includedir}/nss3/cmsreclist.h
245af98
%{_includedir}/nss3/cmst.h
245af98
%{_includedir}/nss3/crmf.h
245af98
%{_includedir}/nss3/crmft.h
245af98
%{_includedir}/nss3/cryptohi.h
245af98
%{_includedir}/nss3/cryptoht.h
245af98
%{_includedir}/nss3/jar-ds.h
245af98
%{_includedir}/nss3/jar.h
245af98
%{_includedir}/nss3/jarfile.h
245af98
%{_includedir}/nss3/key.h
245af98
%{_includedir}/nss3/keyhi.h
245af98
%{_includedir}/nss3/keyt.h
245af98
%{_includedir}/nss3/keythi.h
245af98
%{_includedir}/nss3/nss.h
f8f0841
%{_includedir}/nss3/nssckbi.h
3b9b992
%{_includedir}/nss3/nsspem.h
245af98
%{_includedir}/nss3/ocsp.h
245af98
%{_includedir}/nss3/ocspt.h
245af98
%{_includedir}/nss3/p12.h
245af98
%{_includedir}/nss3/p12plcy.h
245af98
%{_includedir}/nss3/p12t.h
245af98
%{_includedir}/nss3/pk11func.h
245af98
%{_includedir}/nss3/pk11pqg.h
245af98
%{_includedir}/nss3/pk11priv.h
245af98
%{_includedir}/nss3/pk11pub.h
245af98
%{_includedir}/nss3/pk11sdr.h
245af98
%{_includedir}/nss3/pkcs12.h
245af98
%{_includedir}/nss3/pkcs12t.h
245af98
%{_includedir}/nss3/pkcs7t.h
245af98
%{_includedir}/nss3/preenc.h
245af98
%{_includedir}/nss3/secmime.h
245af98
%{_includedir}/nss3/secmod.h
245af98
%{_includedir}/nss3/secpkcs5.h
245af98
%{_includedir}/nss3/secpkcs7.h
245af98
%{_includedir}/nss3/smime.h
245af98
%{_includedir}/nss3/ssl.h
245af98
%{_includedir}/nss3/sslerr.h
245af98
%{_includedir}/nss3/sslproto.h
245af98
%{_includedir}/nss3/sslt.h
245af98
245af98
245af98
%files pkcs11-devel
245af98
%defattr(-, root, root)
245af98
%{_includedir}/nss3/nssbase.h
245af98
%{_includedir}/nss3/nssbaset.h
f8f0841
%{_includedir}/nss3/nssckepv.h
f8f0841
%{_includedir}/nss3/nssckft.h
f8f0841
%{_includedir}/nss3/nssckfw.h
f8f0841
%{_includedir}/nss3/nssckfwc.h
f8f0841
%{_includedir}/nss3/nssckfwt.h
f8f0841
%{_includedir}/nss3/nssckg.h
f8f0841
%{_includedir}/nss3/nssckmdt.h
f8f0841
%{_includedir}/nss3/nssckt.h
245af98
%{_libdir}/libnssb.a
245af98
%{_libdir}/libnssckfw.a
245af98
245af98
245af98
%changelog
5defb2b
* Tue Sep 01 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.4-1
5defb2b
- Update to 3.12.4
5defb2b
aed9acf
* Mon Aug 31 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-30
aed9acf
- Fix FORTIFY_SOURCE buffer overflows in test suite on ppc and ppc64 - bug 519766
aed9acf
- Fixed requires and buildrequires as per recommendations in spec file review
aed9acf
2461dd4
* Sun Aug 30 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-29
2461dd4
- Restoring patches 2 and 7 as we still compile all sources
2461dd4
- Applying the nss-nolocalsql.patch solves nss-tools sqlite dependency problems
2461dd4
3069fb3
* Sun Aug 30 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-28
3069fb3
- restore require sqlite
3069fb3
4bf33e7
* Sat Aug 29 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-27
4bf33e7
- Don't require sqlite for nss
4bf33e7
d4d1c79
* Sat Aug 29 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-26
d4d1c79
- Ensure versions in the requires match those used when creating nss.pc
d4d1c79
2e4cd3e
* Fri Aug 28 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-25
2e4cd3e
- Remove nss-prelink.conf as signed all shared libraries moved to nss-softokn
2e4cd3e
- Add a temprary hack to nss.pc.in to unblock builds
2e4cd3e
cfe6bf9
* Fri Aug 28 2009 Warren Togami <wtogami@redhat.com> - 3.12.3.99.3-24
cfe6bf9
- caolan's nss.pc patch
cfe6bf9
440dee8
* Thu Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-23
440dee8
- Bump the release number for a chained build of nss-util, nss-softokn and nss
440dee8
f6c1d3c
* Thu Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-22
f6c1d3c
- Fix nss-config not to include nssutil
f6c1d3c
- Add BuildRequires on nss-softokn and nss-util since build also runs the test suite
f6c1d3c
56e4ce9
* Wed Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-21
56e4ce9
- disabling all tests while we investigate a buffer overflow bug
56e4ce9
b559a43
* Wed Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-20
b559a43
- disabling some tests while we investigate a buffer overflow bug - 519766
b559a43
aa8c558
* Wed Aug 27 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-19
aa8c558
- remove patches that are now in nss-softokn and
aa8c558
- remove spurious exec-permissions for nss.pc per rpmlint
aa8c558
- single requires line in nss.pc.in
aa8c558
cd4fd0c
* Wed Aug 26 2009 Elio Maldonado<emaldona@redhat.com> - 3.12.3.99.3-18
cd4fd0c
- Fix BuildRequires: nss-softokn-devel release number
cd4fd0c
85b2938
* Wed Aug 26 2009 Elio Maldonado
85b2938
- fix nss.pc.in to have one single requires line
85b2938
3cecc97
* Tue Aug 25 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-16
3cecc97
- cleanups for softokn
3cecc97
3135805
* Tue Aug 25 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-15
3135805
- remove the softokn subpackages
3135805
cce5278
* Mon Aug 24 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-14
cce5278
- don install the nss-util pkgconfig bits
cce5278
22aee06
* Mon Aug 24 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-13
22aee06
- remove from -devel the 3 headers that ship in nss-util-devel
22aee06
e798b1c
* Mon Aug 24 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-12
e798b1c
- kill off the nss-util nss-util-devel subpackages
e798b1c
e9604df
* Sun Aug 23 2009 Elio Maldonado+emaldona@redhat.com - 3.12.3.99.3-11
e9604df
- split off nss-softokn and nss-util as subpackages with their own rpms
e9604df
- first phase of splitting nss-softokn and nss-util as their own packages
e9604df
cf51446
* Thu Aug 20 2009 Elio Maldonado <emaldona@redhat.com> - 3.12.3.99.3-10
cf51446
- must install libnssutil3.since nss-util is untagged at the moment
cf51446
- preserve time stamps when installing various files
cf51446
32013d0
* Thu Aug 20 2009 Dennis Gilmore <dennis@ausil.us> - 3.12.3.99.3-9
86f79bc
- dont install libnssutil3.so since its now in nss-util
86f79bc
29f74fb
* Sat Aug 06 2009 Elio Maldonado <emaldona@redhat.com> - 3.12.3.99.3-7.1
29f74fb
- Fix spec file problems uncovered by Fedora_12_Mass_Rebuild
29f74fb
c0eb0ac
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.3.99.3-7
c0eb0ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c0eb0ac
1d5ac5c
* Mon Jun 22 2009 Elio Maldonado <emaldona@redhat.com> - 3.12.3.99.3-6
1d5ac5c
- removed two patch files which are no longer needed and fixed previous change log number
1d5ac5c
* Mon Jun 22 2009 Elio Maldonado <emaldona@redhat.com> - 3.12.3.99.3-5
dad318a
- updated pem module incorporates various patches
dad318a
- fix off-by-one error when computing size to reduce memory leak. (483855)
dad318a
- fix data type to work on x86_64 systems. (429175)
dad318a
- fix various memory leaks and free internal objects on module unload. (501080)
dad318a
- fix to not clone internal objects in collect_objects().  (501118)
dad318a
- fix to not bypass initialization if module arguments are omitted. (501058)
dad318a
- fix numerous gcc warnings. (500815)
dad318a
- fix to support arbitrarily long password while loading a private key. (500180) 
dad318a
- fix memory leak in make_key and memory leaks and return values in pem_mdSession_Login (501191)
8b90047
* Fri Jun 08 2009 Elio Maldonado <emaldona@redhat.com> - 3.12.3.99.3-4
8b90047
- add patch for bug 502133 upstream bug 496997
afba8cf
* Fri Jun 05 2009 Kai Engert <kaie@redhat.com> - 3.12.3.99.3-3
5f40643
- rebuild with higher release number for upgrade sanity
84365bb
* Fri Jun 05 2009 Kai Engert <kaie@redhat.com> - 3.12.3.99.3-2
84365bb
- updated to NSS_3_12_4_FIPS1_WITH_CKBI_1_75
52a3192
* Thu May 07 2009 Kai Engert <kaie@redhat.com> - 3.12.3-7
6dc6a9a
- re-enable test suite
52a3192
- add patch for upstream bug 488646 and add newer paypal
52a3192
  certs in order to make the test suite pass
cbf4a20
* Wed May 06 2009 Kai Engert <kaie@redhat.com> - 3.12.3-4
cbf4a20
- add conflicts info in order to fix bug 499436
c713a53
* Tue Apr 14 2009 Kai Engert <kaie@redhat.com> - 3.12.3-3
c713a53
- ship .chk files instead of running shlibsign at install time
c713a53
- include .chk file in softokn-freebl subpackage
c713a53
- add patch for upstream nss bug 488350
79bf6c1
* Tue Apr 14 2009 Kai Engert <kaie@redhat.com> - 3.12.3-2
79bf6c1
- Update to NSS 3.12.3
d02b896
* Mon Apr 06 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-7
d02b896
- temporarily disable the test suite because of bug 494266
e9d8216
* Mon Apr 06 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-6
e9d8216
- fix softokn-freebl dependency for multilib (bug 494122)
22ee35c
* Thu Apr 02 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-5
22ee35c
- introduce separate nss-softokn-freebl package
37d66db
* Thu Apr 02 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-4
37d66db
- disable execstack when building freebl
7c0fe91
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-3
7c0fe91
- add upstream patch to fix bug 483855
724f4ea
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-2
724f4ea
- build nspr-less freebl library
5ff871a
* Tue Mar 31 2009 Kai Engert <kaie@redhat.com> - 3.12.2.99.3-1
5ff871a
- Update to NSS_3_12_3_BETA4
5ff871a
25c0914
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2.0-4
25c0914
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
25c0914
df58862
* Wed Oct 22 2008 Kai Engert <kaie@redhat.com> - 3.12.2.0-3
ce07e5f
- update to NSS_3_12_2_RC1
df58862
- use system zlib
a31a41a
* Tue Sep 30 2008 Dennis Gilmore <dennis@ausil.us> - 3.12.1.1-4
a31a41a
- add sparc64 to the list of 64 bit arches
a31a41a
3434861
* Wed Sep 24 2008 Kai Engert <kaie@redhat.com> - 3.12.1.1-3
3434861
- bug 456847, move pkgconfig requirement to devel package
04409e9
* Fri Sep 05 2008 Kai Engert <kengert@redhat.com> - 3.12.1.1-2
04409e9
- Update to NSS_3_12_1_RC2
75a9dc0
* Fri Aug 22 2008 Kai Engert <kaie@redhat.com> - 3.12.1.0-2
75a9dc0
- NSS 3.12.1 RC1
59d263f
* Fri Aug 15 2008 Kai Engert <kaie@redhat.com> - 3.12.0.3-7
59d263f
- fix bug bug 429175 in libpem module
3a3e2a0
* Tue Aug 05 2008 Kai Engert <kengert@redhat.com> - 3.12.0.3-6
7729d26
- bug 456847, add Requires: pkgconfig
f78be8f
* Tue Jun 24 2008 Kai Engert <kengert@redhat.com> - 3.12.0.3-3
f78be8f
- nss package should own /etc/prelink.conf.d folder, rhbz#452062
f78be8f
- use upstream patch to fix test suite abort
93ebcc1
* Mon Jun 02 2008 Kai Engert <kengert@redhat.com> - 3.12.0.3-2
93ebcc1
- Update to NSS_3_12_RC4
1575c26
* Mon Apr 14 2008 Kai Engert <kengert@redhat.com> - 3.12.0.1-1
1575c26
- Update to NSS_3_12_RC2
2464892
* Thu Mar 20 2008 Jesse Keating <jkeating@redhat.com> - 3.11.99.5-2
2464892
- Zapping old Obsoletes/Provides.  No longer needed, causes multilib headache.
bddacee
* Mon Mar 17 2008 Kai Engert <kengert@redhat.com> - 3.11.99.5-1
bddacee
- Update to NSS_3_12_BETA3
a2b7a45
* Fri Feb 22 2008 Kai Engert <kengert@redhat.com> - 3.11.99.4-1
a2b7a45
- NSS 3.12 Beta 2
a2b7a45
- Use /usr/lib{64} as devel libdir, create symbolic links.
21e39a1
* Sat Feb 16 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-6
21e39a1
- Apply upstream patch for bug 417664, enable test suite on pcc.
79f6667
* Fri Feb 15 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-5
79f6667
- Support concurrent runs of the test suite on a single build host.
fc46195
* Thu Feb 14 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-4
fc46195
- disable test suite on ppc
1c7c94c
* Thu Feb 14 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-3
1c7c94c
- disable test suite on ppc64
1c7c94c
9bb1784
* Thu Feb 14 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-2
9bb1784
- Build against gcc 4.3.0, use workaround for bug 432146
9bb1784
- Run the test suite after the build and abort on failures.
9bb1784
6887e03
* Thu Jan 24 2008 Kai Engert <kengert@redhat.com> - 3.11.99.3-1
6887e03
* NSS 3.12 Beta 1
6887e03
f0c6761
* Mon Jan 07 2008 Kai Engert <kengert@redhat.com> - 3.11.99.2b-3
f0c6761
- move .so files to /lib
f0c6761
8cbe248
* Wed Dec 12 2007 Kai Engert <kengert@redhat.com> - 3.11.99.2b-2
8cbe248
- NSS 3.12 alpha 2b
8cbe248
eded059
* Mon Dec 03 2007 Kai Engert <kengert@redhat.com> - 3.11.99.2-2
eded059
- upstream patches to avoid calling netstat for random data
eded059
613a5e1
* Wed Nov 07 2007 Kai Engert <kengert@redhat.com> - 3.11.99.2-1
613a5e1
- NSS 3.12 alpha 2
613a5e1
cf095e0
* Wed Oct 10 2007 Kai Engert <kengert@redhat.com> - 3.11.7-10
cf095e0
- Add /etc/prelink.conf.d/nss-prelink.conf in order to blacklist
cf095e0
  our signed libraries and protect them from modification.
cf095e0
726c3f6
* Thu Sep 06 2007 Rob Crittenden <rcritten@redhat.com> - 3.11.7-9
726c3f6
- Fix off-by-one error in the PEM module
726c3f6
8f34392
* Thu Sep 06 2007 Kai Engert <kengert@redhat.com> - 3.11.7-8
8f34392
- fix a C++ mode compilation error
8f34392
3b9b992
* Wed Sep 05 2007 Bob Relyea <rrelyea@redhat.com> - 3.11.7-7
3b9b992
- Add 3.12 ckfw and libnsspem
3b9b992
9c5168e
* Tue Aug 28 2007 Kai Engert <kengert@redhat.com> - 3.11.7-6
9c5168e
- Updated license tag
9c5168e
3d72738
* Wed Jul 11 2007 Kai Engert <kengert@redhat.com> - 3.11.7-5
3d72738
- Ensure the workaround for mozilla bug 51429 really get's built.
3d72738
d5b7e00
* Mon Jun 18 2007 Kai Engert <kengert@redhat.com> - 3.11.7-4
d5b7e00
- Better approach to ship freebl/softokn based on 3.11.5
d5b7e00
- Remove link time dependency on softokn
d5b7e00
f126583
* Sun Jun 10 2007 Kai Engert <kengert@redhat.com> - 3.11.7-3
f126583
- Fix unowned directories, rhbz#233890
f126583
731ecc1
* Fri Jun 01 2007 Kai Engert <kengert@redhat.com> - 3.11.7-2
731ecc1
- Update to 3.11.7, but freebl/softokn remain at 3.11.5.
731ecc1
- Use a workaround to avoid mozilla bug 51429.
731ecc1
7d533da
* Fri Mar 02 2007 Kai Engert <kengert@redhat.com> - 3.11.5-2
7d533da
- Fix rhbz#230545, failure to enable FIPS mode
7d533da
- Fix rhbz#220542, make NSS more tolerant of resets when in the 
7d533da
  middle of prompting for a user password.
7d533da
7f17142
* Sat Feb 24 2007 Kai Engert <kengert@redhat.com> - 3.11.5-1
7f17142
- Update to 3.11.5
7f17142
- This update fixes two security vulnerabilities with SSL 2
7f17142
- Do not use -rpath link option
7f17142
- Added several unsupported tools to tools package
7f17142
191c28e
* Tue Jan  9 2007 Bob Relyea <rrelyea@redhat.com> - 3.11.4-4
191c28e
- disable ECC, cleanout dead code
191c28e
191c28e
* Tue Nov 28 2006 Kai Engert <kengert@redhat.com> - 3.11.4-1
8026606
- Update to 3.11.4
8026606
73d9520
* Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-2
73d9520
- Revert the attempt to require latest NSPR, as it is not yet available
73d9520
  in the build infrastructure.
73d9520
4c54a2f
* Thu Sep 14 2006 Kai Engert <kengert@redhat.com> - 3.11.3-1
4c54a2f
- Update to 3.11.3
4c54a2f
6b76e16
* Thu Aug 03 2006 Kai Engert <kengert@redhat.com> - 3.11.2-2
6b76e16
- Add /etc/pki/nssdb
6b76e16
6b76e16
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.11.2-1.1
c89c153
- rebuild
c89c153
70b6ea6
* Fri Jun 30 2006 Kai Engert <kengert@redhat.com> - 3.11.2-1
70b6ea6
- Update to 3.11.2
70b6ea6
- Enable executable bit on shared libs, also fixes debug info.
70b6ea6
4331349
* Wed Jun 14 2006 Kai Engert <kengert@redhat.com> - 3.11.1-2
4331349
- Enable Elliptic Curve Cryptography (ECC)
4331349
2bb335b
* Fri May 26 2006 Kai Engert <kengert@redhat.com> - 3.11.1-1
2bb335b
- Update to 3.11.1
2bb335b
- Include upstream patch to limit curves
2bb335b
0d7e255
* Wed Feb 15 2006 Kai Engert <kengert@redhat.com> - 3.11-4
0d7e255
- add --noexecstack when compiling assembler on x86_64
0d7e255
dbf10e7
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.2
dbf10e7
- bump again for double-long bug on ppc(64)
dbf10e7
0b94c4f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.11-3.1
0b94c4f
- rebuilt for new gcc4.1 snapshot and glibc changes
0b94c4f
df3a736
* Thu Jan 19 2006 Ray Strode <rstrode@redhat.com> 3.11-3
df3a736
- rebuild
df3a736
f8f0841
* Fri Dec 16 2005 Christopher Aillon <caillon@redhat.com> 3.11-2
f8f0841
- Update file list for the devel packages
f8f0841
9ab5b4d
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-1
9ab5b4d
- Update to 3.11
9ab5b4d
a8fe385
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs.2
a8fe385
- Add patch to allow building on ppc*
e00571c
- Update the pkgconfig file to Require nspr
a8fe385
245af98
* Thu Dec 15 2005 Christopher Aillon <caillon@redhat.com> 3.11-0.cvs
245af98
- Initial import into Fedora Core, based on a CVS snapshot of
245af98
  the NSS_3_11_RTM tag
245af98
- Fix up the pkcs11-devel subpackage to contain the proper headers
245af98
- Build with RPM_OPT_FLAGS
245af98
- No need to have rpath of /usr/lib in the pc file
245af98
245af98
* Thu Dec 15 2005 Kai Engert <kengert@redhat.com>
245af98
- Adressed review comments by Wan-Teh Chang, Bob Relyea,
245af98
  Christopher Aillon.
245af98
245af98
* Tue Jul  9 2005 Rob Crittenden <rcritten@redhat.com> 3.10-1
245af98
- Initial build