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