Skip to content

Commit

Permalink
security/aide: Update to 0.18.6
Browse files Browse the repository at this point in the history
- Add libacl support
- Add e2fsprogs
- Remove obsolete patch file

PR:		275004
Approved by:	cy
  • Loading branch information
alonsobsd committed Nov 10, 2023
1 parent 0f3f670 commit 1b319a6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
13 changes: 10 additions & 3 deletions security/aide/Makefile
@@ -1,5 +1,5 @@
PORTNAME= aide
PORTVERSION= 0.17.4
PORTVERSION= 0.18.6
CATEGORIES= security
MASTER_SITES= https://github.com/aide/aide/releases/download/v${PORTVERSION}/

Expand All @@ -8,16 +8,23 @@ COMMENT= File and directory integrity checker
WWW= https://aide.github.io/

LIB_DEPENDS= libmhash.so:security/mhash \
libpcre.so:devel/pcre
libpcre.so:devel/pcre \
libe2p.so:sysutils/e2fsprogs-core

USES= bison gmake localbase

GNU_CONFIGURE= yes
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"
CONFIGURE_ENV= YACC="bison -y" \
POSIX_ACL_CFLAGS="-I/usr/include/sys" \
POSIX_ACL_LIBS="-L/usr/lib" \
MHASH_CFLAGS="-I${LOCALBASE}/include" \
MHASH_LIBS="-L${LOCALBASE}/lib -lmhash"

LDFLAGS+= -lpthread

Expand Down
6 changes: 3 additions & 3 deletions security/aide/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1642975384
SHA256 (aide-0.17.4.tar.gz) = c81505246f3ffc2e76036d43a77212ae82895b5881d9b9e25c1361b1a9b7a846
SIZE (aide-0.17.4.tar.gz) = 331783
TIMESTAMP = 1699587126
SHA256 (aide-0.18.6.tar.gz) = 8ff36ce47d37d0cc987762d5d961346d475de74bba8a1832fd006db6edd3c10e
SIZE (aide-0.18.6.tar.gz) = 383127
11 changes: 11 additions & 0 deletions security/aide/files/patch-Makefile.in
@@ -0,0 +1,11 @@
--- Makefile.in 2023-11-09 23:11:13.630766000 -0500
+++ Makefile.in 2023-11-09 23:11:38.720488000 -0500
@@ -377,7 +377,7 @@
CAPABILITIES_LIBS = @CAPABILITIES_LIBS@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ @E2FSATTRS_CFLAGS@
CHECK_CFLAGS = @CHECK_CFLAGS@
CHECK_LIBS = @CHECK_LIBS@
CPP = @CPP@
13 changes: 0 additions & 13 deletions security/aide/files/patch-src_commandconf.c

This file was deleted.

0 comments on commit 1b319a6

Please sign in to comment.