Diff maildrop-3.0.2-r1 with a maildrop-3.1.4

/usr/portage/mail-filter/maildrop/maildrop-3.1.4.ebuild 2023-10-09 14:52:31.580368403 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5
inherit flag-o-matic autotools
6 6

  
7 7
DESCRIPTION="Mail delivery agent/filter"
......
13 13
LICENSE="GPL-3"
14 14
SLOT="0"
15 15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
16
IUSE="berkdb debug dovecot fam gdbm ldap mysql postgres static-libs authlib +tools trashquota"
16
IUSE="berkdb debug dovecot gdbm ldap mysql postgres static-libs authlib +tools trashquota"
17 17

  
18 18
CDEPEND="!mail-mta/courier
19 19
	net-mail/mailbase
20
	dev-libs/libpcre
21
	net-dns/libidn:0=
20
	dev-libs/libpcre2
21
	net-dns/libidn2:=
22 22
	>=net-libs/courier-unicode-2.0:=
23 23
	gdbm?     ( >=sys-libs/gdbm-1.8.0:= )
24 24
	mysql?    ( net-libs/courier-authlib )
25 25
	postgres? ( net-libs/courier-authlib )
26 26
	ldap?     ( net-libs/courier-authlib )
27 27
	authlib?  ( net-libs/courier-authlib )
28
	fam?      ( virtual/fam )
29 28
	!gdbm? (
30 29
		berkdb? ( >=sys-libs/db-3:= )
31 30
	)
......
49 48
S=${WORKDIR}/${P%%_pre}
50 49

  
51 50
PATCHES=(
52
	"${FILESDIR}"/${PN}-3.0.0-testsuite.patch
53
	"${FILESDIR}"/${P}-makedat.patch
51
	"${FILESDIR}"/${PN}-3.1.1-testsuite.patch
52
	"${FILESDIR}"/${PN}-3.0.2-makedat.patch
54 53
)
55 54

  
56 55
src_prepare() {
......
59 58
		use berkdb && elog "Both gdbm and berkdb selected. Using gdbm."
60 59
	fi
61 60

  
62
	if ! use fam ; then
63
		eapply -p0 "${FILESDIR}"/${PN}-disable-fam.patch
64
	fi
65

  
66 61
	# no need to error out if no default - it will be given to econf anyway
67 62
	sed -i -e \
68 63
		's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \
......
74 69

  
75 70
src_configure() {
76 71
	local myeconfargs=(
77
		$(use_enable fam)
78 72
		--with-devel
79 73
		--disable-tempdir
80 74
		--enable-syslog=1
Thank you!