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

79.10. cracklib-2.10.3

Password-strength checking library, with its small English word dictionary packed

2.10.3-1 · LGPL-2.1-or-later · 0.1 SBU · 880.0 KiB, 22 files · 41_system, 184 of 1047 · ports/core/auth/cracklib

Homepage: https://github.com/cracklib/cracklib

Depends on: zlib.

Required by (1): libpwquality.

Sources: cracklib-2.10.3.tar.xz (455.8 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

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

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-static \
	--disable-nls \
	--without-python \
	--with-default-dict=/usr/share/cracklib/pw_dict
make
make DESTDIR=$PKG install

util/cracklib-format dicts/cracklib-small > words.sorted
util/cracklib-packer "$PKG/usr/share/cracklib/pw_dict" < words.sorted

Programs: cracklib-check, cracklib-format, cracklib-packer, cracklib-unpacker, cracklib-update, create-cracklib-dict.

Libraries: libcrack.so.

Directories: /usr/share/cracklib, /usr/share/licenses/cracklib.