diff --git a/inn/inn-watch.patch b/inn/inn-watch.patch new file mode 100644 index 0000000000..95f4fa494d --- /dev/null +++ b/inn/inn-watch.patch @@ -0,0 +1,17 @@ +--- inn-2.3.3/scripts/innwatch.in.dist Wed Dec 4 15:02:05 2002 ++++ inn-2.3.3/scripts/innwatch.in Wed Dec 4 15:05:21 2002 +@@ -126,7 +126,12 @@ + NEXTSLEEP=1 + HASEXITED=false + +-while { sleep ${NEXTSLEEP} & wait; } ; : ; do ++SLEEPTINY=1 ++while { sleep ${SLEEPTINY} & wait; } ; : ; do ++ NEXTSLEEP=`expr ${NEXTSLEEP} - ${SLEEPTINY}` ++ if [ $NEXTSLEEP -gt 0 ]; then ++ continue; ++ fi + NEXTSLEEP=${INNWATCHSLEEPTIME} + + ## If news.daily is running, idle: we don't want to change the + diff --git a/inn/inn.spec b/inn/inn.spec index 7a30b642ec..08bb596c6a 100644 --- a/inn/inn.spec +++ b/inn/inn.spec @@ -37,7 +37,7 @@ Distribution: OpenPKG [BASE] Group: News License: ISC Version: %{V_inn} -Release: 20021112 +Release: 20021204 # list of sources Source0: ftp://ftp.isc.org/isc/inn/inn-%{V_inn}.tar.gz @@ -45,6 +45,7 @@ Source1: http://www.bofh.it/~md/cleanfeed/cleanfeed-%{V_cleanfeed}.tgz Source2: rc.inn Source3: fsl.inn Patch0: inn-db4.patch +Patch1: inn-watch.patch # build information Prefix: %{l_prefix} @@ -63,6 +64,7 @@ AutoReqProv: no %setup0 -q -c %setup1 -q -T -D -a 1 %patch0 -p0 + %patch1 -p0 %build # build inn