botan3: Submission, put version 3 into name botan; botan2: Bugfix, Python build, change name to botan2 - #33642
botan3: Submission, put version 3 into name botan; botan2: Bugfix, Python build, change name to botan2#33642essandess wants to merge 4 commits into
Conversation
barracuda156
left a comment
There was a problem hiding this comment.
PowerPC needs this: https://github.com/macos-powerpc/powerpc-ports/blob/722ca35e35d2960c0ab2e1b4ef65fe9f193d9c71/security/botan3/files/0001-cpuid_ppc.cpp-fix-for-macOS.patch
Some older macOS versions (I don’t know threshold, should be safe generally) need this: https://github.com/macos-powerpc/powerpc-ports/blob/722ca35e35d2960c0ab2e1b4ef65fe9f193d9c71/security/botan3/files/0002-getentropy-add-missing-header-for-macOS.patch
064fa71 to
b3995a9
Compare
|
For completeness' sake: my tested version of the port is here: https://github.com/RJVB/macstrop/blob/master/security/botan3/ Tested on 10.9.5 with GCC13 (with I haven't checked how that situation has evolved in the official ports tree, but it looks like it might be a good idea to add The test suite also completes a LOT faster for Botan2 compared to Botan3, and that's not just because there are fewer tests. I think it may have something to do with the fact that Botan3 dropped all but 1 of the intrinsics selection options and AFAICT even some implementations (like for SSE4.2). In other words, a possibility to build/run against botan2 should be a win-win for older machines. NB: either remove the |
|
On Thursday July 30 2026 06:23:23 Renee Otten wrote:
@reneeotten requested changes on this pull request.
how do downstream packages know about this change, aren't they still looking for a "botan" executable?
I'm not convinced that driver exec is used by any of the dependent ports, but this is one reason why I suggested not to introduce a `port:botan3` but instead upgrade the existing port:botan after splitting off the port:botan2 "legacy" port. (That and because the same thing has already been done with Botan1)/.
|
I agree about keeping the name Should we combine #33643 and this PR so that all these changes appear concurrently? |
|
essandess left a comment (macports/macports-ports#33642)
Should we combine #33643 and this PR so that all these changes appear concurrently?
That seems logical, and would certainly make it easier for other to test things.
|
Latest force-push incorporates #33643 into this PR. |
* Python build bugfix * Use Python 3.14 * Change name to botan2 * Avoid botan3 conflicts * Whitespace fixes * Fixes: https://trac.macports.org/ticket/74244
…otan2 conflicts * Fixes CLT clang build issues * Fixes: randombit/botan#4348
…b fixes * Use botan3 * check gpg signature size * KeePassXC-devel is the same version as KeePassXC, make obsolete * whitespace/tab fixes
Description
Type(s)
Tested on
macOS x.y
Xcode x.y / Command Line Tools x.y.z
Verification
Have you
port lint?sudo port test?sudo port -vst install?