Commit graph

257 commits

Author SHA1 Message Date
Jan Beich
932a4a5fb1 security/nss: update to 3.76
Changes:	https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/W13LB93wep4
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_76_RTM
Reported by:	Repology
2022-03-05 21:01:04 +00:00
Jan Beich
ca1fdbb80e security/nss: update to 3.75
Changes:	https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/Q-bOvaTSVM4
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_75_RTM
Reported by:	Repology
2022-02-05 22:18:17 +00:00
Jan Beich
fa73e6b788 security/nss: update to 3.74
Changes:	https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/5cpT9SNXYSM
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_74_RTM
Reported by:	Repology
2022-01-08 00:54:35 +00:00
Jan Beich
e8498da7a1 security/nss: update to 3.73.1
Changes:	https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/bEhEzngyVYQ
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_73_1_RTM
Reported by:	Repology
2021-12-18 00:56:54 +00:00
Jan Beich
41fa14b538 security/nss: update to 3.73
Changes:	https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/vy9284s8APM
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_73_RTM
Reported by:	Repology
2021-12-03 17:03:34 +00:00
Jan Beich
c8c0edf0ca security/nss: update to 3.72
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.72_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_72_RTM
2021-10-29 08:05:08 +00:00
Jan Beich
dfb848912e security/nss: update to 3.71
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.71_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_71_RTM
2021-10-03 03:24:05 +00:00
Jan Beich
37fb990074 security/nss: update to 3.70
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.70_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_70_RTM
2021-09-07 00:55:44 +00:00
Matthias Andree
de6744cc61 security/nss: Revert "Add TODO about ca_root_nss PORTREVISION"
This reverts commit 778fa2dc66.

Sorry for misreading ca_root_nss/Makefile's PORTVERSION.

Reported by:	sunpoet@
2021-09-03 17:04:20 +02:00
Matthias Andree
778fa2dc66 security/nss: Add TODO about ca_root_nss PORTREVISION
Since ca_root_nss inherit's nss's PORTVERSION, add a comment
to remind maintainers to reset ca_root_nss's PORTREVISION next time
that nss's PORTVERSION gets bumped.

Approved by:	portmgr@ (blanket, comment-only change)
2021-09-03 16:43:34 +02:00
Jan Beich
1684f47e9b security/nss: update to 3.69
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.69_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_69_RTM
2021-08-07 00:49:27 +00:00
Jan Beich
0743b1f6b8 security/nss: switch to upstream distfile
$ diff -r nss-3.68{.orig,}
Only in nss-3.68.orig/nss: .hgtags
Only in nss-3.68/nss: .hg_archival.txt
2021-07-12 10:35:02 +00:00
Jan Beich
fdce7ad307 security/nss: update to 3.68
- Temporarily use locally generated distfile. Upstream mainly cares
  about bundled NSS in Firefox, so standalone releases maybe neglected.

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.68_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_68_RTM
2021-07-10 00:04:01 +00:00
Jan Beich
ba2ba48edd security/nss: update to 3.67
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.67_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_67_RTM
2021-06-14 17:53:44 +00:00
Jan Beich
e183e2cb90 security/nss: update to 3.66
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.66_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_66_RTM
2021-05-30 02:15:47 +00:00
Piotr Kubaj
192a67a0d7 security/nss: fix build on powerpc64le
LLVM's integrated assembler can't build ppc-gcm.s:
ppc-gcm.s:642:24: error: invalid memory operand
    std          31,-8(SP);

Use as from binutils on powerpc64le.

While here correct the architecture check to also check for Linux's ppc64 - similar to the OS check in the same patch.
2021-05-15 02:45:46 +00:00
Jan Beich
27411fe284 security/nss: update to 3.65
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.65_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_65_RTM
2021-05-14 17:35:12 +00:00
Piotr Kubaj
2eaa6b5910 security/nss: fix build on powerpc64le
Error:
C_Initialize failed: 0x00000030, CKR_DEVICE_ERROR                    
NSPR error code: -5977: Failure to load dynamic library
Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR                    
NSPR error code: -5977: Failure to load dynamic library

While here also correct option description after introducing proper VSX option in a66c711523
2021-04-17 11:46:51 +00:00
Jan Beich
7e8c7e0b65 security/nss: update to 3.64
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.64_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_64_RTM
2021-04-16 17:07:19 +00:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jan Beich
b42d9c1551 security/nss: update to 3.63
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.63_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_63_RTM
2021-03-18 18:10:20 +00:00
Mikael Urankar
89a2153ce1 security/nss: Fix build on armv6
PR:		250956
Submitted by:	Sean Rees
2021-02-28 15:05:56 +00:00
Jan Beich
4ef1074f38 security/nss: update to 3.62
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.62_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_62_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2021-02-20 02:35:09 +00:00
Jan Beich
3ff7031e46 security/nss: update to 3.61
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.61_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_61_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2021-01-23 00:34:16 +00:00
Jan Beich
ec1ab8f3ab security/nss: switch to upstream distfile 2021-01-04 20:47:58 +00:00
Jan Beich
c471a0a1c1 security/nss: update to 3.60.1
- Temporarily patch-update due to missing distfile

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.60.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_60_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-12-27 00:37:20 +00:00
Jan Beich
614e565a04 security/nss: update to 3.60
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.60_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_60_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-12-12 00:42:04 +00:00
Jan Beich
573d99c343 security/nss: update to 3.59
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.59_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_59_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-11-13 20:33:48 +00:00
Jan Beich
1782488d6e security/nss: unbreak non-gecko consumers after r552532
Pidgin failed with "nss: Handshake failed (-12251)" i.e.,
SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER -12251 "SSL received a malformed Change Cipher Spec record."

PR:		250665
Submitted by:	yamagi@yamagi.org
2020-10-28 10:50:29 +00:00
Jan Beich
3c9a44d4ee security/nss: update to 3.58
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.58_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_58_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-10-17 00:48:24 +00:00
Piotr Kubaj
77e0ffe440 security/nss: fix build on powerpc64le
Change if condition to also catch anything after 64 (e.g. "le", as in powerpc64le). Currently ARCH needs to end with 64.

While here, disable VSX option for powerpc64le. All powerpc64le systems are VSX-compatible anyway.
2020-10-13 12:40:42 +00:00
Mark Linimon
3321b03c75 Attempt to fix build on powerpc64le.
Approved by:	portmgr (tier-2 blanket)
2020-09-27 20:38:43 +00:00
Jan Beich
bdd1954dd8 security/nss: update to 3.57
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.57_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_57_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-09-22 00:06:38 +00:00
Mikael Urankar
d6c068736a security/nss: fix build on aarch64
Import upstream patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1659256

PR:		249053
Reported by:	garga@
Approved by:	jbeich@
2020-09-09 13:36:33 +00:00
Jan Beich
dbb634aca2 security/nss: update to 3.56
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.56_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_56_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-08-24 21:12:15 +00:00
Jan Beich
2b68ad331a security/nss: update to 3.55
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.55_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_55_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-07-25 00:55:30 +00:00
Jan Beich
46f488085a security/nss: update to 3.54
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.54_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_54_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-06-28 01:24:22 +00:00
Jan Beich
ee5ce128e3 security/nss: update to 3.53.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.53.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_53_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Security:	CVE-2020-12402
2020-06-18 01:18:43 +00:00
Jan Beich
a27c77a7ec security/nss: unbreak cross builds on -CURRENT
ld: error: unable to find library -lplc4
ld: error: unable to find library -lplds4
ld: error: unable to find library -lnspr4

PR:		246676
Submitted by:	Felix Palmen <felix@palmen-it.de>
2020-05-30 00:29:34 +00:00
Jan Beich
4d1bf0c861 security/nss: update to 3.53
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.53_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_53_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-05-30 00:21:01 +00:00
Jan Beich
1a31a73787 security/nss: update to 3.52.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.52.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_52_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-05-20 14:48:58 +00:00
Piotr Kubaj
328d951614 security/nss: back out my own changes for troubleshooting, disable VSX when VSX option is off
I had pre-build commented out. This is needed to actually fix build.
NSS_DISABLE_ALTIVEC doesn't actually disable AltiVec.
It only disables VSX, because NSS doesn't support AltiVec.

MFH:		2020Q2 (fix build blanket)
2020-05-15 22:26:53 +00:00
Piotr Kubaj
3a0f94aafe security/nss: fix build on powerpc and powerpc64 with gcc
PR:             246419
Approved by:    jbeich (maintainer)
MFH:            2020Q2 (fix build blanket)
2020-05-15 18:30:21 +00:00
Jan Beich
9cd0a807cf security/nss: update to 3.52
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_52_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-05-02 00:54:30 +00:00
Jan Beich
6b964c7190 security/nss: disable -Werror due to -Wall mine
blinit.c:122:24: error: unused variable 'getauxval' [-Werror,-Wunused-variable]
static unsigned long (*getauxval)(unsigned long) = NULL;
                       ^

pqg.c:345:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
    if (addend < MP_DIGIT_MAX) {
        ~~~~~~ ^ ~~~~~~~~~~~~

PR:		242523
2020-05-01 19:45:36 +00:00
Piotr Kubaj
cce0c54f06 security/nss: go back to using clang on powerpc64 where available
head r359981 and r359994 reverted commits that caused clang to run in infinite loop, allocating all available memory and crashing the system.
2020-04-16 14:05:43 +00:00
Jan Beich
6df275574b security/nss: update to 3.51.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.51.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_51_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-04-08 23:10:57 +00:00
Piotr Kubaj
acb3179be5 security/nss: switch unconditionally to ports GCC on powerpc64
After upgrade to clang10, building gcm.c results in allocating all available memory and not building the file.
2020-03-12 18:29:13 +00:00
Jan Beich
48cdc8ba4d security/nss: update to 3.51
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.51_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_51_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2020-03-07 00:57:58 +00:00
Piotr Kubaj
c49461ea0a security/nss: fix build with GCC architectures
-Werror=unused-function causes:
verified/kremlin/kremlib/dist/minimal/FStar_UInt128.h:82:37: error: 'FStar_UInt128_mul32' declared 'static' but never defined [-Werror=unused-function]
   82 | inline static FStar_UInt128_uint128 FStar_UInt128_mul32(uint64_t x, uint32_t y);

Add -Wno-error=unused-function to fix build.

Approved by:	portmgr (ports tree compliance)
MFH:		2020Q1 (ports tree compliance)
2020-02-13 14:17:23 +00:00