Diff courier-1.1.5-r3 with a courier-1.2.3-r1

/usr/portage/mail-mta/courier/courier-1.2.3-r1.ebuild 2023-10-09 14:52:31.588368403 +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

  
6
inherit flag-o-matic multilib
6
inherit flag-o-matic
7 7

  
8 8
DESCRIPTION="An MTA designed specifically for maildirs"
9 9
HOMEPAGE="https://www.courier-mta.org/"
......
11 11

  
12 12
LICENSE="GPL-3"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86"
14
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86"
15 15
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
16 16
	fam web webmail gnutls"
17 17

  
18 18
DEPEND="
19
	>=net-libs/courier-authlib-0.71.3
20
	>=net-libs/courier-unicode-2.2.3:=
21
	net-dns/libidn:=
19
	>=net-libs/courier-authlib-0.72.0
20
	>=net-libs/courier-unicode-2.2.6:=
21
	net-dns/libidn2:=
22 22
	gnutls? ( net-libs/gnutls:= )
23 23
	!gnutls? (
24 24
		dev-libs/openssl:0=
25 25
	)
26 26
	>=sys-libs/gdbm-1.8.0:=
27
	dev-libs/libpcre
27
	dev-libs/libpcre2
28 28
	app-misc/mime-types
29 29
	fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
30 30
	pam? ( sys-libs/pam )
......
36 36
	!mail-filter/maildrop
37 37
	!mail-mta/esmtp
38 38
	!mail-mta/exim
39
	!mail-mta/mini-qmail
40 39
	!mail-mta/msmtp[mta]
41 40
	!mail-mta/netqmail
42 41
	!mail-mta/nullmailer
43 42
	!mail-mta/postfix
44
	!mail-mta/qmail-ldap
45 43
	!mail-mta/sendmail
46 44
	!mail-mta/ssmtp[mta]
47 45
	!mail-mta/opensmtpd
......
56 54
# get rid of old style virtual/imapd - bug 350792
57 55
# all blockers really needed?
58 56
RDEPEND="${RDEPEND}
59
	!net-mail/bincimap
60 57
	!net-mail/courier-imap
61
	!net-mail/cyrus-imapd
62
	!net-mail/uw-imap"
58
	!net-mail/cyrus-imapd"
63 59

  
64 60
PDEPEND="pam? ( net-mail/mailbase )
65 61
	crypt? ( >=app-crypt/gnupg-1.0.4 )"
......
102 98
		--disable-autorenamesent \
103 99
		--cache-file="${S}/configuring.cache" \
104 100
		--host="${CHOST}" debug=true || die "./configure"
105
	sed -e'/^install-perms-local:/a\	sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
106 101
}
107 102

  
108 103
src_compile() {
......
132 127
	keepdir /var/lib/courier/tmp
133 128
	keepdir /var/lib/courier/msgs
134 129
	make install DESTDIR="${D}" || die "install"
135
	make install-configure || die "install-configure"
130
	make install-configure DESTDIR="${D}" || die "install-configure"
136 131

  
137 132
	# init script takes care of this
138 133
	rm -rf "${D}/var/run"
......
242 237

  
243 238
src_test() {
244 239
	if [ `whoami` != 'root' ]; then
240
		# Disable valgrind checks
241
		echo '#!/bin/sh' > libs/imap/testsuitevalgrind
242
		echo '#!/bin/sh' > libs/maildir/testsuitevalgrind
243
		sed -i -e 's:VALGRIND=:#VALGRIND=:g' libs/maildrop/Makefile*
245 244
		emake -j1 check
246 245
	else
247 246
		einfo "make check skipped, can't run as root."
Thank you!