revert 'create /etc/at.allow' and 'do not pack /etc/at.deny'

(cherry picked from commit 6dfef348cbf315bc923e8a0fc3991cad99aa025e)
This commit is contained in:
shixuantong 2024-05-28 20:27:11 +08:00 committed by openeuler-sync-bot
parent d21bbca798
commit c643359612

21
at.spec
View File

@ -1,6 +1,6 @@
Name: at
Version: 3.2.2
Release: 6
Release: 4
Summary: A job manager
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
URL: http://ftp.debian.org/debian/pool/main/a/at
@ -95,11 +95,6 @@ make test
%systemd_preun atd.service
%post
if ! test -f %{_sysconfdir}/at.allow; then
touch %{_sysconfdir}/at.allow
chown root:root %{_sysconfdir}/at.allow
chmod og-rwx %{_sysconfdir}/at.allow
fi
touch %{_localstatedir}/spool/at/.SEQ
chmod 600 %{_localstatedir}/spool/at/.SEQ
chown root:root %{_localstatedir}/spool/at/.SEQ
@ -111,6 +106,7 @@ chown root:root %{_localstatedir}/spool/at/.SEQ
%files
%license Copyright COPYING
%doc README timespec ChangeLog
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/at.deny
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/atd
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/atd
%attr(4755,root,root) %{_bindir}/at
@ -123,24 +119,11 @@ chown root:root %{_localstatedir}/spool/at/.SEQ
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
%attr(0700,root,root) %dir %{_localstatedir}/spool/at/spool
%attr(0644,root,root) /%{_unitdir}/atd.service
%exclude %{_sysconfdir}/at.deny
%files help
%{_mandir}/man*/*
%changelog
* Mon May 27 2024 shixuantong <shixuantong1@huawei.com> - 3.2.2-6
- Typebugfix
- IDNA
- SUG:NA
- DESC:create /etc/at.allow
* Fri May 24 2024 shixuantong <shixuantong1@huawei.com> - 3.2.2-5
- Typebugfix
- IDNA
- SUG:NA
- DESC:do not pack /etc/at.deny
* Fri Jun 9 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.2.2-4
- Type:bugfix
- CVE: