From d8ae169fd1f49da8cddae4e8638c7bf745ebda5a Mon Sep 17 00:00:00 2001 From: xinghe Date: Thu, 8 Dec 2022 19:16:16 +0800 Subject: [PATCH] remove runpath of samba's binary files (cherry picked from commit 636dbded52cd28c66214b14077e95c171e5179eb) --- samba.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 0a89491..eb595b2 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.2 -Release: 2 +Release: 3 Summary: A suite for Linux to interoperate with Windows License: GPLv3+ and LGPLv3+ @@ -795,6 +795,15 @@ chrpath -d %{buildroot}%{_sbindir}/samba chrpath -d %{buildroot}%{_sbindir}/ctdbd chrpath -d %{buildroot}%{_libexecdir}/%{name}/samba-bgqd +chrpath -d %{buildroot}%{_libexecdir}/%{name}/samba-dcerpcd +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_classic +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_epmapper +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_fsrvp +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_lsad +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_mdssvc +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_rpcecho +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_spoolss +chrpath -d %{buildroot}%{_libexecdir}/%{name}/rpcd_winreg mkdir -p %{buildroot}/etc/ld.so.conf.d echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf @@ -3469,6 +3478,12 @@ fi %endif %changelog +* Thu Dec 08 2022 xinghe - 4.17.2-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove runpath of samba's binary files + * Mon Nov 21 2022 zhouyihang - 4.17.2-2 - Type:cves - ID:CVE-2022-42898 -- Gitee