aboutsummaryrefslogtreecommitdiff
path: root/net/openntpd
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2020-08-23 20:29:47 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2020-08-23 20:29:47 +0000
commit7d3866c9702144f93d7562ce7a40b2a3185f0125 (patch)
treecbd17a419e615ee91d8c56bdd25002bf48afee36 /net/openntpd
parent8cbdc0fbd62c5ff921e57f60261f865d59f82ae3 (diff)
Notes
Diffstat (limited to 'net/openntpd')
-rw-r--r--net/openntpd/Makefile2
-rw-r--r--net/openntpd/files/patch-src_ntp.c11
-rw-r--r--net/openntpd/files/patch-src_ntp__dns.c11
-rw-r--r--net/openntpd/files/patch-src_parse.y10
4 files changed, 33 insertions, 1 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 600f6622b1f9..b3e68ee8f06f 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -2,7 +2,7 @@
PORTNAME= openntpd
PORTVERSION= 6.2p3
-PORTREVISION= 6
+PORTREVISION= 7
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= OPENBSD/OpenNTPD
diff --git a/net/openntpd/files/patch-src_ntp.c b/net/openntpd/files/patch-src_ntp.c
new file mode 100644
index 000000000000..e7305be51ebe
--- /dev/null
+++ b/net/openntpd/files/patch-src_ntp.c
@@ -0,0 +1,11 @@
+--- src/ntp.c.orig 2017-06-19 13:23:10 UTC
++++ src/ntp.c
+@@ -42,7 +42,7 @@
+
+ volatile sig_atomic_t ntp_quit = 0;
+ struct imsgbuf *ibuf_main;
+-struct imsgbuf *ibuf_dns;
++static struct imsgbuf *ibuf_dns;
+ struct ntpd_conf *conf;
+ struct ctl_conns ctl_conns;
+ u_int peer_cnt;
diff --git a/net/openntpd/files/patch-src_ntp__dns.c b/net/openntpd/files/patch-src_ntp__dns.c
new file mode 100644
index 000000000000..9b3f7d770055
--- /dev/null
+++ b/net/openntpd/files/patch-src_ntp__dns.c
@@ -0,0 +1,11 @@
+--- src/ntp_dns.c.orig 2017-06-19 13:23:10 UTC
++++ src/ntp_dns.c
+@@ -33,7 +33,7 @@
+ #include "ntpd.h"
+
+ volatile sig_atomic_t quit_dns = 0;
+-struct imsgbuf *ibuf_dns;
++static struct imsgbuf *ibuf_dns;
+
+ void sighdlr_dns(int);
+ int dns_dispatch_imsg(void);
diff --git a/net/openntpd/files/patch-src_parse.y b/net/openntpd/files/patch-src_parse.y
new file mode 100644
index 000000000000..79da2ead2f49
--- /dev/null
+++ b/net/openntpd/files/patch-src_parse.y
@@ -0,0 +1,10 @@
+--- src/parse.y.orig 2020-08-23 20:10:30 UTC
++++ src/parse.y
+@@ -57,7 +57,6 @@ int lgetc(int);
+ int lungetc(int);
+ int findeol(void);
+
+-struct ntpd_conf *conf;
+ struct sockaddr_in query_addr4;
+ struct sockaddr_in6 query_addr6;
+