Diff aide-0.17.4-r4 with a aide-0.18

/usr/portage/app-forensics/aide/aide-0.18.ebuild 2023-10-09 14:52:28.748368331 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools readme.gentoo-r1
6
inherit readme.gentoo-r1
7 7

  
8 8
DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a file integrity checker"
9 9
HOMEPAGE="https://aide.github.io/ https://github.com/aide/aide"
......
14 14
KEYWORDS="amd64 ~arm64 x86"
15 15
IUSE="acl audit curl e2fs mhash selinux xattr"
16 16

  
17
DEPEND="dev-libs/libpcre
17
DEPEND="
18
	dev-libs/libpcre2
18 19
	sys-libs/zlib
19 20
	acl? ( virtual/acl )
20 21
	audit? ( sys-process/audit )
21 22
	curl? ( net-misc/curl )
22 23
	e2fs? ( sys-fs/e2fsprogs )
23 24
	!mhash? (
24
		dev-libs/libgcrypt:0=
25
		dev-libs/libgcrypt:=
25 26
		dev-libs/libgpg-error
26 27
	)
27 28
	mhash? ( app-crypt/mhash )
28 29
	selinux? ( sys-libs/libselinux )
29
	xattr? ( sys-apps/attr )"
30
RDEPEND="${DEPEND}
31
	selinux? ( sec-policy/selinux-aide )"
32
BDEPEND="sys-devel/bison
30
	xattr? ( sys-apps/attr )
31
"
32
RDEPEND="
33
	${DEPEND}
34
	selinux? ( sec-policy/selinux-aide )
35
"
36
BDEPEND="
37
	sys-devel/bison
33 38
	sys-devel/flex
34
	virtual/pkgconfig"
39
	virtual/pkgconfig
40
"
35 41

  
36 42
DISABLE_AUTOFORMATTING=1
37 43
DOC_CONTENTS="
......
42 48
A helper script, aideinit, was installed and can be used to make AIDE
43 49
management easier. Please run 'aideinit --help' for more information."
44 50

  
45
PATCHES=(
46
	"${FILESDIR}"/${PN}-0.16-fix-acl-configure-option.patch
47
	"${FILESDIR}"/${PN}-0.17.4-configure.patch
48
)
49

  
50 51
src_prepare() {
51 52
	default
52 53

  
......
56 57
	if [[ ${PV} == *_p* ]] ; then
57 58
		echo "m4_define([AIDE_VERSION], [${PV}])" > version.m4 || die
58 59
	fi
59

  
60
	# Can be dropped once Bashism patch is gone
61
	eautoreconf
62 60
}
63 61

  
64 62
src_configure() {
63
	# Needs Bison, flex
64
	unset YACC
65
	export LEX=flex
66

  
65 67
	local myeconfargs=(
66 68
		--sysconfdir="${EPREFIX}"/etc/${PN}
67 69

  
......
72 74
		# This doesn't affect anything because there are no localizations yet.
73 75
		--without-locale
74 76

  
75
		--without-prelink
76

  
77 77
		--with-zlib
78 78
		$(use_with curl)
79 79
		$(use_with acl posix-acl)
Thank you!