Debian Patches

Status for ntpsec/1.2.3+dfsg1-1

Patch Description Author Forwarded Bugs Origin Last update
systemd-rename-service.patch systemd: Rename service We name the service ntpsec.service to match the package name. Richard Laager <rlaager@debian.org> not-needed 2022-03-05
systemd-alias-ntpsec.patch systemd: Alias ntpsec Add an alias of ntpd.service, which is the upstream name. Richard Laager <rlaager@debian.org> not-needed 2022-03-05
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 2022-03-05
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 2023-01-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 2024-03-10
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 2024-03-10
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 2024-03-10
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 2024-03-10
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 2024-03-10
ntpdate-disable-json.patch ntpdate: Disable JSON Stop passing -j to ntpdig so we get human-readable output instead of JSON. Richard Laager <rlaager@wiktel.com> not-needed debian 2022-09-27
downgrade-missing-stats-dir-log-severity.patch Downgrade missing stats dir log severity The Debian package does not create /var/log/ntpsec by default. The admin is
directed (by a comment in ntp.conf) to create it if and only if they want
logging. However, upstream ntpsec logs an error message if the log directory
does not exist.
Santiago Vila <sanvila@debian.org> not-needed vendor 2024-03-10

All known versions for source package 'ntpsec'

Links