aboutsummaryrefslogtreecommitdiff
path: root/network/openntpd/patches
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2015-03-27 19:28:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:08 +0700
commit7af86628b9e16a6f1196dddce80015d0e0d5d4e2 (patch)
treedd74b51b70a83a473fecc36db9d839bea650078f /network/openntpd/patches
parent6d787f017611d96f66fbf9d90587898a47b899ea (diff)
network/openntpd: Updated for version 5.7p4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openntpd/patches')
-rw-r--r--network/openntpd/patches/01-ntpctl_rename.diff20
-rw-r--r--network/openntpd/patches/02-ntpd_8_clean.diff4
-rw-r--r--network/openntpd/patches/02-ntpd_conf_5_clean.diff4
3 files changed, 14 insertions, 14 deletions
diff --git a/network/openntpd/patches/01-ntpctl_rename.diff b/network/openntpd/patches/01-ntpctl_rename.diff
index ee3f6e8f9615..5406b5cc359f 100644
--- a/network/openntpd/patches/01-ntpctl_rename.diff
+++ b/network/openntpd/patches/01-ntpctl_rename.diff
@@ -1,27 +1,27 @@
---- a/ntpd.c.orig 2015-01-20 03:30:41.000000000 +0100
-+++ b/ntpd.c 2015-01-20 10:53:39.968163875 +0100
-@@ -100,8 +100,9 @@ usage(void)
+--- a/src/ntpd.c.orig 2015-03-25 02:18:56.000000000 +0100
++++ b/src/ntpd.c 2015-03-25 14:55:29.964709538 +0100
+@@ -100,9 +100,8 @@ usage(void)
{
extern char *__progname;
- if (strcmp(__progname, "ntpctl") == 0)
-- fprintf(stderr, "usage: ntpctl [-s all | peers | Sensors | status]\n");
+- fprintf(stderr,
+- "usage: ntpctl -s all | peers | Sensors | status\n");
+ if (strcmp(__progname, "openntpctl") == 0)
-+ fprintf(stderr, "usage: %s [-s all | peers | Sensors | status]\n",
-+ __progname);
++ fprintf(stderr, "usage: %s -s all | peers | Sensors | status\n", __progname);
else
fprintf(stderr, "usage: %s [-dnSsv] [-f file] [-p file]\n",
__progname);
-@@ -128,7 +129,7 @@ main(int argc, char *argv[])
+@@ -131,7 +130,7 @@ main(int argc, char *argv[])
struct passwd *pw;
extern char *__progname;
- if (strcmp(__progname, "ntpctl") == 0) {
+ if (strcmp(__progname, "openntpctl") == 0) {
- ctl_main (argc, argv);
+ ctl_main(argc, argv);
/* NOTREACHED */
}
-@@ -624,7 +625,7 @@ ctl_main(int argc, char *argv[])
+@@ -598,7 +597,7 @@ ctl_main(int argc, char *argv[])
/* NOTREACHED */
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
@@ -30,7 +30,7 @@
bzero(&sa, sizeof(sa));
sa.sun_family = AF_UNIX;
-@@ -669,7 +670,7 @@ ctl_main(int argc, char *argv[])
+@@ -643,7 +642,7 @@ ctl_main(int argc, char *argv[])
if ((n = imsg_read(ibuf_ctl)) == -1)
err(1, "ibuf_ctl: imsg_read error");
if (n == 0)
diff --git a/network/openntpd/patches/02-ntpd_8_clean.diff b/network/openntpd/patches/02-ntpd_8_clean.diff
index 75382a8ca5c8..0c655cd186d1 100644
--- a/network/openntpd/patches/02-ntpd_8_clean.diff
+++ b/network/openntpd/patches/02-ntpd_8_clean.diff
@@ -1,5 +1,5 @@
---- a/ntpd.8.orig 2015-01-20 03:30:41.000000000 +0100
-+++ b/ntpd.8 2015-01-20 10:53:39.970163740 +0100
+--- a/src/ntpd.8.orig 2015-01-20 03:30:41.000000000 +0100
++++ b/src/ntpd.8 2015-01-20 10:53:39.970163740 +0100
@@ -99,19 +99,6 @@ adjusts the clock frequency using the
.Xr adjfreq 2
system call to compensate for systematic drift.
diff --git a/network/openntpd/patches/02-ntpd_conf_5_clean.diff b/network/openntpd/patches/02-ntpd_conf_5_clean.diff
index e616a7ed8b54..e3eecabf212f 100644
--- a/network/openntpd/patches/02-ntpd_conf_5_clean.diff
+++ b/network/openntpd/patches/02-ntpd_conf_5_clean.diff
@@ -1,5 +1,5 @@
---- a/ntpd.conf.5.orig 2015-01-08 11:35:23.671118459 +0100
-+++ b/ntpd.conf.5 2015-01-08 11:36:10.673989819 +0100
+--- a/src/ntpd.conf.5.orig 2015-01-08 11:35:23.671118459 +0100
++++ b/src/ntpd.conf.5 2015-01-08 11:36:10.673989819 +0100
@@ -196,9 +196,3 @@ The
.Nm
file format first appeared in