Gentoo Archives: gentoo-commits

From: Eray Aslan <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/dovecot/
Date: Fri, 17 Sep 2021 05:44:51
Message-Id: 1631857469.20dac6145e40477473a4c6517e55fb2e2418489d.eras@gentoo
1 commit: 20dac6145e40477473a4c6517e55fb2e2418489d
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 05:44:29 2021 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 05:44:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20dac614
7
8 net-mail/dovecot: clean up compress USE flags
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Eray Aslan <eras <AT> gentoo.org>
12
13 net-mail/dovecot/dovecot-2.3.16-r1.ebuild | 14 +++++++-------
14 1 file changed, 7 insertions(+), 7 deletions(-)
15
16 diff --git a/net-mail/dovecot/dovecot-2.3.16-r1.ebuild b/net-mail/dovecot/dovecot-2.3.16-r1.ebuild
17 index 944c319e573..e247acb3400 100644
18 --- a/net-mail/dovecot/dovecot-2.3.16-r1.ebuild
19 +++ b/net-mail/dovecot/dovecot-2.3.16-r1.ebuild
20 @@ -32,7 +32,7 @@ LICENSE="LGPL-2.1 MIT"
21 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
22
23 IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite"
24 -IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib zstd"
25 +IUSE_DOVECOT_COMPRESS="lz4 zstd"
26 IUSE_DOVECOT_OTHER="argon2 caps doc ipv6 lucene managesieve rpc
27 selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind"
28
29 @@ -41,18 +41,19 @@ IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}"
30 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
31
32 DEPEND="
33 + app-arch/bzip2
34 + app-arch/xz-utils
35 dev-libs/icu:=
36 dev-libs/openssl:0=
37 + sys-libs/zlib:=
38 virtual/libiconv
39 argon2? ( dev-libs/libsodium:= )
40 - bzip2? ( app-arch/bzip2 )
41 caps? ( sys-libs/libcap )
42 kerberos? ( virtual/krb5 )
43 ldap? ( net-nds/openldap )
44 lua? ( ${LUA_DEPS} )
45 lucene? ( >=dev-cpp/clucene-2.3 )
46 lz4? ( app-arch/lz4 )
47 - lzma? ( app-arch/xz-utils )
48 mysql? ( dev-db/mysql-connector-c:0= )
49 pam? ( sys-libs/pam:= )
50 postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] )
51 @@ -66,7 +67,6 @@ DEPEND="
52 tcpd? ( sys-apps/tcp-wrappers )
53 textcat? ( app-text/libexttextcat )
54 unwind? ( sys-libs/libunwind:= )
55 - zlib? ( sys-libs/zlib:= )
56 zstd? ( app-arch/zstd:= )
57 virtual/libcrypt:=
58 "
59 @@ -121,18 +121,19 @@ src_configure() {
60 --with-statedir="${EPREFIX}/var/lib/dovecot" \
61 --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \
62 --disable-rpath \
63 + --with-bzlib \
64 --without-libbsd \
65 + --with-lzma \
66 --with-icu \
67 --with-ssl \
68 + --with-zlib \
69 $( use_with argon2 sodium ) \
70 - $( use_with bzip2 bzlib ) \
71 $( use_with caps libcap ) \
72 $( use_with kerberos gssapi ) \
73 $( use_with lua ) \
74 $( use_with ldap ) \
75 $( use_with lucene ) \
76 $( use_with lz4 ) \
77 - $( use_with lzma ) \
78 $( use_with mysql ) \
79 $( use_with pam ) \
80 $( use_with postgres pgsql ) \
81 @@ -143,7 +144,6 @@ src_configure() {
82 $( use_with tcpd libwrap ) \
83 $( use_with textcat ) \
84 $( use_with unwind libunwind ) \
85 - $( use_with zlib ) \
86 $( use_with zstd ) \
87 $( use_enable static-libs static ) \
88 ${conf}