Bladeren bron

upgrading package: clamav 0.66 -> 0.70

Ralf S. Engelschall 21 jaren geleden
bovenliggende
commit
67c0a90871
2 gewijzigde bestanden met toevoegingen van 7 en 17 verwijderingen
  1. 0 10
      clamav/clamav.patch
  2. 7 7
      clamav/clamav.spec

+ 0 - 10
clamav/clamav.patch

@@ -1,13 +1,3 @@
---- clamd/others.c.orig	Fri Jun 20 19:35:45 2003
-+++ clamd/others.c	Wed Jul  2 17:05:58 2003
-@@ -26,6 +26,7 @@
- #include <fcntl.h>
- #include <time.h>
- #include <sys/stat.h>
-+#include <sys/time.h>
- 
- #if defined(CLAMD_USE_SYSLOG) && !defined(C_AIX)
- #include <syslog.h>
 --- libclamav/zziplib/zzip-conf.h.orig	2004-02-07 21:41:08.000000000 +0100
 +++ libclamav/zziplib/zzip-conf.h	2004-02-07 21:34:18.000000000 +0100
 @@ -64,6 +64,7 @@

+ 7 - 7
clamav/clamav.spec

@@ -33,11 +33,11 @@ Distribution: OpenPKG
 Class:        PLUS
 Group:        Filesystem
 License:      GPL
-Version:      0.66
-Release:      20040211
+Version:      0.70
+Release:      20040401
 
 #   list of sources
-Source0:      http://osdn.dl.sourceforge.net/clamav/clamav-%{version}.tar.gz
+Source0:      http://osdn.dl.sourceforge.net/clamav/clamav-%{version}-rc.tar.gz
 Source1:      rc.clamav
 Patch0:       clamav.patch
 
@@ -63,13 +63,13 @@ AutoReqProv:  no
 
 %track
     prog clamav = {
-        version   = %{version}
-        url       = http://clamav.sourceforge.net/stable.html
-        regex     = clamav-(__VER__)\.tar\.gz
+        version   = %{version}-rc
+        url       = http://osdn.dl.sourceforge.net/clamav/
+        regex     = clamav-(__VER__(-rc)?)\.tar\.gz
     }
 
 %prep
-    %setup -q
+    %setup -q -n clamav-%{version}-rc
     %patch -p0
 
 %build