diff options
author | naddy <naddy@FreeBSD.org> | 2015-01-20 22:22:41 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2015-01-20 22:22:41 +0800 |
commit | 84f9132652e33fd538faf3a465abcaefefd5e4bd (patch) | |
tree | 2126bab45a7b3c2bfcad259fb93e48e793536a6f /net | |
parent | 79db519898953a7372e15b7cbb46f5482cc9039b (diff) | |
download | freebsd-ports-gnome-84f9132652e33fd538faf3a465abcaefefd5e4bd.tar.gz freebsd-ports-gnome-84f9132652e33fd538faf3a465abcaefefd5e4bd.tar.zst freebsd-ports-gnome-84f9132652e33fd538faf3a465abcaefefd5e4bd.zip |
Update to OpenNTPD 5.7p2. No user-visible changes.
Diffstat (limited to 'net')
-rw-r--r-- | net/openntpd/Makefile | 2 | ||||
-rw-r--r-- | net/openntpd/distinfo | 4 | ||||
-rw-r--r-- | net/openntpd/files/patch-ntpd.c | 25 |
3 files changed, 3 insertions, 28 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index 5bdecbaa793c..979ccbaf3945 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= openntpd -PORTVERSION= 5.7p1 +PORTVERSION= 5.7p2 PORTEPOCH= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_OPENBSD} diff --git a/net/openntpd/distinfo b/net/openntpd/distinfo index 4d82d6185217..f1b3445c8e31 100644 --- a/net/openntpd/distinfo +++ b/net/openntpd/distinfo @@ -1,2 +1,2 @@ -SHA256 (openntpd-5.7p1.tar.gz) = 071cfdcfc179c481568a2b8262945243a3123abfc7fa8831da1bbff3729b8307 -SIZE (openntpd-5.7p1.tar.gz) = 400113 +SHA256 (openntpd-5.7p2.tar.gz) = 1640ad4a6e6475f6065d5f999b17b5dc6ab40dc17309b782b9ae390fe54bd6a5 +SIZE (openntpd-5.7p2.tar.gz) = 408421 diff --git a/net/openntpd/files/patch-ntpd.c b/net/openntpd/files/patch-ntpd.c deleted file mode 100644 index e3358270787c..000000000000 --- a/net/openntpd/files/patch-ntpd.c +++ /dev/null @@ -1,25 +0,0 @@ ---- ntpd.c.orig 2015-01-08 06:57:55 UTC -+++ ntpd.c -@@ -515,7 +515,11 @@ readfreq(void) - log_warn("adjfreq failed"); - else if (current == 0) { - if (fscanf(fp, "%le", &d) == 1) -- ntpd_adjfreq(d, 0); -+ /* -+ * Drift file in ppm for compatibility -+ * with reference ntpd. -+ */ -+ ntpd_adjfreq(d / 1e6, 0); - else - log_warnx("can't read %s", DRIFTFILE); - } -@@ -538,7 +542,8 @@ writefreq(double d) - return 0; - } - -- fprintf(fp, "%e\n", d); -+ /* Drift file in ppm for compatibility with reference ntpd. */ -+ fprintf(fp, "%e\n", d * 1e6); - r = ferror(fp); - if (fclose(fp) != 0 || r != 0) { - if (warnonce) { |