commit:     483b910e8dddc7d9f56309812ea9e8445b98e8d0
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 18:33:24 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 18:34:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483b910e

net-fs/samba: add aesni support to 4.14 series

Closes: https://bugs.gentoo.org/831443

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-fs/samba/samba-4.14.14.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-fs/samba/samba-4.14.14.ebuild 
b/net-fs/samba/samba-4.14.14.ebuild
index 860cd1aeb3f2..82300ebb6402 100644
--- a/net-fs/samba/samba-4.14.14.ebuild
+++ b/net-fs/samba/samba-4.14.14.ebuild
@@ -22,10 +22,10 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="acl addc addns ads ceph client cluster cups debug fam glusterfs
-gpg iprint json ldap ntvfs pam profiling-data python quota +regedit selinux
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind
-zeroconf"
+IUSE="acl addc addns ads ceph client cluster cpu_flags_x86_aes cups debug fam
+glusterfs gpg iprint json ldap ntvfs pam profiling-data python quota +regedit
+selinux snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test
+winbind zeroconf"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        addc? ( python json winbind )
@@ -210,6 +210,7 @@ multilib_src_configure() {
                --nopyc
                --nopyo
                --without-winexe
+               --accel-aes=$(usex cpu_flags_x86_aes intelaesni none)
                $(multilib_native_use_with acl acl-support)
                $(multilib_native_usex addc '' '--without-ad-dc')
                $(multilib_native_use_with addns dnsupdate)

Reply via email to