Restrict the doc permission in rsync to 644.

(cherry picked from commit af229ea1022a04cc285e7a0620f5de113546cff5)
This commit is contained in:
ZhouPengcheng 2023-06-15 03:12:59 +00:00 committed by openeuler-sync-bot
parent 1c1b0eadff
commit 06662961ab

View File

@ -1,6 +1,6 @@
Name: rsync Name: rsync
Version: 3.2.5 Version: 3.2.5
Release: 1 Release: 2
Summary: Fast incremental file transfer utility Summary: Fast incremental file transfer utility
License: GPLv3+ License: GPLv3+
URL: http://rsync.samba.org/ URL: http://rsync.samba.org/
@ -35,7 +35,6 @@ at one of the ends of the link beforehand.
%check %check
make check make check
chmod -x support/*
%install %install
%make_install %make_install
@ -60,7 +59,7 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc tech_report.tex %doc tech_report.tex
%doc support/* %attr(0644,root,root) %doc support/*
%license COPYING %license COPYING
%config(noreplace) %{_sysconfdir}/*.conf %config(noreplace) %{_sysconfdir}/*.conf
%config(noreplace) %{_sysconfdir}/sysconfig/rsyncd %config(noreplace) %{_sysconfdir}/sysconfig/rsyncd
@ -74,6 +73,12 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service
%{_mandir}/man5/rsyncd.conf.5* %{_mandir}/man5/rsyncd.conf.5*
%changelog %changelog
* Thu Jun 15 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.2.5-1
- Type:bugfix
- CVE:
- SUG:NA
- DESC:Restrict the doc permission in rsync to 644.
* Thu Aug 18 2022 fuanan <fuanan3@h-partners.com> - 3.2.5-1 * Thu Aug 18 2022 fuanan <fuanan3@h-partners.com> - 3.2.5-1
- Update version to 3.2.5 - Update version to 3.2.5
- Fix CVE-2022-29154,CVE-2022-37434 - Fix CVE-2022-29154,CVE-2022-37434