Create a new 'samba-dcerpc' sub-package for DCERPC services
This commit is contained in:
parent
874e260cc9
commit
0f08e77cfc
46
samba.spec
46
samba.spec
@ -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.4
|
%global samba_version 4.17.4
|
||||||
%global baserelease 0
|
%global baserelease 1
|
||||||
# This should be rc1 or %%nil
|
# This should be rc1 or %%nil
|
||||||
%global pre_release %nil
|
%global pre_release %nil
|
||||||
|
|
||||||
@ -242,6 +242,7 @@ Requires: %{name}-common-libs = %{samba_depver}
|
|||||||
Requires: %{name}-common-tools = %{samba_depver}
|
Requires: %{name}-common-tools = %{samba_depver}
|
||||||
Requires: %{name}-client-libs = %{samba_depver}
|
Requires: %{name}-client-libs = %{samba_depver}
|
||||||
Requires: %{name}-libs = %{samba_depver}
|
Requires: %{name}-libs = %{samba_depver}
|
||||||
|
Requires: %{name}-dcerpc = %{samba_depver}
|
||||||
Requires: libnetapi = %{samba_depver}
|
Requires: libnetapi = %{samba_depver}
|
||||||
%if %{with libwbclient}
|
%if %{with libwbclient}
|
||||||
Requires(post): libwbclient = %{samba_depver}
|
Requires(post): libwbclient = %{samba_depver}
|
||||||
@ -540,6 +541,20 @@ Provides: bundled(libreplace)
|
|||||||
The samba-common-tools package contains tools for Samba servers and
|
The samba-common-tools package contains tools for Samba servers and
|
||||||
SMB/CIFS clients.
|
SMB/CIFS clients.
|
||||||
|
|
||||||
|
### RPC
|
||||||
|
%package dcerpc
|
||||||
|
Summary: DCE RPC binaries
|
||||||
|
Requires: samba-common-libs = %{samba_depver}
|
||||||
|
Requires: samba-client-libs = %{samba_depver}
|
||||||
|
Requires: samba-libs = %{samba_depver}
|
||||||
|
Requires: libnetapi = %{samba_depver}
|
||||||
|
%if %{with libwbclient}
|
||||||
|
Requires: libwbclient = %{samba_depver}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description dcerpc
|
||||||
|
The samba-dcerpc package contains binaries that serve DCERPC over named pipes.
|
||||||
|
|
||||||
### DC
|
### DC
|
||||||
%if %{with dc} || %{with testsuite}
|
%if %{with dc} || %{with testsuite}
|
||||||
%package dc
|
%package dc
|
||||||
@ -970,6 +985,7 @@ Requires: %{name}-winbind-modules = %{samba_depver}
|
|||||||
Requires(post): libwbclient = %{samba_depver}
|
Requires(post): libwbclient = %{samba_depver}
|
||||||
Requires: libwbclient = %{samba_depver}
|
Requires: libwbclient = %{samba_depver}
|
||||||
%endif
|
%endif
|
||||||
|
Requires: %{name}-dcerpc = %{samba_depver}
|
||||||
|
|
||||||
Provides: samba4-winbind = %{samba_depver}
|
Provides: samba4-winbind = %{samba_depver}
|
||||||
Obsoletes: samba4-winbind < %{samba_depver}
|
Obsoletes: samba4-winbind < %{samba_depver}
|
||||||
@ -1753,15 +1769,6 @@ fi
|
|||||||
|
|
||||||
%dir %{_libexecdir}/samba
|
%dir %{_libexecdir}/samba
|
||||||
%{_libexecdir}/samba/samba-bgqd
|
%{_libexecdir}/samba/samba-bgqd
|
||||||
%{_libexecdir}/samba/samba-dcerpcd
|
|
||||||
%{_libexecdir}/samba/rpcd_classic
|
|
||||||
%{_libexecdir}/samba/rpcd_epmapper
|
|
||||||
%{_libexecdir}/samba/rpcd_fsrvp
|
|
||||||
%{_libexecdir}/samba/rpcd_lsad
|
|
||||||
%{_libexecdir}/samba/rpcd_mdssvc
|
|
||||||
%{_libexecdir}/samba/rpcd_rpcecho
|
|
||||||
%{_libexecdir}/samba/rpcd_spoolss
|
|
||||||
%{_libexecdir}/samba/rpcd_winreg
|
|
||||||
|
|
||||||
%dir %{_datadir}/samba
|
%dir %{_datadir}/samba
|
||||||
%dir %{_datadir}/samba/mdssvc
|
%dir %{_datadir}/samba/mdssvc
|
||||||
@ -1775,7 +1782,6 @@ fi
|
|||||||
%{_mandir}/man1/smbstatus.1*
|
%{_mandir}/man1/smbstatus.1*
|
||||||
%{_mandir}/man8/eventlogadm.8*
|
%{_mandir}/man8/eventlogadm.8*
|
||||||
%{_mandir}/man8/samba-bgqd.8*
|
%{_mandir}/man8/samba-bgqd.8*
|
||||||
%{_mandir}/man8/samba-dcerpcd.8*
|
|
||||||
%{_mandir}/man8/smbd.8*
|
%{_mandir}/man8/smbd.8*
|
||||||
%{_mandir}/man8/nmbd.8*
|
%{_mandir}/man8/nmbd.8*
|
||||||
%{_mandir}/man8/vfs_acl_tdb.8*
|
%{_mandir}/man8/vfs_acl_tdb.8*
|
||||||
@ -2082,6 +2088,20 @@ fi
|
|||||||
%{_mandir}/man8/samba-tool.8*
|
%{_mandir}/man8/samba-tool.8*
|
||||||
%{_mandir}/man8/smbpasswd.8*
|
%{_mandir}/man8/smbpasswd.8*
|
||||||
|
|
||||||
|
### RPC
|
||||||
|
%files dcerpc
|
||||||
|
%dir %{_libexecdir}/samba
|
||||||
|
%{_libexecdir}/samba/samba-dcerpcd
|
||||||
|
%{_libexecdir}/samba/rpcd_classic
|
||||||
|
%{_libexecdir}/samba/rpcd_epmapper
|
||||||
|
%{_libexecdir}/samba/rpcd_fsrvp
|
||||||
|
%{_libexecdir}/samba/rpcd_lsad
|
||||||
|
%{_libexecdir}/samba/rpcd_mdssvc
|
||||||
|
%{_libexecdir}/samba/rpcd_rpcecho
|
||||||
|
%{_libexecdir}/samba/rpcd_spoolss
|
||||||
|
%{_libexecdir}/samba/rpcd_winreg
|
||||||
|
%{_mandir}/man8/samba-dcerpcd.8*
|
||||||
|
|
||||||
### DC
|
### DC
|
||||||
%if %{with dc} || %{with testsuite}
|
%if %{with dc} || %{with testsuite}
|
||||||
%files dc
|
%files dc
|
||||||
@ -4318,6 +4338,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 19 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.4-1
|
||||||
|
- Create a samba-dcerpc sub-package
|
||||||
|
- Fix package installation without samba and samba-dc package
|
||||||
|
|
||||||
* Fri Dec 16 2022 Guenther Deschner <gdeschner@redhat.com> - 4.17.4-0
|
* Fri Dec 16 2022 Guenther Deschner <gdeschner@redhat.com> - 4.17.4-0
|
||||||
- resolves: #2153906 - Update to version 4.17.4
|
- resolves: #2153906 - Update to version 4.17.4
|
||||||
- resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
|
- resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
|
||||||
|
Loading…
Reference in New Issue
Block a user