git: 9357f7e015c2 - main - security/aide: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 15:51:03 UTC
The branch main has been updated by bofh:

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

commit 9357f7e015c2c669233f6e505f6566f0015da9ac
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 14:10:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 15:50:43 +0000

    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