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