In D53964#1233038, @cperciva wrote:In D53964#1233037, @bdrewery wrote:In D53964#1232996, @philip wrote:We could probably shave off several seconds for many people by replacing pkg+https with pkg+http. The TLS n-way handshake is a complete waste of time. I have made this observation about the other repositories as well but...
Windmills. Have to keep trying.
Agreed. All https buys us here is quieting an FAQ. It otherwise adds time and potentially has problems in some corporate setups.
It does provide a little bit of protection against rollback attacks. Not much, though; there's a reason I used HTTP for freebsd-update.
The main reason I used HTTPS here was because that's what the other repositories used and I wanted to minimize the number of bikesheds I had to paint.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed Search
Mon, Jul 6
Mon, Jul 6
Tue, Jun 16
Tue, Jun 16
bdrewery committed R11:14c7a1918999: textproc/php83-xsl: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN (authored by bofh).
Jun 5 2026
Jun 5 2026
May 15 2026
May 15 2026
May 11 2026
May 11 2026
Apr 27 2026
Apr 27 2026
Apr 25 2026
Apr 25 2026
bdrewery committed R11:8898d99d2a5c: */*: Bump consumers of dns/ldns after update to 1.9.0 (authored by vvd).
bdrewery committed R11:a6c4e0a8dcf3: security/openssh-portable: XMSS has been removed. Tidy up options (authored by jamie_catflap.org).
bdrewery committed R11:814bb8d173a8: security/openssh-portable: XMSS has been removed. Tidy up options (authored by jamie_catflap.org).
Apr 23 2026
Apr 23 2026
Apr 15 2026
Apr 15 2026
Apr 14 2026
Apr 14 2026
Mar 9 2026
Mar 9 2026
Mar 3 2026
Mar 3 2026
Feb 27 2026
Feb 27 2026
Feb 26 2026
Feb 26 2026
Feb 25 2026
Feb 25 2026
Feb 19 2026
Feb 19 2026
Feb 17 2026
Feb 17 2026
Feb 16 2026
Feb 16 2026
Feb 13 2026
Feb 13 2026
Dec 13 2025
Dec 13 2025
Dec 12 2025
Dec 12 2025
Dec 6 2025
Dec 6 2025
Dec 2 2025
Dec 2 2025
Dec 1 2025
Dec 1 2025
Nov 28 2025
Nov 28 2025
Nov 27 2025
Nov 27 2025
In D53964#1232996, @philip wrote:We could probably shave off several seconds for many people by replacing pkg+https with pkg+http. The TLS n-way handshake is a complete waste of time. I have made this observation about the other repositories as well but...
Windmills. Have to keep trying.
I'm not sure if this or SHLIB_REQUIRE_IGNORE_GLOB=* is the right path forward. The prebuilt binary wants a bunch of libraries that are not set as LIB_DEPENDS. It applies to all 3 of the bootstrap-openjdk ports.
Nov 25 2025
Nov 25 2025
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..
Yep I see now that the libraries aren't bundled.
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..
In D53723#1231867, @bapt wrote:None of the libraries listed as required here are bundled, so it has done the right thing and the bootstrap now do not provide lib anymore so it will never be proposed instead of a regular openjdk
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..
pkg_cleanup_shlibs_required(pkg, &internal_provided);
Seems it is supposed to just work, hm.
bdrewery added a comment to D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..
@bapt I'm not sure this did what I expected.
It added the annotation but it still marked all of the libs as required.
# pkg info -F bootstrap-openjdk17-17.0.1.12.1_2.pkg
bootstrap-openjdk17-17.0.1.12.1_2
Name : bootstrap-openjdk17
Version : 17.0.1.12.1_2
Origin : java/bootstrap-openjdk17
Architecture : FreeBSD:14:amd64
Prefix : /usr/local
Categories : devel java
Licenses : GPLv2
Maintainer : java@FreeBSD.org
WWW : https://openjdk.java.net/
Comment : Java Development Kit 17
Shared Libs required:
libX11.so.6
libXext.so.6
libXi.so.6
libXrender.so.1
libXtst.so.6
libasound.so.2
libc++.so.1
libc.so.7
libcxxrt.so.1
libdl.so.1
libfontconfig.so.1
libfreetype.so.6
libgcc_s.so.1
libgif.so.7
libharfbuzz.so.0
libjpeg.so.8
liblcms2.so.2
libm.so.5
libpng16.so.16
libthr.so.3
libutil.so.9
libz.so.6
Annotations :
FreeBSD_version: 1400097
build_timestamp: 2025-11-13T00:01:02+00:00
built_by : poudriere-git-3.3.0-2420-g3a7024568
no_provide_shlib: yes
port_checkout_unclean: no
ports_top_checkout_unclean: yes
ports_top_git_hash: a5581322a5c3da107f83705f91c9900b8c219ae3
Flat size : 252MiB
Description :
OpenJDK is an open-source implementation of the Java Platform, Standard Edition.Nov 18 2025
Nov 18 2025
Thank you
This one passes all of the Poudriere tests too (more read -t use than a bulk run). The previous problem was -t $n taking n seconds. bin/sh tests lack checking for duration on read -t.
Nov 16 2025
Nov 16 2025
Passes all of the poudriere tests. Thank you for looking at quickly. This change looks much better than my attempt.
Nov 14 2025
Nov 14 2025
Edited my comment with a more cleaned up version.
This works for me. It could be cleaned up more. Confirmed it prevents the original issue reported.
- check status == 1.
- handle -t 0 special, which avoids clock_gettime and doesn't sleep forever.
# echo yes | /usr/bin/time ./sh -c 'read -t 5 n; echo $n'
yes
5.00 real 0.92 user 4.05 sysshould be 0. We may need another test case using timeout(1).
This passes the sh tests but times out (timeout(1)) on poudriere. Looking into why.
My intuition is we'll need a SIGALRM handler which is going to get tricky to not interfere with user traps. I haven't thought on it deeply.
Poudriere's test suite has more testing of this timeout and SIGALRM. It checks for timeout adjusting on [EINTR] and ensuring timeout runs within the period specified. If you want to try that you'll need to modify external/sh/miscbltin.c with the patch and then use make checkquick. Or I can check on the next patch.
Nov 13 2025
Nov 13 2025
bdrewery updated the summary of D53723: java/bootstrap-openjdk*: Mark these ports as bundling libraries..