head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.40 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.38 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.36 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.34 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.32 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.30 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.28 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.26 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.24 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.22 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.20 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.18 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.16 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.14 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.12 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.10 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.8 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.6 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.4 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.2 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.5.0.40 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.38 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.36 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.32 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.12 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.34 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.30 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.28 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.26 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.24 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.22 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.20 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.18 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.16 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.14 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.10 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.8 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.6 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.4 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.2 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.4.0.22 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.20 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.18 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.16 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.14 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.12 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.10 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.8 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.6 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.4 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.2 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.2 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.1.0.6 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.4 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.2 pkgsrc-2012Q2-base:1.1; locks; strict; comment @# @; 1.6 date 2021.04.09.06.40.59; author wiz; state Exp; branches; next 1.5; commitid LyiaXY3PbpR7hAOC; 1.5 date 2016.04.17.19.27.10; author ryoon; state Exp; branches; next 1.4; commitid ATng1dEbKuerY03z; 1.4 date 2013.07.20.09.28.12; author ryoon; state Exp; branches; next 1.3; commitid vGlStYxlQ9FPRbYw; 1.3 date 2013.02.20.19.49.17; author ryoon; state Exp; branches; next 1.2; 1.2 date 2013.01.05.19.02.46; author ryoon; state Exp; branches; next 1.1; 1.1 date 2012.04.18.21.01.42; author ryoon; state Exp; branches; next ; desc @@ 1.6 log @nss: fix interoperability with openssl For a long time now (at least 15 years), the installed pkg-config file also linked against libsoftokn3, which is wrong according to upstream. This library is only intended to be loaded as a module. Having this library linked added symbols to the namespace that conflict with openssl symbols. This had caused problems before, and patches had been added to rename symbols to avoid this conflict. Instead, fix this correctly by not linking against libsoftokn3. Switch to using the pkg-config and nss-config files provided in the distfiles instead of pkgsrc-specific ones. Remove now unneeded symbol-renaming patches. Remove DragonFly patches while here. Bump PKGREVISION. @ text @$NetBSD: patch-mf,v 1.5 2016/04/17 19:27:10 ryoon Exp $ Make sure nss libraries have a run path defined. --- nss/coreconf/config.mk.orig 2016-02-26 20:51:11.000000000 +0000 +++ nss/coreconf/config.mk @@@@ -187,6 +187,7 @@@@ endif DEFINES += -DUSE_UTIL_DIRECTLY USE_UTIL_DIRECTLY = 1 +EXTRA_SHARED_LIBS += -Wl,-R${PREFIX}/lib/${MOZILLA_PKG_NAME} # Build with NO_NSPR_10_SUPPORT to avoid using obsolete NSPR features DEFINES += -DNO_NSPR_10_SUPPORT @ 1.5 log @Update to 3.23 Changelog: The NSS team has released Network Security Services (NSS) 3.23, which is a minor release. The following security-relevant bug has been resolved in NSS 3.23. Users are encouraged to upgrade immediately. * Bug 1245528 (CVE-2016-1950): Fixed a heap-based buffer overflow related to the parsing of certain ASN.1 structures. An attacker could create a specially-crafted certificate which, when parsed by NSS, would cause a crash or execution of arbitrary code with the permissions of the user. New functionality: * ChaCha20/Poly1305 cipher and TLS cipher suites now supported (bug 917571, bug 1227905) * Experimental-only support TLS 1.3 1-RTT mode (draft-11). This code is not ready for production use. New Functions: * SSL_SetDowngradeCheckVersion - Set maximum version for new ServerRandom anti-downgrade mechanism Notable Changes: * The copy of SQLite shipped with NSS has been updated to version 3.10.2 (bug 1234698) * The list of TLS extensions sent in the TLS handshake has been reordered to improve compatibility of the Extended Master Secret feature with servers (bug 1243641) * The build time environment variable NSS_ENABLE_ZLIB has been renamed to NSS_SSL_ENABLE_ZLIB (Bug 1243872). * The build time environment variable NSS_DISABLE_CHACHAPOLY was added, which can be used to prevent compilation of the ChaCha20/Poly1305 code. * The following CA certificates were Removed - Staat der Nederlanden Root CA - NetLock Minositett Kozjegyzoi (Class QA) Tanusitvanykiado - NetLock Kozjegyzoi (Class A) Tanusitvanykiado - NetLock Uzleti (Class B) Tanusitvanykiado - NetLock Expressz (Class C) Tanusitvanykiado - VeriSign Class 1 Public PCA – G2 - VeriSign Class 3 Public PCA - VeriSign Class 3 Public PCA – G2 - CA Disig * The following CA certificates were Added - SZAFIR ROOT CA2 - Certum Trusted Network CA 2 * The following CA certificate had the Email trust bit turned on - Actalis Authentication Root CA The full release notes, including the SHA256 fingerprints of the changed CA certificates, are available at https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.23_release_notes @ text @d1 1 a1 1 $NetBSD: patch-mf,v 1.4 2013/07/20 09:28:12 ryoon Exp $ a2 1 Add DragonFly support. a6 9 @@@@ -31,7 +31,7 @@@@ endif ####################################################################### TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \ - AIX RISCOS WINNT WIN95 Linux Android + AIX RISCOS WINNT WIN95 Linux Android DragonFly ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET))) include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk @ 1.4 log @Update to 3.15.1 Changelog: NSS 3.15.1 release notes Introduction Network Security Services (NSS) 3.15.1 is a patch release for NSS 3.15. The bug fixes in NSS 3.15.1 are described in the "Bugs Fixed" section below. Distribution Information NSS 3.15.1 source distributions are also available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_15_1_RTM/src/ New in NSS 3.15.1 New Functionality TLS 1.2: TLS 1.2 (RFC 5246) is supported. HMAC-SHA256 cipher suites (RFC 5246 and RFC 5289) are supported, allowing TLS to be used without MD5 and SHA-1. Note the following limitations. The hash function used in the signature for TLS 1.2 client authentication must be the hash function of the TLS 1.2 PRF, which is always SHA-256 in NSS 3.15.1. AES GCM cipher suites are not yet supported. New Functions None. New Types in sslprot.h SSL_LIBRARY_VERSION_TLS_1_2 - The protocol version of TLS 1.2 on the wire, value 0x0303. TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_NULL_SHA256 - New TLS 1.2 only HMAC-SHA256 cipher suites. in sslerr.h SSL_ERROR_UNSUPPORTED_HASH_ALGORITHM, SSL_ERROR_DIGEST_FAILURE, SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM - New error codes for TLS 1.2. in sslt.h ssl_hmac_sha256 - A new value in the SSLMACAlgorithm enum type. ssl_signature_algorithms_xtn - A new value in the SSLExtensionType enum type. New PKCS #11 Mechanisms None. Notable Changes in NSS 3.15.1 Bug 856060 - Enforce name constraints on the common name in libpkix when no subjectAltName is present. Bug 875156 - Add const to the function arguments of SEC_CertNicknameConflict. Bug 877798 - Fix ssltap to print the certificate_status handshake message correctly. Bug 882829 - On Windows, NSS initialization fails if NSS cannot call the RtlGenRandom function. Bug 875601 - SECMOD_CloseUserDB/SECMOD_OpenUserDB fails to reset the token delay, leading to spurious failures. Bug 884072 - Fix a typo in the header include guard macro of secmod.h. Bug 876352 - certutil now warns if importing a PEM file that contains a private key. Bug 565296 - Fix the bug that shlibsign exited with status 0 even though it failed. The NSS_SURVIVE_DOUBLE_BYPASS_FAILURE build option is removed. Bugs fixed in NSS 3.15.1 https://bugzilla.mozilla.org/buglist.cgi?list_id=5689256;resolution=FIXED;classification=Components;query_format=advanced;target_milestone=3.15.1;product=NSS Compatibility NSS 3.15.1 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.15.1 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of the NSS shared libraries. NSS 3.15 release notes Introduction The NSS team has released Network Security Services (NSS) 3.15, which is a minor release. Distribution Information The HG tag is NSS_3_15_RTM. NSS 3.15 requires NSPR 4.10 or newer. NSS 3.15 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_15_RTM/src/ New in NSS 3.15 New Functionality Support for OCSP Stapling (RFC 6066, Certificate Status Request) has been added for both client and server sockets. TLS client applications may enable this via a call to SSL_OptionSetDefault(SSL_ENABLE_OCSP_STAPLING, PR_TRUE); Added function SECITEM_ReallocItemV2. It replaces function SECITEM_ReallocItem, which is now declared as obsolete. Support for single-operation (eg: not multi-part) symmetric key encryption and decryption, via PK11_Encrypt and PK11_Decrypt. certutil has been updated to support creating name constraints extensions. New Functions in ssl.h SSL_PeerStapledOCSPResponse - Returns the server's stapled OCSP response, when used with a TLS client socket that negotiated the status_request extension. SSL_SetStapledOCSPResponses - Set's a stapled OCSP response for a TLS server socket to return when clients send the status_request extension. in ocsp.h CERT_PostOCSPRequest - Primarily intended for testing, permits the sending and receiving of raw OCSP request/responses. in secpkcs7.h SEC_PKCS7VerifyDetachedSignatureAtTime - Verifies a PKCS#7 signature at a specific time other than the present time. in xconst.h CERT_EncodeNameConstraintsExtension - Matching function for CERT_DecodeNameConstraintsExtension, added in NSS 3.10. in secitem.h SECITEM_AllocArray SECITEM_DupArray SECITEM_FreeArray SECITEM_ZfreeArray - Utility functions to handle the allocation and deallocation of SECItemArrays SECITEM_ReallocItemV2 - Replaces SECITEM_ReallocItem, which is now obsolete. SECITEM_ReallocItemV2 better matches caller expectations, in that it updates item->len on allocation. For more details of the issues with SECITEM_ReallocItem, see Bug 298649 and Bug 298938. in pk11pub.h PK11_Decrypt - Performs decryption as a single PKCS#11 operation (eg: not multi-part). This is necessary for AES-GCM. PK11_Encrypt - Performs encryption as a single PKCS#11 operation (eg: not multi-part). This is necessary for AES-GCM. New Types in secitem.h SECItemArray - Represents a variable-length array of SECItems. New Macros in ssl.h SSL_ENABLE_OCSP_STAPLING - Used with SSL_OptionSet to configure TLS client sockets to request the certificate_status extension (eg: OCSP stapling) when set to PR_TRUE Notable Changes in NSS 3.15 SECITEM_ReallocItem is now deprecated. Please consider using SECITEM_ReallocItemV2 in all future code. NSS has migrated from CVS to the Mercurial source control management system. Updated build instructions are available at Migration to HG As part of this migration, the source code directory layout has been re-organized. The list of root CA certificates in the nssckbi module has been updated. The default implementation of SSL_AuthCertificate has been updated to add certificate status responses stapled by the TLS server to the OCSP cache. Applications that use SSL_AuthCertificateHook to override the default handler should add appropriate calls to SSL_PeerStapledOCSPResponse and CERT_CacheOCSPResponseFromSideChannel. Bug 554369: Fixed correctness of CERT_CacheOCSPResponseFromSideChannel and other OCSP caching behaviour. Bug 853285: Fixed bugs in AES GCM. Bug 341127: Fix the invalid read in rc4_wordconv. Faster NIST curve P-256 implementation. Dropped (32-bit) SPARC V8 processor support on Solaris. The shared library libfreebl_32int_3.so is no longer produced. Bugs fixed in NSS 3.15 This Bugzilla query returns all the bugs fixed in NSS 3.15: https://bugzilla.mozilla.org/buglist.cgi?list_id=6278317&resolution=FIXED&classification=Components&query_format=advanced&product=NSS&target_milestone=3.15 @ text @d1 1 a1 1 $NetBSD: patch-mf,v 1.3 2013/02/20 19:49:17 ryoon Exp $ d6 1 a6 1 --- nss/coreconf/config.mk.orig 2013-06-27 17:58:08.000000000 +0000 d17 1 a17 1 @@@@ -179,5 +179,6 @@@@ endif d24 1 @ 1.3 log @Update to 3.14.3 Changelog: * Bugfixes * Fix CVE-2013-1620. @ text @d1 1 a1 1 $NetBSD: patch-mf,v 1.1 2012/04/18 21:01:42 ryoon Exp $ d6 2 a7 2 --- security/coreconf/config.mk.orig 2013-01-08 16:19:07.000000000 +0000 +++ security/coreconf/config.mk d17 1 a17 1 @@@@ -175,3 +175,4 @@@@ endif d22 2 @ 1.2 log @Udate to 3.14.1 Changelog unknown. @ text @d6 1 a6 1 --- security/coreconf/config.mk.orig 2012-11-14 01:14:07.000000000 +0000 d12 2 a13 2 - AIX RISCOS WINNT WIN95 Linux + AIX RISCOS WINNT WIN95 Linux DragonFly @ 1.1 log @Update 3.13.4 * Change distfile to separated source. Changelog is not shown. Probably some bugs are fixed. Tested on NetBSD/i386 6.99.4 and DragonFly/i386 3.0.1. @ text @d1 1 a1 1 $NetBSD: patch-mf,v 1.5 2011/11/12 12:45:04 tnn Exp $ d6 1 a6 1 --- security/coreconf/config.mk.orig 2011-11-04 21:34:14.000000000 +0000 d8 1 a8 1 @@@@ -63,7 +63,7 @@@@ endif d12 2 a13 2 - AIX RISCOS WINNT WIN95 WINCE Linux + AIX RISCOS WINNT WIN95 WINCE Linux DragonFly d17 1 a17 1 @@@@ -207,3 +207,4 @@@@ endif @