diff --git a/net/ntpsec/Makefile b/net/ntpsec/Makefile index 2f21af4c10b2..90bd8121b962 100644 --- a/net/ntpsec/Makefile +++ b/net/ntpsec/Makefile @@ -1,38 +1,39 @@ PORTNAME= ntpsec DISTVERSIONPREFIX= NTPsec_ DISTVERSION= 1_2_1-52 +PORTREVISION= 1 DISTVERSIONSUFFIX= -g5943108da CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Network Time Protocol suite, refactored LICENSE= BSD2CLAUSE LIB_DEPENDS= libdns_sd.so:net/mDNSResponder USES= cpe bison gettext-runtime pkgconfig python shebangfix ssl waf USE_GITHUB= yes USE_LDCONFIG= ${PREFIX}/lib/ntp SHEBANG_FILES= ${WRKSRC}/ntpclients/ntp*.py python_OLD_CMD= @PYSHEBANG@ CONFLICTS= ntp ntp-devel openntpd MAKE_ENV= NOSYNC=1 # workaround for the console problem: https://gitlab.com/NTPsec/ntpsec/issues/599 TEST_TARGET= check OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ENABLE= doc DOCS_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor # alternatively ntpsec can use asciidoc:textproc/asciidoc but it prefers asciidoctor PORTSCOUT= limit:^\d+\. # prevent alpha-numeric strings post-install: # autoplist: plist varies depending on the python version @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l | ${SED} -e 's|^share/man/.*|&.gz|' >> ${TMPPLIST} .include diff --git a/net/ntpsec/files/patch-ntpclients_ntpviz.py b/net/ntpsec/files/patch-ntpclients_ntpviz.py new file mode 100644 index 000000000000..0d33fcd26f92 --- /dev/null +++ b/net/ntpsec/files/patch-ntpclients_ntpviz.py @@ -0,0 +1,10 @@ +--- ntpclients/ntpviz.py.original 2022-02-14 19:02:54.755920000 +0100 ++++ ntpclients/ntpviz.py 2022-02-14 19:03:27.065022000 +0100 +@@ -1620,6 +1620,7 @@ + sys.stderr.write("ntpviz: INFO: now running at nice: %s\n" % nice) + + for fontpath in ("@PREFIX@/share/fonts/liberation", ++ "@PREFIX@/share/fonts/Liberation", + "@PREFIX@/share/fonts/liberation-fonts", + "@PREFIX@/share/fonts/truetype/liberation", + "/usr/share/fonts/liberation",