!41 [sync] PR-39: revert 'create /etc/at.allow' and 'do not pack /etc/at.deny'
From: @openeuler-sync-bot Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
3678cb39d7
21
at.spec
21
at.spec
@ -1,6 +1,6 @@
|
||||
Name: at
|
||||
Version: 3.2.5
|
||||
Release: 3
|
||||
Release: 1
|
||||
Summary: A job manager
|
||||
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
|
||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||
@ -93,11 +93,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
|
||||
@ -109,6 +104,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
|
||||
@ -121,24 +117,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.5-3
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:create /etc/at.allow
|
||||
|
||||
* Fri May 24 2024 shixuantong <shixuantong1@huawei.com> - 3.2.5-2
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:do not pack /etc/at.deny
|
||||
|
||||
* Tue Dec 27 2022 zhangnan <zhangnan134@huawei.com> - 3.2.5-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user