Author: mmaslano Update of /cvs/pkgs/rpms/cronie/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19635 Modified Files: .cvsignore cronie.spec sources Log Message: *docs* For better cooperation between cronie and anacron, cronie now include anacron as a subpackage. Each hour cron executes scripts from cron.hourly which contains 0anacron executable. 0anacron script checks whether the regular jobs - cron.daily, cron.weekly and cron.monthly - were executed or not. The list of all regular jobs is in /etc/regular-jobs instead of /etc/crontab. Manual pages mentioned options how to set up regularly-jobs to behave the same way as in the previous versions of cron. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/cronie/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- .cvsignore 27 Apr 2009 10:22:21 -0000 1.5 +++ .cvsignore 20 Jul 2009 18:12:36 -0000 1.6 @@ -1 +1 @@ -cronie-1.3.tar.gz +cronie-1.4.tar.gz Index: cronie.spec =================================================================== RCS file: /cvs/pkgs/rpms/cronie/devel/cronie.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -r1.18 -r1.19 --- cronie.spec 18 Jun 2009 11:42:28 -0000 1.18 +++ cronie.spec 20 Jul 2009 18:12:36 -0000 1.19 @@ -5,19 +5,16 @@ Summary: Cron daemon for executing programs at set times Name: cronie -Version: 1.3 -Release: 2%{?dist} -License: MIT and BSD +Version: 1.4 +Release: 1%{?dist} +License: MIT and BSD and GPLv2 Group: System Environment/Base URL: https://fedorahosted.org/cronie Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz -Patch0: reboot-alias-check-the-return-value.patch -#Source0: http://mmaslano.fedorapeople.org/cronie/%{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: syslog, bash >= 2.0 Requires: /usr/sbin/sendmail -Requires: anacron Conflicts: sysklogd < 1.4.1 Provides: vixie-cron = 4:4.4 Obsoletes: vixie-cron <= 4:4.3 @@ -46,9 +43,18 @@ scheduled times and related tools. It is has security and configuration enhancements like the ability to use pam and SELinux. +%package anacron +Summary: Utility for running regular jobs +Requires: crontabs +Group: System Environment/Base + +%description anacron +Anacron becames part of cronie. Anacron is used only for running regular jobs. +The default settings execute regular jobs by anacron, however this could be +overloaded in settings. + %prep %setup -q -%patch0 -p1 %build @@ -63,8 +69,10 @@ SELinux. --with-audit \ %endif %if %{with inotify} ---with-inotify +--with-inotify \ %endif +--enable-anacron + make %{?_smp_mflags} %install @@ -80,6 +88,10 @@ mkdir -pm755 $RPM_BUILD_ROOT%{_sysconfdi install -m 755 cronie.init $RPM_BUILD_ROOT%{_initrddir}/crond install -m 644 crond.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/crond touch $RPM_BUILD_ROOT%{_sysconfdir}/cron.deny +install -m 644 contrib/regularly-jobs $RPM_BUILD_ROOT%{_sysconfdir}/regularly-jobs +install -c -m755 contrib/0hourly $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/0hourly +mkdir -pm 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly +install -c -m755 contrib/0anacron $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/0anacron %clean rm -rf $RPM_BUILD_ROOT @@ -125,8 +137,21 @@ cp -a /var/lock/subsys/crond /var/lock/s %endif %config(noreplace) %{_sysconfdir}/sysconfig/crond %config(noreplace) %{_sysconfdir}/cron.deny +%config(noreplace) %{_sysconfdir}/regularly-jobs + +%files anacron +%defattr(-,root,root,-) +%{_sbindir}/anacron +%attr(0644,root,root) %{_sysconfdir}/cron.d/0hourly +%attr(0755,root,root) %{_sysconfdir}/cron.hourly/0anacron +%{_mandir}/man5/regularly-jobs.* +%{_mandir}/man5/anacrontab.* +%{_mandir}/man8/anacron.* %changelog +* Mon Jul 20 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> - 1.4-1 +- merge cronie and anacron + * Thu Jun 18 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> - 1.3-2 - 506560 check return value of access Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/cronie/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- sources 27 Apr 2009 10:22:22 -0000 1.5 +++ sources 20 Jul 2009 18:12:36 -0000 1.6 @@ -1 +1 @@ -dbb21448103e80c61d0a2c0f6ec2475c cronie-1.3.tar.gz +10728a81af9f5995a39bf541aaf14422 cronie-1.4.tar.gz -- Fedora-relnotes-content mailing list Fedora-relnotes-content@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-relnotes-content