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.4 |
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. |
212 |
BuildRequires: libcephfs1-devel |
BuildRequires: libcephfs1-devel |
213 |
%endif |
%endif |
214 |
%if %{with_dc} |
%if %{with_dc} |
215 |
BuildRequires: gnutls-devel >= 3.4.7 |
BuildRequires: gnutls-devel |
216 |
# Required by samba-tool to run tests |
# Required by samba-tool to run tests |
217 |
BuildRequires: python-crypto |
BuildRequires: python-crypto |
218 |
%endif |
%endif |
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 |
1539 |
%{_libdir}/samba/libdfs-server-ad-samba4.so |
%{_libdir}/samba/libdfs-server-ad-samba4.so |
1540 |
%{_libdir}/samba/libdnsserver-common-samba4.so |
%{_libdir}/samba/libdnsserver-common-samba4.so |
1541 |
%{_libdir}/samba/libdsdb-module-samba4.so |
%{_libdir}/samba/libdsdb-module-samba4.so |
|
%{_libdir}/samba/libntvfs-samba4.so |
|
1542 |
%{_libdir}/samba/bind9/dlz_bind9_9.so |
%{_libdir}/samba/bind9/dlz_bind9_9.so |
1543 |
%else |
%else |
1544 |
%doc packaging/README.dc-libs |
%doc packaging/README.dc-libs |
2655 |
%endif # with_clustering_support |
%endif # with_clustering_support |
2656 |
|
|
2657 |
%changelog |
%changelog |
2658 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> - 4.6.2-12.4.sme |
2659 |
|
- import 4.6.2-12 [SME: 10429] |
2660 |
|
- change gnutls-devel >= 3.4.7 to gnutls-devel to allow build |
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 |
|
|