revert 'create /etc/at.allow' and 'do not pack /etc/at.deny'
(cherry picked from commit f0be3c6db8740559c16d0b3a5b5ccfee2b88183a)
This commit is contained in:
parent
c65a7be6ef
commit
e322788452
21
at.spec
21
at.spec
@ -1,6 +1,6 @@
|
|||||||
Name: at
|
Name: at
|
||||||
Version: 3.2.5
|
Version: 3.2.5
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: A job manager
|
Summary: A job manager
|
||||||
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
|
License: GPLv3+, GPLv2+, ISC, MIT, Public Domain
|
||||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||||
@ -93,11 +93,6 @@ make test
|
|||||||
%systemd_preun atd.service
|
%systemd_preun atd.service
|
||||||
|
|
||||||
%post
|
%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
|
touch %{_localstatedir}/spool/at/.SEQ
|
||||||
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
chmod 600 %{_localstatedir}/spool/at/.SEQ
|
||||||
chown root:root %{_localstatedir}/spool/at/.SEQ
|
chown root:root %{_localstatedir}/spool/at/.SEQ
|
||||||
@ -109,6 +104,7 @@ chown root:root %{_localstatedir}/spool/at/.SEQ
|
|||||||
%files
|
%files
|
||||||
%license Copyright COPYING
|
%license Copyright COPYING
|
||||||
%doc README timespec ChangeLog
|
%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}/sysconfig/atd
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/atd
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/atd
|
||||||
%attr(4755,root,root) %{_bindir}/at
|
%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(0600,root,root) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
|
||||||
%attr(0700,root,root) %dir %{_localstatedir}/spool/at/spool
|
%attr(0700,root,root) %dir %{_localstatedir}/spool/at/spool
|
||||||
%attr(0644,root,root) /%{_unitdir}/atd.service
|
%attr(0644,root,root) /%{_unitdir}/atd.service
|
||||||
%exclude %{_sysconfdir}/at.deny
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Dec 27 2022 zhangnan <zhangnan134@huawei.com> - 3.2.5-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user