174.1. kbd-2.10.0
Key-table files, console utilities and the vlock console lock
2.10.0-1 · GPL-2.0-or-later · 1.1 SBU · 2.1 MiB, 451 files · 42_graphics, 59 of 189 · ports/core/base/kbd
Homepage: https://kbd-project.org/
Depends on: zlib, bzip2, xz, zstd, pam, libxkbcommon, xkeyboard-config.
Required by (1): kdos-tools.
Sources: kbd-2.10.0.tar.xz (1.7 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install kbd'
build.sh:
./configure --prefix=/usr --sysconfdir=/etc --disable-nls --disable-tests \
--enable-vlock \
--enable-xkb \
--with-zlib --with-bzip2 --with-lzma --with-zstd
for _h in HAVE_ZLIB HAVE_BZIP2 HAVE_LZMA HAVE_ZSTD; do
grep -q "^#define $_h 1" config.h || { echo "kbd: $_h missing" >&2; exit 1; }
done
grep -q '^XKBCOMMON_LIBS = .*-lxkbcommon' src/Makefile \
|| { echo "kbd: xkbcommon missing" >&2; exit 1; }
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/consolefonts"
install -d -m 755 "$PKG/etc/pam.d"
cat > "$PKG/etc/pam.d/vlock" << "EOF"
auth include system-auth
account include system-account
EOF
chmod 644 "$PKG/etc/pam.d/vlock"
Programs: chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbd_mode, kbdinfo, kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable, psfgettable, psfstriptable, psfxtable, resizecons, setfont, setkeycodes, setleds, setmetamode, setvtrgb, showconsolefont, showkey, unicode_start, unicode_stop, vlock.
Directories: /usr/share/consoletrans, /usr/share/keymaps, /usr/share/licenses/kbd, /usr/share/unimaps.