Debian Patches

Status for ntpsec/1.2.0+dfsg1-4

Patch Description Author Forwarded Bugs Origin Last update
0001-ntpviz-Fix-format-string.patch [PATCH] ntpviz: Fix format string
'Experimental cleanups for lgtm. No logic changes'
broke this format string.
James Browning <jamesb.fe80@gmail.com> no 2020-10-05
0001-Don-t-generate-into-ASCIIfied-keys.patch [PATCH] Don't generate # into ASCIIfied keys. "Eric S. Raymond" <esr@thyrsus.com> no 2021-05-11
fix-the-libntpc-install-path.patch FFI: Fix the libntpc install path. James Browning <jamesb.fe80@gmail.com> yes 2020-10-14
systemd-use-wrapper.patch systemd: Use wrapper We use a wrapper script for various reasons. See the script for details. Richard Laager <rlaager@debian.org> not-needed 2019-09-23
systemd-fix-ntp-wait-service-paths.patch systemd: Fix ntp-wait.service paths - ntpwait is installed to /usr/sbin.
- ntpd.service is called ntpsec.service in this package
Richard Laager <rlaager@debian.org> not-needed 2019-09-23
systemd-configure-ntpviz.patch systemd: Configure ntpviz - Configure ntpviz to match the cron.d jobs
- ntpd.service is called ntpsec.service in this package
Richard Laager <rlaager@debian.org> not-needed 2019-09-23
remove-old-bug-note.patch Remove old bug note The ntpwait documentation has a BUGS section with a note about Python < 3.3.
This is not applicable on Debian, as we have newer versions of Python.
Richard Laager <rlaager@debian.org> not-needed vendor 2019-11-17
update-refclock-docs.patch Document disabled refclocks The Debian package disables refclocks which were already deprecated when the
package was initially created.

Also, the modem refclock is disabled. It "requires a Hayes-compatible 1200bps
modem, hardware now 20 years obsolete".

gpsd is a tough call. It's not deprecated upstream, and it still can work.
However, upstream recommends the use of SHM, as does every example HOWTO I
found with a quick search. Furthermore, it is buggy:
https://lists.ntpsec.org/pipermail/devel/2016-October/002392.html
Also, it "makes all sorts of non-standard assumptions about how gpsd is
configured. A configuration that is contorted and non-obvious":
https://lists.ntpsec.org/pipermail/devel/2016-October/002392.html
Most importantly, it is an attractive nuisance. If someone is told that the
best practice is to use "gpsd", they might logically think they should use the
gpsd driver.

See the configure step in debian/rules, which specifies the list of refclocks.
Richard Laager <rlaager@debian.org> not-needed vendor 2019-09-23
use-ntpsec-as-the-user.patch Use ntpsec as the user This is the user used in the ntpsec packaging, to stay out of the namespace
of the ntp package.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-11-16
use-etc-ntpsec.patch Use /etc/ntpsec This is the path used in the ntpsec packaging, to stay out of the namespace
of the ntp package.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-11-16
use-etc-ntpviz-for-header-and-footer.patch Use /etc/ntpviz for header and footer This provides conffiles in a reasonable location for the administrator to
customize the header and footer for ntpviz.
Richard Laager <rlaager@debian.org> not-needed vendor 2019-09-23
use-sbin-for-ntploggps-and-ntplogtemp.patch Use sbin for ntploggps and ntplogtemp We install ntploggps and ntplogtemp to /usr/sbin, so the man pages should be
in section 8, not section 1.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-11-16
use-var-lib-ntpsec-for-cookies.patch Use /var/lib/ntpsec for cookies This is the path used in the ntpsec packaging, to stay out of the namespace
of the ntp package.
-
Richard Laager <rlaager@debian.org> not-needed vendor 2020-11-16
use-var-lib-ntpsec-for-driftfile.patch Use /var/lib/ntpsec for driftfile This is the path used in the ntpsec packaging, to stay out of the namespace
of the ntp package.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-08-12
use-var-log-ntpsec-for-stats.patch Use /var/log/ntpsec for stats This is the path used in the ntpsec packaging, to avoid conflicting with the
ntp package, which uses /var/log/ntpstats.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-08-12
set-statsdir-by-default.patch Set statsdir by default This avoids the need to explicitly set "statsdir" in /etc/ntpsec/ntp.conf.
.
This is a change from the ntp ("NTP Classic") package, which requires the
statsdir to be explicitly set for logging to happen. However, that is only
happening because /var/NTP does not normally exist, so it is a bit of an
accidental feature.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-08-12
use-private-dir-for-libntpc.patch Use private dir for libntpc libntpc.so is only used by the Python library. In NTPsec 1.2.0 (when it
first appeared), upstream is installing to LIBDIR/ntp. However, the code
looks for it in PYTHONDIR and the system library search paths (e.g.
/usr/lib and /usr/lib/<triplet>). The proposed (but not yet committed) fix
for this is to move it LIBDIR. I have chosen to bring in that patch (since
it looks like that will be accepted) so the library is installed to LIBDIR
(which I am setting to /usr/lib/<triplet> in debian/rules) and then use the
python3-ntp.install file to move it to LIBDIR/ntp. This patch is then
necessary to search that location. Keeping it a private library in
LIBDIR/ntp avoids the need for full Debian library packaging. This can be
revisited once upstream clarifies whether this is intended to be a public
or private shared library.
Richard Laager <rlaager@debian.org> yes vendor 2020-11-16
disable-libssl-version-check.patch Disable libssl version check This sort of check should not be necessary, as dpkg-shlibdeps should
calculate a proper dependency.
Richard Laager <rlaager@debian.org> not-needed vendor 2020-12-21

All known versions for source package 'ntpsec'

Links