New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kerberos5: build with LibreSSL #19799
Conversation
* build kerberos5 @1.21.1 with LibreSSL again * establishes new variant +libressl * requires new 'libbsd-devel' port * includes patch derived from FreeBSD Fixes: https://trac.macports.org/ticket/66601
@ryandesign as maintainer ... 🌻 |
FYI
|
|
||
patchfiles-append patch-plugins_preauth_pkinit_pkinit__crypto__openssl.c.diff | ||
|
||
configure.optflags-append -DLIBBSD_OVERLAY -isystem ${prefix}/include/bsd -L${prefix}/lib -lbsd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configure.optflags
is for optimization flags, which none of these are.
Right... As I recall, the problems we were experiencing—where software thought |
@ryandesign do you see a path forward with this PR. If not please close it... |
if there is patch forward for this PR please do the required work and feel free to re-open |
@reneeotten FWIW, I have a suspicion that @ryandesign doesn't see notifications about mentions in discussion threads. |
Description
kerberos5 @1.21.1 can be built with LibreSSL again, if we can provide "explicit_bzero", see #66601 trac ticket. However, this requires the new port 'libbsd' and we use subport 'libbsd-devel' until new version from upstream is available.
The new port 'libbsd' with subport 'libbsd-devel' was provided as PR #19785 with the specific purpose of supporting this PR.
Please note there is an older PR #16927 addressing the kerberos5 @1.20 legacy version which seems to be stuck and would be superseeded by this PR.
Please be aware the testing of all binaries was out of scope for my current contribution and should be performed by a long-standing expert person like the official maintainer, I presume.
Type(s)
Tested on
macOS 11.7.9 20G1426 x86_64
Xcode 13.0 13A233
Verification
Have you
port lint --nitpick
?sudo port -vst install
?