BSD Ports

security/botan2 2.19.5 MidnightBSD

Portable, easy to use and efficient C++ crypto library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
security

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.

In the other systems

SystemPortVersion
MidnightBSDsecurity/botan22.19.5
OpenBSDsecurity/botan22.19.5p2
NetBSDsecurity/botan22.19.5nb3
DragonFlysecurity/botan22.19.5_4

Install

Binary package:

mport install botan2

From mports:

cd /usr/mports/security/botan2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	botan2>0:security/botan2
LIB_DEPENDS=	libbotan-2.so:security/botan2

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: security_botan

OptionDefaultDescription
DOCSoff
MANPAGESon
PYTHONoff
SQLITE3off
USES
compiler:c++17-lang cpe gmake shebangfix tar:xz
Service scripts
none

Files

Manual pages 1
  • botan(1)
pkg-plist 327
  • bin/botan
  • include/botan-2/botan/adler32.h
  • include/botan-2/botan/aead.h
  • include/botan-2/botan/aes.h
  • include/botan-2/botan/alg_id.h
  • include/botan-2/botan/argon2.h
  • include/botan-2/botan/aria.h
  • include/botan-2/botan/asio_async_ops.h
  • include/botan-2/botan/asio_context.h
  • include/botan-2/botan/asio_error.h
  • include/botan-2/botan/asio_stream.h
  • include/botan-2/botan/asn1_alt_name.h
  • include/botan-2/botan/asn1_attribute.h
  • include/botan-2/botan/asn1_obj.h
  • include/botan-2/botan/asn1_oid.h
  • include/botan-2/botan/asn1_print.h
  • include/botan-2/botan/asn1_str.h
  • include/botan-2/botan/asn1_time.h
  • include/botan-2/botan/assert.h
  • include/botan-2/botan/auto_rng.h
  • include/botan-2/botan/b64_filt.h
  • include/botan-2/botan/base32.h
  • include/botan-2/botan/base58.h
  • include/botan-2/botan/base64.h
  • include/botan-2/botan/basefilt.h
  • include/botan-2/botan/bcrypt.h
  • include/botan-2/botan/bcrypt_pbkdf.h
  • include/botan-2/botan/ber_dec.h
  • include/botan-2/botan/bigint.h
  • include/botan-2/botan/blake2b.h
  • include/botan-2/botan/blinding.h
  • include/botan-2/botan/block_cipher.h
  • include/botan-2/botan/blowfish.h
  • include/botan-2/botan/botan.h
  • include/botan-2/botan/bswap.h
  • include/botan-2/botan/buf_comp.h
  • include/botan-2/botan/buf_filt.h
  • include/botan-2/botan/build.h
  • include/botan-2/botan/bzip2.h
  • include/botan-2/botan/calendar.h
  • include/botan-2/botan/camellia.h
  • include/botan-2/botan/cascade.h
  • include/botan-2/botan/cast128.h
  • include/botan-2/botan/cast256.h
  • include/botan-2/botan/cbc.h
  • include/botan-2/botan/cbc_mac.h
  • include/botan-2/botan/ccm.h
  • include/botan-2/botan/cecpq1.h
  • include/botan-2/botan/cert_status.h
  • include/botan-2/botan/certstor.h
  • include/botan-2/botan/certstor_flatfile.h
  • include/botan-2/botan/certstor_system.h
  • include/botan-2/botan/certstor_sql.h
  • include/botan-2/botan/certstor_sqlite.h
  • include/botan-2/botan/cfb.h
  • include/botan-2/botan/chacha.h
  • include/botan-2/botan/chacha20poly1305.h
  • include/botan-2/botan/chacha_rng.h
  • include/botan-2/botan/charset.h
  • include/botan-2/botan/cipher_filter.h
  • include/botan-2/botan/cipher_mode.h
  • include/botan-2/botan/cmac.h
  • include/botan-2/botan/comb4p.h
  • include/botan-2/botan/comp_filter.h
  • include/botan-2/botan/compiler.h
  • include/botan-2/botan/compression.h
  • include/botan-2/botan/cpuid.h
  • include/botan-2/botan/crc24.h
  • include/botan-2/botan/crc32.h
  • include/botan-2/botan/credentials_manager.h
  • include/botan-2/botan/crl_ent.h
  • include/botan-2/botan/cryptobox.h
  • include/botan-2/botan/ctr.h
  • include/botan-2/botan/curve25519.h
  • include/botan-2/botan/curve_gfp.h
  • include/botan-2/botan/curve_nistp.h
  • include/botan-2/botan/data_snk.h
  • include/botan-2/botan/data_src.h
  • include/botan-2/botan/database.h
  • include/botan-2/botan/datastor.h
  • include/botan-2/botan/der_enc.h
  • include/botan-2/botan/des.h
  • include/botan-2/botan/desx.h
  • include/botan-2/botan/dh.h
  • include/botan-2/botan/divide.h
  • include/botan-2/botan/dl_algo.h
  • include/botan-2/botan/dl_group.h
  • include/botan-2/botan/dlies.h
  • include/botan-2/botan/dsa.h
  • include/botan-2/botan/dyn_load.h
  • include/botan-2/botan/eax.h
  • include/botan-2/botan/ec_group.h
  • include/botan-2/botan/ecc_key.h
  • include/botan-2/botan/ecdh.h
  • include/botan-2/botan/ecdsa.h
  • include/botan-2/botan/ecgdsa.h
  • include/botan-2/botan/ecies.h
  • include/botan-2/botan/eckcdsa.h
  • include/botan-2/botan/ed25519.h
  • include/botan-2/botan/elgamal.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
Botan-2.19.5.tar.xz6.140148e+06dfeea0e0a6f26d6724c4af01da9a7b88487adb2d81ba7c72fcaf52db522c9ad4
Master sites 1
  • http://botan.randombit.net/releases/