d83c6e
%bcond_without pam
d83c6e
d83c6e
Summary:	Job spooling tools
d83c6e
Name:		at
d83c6e
Version:	3.1.20
d83c6e
Release:	12%{?dist}
d83c6e
# http://packages.debian.org/changelogs/pool/main/a/at/current/copyright
d83c6e
# + install-sh is MIT license with changes under Public Domain
d83c6e
License:	GPLv3+ and GPLv2+ and ISC and MIT and Public Domain
d83c6e
Group:		System Environment/Daemons
d83c6e
URL:		http://ftp.debian.org/debian/pool/main/a/at
d83c6e
d83c6e
Source:		http://ftp.debian.org/debian/pool/main/a/at/at_%{version}.orig.tar.gz
d83c6e
# git upstream source git://git.debian.org/git/collab-maint/at.git
d83c6e
Source1:	pam_atd
d83c6e
Source3:	atd.sysconf
d83c6e
Source5:	atd.systemd
d83c6e
d83c6e
Patch0:		at-aarch64.patch
d83c6e
Patch1:		at-3.1.18-make.patch
d83c6e
Patch2:		at-3.1.20-pam.patch
d83c6e
Patch4:		at-3.1.14-opt_V.patch
d83c6e
Patch5:		at-3.1.20-shell.patch
d83c6e
Patch6:		at-3.1.18-nitpicks.patch
d83c6e
Patch8:		at-3.1.14-fix_no_export.patch
d83c6e
Patch9:		at-3.1.14-mailwithhostname.patch
d83c6e
Patch10:	at-3.1.14-usePOSIXtimers.patch
d83c6e
Patch12:	at-3.1.20-aborted-jobs.patch
d83c6e
Patch13:	at-3.1.18-noabort.patch
d83c6e
Patch14:	at-3.1.16-fclose-error.patch
d83c6e
Patch15:	at-3.1.16-clear-nonjobs.patch
d83c6e
Patch16:	at-3.1.18-utc-dst.patch
d83c6e
Patch17:	at-3.1.20-lock-locks.patch
d83c6e
Patch18:	at-3.1.20-document-n.patch
d83c6e
Patch19:	at-3.1.20-log-jobs.patch
d83c6e
d83c6e
BuildRequires: gcc
d83c6e
BuildRequires: flex flex-static bison autoconf
d83c6e
BuildRequires: libselinux-devel >= 1.27.9
d83c6e
BuildRequires: perl(Test::Harness)
d83c6e
BuildRequires: perl(Test::More)
d83c6e
d83c6e
%if %{with pam}
d83c6e
BuildRequires: pam-devel
d83c6e
%endif
d83c6e
Conflicts: crontabs <= 1.5
d83c6e
# No, I'm not kidding
d83c6e
BuildRequires: smtpdaemon
d83c6e
d83c6e
Requires(post): systemd-units
d83c6e
Requires(preun): systemd-units
d83c6e
Requires(postun): systemd-units
d83c6e
d83c6e
# at-sysvinit subpackage dropped
d83c6e
Obsoletes: at-sysvinit < 3.1.16-1
d83c6e
d83c6e
%description
d83c6e
At and batch read commands from standard input or from a specified
d83c6e
file. At allows you to specify that a command will be run at a
d83c6e
particular time. Batch will execute commands when the system load
d83c6e
levels drop to a particular level. Both commands use user's shell.
d83c6e
d83c6e
You should install the at package if you need a utility for
d83c6e
time-oriented job control. Note: If it is a recurring job that will
d83c6e
need to be repeated at the same time every day/week, etc. you should
d83c6e
use crontab instead.
d83c6e
d83c6e
%prep
d83c6e
%setup -q
d83c6e
cp %{SOURCE1} .
d83c6e
%patch0 -p1 -b .arm
d83c6e
%patch1 -p1 -b .make
d83c6e
%patch2 -p1 -b .pam
d83c6e
%patch4 -p1 -b .opt_V
d83c6e
%patch5 -p1 -b .shell
d83c6e
%patch6 -p1 -b .nit
d83c6e
%patch8 -p1 -b .export
d83c6e
%patch9 -p1 -b .mail
d83c6e
%patch10 -p1 -b .posix
d83c6e
%patch12 -p1 -b .aborted
d83c6e
%patch13 -p1 -b .noabort
d83c6e
%patch14 -p1 -b .fclose
d83c6e
%patch15 -p1 -b .clear-nojobs
d83c6e
%patch16 -p1 -b .dst
d83c6e
%patch17 -p1 -b .lock-locks
d83c6e
%patch18 -p1 -b .document-n
d83c6e
%patch19 -p1 -b .log-jobs
d83c6e
d83c6e
%build
d83c6e
# patch9 touches configure.in
d83c6e
autoconf
d83c6e
# uselles files
d83c6e
rm -f lex.yy.* y.tab.*
d83c6e
%configure --with-atspool=%{_localstatedir}/spool/at/spool \
d83c6e
	--with-jobdir=%{_localstatedir}/spool/at \
d83c6e
	--with-daemon_username=root  \
d83c6e
	--with-daemon_groupname=root \
d83c6e
	--with-selinux \
d83c6e
%if %{with pam}
d83c6e
	--with-pam
d83c6e
%endif
d83c6e
d83c6e
make
d83c6e
d83c6e
%install
d83c6e
make install \
d83c6e
	DAEMON_USERNAME=`id -nu`\
d83c6e
	DAEMON_GROUPNAME=`id -ng` \
d83c6e
	DESTDIR=%{buildroot}\
d83c6e
	sbindir=%{buildroot}%{_prefix}/sbin\
d83c6e
	bindir=%{buildroot}%{_bindir}\
d83c6e
	prefix=%{buildroot}%{_prefix}\
d83c6e
	exec_prefix=%{buildroot}%{_prefix}\
d83c6e
	docdir=%{buildroot}/usr/doc\
d83c6e
	mandir=%{buildroot}%{_mandir}\
d83c6e
	etcdir=%{buildroot}%{_sysconfdir} \
d83c6e
	ATJOB_DIR=%{buildroot}%{_localstatedir}/spool/at \
d83c6e
	ATSPOOL_DIR=%{buildroot}%{_localstatedir}/spool/at/spool \
d83c6e
	INSTALL_ROOT_USER=`id -nu` \
d83c6e
	INSTALL_ROOT_GROUP=`id -nu`;
d83c6e
d83c6e
echo > %{buildroot}%{_sysconfdir}/at.deny
d83c6e
mkdir docs
d83c6e
cp  %{buildroot}/%{_prefix}/doc/at/* docs/
d83c6e
d83c6e
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
d83c6e
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/atd
d83c6e
d83c6e
mkdir -p %{buildroot}/etc/sysconfig
d83c6e
install -m 644 %{SOURCE3} %{buildroot}/etc/sysconfig/atd
d83c6e
d83c6e
# install systemd initscript
d83c6e
mkdir -p %{buildroot}/%{_unitdir}/
d83c6e
install -m 644 %{SOURCE5} %{buildroot}/%{_unitdir}/atd.service
d83c6e
d83c6e
# remove unpackaged files from the buildroot
d83c6e
rm -r  %{buildroot}%{_prefix}/doc
d83c6e
d83c6e
%check
d83c6e
make test
d83c6e
d83c6e
%post
d83c6e
touch %{_localstatedir}/spool/at/.SEQ
d83c6e
chmod 600 %{_localstatedir}/spool/at/.SEQ
d83c6e
chown root:root %{_localstatedir}/spool/at/.SEQ
d83c6e
%systemd_post atd.service
d83c6e
d83c6e
%preun
d83c6e
%systemd_preun atd.service
d83c6e
d83c6e
%postun
d83c6e
%systemd_postun_with_restart atd.service
d83c6e
d83c6e
%triggerun -- at < 3.1.12-6
d83c6e
# Save the current service runlevel info
d83c6e
# User must manually run systemd-sysv-convert --apply atd
d83c6e
# to migrate them to systemd targets
d83c6e
/usr/bin/systemd-sysv-convert --save atd
d83c6e
d83c6e
# The package is allowed to autostart:
d83c6e
/bin/systemctl enable atd.service >/dev/null 2>&1
d83c6e
d83c6e
/sbin/chkconfig --del atd >/dev/null 2>&1 || :
d83c6e
/bin/systemctl try-restart atd.service >/dev/null 2>&1 || :
d83c6e
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
d83c6e
d83c6e
%files
d83c6e
%license Copyright COPYING
d83c6e
%doc README timespec ChangeLog
d83c6e
%attr(0644,root,root)		%config(noreplace) %{_sysconfdir}/at.deny
d83c6e
%attr(0644,root,root)		%config(noreplace) %{_sysconfdir}/sysconfig/atd
d83c6e
%attr(0700,root,root)		%dir %{_localstatedir}/spool/at
d83c6e
%attr(0600,root,root)		%verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
d83c6e
%attr(0700,root,root)		%dir %{_localstatedir}/spool/at/spool
d83c6e
%attr(0644,root,root)		%config(noreplace) %{_sysconfdir}/pam.d/atd
d83c6e
%{_sbindir}/atrun
d83c6e
%attr(0755,root,root)		%{_sbindir}/atd
d83c6e
%{_mandir}/man*/*
d83c6e
%{_bindir}/batch
d83c6e
%{_bindir}/atrm
d83c6e
%{_bindir}/atq
d83c6e
%attr(4755,root,root)		%{_bindir}/at
d83c6e
%attr(0644,root,root)		/%{_unitdir}/atd.service
d83c6e
d83c6e
%changelog
d83c6e
* Mon Apr 04 2022 Jan Staněk <jstanek@redhat.com> - 3.1.20-12
d83c6e
- Add preceding newline to delimiter in at-3.1.20-shell.patch
d83c6e
  Resolves: rhbz#2070450
d83c6e
d83c6e
* Wed May 23 2018 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-11
d83c6e
- log the jobs being run
d83c6e
d83c6e
* Sun Feb 25 2018 Florian Weimer <fweimer@redhat.com> - 3.1.20-10
d83c6e
- Drop "BuildRequires: fileutils /etc/init.d"
d83c6e
d83c6e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.20-9
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d83c6e
d83c6e
* Thu Sep 14 2017 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-8
d83c6e
- improve the wrong_format patch, also rename it to correct name
d83c6e
d83c6e
* Thu Sep 14 2017 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-7
d83c6e
- the ownership of the spool directory should be root as at is configured
d83c6e
  with daemon username root
d83c6e
- document the -n option
d83c6e
d83c6e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.20-6
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d83c6e
d83c6e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.20-5
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d83c6e
d83c6e
* Tue Mar 28 2017 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-4
d83c6e
- fix the POSIX timers support (#1436523)
d83c6e
d83c6e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.20-3
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d83c6e
d83c6e
* Thu Feb  2 2017 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-2
d83c6e
- properly include the license files
d83c6e
d83c6e
* Fri Jul  1 2016 Tomáš Mráz <tmraz@redhat.com> - 3.1.20-1
d83c6e
- new upstream release
d83c6e
- properly lock the lock files to be able to safely remove
d83c6e
  stale ones
d83c6e
d83c6e
* Mon May 23 2016 Tomáš Mráz <tmraz@redhat.com> - 3.1.18-2
d83c6e
- SIGPIPE should not be ignored in atd (#1338039)
d83c6e
d83c6e
* Wed Mar 23 2016 Tomáš Mráz <tmraz@redhat.com> - 3.1.18-1
d83c6e
- new upstream release
d83c6e
- correct the DST correction when using UTC time specification (#1320322)
d83c6e
d83c6e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.16-8
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d83c6e
d83c6e
* Wed Sep  9 2015 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-7
d83c6e
- clear non-job files from at dir
d83c6e
d83c6e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.16-6
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d83c6e
d83c6e
* Fri Nov 28 2014 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-5
d83c6e
- superfluous patch dropped
d83c6e
d83c6e
* Mon Nov 24 2014 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-4
d83c6e
- test for write error on fclose (#1166882)
d83c6e
d83c6e
* Thu Nov  6 2014 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-3
d83c6e
- make atd less abort prone
d83c6e
d83c6e
* Fri Oct 10 2014 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-2
d83c6e
- add proper Obsoletes for the sysvinit subpackage
d83c6e
d83c6e
* Thu Oct  2 2014 Tomáš Mráz <tmraz@redhat.com> - 3.1.16-1
d83c6e
- new upstream release fixing regression from security fix in bash
d83c6e
- drop sysvinit subpackage
d83c6e
d83c6e
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.14-5
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d83c6e
d83c6e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.14-4
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d83c6e
d83c6e
* Tue Mar 25 2014 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.14-3
d83c6e
- 1079304 remove part of patch, which is not needed anymore
d83c6e
d83c6e
* Tue Jan 28 2014 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.14-2
d83c6e
- remove parallel build -> it fails on secondary arches 1058686
d83c6e
d83c6e
* Mon Dec  2 2013 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.14-1
d83c6e
- new release 3.1.14
d83c6e
- all Fedora specifics backported
d83c6e
- 718422 File a0000f0149b7f3 is in wrong format - aborting
d83c6e
- 925041 Does not support aarch64 in f19 and rawhide
d83c6e
d83c6e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-13
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d83c6e
d83c6e
* Mon Feb 11 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.13-12
d83c6e
- Fix patch to fix FTBFS with gcc 4.8
d83c6e
d83c6e
* Wed Nov 14 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-11
d83c6e
- fix license field again
d83c6e
d83c6e
* Thu Nov  1 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-10
d83c6e
- fix license field
d83c6e
- fix systemd macros in scriptlets part of the specfile
d83c6e
- fix selinux patch to apply without fuzz=2
d83c6e
d83c6e
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-9
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d83c6e
d83c6e
* Tue Apr 17 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-8
d83c6e
- at-3.1.13-mailwithhostname.patch in email mention also hostname address
d83c6e
- at-3.1.13-usePOSIXtimers.patch use POSIX timers, so we won't need
d83c6e
  pm-utils hack anymore
d83c6e
- at-3.1.13-help.patch update usage
d83c6e
- systemd-user-sessions.service is used in unit file, so the atd should be
d83c6e
  started after almost all services are up and running
d83c6e
- 812682 pam support work with new systemd defaults
d83c6e
d83c6e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-7
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d83c6e
d83c6e
* Mon Nov 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-5
d83c6e
- 754156 fix typo in script
d83c6e
d83c6e
* Mon Nov 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-5
d83c6e
- fix incorrect option in test in 56atd
d83c6e
d83c6e
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.13-4
d83c6e
- Rebuilt for glibc bug#747377
d83c6e
d83c6e
* Sun Sep  4 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-3
d83c6e
- 729742 fix 56atd script for systemd
d83c6e
d83c6e
* Mon Aug 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-2
d83c6e
- rebuilt with new rpm
d83c6e
- Related: rhbz#728707
d83c6e
d83c6e
* Fri Jul 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-1
d83c6e
- update to 3.1.13
d83c6e
- rewrite patches to be applicable
d83c6e
d83c6e
* Thu Jul 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-11
d83c6e
- fix permission of init.d/atd
d83c6e
d83c6e
* Wed Jul 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-10
d83c6e
- create sysvinit script 714642 (inspired by cronie)
d83c6e
- clean specfile, consistent macros, tab/spaces
d83c6e
d83c6e
* Tue Jul 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-9
d83c6e
- re-add missing export SHELL 674426
d83c6e
- remove sysvinit scripts 714642
d83c6e
- clean specfile (use bcond, remove defattr)
d83c6e
d83c6e
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.12-8
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d83c6e
d83c6e
* Tue Dec  7 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-7
d83c6e
- fix typo in systemd configuration
d83c6e
- fix permissions of config files
d83c6e
d83c6e
* Tue Nov 30 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-6
d83c6e
- 617320 systemd init script replacement
d83c6e
d83c6e
* Mon Mar 15 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-5
d83c6e
- 568222 interrupted 'at' job creates empty job for non-root
d83c6e
d83c6e
* Mon Mar  1 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-4
d83c6e
- 568779 atd is alway runnig after suspend/resume
d83c6e
d83c6e
* Fri Feb 12 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-3
d83c6e
- prevent arbitrary destruction of at jobs (based on 564243)
d83c6e
d83c6e
* Mon Jan 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-2
d83c6e
- polish pam in atd again
d83c6e
d83c6e
* Thu Dec  3 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-1
d83c6e
- update to the new version of at
d83c6e
- adapt patches for new version
d83c6e
- change our pam config to source
d83c6e
- start using new upstream test instead of our nonfunctinal
d83c6e
- upstream changed nofork option -n to foreground option -f
d83c6e
d83c6e
* Tue Oct 13 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.11-1
d83c6e
- 528582 add noreplace option into files section
d83c6e
- rewrite pam2 patch - check return value, use "better" macro, etc.
d83c6e
- new version of at
d83c6e
d83c6e
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> 3.1.10-37
d83c6e
- improve the PAM configuration, use password-auth common stack
d83c6e
d83c6e
* Tue Aug 18 2009 Adam Jackson <ajax@redhat.com> 3.1.10-36
d83c6e
- Remove Requires: pm-utils-filesystem, dead package
d83c6e
d83c6e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.10-35
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d83c6e
d83c6e
* Mon Jul  20 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-34
d83c6e
- require pm-utils-filesystem instead of pm-utils which should help
d83c6e
 minimal installation.
d83c6e
d83c6e
* Mon Jun  1 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-33
d83c6e
- clean cvs, check patches
d83c6e
d83c6e
* Wed Mar 18 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-32
d83c6e
- add the forgotten add delimiter thanks to Cong Ma
d83c6e
d83c6e
* Thu Feb 26 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-31
d83c6e
- preun script is sometimes failing. Add apostrofs around zero.
d83c6e
d83c6e
* Thu Feb 26 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-30
d83c6e
- 435765 and 486844 in some cases could be used bash for at commands
d83c6e
 even if user sets different default shell. Also bash4.0 fix Here Documents
d83c6e
 which breaks previous patch at-3.1.10-shell.patch.
d83c6e
d83c6e
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.10-29
d83c6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d83c6e
d83c6e
* Thu Feb 19 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-28
d83c6e
- 486227 add hyphen date into manual page.
d83c6e
d83c6e
* Wed Dec 3 2008 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-27
d83c6e
- 464393 add script into pm-utils, because daemon wasn't taking all jobs
d83c6e
	after suspend/hibernate
d83c6e
d83c6e
* Fri Oct 24 2008 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.10-26
d83c6e
- update init script according to SysVInitScript
d83c6e
d83c6e
* Tue Sep 16 2008 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-25
d83c6e
- thanks dwalsh for selinux patch, which fix #460873
d83c6e
d83c6e
* Fri Jul 18 2008 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-24
d83c6e
- 446004 hope adding || into scriptlets fix removing old package after upgrade
d83c6e
- fixes for fuzz=0
d83c6e
d83c6e
* Tue Mar 25 2008 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-23
d83c6e
- 436952 use local instead of posix output date/time format.
d83c6e
d83c6e
* Thu Feb 28 2008 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-22
d83c6e
- #435250 mixed OPTS and OPTIONS variable in sysconfig
d83c6e
d83c6e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.10-21
d83c6e
- Autorebuild for GCC 4.3
d83c6e
d83c6e
* Tue Jan  8 2008 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-20
d83c6e
- used PIE instead of pie (with pie wasn't build on 64b successful)
d83c6e
- rewrite PAM fail check
d83c6e
- fix checking of settings setuid(s)
d83c6e
d83c6e
* Mon Dec  3 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-19
d83c6e
- another problem with permission
d83c6e
d83c6e
* Tue Oct 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-18
d83c6e
- Bug 398981: change on correct permissions
d83c6e
d83c6e
* Fri Oct 05 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-17
d83c6e
- Bug 250147: add optional support for gnome-keyring to passwd pam stack
d83c6e
d83c6e
* Wed Aug 22 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-16
d83c6e
- macro with_pam instead of have_pam
d83c6e
- license tag is gplv2+ because of license in source files
d83c6e
d83c6e
* Wed Jul 11 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-15
d83c6e
- rewrite init script
d83c6e
- add own session - setsid
d83c6e
- Resolves: rhbz#247091
d83c6e
d83c6e
* Mon Jul  9 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-14
d83c6e
- feature: add configuration file
d83c6e
- fix -V option
d83c6e
- fix init script
d83c6e
d83c6e
* Tue Jul  3 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-13
d83c6e
- Resolves: rhbz#243064
d83c6e
d83c6e
* Tue Jul  3 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-12
d83c6e
- crashing atd
d83c6e
- work only for root, still broken some functions
d83c6e
- Resolves: rhbz#243064
d83c6e
d83c6e
* Tue Mar 27 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-11
d83c6e
- mistake in pam_atd
d83c6e
- rhbz#234120
d83c6e
d83c6e
* Mon Mar 05 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-10
d83c6e
- rhbz#224597
d83c6e
d83c6e
* Sat Mar 03 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-9
d83c6e
- review
d83c6e
d83c6e
* Tue Feb 20 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-8
d83c6e
- review
d83c6e
- rhbz#225288
d83c6e
d83c6e
* Tue Jan 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-7
d83c6e
- no debug file - useless
d83c6e
- new pam configuration
d83c6e
- rhbz#224597
d83c6e
d83c6e
* Fri Oct 27 2006 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-6
d83c6e
- fix daylight-saving again
d83c6e
- fix #214759 - problem with seteuid
d83c6e
d83c6e
* Wed Oct 25 2006 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-5
d83c6e
- daylight-saving
d83c6e
d83c6e
* Tue Oct 24 2006 Marcela Maslanova <mmaslano@redhat.com> - 3.1.10-3
d83c6e
- new version from upstream 3.1.10
d83c6e
d83c6e
* Wed Aug 23 2006 Marcela Maslanova <mmaslano@redhat.com> - 3.1.8-82.fc6
d83c6e
- #176486 don't fork option added (patch from Enrico Scholz)
d83c6e
d83c6e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1.8-81.2
d83c6e
- rebuild
d83c6e
d83c6e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1.8-81.1
d83c6e
- bump again for double-long bug on ppc(64)
d83c6e
d83c6e
* Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 3.1.8-81
d83c6e
- rebuild for new gcc, glibc, glibc-kernheaders
d83c6e
- workaround new refusal of /usr/bin/install to chown
d83c6e
d83c6e
* Sun Dec 18 2005 Jason Vas Dias<jvdias@redhat.com> - 3.1.8-80.2
d83c6e
- rebuild for new flex
d83c6e
d83c6e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
d83c6e
- rebuilt for new gcj
d83c6e
d83c6e
* Fri Oct 14 2005 Dan Walsh <dwalsh@redhat.com> - 3.1.8-80
d83c6e
- Add seuserbyname support
d83c6e
d83c6e
* Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 3.1.8-79
d83c6e
- use include instead of pam_stack in pam config
d83c6e
d83c6e
* Fri Jun 03 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-78
d83c6e
- fix bug 159220: add pam_loginuid to pam session stack in /etc/pam.d/atd
d83c6e
- fix bug 102341: add '-r' synonym for '-d' / atrm for POSIX / SuS conformance
d83c6e
d83c6e
* Fri Apr 08 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-77
d83c6e
- always call pam_setcred(pamh, PAM_DELETE_CRED) before session
d83c6e
- close
d83c6e
d83c6e
* Tue Apr 05 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-70
d83c6e
- always call pam_close_session on PAM_FAIL or pam_end
d83c6e
d83c6e
* Tue Mar 08 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-68
d83c6e
- Put PAM authentication check in 'check_permissions()', so
d83c6e
- user can know when using at(1) if PAM permission is denied.
d83c6e
d83c6e
* Tue Mar 08 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-67
d83c6e
- better fix for bug 150131: change DAEMON_USERNAME and
d83c6e
- DAEMON_GROUPNAME to 'root' .
d83c6e
d83c6e
* Mon Mar 07 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-66
d83c6e
- fix bug 150131: atd should not relinquish root privilege if
d83c6e
- doing su(1) equivalent with PAM .
d83c6e
d83c6e
* Tue Jan 25 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-64
d83c6e
- bugs 5160/146132: add PAM authentication control to atd
d83c6e
d83c6e
* Tue Oct 05 2004 Jason Vas Dias <jvdias@redhat.com> 3.1.8-60
d83c6e
- fix bug 131510: no_export env. var. blacklisting should not
d83c6e
- remove 'SHELL' when only 'SHELLOPTS' is blacklisted.
d83c6e
- at(1) man-page should not say 'commands are run with /bin/sh'
d83c6e
- and should explain usage of SHELL environement variable and
d83c6e
- details of blacklisted variables.
d83c6e
d83c6e
* Tue Sep 28 2004 Rik van Riel <riel@redhat.com> 3.1.8-58
d83c6e
- fix typo in man page, bug 112303
d83c6e
- (regenerated at-3.1.8-man-timespec-path.patch with fix)
d83c6e
d83c6e
* Tue Aug 03 2004 Jason Vas Dias <jvdias@redhat.com>
d83c6e
- fixed bug 125634 - made usage() agree with manpage
d83c6e
d83c6e
* Thu Jul 29 2004 Jason Vas Dias <jvdias@redhat.com>
d83c6e
- Added POSIX.2 -t option for RFE 127485
d83c6e
d83c6e
*  Thu Jul 29 2004 Jason Vas Dias <jvdias@redhat.com>
d83c6e
- Had to disable the 'make test' for the build BEFORE
d83c6e
- any changes were made (building on FC2 - perl issue?)
d83c6e
- test.pl generates these 'errors' for what looks like
d83c6e
- valid output to me:
d83c6e
- $ ./test.pl 2>&1 | egrep -v '(^ok$)|(time_only)'
d83c6e
- 1..3656
d83c6e
- not ok
d83c6e
- 'Monday - 1 month': 'Fri Jul  2 18:29:00 2004' =? 'Sat Jul  3 18:29:00 2004'
d83c6e
- not ok
d83c6e
- 'Monday - 10 months': 'Thu Oct  2 18:29:00 2003' =? 'Fri Oct  3 18:29:00 2003'
d83c6e
- not ok
d83c6e
- 'next week - 1 month': 'Mon Jul  5 18:29:00 2004' =? 'Tue Jul  6 18:29:00 2004'
d83c6e
- not ok
d83c6e
- 'next week - 10 months': 'Sun Oct  5 18:29:00 2003' =? 'Mon Oct  6 18:29:00 2003'
d83c6e
- will investigate and fix for next release.
d83c6e
d83c6e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
d83c6e
- rebuilt
d83c6e
d83c6e
* Wed May 12 2004 Thomas Woerner <twoerner@redhat.com> - 3.1.8-54
d83c6e
- fixed pie patch: at is pie, now
d83c6e
- added build requires for libselinux-devel
d83c6e
d83c6e
* Tue May 4 2004 Dan Walsh <dwalsh@redhat.com> - 3.1.8-53
d83c6e
- Add fileentrypoint check
d83c6e
d83c6e
* Thu Apr 15 2004 Dan Walsh <dwalsh@redhat.com> - 3.1.8-52
d83c6e
- Fix SELinux patch
d83c6e
d83c6e
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
d83c6e
- Use ':' instead of '.' as separator for chown.
d83c6e
d83c6e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - 3.1.8-50
d83c6e
- rebuilt
d83c6e
d83c6e
* Tue Dec  9 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-49
d83c6e
- replace at-3.1.8-SHELL-91233.patch by at-3.1.8-SHELL-111386.patch which
d83c6e
  now executes $SHELL directly in the at shell script after all the variables
d83c6e
  have been setup with /bin/sh (#91233) [suggested by Göran Uddeborg]
d83c6e
- this changelog is now in utf-8
d83c6e
d83c6e
* Fri Nov  7 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-48
d83c6e
- add at-3.1.8-pie.patch to build atd as pie (#108415) [Ulrich Drepper]
d83c6e
d83c6e
* Fri Oct 31 2003 Dan Walsh <dwalsh@redhat.com> - 3.1.8-47.sel
d83c6e
d83c6e
* Fri Jun 20 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-46
d83c6e
- add at-3.1.8-atrun.8-typo-97697.patch to fix typo in atrun.8 (#97697)
d83c6e
- update at.1 description of shell behaviour (#91233)
d83c6e
d83c6e
* Tue Jun 17 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-45
d83c6e
- make the job shell default to SHELL instead of "/bin/sh" (#91233)
d83c6e
d83c6e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - 3.1.8-44
d83c6e
- rebuilt
d83c6e
d83c6e
* Tue Jun  3 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-43
d83c6e
- Replace redundant at-3.1.7-paths.patch by at-3.1.8-man-timespec-path.patch
d83c6e
  to fix timespec path
d83c6e
d83c6e
* Tue Jun  3 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-41
d83c6e
- update source to at_3.1.8-11 from debian upstream
d83c6e
  - update source url
d83c6e
  - at-debian.patch no longer needed
d83c6e
  - at-3.1.7-paths.patch: the patch to "at.1.in" no longer needed
d83c6e
  - replace at-3.1.8-lexer.patch with at-3.1.8-11-lexer-parser.diff
d83c6e
  - at-3.1.8-dst.patch no longer needed
d83c6e
  - at-3.1.8-lsbdoc.patch no longer needed
d83c6e
  - at-3.1.8-o_excl.patch no longer needed
d83c6e
  - bump release number
d83c6e
- at-3.1.8-test.patch: move out test.pl to a separate source file
d83c6e
  - apply at-3.1.8-test-fix.patch to it and drop patch
d83c6e
- at-3.1.8-shell.patch: drop (#22216,#91233)
d83c6e
- run "make test" after building
d83c6e
- add "--without check" rpmbuild option
d83c6e
- fix autoconf comment to point to right patch
d83c6e
- use _sysconfdir, _sbindir, _bindir, and _localstatedir
d83c6e
d83c6e
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.1.8-33
d83c6e
- rebuilt
d83c6e
d83c6e
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 3.1.8-32
d83c6e
- remove unpackaged files from the buildroot
d83c6e
d83c6e
* Thu Jul 25 2002 Bill Huang <bhuang@redhat.com>
d83c6e
- Fixed delaying job execution and missing starting jobs..(bug#69595)
d83c6e
  (Thanks Bujor D Silaghi <bujor@cs.umd.edu> for his patch.)
d83c6e
d83c6e
* Fri Jul 19 2002 Bill Huang <bhuang@redhat.com>
d83c6e
- Fixed cleaning atq and  multiple atd daemon.(bug#67414)
d83c6e
  (Thanks Bujor D Silaghi <bujor@cs.umd.edu> for his patch.)
d83c6e
d83c6e
* Fri Jul 19 2002 Bill Huang <bhuang@redhat.com>
d83c6e
- Fixed error message output in atd.c
d83c6e
d83c6e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
d83c6e
- automated rebuild
d83c6e
d83c6e
* Mon May 27 2002 Bill Huang <bhuang@redhat.com>
d83c6e
- Rebuild for Milan
d83c6e
d83c6e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
d83c6e
- automated rebuild
d83c6e
d83c6e
* Fri Feb  1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.8-25
d83c6e
- Require smtpdaemon rather than sendmail - postfix works just as well.
d83c6e
d83c6e
* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com> 3.1.8-24
d83c6e
- rebuild in new env.
d83c6e
d83c6e
* Thu Jan 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 3.1.8-23
d83c6e
- s/Copyright/License/
d83c6e
d83c6e
* Mon Jan 14 2002 Adrian Havill <havill@redhat.com> 3.1.8-21
d83c6e
- fix man page (#51253)
d83c6e
- fix env prop problem (#49491)
d83c6e
- .SEQ should not be executable (#52626)
d83c6e
- beefed up file creation perms against symlink exploits (O_EXCL)
d83c6e
d83c6e
* Thu Aug  2 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.1.8-20
d83c6e
- updated patch update, still bug #46546
d83c6e
d83c6e
* Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
d83c6e
- applied enrico.scholz@informatik.tu-chemnitz.de's change to the env patch to
d83c6e
- address bug #46546
d83c6e
d83c6e
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com>
d83c6e
- changed atd.init to start at 95, stop at 5, closing #15915
d83c6e
- applied mailto:wp@supermedia.pl's environment patch
d83c6e
d83c6e
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
d83c6e
- Bump release + rebuild.
d83c6e
d83c6e
* Wed Apr  4 2001 Crutcher Dunnavant <crutcher@redhat.com>
d83c6e
- much love to David Kilzer <ddkilzer@lubricants-oil.com>
d83c6e
- who nailed UTC, Leap year, DST, and some other edge cases down
d83c6e
- he also wrote a test harness in perl
d83c6e
- bug #28448
d83c6e
d83c6e
* Fri Feb  2 2001 Trond Eivind Glomsrød <teg@redhat.com>
d83c6e
- i18nize initscript
d83c6e
d83c6e
* Tue Dec 12 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- fix documentation of which shell commands will be run with (#22216)
d83c6e
d83c6e
* Wed Aug 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
d83c6e
- Well, we will likely never really close the UTC issues,
d83c6e
- because of 1) fractional timezones, and 2) daylight savigns time.
d83c6e
- but there is a slight tweak to the handling of dst in the UTC patch.
d83c6e
d83c6e
* Wed Aug 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
d83c6e
- fixed bug #15685
d83c6e
- which had at miscaluclating UTC times.
d83c6e
d83c6e
* Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- move initscript back
d83c6e
d83c6e
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
d83c6e
- automatic rebuild
d83c6e
d83c6e
* Thu Jul  6 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- prereq /etc/init.d
d83c6e
d83c6e
* Sat Jul  1 2000 Nalin Dahyabhai <nalin@redhat.com>
d83c6e
- fix syntax error in init script
d83c6e
d83c6e
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
d83c6e
- don't prereq, only require initscripts
d83c6e
d83c6e
* Mon Jun 26 2000 Preston Brown <pbrown@redhat.com>
d83c6e
- move init script
d83c6e
- add condrestart directive
d83c6e
- fix post/preun/postun scripts
d83c6e
- prereq initscripts >= 5.20
d83c6e
d83c6e
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- fix verify of /var/spool/at/.SEQ (#12262)
d83c6e
d83c6e
* Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com>
d83c6e
- fix status checking and syntax error in init script
d83c6e
d83c6e
* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- fix for long usernames (#11321)
d83c6e
- add some bugfixes from debian
d83c6e
d83c6e
* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
d83c6e
- 3.1.8
d83c6e
d83c6e
* Wed Mar  1 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- fix a couple of more typos, null-terminate some strings
d83c6e
d83c6e
* Thu Feb 10 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- fix many-years-old typo in atd.c
d83c6e
d83c6e
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
d83c6e
- handle compressed man pages
d83c6e
d83c6e
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
d83c6e
- initscript munging, build as non-root user
d83c6e
d83c6e
* Sun Jun 13 1999 Jeff Johnson <jbj@redhat.com>
d83c6e
- correct perms for /var/spool/at after defattr.
d83c6e
d83c6e
* Mon May 24 1999 Jeff Johnson <jbj@redhat.com>
d83c6e
- reset SIGCHLD before exec (#3016).
d83c6e
d83c6e
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
d83c6e
- auto rebuild in the new build environment (release 8)
d83c6e
d83c6e
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
d83c6e
- fix handling the 12:00 time
d83c6e
d83c6e
* Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
d83c6e
- configure fix for arm
d83c6e
d83c6e
* Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
d83c6e
- build for glibc 2.1
d83c6e
d83c6e
* Tue May 05 1998 Prospector System <bugs@redhat.com>
d83c6e
- translations modified for de, fr, tr
d83c6e
d83c6e
* Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
d83c6e
- enhanced initscript
d83c6e
d83c6e
* Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
d83c6e
- learned to spell
d83c6e
d83c6e
* Wed Oct 22 1997 Michael K. Johnson <johnsonm@redhat.com>
d83c6e
- updated to at version 3.1.7
d83c6e
- updated lock and sequence file handling with ghost
d83c6e
- Use chkconfig and atd, now conflicts with old crontabs packages
d83c6e
d83c6e
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
d83c6e
- built against glibc
d83c6e