diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2021-07-07 21:25:18 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-07-07 21:25:18 +0200 |
commit | 24a53f26fb0602168c21bbafdd4bc543860dcfde (patch) | |
tree | 5541bfda8214e42088bac6a8f2bd9346399b0bf8 /gnustep-apps/sogo | |
parent | net-misc/nextcloud-client: make qtwebengine optional (diff) | |
download | gentoo-24a53f26fb0602168c21bbafdd4bc543860dcfde.tar.gz gentoo-24a53f26fb0602168c21bbafdd4bc543860dcfde.tar.bz2 gentoo-24a53f26fb0602168c21bbafdd4bc543860dcfde.zip |
gnustep-apps/sogo: add USE flag for libsodium
Closes: https://bugs.gentoo.org/800803
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-apps/sogo')
-rw-r--r-- | gnustep-apps/sogo/metadata.xml | 1 | ||||
-rw-r--r-- | gnustep-apps/sogo/sogo-5.1.1.ebuild | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gnustep-apps/sogo/metadata.xml b/gnustep-apps/sogo/metadata.xml index efbfee2b1c18..ea8f3407bfe2 100644 --- a/gnustep-apps/sogo/metadata.xml +++ b/gnustep-apps/sogo/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="activesync">Build the ActiveSync support code</flag> + <flag name="sodium">Enable support for Argon2 password schemes using <pkg>dev-libs/libsodium</pkg></flag> </use> <upstream> <remote-id type="github">inverse-inc/sogo</remote-id> diff --git a/gnustep-apps/sogo/sogo-5.1.1.ebuild b/gnustep-apps/sogo/sogo-5.1.1.ebuild index 61f0f3783496..4738c446bcdd 100644 --- a/gnustep-apps/sogo/sogo-5.1.1.ebuild +++ b/gnustep-apps/sogo/sogo-5.1.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="activesync gnutls +ssl" +IUSE="activesync gnutls +ssl sodium" RDEPEND=" acct-user/sogo @@ -25,6 +25,7 @@ RDEPEND=" !gnutls? ( dev-libs/openssl:0= ) + sodium? ( dev-libs/libsodium:= ) " DEPEND="${RDEPEND} >=gnustep-base/gnustep-make-2.6.3" @@ -55,11 +56,15 @@ src_configure() { egnustep_env + # saml2 requires liblasso, mfa requires liboath ./configure \ --disable-strip \ --prefix=/usr \ --with-ssl="${ssl_provider}" \ $(use_enable debug) \ + $(use_enable sodium) \ + --disable-mfa \ + --disable-saml2 \ || die "configure failed" } |