/[smeserver]/rpms/samba/sme10/samba.spec
ViewVC logotype

Diff of /rpms/samba/sme10/samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by vip-ire, Wed Oct 5 16:45:27 2016 UTC Revision 1.7 by unnilennium, Fri May 26 19:16:27 2017 UTC
# Line 1  Line 1 
1  # rpmbuild --rebuild --with testsuite --without clustering samba.src.rpm  # rpmbuild --rebuild --with testsuite --without clustering samba.src.rpm
2  #  #
3  # The testsuite is disabled by default. Set --with testsuite or %bcond_without  # The testsuite is disabled by default. Set --with testsuite or bcond_without
4  # to run the Samba torture testsuite.  # to run the Samba torture testsuite.
5  %bcond_with testsuite  %bcond_with testsuite
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 7.1  %define main_release 12.6
10    
11  %define samba_version 4.2.10  %define samba_version 4.4.4
12  %define talloc_version 2.1.2  %define talloc_version 2.1.6
13  %define ntdb_version 1.0  %define tdb_version 1.3.8
14  %define tdb_version 1.3.4  %define tevent_version 0.9.28
15  %define tevent_version 0.9.24  %define ldb_version 1.1.26
 %define ldb_version 1.1.20  
16  # This should be rc1 or nil  # This should be rc1 or nil
17  %define pre_release %nil  %define pre_release %nil
18    
# Line 23  Line 22 
22  %define samba_release %{main_release}%{?dist}  %define samba_release %{main_release}%{?dist}
23  %endif  %endif
24    
25  # This is a network daemon, do a hardened build.  # This is a network daemon, do a hardened build
26  # Enables PIE and full RELRO protection  # Enables PIE and full RELRO protection
27  %global _hardened_build 1  %global _hardened_build 1
28    
29  %global with_libsmbclient 1  %global with_libsmbclient 1
30  %global with_libwbclient 1  %global with_libwbclient 1
31    
 %global with_pam_smbpass 0  
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_ntdb 1  %global with_internal_ldb 1
 %global with_internal_ldb 0  
36    
37  %global with_profiling 1  %global with_profiling 1
38    
# Line 102  Source0:        samba-%{version}%{pre_re Line 99  Source0:        samba-%{version}%{pre_re
99  # Red Hat specific replacement-files  # Red Hat specific replacement-files
100  Source1: samba.log  Source1: samba.log
101  Source2: samba.xinetd  Source2: samba.xinetd
102  Source4: smb.conf.default  Source3: smb.conf.vendor
103    Source4: smb.conf.example
104  Source5: pam_winbind.conf  Source5: pam_winbind.conf
105  Source6: samba.pamd  Source6: samba.pamd
106    
107  Source200: README.dc  Source200: README.dc
108  Source201: README.downgrade  Source201: README.downgrade
109    
110  Patch1:     samba-4.2.10-ldap-sasl-win2003.patch  Patch0:    samba-4.4.5-fix_resolving_trusted_domain_users.patch
111  Patch3:     samba-4.2.3-document_netbios_length.patch  Patch1:    samba-4.4.5-fix_site_aware_net_ads_join_with_krb5.patch
112  Patch4:     samba-4.2.3-fix_net_ads_keytab_segfault.patch  Patch2:    samba-4.4.5-accept_empty_realm_for_ad_domains_with_security_domain.patch
113  Patch5:     samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  Patch3:    samba-4.4.5-fix_winbind_cached_creds_memleak.patch
114  Patch6:     samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  Patch4:    CVE-2016-2119-v4-4.patch
115  Patch7:     samba-4.2.10-badlock-bugfixes.patch  Patch5:    samba-4.4.7-fix-ctdb-test-install-dir.patch
116  Patch8:     samba-4.2.10-fix_rpcclient_ipc_signing.patch  Patch6:    samba-4.4.7-fix_ads_krb5_ccname_handling.patch
117  Patch9:     samba-4.2.10-fix_ntlm_auth_issues.patch  Patch7:    samba-4.4.7-fix_smbclient_cpu_usage_with_unreachable_ip.patch
118  Patch10:    samba-4.2.10-fix_msrpc_parse.patch  Patch8:    samba-4.4.7-fix_idmap_range_checks.patch
119  Patch11:    samba-4.2.10-fix_anon_with_singing_mandatory.patch  Patch9:    samba-4.4.7-fix_smget_auth_callback.patch
120  Patch12:    samba-4.2.99-fix_idmap_hash_with_other_modules.path  Patch10:   samba-4.4.6-fix_nss_wins.patch
121  Patch13:    samba-4.2.99-net_ads_join_fix_keytab_generation.patch  Patch11:   samba-4.4.7-fix_group_substituion_with_ad.patch
122  Patch14:    CVE-2016-2119-v4-2.patch  Patch12:   samba-4.4.6-fix_smbclient_against_apple_and_azure.patch
123    Patch13:   samba-4.4.x-fix_libads_krb5_memcache.patch
124    Patch14:   CVE-2016-2125-v4-4.patch
125    Patch15:   CVE-2016-2126-v4-4.patch
126    Patch16:   CVE-2017-2619-v4-4.patch
127    Patch17:   CVE-2017-7494.patch
128    
129  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
130    
# Line 131  Requires(preun): systemd Line 134  Requires(preun): systemd
134  Requires(postun): systemd  Requires(postun): systemd
135    
136  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
137  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
138  Requires: %{name}-common-tools = %{samba_depver}  Requires: %{name}-common-tools = %{samba_depver}
139  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 146  Provides: samba4 = %{samba_depver} Line 148  Provides: samba4 = %{samba_depver}
148  Obsoletes: samba4 < %{samba_depver}  Obsoletes: samba4 < %{samba_depver}
149    
150  # We don't build it outdated docs anymore  # We don't build it outdated docs anymore
151  Obsoletes: samba-doc  Provides: samba-doc = %{samba_depver}
152    Obsoletes: samba-doc < %{samba_depver}
153    
154  # Is not supported yet  # Is not supported yet
155  Obsoletes: samba-domainjoin-gui  Provides: samba-domainjoin-gui = %{samba_depver}
156    Obsoletes: samba-domainjoin-gui < %{samba_depver}
157    
158  # SWAT been deprecated and removed from samba  # SWAT been deprecated and removed from samba
159  Obsoletes: samba-swat  Provides: samba-swat = %{samba_depver}
160  Obsoletes: samba4-swat  Obsoletes: samba-swat < %{samba_depver}
161    
162    Provides: samba4-swat = %{samba_depver}
163    Obsoletes: samba4-swat < %{samba_depver}
164    
165  BuildRequires: cups-devel  BuildRequires: cups-devel
166  BuildRequires: dbus-devel  BuildRequires: dbus-devel
167  BuildRequires: docbook-style-xsl  BuildRequires: docbook-style-xsl
168  BuildRequires: e2fsprogs-devel  BuildRequires: e2fsprogs-devel
169  BuildRequires: gawk  BuildRequires: gawk
170  BuildRequires: krb5-devel >= 1.10  BuildRequires: krb5-devel >= 1.14
171  BuildRequires: libacl-devel  BuildRequires: libacl-devel
172  BuildRequires: libaio-devel  BuildRequires: libaio-devel
173  BuildRequires: libarchive-devel  BuildRequires: libarchive-devel
# Line 172  BuildRequires: pam-devel Line 181  BuildRequires: pam-devel
181  BuildRequires: perl(ExtUtils::MakeMaker)  BuildRequires: perl(ExtUtils::MakeMaker)
182  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
183  BuildRequires: popt-devel  BuildRequires: popt-devel
184    BuildRequires: python
185  BuildRequires: python-devel  BuildRequires: python-devel
186  BuildRequires: python-tevent  BuildRequires: python-tevent
187  BuildRequires: quota-devel  BuildRequires: quota-devel
# Line 180  BuildRequires: sed Line 190  BuildRequires: sed
190  BuildRequires: xfsprogs-devel  BuildRequires: xfsprogs-devel
191  BuildRequires: zlib-devel >= 1.2.3  BuildRequires: zlib-devel >= 1.2.3
192    
 BuildRequires: pkgconfig(libsystemd-daemon)  
193  BuildRequires: pkgconfig(libsystemd)  BuildRequires: pkgconfig(libsystemd)
194    
195  %if %{with_vfs_glusterfs}  %if %{with_vfs_glusterfs}
# Line 190  BuildRequires: glusterfs-devel >= 3.4.0. Line 199  BuildRequires: glusterfs-devel >= 3.4.0.
199  %if %{with_vfs_cephfs}  %if %{with_vfs_cephfs}
200  BuildRequires: libcephfs1-devel  BuildRequires: libcephfs1-devel
201  %endif  %endif
 %if %{with_dc}  
202  BuildRequires: gnutls-devel  BuildRequires: gnutls-devel
203  %endif  # Allow build with testsuite which uses heimdal
204    #%if %{with_dc}
205    #BuildRequires: gnutls-devel >= 3.4.7
206    # Required by samba-tool
207    #BuildRequires: python-crypto
208    #%endif
209    
210  # pidl requirements  # pidl requirements
211  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
212    
213  %if ! %with_internal_talloc  %if ! %with_internal_talloc
214  %global libtalloc_version 2.1.2  %global libtalloc_version 2.1.6
215    
216  BuildRequires: libtalloc-devel >= %{libtalloc_version}  BuildRequires: libtalloc-devel >= %{libtalloc_version}
217  BuildRequires: pytalloc-devel >= %{libtalloc_version}  BuildRequires: pytalloc-devel >= %{libtalloc_version}
218  %endif  %endif
219    
220  %if ! %with_internal_tevent  %if ! %with_internal_tevent
221  %global libtevent_version 0.9.22  %global libtevent_version 0.9.28
222    
223  BuildRequires: libtevent-devel >= %{libtevent_version}  BuildRequires: libtevent-devel >= %{libtevent_version}
224  BuildRequires: python-tevent >= %{libtevent_version}  BuildRequires: python-tevent >= %{libtevent_version}
225  %endif  %endif
226    
227  %if ! %with_internal_ldb  %if ! %with_internal_ldb
228  %global libldb_version 1.1.20  %global libldb_version 1.1.26
229    
230  BuildRequires: libldb-devel >= %{libldb_version}  BuildRequires: libldb-devel >= %{libldb_version}
231  BuildRequires: pyldb-devel >= %{libldb_version}  BuildRequires: pyldb-devel >= %{libldb_version}
232  %endif  %endif
233    
234  %if ! %with_internal_tdb  %if ! %with_internal_tdb
235  %global libtdb_version 1.3.4  %global libtdb_version 1.3.8
236    
237  BuildRequires: libtdb-devel >= %{libtdb_version}  BuildRequires: libtdb-devel >= %{libtdb_version}
238  BuildRequires: python-tdb >= %{libtdb_version}  BuildRequires: python-tdb >= %{libtdb_version}
# Line 238  BuildRequires: ldb-tools Line 251  BuildRequires: ldb-tools
251    
252  ### SAMBA  ### SAMBA
253  %description  %description
254  Samba is the standard Windows interoperability suite of programs for Linux and Unix.  Samba is the standard Windows interoperability suite of programs for Linux and
255    Unix.
256    
257  ### CLIENT  ### CLIENT
258  %package client  %package client
259  Summary: Samba client programs  Summary: Samba client programs
260  Group: Applications/System  Group: Applications/System
261  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
262  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
263  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
264  %if %with_libsmbclient  %if %with_libsmbclient
# Line 255  Requires: libsmbclient = %{samba_depver} Line 268  Requires: libsmbclient = %{samba_depver}
268  Provides: samba4-client = %{samba_depver}  Provides: samba4-client = %{samba_depver}
269  Obsoletes: samba4-client < %{samba_depver}  Obsoletes: samba4-client < %{samba_depver}
270    
271    Requires(post): %{_sbindir}/update-alternatives
272    Requires(postun): %{_sbindir}/update-alternatives
273    
274  %description client  %description client
275  The samba4-client package provides some SMB/CIFS clients to complement  The %{name}-client package provides some SMB/CIFS clients to complement
276  the built-in SMB/CIFS filesystem in Linux. These clients allow access  the built-in SMB/CIFS filesystem in Linux. These clients allow access
277  of SMB/CIFS shares and printing to SMB/CIFS printers.  of SMB/CIFS shares and printing to SMB/CIFS printers.
278    
# Line 265  of SMB/CIFS shares and printing to SMB/C Line 281  of SMB/CIFS shares and printing to SMB/C
281  Summary: Samba client libraries  Summary: Samba client libraries
282  Group: Applications/System  Group: Applications/System
283  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
284  %if %with_libwbclient  %if %with_libwbclient
285  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
286  %endif  %endif
# Line 281  Group: Applications/System Line 296  Group: Applications/System
296  BuildArch: noarch  BuildArch: noarch
297    
298  Requires(post): systemd  Requires(post): systemd
 Requires: samba-common-tools = %{samba_depver}  
299    
300  Provides: samba4-common = %{samba_depver}  Provides: samba4-common = %{samba_depver}
301  Obsoletes: samba4-common < %{samba_depver}  Obsoletes: samba4-common < %{samba_depver}
# Line 295  packages of Samba. Line 309  packages of Samba.
309  Summary: Libraries used by both Samba servers and clients  Summary: Libraries used by both Samba servers and clients
310  Group: Applications/System  Group: Applications/System
311  Requires(pre): samba-common = %{samba_depver}  Requires(pre): samba-common = %{samba_depver}
 Requires: samba-common = %{samba_depver}  
312  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
313  %if %with_libwbclient  %if %with_libwbclient
314  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
# Line 324  SMB/CIFS clients. Line 337  SMB/CIFS clients.
337  %package dc  %package dc
338  Summary: Samba AD Domain Controller  Summary: Samba AD Domain Controller
339  Group: Applications/System  Group: Applications/System
340    Requires: %{name} = %{samba_depver}
341  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
342  Requires: %{name}-dc-libs = %{samba_depver}  Requires: %{name}-dc-libs = %{samba_depver}
343  Requires: %{name}-python = %{samba_depver}  Requires: %{name}-python = %{samba_depver}
344    Requires: %{name}-winbind = %{samba_depver}
345    %if %{with_dc}
346    # samba-tool requirements
347    Requires: python-crypto
348    %endif
349    
350  Provides: samba4-dc = %{samba_depver}  Provides: samba4-dc = %{samba_depver}
351  Obsoletes: samba4-dc < %{samba_depver}  Obsoletes: samba4-dc < %{samba_depver}
# Line 345  Provides: samba4-dc-libs = %{samba_depve Line 364  Provides: samba4-dc-libs = %{samba_depve
364  Obsoletes: samba4-dc-libs < %{samba_depver}  Obsoletes: samba4-dc-libs < %{samba_depver}
365    
366  %description dc-libs  %description dc-libs
367  The samba4-dc-libs package contains the libraries needed by the DC to  The %{name}-dc-libs package contains the libraries needed by the DC to
368  link against the SMB, RPC and other protocols.  link against the SMB, RPC and other protocols.
369    
370  ### DEVEL  ### DEVEL
# Line 359  Provides: samba4-devel = %{samba_depver} Line 378  Provides: samba4-devel = %{samba_depver}
378  Obsoletes: samba4-devel < %{samba_depver}  Obsoletes: samba4-devel < %{samba_depver}
379    
380  %description devel  %description devel
381  The samba4-devel package contains the header files for the libraries  The %{name}-devel package contains the header files for the libraries
382  needed to develop programs that link against the SMB, RPC and other  needed to develop programs that link against the SMB, RPC and other
383  libraries in the Samba suite.  libraries in the Samba suite.
384    
# Line 381  Samba VFS module for Ceph distributed st Line 400  Samba VFS module for Ceph distributed st
400  %package vfs-glusterfs  %package vfs-glusterfs
401  Summary: Samba VFS module for GlusterFS  Summary: Samba VFS module for GlusterFS
402  Group: Applications/System  Group: Applications/System
403    Requires: libldb
404  Requires: glusterfs-api >= 3.4.0.16  Requires: glusterfs-api >= 3.4.0.16
405  Requires: glusterfs >= 3.4.0.16  Requires: glusterfs >= 3.4.0.16
406  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
407  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
408  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
409    
410  Obsoletes: samba-glusterfs  Obsoletes: samba-glusterfs < %{samba_depver}
411  Provides: samba-glusterfs  Provides: samba-glusterfs = %{samba_depver}
412    
413  %description vfs-glusterfs  %description vfs-glusterfs
414  Samba VFS module for GlusterFS integration.  Samba VFS module for GlusterFS integration.
415  %endif  %endif
416    
417    ### KRB5-PRINTING
418    %package krb5-printing
419    Summary: Samba CUPS backend for printing with Kerberos
420    Group: Applications/System
421    Requires(pre): %{name}-client
422    
423    Requires(post): %{_sbindir}/update-alternatives
424    Requires(postun): %{_sbindir}/update-alternatives
425    
426    %description krb5-printing
427    If you need Kerberos for print jobs to a printer connection to cups via the SMB
428    backend, then you need to install that package. It will allow cups to access
429    the Kerberos credentials cache of the user issuing the print job.
430    
431  ### LIBS  ### LIBS
432  %package libs  %package libs
433  Summary: Samba libraries  Summary: Samba libraries
434  Group: Applications/System  Group: Applications/System
435  Requires: krb5-libs >= 1.10  Requires: krb5-libs >= 1.14
 Requires: libldb  
436  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
437  %if %with_libwbclient  %if %with_libwbclient
438  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
# Line 409  Provides: samba4-libs = %{samba_depver} Line 442  Provides: samba4-libs = %{samba_depver}
442  Obsoletes: samba4-libs < %{samba_depver}  Obsoletes: samba4-libs < %{samba_depver}
443    
444  %description libs  %description libs
445  The samba4-libs package contains the libraries needed by programs that  The %{name}-libs package contains the libraries needed by programs that link
446  link against the SMB, RPC and other protocols provided by the Samba suite.  against the SMB, RPC and other protocols provided by the Samba suite.
447    
448  ### LIBSMBCLIENT  ### LIBSMBCLIENT
449  %if %with_libsmbclient  %if %with_libsmbclient
# Line 418  link against the SMB, RPC and other prot Line 451  link against the SMB, RPC and other prot
451  Summary: The SMB client library  Summary: The SMB client library
452  Group: Applications/System  Group: Applications/System
453  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
454  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
455    
456  %description -n libsmbclient  %description -n libsmbclient
# Line 430  Group: Development/Libraries Line 462  Group: Development/Libraries
462  Requires: libsmbclient = %{samba_depver}  Requires: libsmbclient = %{samba_depver}
463    
464  %description -n libsmbclient-devel  %description -n libsmbclient-devel
465  The libsmbclient-devel package contains the header files and libraries needed to  The libsmbclient-devel package contains the header files and libraries needed
466  develop programs that link against the SMB client library in the Samba suite.  to develop programs that link against the SMB client library in the Samba
467    suite.
468  %endif # with_libsmbclient  %endif # with_libsmbclient
469    
470  ### LIBWBCLIENT  ### LIBWBCLIENT
# Line 442  Group: Applications/System Line 475  Group: Applications/System
475  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
476    
477  %description -n libwbclient  %description -n libwbclient
478  The libwbclient package contains the winbind client library from the Samba suite.  The libwbclient package contains the winbind client library from the Samba
479    suite.
480    
481  %package -n libwbclient-devel  %package -n libwbclient-devel
482  Summary: Developer tools for the winbind library  Summary: Developer tools for the winbind library
483  Group: Development/Libraries  Group: Development/Libraries
484  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
485  Obsoletes: samba-winbind-devel  
486  Provides: samba-winbind-devel  Provides: samba-winbind-devel = %{samba_depver}
487    Obsoletes: samba-winbind-devel < %{samba_depver}
488    
489  %description -n libwbclient-devel  %description -n libwbclient-devel
490  The libwbclient-devel package provides developer tools for the wbclient library.  The libwbclient-devel package provides developer tools for the wbclient
491    library.
492  %endif # with_libwbclient  %endif # with_libwbclient
493    
494  ### PYTHON  ### PYTHON
# Line 464  Requires: %{name}-client-libs = %{samba_ Line 500  Requires: %{name}-client-libs = %{samba_
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}
507  Obsoletes: samba4-python < %{samba_depver}  Obsoletes: samba4-python < %{samba_depver}
508    
509  %description python  %description python
510  The samba4-python package contains the Python libraries needed by programs  The %{name}-python package contains the Python libraries needed by programs
511  that use SMB, RPC and other Samba provided protocols in Python programs.  that use SMB, RPC and other Samba provided protocols in Python programs.
512    
513  ### PIDL  ### PIDL
# Line 520  packages of Samba. Line 556  packages of Samba.
556    
557  ### TEST-LIBS  ### TEST-LIBS
558  %package test-libs  %package test-libs
559  Summary: Libraries need by teh testing tools for Samba servers and clients  Summary: Libraries need by the testing tools for Samba servers and clients
560  Group: Applications/System  Group: Applications/System
561  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
562  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
563    
564    Provides: %{name}-test-devel = %{samba_depver}
565    Obsoletes: %{name}-test-devel < %{samba_depver}
566    
567  %description test-libs  %description test-libs
568  %{name}-test-libs provides libraries required by the testing tools.  %{name}-test-libs provides libraries required by the testing tools.
569    
 ### TEST-DEVEL  
 %package test-devel  
 Summary: Testing devel files for Samba servers and clients  
 Group: Applications/System  
 Requires: %{name}-libs = %{samba_depver}  
 Requires: %{name}-test-libs = %{samba_depver}  
   
 %description test-devel  
 samba-test-devel provides testing devel files for both the server and client  
 packages of Samba.  
   
570  ### WINBIND  ### WINBIND
571  %package winbind  %package winbind
572  Summary: Samba winbind  Summary: Samba winbind
573  Group: Applications/System  Group: Applications/System
574  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
575  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
576  Requires: %{name}-common-tools = %{samba_depver}  Requires: %{name}-common-tools = %{samba_depver}
577  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 555  Provides: samba4-winbind = %{samba_depve Line 582  Provides: samba4-winbind = %{samba_depve
582  Obsoletes: samba4-winbind < %{samba_depver}  Obsoletes: samba4-winbind < %{samba_depver}
583    
584  %description winbind  %description winbind
585  The samba-winbind package provides the winbind NSS library, and some  The samba-winbind package provides the winbind NSS library, and some client
586  client tools.  Winbind enables Linux to be a full member in Windows  tools.  Winbind enables Linux to be a full member in Windows domains and to use
587  domains and to use Windows user and group accounts on Linux.  Windows user and group accounts on Linux.
588    
589  ### WINBIND-CLIENTS  ### WINBIND-CLIENTS
590  %package winbind-clients  %package winbind-clients
# Line 618  Requires: libwbclient = %{samba_depver} Line 645  Requires: libwbclient = %{samba_depver}
645  Requires: pam  Requires: pam
646    
647  %description winbind-modules  %description winbind-modules
648  The samba-winbind-modules package provides the NSS library and a PAM  The samba-winbind-modules package provides the NSS library and a PAM module
649  module necessary to communicate to the Winbind Daemon  necessary to communicate to the Winbind Daemon
650    
651  ### CTDB  ### CTDB
652  %if %with_clustering_support  %if %with_clustering_support
# Line 657  projects to store temporary data. If an Line 684  projects to store temporary data. If an
684  temporary data it is very easy to convert that application to be cluster aware  temporary data it is very easy to convert that application to be cluster aware
685  and use CTDB instead.  and use CTDB instead.
686    
 ### CTDB-DEVEL  
 %package -n ctdb-devel  
 Summary: CTDB clustered database development package  
 Group: Development/Libraries  
   
 Requires: ctdb = %{samba_depver}  
 Provides: ctdb-static = %{samba_depver}  
   
 %description -n ctdb-devel  
 Libraries, include files, etc you can use to develop CTDB applications.  
 CTDB is a cluster implementation of the TDB database used by Samba and other  
 projects to store temporary data. If an application is already using TDB for  
 temporary data it is very easy to convert that application to be cluster aware  
 and use CTDB instead.  
   
687  ### CTDB-TEST  ### CTDB-TEST
688  %package -n ctdb-tests  %package -n ctdb-tests
689  Summary: CTDB clustered database test suite  Summary: CTDB clustered database test suite
# Line 682  Requires: samba-client-libs = %{samba_de Line 694  Requires: samba-client-libs = %{samba_de
694  Requires: ctdb = %{samba_depver}  Requires: ctdb = %{samba_depver}
695  Requires: nc  Requires: nc
696    
697    Provides: ctdb-devel = %{samba_depver}
698    Obsoletes: ctdb-devel < %{samba_depver}
699    
700  %description -n ctdb-tests  %description -n ctdb-tests
701  Test suite for CTDB.  Test suite for CTDB.
702  CTDB is a cluster implementation of the TDB database used by Samba and other  CTDB is a cluster implementation of the TDB database used by Samba and other
# Line 695  and use CTDB instead. Line 710  and use CTDB instead.
710  %prep  %prep
711  %setup -q -n samba-%{version}%{pre_release}  %setup -q -n samba-%{version}%{pre_release}
712    
713  %patch1 -p1 -b .samba-4.2.10-ldap-sasl-win2003.patch  %patch0 -p1 -b .samba-4.4.5-fix_resolving_trusted_domain_users.patch
714  %patch3 -p1 -b .samba-4.2.3-document_netbios_length.patch  %patch1 -p1 -b .samba-4.4.5-fix_site_aware_net_ads_join_with_krb5.patch
715  %patch4 -p1 -b .samba-4.2.3-fix_net_ads_keytab_segfault.patch  %patch2 -p1 -b .samba-4.4.5-accept_empty_realm_for_ad_domains_with_security_domain.patch
716  %patch5 -p1 -b .samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  %patch3 -p1 -b .samba-4.4.5-fix_winbind_cached_creds_memleak.patch
717  %patch6 -p1 -b .samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  %patch4 -p1 -b .CVE-2016-2119-v4-4.patch
718  %patch7 -p1 -b .samba-4.2.10-badlock-bugfixes.patch  %patch5 -p1 -b .samba-4.4.7-fix-ctdb-test-install-dir.patch
719  %patch8 -p1 -b .samba-4.2.10-fix_rpcclient_ipc_signing.patch  %patch6 -p1 -b .samba-4.4.7-fix_ads_krb5_ccname_handling.patch
720  %patch9 -p1 -b .samba-4.2.10-fix_ntlm_auth_issues.patch  %patch7 -p1 -b .samba-4.4.7-fix_smbclient_cpu_usage_with_unreachable_ip.patch
721  %patch10 -p1 -b .samba-4.2.10-fix_msrpc_parse.patch  %patch8 -p1 -b .samba-4.4.7-fix_idmap_range_checks.patch
722  %patch11 -p1 -b .samba-4.2.10-fix_anon_with_singing_mandatory.patch  %patch9 -p1 -b .samba-4.4.7-fix_smget_auth_callback.patch
723  %patch12 -p1 -b .samba-4.2.99-fix_idmap_hash_with_other_modules.path  %patch10 -p1 -b .samba-4.4.6-fix_nss_wins.patch
724  %patch13 -p1 -b .samba-4.2.99-net_ads_join_fix_keytab_generation.patch  %patch11 -p1 -b .samba-4.4.7-fix_group_substituion_with_ad.patch
725  %patch14 -p1 -b .CVE-2016-2119-v4-2.patch  %patch12 -p1 -b .samba-4.4.6-fix_smbclient_against_apple_and_azure.patch
726    %patch13 -p1 -b .samba-4.4.x-fix_libads_krb5_memcache.patch
727    %patch14 -p1 -b .CVE-2016-2125-v4-4.patch
728    %patch15 -p1 -b .CVE-2016-2126-v4-4.patch
729    %patch16 -p1 -b .CVE-2017-2619-v4-4.patch
730    %patch17 -p1 -b .CVE-2017-7494.patch
731    
732  %build  %build
733  %global _talloc_lib ,talloc,pytalloc,pytalloc-util  %global _talloc_lib ,talloc,pytalloc,pytalloc-util
734  %global _tevent_lib ,tevent,pytevent  %global _tevent_lib ,tevent,pytevent
735  %global _tdb_lib ,tdb,pytdb  %global _tdb_lib ,tdb,pytdb
736  %global _ldb_lib ,ldb,pyldb  %global _ldb_lib ,ldb,pyldb,pyldb-util
737    
738  %if ! %{with_internal_talloc}  %if ! %{with_internal_talloc}
739  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
# Line 728  and use CTDB instead. Line 748  and use CTDB instead.
748  %endif  %endif
749    
750  %if ! %{with_internal_ldb}  %if ! %{with_internal_ldb}
751  %global _ldb_lib ,!ldb,!pyldb  %global _ldb_lib ,!ldb,!pyldb,!pyldb-util
752  %endif  %endif
753    
754  %global _samba4_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}  %global _samba4_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
# Line 758  and use CTDB instead. Line 778  and use CTDB instead.
778          --with-sockets-dir=/run/samba \          --with-sockets-dir=/run/samba \
779          --with-modulesdir=%{_libdir}/samba \          --with-modulesdir=%{_libdir}/samba \
780          --with-pammodulesdir=%{_libdir}/security \          --with-pammodulesdir=%{_libdir}/security \
781          --with-lockdir=/var/lib/samba \          --with-lockdir=/var/lib/samba/lock \
782            --with-statedir=/var/lib/samba \
783          --with-cachedir=/var/lib/samba \          --with-cachedir=/var/lib/samba \
784          --disable-rpath-install \          --disable-rpath-install \
785          --with-shared-modules=%{_samba4_modules} \          --with-shared-modules=%{_samba4_modules} \
# Line 788  and use CTDB instead. Line 809  and use CTDB instead.
809  %if %{with testsuite}  %if %{with testsuite}
810          --enable-selftest \          --enable-selftest \
811  %endif  %endif
 %if ! %with_pam_smbpass  
         --without-pam_smbpass \  
 %endif  
812          --with-systemd          --with-systemd
813    
814  make %{?_smp_mflags}  make %{?_smp_mflags}
# Line 802  make %{?_smp_mflags} install DESTDIR=%{b Line 820  make %{?_smp_mflags} install DESTDIR=%{b
820  install -d -m 0755 %{buildroot}/usr/{sbin,bin}  install -d -m 0755 %{buildroot}/usr/{sbin,bin}
821  install -d -m 0755 %{buildroot}%{_libdir}/security  install -d -m 0755 %{buildroot}%{_libdir}/security
822  install -d -m 0755 %{buildroot}/var/lib/samba  install -d -m 0755 %{buildroot}/var/lib/samba
823    install -d -m 0755 %{buildroot}/var/lib/samba/drivers
824    install -d -m 0755 %{buildroot}/var/lib/samba/lock
825  install -d -m 0755 %{buildroot}/var/lib/samba/private  install -d -m 0755 %{buildroot}/var/lib/samba/private
 install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged  
826  install -d -m 0755 %{buildroot}/var/lib/samba/scripts  install -d -m 0755 %{buildroot}/var/lib/samba/scripts
827  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol
828    install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged
829  install -d -m 0755 %{buildroot}/var/log/samba/old  install -d -m 0755 %{buildroot}/var/log/samba/old
830  install -d -m 0755 %{buildroot}/var/spool/samba  install -d -m 0755 %{buildroot}/var/spool/samba
831  install -d -m 0755 %{buildroot}/var/run/samba  install -d -m 0755 %{buildroot}/var/run/samba
832  install -d -m 0755 %{buildroot}/var/run/winbindd  install -d -m 0755 %{buildroot}/var/run/winbindd
833  install -d -m 0755 %{buildroot}/%{_libdir}/samba  install -d -m 0755 %{buildroot}/%{_libdir}/samba
834    install -d -m 0755 %{buildroot}/%{_libdir}/samba/ldb
835  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig
836    
837  # Move libwbclient.so* into private directory, it cannot be just libdir/samba  # Move libwbclient.so* into private directory, it cannot be just libdir/samba
# Line 823  then Line 844  then
844      exit -1      exit -1
845  fi  fi
846    
847    
848    touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb
849    
850  # Install other stuff  # Install other stuff
851  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
852  install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba  install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba
853    
854  install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf  install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/samba/smb.conf
855    install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf.example
856    
857  install -d -m 0755 %{buildroot}%{_sysconfdir}/security  install -d -m 0755 %{buildroot}%{_sysconfdir}/security
858  install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf  install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
# Line 843  install -m644 examples/LDAP/samba.schema Line 868  install -m644 examples/LDAP/samba.schema
868    
869  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint
870    
871  install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/  install -d -m 0755 %{buildroot}%{_tmpfilesdir}
872  install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_tmpfilesdir}/samba.conf
873  # create /run/samba too.  # create /run/samba too.
874  echo "d /run/samba  755 root root" >> %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  echo "d /run/samba  755 root root" >> %{buildroot}%{_tmpfilesdir}/samba.conf
875  %if %with_clustering_support  %if %with_clustering_support
876  echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf  echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf
877  %endif  %endif
# Line 865  install -m 0644 %{SOURCE200} packaging/R Line 890  install -m 0644 %{SOURCE200} packaging/R
890  %endif  %endif
891    
892  install -d -m 0755 %{buildroot}%{_unitdir}  install -d -m 0755 %{buildroot}%{_unitdir}
893  for i in nmb smb winbind samba ; do  for i in nmb smb winbind samba; do
894      cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/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
895      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
896  done  done
# Line 884  touch %{buildroot}%{_libdir}/krb5/plugin Line 909  touch %{buildroot}%{_libdir}/krb5/plugin
909    
910  %if ! %with_dc  %if ! %with_dc
911  for i in %{_libdir}/samba/libdfs-server-ad-samba4.so \  for i in %{_libdir}/samba/libdfs-server-ad-samba4.so \
912           %{_libdir}/samba/libdnsserver-common-samba4.so \          %{_libdir}/samba/libdnsserver-common-samba4.so \
913           %{_mandir}/man8/samba.8 \          %{_mandir}/man8/samba.8 \
914           %{_mandir}/man8/samba-tool.8 \          %{_mandir}/man8/samba-tool.8 \
915           %{_libdir}/samba/ldb/ildap.so \          %{_libdir}/samba/ldb/ildap.so \
916           %{_libdir}/samba/ldb/ldbsamba_extensions.so ; do          %{_libdir}/samba/ldb/ldbsamba_extensions.so ; do
917          rm -f %{buildroot}$i          rm -f %{buildroot}$i
918  done  done
919  %endif  %endif
# Line 916  TDB_NO_FSYNC=1 make %{?_smp_mflags} test Line 941  TDB_NO_FSYNC=1 make %{?_smp_mflags} test
941    
942  %post common  %post common
943  /sbin/ldconfig  /sbin/ldconfig
944  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/samba.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
945  if [ -d /var/cache/samba ]; then  if [ -d /var/cache/samba ]; then
946      mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null      mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null
947      mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null      mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null
# Line 924  if [ -d /var/cache/samba ]; then Line 949  if [ -d /var/cache/samba ]; then
949      ln -sf /var/cache/samba /var/lib/samba/      ln -sf /var/cache/samba /var/lib/samba/
950  fi  fi
951    
952  %postun common -p /sbin/ldconfig  %post client
953    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
954        cups_backend_smb \
955        %{_bindir}/smbspool 10
956    
957    %postun client
958    if [ $1 -eq 0 ] ; then
959        %{_sbindir}/update-alternatives --remove cups_backend_smb %{_bindir}/smbspool
960    fi
961    
962    %post client-libs -p /sbin/ldconfig
963    
964    %postun client-libs -p /sbin/ldconfig
965    
966    %post common-libs -p /sbin/ldconfig
967    
968    %postun common-libs -p /sbin/ldconfig
969    
970  %if %with_dc  %if %with_dc
971  %post dc-libs -p /sbin/ldconfig  %post dc-libs -p /sbin/ldconfig
972    
973  %postun dc-libs -p /sbin/ldconfig  %postun dc-libs -p /sbin/ldconfig
974  %endif # with_dc  %endif
975    
976    %post krb5-printing
977    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
978            cups_backend_smb \
979            %{_libexecdir}/samba/smbspool_krb5_wrapper 50
980    
981    %postun krb5-printing
982    if [ $1 -eq 0 ] ; then
983            %{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool_krb5_wrapper
984    fi
985    
986  %post libs -p /sbin/ldconfig  %post libs -p /sbin/ldconfig
987    
# Line 940  fi Line 991  fi
991  %post -n libsmbclient -p /sbin/ldconfig  %post -n libsmbclient -p /sbin/ldconfig
992    
993  %postun -n libsmbclient -p /sbin/ldconfig  %postun -n libsmbclient -p /sbin/ldconfig
994  %endif # with_libsmbclient  %endif
995    
996  %if %with_libwbclient  %if %with_libwbclient
997  %posttrans -n libwbclient  %posttrans -n libwbclient
# Line 1011  fi Line 1062  fi
1062    
1063  %if %with_clustering_support  %if %with_clustering_support
1064  %post -n ctdb  %post -n ctdb
1065  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/ctdb.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/ctdb.conf
1066  %systemd_post ctdb.service  %systemd_post ctdb.service
1067    
1068  %preun -n ctdb  %preun -n ctdb
# Line 1045  rm -rf %{buildroot} Line 1096  rm -rf %{buildroot}
1096  %{_libdir}/samba/vfs/acl_xattr.so  %{_libdir}/samba/vfs/acl_xattr.so
1097  %{_libdir}/samba/vfs/aio_fork.so  %{_libdir}/samba/vfs/aio_fork.so
1098  %{_libdir}/samba/vfs/aio_linux.so  %{_libdir}/samba/vfs/aio_linux.so
 %{_libdir}/samba/vfs/aio_posix.so  
1099  %{_libdir}/samba/vfs/aio_pthread.so  %{_libdir}/samba/vfs/aio_pthread.so
1100  %{_libdir}/samba/vfs/audit.so  %{_libdir}/samba/vfs/audit.so
1101  %{_libdir}/samba/vfs/btrfs.so  %{_libdir}/samba/vfs/btrfs.so
# Line 1064  rm -rf %{buildroot} Line 1114  rm -rf %{buildroot}
1114  %{_libdir}/samba/vfs/linux_xfs_sgid.so  %{_libdir}/samba/vfs/linux_xfs_sgid.so
1115  %{_libdir}/samba/vfs/media_harmony.so  %{_libdir}/samba/vfs/media_harmony.so
1116  %{_libdir}/samba/vfs/netatalk.so  %{_libdir}/samba/vfs/netatalk.so
1117    %{_libdir}/samba/vfs/offline.so
1118  %{_libdir}/samba/vfs/preopen.so  %{_libdir}/samba/vfs/preopen.so
1119  %{_libdir}/samba/vfs/readahead.so  %{_libdir}/samba/vfs/readahead.so
1120  %{_libdir}/samba/vfs/readonly.so  %{_libdir}/samba/vfs/readonly.so
1121  %{_libdir}/samba/vfs/recycle.so  %{_libdir}/samba/vfs/recycle.so
 %{_libdir}/samba/vfs/scannedonly.so  
1122  %{_libdir}/samba/vfs/shadow_copy.so  %{_libdir}/samba/vfs/shadow_copy.so
1123  %{_libdir}/samba/vfs/shadow_copy2.so  %{_libdir}/samba/vfs/shadow_copy2.so
1124  %{_libdir}/samba/vfs/smb_traffic_analyzer.so  %{_libdir}/samba/vfs/shell_snap.so
1125  %{_libdir}/samba/vfs/snapper.so  %{_libdir}/samba/vfs/snapper.so
1126  %{_libdir}/samba/vfs/streams_depot.so  %{_libdir}/samba/vfs/streams_depot.so
1127  %{_libdir}/samba/vfs/streams_xattr.so  %{_libdir}/samba/vfs/streams_xattr.so
1128  %{_libdir}/samba/vfs/syncops.so  %{_libdir}/samba/vfs/syncops.so
1129  %{_libdir}/samba/vfs/time_audit.so  %{_libdir}/samba/vfs/time_audit.so
1130    %{_libdir}/samba/vfs/unityed_media.so
1131  %{_libdir}/samba/vfs/worm.so  %{_libdir}/samba/vfs/worm.so
1132  %{_libdir}/samba/vfs/xattr_tdb.so  %{_libdir}/samba/vfs/xattr_tdb.so
1133    
# Line 1084  rm -rf %{buildroot} Line 1135  rm -rf %{buildroot}
1135  %{_unitdir}/smb.service  %{_unitdir}/smb.service
1136  %attr(1777,root,root) %dir /var/spool/samba  %attr(1777,root,root) %dir /var/spool/samba
1137  %dir %{_sysconfdir}/openldap/schema  %dir %{_sysconfdir}/openldap/schema
1138  %{_sysconfdir}/openldap/schema/samba.schema  %config %{_sysconfdir}/openldap/schema/samba.schema
1139  %{_sysconfdir}/pam.d/samba  %config(noreplace) %{_sysconfdir}/pam.d/samba
1140  %{_mandir}/man1/smbstatus.1*  %{_mandir}/man1/smbstatus.1*
1141  %{_mandir}/man8/eventlogadm.8*  %{_mandir}/man8/eventlogadm.8*
1142  %{_mandir}/man8/smbd.8*  %{_mandir}/man8/smbd.8*
1143  %{_mandir}/man8/nmbd.8*  %{_mandir}/man8/nmbd.8*
 #%{_mandir}/man8/vfs_*.8*  
1144  %{_mandir}/man8/vfs_acl_tdb.8*  %{_mandir}/man8/vfs_acl_tdb.8*
1145  %{_mandir}/man8/vfs_acl_xattr.8*  %{_mandir}/man8/vfs_acl_xattr.8*
1146  %{_mandir}/man8/vfs_aio_fork.8*  %{_mandir}/man8/vfs_aio_fork.8*
# Line 1114  rm -rf %{buildroot} Line 1164  rm -rf %{buildroot}
1164  %{_mandir}/man8/vfs_linux_xfs_sgid.8*  %{_mandir}/man8/vfs_linux_xfs_sgid.8*
1165  %{_mandir}/man8/vfs_media_harmony.8*  %{_mandir}/man8/vfs_media_harmony.8*
1166  %{_mandir}/man8/vfs_netatalk.8*  %{_mandir}/man8/vfs_netatalk.8*
1167  %{_mandir}/man8/vfs_notify_fam.8*  %{_mandir}/man8/vfs_offline.8*
1168  %{_mandir}/man8/vfs_prealloc.8*  %{_mandir}/man8/vfs_prealloc.8*
1169  %{_mandir}/man8/vfs_preopen.8*  %{_mandir}/man8/vfs_preopen.8*
1170  %{_mandir}/man8/vfs_readahead.8*  %{_mandir}/man8/vfs_readahead.8*
1171  %{_mandir}/man8/vfs_readonly.8*  %{_mandir}/man8/vfs_readonly.8*
1172  %{_mandir}/man8/vfs_recycle.8*  %{_mandir}/man8/vfs_recycle.8*
 %{_mandir}/man8/vfs_scannedonly.8*  
1173  %{_mandir}/man8/vfs_shadow_copy.8*  %{_mandir}/man8/vfs_shadow_copy.8*
1174  %{_mandir}/man8/vfs_shadow_copy2.8*  %{_mandir}/man8/vfs_shadow_copy2.8*
1175  %{_mandir}/man8/vfs_smb_traffic_analyzer.8*  %{_mandir}/man8/vfs_shell_snap.8*
1176  %{_mandir}/man8/vfs_snapper.8*  %{_mandir}/man8/vfs_snapper.8*
1177  %{_mandir}/man8/vfs_streams_depot.8*  %{_mandir}/man8/vfs_streams_depot.8*
1178  %{_mandir}/man8/vfs_streams_xattr.8*  %{_mandir}/man8/vfs_streams_xattr.8*
1179  %{_mandir}/man8/vfs_syncops.8*  %{_mandir}/man8/vfs_syncops.8*
1180  %{_mandir}/man8/vfs_time_audit.8*  %{_mandir}/man8/vfs_time_audit.8*
1181  %{_mandir}/man8/vfs_tsmsm.8*  %{_mandir}/man8/vfs_tsmsm.8*
1182    %{_mandir}/man8/vfs_unityed_media.8*
1183  %{_mandir}/man8/vfs_worm.8*  %{_mandir}/man8/vfs_worm.8*
1184  %{_mandir}/man8/vfs_xattr_tdb.8*  %{_mandir}/man8/vfs_xattr_tdb.8*
1185    
# Line 1141  rm -rf %{buildroot} Line 1191  rm -rf %{buildroot}
1191  %exclude %{_mandir}/man8/vfs_ceph.8*  %exclude %{_mandir}/man8/vfs_ceph.8*
1192  %endif  %endif
1193    
1194    %dir /var/lib/samba/drivers
1195    %dir /var/lib/samba/lock
1196    
1197  ### CLIENT  ### CLIENT
1198  %files client  %files client
1199  %defattr(-,root,root)  %defattr(-,root,root)
# Line 1159  rm -rf %{buildroot} Line 1212  rm -rf %{buildroot}
1212  %{_bindir}/smbclient  %{_bindir}/smbclient
1213  %{_bindir}/smbcquotas  %{_bindir}/smbcquotas
1214  %{_bindir}/smbget  %{_bindir}/smbget
 #%{_bindir}/smbiconv  
1215  %{_bindir}/smbprint  %{_bindir}/smbprint
1216  %{_bindir}/smbspool  %{_bindir}/smbspool
 %{_bindir}/smbta-util  
1217  %{_bindir}/smbtar  %{_bindir}/smbtar
1218  %{_bindir}/smbtree  %{_bindir}/smbtree
1219    %dir %{_libexecdir}/samba
1220    %ghost %{_libexecdir}/samba/cups_backend_smb
1221  %{_mandir}/man1/dbwrap_tool.1*  %{_mandir}/man1/dbwrap_tool.1*
1222  %{_mandir}/man1/nmblookup.1*  %{_mandir}/man1/nmblookup.1*
1223  %{_mandir}/man1/oLschema2ldif.1*  %{_mandir}/man1/oLschema2ldif.1*
# Line 1180  rm -rf %{buildroot} Line 1233  rm -rf %{buildroot}
1233  %{_mandir}/man1/smbclient.1*  %{_mandir}/man1/smbclient.1*
1234  %{_mandir}/man1/smbcquotas.1*  %{_mandir}/man1/smbcquotas.1*
1235  %{_mandir}/man1/smbget.1*  %{_mandir}/man1/smbget.1*
 %{_mandir}/man3/ntdb.3*  
1236  %{_mandir}/man5/smbgetrc.5*  %{_mandir}/man5/smbgetrc.5*
1237  %{_mandir}/man1/smbtar.1*  %{_mandir}/man1/smbtar.1*
1238  %{_mandir}/man1/smbtree.1*  %{_mandir}/man1/smbtree.1*
1239  %{_mandir}/man8/ntdbbackup.8*  %{_mandir}/man8/cifsdd.8.*
 %{_mandir}/man8/ntdbdump.8*  
 %{_mandir}/man8/ntdbrestore.8*  
 %{_mandir}/man8/ntdbtool.8*  
1240  %{_mandir}/man8/samba-regedit.8*  %{_mandir}/man8/samba-regedit.8*
1241  %{_mandir}/man8/smbspool.8*  %{_mandir}/man8/smbspool.8*
 %{_mandir}/man8/smbta-util.8*  
   
 ## we don't build it for now  
 %if %{with_internal_ntdb}  
 %{_bindir}/ntdbbackup  
 %{_bindir}/ntdbdump  
 %{_bindir}/ntdbrestore  
 %{_bindir}/ntdbtool  
 %endif  
1242    
1243  %if %{with_internal_tdb}  %if %{with_internal_tdb}
1244  %{_bindir}/tdbbackup  %{_bindir}/tdbbackup
# Line 1218  rm -rf %{buildroot} Line 1258  rm -rf %{buildroot}
1258  %{_bindir}/ldbmodify  %{_bindir}/ldbmodify
1259  %{_bindir}/ldbrename  %{_bindir}/ldbrename
1260  %{_bindir}/ldbsearch  %{_bindir}/ldbsearch
1261  %{_libdir}/samba/libldb-cmdline.so  %{_libdir}/samba/libldb-cmdline-samba4.so
 %dir %{_libdir}/samba/ldb  
1262  %{_libdir}/samba/ldb/asq.so  %{_libdir}/samba/ldb/asq.so
1263  %{_libdir}/samba/ldb/paged_results.so  %{_libdir}/samba/ldb/paged_results.so
1264  %{_libdir}/samba/ldb/paged_searches.so  %{_libdir}/samba/ldb/paged_searches.so
# Line 1240  rm -rf %{buildroot} Line 1279  rm -rf %{buildroot}
1279  %files client-libs  %files client-libs
1280  %defattr(-,root,root)  %defattr(-,root,root)
1281  %{_libdir}/libdcerpc-binding.so.*  %{_libdir}/libdcerpc-binding.so.*
 %{_libdir}/libgensec.so.*  
1282  %{_libdir}/libndr.so.*  %{_libdir}/libndr.so.*
1283  %{_libdir}/libndr-krb5pac.so.*  %{_libdir}/libndr-krb5pac.so.*
1284  %{_libdir}/libndr-nbt.so.*  %{_libdir}/libndr-nbt.so.*
1285  %{_libdir}/libndr-standard.so.*  %{_libdir}/libndr-standard.so.*
1286  %{_libdir}/libnetapi.so.*  %{_libdir}/libnetapi.so.*
1287  %{_libdir}/libsamba-credentials.so.*  %{_libdir}/libsamba-credentials.so.*
1288    %{_libdir}/libsamba-errors.so.*
1289  %{_libdir}/libsamba-passdb.so.*  %{_libdir}/libsamba-passdb.so.*
1290  %{_libdir}/libsamba-util.so.*  %{_libdir}/libsamba-util.so.*
1291  %{_libdir}/libsamba-hostconfig.so.*  %{_libdir}/libsamba-hostconfig.so.*
1292  %{_libdir}/libsamdb.so.*  %{_libdir}/libsamdb.so.*
1293  %{_libdir}/libsmbconf.so.*  %{_libdir}/libsmbconf.so.*
 %{_libdir}/libsmbclient-raw.so.*  
1294  %{_libdir}/libsmbldap.so.*  %{_libdir}/libsmbldap.so.*
1295    %{_libdir}/libtevent-unix-util.so.*
1296  %{_libdir}/libtevent-util.so.*  %{_libdir}/libtevent-util.so.*
 %{_libdir}/libregistry.so.*  
1297  %{_libdir}/libdcerpc.so.*  %{_libdir}/libdcerpc.so.*
1298    
1299  %dir %{_libdir}/samba  %dir %{_libdir}/samba
# Line 1266  rm -rf %{buildroot} Line 1304  rm -rf %{buildroot}
1304  %{_libdir}/samba/libauth-sam-reply-samba4.so  %{_libdir}/samba/libauth-sam-reply-samba4.so
1305  %{_libdir}/samba/libauth-samba4.so  %{_libdir}/samba/libauth-samba4.so
1306  %{_libdir}/samba/libauthkrb5-samba4.so  %{_libdir}/samba/libauthkrb5-samba4.so
 %{_libdir}/samba/libccan-samba4.so  
1307  %{_libdir}/samba/libcli-cldap-samba4.so  %{_libdir}/samba/libcli-cldap-samba4.so
1308  %{_libdir}/samba/libcli-ldap-common-samba4.so  %{_libdir}/samba/libcli-ldap-common-samba4.so
1309  %{_libdir}/samba/libcli-ldap-samba4.so  %{_libdir}/samba/libcli-ldap-samba4.so
# Line 1277  rm -rf %{buildroot} Line 1314  rm -rf %{buildroot}
1314  %{_libdir}/samba/libcmdline-credentials-samba4.so  %{_libdir}/samba/libcmdline-credentials-samba4.so
1315  %{_libdir}/samba/libdbwrap-samba4.so  %{_libdir}/samba/libdbwrap-samba4.so
1316  %{_libdir}/samba/libdcerpc-samba-samba4.so  %{_libdir}/samba/libdcerpc-samba-samba4.so
 %{_libdir}/samba/liberrors-samba4.so  
1317  %{_libdir}/samba/libevents-samba4.so  %{_libdir}/samba/libevents-samba4.so
1318  %{_libdir}/samba/libflag-mapping-samba4.so  %{_libdir}/samba/libflag-mapping-samba4.so
1319    %{_libdir}/samba/libgenrand-samba4.so
1320    %{_libdir}/samba/libgensec-samba4.so
1321  %{_libdir}/samba/libgpo-samba4.so  %{_libdir}/samba/libgpo-samba4.so
1322  %{_libdir}/samba/libgse-samba4.so  %{_libdir}/samba/libgse-samba4.so
1323  %{_libdir}/samba/libhttp-samba4.so  %{_libdir}/samba/libhttp-samba4.so
1324  %{_libdir}/samba/libinterfaces-samba4.so  %{_libdir}/samba/libinterfaces-samba4.so
1325    %{_libdir}/samba/libiov-buf-samba4.so
1326  %{_libdir}/samba/libkrb5samba-samba4.so  %{_libdir}/samba/libkrb5samba-samba4.so
1327  %{_libdir}/samba/libldbsamba-samba4.so  %{_libdir}/samba/libldbsamba-samba4.so
1328  %{_libdir}/samba/liblibcli-lsa3-samba4.so  %{_libdir}/samba/liblibcli-lsa3-samba4.so
1329  %{_libdir}/samba/liblibcli-netlogon3-samba4.so  %{_libdir}/samba/liblibcli-netlogon3-samba4.so
1330  %{_libdir}/samba/liblibsmb-samba4.so  %{_libdir}/samba/liblibsmb-samba4.so
1331    %{_libdir}/samba/libmessages-dgm-samba4.so
1332    %{_libdir}/samba/libmessages-util-samba4.so
1333    %{_libdir}/samba/libmsghdr-samba4.so
1334  %{_libdir}/samba/libmsrpc3-samba4.so  %{_libdir}/samba/libmsrpc3-samba4.so
1335  %{_libdir}/samba/libndr-samba-samba4.so  %{_libdir}/samba/libndr-samba-samba4.so
1336  %{_libdir}/samba/libndr-samba4.so  %{_libdir}/samba/libndr-samba4.so
# Line 1297  rm -rf %{buildroot} Line 1339  rm -rf %{buildroot}
1339  %{_libdir}/samba/libnpa-tstream-samba4.so  %{_libdir}/samba/libnpa-tstream-samba4.so
1340  %{_libdir}/samba/libprinting-migrate-samba4.so  %{_libdir}/samba/libprinting-migrate-samba4.so
1341  %{_libdir}/samba/libreplace-samba4.so  %{_libdir}/samba/libreplace-samba4.so
1342    %{_libdir}/samba/libregistry-samba4.so
1343  %{_libdir}/samba/libsamba-cluster-support-samba4.so  %{_libdir}/samba/libsamba-cluster-support-samba4.so
1344  %{_libdir}/samba/libsamba-debug-samba4.so  %{_libdir}/samba/libsamba-debug-samba4.so
1345  %{_libdir}/samba/libsamba-modules-samba4.so  %{_libdir}/samba/libsamba-modules-samba4.so
# Line 1305  rm -rf %{buildroot} Line 1348  rm -rf %{buildroot}
1348  %{_libdir}/samba/libsamba3-util-samba4.so  %{_libdir}/samba/libsamba3-util-samba4.so
1349  %{_libdir}/samba/libsamdb-common-samba4.so  %{_libdir}/samba/libsamdb-common-samba4.so
1350  %{_libdir}/samba/libsecrets3-samba4.so  %{_libdir}/samba/libsecrets3-samba4.so
1351    %{_libdir}/samba/libserver-id-db-samba4.so
1352  %{_libdir}/samba/libserver-role-samba4.so  %{_libdir}/samba/libserver-role-samba4.so
1353  %{_libdir}/samba/libsmb-transport-samba4.so  %{_libdir}/samba/libsmb-transport-samba4.so
1354    %{_libdir}/samba/libsmbclient-raw-samba4.so
1355  %{_libdir}/samba/libsmbd-base-samba4.so  %{_libdir}/samba/libsmbd-base-samba4.so
1356  %{_libdir}/samba/libsmbd-conn-samba4.so  %{_libdir}/samba/libsmbd-conn-samba4.so
1357  %{_libdir}/samba/libsmbd-shim-samba4.so  %{_libdir}/samba/libsmbd-shim-samba4.so
1358  %{_libdir}/samba/libsmbldaphelper-samba4.so  %{_libdir}/samba/libsmbldaphelper-samba4.so
1359  %{_libdir}/samba/libsmbregistry-samba4.so  %{_libdir}/samba/libsmbregistry-samba4.so
1360    %{_libdir}/samba/libsys-rw-samba4.so
1361  %{_libdir}/samba/libsocket-blocking-samba4.so  %{_libdir}/samba/libsocket-blocking-samba4.so
1362    %{_libdir}/samba/libtalloc-report-samba4.so
1363  %{_libdir}/samba/libtdb-wrap-samba4.so  %{_libdir}/samba/libtdb-wrap-samba4.so
1364    %{_libdir}/samba/libtime-basic-samba4.so
1365    %{_libdir}/samba/libtorture-samba4.so
1366  %{_libdir}/samba/libtrusts-util-samba4.so  %{_libdir}/samba/libtrusts-util-samba4.so
1367  %{_libdir}/samba/libutil-cmdline-samba4.so  %{_libdir}/samba/libutil-cmdline-samba4.so
 %{_libdir}/samba/libutil-ntdb-samba4.so  
1368  %{_libdir}/samba/libutil-reg-samba4.so  %{_libdir}/samba/libutil-reg-samba4.so
1369  %{_libdir}/samba/libutil-setid-samba4.so  %{_libdir}/samba/libutil-setid-samba4.so
1370  %{_libdir}/samba/libutil-tdb-samba4.so  %{_libdir}/samba/libutil-tdb-samba4.so
# Line 1331  rm -rf %{buildroot} Line 1379  rm -rf %{buildroot}
1379  %{_mandir}/man7/libsmbclient.7*  %{_mandir}/man7/libsmbclient.7*
1380  %endif # ! with_libsmbclient  %endif # ! with_libsmbclient
1381    
 %if %{with_internal_ntdb}  
 %{_libdir}/samba/libntdb.so.1  
 %{_libdir}/samba/libntdb.so.%{ntdb_version}  
 %endif  
   
1382  %if %{with_internal_talloc}  %if %{with_internal_talloc}
1383  %{_libdir}/samba/libtalloc.so.2  %{_libdir}/samba/libtalloc.so.2
1384  %{_libdir}/samba/libtalloc.so.%{talloc_version}  %{_libdir}/samba/libtalloc.so.%{talloc_version}
# Line 1357  rm -rf %{buildroot} Line 1400  rm -rf %{buildroot}
1400  %if %{with_internal_ldb}  %if %{with_internal_ldb}
1401  %{_libdir}/samba/libldb.so.1  %{_libdir}/samba/libldb.so.1
1402  %{_libdir}/samba/libldb.so.%{ldb_version}  %{_libdir}/samba/libldb.so.%{ldb_version}
1403    %{_libdir}/samba/libpyldb-util.so.1
1404    %{_libdir}/samba/libpyldb-util.so.%{ldb_version}
1405  %{_mandir}/man3/ldb.3.gz  %{_mandir}/man3/ldb.3.gz
1406  %endif  %endif
1407    
1408  ### COMMON  ### COMMON
1409  %files common  %files common
1410  %defattr(-,root,root)  %defattr(-,root,root)
1411  %{_prefix}/lib/tmpfiles.d/samba.conf  %{_tmpfilesdir}/samba.conf
 %{_datadir}/samba/codepages  
1412  %dir %{_sysconfdir}/logrotate.d/  %dir %{_sysconfdir}/logrotate.d/
1413  %config(noreplace) %{_sysconfdir}/logrotate.d/samba  %config(noreplace) %{_sysconfdir}/logrotate.d/samba
1414  %attr(0700,root,root) %dir /var/log/samba  %attr(0700,root,root) %dir /var/log/samba
1415  %attr(0700,root,root) %dir /var/log/samba/old  %attr(0700,root,root) %dir /var/log/samba/old
 %attr(0755,root,root) %dir /var/lib/samba  
1416  %ghost %dir /var/run/samba  %ghost %dir /var/run/samba
1417  %ghost %dir /var/run/winbindd  %ghost %dir /var/run/winbindd
1418    %dir /var/lib/samba
1419  %attr(700,root,root) %dir /var/lib/samba/private  %attr(700,root,root) %dir /var/lib/samba/private
1420  %attr(755,root,root) %dir %{_sysconfdir}/samba  %attr(755,root,root) %dir %{_sysconfdir}/samba
1421  %config(noreplace) %{_sysconfdir}/samba/smb.conf  %config(noreplace) %{_sysconfdir}/samba/smb.conf
1422    %{_sysconfdir}/samba/smb.conf.example
1423  %config(noreplace) %{_sysconfdir}/samba/lmhosts  %config(noreplace) %{_sysconfdir}/samba/lmhosts
1424  %config(noreplace) %{_sysconfdir}/sysconfig/samba  %config(noreplace) %{_sysconfdir}/sysconfig/samba
1425  %{_mandir}/man5/lmhosts.5*  %{_mandir}/man5/lmhosts.5*
# Line 1388  rm -rf %{buildroot} Line 1433  rm -rf %{buildroot}
1433  # common libraries  # common libraries
1434  %{_libdir}/samba/libpopt-samba3-samba4.so  %{_libdir}/samba/libpopt-samba3-samba4.so
1435    
1436    # We need this directory here because the net tool is looking
1437    # for it.
1438    %dir %{_libdir}/samba/ldb
1439    
1440  %dir %{_libdir}/samba/pdb  %dir %{_libdir}/samba/pdb
1441  %{_libdir}/samba/pdb/ldapsam.so  %{_libdir}/samba/pdb/ldapsam.so
1442  %{_libdir}/samba/pdb/smbpasswd.so  %{_libdir}/samba/pdb/smbpasswd.so
1443  %{_libdir}/samba/pdb/tdbsam.so  %{_libdir}/samba/pdb/tdbsam.so
1444  %{_libdir}/samba/pdb/wbc_sam.so  %{_libdir}/samba/pdb/wbc_sam.so
1445    
 %if %with_pam_smbpass  
 %{_libdir}/security/pam_smbpass.so  
 %endif  
   
1446  %files common-tools  %files common-tools
1447  %defattr(-,root,root)  %defattr(-,root,root)
1448  %{_bindir}/net  %{_bindir}/net
# Line 1424  rm -rf %{buildroot} Line 1469  rm -rf %{buildroot}
1469  %{_sbindir}/samba_dnsupdate  %{_sbindir}/samba_dnsupdate
1470  %{_sbindir}/samba_spnupdate  %{_sbindir}/samba_spnupdate
1471  %{_sbindir}/samba_upgradedns  %{_sbindir}/samba_upgradedns
 %{_libdir}/mit_samba.so  
1472  %{_libdir}/samba/auth/samba4.so  %{_libdir}/samba/auth/samba4.so
1473  %{_libdir}/samba/bind9/dlz_bind9.so  %{_libdir}/samba/bind9/dlz_bind9.so
1474  %{_libdir}/samba/bind9/dlz_bind9_10.so  %{_libdir}/samba/bind9/dlz_bind9_10.so
# Line 1440  rm -rf %{buildroot} Line 1484  rm -rf %{buildroot}
1484  %{_libdir}/samba/ldb/anr.so  %{_libdir}/samba/ldb/anr.so
1485  %{_libdir}/samba/ldb/descriptor.so  %{_libdir}/samba/ldb/descriptor.so
1486  %{_libdir}/samba/ldb/dirsync.so  %{_libdir}/samba/ldb/dirsync.so
1487    %{_libdir}/samba/ldb/dns_notify.so
1488  %{_libdir}/samba/ldb/extended_dn_in.so  %{_libdir}/samba/ldb/extended_dn_in.so
1489  %{_libdir}/samba/ldb/extended_dn_out.so  %{_libdir}/samba/ldb/extended_dn_out.so
1490  %{_libdir}/samba/ldb/extended_dn_store.so  %{_libdir}/samba/ldb/extended_dn_store.so
# Line 1460  rm -rf %{buildroot} Line 1505  rm -rf %{buildroot}
1505  %{_libdir}/samba/ldb/repl_meta_data.so  %{_libdir}/samba/ldb/repl_meta_data.so
1506  %{_libdir}/samba/ldb/resolve_oids.so  %{_libdir}/samba/ldb/resolve_oids.so
1507  %{_libdir}/samba/ldb/rootdse.so  %{_libdir}/samba/ldb/rootdse.so
1508    %{_unitdir}/samba.service
1509  %{_libdir}/samba/ldb/samba3sam.so  %{_libdir}/samba/ldb/samba3sam.so
1510  %{_libdir}/samba/ldb/samba3sid.so  %{_libdir}/samba/ldb/samba3sid.so
1511  %{_libdir}/samba/ldb/samba_dsdb.so  %{_libdir}/samba/ldb/samba_dsdb.so
# Line 1473  rm -rf %{buildroot} Line 1519  rm -rf %{buildroot}
1519  %{_libdir}/samba/ldb/simple_ldap_map.so  %{_libdir}/samba/ldb/simple_ldap_map.so
1520  %{_libdir}/samba/ldb/subtree_delete.so  %{_libdir}/samba/ldb/subtree_delete.so
1521  %{_libdir}/samba/ldb/subtree_rename.so  %{_libdir}/samba/ldb/subtree_rename.so
1522    %{_libdir}/samba/ldb/tombstone_reanimate.so
1523  %{_libdir}/samba/ldb/update_keytab.so  %{_libdir}/samba/ldb/update_keytab.so
1524  %{_libdir}/samba/ldb/wins_ldb.so  %{_libdir}/samba/ldb/wins_ldb.so
1525  %{_libdir}/samba/vfs/posix_eadb.so  %{_libdir}/samba/vfs/posix_eadb.so
# Line 1480  rm -rf %{buildroot} Line 1527  rm -rf %{buildroot}
1527  %{_datadir}/samba/setup  %{_datadir}/samba/setup
1528  %{_mandir}/man8/samba.8*  %{_mandir}/man8/samba.8*
1529  %{_mandir}/man8/samba-tool.8*  %{_mandir}/man8/samba-tool.8*
 %{_unitdir}/samba.service  
1530  %else # with_dc  %else # with_dc
1531  %doc packaging/README.dc  %doc packaging/README.dc
1532  %endif # with_dc  %endif # with_dc
# Line 1492  rm -rf %{buildroot} Line 1538  rm -rf %{buildroot}
1538  %{_libdir}/samba/libprocess-model-samba4.so  %{_libdir}/samba/libprocess-model-samba4.so
1539  %{_libdir}/samba/libservice-samba4.so  %{_libdir}/samba/libservice-samba4.so
1540  %dir %{_libdir}/samba/process_model  %dir %{_libdir}/samba/process_model
 %{_libdir}/samba/process_model/onefork.so  
 %{_libdir}/samba/process_model/prefork.so  
1541  %{_libdir}/samba/process_model/standard.so  %{_libdir}/samba/process_model/standard.so
1542  %dir %{_libdir}/samba/service  %dir %{_libdir}/samba/service
1543  %{_libdir}/samba/service/cldap.so  %{_libdir}/samba/service/cldap.so
# Line 1507  rm -rf %{buildroot} Line 1551  rm -rf %{buildroot}
1551  %{_libdir}/samba/service/nbtd.so  %{_libdir}/samba/service/nbtd.so
1552  %{_libdir}/samba/service/ntp_signd.so  %{_libdir}/samba/service/ntp_signd.so
1553  %{_libdir}/samba/service/s3fs.so  %{_libdir}/samba/service/s3fs.so
 %{_libdir}/samba/service/smb.so  
1554  %{_libdir}/samba/service/web.so  %{_libdir}/samba/service/web.so
 %{_libdir}/samba/service/winbind.so  
1555  %{_libdir}/samba/service/winbindd.so  %{_libdir}/samba/service/winbindd.so
1556  %{_libdir}/samba/service/wrepl.so  %{_libdir}/samba/service/wrepl.so
1557  %{_libdir}/libdcerpc-server.so.*  %{_libdir}/libdcerpc-server.so.*
# Line 1534  rm -rf %{buildroot} Line 1576  rm -rf %{buildroot}
1576  %{_includedir}/samba-4.0/core/werror.h  %{_includedir}/samba-4.0/core/werror.h
1577  %{_includedir}/samba-4.0/credentials.h  %{_includedir}/samba-4.0/credentials.h
1578  %{_includedir}/samba-4.0/dcerpc.h  %{_includedir}/samba-4.0/dcerpc.h
 %{_includedir}/samba-4.0/dlinklist.h  
1579  %{_includedir}/samba-4.0/domain_credentials.h  %{_includedir}/samba-4.0/domain_credentials.h
1580  %{_includedir}/samba-4.0/gen_ndr/atsvc.h  %{_includedir}/samba-4.0/gen_ndr/atsvc.h
1581  %{_includedir}/samba-4.0/gen_ndr/auth.h  %{_includedir}/samba-4.0/gen_ndr/auth.h
1582  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
 %{_includedir}/samba-4.0/gen_ndr/epmapper.h  
1583  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1584  %{_includedir}/samba-4.0/gen_ndr/lsa.h  %{_includedir}/samba-4.0/gen_ndr/lsa.h
 %{_includedir}/samba-4.0/gen_ndr/mgmt.h  
1585  %{_includedir}/samba-4.0/gen_ndr/misc.h  %{_includedir}/samba-4.0/gen_ndr/misc.h
1586  %{_includedir}/samba-4.0/gen_ndr/nbt.h  %{_includedir}/samba-4.0/gen_ndr/nbt.h
1587  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
# Line 1550  rm -rf %{buildroot} Line 1589  rm -rf %{buildroot}
1589  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1590  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1591  %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h  
1592  %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h  
 %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h  
1593  %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h  %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h  
 %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h  
1594  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1595  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1596  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
# Line 1568  rm -rf %{buildroot} Line 1602  rm -rf %{buildroot}
1602  %{_includedir}/samba-4.0/gen_ndr/security.h  %{_includedir}/samba-4.0/gen_ndr/security.h
1603  %{_includedir}/samba-4.0/gen_ndr/server_id.h  %{_includedir}/samba-4.0/gen_ndr/server_id.h
1604  %{_includedir}/samba-4.0/gen_ndr/svcctl.h  %{_includedir}/samba-4.0/gen_ndr/svcctl.h
 %{_includedir}/samba-4.0/gensec.h  
 %{_includedir}/samba-4.0/ldap-util.h  
 %{_includedir}/samba-4.0/ldap_errors.h  
 %{_includedir}/samba-4.0/ldap_message.h  
 %{_includedir}/samba-4.0/ldap_ndr.h  
1605  %{_includedir}/samba-4.0/ldb_wrap.h  %{_includedir}/samba-4.0/ldb_wrap.h
1606  %{_includedir}/samba-4.0/lookup_sid.h  %{_includedir}/samba-4.0/lookup_sid.h
1607  %{_includedir}/samba-4.0/machine_sid.h  %{_includedir}/samba-4.0/machine_sid.h
# Line 1587  rm -rf %{buildroot} Line 1616  rm -rf %{buildroot}
1616  %{_includedir}/samba-4.0/param.h  %{_includedir}/samba-4.0/param.h
1617  %{_includedir}/samba-4.0/passdb.h  %{_includedir}/samba-4.0/passdb.h
1618  %{_includedir}/samba-4.0/policy.h  %{_includedir}/samba-4.0/policy.h
 %{_includedir}/samba-4.0/read_smb.h  
 %{_includedir}/samba-4.0/registry.h  
 %{_includedir}/samba-4.0/roles.h  
1619  %{_includedir}/samba-4.0/rpc_common.h  %{_includedir}/samba-4.0/rpc_common.h
1620  %{_includedir}/samba-4.0/samba/session.h  %{_includedir}/samba-4.0/samba/session.h
1621  %{_includedir}/samba-4.0/samba/version.h  %{_includedir}/samba-4.0/samba/version.h
1622  %{_includedir}/samba-4.0/share.h  %{_includedir}/samba-4.0/share.h
 %{_includedir}/samba-4.0/smb2.h  
 %{_includedir}/samba-4.0/smb2_constants.h  
 %{_includedir}/samba-4.0/smb2_create_blob.h  
 %{_includedir}/samba-4.0/smb2_lease.h  
1623  %{_includedir}/samba-4.0/smb2_lease_struct.h  %{_includedir}/samba-4.0/smb2_lease_struct.h
 %{_includedir}/samba-4.0/smb2_signing.h  
 %{_includedir}/samba-4.0/smb_cli.h  
 %{_includedir}/samba-4.0/smb_cliraw.h  
 %{_includedir}/samba-4.0/smb_common.h  
 %{_includedir}/samba-4.0/smb_composite.h  
1624  %{_includedir}/samba-4.0/smbconf.h  %{_includedir}/samba-4.0/smbconf.h
 %{_includedir}/samba-4.0/smb_constants.h  
1625  %{_includedir}/samba-4.0/smb_ldap.h  %{_includedir}/samba-4.0/smb_ldap.h
1626  %{_includedir}/samba-4.0/smbldap.h  %{_includedir}/samba-4.0/smbldap.h
 %{_includedir}/samba-4.0/smb_raw.h  
 %{_includedir}/samba-4.0/smb_raw_interfaces.h  
 %{_includedir}/samba-4.0/smb_raw_signing.h  
 %{_includedir}/samba-4.0/smb_raw_trans2.h  
 %{_includedir}/samba-4.0/smb_request.h  
 %{_includedir}/samba-4.0/smb_seal.h  
 %{_includedir}/samba-4.0/smb_signing.h  
 %{_includedir}/samba-4.0/smb_unix_ext.h  
 %{_includedir}/samba-4.0/smb_util.h  
1627  %{_includedir}/samba-4.0/tdr.h  %{_includedir}/samba-4.0/tdr.h
1628  %{_includedir}/samba-4.0/tsocket.h  %{_includedir}/samba-4.0/tsocket.h
1629  %{_includedir}/samba-4.0/tsocket_internal.h  %{_includedir}/samba-4.0/tsocket_internal.h
 %{_includedir}/samba-4.0/tstream_smbXcli_np.h  
 %{_includedir}/samba-4.0/samba_util.h  
1630  %dir %{_includedir}/samba-4.0/util  %dir %{_includedir}/samba-4.0/util
1631  %{_includedir}/samba-4.0/util/attr.h  %{_includedir}/samba-4.0/util/attr.h
1632  %{_includedir}/samba-4.0/util/blocking.h  %{_includedir}/samba-4.0/util/blocking.h
# Line 1629  rm -rf %{buildroot} Line 1634  rm -rf %{buildroot}
1634  %{_includedir}/samba-4.0/util/data_blob.h  %{_includedir}/samba-4.0/util/data_blob.h
1635  %{_includedir}/samba-4.0/util/debug.h  %{_includedir}/samba-4.0/util/debug.h
1636  %{_includedir}/samba-4.0/util/fault.h  %{_includedir}/samba-4.0/util/fault.h
1637    %{_includedir}/samba-4.0/util/genrand.h
1638  %{_includedir}/samba-4.0/util/idtree.h  %{_includedir}/samba-4.0/util/idtree.h
1639  %{_includedir}/samba-4.0/util/idtree_random.h  %{_includedir}/samba-4.0/util/idtree_random.h
1640  %{_includedir}/samba-4.0/util/memory.h  %{_includedir}/samba-4.0/util/memory.h
# Line 1643  rm -rf %{buildroot} Line 1649  rm -rf %{buildroot}
1649  %{_includedir}/samba-4.0/util/time.h  %{_includedir}/samba-4.0/util/time.h
1650  %{_includedir}/samba-4.0/util/xfile.h  %{_includedir}/samba-4.0/util/xfile.h
1651  %{_includedir}/samba-4.0/util_ldb.h  %{_includedir}/samba-4.0/util_ldb.h
 %{_libdir}/libdcerpc-atsvc.so  
1652  %{_libdir}/libdcerpc-binding.so  %{_libdir}/libdcerpc-binding.so
1653  %{_libdir}/libdcerpc-samr.so  %{_libdir}/libdcerpc-samr.so
1654  %{_libdir}/libdcerpc.so  %{_libdir}/libdcerpc.so
 %{_libdir}/libgensec.so  
1655  %{_libdir}/libndr-krb5pac.so  %{_libdir}/libndr-krb5pac.so
1656  %{_libdir}/libndr-nbt.so  %{_libdir}/libndr-nbt.so
1657  %{_libdir}/libndr-standard.so  %{_libdir}/libndr-standard.so
1658  %{_libdir}/libndr.so  %{_libdir}/libndr.so
1659  %{_libdir}/libnetapi.so  %{_libdir}/libnetapi.so
 %{_libdir}/libregistry.so  
1660  %{_libdir}/libsamba-credentials.so  %{_libdir}/libsamba-credentials.so
1661    %{_libdir}/libsamba-errors.so
1662  %{_libdir}/libsamba-hostconfig.so  %{_libdir}/libsamba-hostconfig.so
1663  %{_libdir}/libsamba-policy.so  %{_libdir}/libsamba-policy.so
1664  %{_libdir}/libsamba-util.so  %{_libdir}/libsamba-util.so
1665  %{_libdir}/libsamdb.so  %{_libdir}/libsamdb.so
 %{_libdir}/libsmbclient-raw.so  
1666  %{_libdir}/libsmbconf.so  %{_libdir}/libsmbconf.so
1667    %{_libdir}/libtevent-unix-util.so
1668  %{_libdir}/libtevent-util.so  %{_libdir}/libtevent-util.so
1669  %{_libdir}/pkgconfig/dcerpc.pc  %{_libdir}/pkgconfig/dcerpc.pc
 %{_libdir}/pkgconfig/dcerpc_atsvc.pc  
1670  %{_libdir}/pkgconfig/dcerpc_samr.pc  %{_libdir}/pkgconfig/dcerpc_samr.pc
 %{_libdir}/pkgconfig/gensec.pc  
1671  %{_libdir}/pkgconfig/ndr.pc  %{_libdir}/pkgconfig/ndr.pc
1672  %{_libdir}/pkgconfig/ndr_krb5pac.pc  %{_libdir}/pkgconfig/ndr_krb5pac.pc
1673  %{_libdir}/pkgconfig/ndr_nbt.pc  %{_libdir}/pkgconfig/ndr_nbt.pc
1674  %{_libdir}/pkgconfig/ndr_standard.pc  %{_libdir}/pkgconfig/ndr_standard.pc
1675  %{_libdir}/pkgconfig/netapi.pc  %{_libdir}/pkgconfig/netapi.pc
 %{_libdir}/pkgconfig/registry.pc  
1676  %{_libdir}/pkgconfig/samba-credentials.pc  %{_libdir}/pkgconfig/samba-credentials.pc
1677  %{_libdir}/pkgconfig/samba-hostconfig.pc  %{_libdir}/pkgconfig/samba-hostconfig.pc
1678  %{_libdir}/pkgconfig/samba-policy.pc  %{_libdir}/pkgconfig/samba-policy.pc
1679  %{_libdir}/pkgconfig/samba-util.pc  %{_libdir}/pkgconfig/samba-util.pc
1680  %{_libdir}/pkgconfig/samdb.pc  %{_libdir}/pkgconfig/samdb.pc
 %{_libdir}/pkgconfig/smbclient-raw.pc  
1681  %{_libdir}/libsamba-passdb.so  %{_libdir}/libsamba-passdb.so
1682  %{_libdir}/libsmbldap.so  %{_libdir}/libsmbldap.so
1683    
# Line 1687  rm -rf %{buildroot} Line 1687  rm -rf %{buildroot}
1687  %{_libdir}/pkgconfig/dcerpc_server.pc  %{_libdir}/pkgconfig/dcerpc_server.pc
1688  %endif  %endif
1689    
 %if %with_internal_talloc  
 %{_includedir}/samba-4.0/pytalloc.h  
 %endif  
   
1690  %if ! %with_libsmbclient  %if ! %with_libsmbclient
1691  %{_includedir}/samba-4.0/libsmbclient.h  %{_includedir}/samba-4.0/libsmbclient.h
1692  %endif # ! with_libsmbclient  %endif # ! with_libsmbclient
# Line 1713  rm -rf %{buildroot} Line 1709  rm -rf %{buildroot}
1709  %{_mandir}/man8/vfs_glusterfs.8*  %{_mandir}/man8/vfs_glusterfs.8*
1710  %endif  %endif
1711    
1712    ### KRB5-PRINTING
1713    %files krb5-printing
1714    %defattr(-,root,root)
1715    %attr(0700,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper
1716    %{_mandir}/man8/smbspool_krb5_wrapper.8*
1717    
1718  ### LIBS  ### LIBS
1719  %files libs  %files libs
1720  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libdcerpc-atsvc.so.*  
1721  %{_libdir}/libdcerpc-samr.so.*  %{_libdir}/libdcerpc-samr.so.*
1722  %{_libdir}/libsamba-policy.so.*  %{_libdir}/libsamba-policy.so.*
1723    
# Line 1732  rm -rf %{buildroot} Line 1733  rm -rf %{buildroot}
1733  %{_libdir}/samba/libsamba-python-samba4.so  %{_libdir}/samba/libsamba-python-samba4.so
1734  %{_libdir}/samba/libshares-samba4.so  %{_libdir}/samba/libshares-samba4.so
1735  %{_libdir}/samba/libsmbpasswdparser-samba4.so  %{_libdir}/samba/libsmbpasswdparser-samba4.so
 %{_libdir}/samba/libtdb-compat-samba4.so  
1736  %{_libdir}/samba/libxattr-tdb-samba4.so  %{_libdir}/samba/libxattr-tdb-samba4.so
1737    
1738  %if %with_dc  %if %with_dc
# Line 1740  rm -rf %{buildroot} Line 1740  rm -rf %{buildroot}
1740  %{_libdir}/samba/libHDB-SAMBA4-samba4.so  %{_libdir}/samba/libHDB-SAMBA4-samba4.so
1741  %{_libdir}/samba/libasn1-samba4.so.8  %{_libdir}/samba/libasn1-samba4.so.8
1742  %{_libdir}/samba/libasn1-samba4.so.8.0.0  %{_libdir}/samba/libasn1-samba4.so.8.0.0
1743    %{_libdir}/samba/libcom_err-samba4.so.0
1744    %{_libdir}/samba/libcom_err-samba4.so.0.25
1745  %{_libdir}/samba/libgssapi-samba4.so.2  %{_libdir}/samba/libgssapi-samba4.so.2
1746  %{_libdir}/samba/libgssapi-samba4.so.2.0.0  %{_libdir}/samba/libgssapi-samba4.so.2.0.0
1747  %{_libdir}/samba/libhcrypto-samba4.so.5  %{_libdir}/samba/libhcrypto-samba4.so.5
# Line 1857  rm -rf %{buildroot} Line 1859  rm -rf %{buildroot}
1859  ### TEST-LIBS  ### TEST-LIBS
1860  %files test-libs  %files test-libs
1861  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libtorture.so.*  
 %{_libdir}/samba/libsubunit-samba4.so  
1862  %if %with_dc  %if %with_dc
1863  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
1864  %else  %else
1865  %{_libdir}/samba/libdsdb-module-samba4.so  %{_libdir}/samba/libdsdb-module-samba4.so
1866  %endif  %endif
1867    
 ### TEST-DEVEL  
 %files test-devel  
 %defattr(-,root,root)  
 %{_includedir}/samba-4.0/torture.h  
 %{_libdir}/libtorture.so  
 %{_libdir}/pkgconfig/torture.pc  
   
1868  ### WINBIND  ### WINBIND
1869  %files winbind  %files winbind
1870  %defattr(-,root,root)  %defattr(-,root,root)
 #%{_bindir}/wbinfo3  
1871  %{_libdir}/samba/idmap  %{_libdir}/samba/idmap
1872  %{_libdir}/samba/nss_info  %{_libdir}/samba/nss_info
1873  %{_libdir}/samba/libnss-info-samba4.so  %{_libdir}/samba/libnss-info-samba4.so
# Line 1917  rm -rf %{buildroot} Line 1909  rm -rf %{buildroot}
1909  %defattr(-,root,root)  %defattr(-,root,root)
1910  %doc ctdb/README  %doc ctdb/README
1911  %config(noreplace) %{_sysconfdir}/sysconfig/ctdb  %config(noreplace) %{_sysconfdir}/sysconfig/ctdb
1912  %config(noreplace) %{_sysconfdir}/ctdb/notify.sh  %{_sysconfdir}/ctdb/notify.sh
1913  %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh  %{_sysconfdir}/ctdb/debug-hung-script.sh
1914  %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh  %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
1915  %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh  %{_sysconfdir}/ctdb/gcore_trace.sh
1916  %config(noreplace) %{_sysconfdir}/ctdb/functions  %{_sysconfdir}/ctdb/functions
1917  %config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh  %{_sysconfdir}/ctdb/debug_locks.sh
1918  %dir %{_localstatedir}/lib/ctdb/  %dir %{_localstatedir}/lib/ctdb/
 %{_tmpfilesdir}/%{name}.conf  
1919    
1920  %{_unitdir}/ctdb.service  %{_unitdir}/ctdb.service
1921    
1922  %dir %{_sysconfdir}/ctdb  %dir %{_sysconfdir}/ctdb
1923  %{_sysconfdir}/ctdb/statd-callout  %{_sysconfdir}/ctdb/statd-callout
1924  %dir %{_sysconfdir}/ctdb/nfs-rpc-checks.d  # CTDB scripts, no config files
1925  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/10.statd.check  # script with executable bit means activated
1926  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/20.nfsd.check  %dir %{_sysconfdir}/ctdb/nfs-checks.d
1927  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/30.lockd.check  %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
1928  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check  %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
1929  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check  %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
1930  %{_sysconfdir}/sudoers.d/ctdb  %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
1931  %{_sysconfdir}/ctdb/events.d/  %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
1932    %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check
1933    %{_sysconfdir}/ctdb/nfs-checks.d/README
1934    %{_sysconfdir}/ctdb/nfs-linux-kernel-callout
1935    %config %{_sysconfdir}/sudoers.d/ctdb
1936    # CTDB scripts, no config files
1937    # script with executable bit means activated
1938    %dir %{_sysconfdir}/ctdb/events.d
1939    %{_sysconfdir}/ctdb/events.d/00.ctdb
1940    %{_sysconfdir}/ctdb/events.d/01.reclock
1941    %{_sysconfdir}/ctdb/events.d/05.system
1942    %{_sysconfdir}/ctdb/events.d/10.external
1943    %{_sysconfdir}/ctdb/events.d/10.interface
1944    %{_sysconfdir}/ctdb/events.d/11.natgw
1945    %{_sysconfdir}/ctdb/events.d/11.routing
1946    %{_sysconfdir}/ctdb/events.d/13.per_ip_routing
1947    %{_sysconfdir}/ctdb/events.d/20.multipathd
1948    %{_sysconfdir}/ctdb/events.d/31.clamd
1949    %{_sysconfdir}/ctdb/events.d/40.vsftpd
1950    %{_sysconfdir}/ctdb/events.d/41.httpd
1951    %{_sysconfdir}/ctdb/events.d/49.winbind
1952    %{_sysconfdir}/ctdb/events.d/50.samba
1953    %{_sysconfdir}/ctdb/events.d/60.nfs
1954    %{_sysconfdir}/ctdb/events.d/70.iscsi
1955    %{_sysconfdir}/ctdb/events.d/91.lvs
1956    %{_sysconfdir}/ctdb/events.d/99.timeout
1957    %{_sysconfdir}/ctdb/events.d/README
1958  %dir %{_sysconfdir}/ctdb/notify.d  %dir %{_sysconfdir}/ctdb/notify.d
1959  %{_sysconfdir}/ctdb/notify.d/README  %{_sysconfdir}/ctdb/notify.d/README
1960  %{_prefix}/lib/tmpfiles.d/ctdb.conf  %{_tmpfilesdir}/ctdb.conf
1961  %{_sbindir}/ctdbd  %{_sbindir}/ctdbd
1962  %{_sbindir}/ctdbd_wrapper  %{_sbindir}/ctdbd_wrapper
1963  %{_bindir}/ctdb  %{_bindir}/ctdb
 %{_bindir}/smnotify  
1964  %{_bindir}/ping_pong  %{_bindir}/ping_pong
1965  %{_bindir}/ltdbtool  %{_bindir}/ltdbtool
1966  %{_bindir}/ctdb_diagnostics  %{_bindir}/ctdb_diagnostics
1967  %{_bindir}/onnode  %{_bindir}/onnode
1968  %{_bindir}/ctdb_lock_helper  %dir %{_libexecdir}/ctdb
1969  %{_bindir}/ctdb_event_helper  %{_libexecdir}/ctdb/ctdb_natgw
1970    %{_libexecdir}/ctdb/ctdb_recovery_helper
1971    %{_libexecdir}/ctdb/smnotify
1972    %{_libexecdir}/ctdb/ctdb_lock_helper
1973    %{_libexecdir}/ctdb/ctdb_event_helper
1974    
1975  %{_mandir}/man1/ctdb.1.gz  %{_mandir}/man1/ctdb.1.gz
1976  %{_mandir}/man1/ctdbd.1.gz  %{_mandir}/man1/ctdbd.1.gz
# Line 1963  rm -rf %{buildroot} Line 1983  rm -rf %{buildroot}
1983  %{_mandir}/man7/ctdb-tunables.7.gz  %{_mandir}/man7/ctdb-tunables.7.gz
1984  %{_mandir}/man7/ctdb-statistics.7.gz  %{_mandir}/man7/ctdb-statistics.7.gz
1985    
 %files -n ctdb-devel  
 %defattr(-,root,root)  
 %{_includedir}/samba-4.0/ctdb.h  
 %{_includedir}/samba-4.0/ctdb_client.h  
 %{_includedir}/samba-4.0/ctdb_protocol.h  
 %{_includedir}/samba-4.0/ctdb_private.h  
 %{_includedir}/samba-4.0/ctdb_typesafe_cb.h  
 %{_includedir}/samba-4.0/ctdb_version.h  
 %{_libdir}/pkgconfig/ctdb.pc  
   
1986  %files -n ctdb-tests  %files -n ctdb-tests
1987  %defattr(-,root,root)  %defattr(-,root,root)
1988  %dir %{_libdir}/ctdb-tests  %dir %{_libexecdir}/ctdb/tests
1989  %{_libdir}/ctdb-tests/ctdb_bench  %{_libexecdir}/ctdb/tests/comm_client_test
1990  %{_libdir}/ctdb-tests/ctdb_fetch  %{_libexecdir}/ctdb/tests/comm_server_test
1991  %{_libdir}/ctdb-tests/ctdb_fetch_one  %{_libexecdir}/ctdb/tests/comm_test
1992  %{_libdir}/ctdb-tests/ctdb_fetch_readonly_loop  %{_libexecdir}/ctdb/tests/ctdb_bench
1993  %{_libdir}/ctdb-tests/ctdb_fetch_readonly_once  %{_libexecdir}/ctdb/tests/ctdb_fetch
1994  %{_libdir}/ctdb-tests/ctdb_functest  %{_libexecdir}/ctdb/tests/ctdb_fetch_one
1995  %{_libdir}/ctdb-tests/ctdb_lock_tdb  %{_libexecdir}/ctdb/tests/ctdb_fetch_readonly_loop
1996  %{_libdir}/ctdb-tests/ctdb_persistent  %{_libexecdir}/ctdb/tests/ctdb_fetch_readonly_once
1997  %{_libdir}/ctdb-tests/ctdb_porting_tests  %{_libexecdir}/ctdb/tests/ctdb_functest
1998  %{_libdir}/ctdb-tests/ctdb_randrec  %{_libexecdir}/ctdb/tests/ctdb_lock_tdb
1999  %{_libdir}/ctdb-tests/ctdb_store  %{_libexecdir}/ctdb/tests/ctdb_persistent
2000  %{_libdir}/ctdb-tests/ctdb_stubtest  %{_libexecdir}/ctdb/tests/ctdb_porting_tests
2001  %{_libdir}/ctdb-tests/ctdb_takeover_tests  %{_libexecdir}/ctdb/tests/ctdb_randrec
2002  %{_libdir}/ctdb-tests/ctdb_trackingdb_test  %{_libexecdir}/ctdb/tests/ctdb_store
2003  %{_libdir}/ctdb-tests/ctdb_transaction  %{_libexecdir}/ctdb/tests/ctdb_stubtest
2004  %{_libdir}/ctdb-tests/ctdb_traverse  %{_libexecdir}/ctdb/tests/ctdb_takeover_tests
2005  %{_libdir}/ctdb-tests/ctdb_update_record  %{_libexecdir}/ctdb/tests/ctdb_trackingdb_test
2006  %{_libdir}/ctdb-tests/ctdb_update_record_persistent  %{_libexecdir}/ctdb/tests/ctdb_transaction
2007  %{_libdir}/ctdb-tests/rb_test  %{_libexecdir}/ctdb/tests/ctdb_traverse
2008    %{_libexecdir}/ctdb/tests/ctdb_update_record
2009    %{_libexecdir}/ctdb/tests/ctdb_update_record_persistent
2010    %{_libexecdir}/ctdb/tests/db_hash_test
2011    %{_libexecdir}/ctdb/tests/pkt_read_test
2012    %{_libexecdir}/ctdb/tests/pkt_write_test
2013    %{_libexecdir}/ctdb/tests/protocol_client_test
2014    %{_libexecdir}/ctdb/tests/protocol_types_test
2015    %{_libexecdir}/ctdb/tests/rb_test
2016    %{_libexecdir}/ctdb/tests/reqid_test
2017    %{_libexecdir}/ctdb/tests/srvid_test
2018  %{_bindir}/ctdb_run_tests  %{_bindir}/ctdb_run_tests
2019  %{_bindir}/ctdb_run_cluster_tests  %{_bindir}/ctdb_run_cluster_tests
2020  %dir %{_datadir}/ctdb-tests  %dir %{_datadir}/ctdb-tests/eventscripts
2021  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/events.d  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/events.d
2022  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/functions  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/functions
2023  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-rpc-checks.d  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-checks.d
2024    %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-linux-kernel-callout
2025  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout
2026    %dir %{_datadir}/ctdb-tests/onnode
2027    %{_datadir}/ctdb-tests/onnode/functions
2028    %dir %{_datadir}/ctdb-tests/scripts
2029  %{_datadir}/ctdb-tests/scripts/common.sh  %{_datadir}/ctdb-tests/scripts/common.sh
2030  %{_datadir}/ctdb-tests/scripts/integration.bash  %{_datadir}/ctdb-tests/scripts/integration.bash
2031  %{_datadir}/ctdb-tests/scripts/test_wrap  %{_datadir}/ctdb-tests/scripts/test_wrap
2032  %{_datadir}/ctdb-tests/scripts/unit.sh  %{_datadir}/ctdb-tests/scripts/unit.sh
2033    %dir %{_datadir}/ctdb-tests/simple
2034    %{_datadir}/ctdb-tests/simple/functions
2035    %{_datadir}/ctdb-tests/simple/nodes
2036  %doc ctdb/tests/README  %doc ctdb/tests/README
2037  %endif # with_clustering_support  %endif # with_clustering_support
2038    
2039  %changelog  %changelog
2040  * Wed Oct 5 2016 Daniel Berteaud <daniel@firewall-services.com> - 4.2.10-7.1.sme  * Fri May 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 4.4.4-14.6.sme
2041  - Rebuild with DC support (work from Greg Zartman) [SME: 9817]  - import to SME the two last upstream releases [SME: 10326]
2042    - resolves: #1450784 - Security fix for CVE-2017-7494
2043  * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-7  - resolves: #1437816 - Fix krb5 memory cache in libads sasl code
2044  - resolves: #1351960 - Fix CVE-2016-2119  - resolves: #1437741 - Fix CVE-2016-2125, CVE-2016-2126 and CVE-2017-2619
2045    
2046  * Tue Jun 28 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.3  * Thu May 18 2017 Guenther Deschner <gdeschner@redhat.com> - 4.4.4-14
2047  - resolves: #1350759 - Fix idmap_hash when used with other modules  - resolves: #1450784 - Security fix for CVE-2017-7494
2048  - resolves: #1351260 - Fix krb5 encryption type setup during join  
2049    * Wed Apr 05 2017 Andreas Schneider <asn@redhat.com> - 4.4.4-13
2050  * Wed Jun 01 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.2  - resolves: #1437816 - Fix krb5 memory cache in libads sasl code
2051  - related: #1333794 - Fix issues caused by security tightening for Badlock  - resolves: #1437741 - Fix CVE-2016-2125, CVE-2016-2126 and CVE-2017-2619
2052    o ntlm_auth issues and segfault  
2053    o rpcclient doesn't respect "client ipc *" options  * Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 4.4.4-12.6.sme
2054    o fix anonymous authentication if signing is mandatory  - added DC support thanks to Greg Zartman work [SME: 9817]
2055    - added Buildrequires gnutls-devel
2056  * Fri May 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6.1  
2057  - Fix issues caused by security tightening for Badlock:  * Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-12
2058    - Only validate MIC when "map to guest" is set  - related: #1393051 - Fix return code if ip not defined in gethostbyname
2059    - NetApp SMB servers don't negotiate NTLMSSP_SIGN  
2060    - Anonymous connections don't work anymore  * Wed Nov 09 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11
2061    - wbinfo -u or 'net ads search' don't work anymore  - related: #1393048 - Add missing patch to patchset
2062    - Handle empty session in client code  
2063  - resolves: #1333794  * Tue Nov 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-10
2064    - resolves: #1393050 - Fix linking nss_wins with libreplace
2065    - resolves: #1393051 - Fix nss_wins function definitions for gethostbyname*
2066    - resolves: #1393048 - Fix %G substitution in AD case
2067    - resolves: #1393052 - Fix regression of smbclient unable to connect to
2068                           Apple and Azure
2069    
2070    * Wed Aug 31 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-9
2071    - related: #1365479 - Fix idmap range check
2072    
2073    * Fri Aug 26 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-8
2074    - related: #1193493 - Fix smbget url credentials parsing
2075    
2076    * Tue Aug 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-7
2077    - resolves: #1365479 - Fix idmap range checks for ad and hash backend
2078    
2079    * Tue Aug 16 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-6
2080    - resolves: #1367316 - Increase required Kerbersion version number
2081    - resolves: #1366477 - Fix using the right krb5 ccache in libads
2082    - resolves: #1356501 - Fix high CPU usage with smbclient connection to
2083                           non-reachable IP
2084    
2085    * Wed Aug 03 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-5
2086    - resolves: #1359091 - Package /usr/lib/samba/ldb in the common-libs package
2087    - resolves: #1360788 - Fix multilib issue with ctdb-tests package
2088    - resolves: #1362385 - Fix Samba ignoring supplementary groups
2089    - resolves: #1364051 - Fix smbd panic with stale ctdb entries
2090    
2091    * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-4
2092    - resolves: #1351655 - Fix winbind meomory leak with each cached credentials
2093                           login
2094    - resolves: #1351961 - Fix CVE-2016-2119
2095    
2096    * Thu Jun 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-3
2097    - related: #1260214 - Correctly warn about missing realm for ad domains
2098                          with 'security=domain'
2099    
2100    * Tue Jun 21 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-2
2101    - resolves: #1348223 - Fix sasl wrapped ldap connections
2102    
2103    * Wed Jun 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-1
2104    - resolves: #1303076 - Rebase Samba to version 4.4.4
2105    - resolves: #1314673 - Fix CVE-2015-7560
2106    - resolves: #1263322 - Add '--no-dns-updates' option to 'net ads join'
2107    - resolves: #1264433 - Fix segfault in pam_winbind.so with invalid config
2108                           options
2109    - resolves: #1193504 - Fix smbget to retrieve files recursively
2110    - resolves: #1193502 - Fix smbget to use command line credentials
2111    - resolves: #1193493 - Fix smbget url credentials parsing
2112    - resolves: #1273999 - Support printing with Kerberos credentials on newer
2113                           CUPS versions
2114    - resolves: #1296821 - Define /etc/pam.d/samba as a non replaceable config
2115    - resolves: #1261107 - Fix memory leak because of missing talloc stackframe
2116    - resolves: #1333562 - Fix memory leak after smbc_free_context()
2117    - resolves: #1315422 - Fix regression from CVE-2015-5252
2118    - resolves: #1316899 - Fixed idmap_hash module issues when used with others
2119    - resolves: #1322691 - Fix badlock related bugs
2120    - Fix CVE-2015-5370
2121    - Fix CVE-2016-2110
2122    - Fix CVE-2016-2111
2123    - Fix CVE-2016-2112
2124    - Fix CVE-2016-2113
2125    - Fix CVE-2016-2114
2126    - Fix CVE-2016-2115
2127    - Fix CVE-2016-2118
2128    - resolves: #1327951 - Fix regression with anonymous connections from OS X
2129    - resolves: #1327845 - Fix pcap_cache_reload() with spoolssd
2130    - resolves: #1289640 - Fix ctdb selinux issue with read only tracking dbs
2131    - resolves: #1341208 - Fix enumerating groups over NSS with idmap_ad
2132    - resolves: #1345827 - Fix resolving trusted domain users on domain member
2133    - resolves: #1346334 - Fix typo in smb.conf.example
2134    - resolves: #1335292 - Fix site-aware 'net ads join -k'
2135    - resolves: #1260214 - Accept empty realm for ad domains with 'security=domain'
2136    
2137    * Tue May 24 2016 Guenther Deschner <gdeschner@redhat.com> - 4.2.10-8
2138    - Fix krb5 encryption type setup during join (as admin and non-admin user)
2139    - resolves: #1312109
2140    
2141    * Mon May 02 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-7
2142    - Fix regressions introduced with security tightening as part of Badlock release
2143    - resolves: #1330199
2144    
2145  * Tue Apr 12 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6  * Tue Apr 12 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6
2146  - Fix domain member winbind not being able to talk to trusted domains' DCs  - Fix domain member winbind not being able to talk to trusted domains' DCs
2147  - relates: #1322690  - relates: #1322691
2148    
2149  * Mon Apr 11 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-5  * Mon Apr 11 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-5
2150  - Fix crash in smb.conf processing  - Fix crash in smb.conf processing
2151  - relates: #1322690  - relates: #1322691
2152    
2153  * Fri Apr 08 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-4  * Fri Apr 08 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-4
2154  - Fix LDAP SASL bind with arcfour-hmac-md5  - Fix LDAP SASL bind with arcfour-hmac-md5
2155  - resolves: #1322690  - resolves: #1322691
2156    
2157  * Thu Apr 07 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-3  * Thu Apr 07 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-3
2158  - Make sure the package owns /var/lib/samba and uses it for cache purposes  - Make sure the package owns /var/lib/samba and uses it for cache purposes
2159  - resolves: #1322690  - resolves: #1322691
2160    
2161  * Wed Apr 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-2  * Wed Apr 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-2
2162  - Remove ldb modules and internal libraries for DC when not packaging DC build  - Remove ldb modules and internal libraries for DC when not packaging DC build
2163  - resolves: #1322690  - resolves: #1322691
2164    
2165  * Mon Apr 04 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-1  * Mon Apr 04 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-1
2166  - resolves: #1322690  - resolves: #1322691
2167    
2168  * Fri Mar 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.3-12  * Fri Mar 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.3-12
2169  - resolves: #1314672 - Fix CVE-2015-7560  - resolves: #1314673 - Fix CVE-2015-7560
2170    
2171  * Fri Dec 11 2015 Guenther Deschner <gdeschner@redhat.com> - 4.2.3-11  * Fri Dec 11 2015 Guenther Deschner <gdeschner@redhat.com> - 4.2.3-11
2172  - resolves: #1290710  - resolves: #1290711
2173  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server
2174  - CVE-2015-5299 Missing access control check in shadow copy code  - CVE-2015-5299 Missing access control check in shadow copy code
2175  - CVE-2015-5252 Insufficient symlink verification in smbd  - CVE-2015-5252 Insufficient symlink verification in smbd


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed