Package: ntpsec / 1.2.0+dfsg1-4
Metadata
| Package | Version | Patches format |
|---|---|---|
| ntpsec | 1.2.0+dfsg1-4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 ntpviz Fix format string.patch | (download) |
ntpclients/ntpviz.py |
2 1 + 1 - 0 ! |
[patch] ntpviz: fix format string 'Experimental cleanups for lgtm. No logic changes' broke this format string. Signed-off-by: Richard Laager <rlaager@wiktel.com> |
| 0001 Don t generate into ASCIIfied keys.patch | (download) |
ntpclients/ntpkeygen.py |
6 4 + 2 - 0 ! |
[patch] don't generate # into asciified keys. |
| fix the libntpc install path.patch | (download) |
libntp/wscript |
1 0 + 1 - 0 ! |
ffi: fix the libntpc install path. |
| systemd use wrapper.patch | (download) |
etc/ntpd.service |
3 2 + 1 - 0 ! |
systemd: use wrapper We use a wrapper script for various reasons. See the script for details. |
| systemd fix ntp wait service paths.patch | (download) |
etc/ntp-wait.service |
6 3 + 3 - 0 ! |
systemd: fix ntp-wait.service paths - ntpwait is installed to /usr/sbin. - ntpd.service is called ntpsec.service in this package |
| systemd configure ntpviz.patch | (download) |
etc/ntplogtemp.timer |
2 1 + 1 - 0 ! |
systemd: configure ntpviz - Configure ntpviz to match the cron.d jobs - ntpd.service is called ntpsec.service in this package |
| remove old bug note.patch | (download) |
docs/includes/ntpwait-body.adoc |
5 0 + 5 - 0 ! |
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. |
| update refclock docs.patch | (download) |
docs/refclock.adoc |
9 5 + 4 - 0 ! |
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. |
| use ntpsec as the user.patch | (download) |
docs/NTS-QuickStart.adoc |
2 1 + 1 - 0 ! |
use ntpsec as the user This is the user used in the ntpsec packaging, to stay out of the namespace of the ntp package. |
| use etc ntpsec.patch | (download) |
docs/NTS-QuickStart.adoc |
2 1 + 1 - 0 ! |
use /etc/ntpsec This is the path used in the ntpsec packaging, to stay out of the namespace of the ntp package. |
| use etc ntpviz for header and footer.patch | (download) |
docs/includes/ntpviz-body.adoc |
4 4 + 0 - 0 ! |
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. |
| use sbin for ntploggps and ntplogtemp.patch | (download) |
etc/ntploggps.service |
4 2 + 2 - 0 ! |
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. |
| use var lib ntpsec for cookies.patch | (download) |
docs/NTS-QuickStart.adoc |
5 2 + 3 - 0 ! |
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. |
| use var lib ntpsec for driftfile.patch | (download) |
docs/includes/ntpd-body.adoc |
2 1 + 1 - 0 ! |
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. |
| use var log ntpsec for stats.patch | (download) |
docs/quick.adoc |
2 1 + 1 - 0 ! |
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. |
| set statsdir by default.patch | (download) |
docs/includes/ntpd-body.adoc |
2 1 + 1 - 0 ! |
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.
|
| use private dir for libntpc.patch | (download) |
pylib/ntpc.py |
2 2 + 0 - 0 ! |
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. |
| disable libssl version check.patch | (download) |
ntpd/nts.c |
4 0 + 4 - 0 ! |
disable libssl version check This sort of check should not be necessary, as dpkg-shlibdeps should calculate a proper dependency. |
