107.12. whois-5.6.6
WHOIS client for domains, IP blocks and AS numbers, and the mkpasswd password hasher
5.6.6-1 · GPL-2.0-or-later · 0.1 SBU · 154.3 KiB, 8 files · 41_system, 791 of 1047 · ports/core/net-diag/whois
Homepage: https://github.com/rfc1036/whois
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/net-diag.txt:
Who owns a domain or an address range. Nothing else on the image answers it.
Depends on: libidn2, perl, pkgconf.
Required by: no port names it.
Sources: whois-5.6.6.tar.xz (89.0 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install whois'
build.sh:
export CFLAGS="$CFLAGS -O2"
export CPPFLAGS="$CPPFLAGS -DHAVE_GETADDRINFO -DHAVE_GETOPT_LONG"
export CPPFLAGS="$CPPFLAGS -DHAVE_REGEXEC -DHAVE_SHA_CRYPT"
MAKEVARS=(CONFIG_FILE=/etc/whois.conf HAVE_ICONV=1)
make "${MAKEVARS[@]}" whois mkpasswd
make DESTDIR=$PKG prefix=/usr "${MAKEVARS[@]}" \
BASHCOMPDIR=/usr/share/bash-completion/completions \
install-whois install-mkpasswd install-bashcomp
Programs: mkpasswd, whois.
Directories: /usr/share/licenses/whois.