-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
libfido2 1.3.0 (new formula) #50326
libfido2 1.3.0 (new formula) #50326
Conversation
99bc5a0
to
7557676
Compare
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.
Test suggestion
62dd3d2
to
0eb5e65
Compare
Questions for reviewers:
|
0eb5e65
to
60b4b7f
Compare
If the Makefile provides a
If they're identical we might as well use the Github releases since this means |
This probably needs |
append /usr/local/opt/[email protected]/lib/pkgconfig to PKG_CONFIG_PATH |
After double-checking, it appears the regression tests are automatically run as part of the build, but only on debug builds. I assume that it would be unusual and unnecessarily complicated to build the formula in debug mode first solely to run tests?
Thanks, I'll leave it as is. |
(This is a revival of PR Homebrew#46072, which is now used by OpenSSH.) Thanks the the authors of voro++.rb for the solution to moving the directory containing the manual pages. Co-authored-by: Alexander Lent <[email protected]>
60b4b7f
to
0194ed8
Compare
Apologies, the dependency is libudev, which I don't think we package in homebrew-core. Formula in Homebrew/linuxbrew-core have |
Correct. This repo is merged into Homebrew/linuxbrew-core a couple of times a day, then fixes for Linux dependencies are made in PRs there. |
Great! I'll open a PR there with the necessary changes once this gets merged. As a note to myself, those are: |
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.
LGTM, provided we can't or don't want to enable compile-time tests.
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.
LGTM
There are no tests besides some regression tests that appear to get run at compile time, and fuzzing that only really happens on Linux. I added a suggestion to double check that the regression tests are being run, but they should be ™️ because it looks like the regress
target was added to the special ALL
CMake target.
@zbeekman If that was it, then we're good to merge. Thanks to everyone for contributing to the review of this PR! I really appreciate the feedback and look forward to contributing in the future. |
Thanks again @xanderlent for contributing to Homebrew! This formula has been merged. |
We introduced libfido2 in Homebrew/homebrew-core#50326, but it has different dependencies on Linux. Additionally, the upstream CMake code uses share/man/ on Linux but man/ on macOS.
(This is a revival of PR #46072, which is now used by OpenSSH.)
Co-authored-by: Alexander Lent [email protected]
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --new-formula <formula>
(after doingbrew install <formula>
)?There are multiple open issues with this PR, I'll take another look at it later this week:
libcbor is not yet upstream (see libcbor 0.5.0 (new formula) #50305 for why)Upstream prefers LibreSSL to OpenSSL. (Possibly true of OpenSSH-portable as well.)We're using OpenSSL for OpenSSH portable, probably best to link dependencies against the same library.