106.18. chrony-4.9
NTP client and server (the clock TLS depends on)
4.9-1 · GPL-2.0-only · 0.2 SBU · 829.9 KiB, 7 files · 41_system, 810 of 1047 · ports/core/network/chrony
Homepage: https://chrony-project.org
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/network.txt:
The clock. Without it a skewed clock breaks TLS, so ports/fetch, git and every boxed app.
Depends on: gnutls, nettle, libedit.
Required by: no port names it.
Sources: chrony-4.9.tar.gz (648.3 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.
--without-libcap, line 18: libcap--without-seccomp, line 19: libseccomp--without-nss, line 21: nss
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install chrony'
build.sh:
./configure \
--prefix=/usr \
--sysconfdir=/etc/chrony \
--localstatedir=/var \
--chronyrundir=/run/chrony \
--chronyvardir=/var/lib/chrony \
--without-libcap \
--without-seccomp \
--disable-scfilter \
--without-nss \
--without-tomcrypt
make
make DESTDIR=$PKG install
install -d "$PKG/etc/chrony" "$PKG/var/lib/chrony"
cat > "$PKG/etc/chrony/chrony.conf" <<'EOF'
pool pool.ntp.org iburst
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
EOF
Programs: chronyc, chronyd.
Directories: /etc/chrony, /usr/share/licenses/chrony, /var/lib/chrony.