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

101.22. libsodium-1.0.22

Cryptography library with NaCl's API, portable

1.0.22-1 · ISC · 0.4 SBU · 876.4 KiB, 82 files · 41_system, 330 of 1047 · ports/core/crypto/libsodium

Homepage: https://libsodium.org/

Depends on: pkgconf.

Required by (6): devilutionx, keysmith, remmina, spyder, warzone2100, zeromq.

Sources: libsodium-1.0.22.tar.gz (1.9 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 libsodium'

build.sh:

export CFLAGS="${CFLAGS/-O2/-O3}"
./configure --prefix=/usr --libdir=/usr/lib --disable-static
make
make DESTDIR=$PKG install

Libraries: libsodium.so.

Directories: /usr/include/sodium, /usr/share/licenses/libsodium.