import samba-4.17.5-2.el8

This commit is contained in:
CentOS Sources 2023-02-18 02:10:24 +00:00 committed by root
parent d591957217
commit e5052a1f81
1 changed files with 31 additions and 59 deletions

View File

@ -135,7 +135,7 @@
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%global samba_version 4.17.5 %global samba_version 4.17.5
%global baserelease 0 %global baserelease 2
# This should be rc1 or %%nil # This should be rc1 or %%nil
%global pre_release %nil %global pre_release %nil
@ -507,7 +507,7 @@ SMB/CIFS clients.
### COMMON-TOOLS ### COMMON-TOOLS
%package common-tools %package common-tools
Summary: Tools for Samba servers and clients Summary: Tools for Samba clients
Requires: samba-common-libs = %{samba_depver} Requires: samba-common-libs = %{samba_depver}
Requires: samba-client-libs = %{samba_depver} Requires: samba-client-libs = %{samba_depver}
Requires: samba-libs = %{samba_depver} Requires: samba-libs = %{samba_depver}
@ -517,22 +517,28 @@ Requires: libnetapi = %{samba_depver}
Requires: libwbclient = %{samba_depver} Requires: libwbclient = %{samba_depver}
%endif %endif
Provides: bundled(libreplace)
%description common-tools
The samba-common-tools package contains tools for SMB/CIFS clients.
### SAMBA-TOOLS
%package tools
Summary: Tools for Samba servers
# samba-tool needs python3-samba # samba-tool needs python3-samba
Requires: python3-%{name} = %{samba_depver} Requires: python3-%{name} = %{samba_depver}
# samba-tool needs tdbbackup # samba-tool needs tdbbackup
Requires: tdb-tools Requires: tdb-tools
%if %{with dc} # samba-tool needs python3-samba-dc also on non-dc build
# samba-tool needs python3-samba-dc on a full build
Requires: python3-%{name}-dc = %{samba_depver} Requires: python3-%{name}-dc = %{samba_depver}
%if %{with dc}
# samba-tool needs mdb_copy for domain backup or upgrade provision # samba-tool needs mdb_copy for domain backup or upgrade provision
Requires: lmdb Requires: lmdb
%endif %endif
Provides: bundled(libreplace) %description tools
The samba-tools package contains tools for Samba servers
%description common-tools and for GPO management on domain members.
The samba-common-tools package contains tools for Samba servers and
SMB/CIFS clients.
### RPC ### RPC
%package dcerpc %package dcerpc
@ -873,7 +879,6 @@ Requires: %{name}-libs = %{samba_depver}
The python3-%{name}-test package contains the Python libraries used by the test suite of Samba. The python3-%{name}-test package contains the Python libraries used by the test suite of Samba.
If you want to run full set of Samba tests, you need to install this package. If you want to run full set of Samba tests, you need to install this package.
%if %{with dc} || %{with testsuite}
%package -n python3-samba-dc %package -n python3-samba-dc
Summary: Samba Python libraries for Samba AD Summary: Samba Python libraries for Samba AD
Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver}
@ -883,7 +888,6 @@ Requires: python3-%{name} = %{samba_depver}
%description -n python3-samba-dc %description -n python3-samba-dc
The python3-%{name}-dc package contains the Python libraries needed by programs The python3-%{name}-dc package contains the Python libraries needed by programs
to manage Samba AD. to manage Samba AD.
%endif
### PIDL ### PIDL
%package pidl %package pidl
@ -977,6 +981,7 @@ Requires(post): %{name}-client-libs = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
Requires(post): %{name}-libs = %{samba_depver} Requires(post): %{name}-libs = %{samba_depver}
Requires: %{name}-winbind-modules = %{samba_depver} Requires: %{name}-winbind-modules = %{samba_depver}
Recommends: %{name}-tools = %{samba_depver}
%if %{with libwbclient} %if %{with libwbclient}
Requires(post): libwbclient = %{samba_depver} Requires(post): libwbclient = %{samba_depver}
@ -1399,54 +1404,10 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
%if %{without dc} && %{without testsuite} %if %{without dc} && %{without testsuite}
for i in \ for i in \
%{_libdir}/samba/libdfs-server-ad-samba4.so \
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
%{_mandir}/man8/samba.8 \ %{_mandir}/man8/samba.8 \
%{_mandir}/man8/samba_downgrade_db.8 \ %{_mandir}/man8/samba_downgrade_db.8 \
%{_mandir}/man8/samba-gpupdate.8 \ %{_mandir}/man8/samba-gpupdate.8 \
%{_unitdir}/samba.service \ %{_unitdir}/samba.service \
%{python3_sitearch}/samba/dcerpc/dnsserver.*.so \
%{python3_sitearch}/samba/dnsserver.py \
%{python3_sitearch}/samba/domain_update.py \
%{python3_sitearch}/samba/forest_update.py \
%{python3_sitearch}/samba/kcc/__init__.py \
%{python3_sitearch}/samba/kcc/debug.py \
%{python3_sitearch}/samba/kcc/graph.py \
%{python3_sitearch}/samba/kcc/graph_utils.py \
%{python3_sitearch}/samba/kcc/kcc_utils.py \
%{python3_sitearch}/samba/kcc/ldif_import_export.py \
%{python3_sitearch}/samba/kcc/__pycache__/__init__.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/debug.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/graph.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/graph_utils.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/kcc_utils.*.pyc \
%{python3_sitearch}/samba/kcc/__pycache__/ldif_import_export.*.pyc \
%{python3_sitearch}/samba/ms_forest_updates_markdown.py \
%{python3_sitearch}/samba/ms_schema_markdown.py \
%{python3_sitearch}/samba/provision/__init__.py \
%{python3_sitearch}/samba/provision/backend.py \
%{python3_sitearch}/samba/provision/common.py \
%{python3_sitearch}/samba/provision/kerberos_implementation.py \
%{python3_sitearch}/samba/provision/kerberos.py \
%{python3_sitearch}/samba/provision/sambadns.py \
%{python3_sitearch}/samba/provision/__pycache__/__init__.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/backend.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/common.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/kerberos_implementation.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/kerberos.*.pyc \
%{python3_sitearch}/samba/provision/__pycache__/sambadns.*.pyc \
%{python3_sitearch}/samba/__pycache__/domain_update.*.pyc \
%{python3_sitearch}/samba/__pycache__/forest_update.*.pyc \
%{python3_sitearch}/samba/__pycache__/ms_forest_updates_markdown.*.pyc \
%{python3_sitearch}/samba/__pycache__/ms_schema_markdown.*.pyc \
%{python3_sitearch}/samba/__pycache__/remove_dc.*.pyc \
%{python3_sitearch}/samba/__pycache__/schema.*.pyc \
%{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc \
%{python3_sitearch}/samba/remove_dc.py \
%{python3_sitearch}/samba/samdb.py \
%{python3_sitearch}/samba/schema.py \
%{python3_sitearch}/samba/uptodateness.py \
%{_sbindir}/samba-gpupdate \ %{_sbindir}/samba-gpupdate \
; do ; do
rm -f %{buildroot}$i rm -f %{buildroot}$i
@ -2062,11 +2023,11 @@ fi
%{_libdir}/samba/pdb/smbpasswd.so %{_libdir}/samba/pdb/smbpasswd.so
%{_libdir}/samba/pdb/tdbsam.so %{_libdir}/samba/pdb/tdbsam.so
### COMMON-TOOLS
%files common-tools %files common-tools
%{_bindir}/net %{_bindir}/net
%{_bindir}/pdbedit %{_bindir}/pdbedit
%{_bindir}/profiles %{_bindir}/profiles
%{_bindir}/samba-tool
%{_bindir}/smbcontrol %{_bindir}/smbcontrol
%{_bindir}/smbpasswd %{_bindir}/smbpasswd
%{_bindir}/testparm %{_bindir}/testparm
@ -2075,9 +2036,13 @@ fi
%{_mandir}/man1/testparm.1* %{_mandir}/man1/testparm.1*
%{_mandir}/man8/net.8* %{_mandir}/man8/net.8*
%{_mandir}/man8/pdbedit.8* %{_mandir}/man8/pdbedit.8*
%{_mandir}/man8/samba-tool.8*
%{_mandir}/man8/smbpasswd.8* %{_mandir}/man8/smbpasswd.8*
### TOOLS
%files tools
%{_bindir}/samba-tool
%{_mandir}/man8/samba-tool.8*
### RPC ### RPC
%files dcerpc %files dcerpc
%dir %{_libexecdir}/samba %dir %{_libexecdir}/samba
@ -2787,7 +2752,6 @@ fi
%{_libdir}/libsamba-policy.*.so %{_libdir}/libsamba-policy.*.so
%{_libdir}/pkgconfig/samba-policy.*.pc %{_libdir}/pkgconfig/samba-policy.*.pc
%if %{with dc} || %{with testsuite}
%files -n python3-%{name}-dc %files -n python3-%{name}-dc
%{python3_sitearch}/samba/samdb.py %{python3_sitearch}/samba/samdb.py
%{python3_sitearch}/samba/schema.py %{python3_sitearch}/samba/schema.py
@ -2803,7 +2767,9 @@ fi
%{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc %{python3_sitearch}/samba/__pycache__/uptodateness.*.pyc
%{python3_sitearch}/samba/dcerpc/dnsserver.*.so %{python3_sitearch}/samba/dcerpc/dnsserver.*.so
%if %{with dc} || %{with testsuite}
%{python3_sitearch}/samba/dckeytab.*.so %{python3_sitearch}/samba/dckeytab.*.so
%endif
%{python3_sitearch}/samba/domain_update.py %{python3_sitearch}/samba/domain_update.py
%{python3_sitearch}/samba/forest_update.py %{python3_sitearch}/samba/forest_update.py
%{python3_sitearch}/samba/ms_forest_updates_markdown.py %{python3_sitearch}/samba/ms_forest_updates_markdown.py
@ -2844,7 +2810,6 @@ fi
%{python3_sitearch}/samba/remove_dc.py %{python3_sitearch}/samba/remove_dc.py
%{python3_sitearch}/samba/uptodateness.py %{python3_sitearch}/samba/uptodateness.py
%endif
%files -n python3-%{name}-test %files -n python3-%{name}-test
%dir %{python3_sitearch}/samba/tests %dir %{python3_sitearch}/samba/tests
@ -4332,6 +4297,13 @@ fi
%endif %endif
%changelog %changelog
* Wed Feb 15 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.17.5-2
- resolves: rhbz#2169339 - Fix winbind memory leak
- resolves: rhbz#2152899 - Fix Samba shares not accessible issue
* Mon Feb 13 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.17.5-1
- resolves: rhbz#2167691 - Create package samba-tools
* Fri Jan 27 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.17.5-0 * Fri Jan 27 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.17.5-0
- related: rhbz#2132051 - Update to version 4.17.5 - related: rhbz#2132051 - Update to version 4.17.5