1 |
commit: 24a53f26fb0602168c21bbafdd4bc543860dcfde |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 7 19:25:18 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 7 19:25:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a53f26 |
7 |
|
8 |
gnustep-apps/sogo: add USE flag for libsodium |
9 |
|
10 |
Closes: https://bugs.gentoo.org/800803 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
13 |
|
14 |
gnustep-apps/sogo/metadata.xml | 1 + |
15 |
gnustep-apps/sogo/sogo-5.1.1.ebuild | 7 ++++++- |
16 |
2 files changed, 7 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/gnustep-apps/sogo/metadata.xml b/gnustep-apps/sogo/metadata.xml |
19 |
index efbfee2b1c1..ea8f3407bfe 100644 |
20 |
--- a/gnustep-apps/sogo/metadata.xml |
21 |
+++ b/gnustep-apps/sogo/metadata.xml |
22 |
@@ -7,6 +7,7 @@ |
23 |
</maintainer> |
24 |
<use> |
25 |
<flag name="activesync">Build the ActiveSync support code</flag> |
26 |
+ <flag name="sodium">Enable support for Argon2 password schemes using <pkg>dev-libs/libsodium</pkg></flag> |
27 |
</use> |
28 |
<upstream> |
29 |
<remote-id type="github">inverse-inc/sogo</remote-id> |
30 |
|
31 |
diff --git a/gnustep-apps/sogo/sogo-5.1.1.ebuild b/gnustep-apps/sogo/sogo-5.1.1.ebuild |
32 |
index 61f0f378349..4738c446bcd 100644 |
33 |
--- a/gnustep-apps/sogo/sogo-5.1.1.ebuild |
34 |
+++ b/gnustep-apps/sogo/sogo-5.1.1.ebuild |
35 |
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.t |
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="activesync gnutls +ssl" |
40 |
+IUSE="activesync gnutls +ssl sodium" |
41 |
|
42 |
RDEPEND=" |
43 |
acct-user/sogo |
44 |
@@ -25,6 +25,7 @@ RDEPEND=" |
45 |
!gnutls? ( |
46 |
dev-libs/openssl:0= |
47 |
) |
48 |
+ sodium? ( dev-libs/libsodium:= ) |
49 |
" |
50 |
DEPEND="${RDEPEND} |
51 |
>=gnustep-base/gnustep-make-2.6.3" |
52 |
@@ -55,11 +56,15 @@ src_configure() { |
53 |
|
54 |
egnustep_env |
55 |
|
56 |
+ # saml2 requires liblasso, mfa requires liboath |
57 |
./configure \ |
58 |
--disable-strip \ |
59 |
--prefix=/usr \ |
60 |
--with-ssl="${ssl_provider}" \ |
61 |
$(use_enable debug) \ |
62 |
+ $(use_enable sodium) \ |
63 |
+ --disable-mfa \ |
64 |
+ --disable-saml2 \ |
65 |
|| die "configure failed" |
66 |
} |