浏览代码

allow updating every 15 minutes to be consistent

Ralf S. Engelschall 21 年之前
父节点
当前提交
0b6e27b677
共有 6 个文件被更改,包括 21 次插入3 次删除
  1. 1 1
      clamav/clamav.spec
  2. 6 0
      clamav/rc.clamav
  3. 1 1
      fprot/fprot.spec
  4. 6 0
      fprot/rc.fprot
  5. 6 0
      sav/rc.sav
  6. 1 1
      sav/sav.spec

+ 1 - 1
clamav/clamav.spec

@@ -34,7 +34,7 @@ Class:        PLUS
 Group:        Filesystem
 License:      GPL
 Version:      0.75.1
-Release:      20040731
+Release:      20040802
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/clamav/clamav-%{version}.tar.gz

+ 6 - 0
clamav/rc.clamav

@@ -46,6 +46,12 @@
     sleep 2
     rc clamav start
 
+%quarterly -u @l_rusr@
+    rcService clamav enable yes || exit 0
+    if [ ".$clamav_update" = .quarterly ]; then
+        @l_prefix@/bin/freshclam
+    fi
+
 %hourly -u @l_rusr@
     rcService clamav enable yes || exit 0
     if [ ".$clamav_update" = .hourly ]; then

+ 1 - 1
fprot/fprot.spec

@@ -34,7 +34,7 @@ Class:        EVAL
 Group:        Filesystem
 License:      Commercial/Free-Private-Use
 Version:      4.4.3
-Release:      20040724
+Release:      20040802
 
 #   list of sources
 Source0:      ftp://ftp.f-prot.com/pub/bsd/fp-freebsd-ws-%{version}.tar.gz

+ 6 - 0
fprot/rc.fprot

@@ -16,6 +16,12 @@
         rm -rf /tmp/fprot
     }
 
+%quarterly -u @l_musr@
+    rcService fprot enable yes || exit 0
+    if [ ".$fprot_update" = .quarterly ]; then
+        fprot_update || exit $?
+    fi
+
 %hourly -u @l_musr@
     rcService fprot enable yes || exit 0
     if [ ".$fprot_update" = .hourly ]; then

+ 6 - 0
sav/rc.sav

@@ -43,6 +43,12 @@
         rm -rf ${sav_tmpdir}  >/dev/null 2>&1 || true
     }
 
+%quarterly -u @l_musr@
+    rcService sav enable yes || exit 0
+    if [ ".$sav_update" = .quarterly ]; then
+        sav_update || exit $?
+    fi
+
 %hourly -u @l_musr@
     rcService sav enable yes || exit 0
     if [ ".$sav_update" = .hourly ]; then

+ 1 - 1
sav/sav.spec

@@ -39,7 +39,7 @@ Class:        EVAL
 Group:        System
 License:      Commercial/Free-Trial
 Version:      %{V_engine}.%{V_ides_maj}.%{V_ides_min}
-Release:      20040723
+Release:      20040802
 
 #   list of sources
 Source0:      http://downloads.sophos.com/dp/full/freebsd.elf.tar.Z