Package Details: ntpclient 2015.365-2

Git Clone URL: https://aur.archlinux.org/ntpclient.git (read-only, click to copy)
Package Base: ntpclient
Description: A simple NTP (RFC-1305) client
Upstream URL: http://doolittle.icarus.com/ntpclient/
Licenses: GPL2
Submitter: anatolik
Maintainer: anatolik
Last Packager: anatolik
Votes: 3
Popularity: 0.000237
First Submitted: 2016-03-10 05:16 (UTC)
Last Updated: 2021-12-17 19:52 (UTC)

Latest Comments

Andy_Random commented on 2021-07-13 08:00 (UTC) (edited on 2021-07-13 08:02 (UTC) by Andy_Random)

Patch to get it work with newer kernels:


--- ntpclient.c.orig    2016-01-01 05:46:15.000000000 +0100
+++ ntpclient.c 2021-07-13 09:58:31.549510873 +0200
@@ -251,7 +251,7 @@
 {
 #ifdef PRECISION_SIOCGSTAMP
    struct timeval udp_arrival;
-   if ( ioctl(usd, SIOCGSTAMP, &udp_arrival) < 0 ) {
+   if ( ioctl(usd, SIOCGSTAMP_OLD, &udp_arrival) < 0 ) {
        perror("ioctl-SIOCGSTAMP");
        ntpc_gettime(&udp_arrival_ntp->coarse, &udp_arrival_ntp->fine);
    } else {

decklin commented on 2017-04-21 04:19 (UTC)

Could you install the adjtimex binary and the man pages for both? --- ntpclient.orig/PKGBUILD 2016-03-10 00:27:34.000000000 -0500 +++ ntpclient/PKGBUILD 2017-04-21 00:11:25.149371745 -0400 @@ -13,10 +13,11 @@ build() { cd ntpclient-${pkgver%.*} - make + make ntpclient adjtimex } package() { cd ntpclient-${pkgver%.*} - install -D -m755 ntpclient $pkgdir/usr/bin/ntpclient + install -t $pkgdir/usr/bin -D -m755 ntpclient adjtimex + install -t $pkgdir/usr/share/man/man1 -D -m644 ntpclient.1 adjtimex.1 }