1 |
unnilennium |
1.1 |
--- samba.spec.original 2016-10-02 16:23:04.356835288 -0700 |
2 |
|
|
+++ samba.spec 2016-10-02 16:31:38.311833030 -0700 |
3 |
|
|
@@ -38,1 +38,1 @@ |
4 |
|
|
-%global with_internal_ldb 0 |
5 |
|
|
+%global with_internal_ldb 1 |
6 |
|
|
@@ -59,8 +59,8 @@ |
7 |
|
|
%global libwbc_alternatives_suffix -64 |
8 |
|
|
%endif |
9 |
|
|
|
10 |
|
|
-%global with_mitkrb5 1 |
11 |
|
|
-%global with_dc 0 |
12 |
|
|
+%global with_mitkrb5 0 |
13 |
|
|
+%global with_dc 1 |
14 |
|
|
|
15 |
|
|
%if %{with testsuite} |
16 |
|
|
# The testsuite only works with a full build right now. |
17 |
unnilennium |
1.3 |
@@ -194,7 +194,7 @@ |
18 |
|
|
%if %{with_vfs_cephfs} |
19 |
|
|
BuildRequires: libcephfs1-devel |
20 |
|
|
%endif |
21 |
|
|
- |
22 |
|
|
+BuildRequires: gnutls-devel |
23 |
|
|
# Allow build with testsuite which uses heimdal |
24 |
|
|
#%if %{with_dc} |
25 |
|
|
#BuildRequires: gnutls-devel >= 3.4.7 |
26 |
unnilennium |
1.1 |
@@ -399,2 +399,3 @@ |
27 |
|
|
Summary: Samba libraries |
28 |
|
|
Group: Applications/System |
29 |
|
|
+Requires: libldb |
30 |
|
|
@@ -463,7 +464,7 @@ |
31 |
|
|
Requires: %{name}-libs = %{samba_depver} |
32 |
|
|
Requires: python-tevent |
33 |
|
|
Requires: python-tdb |
34 |
|
|
-Requires: pyldb |
35 |
|
|
+#Requires: pyldb |
36 |
|
|
Requires: pytalloc |
37 |
|
|
|
38 |
|
|
Provides: samba4-python = %{samba_depver} |
39 |
|
|
@@ -864,8 +865,8 @@ |
40 |
|
|
%endif |
41 |
|
|
|
42 |
|
|
install -d -m 0755 %{buildroot}%{_unitdir} |
43 |
|
|
-for i in nmb smb winbind ; do |
44 |
|
|
- cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service |
45 |
|
|
+for i in nmb smb winbind samba; do |
46 |
|
|
+ cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service |
47 |
|
|
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
48 |
|
|
done |
49 |
|
|
%if %with_clustering_support |
50 |
|
|
@@ -1481,1 +1481,2 @@ |
51 |
|
|
%{_mandir}/man8/samba-tool.8* |
52 |
|
|
+%{_unitdir}/samba.service |
53 |
|
|
%else # with_dc |
54 |
|
|
@@ -1738,6 +1743,7 @@ |
55 |
|
|
%{_libdir}/samba/libHDB-SAMBA4-samba4.so |
56 |
|
|
%{_libdir}/samba/libasn1-samba4.so.8 |
57 |
|
|
%{_libdir}/samba/libasn1-samba4.so.8.0.0 |
58 |
|
|
+#%{_libdir}/samba/libdfs_server_ad.so |
59 |
|
|
%{_libdir}/samba/libgssapi-samba4.so.2 |
60 |
|
|
%{_libdir}/samba/libgssapi-samba4.so.2.0.0 |
61 |
|
|
%{_libdir}/samba/libhcrypto-samba4.so.5 |