6 |
# ctdb is enabled by default, you can disable it with: --without clustering |
# ctdb is enabled by default, you can disable it with: --without clustering |
7 |
%bcond_without clustering |
%bcond_without clustering |
8 |
|
|
9 |
%define main_release 12 |
%define main_release 12.2 |
10 |
|
|
11 |
%define samba_version 4.6.2 |
%define samba_version 4.6.2 |
12 |
%define talloc_version 2.1.9 |
%define talloc_version 2.1.9 |
32 |
%global with_internal_talloc 0 |
%global with_internal_talloc 0 |
33 |
%global with_internal_tevent 0 |
%global with_internal_tevent 0 |
34 |
%global with_internal_tdb 0 |
%global with_internal_tdb 0 |
35 |
%global with_internal_ldb 0 |
%global with_internal_ldb 1 |
36 |
|
|
37 |
%global with_profiling 1 |
%global with_profiling 1 |
38 |
|
|
56 |
%global libwbc_alternatives_suffix -64 |
%global libwbc_alternatives_suffix -64 |
57 |
%endif |
%endif |
58 |
|
|
59 |
%global with_mitkrb5 1 |
%global with_mitkrb5 0 |
60 |
%global with_dc 0 |
%global with_dc 1 |
61 |
|
|
62 |
%if %{with testsuite} |
%if %{with testsuite} |
63 |
# The testsuite only works with a full build right now. |
# The testsuite only works with a full build right now. |
395 |
%package vfs-cephfs |
%package vfs-cephfs |
396 |
Summary: Samba VFS module for Ceph distributed storage system |
Summary: Samba VFS module for Ceph distributed storage system |
397 |
Requires: libcephfs1 |
Requires: libcephfs1 |
398 |
|
Requires: libldb |
399 |
Requires: %{name} = %{samba_depver} |
Requires: %{name} = %{samba_depver} |
400 |
Requires: %{name}-libs = %{samba_depver} |
Requires: %{name}-libs = %{samba_depver} |
401 |
|
|
500 |
Requires: %{name}-libs = %{samba_depver} |
Requires: %{name}-libs = %{samba_depver} |
501 |
Requires: python-tevent |
Requires: python-tevent |
502 |
Requires: python-tdb |
Requires: python-tdb |
503 |
Requires: pyldb |
#Requires: pyldb |
504 |
Requires: pytalloc |
Requires: pytalloc |
505 |
|
|
506 |
Provides: samba4-python = %{samba_depver} |
Provides: samba4-python = %{samba_depver} |
869 |
%endif |
%endif |
870 |
|
|
871 |
install -d -m 0755 %{buildroot}%{_unitdir} |
install -d -m 0755 %{buildroot}%{_unitdir} |
872 |
for i in nmb smb winbind ; do |
for i in nmb smb winbind samba; do |
873 |
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service |
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service |
874 |
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
875 |
done |
done |
876 |
%if %with_clustering_support |
%if %with_clustering_support |
1484 |
%{_libdir}/samba/ldb/password_hash.so |
%{_libdir}/samba/ldb/password_hash.so |
1485 |
%{_libdir}/samba/ldb/ranged_results.so |
%{_libdir}/samba/ldb/ranged_results.so |
1486 |
%{_libdir}/samba/ldb/repl_meta_data.so |
%{_libdir}/samba/ldb/repl_meta_data.so |
1487 |
|
%{_unitdir}/samba.service |
1488 |
%{_libdir}/samba/ldb/resolve_oids.so |
%{_libdir}/samba/ldb/resolve_oids.so |
1489 |
%{_libdir}/samba/ldb/rootdse.so |
%{_libdir}/samba/ldb/rootdse.so |
1490 |
%{_libdir}/samba/ldb/samba3sam.so |
%{_libdir}/samba/ldb/samba3sam.so |
2656 |
%endif # with_clustering_support |
%endif # with_clustering_support |
2657 |
|
|
2658 |
%changelog |
%changelog |
2659 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> - 4.6.2-12.2.sme |
2660 |
|
- import 4.6.2-12 [SME: 10429] |
2661 |
|
- import to SME the two last upstream releases [SME: 10326] |
2662 |
|
|
2663 |
* Fri Nov 17 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-12 |
* Fri Nov 17 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-12 |
2664 |
- resolves: #1514314 - Fix CVE-2017-14746 and CVE-2017-15275 |
- resolves: #1514314 - Fix CVE-2017-14746 and CVE-2017-15275 |
2665 |
|
|