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 |
|
|
@@ -399,2 +399,3 @@ |
18 |
|
|
Summary: Samba libraries |
19 |
|
|
Group: Applications/System |
20 |
|
|
+Requires: libldb |
21 |
|
|
@@ -463,7 +464,7 @@ |
22 |
|
|
Requires: %{name}-libs = %{samba_depver} |
23 |
|
|
Requires: python-tevent |
24 |
|
|
Requires: python-tdb |
25 |
|
|
-Requires: pyldb |
26 |
|
|
+#Requires: pyldb |
27 |
unnilennium |
1.2 |
+Buildrequires: gnutls-devel |
28 |
unnilennium |
1.1 |
Requires: pytalloc |
29 |
|
|
|
30 |
|
|
Provides: samba4-python = %{samba_depver} |
31 |
|
|
@@ -864,8 +865,8 @@ |
32 |
|
|
%endif |
33 |
|
|
|
34 |
|
|
install -d -m 0755 %{buildroot}%{_unitdir} |
35 |
|
|
-for i in nmb smb winbind ; do |
36 |
|
|
- cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service |
37 |
|
|
+for i in nmb smb winbind samba; do |
38 |
|
|
+ cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service |
39 |
|
|
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
40 |
|
|
done |
41 |
|
|
%if %with_clustering_support |
42 |
|
|
@@ -1481,1 +1481,2 @@ |
43 |
|
|
%{_mandir}/man8/samba-tool.8* |
44 |
|
|
+%{_unitdir}/samba.service |
45 |
|
|
%else # with_dc |
46 |
|
|
@@ -1738,6 +1743,7 @@ |
47 |
|
|
%{_libdir}/samba/libHDB-SAMBA4-samba4.so |
48 |
|
|
%{_libdir}/samba/libasn1-samba4.so.8 |
49 |
|
|
%{_libdir}/samba/libasn1-samba4.so.8.0.0 |
50 |
|
|
+#%{_libdir}/samba/libdfs_server_ad.so |
51 |
|
|
%{_libdir}/samba/libgssapi-samba4.so.2 |
52 |
|
|
%{_libdir}/samba/libgssapi-samba4.so.2.0.0 |
53 |
|
|
%{_libdir}/samba/libhcrypto-samba4.so.5 |