/[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.9 by jpp, Tue May 8 16:37:54 2018 UTC Revision 1.14 by jpp, Tue May 8 19:39:05 2018 UTC
# Line 6  Line 6 
6  # ctdb is enabled by default, you can disable it with: --without clustering  # ctdb is enabled by default, you can disable it with: --without clustering
7  %bcond_without clustering  %bcond_without clustering
8    
9  %define main_release 12  %define main_release 12.4
10    
11  %define samba_version 4.6.2  %define samba_version 4.6.2
12  %define talloc_version 2.1.9  %define talloc_version 2.1.9
# Line 32  Line 32 
32  %global with_internal_talloc 0  %global with_internal_talloc 0
33  %global with_internal_tevent 0  %global with_internal_tevent 0
34  %global with_internal_tdb 0  %global with_internal_tdb 0
35  %global with_internal_ldb 0  %global with_internal_ldb 1
36    
37  %global with_profiling 1  %global with_profiling 1
38    
# Line 56  Line 56 
56  %global libwbc_alternatives_suffix -64  %global libwbc_alternatives_suffix -64
57  %endif  %endif
58    
59  %global with_mitkrb5 1  %global with_mitkrb5 0
60  %global with_dc 0  %global with_dc 1
61    
62  %if %{with testsuite}  %if %{with testsuite}
63  # The testsuite only works with a full build right now.  # The testsuite only works with a full build right now.
# Line 212  BuildRequires: glusterfs-devel >= 3.4.0. Line 212  BuildRequires: glusterfs-devel >= 3.4.0.
212  BuildRequires: libcephfs1-devel  BuildRequires: libcephfs1-devel
213  %endif  %endif
214  %if %{with_dc}  %if %{with_dc}
215  BuildRequires: gnutls-devel >= 3.4.7  BuildRequires: gnutls-devel
216  # Required by samba-tool to run tests  # Required by samba-tool to run tests
217  BuildRequires: python-crypto  BuildRequires: python-crypto
218  %endif  %endif
# Line 395  libraries in the Samba suite. Line 395  libraries in the Samba suite.
395  %package vfs-cephfs  %package vfs-cephfs
396  Summary: Samba VFS module for Ceph distributed storage system  Summary: Samba VFS module for Ceph distributed storage system
397  Requires: libcephfs1  Requires: libcephfs1
398    Requires: libldb
399  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
400  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
401    
# Line 499  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}
# Line 868  install -m 0644 %{SOURCE200} packaging/R Line 869  install -m 0644 %{SOURCE200} packaging/R
869  %endif  %endif
870    
871  install -d -m 0755 %{buildroot}%{_unitdir}  install -d -m 0755 %{buildroot}%{_unitdir}
872  for i in nmb smb winbind ; do  for i in nmb smb winbind samba; do
873      cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service      cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service
874      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
875  done  done
876  %if %with_clustering_support  %if %with_clustering_support
# Line 1483  rm -rf %{buildroot} Line 1484  rm -rf %{buildroot}
1484  %{_libdir}/samba/ldb/password_hash.so  %{_libdir}/samba/ldb/password_hash.so
1485  %{_libdir}/samba/ldb/ranged_results.so  %{_libdir}/samba/ldb/ranged_results.so
1486  %{_libdir}/samba/ldb/repl_meta_data.so  %{_libdir}/samba/ldb/repl_meta_data.so
1487    %{_unitdir}/samba.service
1488  %{_libdir}/samba/ldb/resolve_oids.so  %{_libdir}/samba/ldb/resolve_oids.so
1489  %{_libdir}/samba/ldb/rootdse.so  %{_libdir}/samba/ldb/rootdse.so
1490  %{_libdir}/samba/ldb/samba3sam.so  %{_libdir}/samba/ldb/samba3sam.so
# Line 1501  rm -rf %{buildroot} Line 1503  rm -rf %{buildroot}
1503  %{_libdir}/samba/ldb/tombstone_reanimate.so  %{_libdir}/samba/ldb/tombstone_reanimate.so
1504  %{_libdir}/samba/ldb/update_keytab.so  %{_libdir}/samba/ldb/update_keytab.so
1505  %{_libdir}/samba/ldb/wins_ldb.so  %{_libdir}/samba/ldb/wins_ldb.so
1506    %{_libdir}/samba/bind9/dlz_bind9_11.so
1507    %{_libdir}/samba/ldb/dsdb_notification.so
1508    %{_libdir}/samba/ldb/vlv.so
1509  %{_libdir}/samba/vfs/posix_eadb.so  %{_libdir}/samba/vfs/posix_eadb.so
1510  %dir /var/lib/samba/sysvol  %dir /var/lib/samba/sysvol
1511  %{_datadir}/samba/setup  %{_datadir}/samba/setup
# Line 1537  rm -rf %{buildroot} Line 1542  rm -rf %{buildroot}
1542  %{_libdir}/samba/libdfs-server-ad-samba4.so  %{_libdir}/samba/libdfs-server-ad-samba4.so
1543  %{_libdir}/samba/libdnsserver-common-samba4.so  %{_libdir}/samba/libdnsserver-common-samba4.so
1544  %{_libdir}/samba/libdsdb-module-samba4.so  %{_libdir}/samba/libdsdb-module-samba4.so
 %{_libdir}/samba/libntvfs-samba4.so  
1545  %{_libdir}/samba/bind9/dlz_bind9_9.so  %{_libdir}/samba/bind9/dlz_bind9_9.so
1546  %else  %else
1547  %doc packaging/README.dc-libs  %doc packaging/README.dc-libs
# Line 2654  rm -rf %{buildroot} Line 2658  rm -rf %{buildroot}
2658  %endif # with_clustering_support  %endif # with_clustering_support
2659    
2660  %changelog  %changelog
2661    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> - 4.6.2-12.4.sme
2662    - import 4.6.2-12 [SME: 10429]
2663    - change gnutls-devel >= 3.4.7 to gnutls-devel to allow build
2664    - import to SME the two last upstream releases [SME: 10326]
2665    
2666  * Fri Nov 17 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-12  * Fri Nov 17 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-12
2667  - resolves: #1514314 - Fix CVE-2017-14746 and CVE-2017-15275  - resolves: #1514314 - Fix CVE-2017-14746 and CVE-2017-15275
2668    


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