pkgsrc/net/chrony/patches/patch-conf.c
hannken b21d20de70 Update chrony to version 1.31.1. For a full list of changes
since 1.29 see file NEWS in the distfile.

Security fixes since 1.29:

* Modify chronyc protocol to prevent amplification attacks (CVE-2014-0021)
  (incompatible with previous protocol version, chronyc supports both)
* Protect authenticated symmetric NTP associations against DoS attacks
  (CVE-2015-1799)
* Fix access configuration with subnet size indivisible by 4 (CVE-2015-1821)
* Fix initialization of reply slots for authenticated commands (CVE-2015-1822)
2015-04-13 10:03:21 +00:00

15 lines
556 B
C

$NetBSD: patch-conf.c,v 1.1 2015/04/13 10:03:21 hannken Exp $
Prepare for SUBST, not processed by configure.
--- conf.c.orig 2013-08-08 13:58:07.000000000 +0000
+++ conf.c
@@ -197,7 +197,7 @@ static IPAddr bind_cmd_address4, bind_cm
/* Filename to use for storing pid of running chronyd, to prevent multiple
* chronyds being started. */
-static char *pidfile = "/var/run/chronyd.pid";
+static char *pidfile = "@VARBASE@/run/chronyd.pid";
/* Temperature sensor, update interval and compensation coefficients */
static char *tempcomp_file = NULL;