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.000000
First Submitted: 2016-03-10 05:16 (UTC)
Last Updated: 2021-12-17 19:52 (UTC)

Latest Comments

dreieck commented on 2024-04-16 14:16 (UTC) (edited on 2024-04-16 14:16 (UTC) by dreieck)

(Currently,) opening $url or downloading the source times out.

There seem to be forks of this project -- maybe you should switch over to a working fork.
For example (just quick internet search -- without sighting the other results and checking which is legit):


wget -T 30 -vd -O /dev/null http://doolittle.icarus.com/ntpclient/:

Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.24.5 on linux-gnu.

Reading HSTS entries from /home/felics/.wget-hsts
URI encoding = ‘UTF-8’
--2024-04-16 16:13:28--  http://doolittle.icarus.com/ntpclient/
Resolving doolittle.icarus.com (doolittle.icarus.com)... 104.15.225.139
Caching doolittle.icarus.com => 104.15.225.139
Connecting to doolittle.icarus.com (doolittle.icarus.com)|104.15.225.139|:80... Closed fd 4
failed: Connection timed out.
Releasing 0x0000559ee94662f0 (new refcount 1).

wget -T 30 -vd -O /dev/null https://doolittle.icarus.com/ntpclient/ntpclient_2015_365.tar.gz:

Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.24.5 on linux-gnu.

Reading HSTS entries from /home/felics/.wget-hsts
URI encoding = ‘UTF-8’
--2024-04-16 16:14:30--  https://doolittle.icarus.com/ntpclient/ntpclient_2015_365.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Certificates loaded: 317
Resolving doolittle.icarus.com (doolittle.icarus.com)... 104.15.225.139
Caching doolittle.icarus.com => 104.15.225.139
Connecting to doolittle.icarus.com (doolittle.icarus.com)|104.15.225.139|:443... Closed fd 4
failed: Connection timed out.
Releasing 0x000055c9b073ebb0 (new refcount 1).

Regards!

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 }