[pkg-ntp-maintainers] [pkg-ntp] 09/13: Use tzdata leapfile in default configuration

Kurt Roeckx kurt at roeckx.be
Sun May 7 20:21:30 UTC 2017


On Sun, May 07, 2017 at 07:44:07PM +0000, Bernhard Schmidt wrote:
> diff --git a/debian/control b/debian/control
> index 05e5b85..1762f55 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -12,7 +12,7 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-ntp/pkg-ntp.git/
>  
>  Package: ntp
>  Architecture: any
> -Depends: adduser, lsb-base (>= 3.2-13), netbase, ${misc:Depends}, ${shlibs:Depends}
> +Depends: adduser, lsb-base (>= 3.2-13), netbase, tzdata, ${misc:Depends}, ${shlibs:Depends}
>  Pre-Depends: dpkg (>= 1.15.7.2)
>  Recommends: ${perl:Depends}
>  Suggests: ntp-doc
> diff --git a/debian/ntp.conf b/debian/ntp.conf
> index b51b4f9..d473b43 100644
> --- a/debian/ntp.conf
> +++ b/debian/ntp.conf
> @@ -2,6 +2,9 @@
>  
>  driftfile /var/lib/ntp/ntp.drift
>  
> +# Leap seconds definition provided by tzdata
> +leapfile /usr/share/zoneinfo/leap-seconds.list
> +
>  # Enable this if you want statistics to be logged.
>  #statsdir /var/log/ntpstats/

This has been something I wanted to do for a long time, but I
think we need a trigger on an update of that file to restart
ntpd.


Kurt




More information about the pkg-ntp-maintainers mailing list