Commit Graph

253 Commits

Author SHA1 Message Date
tb e58099c313 openssl/3.6: fix .pc files 2025-10-01 23:31:35 +00:00
tb b86248ca7b += 3.6 2025-10-01 23:23:50 +00:00
tb 975f546ff8 add openssl 3.6.0
https://github.com/openssl/openssl/releases/tag/openssl-3.6.0
plus a few new xonly patches: https://github.com/openssl/openssl/pull/28726
2025-10-01 23:22:51 +00:00
tb ebce902db4 openssl: regen patch (no package change) 2025-09-30 16:39:42 +00:00
tb c3e0b66ca6 Update to openssl 3.5.4
https://github.com/openssl/openssl/releases/tag/openssl-3.5.4
plus many other changes, as usual. A slightly more complete list:
https://github.com/openssl/openssl/pull/28693
Though this is currently missing the security fixes.
2025-09-30 13:16:16 +00:00
tb 74b35ad39b Update to openssl 3.5.3
Reduces the diff I'll need to look at when 3.5.4 is released later today.
Consumers will be bumped once 3.5.4 lands.
2025-09-30 12:09:31 +00:00
tb a758ca2e86 Update to openssl 3.5.2 2025-08-07 15:39:09 +00:00
jca 3eb7bc3772 Fix riscv64 AES_set_decrypt_key asm
Current code uses jal ra,AES_set_encrypt_key which breaks with lld
producing a shared lib.  Just use call AES_set_encrypt_key to get
a relocation that lld agrees with.  Input + ok tb@ (maintainer)

Fixes build of sysutils/borgbackup/2.0 on riscv64
2025-08-04 22:27:41 +00:00
tb 548de0bb4f Remove special casing for SITES for 1.1 2025-08-04 07:48:34 +00:00
tb aa3a958eb8 Merge openssl/3.3 into 3.5.
Remove 3.3 and 3.4 ports. This removes the need of most of the patches
since all the atrocious perlasm stuff was upstreamed. Thanks again sashan
for doing the heavy lifting.
2025-07-16 15:34:00 +00:00
tb 1d645d97e0 openssl: move static link reminders to 3.5 2025-07-09 20:39:29 +00:00
tb 102b01fd99 Unhook openssl/3.4 from the tree. I'll garbage collect the sources at the
same time as the ones of 3.3.
2025-07-09 18:13:44 +00:00
tb 791a3281d0 openssl: merge 3.4 into 3.5 by setting @pkgpath:
I'm going to move us directly from 3.3 to 3.5. This way we can finally get
rid of the unholy BTI and xonly patch fest.
2025-07-09 18:12:28 +00:00
tb c1e3574d73 libretls: silence openssl noise with -DOPENSSL_SUPPRESS_DEPRECATED
rather than -Wno-deprecated-declarations
2025-07-06 17:37:20 +00:00
tb bbc3761b83 libretls: switch to eopenssl35 2025-07-06 16:53:53 +00:00
tb 0e6fc5bcec Update to OpenSSL 3.5.1
Apart from a minor issue with accidentally trusting certs that should be
rejected, this is a bugfix release with only a ~10k lines diff of churn.
Nothing special.

https://github.com/advisories/GHSA-v8qh-5c5w-48pp
2025-07-01 16:36:16 +00:00
tb 155f76d79b Update to OpenSSL 3.4.2
This is a bugfix release with only a ~10k lines diff of churn.
Nothing special.
2025-07-01 16:33:38 +00:00
tb a41559cc02 Update to OpenSSL 3.3.4
This is a bugfix release with only a ~10k lines diff of churn.
Nothing special.
2025-07-01 16:32:46 +00:00
tb c067abeb53 Disable no-thread config option on OpenSSL
This is a holdover from the initial port of OpenSSL 1.0.1h which fabien
found to be the culprit blocking progress on some node madness. This
is a tweaked version from a patch initially provided by fabien and then
volker. No concerns raised on ports@.

In addition to adding a missing pthread in WANTLIB compared to the initial
diff, switch sparc64 to ports-gcc, which provides the proper C11 atomics,
lacking in base-gcc 4.2.1. This avoids completely broken fallback code in
OpenSSL in at least their 3.3 and 3.4 branches that would require an insane
patch fest to work around problems from a PR that was not only poorly
written, tested and reviewed as per usual, but actually did not even
compile. Fortunately - otherwise our poor sparc64 OpenSSL users would run
a version of that crap now. For one thing the diff in question added a
wonderful and unused IMPL_fallback_atomic_compare_exchange_n() with
completely bogus arguments and chose to call the already existing
IMPL_fallback_atomic_exchange_n() instead but that's far from the only two
glaring problems in these 23 lines added.

Follow the bread crumbs in https://github.com/openssl/openssl/issues/26740
if you really must know more. A quick glance at the vertically aligned
backslashes should already set off all alarm sirens of the greenest of
all green reviewers.
2025-06-19 14:27:06 +00:00
tb 6e9c3f4701 openssl: move sslscan's static link update reminder 2025-06-16 13:56:20 +00:00
tb a5e2f8278b +3.5 2025-04-15 06:11:54 +00:00
tb b72a5dc665 Add openssl 3.5
thanks to jca landry sthen for testing
thanks to sashan for pulling the remaining asm patches into upstream
2025-04-15 06:11:12 +00:00
tb 1381aa2140 openssl/3.3: fix xonly issue with ARM Cortex-A53 (rpi3)
found & tested by sthen
2025-03-10 13:53:21 +00:00
tb e322bad0c8 openssl/3.4: fix xonly issue on ARM Cortex-A53 (rpi3)
found & tested with openssl 3.3.3 by sthen
2025-03-10 13:52:44 +00:00
tb b3f23da377 Remove quictls
The quictls/openssl repo is no longer actively maintained and security
issues already start piling up, as is to be expected since it contains
most of the careless and poorly reviewed churn that happened between
OpenSSL 1.1 and now.

We can reinstate quictls once there is a release of quictls that keeps
up with the security fixes from their upstream.

https://github.com/quictls/quictls/issues/244
2025-02-16 14:24:55 +00:00
tb a6f9ccefb2 Update to OpenSSL 3.3.3
Fixes bad logic for raw public keys and a timing side channel in ECDSA.
https://openssl-library.org/news/secadv/20250211.txt
https://openssl-library.org/news/secadv/20250120.txt
2025-02-11 16:29:49 +00:00
tb 2f6a7b47c9 Update to OpenSSL 3.4.1
Fixes bad logic for raw public keys and a timing side channel in ECDSA.
https://openssl-library.org/news/secadv/20250211.txt
https://openssl-library.org/news/secadv/20250120.txt
2025-02-11 16:29:45 +00:00
kettenis 8b343663dd X-only fixes for arm64 SVE, SM3 and SM4 assembly.
ok tb@
2025-02-07 11:59:42 +00:00
kettenis 8589924147 X-only fixes for arm64 SVE, SM3 and SM4 assembly.
ok tb@
2025-02-07 11:58:24 +00:00
kettenis 5294ce7552 X-only fixes for arm64 SVE, SM3 and SM4 assembly.
ok tb@
2025-02-07 11:58:05 +00:00
tb e7ff84e891 openssl/3.3: readd static link comment that was dropped with 3.2 2025-01-18 08:58:18 +00:00
tb f13c750442 Retire OpenSSL 1.1 and 3.2, set @pkgpath for 3.3; help/ok sthen
Going forward, there will only be two OpenSSL releases in the ports tree:
the latest stable version for testing (currently 3.4) and the penultimate
stable version (currently 3.3) for ports to consume.

Soon after the release of 3.5.0, consumers will switch to 3.4 and 3.3 will
be removed, and so on.  The idea is that this way, 3.4 will have had some
time to mature and the latest round of regressions should have been found
and addressed in 3.4.1 or 3.4.2 and it should be safe enough to switch.
2025-01-15 11:14:07 +00:00
tb 1bd27c01f9 libretls: switch to openssl 3.3 2025-01-14 09:32:50 +00:00
tb ec060a25e9 openssl: fix up .pc files for post 3.2 versions
reported by Kirill Miazine
2024-12-07 11:35:35 +00:00
tb ec73ecabbc Link openssl 3.4 to build 2024-10-23 02:40:07 +00:00
tb ec22782c69 import openssl/3.4
Thanks to sashan for doing the heavy lifting upstreaming our asm patches.
The amd64 patches were merged but tom is still slacking on the aarc64 ones.
Passes regress on amd64, sparc64 and aarch64 (on an M1, so without bti).

https://www.openssl-library.org/news/openssl-3.4-notes/
2024-10-23 02:39:15 +00:00
tb 72467fbb31 Update to quictls 3.3.0 (at long last) 2024-10-02 20:12:51 +00:00
tb 49efc636e2 quictls: update to 3.1.7
This pulls in the fixes in the last few security releases from OpenSSL
including a fix for the avx512-UAF.
2024-09-04 07:25:59 +00:00
tb 087c552669 Update to openssl 3.3.2
To everyone's utmost surprise, this fixes another bug introduced with                            punycode support (OpenSSL should really look into adopting RFC 9598).
Plus, the SSL_select_next_proto() NPN issue is finally in a release.

PS: The punycode thing was an ASAN finding, public since 2021. It was
found because someone paid attention when old issues were marked inactive.
https://github.com/openssl/openssl/issues/16717
2024-09-03 15:30:21 +00:00
tb 4870eac9a3 Update to openssl 3.2.3
To everyone's utmost surprise, this fixes another bug introduced with
punycode support (OpenSSL should really look into adopting RFC 9598).
Plus, the SSL_select_next_proto() NPN issue is finally in a release.

PS: The punycode thing was an ASAN finding, public since 2021. It was
found because someone paid attention when old issues were marked inactive.
https://github.com/openssl/openssl/issues/16717
2024-09-03 15:29:47 +00:00
tb 3a98f5077c openssl/1.1: set USE_NOBTCFI-aarch64 = Yes
It never received bti love and now that there is almost no consumer left,
it's probably not worth it.

issue found, "fix" tested, ok sthen
2024-09-02 16:35:35 +00:00
sthen 7b2eb9c365 update comments re static linking 2024-09-02 16:13:21 +00:00
sthen b284d757e6 pre-test is already run as _PBUILD so drop ${_PBUILD} from ln commands 2024-09-02 13:37:55 +00:00
tb eedc68b82f openssl/3.2: sync with 3.3 2024-08-30 16:29:57 +00:00
tb 262e120b4c openssl/3.3: more xonly whack-a-mole 2024-08-30 16:29:40 +00:00
tb 918514c284 openssl/3.3: sync latest batch of xonly patches from 3.2 2024-08-21 09:31:00 +00:00
tb 5e18a85b80 openssl/3.2: more xonly whack-a-mole 2024-08-21 09:04:56 +00:00
tb 22a0189e29 openssl/3.2: add missing xonly patches
found with anton while debugging interop test failures
2024-08-21 08:50:10 +00:00
tb cea805370d Remove openssl 3.1 and install the magic to update 3.1 automatically to 3.2 2024-08-18 10:03:14 +00:00
phessler 7c72674c57 assembly acceleration mixes armv7 and armv8 instructions.
take the easy way out and simply disable assembly acceleration, so they
build again.

OK tb@ (MAINTAINER)
2024-08-04 09:23:52 +00:00