git: 730458eedd35 - main - net/openntpd: conditionalize ca_root_nss dependency on FreeBSD version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Sep 2025 13:41:51 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=730458eedd35df4ff719a6eaeff1213bde8bfd6c
commit 730458eedd35df4ff719a6eaeff1213bde8bfd6c
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2025-09-08 13:35:31 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2025-09-08 13:41:44 +0000
net/openntpd: conditionalize ca_root_nss dependency on FreeBSD version
__FreeBSD_version >= 1500063 already includes a certificate bundle
PR: 289323
Reported by: Herbert J. Skuhra <herbert@gojira.at>
---
net/openntpd/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 1e45209db085..abcc1a4e4225 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openntpd
PORTVERSION= 6.8p1
-PORTREVISION= 9
+PORTREVISION= 10
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= OPENBSD/OpenNTPD
@@ -11,8 +11,6 @@ WWW= https://www.openntpd.org/
LICENSE= ISCL
-RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
-
USES= cpe localbase ssl
CONFLICTS= ntp ntp-devel ntpsec
@@ -37,6 +35,11 @@ post-install:
.include <bsd.port.pre.mk>
+# certificate bundle
+.if !(${OPSYS} == FreeBSD && ${OSVERSION} >= 1500063)
+RUN_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
+.endif
+
# When using LibreSSL use its own libtls, but when using OpenSSL
# use libtls from libretls.
.if ${SSL_DEFAULT:Mlibressl*}