notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
NOW FIXED. We had a known problem with lists of packages - they were out of date. The fix has been applied to production. See packages-import/issues/3 & packages-import/issues/4
Port details
botan3 Portable, easy to use and efficient C++ crypto library
3.6.1_1 security on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.6.1Version of this port present on the latest quarterly branch.
Maintainer: fluffy@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-08 11:09:05
Last Update: 2025-01-29 16:56:42
Commit Hash: d99d33d
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: BSD2CLAUSE
WWW:
https://botan.randombit.net/
Description:
Botan is a crypto library written in C++. It provides a variety of cryptographic algorithms, including common ones such as AES, MD5, SHA, HMAC, RSA, Diffie-Hellman, DSA, and ECDSA, as well as many others that are more obscure or specialized. It also offers X.509v3 certificates and CRLs, and PKCS #10 certificate requests. A message processing system that uses a filter/pipeline metaphor allows for many common cryptographic tasks to be completed with just a few lines of code. Assembly optimizations for common CPUs, including x86, x86-64, and PowerPC, offers further speedups for critical tasks such as SHA-1 hashing and multiple precision integer operations. Botan is licensed under the same permissive terms as FreeBSD itself.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (202 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/botan3-3.6.1_1/catalog.mk
  3. /usr/local/share/licenses/botan3-3.6.1_1/LICENSE
  4. /usr/local/share/licenses/botan3-3.6.1_1/BSD2CLAUSE
  5. bin/botan3
  6. include/botan-3/botan/aead.h
  7. include/botan-3/botan/allocator.h
  8. include/botan-3/botan/argon2.h
  9. include/botan-3/botan/argon2fmt.h
  10. include/botan-3/botan/asio_async_ops.h
  11. include/botan-3/botan/asio_compat.h
  12. include/botan-3/botan/asio_context.h
  13. include/botan-3/botan/asio_error.h
  14. include/botan-3/botan/asio_stream.h
  15. include/botan-3/botan/asn1_obj.h
  16. include/botan-3/botan/asn1_print.h
  17. include/botan-3/botan/assert.h
  18. include/botan-3/botan/auto_rng.h
  19. include/botan-3/botan/base32.h
  20. include/botan-3/botan/base58.h
  21. include/botan-3/botan/base64.h
  22. include/botan-3/botan/bcrypt_pbkdf.h
  23. include/botan-3/botan/bcrypt.h
  24. include/botan-3/botan/ber_dec.h
  25. include/botan-3/botan/bigint.h
  26. include/botan-3/botan/block_cipher.h
  27. include/botan-3/botan/buf_comp.h
  28. include/botan-3/botan/build.h
  29. include/botan-3/botan/bzip2.h
  30. include/botan-3/botan/certstor_flatfile.h
  31. include/botan-3/botan/certstor_sql.h
  32. include/botan-3/botan/certstor.h
  33. @comment include/botan-3/botan/certstor_sqlite.h
  34. include/botan-3/botan/certstor_system.h
  35. include/botan-3/botan/chacha_rng.h
  36. include/botan-3/botan/cipher_mode.h
  37. include/botan-3/botan/compiler.h
  38. include/botan-3/botan/compression.h
  39. include/botan-3/botan/concepts.h
  40. include/botan-3/botan/credentials_manager.h
  41. include/botan-3/botan/cryptobox.h
  42. include/botan-3/botan/curve25519.h
  43. include/botan-3/botan/curve_gfp.h
  44. include/botan-3/botan/data_snk.h
  45. include/botan-3/botan/data_src.h
  46. include/botan-3/botan/database.h
  47. include/botan-3/botan/der_enc.h
  48. include/botan-3/botan/dh.h
  49. include/botan-3/botan/dilithium.h
  50. include/botan-3/botan/dl_group.h
  51. include/botan-3/botan/dlies.h
  52. include/botan-3/botan/dsa.h
  53. include/botan-3/botan/ec_point.h
  54. include/botan-3/botan/ec_group.h
  55. include/botan-3/botan/ec_apoint.h
  56. include/botan-3/botan/ec_scalar.h
  57. include/botan-3/botan/ecc_key.h
  58. include/botan-3/botan/ecdh.h
  59. include/botan-3/botan/ecdsa.h
  60. include/botan-3/botan/ecgdsa.h
  61. include/botan-3/botan/ecies.h
  62. include/botan-3/botan/eckcdsa.h
  63. include/botan-3/botan/ed25519.h
  64. include/botan-3/botan/ed448.h
  65. include/botan-3/botan/elgamal.h
  66. include/botan-3/botan/entropy_src.h
  67. include/botan-3/botan/exceptn.h
  68. include/botan-3/botan/fd_unix.h
  69. include/botan-3/botan/ffi.h
  70. include/botan-3/botan/filter.h
  71. include/botan-3/botan/filters.h
  72. include/botan-3/botan/fpe_fe1.h
  73. include/botan-3/botan/frodo_mode.h
  74. include/botan-3/botan/frodokem.h
  75. include/botan-3/botan/gost_3410.h
  76. include/botan-3/botan/hash.h
  77. include/botan-3/botan/hex.h
  78. include/botan-3/botan/hmac_drbg.h
  79. include/botan-3/botan/hss_lms.h
  80. include/botan-3/botan/kdf.h
  81. include/botan-3/botan/kyber.h
  82. include/botan-3/botan/lzma.h
  83. include/botan-3/botan/mac.h
  84. include/botan-3/botan/mceliece.h
  85. include/botan-3/botan/mem_ops.h
  86. include/botan-3/botan/ml_dsa.h
  87. include/botan-3/botan/ml_kem.h
  88. include/botan-3/botan/mutex.h
  89. include/botan-3/botan/nist_keywrap.h
  90. include/botan-3/botan/numthry.h
  91. include/botan-3/botan/ocsp.h
  92. include/botan-3/botan/oids.h
  93. include/botan-3/botan/otp.h
  94. include/botan-3/botan/p11.h
  95. include/botan-3/botan/p11_ecc_key.h
  96. include/botan-3/botan/p11_ecdh.h
  97. include/botan-3/botan/p11_ecdsa.h
  98. include/botan-3/botan/p11_object.h
  99. include/botan-3/botan/p11_randomgenerator.h
  100. include/botan-3/botan/p11_rsa.h
  101. include/botan-3/botan/p11_types.h
  102. include/botan-3/botan/p11_x509.h
  103. include/botan-3/botan/passhash9.h
  104. include/botan-3/botan/pbkdf.h
  105. include/botan-3/botan/pbkdf2.h
  106. include/botan-3/botan/pem.h
  107. include/botan-3/botan/pgp_s2k.h
  108. include/botan-3/botan/pipe.h
  109. include/botan-3/botan/pk_algs.h
  110. include/botan-3/botan/pk_keys.h
  111. include/botan-3/botan/pk_ops.h
  112. include/botan-3/botan/pk_ops_fwd.h
  113. include/botan-3/botan/pkcs10.h
  114. include/botan-3/botan/pkcs11.h
  115. include/botan-3/botan/pkcs11f.h
  116. include/botan-3/botan/pkcs11t.h
  117. include/botan-3/botan/pkcs8.h
  118. include/botan-3/botan/pkix_enums.h
  119. include/botan-3/botan/pkix_types.h
  120. include/botan-3/botan/processor_rng.h
  121. include/botan-3/botan/psk_db.h
  122. include/botan-3/botan/pubkey.h
  123. include/botan-3/botan/pwdhash.h
  124. include/botan-3/botan/reducer.h
  125. include/botan-3/botan/rfc3394.h
  126. include/botan-3/botan/rfc4880.h
  127. include/botan-3/botan/rng.h
  128. include/botan-3/botan/roughtime.h
  129. include/botan-3/botan/rsa.h
  130. include/botan-3/botan/scrypt.h
  131. include/botan-3/botan/secmem.h
  132. include/botan-3/botan/slh_dsa.h
  133. include/botan-3/botan/sm2.h
  134. include/botan-3/botan/sodium.h
  135. include/botan-3/botan/sp_parameters.h
  136. include/botan-3/botan/sphincsplus.h
  137. @comment include/botan-3/botan/sqlite3.h
  138. include/botan-3/botan/srp6.h
  139. include/botan-3/botan/stateful_rng.h
  140. include/botan-3/botan/stream_cipher.h
  141. include/botan-3/botan/strong_type.h
  142. include/botan-3/botan/sym_algo.h
  143. include/botan-3/botan/symkey.h
  144. include/botan-3/botan/system_rng.h
  145. include/botan-3/botan/tls.h
  146. include/botan-3/botan/tls_alert.h
  147. include/botan-3/botan/tls_algos.h
  148. include/botan-3/botan/tls_callbacks.h
  149. include/botan-3/botan/tls_channel.h
  150. include/botan-3/botan/tls_ciphersuite.h
  151. include/botan-3/botan/tls_client.h
  152. include/botan-3/botan/tls_exceptn.h
  153. include/botan-3/botan/tls_extensions.h
  154. include/botan-3/botan/tls_external_psk.h
  155. include/botan-3/botan/tls_handshake_msg.h
  156. include/botan-3/botan/tls_magic.h
  157. include/botan-3/botan/tls_messages.h
  158. include/botan-3/botan/tls_policy.h
  159. include/botan-3/botan/tls_psk_identity_13.h
  160. include/botan-3/botan/tls_server.h
  161. include/botan-3/botan/tls_server_info.h
  162. include/botan-3/botan/tls_session.h
  163. include/botan-3/botan/tls_session_manager.h
  164. include/botan-3/botan/tls_session_manager_hybrid.h
  165. include/botan-3/botan/tls_session_manager_memory.h
  166. include/botan-3/botan/tls_session_manager_noop.h
  167. include/botan-3/botan/tls_session_manager_sql.h
  168. @comment include/botan-3/botan/tls_session_manager_sqlite.h
  169. include/botan-3/botan/tls_session_manager_stateless.h
  170. include/botan-3/botan/tls_signature_scheme.h
  171. include/botan-3/botan/tls_version.h
  172. include/botan-3/botan/tss.h
  173. include/botan-3/botan/types.h
  174. include/botan-3/botan/uuid.h
  175. include/botan-3/botan/version.h
  176. include/botan-3/botan/x25519.h
  177. include/botan-3/botan/x448.h
  178. include/botan-3/botan/x509_ca.h
  179. include/botan-3/botan/x509_crl.h
  180. include/botan-3/botan/x509_ext.h
  181. include/botan-3/botan/x509_key.h
  182. include/botan-3/botan/x509_obj.h
  183. include/botan-3/botan/x509cert.h
  184. include/botan-3/botan/x509path.h
  185. include/botan-3/botan/x509self.h
  186. include/botan-3/botan/xmss.h
  187. include/botan-3/botan/xmss_parameters.h
  188. include/botan-3/botan/xof.h
  189. include/botan-3/botan/zfec.h
  190. include/botan-3/botan/zlib.h
  191. lib/cmake/Botan-3.6.1/botan-config-version.cmake
  192. lib/cmake/Botan-3.6.1/botan-config.cmake
  193. lib/libbotan-3.a
  194. lib/libbotan-3.so
  195. lib/libbotan-3.so.6
  196. lib/libbotan-3.so.6.6.1
  197. @comment lib/python3.11/site-packages/botan3.py
  198. libdata/pkgconfig/botan-3.pc
  199. share/man/man1/botan.1.gz
  200. @owner
  201. @group
  202. @mode
Collapse this list.
Dependency lines:
  • botan3>0:security/botan3
To install the port:
cd /usr/ports/security/botan3/ && make install clean
To add the package, run one of these commands:
  • pkg install security/botan3
  • pkg install botan3
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: botan3
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1730906988 SHA256 (Botan-3.6.1.tar.xz) = 7cb8575d88d232c77174769d7f9e24bb44444160585986eebd66e749cb9a9089 SIZE (Botan-3.6.1.tar.xz) = 7581864

Packages (timestamps in pop-ups are UTC):
botan3
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.6.13.6.1-3.6.13.6.1---
FreeBSD:13:quarterly3.6.13.6.1-3.6.13.6.1---
FreeBSD:14:latest3.6.13.6.1-3.6.13.6.1---
FreeBSD:14:quarterly3.6.13.6.1-3.6.13.6.13.2.03.2.03.2.0
FreeBSD:15:latest3.6.13.6.1_1n/a3.6.1n/a3.2.03.2.03.2.0
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. asio.hpp : devel/boost-libs
  2. py311-sphinx>=0 : textproc/py-sphinx@py311
  3. gmake>=4.4.1 : devel/gmake
  4. llvm-config15 : devel/llvm15
  5. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for botan3-3.6.1_1: DOCS=on: Build and/or install documentation MANPAGES=on: Build and/or install manual pages PYTHON=off: Python bindings or support SQLITE3=off: SQLite 3 database support ===> Use 'make config' to modify these settings
Options name:
security_botan3
USES:
compiler:c++20-lang cpe gmake llvm shebangfix tar:xz python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. http://botan.randombit.net/releases/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.6.1_1
29 Jan 2025 16:56:42
commit hash: d99d33d20eceac41c76376030aa209467855c9c4commit hash: d99d33d20eceac41c76376030aa209467855c9c4commit hash: d99d33d20eceac41c76376030aa209467855c9c4commit hash: d99d33d20eceac41c76376030aa209467855c9c4 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
security/botan3: fix runtime on powerpc64le

INFO: Assuming target ppc64 is big endian
3.6.1
06 Nov 2024 15:51:52
commit hash: aa66784cf083bd17eb2efe876997dc9ad5024a47commit hash: aa66784cf083bd17eb2efe876997dc9ad5024a47commit hash: aa66784cf083bd17eb2efe876997dc9ad5024a47commit hash: aa66784cf083bd17eb2efe876997dc9ad5024a47 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: update to 3.6.1 release (+)

Changelog:	https://botan.randombit.net/news.html#version-3-6-1-2024-10-26
		https://botan.randombit.net/news.html#version-3-6-0-2024-10-21
3.5.0
01 Oct 2024 18:56:20
commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for expired FreeBSD 14.0

Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
3.5.0
04 Aug 2024 00:18:51
commit hash: f550157a18a4ff5d1cb7094f1cec754bbad614eecommit hash: f550157a18a4ff5d1cb7094f1cec754bbad614eecommit hash: f550157a18a4ff5d1cb7094f1cec754bbad614eecommit hash: f550157a18a4ff5d1cb7094f1cec754bbad614ee files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: update to 3.5.0 release (+)

Changelog:	https://botan.randombit.net/news.html#version-3-4-0-2024-04-08 \
		https://botan.randombit.net/news.html#version-3-5-0-2024-07-08
3.3.0
03 Jun 2024 15:11:59
commit hash: aa317719dce6823865184565afe1d0540fe43036commit hash: aa317719dce6823865184565afe1d0540fe43036commit hash: aa317719dce6823865184565afe1d0540fe43036commit hash: aa317719dce6823865184565afe1d0540fe43036 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
security/botan3: fix build on powerpc64

In file included from src/lib/block/aes/aes_power8/aes_power8.cpp:16:
/usr/lib/clang/18/include/altivec.h:17365:10: error:
'__builtin_altivec_crypto_vcipher' needs target feature power8-vector
 17365 |   return __builtin_altivec_crypto_vcipher(__a, __b);
3.3.0
29 May 2024 07:05:30
commit hash: 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23ecommit hash: 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23ecommit hash: 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23ecommit hash: 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23e files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
security/botan3: Optimize build, add TEST_TARGET

- relax LLVM requirement, per PR #279136, any llvm from
  ports can compile botan3
- pass --compiler-cache if CCACHE_BIN is nonempty to
  actually make use of ccache
- replace boost-libs LIB_DEPENDS=libboost_filesystem.so by
  BUILD_DEPENDS=...asio.hpp to make purpose clearer and avoid
  the stage-qa warning that libboost_filesystem.so is unused.
- add TEST_TARGET for "make test" and WITH_TESTING[_PORTS].
- strip support for FreeBSD before 1300000, end of life.

PR:		279173
Approved by:	fluffy@ (maintainer)
3.3.0
29 May 2024 00:32:21
commit hash: 63fe92d7ab52f8657300837de6f774b26ed1f7d9commit hash: 63fe92d7ab52f8657300837de6f774b26ed1f7d9commit hash: 63fe92d7ab52f8657300837de6f774b26ed1f7d9commit hash: 63fe92d7ab52f8657300837de6f774b26ed1f7d9 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
security/botan3: libc++<16 lacks std::ranges::find, work around

...by using boost::range::find, we already depend on boost already.

PR:		279173
Approved by:	portmgr@ (just-fix-it blanket approval)
3.3.0
22 May 2024 07:39:54
commit hash: 4c31bd3f18de28b67fd694a16833b9c3be6a9798commit hash: 4c31bd3f18de28b67fd694a16833b9c3be6a9798commit hash: 4c31bd3f18de28b67fd694a16833b9c3be6a9798commit hash: 4c31bd3f18de28b67fd694a16833b9c3be6a9798 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
security/botan3: Followup to build fix: add comment for clarity
3.3.0
22 May 2024 01:59:38
commit hash: d863e42c9258ad8673bfbaef2af27781cff3b42ccommit hash: d863e42c9258ad8673bfbaef2af27781cff3b42ccommit hash: d863e42c9258ad8673bfbaef2af27781cff3b42ccommit hash: d863e42c9258ad8673bfbaef2af27781cff3b42c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
security/botan3: Unbreak on amd64 and arm64 by using llvm-17

PR:		279136
3.3.0
18 May 2024 18:58:46
commit hash: 7a7408cd7731d6e05ccbc6e895ca84600eb26bfecommit hash: 7a7408cd7731d6e05ccbc6e895ca84600eb26bfecommit hash: 7a7408cd7731d6e05ccbc6e895ca84600eb26bfecommit hash: 7a7408cd7731d6e05ccbc6e895ca84600eb26bfe files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
security/botan3: Broken on aarch64, amd64 and 13

Reported by:	fallout
3.3.0
18 Mar 2024 01:48:15
commit hash: 21d88aba745010c80f789a33cdb5e81c3509cea5commit hash: 21d88aba745010c80f789a33cdb5e81c3509cea5commit hash: 21d88aba745010c80f789a33cdb5e81c3509cea5commit hash: 21d88aba745010c80f789a33cdb5e81c3509cea5 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: update to 3.3.0 release (+)

Changelog:	https://botan.randombit.net/news.html#version-3-3-0-2024-02-20
3.2.0
25 Oct 2023 18:29:52
commit hash: c4f9aea2a7c55fd6b0f8dfe73993a185334a3355commit hash: c4f9aea2a7c55fd6b0f8dfe73993a185334a3355commit hash: c4f9aea2a7c55fd6b0f8dfe73993a185334a3355commit hash: c4f9aea2a7c55fd6b0f8dfe73993a185334a3355 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: update to 3.2.0 release (+)

Release notes:	https://botan.randombit.net/news.html#version-3-2-0-2023-10-09
3.1.1
22 Sep 2023 08:28:45
commit hash: bb55588ccc3e04e12aecb88a3692aaf08ad5bb80commit hash: bb55588ccc3e04e12aecb88a3692aaf08ad5bb80commit hash: bb55588ccc3e04e12aecb88a3692aaf08ad5bb80commit hash: bb55588ccc3e04e12aecb88a3692aaf08ad5bb80 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: fix build on 12.4 (+)

Botan3 require at least llvm14 to build but 12.4 still have only llvm13 in base

Reported by:	pkg-fallout
3.1.1
25 Aug 2023 21:54:51
commit hash: 5f9b68c773d6442dccb248c8a190dce9c4d4a519commit hash: 5f9b68c773d6442dccb248c8a190dce9c4d4a519commit hash: 5f9b68c773d6442dccb248c8a190dce9c4d4a519commit hash: 5f9b68c773d6442dccb248c8a190dce9c4d4a519 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
security/botan3: Fix build on 14

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
3.1.1
08 Aug 2023 11:02:38
commit hash: 37dfbb1e35162bd84348730049155811d9b5035fcommit hash: 37dfbb1e35162bd84348730049155811d9b5035fcommit hash: 37dfbb1e35162bd84348730049155811d9b5035fcommit hash: 37dfbb1e35162bd84348730049155811d9b5035f files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
security/botan3: add Botan 3.1.1 release (+)

Introduce Botan 3.x branch as separated concurrent port to allow consumers
migrate in their own progress due to API/ABI incompatibility between 2.x/3.x
releases

Release notes:	https://botan.randombit.net/news.html#version-3-0-0-2023-04-11
		https://botan.randombit.net/news.html#version-3-1-0-2023-07-11
		https://botan.randombit.net/news.html#version-3-1-1-2023-07-13

Number of commits found: 15