qLinux
… a distribution study
<< Prev Logrotate-3.19.0
Next >> Libuv-1.43.0
Ntp-4.2.8p15
Reference: Ntp-4.2.8p15. Download: ntp-4.2.8p15.tar.gz. Fix the build system:
patch -Np1 -i ntp-4.2.8p15-bld-20220322.patch
Apply a patch to fix the sources:
patch -Np1 -i ntp-4.2.8p15-src-20220322.patch
The blfs book mentions a sed command which is not verified yet:
sed -e 's/"(\\S+)"/"?([^\\s"]+)"?/' -i scripts/update-leap/update-leap.in
Configure the package:
./configure --prefix=/qlnx \ --without-sntp \ --mandir=/qlnx/man \ --sbindir=/qlnx/bin \ --libexecdir=/qlnx/bin/libexec \ --datarootdir=/tmp \ --enable-ipv6
–sbindir=/qlnx/bin, –libexecdir=/qlnx/bin/libexec
    The installer creates these empty directories, thus we have to define the correct location.
–without-sntp
    Disable the simple network protocol (snmp)
–datarootdir=/tmp
    Prevent installing unwanted documentation and share data.
–enable-ipv6
    Not sure if this is necessary, but it does no harm if not.
Build and install ntp:
make make install
Remove a deprecated tool and obsolete man page:
rm -v /qlnx/bin/ntpdc rm -v /qlnx/man/man1/ntpdc.1 /qlnx/man/man1/sntp.1
Installed Files
bin: calc_tickadj, ntp-keygen, ntp-wait, ntpd, ntpdate, ntpq, ntptrace, tickadj, update-leap
man: calc_tickadj.1, ntp-keygen.1, ntp-wait.1, ntpd.1, ntpq.1, ntptrace.1, sntp.1, update-leap.1, ntp.conf.5, ntp.keys.5
<< Prev Logrotate-3.19.0
Next >> Libuv-1.43.0