]>
git.ipfire.org Git - thirdparty/nqptp.git/log
Mike Brady [Wed, 13 May 2026 14:33:47 +0000 (15:33 +0100)]
Add release notes for version 1.2.8
Mike Brady [Wed, 13 May 2026 14:31:53 +0000 (15:31 +0100)]
1.2.8 -- with a man file and installer
Mike Brady [Wed, 13 May 2026 09:20:51 +0000 (10:20 +0100)]
Merge pull request #48 from bootc/feature/manpage
Add man page.
Chris Boot [Tue, 12 May 2026 09:25:15 +0000 (11:25 +0200)]
Add man page
This was written for the Debian project, which has a long tradition of
writing man pages for all installed binaries.
Fixes #47
Mike Brady [Tue, 5 May 2026 08:06:27 +0000 (09:06 +0100)]
Merge branch 'main' of github.com:mikebrady/nqptp
Online changes merged back.
Mike Brady [Tue, 5 May 2026 08:04:35 +0000 (09:04 +0100)]
Add release notes for version 1.2.7
Added release notes for version 1.2.7, including updates on pkg-config usage and configuration options.
Mike Brady [Tue, 5 May 2026 07:44:54 +0000 (08:44 +0100)]
Update AM version number.
Mike Brady [Tue, 5 May 2026 07:41:51 +0000 (08:41 +0100)]
Merge pull request #46 from bootc/systemdsystemunitdir
Use pkg-config to determine systemdsystemunitdir
Chris Boot [Mon, 4 May 2026 11:50:26 +0000 (13:50 +0200)]
use pkg-config to determine systemdsystemunitdir
The systemd unit file is currently installed under
$(libdir)/systemd/system, which is incorrect on multiarch systems (e.g.
Debian and Ubuntu, where libdir should be /usr/lib/aarch64-linux-gnu/
on arm64).
Add PKG_PROG_PKG_CONFIG and a --with-systemdsystemunitdir configure
option. When not explicitly set it queries the 'systemd' pkg-config
module for the correct path, falling back to
$(prefix)/lib/systemd/system if that didn't work.
This allows downstream packagers to override the path cleanly:
./configure --with-systemd-startup \
--with-systemdsystemunitdir=/usr/lib/systemd/system
Fixes #45
Mike Brady [Thu, 12 Feb 2026 12:26:10 +0000 (12:26 +0000)]
Update RELEASE_NOTES.md for version 1.2.6
Updated release notes for version 1.2.6, including improvements to synchronization and instructions for updating existing installations.
Mike Brady [Thu, 12 Feb 2026 12:13:54 +0000 (12:13 +0000)]
Mike Brady [Thu, 6 Feb 2025 16:36:28 +0000 (16:36 +0000)]
Update README.md
Mike Brady [Thu, 5 Dec 2024 14:56:29 +0000 (14:56 +0000)]
Make debug_print_buffer check the debug level before doing any work. Set suggested compiler optimisation level to -O3.
Mike Brady [Mon, 5 Aug 2024 17:29:25 +0000 (18:29 +0100)]
Release Note Update
Mike Brady [Mon, 5 Aug 2024 17:20:26 +0000 (18:20 +0100)]
Use check-gitversion for improved use of 'git describe' information for versioning.
Mike Brady [Fri, 3 May 2024 08:59:09 +0000 (09:59 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Thu, 2 May 2024 15:13:56 +0000 (16:13 +0100)]
Set a FIFO scheduling policy and a priority of -6 so tat the timinig accuracy stays high under load.
Mike Brady [Mon, 1 Apr 2024 15:59:54 +0000 (16:59 +0100)]
Update README.md
Mike Brady [Mon, 1 Apr 2024 15:22:53 +0000 (16:22 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Mon, 1 Apr 2024 14:57:23 +0000 (15:57 +0100)]
Use the systemd DynamicUser facility, and don't define the nqptp user and group anymore.
Mike Brady [Mon, 1 Apr 2024 14:36:56 +0000 (15:36 +0100)]
No longer define the user "nqptp" because it's not strictly needed with the DynamicUser option.
Mike Brady [Mon, 1 Apr 2024 14:25:41 +0000 (15:25 +0100)]
Use DynamicUser=yes in systemd-based Linux, but continue to specify the name of the user to be "nqptp"
Mike Brady [Wed, 28 Feb 2024 17:26:12 +0000 (17:26 +0000)]
Update RELEASE_NOTES.md
Mike Brady [Wed, 28 Feb 2024 17:22:07 +0000 (17:22 +0000)]
Merge pull request #34 from heitbaum/patch-1
change setcap to AmbientCapabilities in README.md
Rudi Heitbaum [Wed, 28 Feb 2024 11:48:04 +0000 (22:48 +1100)]
change setcap to AmbientCapabilities in README.md
Mike Brady [Sun, 25 Feb 2024 17:50:00 +0000 (17:50 +0000)]
Update RELEASE_NOTES.md
Mike Brady [Sun, 25 Feb 2024 17:03:41 +0000 (17:03 +0000)]
Merge pull request #32 from qerub/patch-1
Add missing rm command to README.md
Mike Brady [Sun, 25 Feb 2024 17:03:03 +0000 (17:03 +0000)]
Merge pull request #31 from klemensn/openbsd
Support OpenBSD
Christoffer Sawicki [Sun, 18 Feb 2024 22:11:31 +0000 (23:11 +0100)]
Add missing rm command to README.md
Klemens Nanni [Sat, 27 Jan 2024 05:44:35 +0000 (06:44 +0100)]
Hoist control socket handling, restrict runtime on OpenBSD
Use pledge(2) to prevent fork/exec, filesystem access and other
unused subsets of system calls, effectively leaving only shared
memory and networking capabilities at runtime.
(Those might be further reduced, but that warrants further analysis
and most likely more code shuffling.)
Klemens Nanni [Sat, 27 Jan 2024 04:36:29 +0000 (05:36 +0100)]
Hoist PTP socket handling, drop privileges on OpenBSD
bind(2)ing ports below 1024 is the only privileged operation NQPTP does.
Move its code up in main() before shared memory handling such that root
privileges can be dropped immediately after it; no currently supported
system does that, thus this should be a NOOP.
Do so on OpenBSD where shm_open(3) does not allow access to shared memory
objects by multiple UIDs, i.e. to communicate, shairport-sync and NQPTP
must create them and run as the very same user.
OpenBSD's official audio/shairport-sync user provides an rc.d(8) daemon
script that runs as `_shairport` user.
Klemens Nanni [Sat, 27 Jan 2024 00:38:42 +0000 (01:38 +0100)]
Build on OpenBSD
Recognise the system to configure, build and start.
More work is required to actually work with shairport-sync.
Tested on OpenBSD/amd64 7.4-current.
Mike Brady [Sun, 15 Oct 2023 18:01:55 +0000 (19:01 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Sun, 15 Oct 2023 17:59:14 +0000 (18:59 +0100)]
Change Linux installation to use AmbientCapabilities from systemd. Fix FreeBSD compilation errors.
Mike Brady [Wed, 20 Sep 2023 08:55:55 +0000 (09:55 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Tue, 19 Sep 2023 20:55:44 +0000 (21:55 +0100)]
reorder the include files for FreeBSD
Mike Brady [Tue, 19 Sep 2023 10:18:05 +0000 (11:18 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Tue, 19 Sep 2023 10:17:19 +0000 (11:17 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Tue, 19 Sep 2023 10:08:27 +0000 (11:08 +0100)]
Improve some of the error messages. Remove the setcap command from Makefile.am, since we are now using an AmbientCapabilities setting in the systemd service file.
Mike Brady [Tue, 19 Sep 2023 09:59:35 +0000 (10:59 +0100)]
Update README.md
Mike Brady [Tue, 19 Sep 2023 09:59:10 +0000 (10:59 +0100)]
Update README.md
Mike Brady [Tue, 19 Sep 2023 08:43:33 +0000 (09:43 +0100)]
Merge pull request #26 from Hs-Yeah/development
Added AmbientCapabilities to nqptp.service.in
Hs_Yeah [Mon, 18 Sep 2023 19:12:47 +0000 (03:12 +0800)]
Added AmbientCapabilities to nqptp.service.in
Added AmbientCapabilities=CAP_NET_BIND_SERVICE
so that the systemd service can be used without the capability set on the built nqptp binary.
Mike Brady [Mon, 18 Sep 2023 16:20:56 +0000 (17:20 +0100)]
Update README.md
Mike Brady [Sat, 16 Sep 2023 17:56:35 +0000 (18:56 +0100)]
Updated release notes
Mike Brady [Sat, 16 Sep 2023 17:51:55 +0000 (18:51 +0100)]
Update release notes, readme and configuration version number.
Mike Brady [Tue, 12 Sep 2023 10:29:22 +0000 (11:29 +0100)]
Update README.md
Mike Brady [Mon, 11 Sep 2023 16:08:55 +0000 (17:08 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Mon, 11 Sep 2023 16:08:27 +0000 (17:08 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Mon, 11 Sep 2023 16:08:02 +0000 (17:08 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Mon, 11 Sep 2023 16:06:45 +0000 (17:06 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Mon, 11 Sep 2023 15:49:34 +0000 (16:49 +0100)]
Move to smi version 10, read-only interface, no mutex, write and read each record twice to ensure it is not inconsistent when read.
Mike Brady [Mon, 11 Sep 2023 15:39:22 +0000 (16:39 +0100)]
Update README.md
Mike Brady [Mon, 11 Sep 2023 15:38:28 +0000 (16:38 +0100)]
Update README.md
Mike Brady [Mon, 11 Sep 2023 15:21:24 +0000 (16:21 +0100)]
Update README.md
Mike Brady [Mon, 11 Sep 2023 15:19:58 +0000 (16:19 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2023 18:03:23 +0000 (19:03 +0100)]
1.2.4d0
Mike Brady [Mon, 4 Sep 2023 16:17:36 +0000 (17:17 +0100)]
Fix a bug whereby a maliciously-crafted packet received on the control port could crash the program.
Mike Brady [Sat, 12 Aug 2023 17:25:58 +0000 (18:25 +0100)]
Fix a crashing bug with an empty command string and check for missing or bad parameters a bit more carefully
Mike Brady [Tue, 23 May 2023 15:52:34 +0000 (16:52 +0100)]
Update README.md
Remove references to the `development` branch!
Mike Brady [Mon, 22 May 2023 09:25:39 +0000 (10:25 +0100)]
1.2.2d0
Mike Brady [Mon, 22 May 2023 09:18:48 +0000 (10:18 +0100)]
bump version number
Mike Brady [Sun, 21 May 2023 12:39:15 +0000 (13:39 +0100)]
Include lightweight tags and note if broken.
Mike Brady [Sun, 21 May 2023 12:26:20 +0000 (13:26 +0100)]
merge updates from 1.2 main
Mike Brady [Sat, 20 May 2023 17:10:39 +0000 (18:10 +0100)]
actually make it 1.2
Mike Brady [Sat, 20 May 2023 16:58:47 +0000 (17:58 +0100)]
version 1.2rc0
Mike Brady [Sat, 20 May 2023 16:56:15 +0000 (17:56 +0100)]
update Release Notes
Mike Brady [Sat, 20 May 2023 15:47:38 +0000 (16:47 +0100)]
slight change in format of output of the smi in the -V command.
Mike Brady [Sat, 20 May 2023 15:46:17 +0000 (16:46 +0100)]
slight change in format of output of the smi in the -V command.
Mike Brady [Sat, 20 May 2023 12:03:57 +0000 (13:03 +0100)]
Merge branch 'main' into development
Typo
Mike Brady [Sat, 20 May 2023 11:54:23 +0000 (12:54 +0100)]
Merge pull request #21 from tsbernar/patch-1
Update README.md
Mike Brady [Sat, 20 May 2023 11:51:35 +0000 (12:51 +0100)]
Documentation and version string updates.
Mike Brady [Tue, 18 Apr 2023 14:05:59 +0000 (15:05 +0100)]
Fix a FreeBSD compilation error.
Trevor Bernard [Sat, 8 Apr 2023 17:39:36 +0000 (12:39 -0500)]
Update README.md
small typo
Mike Brady [Sun, 2 Apr 2023 18:50:16 +0000 (19:50 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Sun, 2 Apr 2023 14:34:15 +0000 (15:34 +0100)]
Merge branch 'development' of github.com:mikebrady/nqptp into development
Online updates merged.
Mike Brady [Sun, 2 Apr 2023 14:28:31 +0000 (15:28 +0100)]
Change open_sockets_at_port to be satisfied with just one port on IPv4 or IPv6. Fix misleading message.
Mike Brady [Thu, 30 Mar 2023 09:26:38 +0000 (10:26 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Thu, 30 Mar 2023 09:26:21 +0000 (10:26 +0100)]
Update RELEASE_NOTES.md
Mike Brady [Thu, 30 Mar 2023 09:20:37 +0000 (10:20 +0100)]
Merge branch 'development' of github.com:mikebrady/nqptp into development
Merge other update.
Mike Brady [Thu, 30 Mar 2023 09:19:28 +0000 (10:19 +0100)]
Tune the weights of additions and reductions.
Mike Brady [Thu, 2 Mar 2023 13:00:40 +0000 (13:00 +0000)]
Fix a bug -- use the previous offset if a negative jitter for the first period. Fix a misleading comment.
Mike Brady [Mon, 13 Feb 2023 08:55:36 +0000 (08:55 +0000)]
Update README.md
Mike Brady [Mon, 13 Feb 2023 08:54:27 +0000 (08:54 +0000)]
Update README.md
Mike Brady [Fri, 27 Jan 2023 18:40:27 +0000 (18:40 +0000)]
Update RELEASE_NOTES.md
Mike Brady [Fri, 27 Jan 2023 18:30:50 +0000 (18:30 +0000)]
Add modifications suggested by https://github.com/mikebrady/nqptp/issues/14 to restrict UDP write access to 9000 to the localhost.
Mike Brady [Fri, 27 Jan 2023 18:14:17 +0000 (18:14 +0000)]
Merge pull request #17 from Weidav/main
typo: remove duplicate you
Mike Brady [Thu, 19 Jan 2023 15:16:26 +0000 (15:16 +0000)]
Update RELEASE_NOTES.md
Mike Brady [Thu, 19 Jan 2023 14:46:15 +0000 (14:46 +0000)]
Enhance an error message.
Mike Brady [Wed, 14 Dec 2022 10:22:45 +0000 (10:22 +0000)]
Update README.md
Mike Brady [Tue, 13 Dec 2022 09:42:45 +0000 (09:42 +0000)]
Tidy up a few comments.
Mike Brady [Tue, 13 Dec 2022 09:31:12 +0000 (09:31 +0000)]
Bump the SHM Interface number to note new commands.
Mike Brady [Tue, 13 Dec 2022 09:07:02 +0000 (09:07 +0000)]
Add version string to initial debug message
Work out when the clock can be relied upon not to go to sleep, i.e. is "active". This is when SPS is playing (B) or paused (P) and for brief periods after the clock is selected (T) and after play ends (E).
SPS signals Play/Pause/End/Timer Select/Timer Release with B/P/E/T messages -- B for "Begin". "T <ip>" means select the clock at that address. "T" means release the clock.
Reset clock smoothing when the clock goes "active" but not at any other time.
Clamp reductions in the offset calculated as a uint64_t remote-time-now_ns - local-time-now_ns -- and which it is assumed are due to delays in the network when the clock is "active" -- to 2.5 mS.
Turn off clock updates when the clock is not "active" -- i.e. when SPS is not paying or paused.
Remove some redundant features and code.
Mike Brady [Sat, 10 Dec 2022 11:55:03 +0000 (11:55 +0000)]
Add ability to receive status information from SPS B/E/P for Begin/End/Pause play. Assume clocks don't sleep between Begin and End and are valid for short times after T and after E. More cleaning up to do.
Mike Brady [Wed, 7 Dec 2022 14:44:11 +0000 (14:44 +0000)]
Allow clock to resent if the grandmaster is the same as the master and it stops for two or more samples. Always send a wakeup to the master at the start.
Mike Brady [Mon, 5 Dec 2022 13:33:24 +0000 (13:33 +0000)]
Small documentation update
Mike Brady [Sat, 19 Nov 2022 09:12:54 +0000 (09:12 +0000)]
Update README.md
weidav [Thu, 29 Sep 2022 16:27:02 +0000 (18:27 +0200)]
typo: remove duplicate you
Mike Brady [Thu, 15 Sep 2022 14:36:45 +0000 (15:36 +0100)]
Merge from main.
Mike Brady [Thu, 15 Sep 2022 14:33:45 +0000 (15:33 +0100)]
Small changes to debug messages.