Using FreeBSD 12.4p6 AMD64 net/ntpsec 1.2.2a as of 20231106T2022 I cannot find any way to build the port with support for refclock drivers, thus my Stratum-1 server is either now St.2+ or I have to use one of the other ports of ntp. Thanks for considering this, Carl
Does it work if you apply the below patch? diff --git a/net/ntpsec/Makefile b/net/ntpsec/Makefile index 6a9c91c5e07c..a4e4c2822ee9 100644 --- a/net/ntpsec/Makefile +++ b/net/ntpsec/Makefile @@ -18,6 +18,8 @@ USE_LDCONFIG= ${PREFIX}/lib/ntp SHEBANG_FILES= ${WRKSRC}/ntpclients/ntp*.py python_OLD_CMD= @PYSHEBANG@ +CONFIGURE_ARGS+= --refclock=all + CONFLICTS= ntp ntp-devel openntpd MAKE_ENV= NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPsec/ntpsec/issues/599
Hi celkins, Thanks for your report. The REFCLOCKS option was added. Please let me know if this solves the problem. Please reopen this bug report if there's still a problem. Thanks! Yuri
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b4d54a945c6020f0159f6523343c4e02d905b80 commit 0b4d54a945c6020f0159f6523343c4e02d905b80 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-11-06 22:22:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-11-06 22:25:52 +0000 net/ntpsec: Add REFCLOCKS option PR: 274944 Reported by: celkins <carl@elkins.me.uk> net/ntpsec/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)