forked from Lainports/freebsd-ports
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
This commit is contained in:
parent
4052e19422
commit
7b20f87790
1 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue