Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/isync/
Date: Thu, 27 May 2021 16:58:42
Message-Id: 1622134711.10411b7a0aa5529b072b836ec6560546499c7dc4.gyakovlev@gentoo
1 commit: 10411b7a0aa5529b072b836ec6560546499c7dc4
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 27 00:40:59 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Thu May 27 16:58:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10411b7a
7
8 net-mail/isync: make sys-libs/db dependency optional
9
10 mbsync supports 2 UID schemes: native and alternative
11 native is default and preferred.
12 alternative is an old scheme used in versions 0.8 and 0.9
13 and uses Berkeley DB.
14
15 see Maildir Stores section of 'man mbsync'
16
17 as a side effect, mdconvert utility is only built if
18 berkdb support is enabled.
19
20 more info on mailing lists[1]
21 [1] https://www.mail-archive.com/search?l=isync-devel <AT> lists.sourceforge.net&q=subject:%22isync+and+Berkeley+DB%22&o=newest&f=1
22
23 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
24
25 net-mail/isync/isync-9999.ebuild | 5 +++--
26 1 file changed, 3 insertions(+), 2 deletions(-)
27
28 diff --git a/net-mail/isync/isync-9999.ebuild b/net-mail/isync/isync-9999.ebuild
29 index 9525e6613cd..07b35974fe6 100644
30 --- a/net-mail/isync/isync-9999.ebuild
31 +++ b/net-mail/isync/isync-9999.ebuild
32 @@ -16,10 +16,10 @@ else
33 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
34 fi
35
36 -IUSE="sasl ssl zlib"
37 +IUSE="berkdb sasl ssl zlib"
38
39 RDEPEND="
40 - >=sys-libs/db-4.2:=
41 + berkdb? ( >=sys-libs/db-4.2:= )
42 sasl? ( dev-libs/cyrus-sasl )
43 ssl? ( >=dev-libs/openssl-0.9.6:0= )
44 zlib? ( sys-libs/zlib:0= )
45 @@ -35,6 +35,7 @@ src_prepare() {
46 }
47
48 src_configure() {
49 + use berkdb || export ac_cv_berkdb4=no
50 econf \
51 $(use_with ssl) \
52 $(use_with sasl) \