Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
315407b844 dist-git conversion 2010-07-29 17:06:41 +00:00
Bill Nottingham
04244c9ff0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:27:36 +00:00
Marcela Mašláňová
f093eff9f0 - 514276 ppc64 segfault with random delay in anacrontab 2009-07-29 06:36:26 +00:00
Marcela Mašláňová
7e58e894f1 - and now apply the change in anacron script 2009-07-28 12:17:18 +00:00
Marcela Mašláňová
ce60857b6d - 507598 test whether /var/spool/anacron/cron.daily exists 2009-07-13 13:02:05 +00:00
Marcela Mašláňová
4e733cf364 - 500694 missing enviroments values in crontab, which runs
cron.{daily,weekly...}
2009-05-15 12:12:52 +00:00
Jesse Keating
47ed0849a5 Initialize branch F-11 for anacron 2009-04-15 07:35:51 +00:00
5 changed files with 33 additions and 32 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: anacron
# $Id: Makefile,v 1.1 2004/09/09 02:58:39 cvsdist Exp $
NAME := anacron
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

12
anacron-2.3-ppc64.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up anacron-2.3/readtab.c.ppc64 anacron-2.3/readtab.c
--- anacron-2.3/readtab.c.ppc64 2009-06-23 15:50:36.000000000 +0200
+++ anacron-2.3/readtab.c 2009-07-29 08:22:13.969755429 +0200
@@ -273,7 +273,7 @@ parse_tab_line(char *line)
Debug(("Jobs will start in the %02d:00-%02d:00 range.", range_start, range_stop));
}
if (strncmp(env_var, "RANDOM_DELAY", 12) == 0) {
- r = match_rx("^([[:digit:]]+)$", value, 1);
+ r = match_rx("^([[:digit:]]+)$", value, 0);
if (r != -1) {
int i = random();
double x = 0;

View file

@ -1,7 +1,7 @@
Summary: A cron-like program that can run jobs lost during downtime
Name: anacron
Version: 2.3
Release: 74%{?dist}
Release: 78%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://packages.debian.org/stable/source/anacron
@ -15,10 +15,9 @@ Patch3: anacron-2.3-fdclose.patch
Patch4: anacron-2.3-pic.patch
Patch5: anacron-2.3-memleaking.patch
Patch6: anacron-2.3-spooldir.patch
#Patch7: anacron-2.3-range.patch
#Patch8: anacron-2.3-random.patch
Patch9: manAUX_Limit.patch
Patch10: anacron-2.3-range-rnd.patch
Patch7: manAUX_Limit.patch
Patch8: anacron-2.3-range-rnd.patch
Patch9: anacron-2.3-ppc64.patch
Requires: crontabs
Requires: initscripts
@ -51,10 +50,9 @@ reboots or hibernation.
%patch4 -p1 -b .pic
%patch5 -p1 -b .memleaking
%patch6 -p1 -b .spool
#%patch7 -p1 -b .range
#%patch8 -p1 -b .random
%patch9 -p1
%patch10 -p1 -b .fix
%patch7 -p1
%patch8 -p1 -b .fix
%patch9 -p1 -b .ppc64
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@ -92,6 +90,18 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) /etc/cron.hourly/0anacron
%changelog
* Wed Jul 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-78
- 514276 ppc64 segfault with random delay in anacrontab
* Tue Jul 28 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-77
- and now apply the change in anacron script
* Tue Jun 23 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-76
- 507598 test whether /var/spool/anacron/cron.daily exists
* Fri May 15 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-75
- 500694 missing enviroments values in crontab, which runs cron.{daily,weekly...}
* Tue Apr 14 2009 Marcela Mašláňová <mmaslano@redhat.com> 2.3-74
- 495333 fix ungrammatical job(s) in log

View file

@ -1,3 +1,3 @@
9fdfc50f5741643332722a9145146278 anacron_2.3.orig.tar.gz
e354dcd88554723abd476f069c90069d 0hourly
110558bab1719a8b91598fdcfceebed0 anacron
4b98b6b029e76aa6e0fa3fde2ec5572a 0hourly
1d08c5163b0c3ca9790db9187b005cf1 anacron