git: 6541de15bc62 - main - net/ntpd-rs: Update to 1.1.3

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 12 Jul 2024 11:24:24 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6541de15bc620983f87c8b7528f4c08a5026b457

commit 6541de15bc620983f87c8b7528f4c08a5026b457
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-07-12 11:16:54 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-07-12 11:16:54 +0000

    net/ntpd-rs: Update to 1.1.3
    
     - Install nts-pool-ke
     - Minor changes to Makefile
---
 net/ntpd-rs/Makefile  | 16 +++++++---------
 net/ntpd-rs/distinfo  |  6 +++---
 net/ntpd-rs/pkg-plist |  1 +
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/net/ntpd-rs/Makefile b/net/ntpd-rs/Makefile
index 4ada451e65b6..b5342190b7df 100644
--- a/net/ntpd-rs/Makefile
+++ b/net/ntpd-rs/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	ntpd-rs
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.2
-PORTREVISION=	3
+DISTVERSION=	1.1.3
 CATEGORIES=	net
 
 MAINTAINER=	mikael@FreeBSD.org
@@ -15,24 +14,23 @@ LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
 
 USES=		cargo
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	pendulum-project
+
 USE_RC_SUBR=	ntp_daemon
 USERS=		_ntp
 GROUPS=		_ntp
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	pendulum-project
-CARGO_CRATES=
-
-BINFILES=	ntp-ctl ntp-daemon ntp-metrics-exporter
+BINFILES=	ntp-ctl ntp-daemon ntp-metrics-exporter nts-pool-ke
 
 post-patch:
-	@${REINPLACE_CMD} 's|%%ETCDIR%%|${ETCDIR}|' ${WRKSRC}/ntpd/src/daemon/config/mod.rs
+	@${REINPLACE_CMD} 's|%%ETCDIR%%|${ETCDIR}|' \
+	    ${PATCH_WRKSRC}/ntpd/src/daemon/config/mod.rs
 
 do-install:
 .for f in ${BINFILES}
 	${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/${f} ${STAGEDIR}${LOCALBASE}/bin
 .endfor
-
 	${MKDIR} ${STAGEDIR}${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/ntp.server.toml ${STAGEDIR}${ETCDIR}/ntp.server.toml.sample
 	${INSTALL_DATA} ${WRKSRC}/docs/examples/conf/ntp.toml.default ${STAGEDIR}${ETCDIR}/ntp.toml.sample
diff --git a/net/ntpd-rs/distinfo b/net/ntpd-rs/distinfo
index b5279ec1dc89..41574c3ef478 100644
--- a/net/ntpd-rs/distinfo
+++ b/net/ntpd-rs/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1710670752
+TIMESTAMP = 1719780905
 SHA256 (rust/crates/addr2line-0.21.0.crate) = 8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb
 SIZE (rust/crates/addr2line-0.21.0.crate) = 40807
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
@@ -225,5 +225,5 @@ SHA256 (rust/crates/winnow-0.5.34.crate) = b7cf47b659b318dccbd69cc4797a39ae128f5
 SIZE (rust/crates/winnow-0.5.34.crate) = 154055
 SHA256 (rust/crates/zeroize-1.7.0.crate) = 525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d
 SIZE (rust/crates/zeroize-1.7.0.crate) = 19039
-SHA256 (pendulum-project-ntpd-rs-v1.1.2_GH0.tar.gz) = 83f5f19acf98ea3a16c9a1256d02edaf1b2f49383a4f550d6a325cab8e8b2d4b
-SIZE (pendulum-project-ntpd-rs-v1.1.2_GH0.tar.gz) = 1108838
+SHA256 (pendulum-project-ntpd-rs-v1.1.3_GH0.tar.gz) = 8110538b5aca9588215590390dd04d9609d476bf7faafb92e37fba918bd3ef9c
+SIZE (pendulum-project-ntpd-rs-v1.1.3_GH0.tar.gz) = 1110482
diff --git a/net/ntpd-rs/pkg-plist b/net/ntpd-rs/pkg-plist
index 37d8c407f22c..f588d7c4fe7f 100644
--- a/net/ntpd-rs/pkg-plist
+++ b/net/ntpd-rs/pkg-plist
@@ -1,5 +1,6 @@
 bin/ntp-ctl
 bin/ntp-daemon
 bin/ntp-metrics-exporter
+bin/nts-pool-ke
 @sample %%ETCDIR%%/ntp.server.toml.sample
 @sample %%ETCDIR%%/ntp.toml.sample