summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Lothian <mike@fireburn.co.uk>2021-12-20 11:57:25 +0000
committerMatt Turner <mattst88@gentoo.org>2022-01-16 00:06:02 -0800
commitb945ef6bbacf5403455f611df378038a3aa05aa8 (patch)
tree5ab7d38bdedc14424fe5b2f2dafec13e73043986 /net-fs
parentx11-base/xorg-server: remove unused patch (diff)
downloadgentoo-b945ef6bbacf5403455f611df378038a3aa05aa8.tar.gz
gentoo-b945ef6bbacf5403455f611df378038a3aa05aa8.tar.bz2
gentoo-b945ef6bbacf5403455f611df378038a3aa05aa8.zip
net-fs/samba: Add AES acceleration is cpu_flags_x86_aes set
This will enable AES acceleration if the cpu_flags_x86_aes USE flag is set, otherwise "none" is passed Closes: https://bugs.gentoo.org/821349 Closes: https://github.com/gentoo/gentoo/pull/23431 Signed-off-by: Mike Lothian <mike@fireburn.co.uk> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/samba-4.15.3-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-fs/samba/samba-4.15.3-r1.ebuild b/net-fs/samba/samba-4.15.3-r1.ebuild
index 6efaacf348ca..189af1340a9c 100644
--- a/net-fs/samba/samba-4.15.3-r1.ebuild
+++ b/net-fs/samba/samba-4.15.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,8 +22,8 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
-IUSE="acl addc ads ceph client cluster cups debug dmapi fam glusterfs
-gpg iprint json ldap pam profiling-data python quota +regedit selinux
+IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug dmapi fam
+glusterfs gpg iprint json ldap pam profiling-data python quota +regedit selinux
snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind
zeroconf"
@@ -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 ads)