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.5 |
10 |
|
|
11 |
%define samba_version 4.4.4 |
%define samba_version 4.4.4 |
12 |
%define talloc_version 2.1.6 |
%define talloc_version 2.1.6 |
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-glusterfs |
%package vfs-glusterfs |
396 |
Summary: Samba VFS module for GlusterFS |
Summary: Samba VFS module for GlusterFS |
397 |
Group: Applications/System |
Group: Applications/System |
398 |
|
Requires: libldb |
399 |
Requires: glusterfs-api >= 3.4.0.16 |
Requires: glusterfs-api >= 3.4.0.16 |
400 |
Requires: glusterfs >= 3.4.0.16 |
Requires: glusterfs >= 3.4.0.16 |
401 |
Requires: %{name} = %{samba_depver} |
Requires: %{name} = %{samba_depver} |
495 |
Requires: %{name}-libs = %{samba_depver} |
Requires: %{name}-libs = %{samba_depver} |
496 |
Requires: python-tevent |
Requires: python-tevent |
497 |
Requires: python-tdb |
Requires: python-tdb |
498 |
Requires: pyldb |
#Requires: pyldb |
499 |
Requires: pytalloc |
Requires: pytalloc |
500 |
|
|
501 |
Provides: samba4-python = %{samba_depver} |
Provides: samba4-python = %{samba_depver} |
880 |
%endif |
%endif |
881 |
|
|
882 |
install -d -m 0755 %{buildroot}%{_unitdir} |
install -d -m 0755 %{buildroot}%{_unitdir} |
883 |
for i in nmb smb winbind ; do |
for i in nmb smb winbind samba; do |
884 |
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 |
885 |
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
886 |
done |
done |
887 |
%if %with_clustering_support |
%if %with_clustering_support |
1495 |
%{_libdir}/samba/ldb/repl_meta_data.so |
%{_libdir}/samba/ldb/repl_meta_data.so |
1496 |
%{_libdir}/samba/ldb/resolve_oids.so |
%{_libdir}/samba/ldb/resolve_oids.so |
1497 |
%{_libdir}/samba/ldb/rootdse.so |
%{_libdir}/samba/ldb/rootdse.so |
1498 |
|
%{_unitdir}/samba.service |
1499 |
%{_libdir}/samba/ldb/samba3sam.so |
%{_libdir}/samba/ldb/samba3sam.so |
1500 |
%{_libdir}/samba/ldb/samba3sid.so |
%{_libdir}/samba/ldb/samba3sid.so |
1501 |
%{_libdir}/samba/ldb/samba_dsdb.so |
%{_libdir}/samba/ldb/samba_dsdb.so |
2027 |
%endif # with_clustering_support |
%endif # with_clustering_support |
2028 |
|
|
2029 |
%changelog |
%changelog |
2030 |
|
* Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 4.4.4-12.5.sme |
2031 |
|
- added DC support thanks to Greg Zartman work [SME: 9817] |
2032 |
|
|
2033 |
* Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11 |
* Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11 |
2034 |
- related: #1393051 - Fix return code if ip not defined in gethostbyname |
- related: #1393051 - Fix return code if ip not defined in gethostbyname |
2035 |
|
|
2634 |
- Call ldconfig at libwbclient and -winbind-clients post(un)install time. |
- Call ldconfig at libwbclient and -winbind-clients post(un)install time. |
2635 |
- Fix empty localization files, use %%find_lang to find and %%lang-mark them. |
- Fix empty localization files, use %%find_lang to find and %%lang-mark them. |
2636 |
- Escape macros in %%changelog. |
- Escape macros in %%changelog. |
2637 |
|
* Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> -1.sme |
2638 |
|
- fix [SME: ] |
2639 |
|
|
2640 |
- Fix source tarball URL. |
- Fix source tarball URL. |
2641 |
|
|
2642 |
* Tue Jun 26 2012 Guenther Deschner <gdeschner@redhat.com> - 2:3.6.6-91 |
* Tue Jun 26 2012 Guenther Deschner <gdeschner@redhat.com> - 2:3.6.6-91 |