From 9357f7e015c2c669233f6e505f6566f0015da9ac Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman <bofh@FreeBSD.org> Date: Mon, 22 Jan 2024 15:10:12 +0100 Subject: [PATCH] security/aide: Sanitize MANPREFIX Approved by: portmgr (blanket) --- security/aide/Makefile | 3 ++- security/aide/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/security/aide/Makefile b/security/aide/Makefile index 6150d7356a7f..b3344005693b 100644 --- a/security/aide/Makefile +++ b/security/aide/Makefile @@ -1,5 +1,6 @@ PORTNAME= aide PORTVERSION= 0.18.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/aide/aide/releases/download/v${PORTVERSION}/ @@ -14,11 +15,11 @@ LIB_DEPENDS= libmhash.so:security/mhash \ USES= bison gmake localbase pkgconfig:build GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+=--with-mhash \ --with-zlib \ --with-posix-acl \ --with-e2fsattrs \ - --mandir=${MANPREFIX}/man \ --with-config_file=${PREFIX}/etc/aide.conf CONFIGURE_ENV= YACC="bison -y" \ POSIX_ACL_CFLAGS="-I/usr/include/sys" \ diff --git a/security/aide/pkg-plist b/security/aide/pkg-plist index edd097ca6102..0588a59a5b3a 100644 --- a/security/aide/pkg-plist +++ b/security/aide/pkg-plist @@ -1,6 +1,6 @@ bin/aide @sample etc/aide.conf.sample -man/man1/aide.1.gz -man/man5/aide.conf.5.gz +share/man/man1/aide.1.gz +share/man/man5/aide.conf.5.gz @dir(,,0700) /var/db/aide/databases @dir(,,0700) /var/db/aide -- GitLab