Diff maildrop-3.0.2-r1 with a maildrop-3.1.4

/usr/portage/mail-filter/maildrop/maildrop-3.1.4.ebuild 2024-12-25 14:59:49.703270105 +0300
1 1
# Copyright 1999-2024 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"
......
15 15
LICENSE="GPL-3"
16 16
SLOT="0"
17 17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
18
IUSE="berkdb debug dovecot fam gdbm ldap mysql postgres static-libs authlib +tools trashquota"
18
IUSE="berkdb debug dovecot gdbm ldap mysql postgres static-libs authlib +tools trashquota"
19 19

  
20 20
CDEPEND="!mail-mta/courier
21 21
	net-mail/mailbase
22
	dev-libs/libpcre
23
	net-dns/libidn:0=
22
	dev-libs/libpcre2
23
	net-dns/libidn2:=
24 24
	>=net-libs/courier-unicode-2.0:=
25 25
	gdbm?     ( >=sys-libs/gdbm-1.8.0:= )
26 26
	mysql?    ( net-libs/courier-authlib )
27 27
	postgres? ( net-libs/courier-authlib )
28 28
	ldap?     ( net-libs/courier-authlib )
29 29
	authlib?  ( net-libs/courier-authlib )
30
	fam?      ( virtual/fam )
31 30
	!gdbm? (
32 31
		berkdb? ( >=sys-libs/db-3:= )
33 32
	)
......
49 48
	ldap? ( authlib )"
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!