Skip to content
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

botan: Update to version 3.5.0.; Bugfix #26033

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions security/botan/Portfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in security/botan/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port lint botan: sqlite error: attempt to write a readonly database (8)

Check warning on line 1 in security/botan/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port lint botan: sqlite error: attempt to write a readonly database (8)

Check warning on line 1 in security/botan/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint botan: sqlite error: attempt to write a readonly database (8)

PortSystem 1.0
PortGroup muniversal 1.1
Expand All @@ -9,7 +9,7 @@
legacysupport.newest_darwin_requires_legacy 15

name botan
version 2.19.5
version 3.5.0
revision 0
set branch [join [lrange [split ${version} .] 0 1] .]
categories security devel
Expand All @@ -26,9 +26,9 @@
distname Botan-${version}
use_xz yes

checksums rmd160 b82daea6a81d29aeb425bfceeb80826ff1ee1fb3 \
sha256 dfeea0e0a6f26d6724c4af01da9a7b88487adb2d81ba7c72fcaf52db522c9ad4 \
size 6140148
checksums rmd160 174d07e4ffdc193871665b69b18a76f7df8878a0 \
sha256 67e8dae1ca2468d90de4e601c87d5f31ff492b38e8ab8bcbd02ddf7104ed8a9f \
size 7256492

depends_build port:python312
depends_lib port:bzip2 \
Expand All @@ -49,6 +49,16 @@
# botan uses thread_local, which is not supported in Xcode < 8
compiler.thread_local_storage yes

# CLT clang build issues, including:
# https://github.com/randombit/botan/issues/4348
set os_major_version_clang_issue_arm64 23
set os_major_version_clang_issue 21
if {${build_arch} eq {arm64}
&& ${os.major} >= ${os_major_version_clang_issue_arm64}
|| ${os.major} == ${os_major_version_clang_issue}} {
compiler.blacklist clang
}

if {[tbool configure.ccache]} {
configure.args-append --cc-bin="${prefix}/bin/ccache ${configure.cxx}"
} else {
Expand Down