Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2024 20:40:15 GMT
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: 7b20f87790b6 - main - security/aide: Flavorize and add a without ACL flavor
Message-ID:  <202412122040.4BCKeFHV065267@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

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

commit 7b20f87790b64c5e3c068c4ab055f5f9758db0b7
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-12-05 00:31:21 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-12-12 20:39:51 +0000

    security/aide: Flavorize and add a without ACL flavor
    
    ZFS supports NFSv4 ACLs and UFS can optionally support them. UFS doesn't
    by default support ACLs unless specifically enabled.
    
    The default remains as before.
    
    PR:             283166
---
 security/aide/Makefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/security/aide/Makefile b/security/aide/Makefile
index c0cf6224f99b..ec7acb4d0ada 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -18,8 +18,6 @@ GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
 CONFIGURE_ARGS+=--with-mhash \
 		--with-zlib \
-		--with-posix-acl \
-		--with-e2fsattrs \
 		--with-config_file=${PREFIX}/etc/aide.conf
 CONFIGURE_ENV=	YACC="bison -y" \
 		POSIX_ACL_CFLAGS="-I/usr/include/sys" \
@@ -31,6 +29,17 @@ LDFLAGS+=	-lpthread
 
 SUB_FILES=	pkg-message
 
+FLAVORS=	default without_acl
+FLAVOR?=	${FLAVORS:[1]}
+
+.if ${FLAVOR:U} != without_acl
+CONFIGURE_ARGS+=--with-posix-acl \
+		--with-e2fsattrs
+.endif
+
+default_PKGNAMESUFFIX=
+without_acl_PKGNAMESUFFIX=	-without_acl
+
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${STAGEDIR}${PREFIX}/etc/aide.conf.sample
 	${MKDIR} ${STAGEDIR}/var/db/aide/databases



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412122040.4BCKeFHV065267>