xref: /mports/security/aide/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	aide
2PORTVERSION=	0.18.6
3PORTREVISION=	2
4CATEGORIES=	security
5MASTER_SITES=	https://github.com/aide/aide/releases/download/v${PORTVERSION}/
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	File and directory integrity checker
9WWW=		https://aide.github.io/
10
11LICENSE=	gpl2
12
13LIB_DEPENDS=	libmhash.so:security/mhash \
14		libpcre2-8.so:devel/pcre2 \
15		libe2p.so:filesystems/e2fsprogs-core
16
17USES=		bison gmake localbase pkgconfig:build
18
19GNU_CONFIGURE=	yes
20GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
21CONFIGURE_ARGS+=--with-mhash \
22		--with-zlib \
23		--with-posix-acl \
24		--with-e2fsattrs \
25		--with-config_file=${PREFIX}/etc/aide.conf
26CONFIGURE_ENV=	YACC="bison -y" \
27		POSIX_ACL_CFLAGS="-I/usr/include/sys" \
28		POSIX_ACL_LIBS="-L/usr/lib" \
29		MHASH_CFLAGS="-I${LOCALBASE}/include" \
30		MHASH_LIBS="-L${LOCALBASE}/lib -lmhash"
31
32LDFLAGS+=	-lpthread
33
34SUB_FILES=	pkg-message
35
36post-install:
37	${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf.sample
38	${MKDIR} ${FAKE_DESTDIR}/var/db/aide/databases
39	${CHMOD} 0700 ${FAKE_DESTDIR}/var/db/aide ${FAKE_DESTDIR}/var/db/aide/databases
40
41.include <bsd.port.mk>
42

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026