Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2025 23:00:29 +0000
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 216f935c17e2 - main - security/aide: Depend on a crypto library
Message-ID:  <691e4c0d.b894.72456dd9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by cy:

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

commit 216f935c17e2b4738ea231634f8160e5f7182d48
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-11-19 22:58:23 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-11-19 22:58:23 +0000

    security/aide: Depend on a crypto library
    
    When not specified the aide build automatically detects the installed
    crypto library. It bails if no library is found. We have a choice of
    libgcrypt or nettle. Default to libgcrypt but allow the user to
    select nettle.
---
 security/aide/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/security/aide/Makefile b/security/aide/Makefile
index a0a4f7b8cb42..389bc78eb601 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -28,6 +28,18 @@ CONFIGURE_ENV=	YACC="bison -y" \
 
 LDFLAGS+=	-lpthread
 
+OPTIONS_RADIO=	CRYPT
+OPTIONS_DEFAULT=	GCRYPT
+OPTIONS_RADIO_CRYPT=	GCRYPT NETTLE
+
+GCRYPT_DESC=	use GNU crypto library
+NETTLE_DESC=	use Nettle crypto library
+
+GCRYPT_CONFIGURE_WITH=	gcrypt
+GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
+NETTLE_CONFIGURE_WITH=	nettle
+NETTLE_LIB_DEPENDS=	libnettle.so:security/nettle
+
 SUB_FILES=	pkg-message
 
 FLAVORS=	default without_acl


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?691e4c0d.b894.72456dd9>