git: b6c274c6a726 - main - www/aria2: Drop ca_root_nss dependency.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Fri, 06 Oct 2023 09:35:57 UTC
The branch main has been updated by des:

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

commit b6c274c6a7264f1258cd3cff73035c06fca27bf9
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-10-06 09:15:33 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-10-06 09:35:48 +0000

    www/aria2: Drop ca_root_nss dependency.
    
    MFH:            2023Q4
    Reviewed by:    sunpoet
    Differential Revision:  https://reviews.freebsd.org/D42060
---
 www/aria2/Makefile | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index ebada4c49797..bc6af1230006 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	aria2
 PORTVERSION=	1.36.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/aria2/aria2/releases/download/release-${PORTVERSION}/ \
 		LOCAL/sunpoet
@@ -17,7 +17,7 @@ USES=		compiler:c++11-lib cpe libtool pathfix pkgconfig ssl tar:xz
 CONFIGURE_ARGS=	--disable-epoll \
 		--enable-bittorrent --enable-libaria2 --enable-metalink --enable-shared --enable-ssl --enable-threads=posix --enable-websocket \
 		--with-disk-cache=${ARIA2_DISK_CACHE} \
-		--with-libz --with-openssl \
+		--with-libz --with-openssl --without-ca-bundle \
 		--without-appletls --without-gnutls --without-libgcrypt --without-libgmp --without-libnettle
 CONFIGURE_ENV=	OPENSSL_CFLAGS=-I${OPENSSLINC} \
 		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
@@ -34,18 +34,14 @@ ARIA2_DISK_CACHE?=	16M
 
 CPE_VENDOR=	aria2_project
 
-OPTIONS_DEFINE=	CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2 STATIC
+OPTIONS_DEFINE=	CARES DOCS LIBUV NLS SQLITE SSH2 STATIC
 OPTIONS_SINGLE=	XML
 OPTIONS_SINGLE_XML=	EXPAT LIBXML2
-OPTIONS_DEFAULT=CA_BUNDLE LIBXML2 SQLITE STATIC
+OPTIONS_DEFAULT=LIBXML2 SQLITE STATIC
 OPTIONS_SUB=	yes
-CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
 LIBUV_DESC=	Event polling via libuv
 SSH2_DESC=	SSH2 protocol support
 
-CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
-CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
-CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 CARES_CONFIGURE_WITH=	libcares
 CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
 EXPAT_CONFIGURE_WITH=	libexpat