Blame SPECS/mod_nss.spec

49b7d4
%{!?_httpd_apxs:       %{expand: %%global _httpd_apxs       %%{_sbindir}/apxs}}
49b7d4
%{!?_httpd_confdir:    %{expand: %%global _httpd_confdir    %%{_sysconfdir}/httpd/conf.d}}
49b7d4
# /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4
49b7d4
%{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}}
49b7d4
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
49b7d4
49b7d4
Name: mod_nss
49b7d4
Version: 1.0.14
49b7d4
Release: 12%{?dist}
49b7d4
Summary: SSL/TLS module for the Apache HTTP server
49b7d4
Group: System Environment/Daemons
49b7d4
License: ASL 2.0
49b7d4
URL: https://pagure.io/mod_nss/
49b7d4
Source: http://releases.pagure.org/mod_nss/%{name}-%{version}.tar.gz
49b7d4
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
49b7d4
BuildRequires: nspr-devel >= 4.10.8, nss-devel >= 3.19.1
49b7d4
BuildRequires: httpd-devel, apr-devel, apr-util-devel
49b7d4
BuildRequires: pkgconfig
49b7d4
BuildRequires: autoconf
49b7d4
BuildRequires: automake
49b7d4
BuildRequires: libtool
49b7d4
# Needed for make check
49b7d4
BuildRequires: openssl
49b7d4
BuildRequires: python-nose
49b7d4
BuildRequires: python-requests
49b7d4
BuildRequires: python-urllib3
49b7d4
Requires: httpd-mmn = %{_httpd_mmn}
49b7d4
Requires(post): httpd, nss-tools
49b7d4
Requires: nss%{?_isa} >= 3.19.1
49b7d4
# Although the following change reverses the desire of Bugzilla Bug #601939, it
49b7d4
# was provided to suppress the dangling symlink warning of Bugzilla Bug #906089
49b7d4
# as exposed via 'rpmlint'.
49b7d4
Requires: %{_libdir}/libnssckbi.so
49b7d4
49b7d4
# Change configuration to not conflict with mod_ssl
49b7d4
Patch1: mod_nss-conf.patch
49b7d4
# Generate a password-less NSS database
49b7d4
Patch2: mod_nss-gencert.patch
49b7d4
# Set DEFAULT_SSL_CIPHER_LIST manually if pyopenssl can't be imported
49b7d4
Patch3: mod_nss-defaultcipherlist.patch
49b7d4
# Match the available ciphers in RHEL OpenSSL so tests pass
49b7d4
Patch4: mod_nss-test-cipherlist.patch 
49b7d4
# Disable and fix tests to work inside of brew
49b7d4
Patch5: mod_nss-brewtest.patch
49b7d4
# Remove setting 'r->user' in nss_hook_Fixup()
49b7d4
Patch6: mod_nss-remove-r-user-from-hook-fixup.patch
49b7d4
# Cleanup nss_pcache semaphore on shutdown
49b7d4
Patch7: mod_nss-clean-semaphore.patch
49b7d4
# Check certificate database directory permissions
49b7d4
Patch8: mod_nss-certdb-permissions.patch
49b7d4
# Die on invalid Protocol settings
49b7d4
Patch9: mod_nss-invalid-protocol-setting.patch
49b7d4
# Handle group membership when testing file perms
49b7d4
Patch10: mod_nss-group-permissions.patch
49b7d4
# Add OCSP cache tuning directives
49b7d4
Patch11: mod_nss-ocsp-tuning-knobs.patch
49b7d4
# Use NoDBInit in nss_pcache
49b7d4
Patch12: mod_nss-pcache_nodbinit.patch
49b7d4
# Update nss_pcache man page to drop directory and prefix
49b7d4
Patch13: mod_nss-nss_pcache_man.patch
49b7d4
# Fix TLS Session cache
49b7d4
Patch14: mod_nss-session_cache.patch
49b7d4
# Remove NSSSessionCacheTimeout from default config
49b7d4
Patch15: mod_nss-remove-deprecated-NSSSessionCacheTimeout.patch
49b7d4
49b7d4
%description
49b7d4
The mod_nss module provides strong cryptography for the Apache Web
49b7d4
server via the Secure Sockets Layer (SSL) and Transport Layer
49b7d4
Security (TLS) protocols using the Network Security Services (NSS)
49b7d4
security library.
49b7d4
49b7d4
%prep
49b7d4
%setup -q
49b7d4
%patch1 -p1 -b .conf
49b7d4
%patch2 -p1 -b .gencert
49b7d4
%patch3 -p1 -b .defaultcipherlist
49b7d4
%patch4 -p1 -b .testcipherlist
49b7d4
%patch5 -p1 -b .brewtest
49b7d4
%patch6 -p1 -b .remove_r_user
49b7d4
%patch7 -p1 -b .semaphore
49b7d4
%patch8 -p1 -b .permissions
49b7d4
%patch9 -p1 -b .protocol_fatal
49b7d4
%patch10 -p1 -b .group_permissions
49b7d4
%patch11 -p1 -b .ocsp_tuning
49b7d4
%patch12 -p1 -b .pcache_nodbinit
49b7d4
%patch13 -p1 -b .pcache_man
49b7d4
%patch14 -p1 -b .session_cache
49b7d4
%patch15 -p1 -b .deprecated_sessioncachetimeout
49b7d4
49b7d4
# Touch expression parser sources to prevent regenerating it
49b7d4
touch nss_expr_*.[chyl]
49b7d4
49b7d4
%build
49b7d4
49b7d4
CFLAGS="$RPM_OPT_FLAGS"
49b7d4
APXS=%{_httpd_apxs}
49b7d4
49b7d4
export CFLAGS APXS
49b7d4
49b7d4
NSPR_INCLUDE_DIR=`/usr/bin/pkg-config --variable=includedir nspr`
49b7d4
NSPR_LIB_DIR=`/usr/bin/pkg-config --variable=libdir nspr`
49b7d4
49b7d4
NSS_INCLUDE_DIR=`/usr/bin/pkg-config --variable=includedir nss`
49b7d4
NSS_LIB_DIR=`/usr/bin/pkg-config --variable=libdir nss`
49b7d4
49b7d4
NSS_BIN=`/usr/bin/pkg-config --variable=exec_prefix nss`
49b7d4
49b7d4
autoreconf -i -f
49b7d4
%configure \
49b7d4
    --with-nss-lib=$NSS_LIB_DIR \
49b7d4
    --with-nss-inc=$NSS_INCLUDE_DIR \
49b7d4
    --with-nspr-lib=$NSPR_LIB_DIR \
49b7d4
    --with-nspr-inc=$NSPR_INCLUDE_DIR \
49b7d4
    --with-apr-config --enable-ecc
49b7d4
49b7d4
make %{?_smp_mflags} all
49b7d4
49b7d4
%install
49b7d4
# The install target of the Makefile isn't used because that uses apxs
49b7d4
# which tries to enable the module in the build host httpd instead of in
49b7d4
# the build root.
49b7d4
rm -rf $RPM_BUILD_ROOT
49b7d4
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_httpd_confdir}
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
49b7d4
49b7d4
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
49b7d4
# httpd >= 2.4.x
49b7d4
mkdir -p $RPM_BUILD_ROOT%{_httpd_modconfdir}
49b7d4
sed -n /^LoadModule/p nss.conf > 10-nss.conf
49b7d4
sed -i /^LoadModule/d nss.conf
49b7d4
install -m 644 10-nss.conf $RPM_BUILD_ROOT%{_httpd_modconfdir}
49b7d4
%endif
49b7d4
49b7d4
install -m 644 gencert.8 $RPM_BUILD_ROOT%{_mandir}/man8/
49b7d4
install -m 644 nss_pcache.8 $RPM_BUILD_ROOT%{_mandir}/man8/
49b7d4
49b7d4
install -m 644 nss.conf $RPM_BUILD_ROOT%{_httpd_confdir}
49b7d4
49b7d4
install -m 755 .libs/libmodnss.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/
49b7d4
install -m 755 nss_pcache $RPM_BUILD_ROOT%{_libexecdir}/
49b7d4
# Provide a compatibility link to prevent disruption of customized deployments.
49b7d4
#
49b7d4
#     NOTE:  This link may be deprecated in a future release of 'mod_nss'.
49b7d4
#
49b7d4
ln -s %{_libexecdir}/nss_pcache $RPM_BUILD_ROOT%{_sbindir}/nss_pcache
49b7d4
install -m 755 gencert $RPM_BUILD_ROOT%{_sbindir}/
49b7d4
ln -s %{_libdir}/libnssckbi.so $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias/
49b7d4
touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias/secmod.db
49b7d4
touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias/cert8.db
49b7d4
touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias/key3.db
49b7d4
touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/alias/install.log
49b7d4
49b7d4
perl -pi -e "s:$NSS_LIB_DIR:$NSS_BIN:" $RPM_BUILD_ROOT%{_sbindir}/gencert
49b7d4
49b7d4
%check
49b7d4
make check
49b7d4
49b7d4
%clean
49b7d4
rm -rf $RPM_BUILD_ROOT
49b7d4
49b7d4
%post
49b7d4
umask 077
49b7d4
49b7d4
if [ "$1" -eq 1 ] ; then
49b7d4
    if [ ! -e %{_sysconfdir}/httpd/alias/key3.db ]; then
49b7d4
        %{_sbindir}/gencert %{_sysconfdir}/httpd/alias > %{_sysconfdir}/httpd/alias/install.log 2>&1
49b7d4
        echo ""
49b7d4
        echo "%{name} certificate database generated."
49b7d4
        echo ""
49b7d4
    fi
49b7d4
49b7d4
    # Make sure that the database ownership is setup properly.
49b7d4
    /bin/find %{_sysconfdir}/httpd/alias -user root -name "*.db" -exec /bin/chgrp apache {} \;
49b7d4
    /bin/find %{_sysconfdir}/httpd/alias -user root -name "*.db" -exec /bin/chmod g+r {} \;
49b7d4
fi
49b7d4
49b7d4
%files
49b7d4
%defattr(-,root,root,-)
49b7d4
%doc README LICENSE docs/mod_nss.html
49b7d4
%{_mandir}/man8/*
49b7d4
%config(noreplace) %{_httpd_confdir}/nss.conf
49b7d4
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
49b7d4
%config(noreplace) %{_httpd_modconfdir}/10-nss.conf
49b7d4
%endif
49b7d4
%{_libdir}/httpd/modules/libmodnss.so
49b7d4
%dir %{_sysconfdir}/httpd/alias/
49b7d4
%ghost %attr(0640,root,apache) %config(noreplace) %{_sysconfdir}/httpd/alias/secmod.db
49b7d4
%ghost %attr(0640,root,apache) %config(noreplace) %{_sysconfdir}/httpd/alias/cert8.db
49b7d4
%ghost %attr(0640,root,apache) %config(noreplace) %{_sysconfdir}/httpd/alias/key3.db
49b7d4
%ghost %config(noreplace) %{_sysconfdir}/httpd/alias/install.log
49b7d4
%{_sysconfdir}/httpd/alias/libnssckbi.so
49b7d4
%{_libexecdir}/nss_pcache
49b7d4
%{_sbindir}/nss_pcache
49b7d4
%{_sbindir}/gencert
49b7d4
49b7d4
%changelog
49b7d4
* Fri Nov  3 2017 Rob Crittenden <rcritten@redhat.com> - 1.0.14-12
49b7d4
- Correct URL and Source entries to point to pagure.io (#1502362)
49b7d4
- Remove deprecated NSSSessionCacheTimeout from default config (#1257662)
49b7d4
49b7d4
* Wed Jul 19 2017 Rob Crittenden <rcritten@redhat.com> - 1.0.14-11
49b7d4
- TLS session cache was not working (#1461580)
49b7d4
49b7d4
* Wed May 10 2017 Rob Crittenden <rcritten@redhat.com> - 1.0.14-10
49b7d4
- Apply the nss_pcache man page patch (#1382102)
49b7d4
49b7d4
* Wed May 10 2017 Rob Crittenden <rcritten@redhat.com> - 1.0.14-9
49b7d4
- Update nss_pcache.8 to drop directory and prefix options (#1382102)
49b7d4
49b7d4
- Don't share mod_nss NSS database with nss_pcache (#1382102)
49b7d4
* Thu Feb 23 2017 Rob Crittenden <rcritten@redhat.com> - 1.0.14-8
49b7d4
- Fail start start when there are invalid Protocols defined (#1389114)
49b7d4
- Handle group membership when testing NSS database filesystem
49b7d4
  permissions (#1395300)
49b7d4
- Add OCSP cache tuning directives (#1392582) 
49b7d4
- Don't share mod_nss NSS database with nss_pcache (#1382102)
49b7d4
49b7d4
* Wed Sep 21 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-7
49b7d4
- Add the permission patch to the repository (#1312583)
49b7d4
49b7d4
* Wed Sep 21 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-6
49b7d4
- Check the NSS certificate database directory for read permissions
49b7d4
  by the Apache user. (#1312583)
49b7d4
49b7d4
* Wed Aug 10 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-5
49b7d4
- Update clean semaphore patch to not free the pinList twice.
49b7d4
  (#1364560)
49b7d4
49b7d4
* Tue Aug  9 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-4
49b7d4
- Update clean semaphore patch to not close pipe twice and to
49b7d4
  shutdown NSS database (#1364560)
49b7d4
49b7d4
* Mon Aug  8 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-3
49b7d4
- Clean up semaphore in nss_pcache on shutdown (#1364560)
49b7d4
49b7d4
* Tue Jun 28 2016 Matthew Harmsen <mharmsen@redhat.com> - 1.0.14-2
49b7d4
- mod_nss sets r->user in fixup even if it was long ago changed
49b7d4
  by other module (#1347298)
49b7d4
49b7d4
* Mon May 23 2016 Rob Crittenden <rcritten@redhat.com> - 1.0.14-1
49b7d4
- Rebase to 1.0.14 (#1299063)
49b7d4
- Add support for Server Name Indication (SNI) (#1053327)
49b7d4
- Use upstream method to not execute live tests as root (#1256887)
49b7d4
- Always call SSL_ShutdownServerSessionIDCache() in ModuleKill
49b7d4
  (#1263301, #1296685)
49b7d4
- Don't require NSSProxyNickname (#1280287)
49b7d4
- Make link to libnssckbi.so an absolute link (#1288471)
49b7d4
- Fail for colons in credentials with FakeBasicAuth (#1295970)
49b7d4
- Don't ignore NSSProtocol when NSSFIPS is enabled (#1312491)
49b7d4
- Check filesystem permissions on NSS database at startup (#1312583)
49b7d4
- OpenSSL ciphers stopped parsing at +, CVE-2016-3099 (#1323913)
49b7d4
- Patch to match available ciphers so tests pass (#1299063)
49b7d4
- Patch to fix tests in brew (#1299063)
49b7d4
49b7d4
* Tue Sep 22 2015 Rob Crittenden <rcritten@redhat.com> - 1.0.11-6
49b7d4
- Add the supported NSS SHA384 ciphers (#1253570)
49b7d4
- Add kECDH, AECDH, ECDSA and aECDSA macros (#1253570)
49b7d4
- Bump the NSS BR and Requires so the new ciphers are available
49b7d4
- Bump the NSPR Requires to match NSS
49b7d4
49b7d4
* Mon Sep 21 2015 Rob Crittenden <rcritten@redhat.com> - 1.0.11-5
49b7d4
- Don't enable NULL ciphers in DEFAULT macro (#1253570)
49b7d4
- Add OpenSSL cipher macro EECDH (#1160745)
49b7d4
- Disable the live server testing in make check because it
49b7d4
  may run as root and fail horribly (#1160745)
49b7d4
49b7d4
* Thu Aug 27 2015 Rob Crittenden <rcritten@redhat.com> - 1.0.11-4
49b7d4
- Handle permanently disabled ciphers in call to SSL_CipherPrefSet
49b7d4
  (#1160745)
49b7d4
49b7d4
* Mon Aug 17 2015 Rob Crittenden <rcritten@redhat.com> - 1.0.11-3
49b7d4
- Fix logical and support in cipher strings CVE-2015-3277
49b7d4
  (#1253570)
49b7d4
- Add missing BuildRequires and small patch to use requests.urllib3
49b7d4
  to fix make check (#1253570)
49b7d4
49b7d4
* Wed Jul 29 2015 Matthew Harmsen <mharmsen@redhat.com> - 1.0.11-2
49b7d4
- Resolves: rhbz #1066236
49b7d4
- Bugzilla Bug #1066236 - mod_nss: documentation formatting fixes
49b7d4
49b7d4
* Thu Jun 11 2015 Rob Crittenden <rcritten@redhat.com> - 1.0.11-1
49b7d4
- Resolves: rhbz #1160745 - Rebase mod_nss to 1.0.11
49b7d4
49b7d4
* Mon Jan  5 2015 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-33
49b7d4
- Resolves: rhbz #1169871
49b7d4
- Bugzilla Bug #1169871 -  Default configuration enables SSL3
49b7d4
49b7d4
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.8-32
49b7d4
- Mass rebuild 2014-01-24
49b7d4
49b7d4
* Mon Jan 13 2014 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-31
49b7d4
- Resolves: rhbz #1029360
49b7d4
- Bugzilla Bug #1029360 - ambiguous/invalid ENVR in httpd-mmn Provides/Requires
49b7d4
- corrected typo on date
49b7d4
49b7d4
* Mon Jan 13 2014 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-30
49b7d4
- Resolves: rhbz #1029360
49b7d4
- Bugzilla Bug #1029360 - ambiguous/invalid ENVR in httpd-mmn Provides/Requires
49b7d4
49b7d4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.8-29
49b7d4
- Mass rebuild 2013-12-27
49b7d4
49b7d4
* Wed Nov 27 2013 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-28
49b7d4
- Resolves: rhbz #1030276
49b7d4
- [mod_nss-usecases.patch]
49b7d4
- Bugzilla Bug #1030276 - mod_nss not working in FIPS mode
49b7d4
49b7d4
* Fri Nov 15 2013 Rob Crittenden <rcritten@redhat.com> - 1.0.8-27
49b7d4
- Resolves: CVE-2013-4566
49b7d4
- Bugzilla Bug #1024536 - mod_nss: incorrect handling of NSSVerifyClient in
49b7d4
  directory context [rhel-7.0] (rcritten)
49b7d4
- Bugzilla Bug #1030845 - mod_nss: do not use %%configure in %%changelog
49b7d4
  (mharmsen)
49b7d4
49b7d4
* Tue Nov 12 2013 Joe Orton <jorton@redhat.com> - 1.0.8-26
49b7d4
- [mod_nss-SSLEngine-off.patch]
49b7d4
- Bugzilla Bug #1029042 - Implicit SSLEngine for 443 port breaks mod_nss
49b7d4
  configuration (jorton)
49b7d4
- [mod_nss-unused-filter_ctx.patch]
49b7d4
- Bugzilla Bug #1029665 - Remove unused variable 'filter_ctx' (mharmsen)
49b7d4
49b7d4
* Fri Nov  1 2013 Tomas Hoger <thoger@redhat.com> - 1.0.8-25
49b7d4
- Bugzilla Bug #1025317 - mod_nss: documentation formatting fixes [rhel-7]
49b7d4
49b7d4
* Thu Oct 24 2013 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-24
49b7d4
- Add '--enable-ecc' option to %%configure line under %%build section of
49b7d4
  this spec file (mharmsen)
49b7d4
- Bumped version build/runtime requirements for NSPR and NSS (mharmsen)
49b7d4
- [mod_nss-PK11_ListCerts_2.patch]
49b7d4
- Bugzilla Bug #1022295 - PK11_ListCerts called to retrieve all user
49b7d4
  certificates for every server (rcritten)
49b7d4
- [mod_nss-array_overrun.patch]
49b7d4
- Bugzilla Bug #1022298 - overrunning array when executing nss_pcache
49b7d4
  (rcritten)
49b7d4
- [mod_nss-clientauth.patch]
49b7d4
- Bugzilla Bug #1022921 - mod_nss: FakeBasicAuth authentication bypass
49b7d4
  [rhel-7.0] (rcritten)
49b7d4
- [mod_nss-no_shutdown_if_not_init_2.patch]
49b7d4
- Bugzilla Bug #1022303 - File descriptor leak after "service httpd reload"
49b7d4
  or httpd doesn't reload (rrelyea)
49b7d4
- [mod_nss-proxyvariables.patch]
49b7d4
- Bugzilla Bug #1022309 - mod_nss insists on Required value NSSCipherSuite
49b7d4
  not set. (mharmsen)
49b7d4
- [mod_nss-tlsv1_1.patch]
49b7d4
- Bugzilla Bug #1022310 - current nss support TLS 1.1 so mod_nss should pick
49b7d4
  it up (mharmsen)
49b7d4
- [mod_nss-sslmultiproxy_2.patch]
49b7d4
- Fixes Bugzilla Bug #1021458 - [RFE] Support ability to share mod_proxy with
49b7d4
  other SSL providers (jorton, mharmsen, nkinder, & rcritten)
49b7d4
49b7d4
* Tue Jul 30 2013 Joe Orton <jorton@redhat.com> - 1.0.8-23
49b7d4
- add dependency on httpd-mmn
49b7d4
49b7d4
* Wed Jul  3 2013 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-22
49b7d4
- Moved 'nss_pcache' from %%sbindir to %%libexecdir
49b7d4
  (provided compatibility link)
49b7d4
49b7d4
* Tue Jul  2 2013 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-21.1
49b7d4
- Add the following explanation to the 'Dangling symlinks' textbox in rpmdiff:
49b7d4
  Symlink 'etc/httpd/alias/libnssckbi.so' is deliberate.
49b7d4
  This test does not belong in rpmdiff. This test belongs in TPS.
49b7d4
  Since the symlink points to a file in another package, e.g. a
49b7d4
  dependency or a system file, rpmdiff cannot detect this. Remember,
49b7d4
  rpmdiff does not install or even know about package dependencies.
49b7d4
  That's TPS's job.
49b7d4
- Add the following explanation to the 'Brewtap results' textbox in rpmdiff:
49b7d4
  The '/etc/httpd/conf.d/nss.conf' file does not require a man page
49b7d4
  because its parameters are sufficiently documented within the
49b7d4
  configuration file itself.
49b7d4
  The '/etc/httpd/conf.modules.d/10-nss.conf' file does not require
49b7d4
  a man page because the file merely contains the line
49b7d4
  'LoadModule nss_module modules/libmodnss.so' to support httpd
49b7d4
  loading of Dynamic Shared Objects ('/etc/httpd/conf/httpd.conf').
49b7d4
49b7d4
* Tue Jun 25 2013 Matthew Harmsen <mharmsen@redhat.com> - 1.0.8-21
49b7d4
- Bugzilla Bug #884115 - Package mod_nss-1.0.8-18.1.el7 failed RHEL7 RPMdiff
49b7d4
  testing
49b7d4
- Bugzilla Bug #906082 - mod_nss requires manpages for gencert and nss_pcache
49b7d4
- Bugzilla Bug #906089 - Fix dangling symlinks in mod_nss
49b7d4
- Bugzilla Bug #906097 - Correct RPM Parse Warning in mod_nss.spec
49b7d4
- Bugzilla Bug #948601 - Man page scan results for mod_nss
49b7d4
49b7d4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-20.1
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
49b7d4
49b7d4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-19.1
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
49b7d4
49b7d4
* Mon Jun 18 2012 Joe Orton <jorton@redhat.com> - 1.0.8-18.1
49b7d4
- fix build for RHEL7
49b7d4
49b7d4
* Fri Jun 15 2012 Rob Crittenden <rcritten@redhat.com> - 1.0.8-18
49b7d4
- Actually apply the patch to use memmove in place of memcpy since the
49b7d4
  buffers can overlap (#669118)
49b7d4
49b7d4
* Tue Jun 12 2012 Nathan Kinder <nkinder@redhat.com> - 1.0.8-17
49b7d4
- Port mod_nss to work with httpd 2.4
49b7d4
49b7d4
* Mon Apr 23 2012 Joe Orton <jorton@redhat.com> - 1.0.8-16
49b7d4
- packaging fixes/updates (#803072)
49b7d4
49b7d4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-15
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
49b7d4
49b7d4
* Mon Mar  7 2011 Rob Crittenden <rcritten@redhat.com> - 1.0.8-14
49b7d4
- Add Requires(post) for nss-tools, gencert needs it (#652007)
49b7d4
49b7d4
* Wed Mar  2 2011 Rob Crittenden <rcritten@redhat.com> - 1.0.8-13
49b7d4
- Lock around the pipe to nss_pcache for retrieving the token PIN
49b7d4
  (#677701)
49b7d4
49b7d4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-12
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
49b7d4
49b7d4
* Wed Jan 12 2011 Rob Crittenden <rcritten@redhat.com> - 1.0.8-11
49b7d4
- Use memmove in place of memcpy since the buffers can overlap (#669118)
49b7d4
49b7d4
* Wed Sep 29 2010 jkeating - 1.0.8-10
49b7d4
- Rebuilt for gcc bug 634757
49b7d4
49b7d4
* Thu Sep 23 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-9
49b7d4
- Revert mod_nss-wouldblock patch
49b7d4
- Reset NSPR error before calling PR_Read(). This should fix looping
49b7d4
  in #620856
49b7d4
49b7d4
* Fri Sep 17 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-8
49b7d4
- Fix hang when handling large POST under some conditions (#620856)
49b7d4
49b7d4
* Tue Jun 22 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-7
49b7d4
- Remove file Requires on libnssckbi.so (#601939)
49b7d4
49b7d4
* Fri May 14 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-6
49b7d4
- Ignore SIGHUP in nss_pcache (#591889).
49b7d4
49b7d4
* Thu May 13 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-5
49b7d4
- Use remote hostname set by mod_proxy to compare to CN in peer cert (#591224)
49b7d4
49b7d4
* Thu Mar 18 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-4
49b7d4
- Patch to add configuration options for new NSS negotiation API (#574187)
49b7d4
- Add (pre) for Requires on httpd so we can be sure the user and group are
49b7d4
  already available
49b7d4
- Add file Requires on libnssckbi.so so symlink can't fail
49b7d4
- Use _sysconfdir macro instead of /etc
49b7d4
- Set minimum level of NSS to 3.12.6
49b7d4
49b7d4
* Mon Jan 25 2010 Rob Crittenden <rcritten@redhat.com> - 1.0.8-3
49b7d4
- The location of libnssckbi moved from /lib[64] to /usr/lib[64] (556744)
49b7d4
49b7d4
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-2
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
49b7d4
49b7d4
* Mon Mar  2 2009 Rob Crittenden <rcritten@redhat.com> - 1.0.8-1
49b7d4
- Update to 1.0.8
49b7d4
- Add patch that fixes NSPR layer bug
49b7d4
49b7d4
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-11
49b7d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
49b7d4
49b7d4
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.7-10
49b7d4
- fix license tag
49b7d4
49b7d4
* Mon Jul 28 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-9
49b7d4
- rebuild to bump NVR
49b7d4
49b7d4
* Mon Jul 14 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-8
49b7d4
- Don't force module de-init during the configuration stage (453508)
49b7d4
49b7d4
* Thu Jul 10 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-7
49b7d4
- Don't inherit the MP cache in multi-threaded mode (454701)
49b7d4
- Don't initialize NSS in each child if SSL isn't configured
49b7d4
49b7d4
* Wed Jul  2 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-6
49b7d4
- Update the patch for FIPS to include fixes for nss_pcache, enforce
49b7d4
  the security policy and properly initialize the FIPS token.
49b7d4
49b7d4
* Mon Jun 30 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-5
49b7d4
- Include patch to fix NSSFIPS (446851)
49b7d4
49b7d4
* Mon Apr 28 2008 Rob Crittenden <rcritten@redhat.com> - 1.0.7-4
49b7d4
- Apply patch so that mod_nss calls NSS_Init() after Apache forks a child
49b7d4
  and not before. This is in response to a change in the NSS softtokn code
49b7d4
  and should have always been done this way. (444348)
49b7d4
- The location of libnssckbi moved from /usr/lib[64] to /lib[64]
49b7d4
- The NSS database needs to be readable by apache since we need to use it
49b7d4
  after the root priviledges are dropped.
49b7d4
49b7d4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
49b7d4
- Autorebuild for GCC 4.3
49b7d4
49b7d4
* Thu Oct 18 2007 Rob Crittenden <rcritten@redhat.com> 1.0.7-2
49b7d4
- Register functions needed by mod_proxy if mod_ssl is not loaded.
49b7d4
49b7d4
* Fri Jun  1 2007 Rob Crittenden <rcritten@redhat.com> 1.0.7-1
49b7d4
- Update to 1.0.7
49b7d4
- Remove Requires for nss and nspr since those are handled automatically
49b7d4
  by versioned libraries
49b7d4
- Updated URL and Source to reference directory.fedoraproject.org
49b7d4
49b7d4
* Mon Apr  9 2007 Rob Crittenden <rcritten@redhat.com> 1.0.6-2
49b7d4
- Patch to properly detect the Apache model and set up NSS appropriately
49b7d4
- Patch to punt if a bad password is encountered
49b7d4
- Patch to fix crash when password.conf is malformatted
49b7d4
- Don't enable ECC support as NSS doesn't have it enabled (3.11.4-0.7)
49b7d4
49b7d4
* Mon Oct 23 2006 Rob Crittenden <rcritten@redhat.com> 1.0.6-1
49b7d4
- Update to 1.0.6
49b7d4
49b7d4
* Fri Aug 04 2006 Rob Crittenden <rcritten@redhat.com> 1.0.3-4
49b7d4
- Include LogLevel warn in nss.conf and use separate log files
49b7d4
49b7d4
* Fri Aug 04 2006 Rob Crittenden <rcritten@redhat.com> 1.0.3-3
49b7d4
- Need to initialize ECC certificate and key variables
49b7d4
49b7d4
* Fri Aug 04 2006 Jarod Wilson <jwilson@redhat.com> 1.0.3-2
49b7d4
- Use %%ghost for db files and install.log
49b7d4
49b7d4
* Tue Jun 20 2006 Rob Crittenden <rcritten@redhat.com> 1.0.3-1
49b7d4
- Initial build