<flag name="shaper">Enable support for the mod_shaper module</flag>
<flag name="sftp">Enable support for the mod_sftp module and optionally mod_sftp_sql and mod_sftp_pam if matching USE flags are enabled</flag>
<flag name="sitemisc">Enable support for the sitemisc module</flag>
+ <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for password encryption an key exchange</flag>
<flag name="softquota">Enable support for the quotatab module</flag>
<flag name="trace">Build with trace support. Should not be enabled on production servers</flag>
<flag name="unique_id">Enable support for the mod_unique_id module, every connection gets unique ID.</flag>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="acl authfile ban +caps case clamav copy ctrls deflate diskuse doc dso dynmasq exec ifsession ifversion ident ipv6
kerberos ldap libressl log_forensic memcache msg mysql ncurses nls pam +pcre postgres qos radius
- ratio readme rewrite selinux sftp shaper sitemisc snmp softquota sqlite ssl tcpd test unique_id vroot xinetd"
+ ratio readme rewrite selinux sftp shaper sitemisc snmp sodium softquota sqlite ssl tcpd test unique_id vroot xinetd"
# TODO: geoip
REQUIRED_USE="ban? ( ctrls )
msg? ( ctrls )
pam? ( virtual/pam )
pcre? ( dev-libs/libpcre )
postgres? ( dev-db/postgresql:= )
+ sodium? ( dev-libs/libsodium:0= )
sqlite? ( dev-db/sqlite:3 )
xinetd? ( virtual/inetd )"
DEPEND="${CDEPEND}
$(use_enable ssl openssl) \
$(use_enable pam auth-pam) \
$(use_enable pcre) \
+ $(use_enable sodium) \
$(use_enable test tests) \
--enable-trace \
$(use_enable userland_GNU shadow) \