Commit Graph

222 Commits

Author SHA1 Message Date
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
Jan Beich
c9631858d5 security/nss: unbreak on armv6 after r524147
In file included from ../../lib/freebl/gcm-arm32-neon.c:16:
/usr/lib/clang/8.0.1/include/arm_neon.h:28:2: error: "NEON support not enabled"
 #error "NEON support not enabled"
  ^

PR:		243734
Reported by:	garga
Submitted by:	mikael
2020-02-13 00:43:16 +00:00
Jan Beich
7f552c8c12 security/nss: disable AltiVec on 32-bit powerpc
Crypto acceleration is only implemented for powerpc64 but build flags
leak to other powerpc targets. Disable via a variable introduced in 3.50.

PR:		242523
Reported by:	many
2020-02-10 23:51:09 +00:00
Jan Beich
4863022e0c security/nss: update to 3.50
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.50_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_50_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-02-10 22:32:59 +00:00
Li-Wen Hsu
ae0ac48e94 Put MAKE_JOBS_UNSAFE=yes back, there is report it still fails
Reported by:	ajtiM <starikarp@dismail.de> on freebsd-ports@
2020-02-07 17:00:10 +00:00
Li-Wen Hsu
54d9c97d42 Remove special setting of USE_LDCONFIG as now it installs lib to common path
While here:
- Pet portlint more
- Remove MAKE_JOBS_UNSAFE as it builds fine

Submitted by:	tobik, sunpoet
2020-02-07 15:28:25 +00:00
Li-Wen Hsu
76606c8e0b Reduce the duplicated 'nss' in include and lib path
From jbeich:
This appeared after r78824 which failed to adjust do-install.  Arch, Debian,
Gentoo, OpenBSD use include/nss/, Fedora uses include/nss3/, NetBSD/PkgSrc
uses include/nss/nss/.

PR:		243835
Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D23424
2020-02-07 13:32:00 +00:00
Li-Wen Hsu
c0737c1e4a Update WWW
Suggested by:	jbeich
Approved by:	portmgr blanket
2020-02-05 09:34:09 +00:00
Jan Beich
6dfc3f4a81 security/nss: update to 3.49.2
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.49.2_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_49_2_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-01-26 00:20:01 +00:00
Jan Beich
c8b82be5a9 security/nss: update arm* patches to upstream version 2020-01-14 18:22:11 +00:00
Jan Beich
e4481f089d security/nss: update to 3.49.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.49.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_49_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-01-14 15:26:43 +00:00
Jan Beich
1b0cfc8773 security/nss: update to 3.49
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.49_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_49_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2020-01-08 22:51:12 +00:00
Alexey Dokuchaev
c51626bc07 Drop build dependency on `archivers/zip': it was added 18 years ago in
r51805 upon the port's inception, but these days does not seem to be
used or needed by the port; build logs with and without it look identical.

Silence from:	gecko
2020-01-03 07:14:35 +00:00
Piotr Kubaj
6aca4f31c0 security/nss: fix build on powerpc platforms
NSS 3.48 broke powerpc by using getauxval, which FreeBSD doesn't have. GCC9 is also required because of usage of VSX, which needs to be manually added for some files.

PR:		242521
Approved by:	jbeich (maintainer)
2019-12-11 18:57:48 +00:00
Jan Beich
7f7b249f45 security/nss: update to 3.48
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.48_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_48_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
2019-12-08 00:51:48 +00:00
Jan Beich
0d4bb2247e security/nss: unbreak aarch64 on -CURRENT
blinit.c:159:24: error: expected readable system register
        id_aa64isar0 = READ_SPECIALREG(ID_AA64ISAR0_EL1);
                       ^
/usr/include/machine/armreg.h:61:19: note: expanded from macro 'READ_SPECIALREG'
        __asm __volatile("mrs   %0, " __STRING(reg) : "=&r" (_val));    \
                         ^
<inline asm>:1:10: note: instantiated into assembly here
        mrs     x8, (((3) << 19) | ((0) << 16) | ((0) << 12) | ((6) << 8) | ((0) << 5))
                    ^
blinit.c:160:28: error: implicit declaration of function 'ID_AA64ISAR0_AES' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        arm_aes_support_ = ID_AA64ISAR0_AES(id_aa64isar0) >= ID_AA64ISAR0_AES_BASE && disable_hw_aes == NULL;
                           ^
blinit.c:162:29: error: implicit declaration of function 'ID_AA64ISAR0_SHA1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        arm_sha1_support_ = ID_AA64ISAR0_SHA1(id_aa64isar0) == ID_AA64ISAR0_SHA1_BASE;
                            ^
blinit.c:162:29: note: did you mean 'ID_AA64ISAR0_AES'?
blinit.c:160:28: note: 'ID_AA64ISAR0_AES' declared here
        arm_aes_support_ = ID_AA64ISAR0_AES(id_aa64isar0) >= ID_AA64ISAR0_AES_BASE && disable_hw_aes == NULL;
                           ^
blinit.c:163:29: error: implicit declaration of function 'ID_AA64ISAR0_SHA2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        arm_sha2_support_ = ID_AA64ISAR0_SHA2(id_aa64isar0) >= ID_AA64ISAR0_SHA2_BASE;
                            ^
blinit.c:163:29: note: did you mean 'ID_AA64ISAR0_SHA1'?
blinit.c:162:29: note: 'ID_AA64ISAR0_SHA1' declared here
        arm_sha1_support_ = ID_AA64ISAR0_SHA1(id_aa64isar0) == ID_AA64ISAR0_SHA1_BASE;
                            ^

PR:		242104
Reported by:	pkg-fallout
Submitted by:	Mikaël Urankar
2019-11-24 00:51:28 +00:00
Jan Beich
dddfee3293 security/nss: update to 3.47.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.47.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_47_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-11-21 00:54:23 +00:00
Jan Beich
18cb97534e security/nss: update to 3.47
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.47_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_47_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-10-19 11:37:28 +00:00
Jan Beich
56200dac86 security/nss: update to 3.46.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.46.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_46_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-10-03 00:59:12 +00:00
Christian Weisgerber
804ef6e40e Run regression tests with bash since some test scripts unfortunately
rely on bash features.

PR:		240686
Reviewed by:	jbeich
2019-09-24 13:45:08 +00:00
Jan Beich
d7b9bf2b8b security/nss: update to 3.46
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.46_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_46_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-08-31 00:50:46 +00:00
Jan Beich
79817c365a security/nss: detect AES/SHA2 when PMULL/SHA512 is available on aarch64
Submitted by:	Greg V <greg@unrelenting.technology>
2019-08-29 05:06:51 +00:00
Jan Beich
79c864ca36 security/nss: enable SIMD on aarch64 and 12.0+ armv6
GCM can benefit from PMULL while ChaCha20 from NEON.
Not tested on real hardware.
2019-08-23 21:55:48 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Jan Beich
126d73a998 security/nss: update to 3.45
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.45_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_45_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-07-09 00:58:53 +00:00
Jan Beich
95de53b772 security/nss: update to 3.44.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.44.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_44_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-06-24 21:44:48 +00:00
Jan Beich
288d75294d security/nss: unbreak on powerpc64 after r501212
crypto_primitives.c: In function 'swap8b':
crypto_primitives.c:31: error: 'SHA_MASK8' undeclared (first use in this
function)
crypto_primitives.c:31: error: (Each undeclared identifier is reported only
once
crypto_primitives.c:31: error: for each function it appears in.)
crypto_primitives.c:32: error: 'SHA_MASK16' undeclared (first use in this
function)

PR:		237841
Reported by:	jhibbits
2019-05-11 23:20:57 +00:00
Jan Beich
8a9afa09c4 security/nss: update to 3.44
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.44_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_44_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-05-11 00:59:49 +00:00
Jan Beich
4af31b83a1 security/nss: update to 3.43
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.43_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_43_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-03-17 00:44:32 +00:00
Jan Beich
896f048cdc security/nss: update to 3.42.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.42.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_42_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-02-01 23:52:39 +00:00
Jan Beich
55e0ddffa3 security/nss: update to 3.42
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.42_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_42_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-01-29 00:51:40 +00:00
Jan Beich
699c187e15 security/nss: update to 3.41.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.41.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_41_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2019-01-24 00:53:26 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jan Beich
1656564279 security/nss: update to 3.41
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.41_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_41_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2018-12-10 23:43:38 +00:00
Jan Beich
478966128a security/nss: update to 3.40.1
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.40.1_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_40_1_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Security:	CVE-2018-12404
2018-12-01 00:33:45 +00:00
Jan Beich
2847e9a23a security/nss: update to 3.40
Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.40_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_40_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
2018-10-24 16:45:28 +00:00