Enable AES acceleration on Intel compatible CPUs by default
Reviewed-by: Andreas Schneider <asn@redhat.com>
This commit is contained in:
parent
fd42fa1d91
commit
73e15d8b0d
16
samba.spec
16
samba.spec
@ -6,7 +6,7 @@
|
|||||||
# ctdb is enabled by default, you can disable it with: --without clustering
|
# ctdb is enabled by default, you can disable it with: --without clustering
|
||||||
%bcond_without clustering
|
%bcond_without clustering
|
||||||
|
|
||||||
%define main_release 0
|
%define main_release 1
|
||||||
|
|
||||||
%define samba_version 4.7.3
|
%define samba_version 4.7.3
|
||||||
%define talloc_version 2.1.10
|
%define talloc_version 2.1.10
|
||||||
@ -47,6 +47,11 @@
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%global with_intel_aes_accel 0
|
||||||
|
%ifarch x86_64
|
||||||
|
%global with_intel_aes_accel 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%global libwbc_alternatives_version 0.14
|
%global libwbc_alternatives_version 0.14
|
||||||
%global libwbc_alternatives_suffix %nil
|
%global libwbc_alternatives_suffix %nil
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
@ -838,6 +843,9 @@ xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
|||||||
%endif
|
%endif
|
||||||
%if %{with testsuite}
|
%if %{with testsuite}
|
||||||
--enable-selftest \
|
--enable-selftest \
|
||||||
|
%endif
|
||||||
|
%if %with_intel_aes_accel
|
||||||
|
--accel-aes=intelaesni \
|
||||||
%endif
|
%endif
|
||||||
--with-systemd \
|
--with-systemd \
|
||||||
--extra-python=%{__python3}
|
--extra-python=%{__python3}
|
||||||
@ -1567,6 +1575,9 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# common libraries
|
# common libraries
|
||||||
%{_libdir}/samba/libpopt-samba3-samba4.so
|
%{_libdir}/samba/libpopt-samba3-samba4.so
|
||||||
|
%if %{with_intel_aes_accel}
|
||||||
|
%{_libdir}/samba/libaesni-intel-samba4.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%dir %{_libdir}/samba/ldb
|
%dir %{_libdir}/samba/ldb
|
||||||
|
|
||||||
@ -3374,6 +3385,9 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_clustering_support
|
%endif # with_clustering_support
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 23 2017 Bastien Nocera <bnocera@redhat.com> - 4.7.3-1
|
||||||
|
- Enable AES acceleration on Intel compatible CPUs by default
|
||||||
|
|
||||||
* Tue Nov 21 2017 Guenther Deschner <gdeschner@redhat.com> - 4.7.3-0
|
* Tue Nov 21 2017 Guenther Deschner <gdeschner@redhat.com> - 4.7.3-0
|
||||||
- Update to Samba 4.7.3
|
- Update to Samba 4.7.3
|
||||||
- resolves: #1515692 - Security fix for CVE-2017-14746 and CVE-2017-15275
|
- resolves: #1515692 - Security fix for CVE-2017-14746 and CVE-2017-15275
|
||||||
|
Loading…
Reference in New Issue
Block a user