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