Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

101.24. botan-3.13.0

C++ cryptography and TLS library, version 3

3.13.0-1 · BSD-2-Clause · 3.9 SBU · 17.3 MiB, 204 files · 41_system, 332 of 1047 · ports/core/crypto/botan

Homepage: https://botan.randombit.net/

Depends on: python3, zlib, bzip2, xz.

Required by (1): keepassxc.

Sources: botan-3.13.0.tar.xz (9.2 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install botan'

build.sh:

export CFLAGS="${CFLAGS/-O2/-O3}" CXXFLAGS="${CXXFLAGS/-O2/-O3}"
python3 ./configure.py \
	--prefix=/usr \
	--libdir=lib \
	--mandir=/usr/share/man \
	--cc=gcc \
	--build-targets=shared,cli \
	--disable-static-library \
	--no-install-python-module \
	--without-documentation \
	--with-zlib \
	--with-bzip2 \
	--with-lzma \
	--with-os-features=getrandom
make
make DESTDIR=$PKG install

Programs: botan.

Libraries: libbotan-3.so.

Directories: /usr/include/botan-3, /usr/lib/cmake/Botan-3.13.0, /usr/share/licenses/botan.