OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   29-Jan-2005 10:49:24
  Branch: HEAD                             Handle: 2005012909492400

  Modified files:
    openpkg-src/sav         sav.spec

  Log:
    switch to versioned files and upgrade to latest version

  Summary:
    Revision    Changes     Path
    1.52        +15 -11     openpkg-src/sav/sav.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sav/sav.spec
  ============================================================================
  $ cvs diff -u -r1.51 -r1.52 sav.spec
  --- openpkg-src/sav/sav.spec  1 Jan 2005 10:54:32 -0000       1.51
  +++ openpkg-src/sav/sav.spec  29 Jan 2005 09:49:24 -0000      1.52
  @@ -24,9 +24,8 @@
   ##
   
   #   package version
  -%define       V_engine   2.20
   %define       V_ides_maj 3
  -%define       V_ides_min 89
  +%define       V_ides_min 90
   
   #   package information
   Name:         sav
  @@ -38,13 +37,13 @@
   Class:        EVAL
   Group:        System
   License:      Commercial/Free-Trial
  -Version:      %{V_engine}.%{V_ides_maj}.%{V_ides_min}
  -Release:      20041220
  +Version:      %{V_ides_maj}.%{V_ides_min}
  +Release:      20050129
   
   #   list of sources
  -Source0:      http://downloads.sophos.com/dp/full/freebsd.elf.tar.Z
  -Source1:      http://downloads.sophos.com/dp/full/linux.intel.libc6.tar.Z
  -Source2:      http://downloads.sophos.com/dp/full/solaris.sparc.tar.Z
  +Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/sav/sav-%{version}-freebsd.elf.tar.Z
  +Source1:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/sav/sav-%{version}-linux.intel.libc6.tar.Z
  +Source2:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/sav/sav-%{version}-solaris.sparc.tar.Z
   Source3:      rc.sav
   Source4:      sav.conf
   Source5:      sweep.sh
  @@ -67,7 +66,12 @@
       scanner for Unix.
   
   %track
  -    prog sav:ides = {
  +    prog sav:local = {
  +        version   = %{V_ides_maj}.%{V_ides_min}
  +        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/sav/
  +        regex     = sav-(__VER__)-.*
  +    }
  +    prog sav:vendor = {
           comment   = "thl: vcheck url for tracking only; download url see 
spec, look for vdl-...dat in tarball"
           version   = %{V_ides_maj}%{V_ides_min}
           url       = http://www.sophos.com/downloads/ide/
  @@ -79,9 +83,9 @@
   
       #   select and decompress platform specific anti-virus engine
       case "%{l_platform -t}" in
  -        *-freebsd* ) engine="%{SOURCE freebsd.elf.tar.Z}" ;;
  -        *-linux*   ) engine="%{SOURCE linux.intel.libc6.tar.Z}" ;;
  -        *-sunos*   ) engine="%{SOURCE solaris.sparc.tar.Z}" ;;
  +        *-freebsd* ) engine="%{SOURCE sav-%{version}-freebsd.elf.tar.Z}" ;;
  +        *-linux*   ) engine="%{SOURCE 
sav-%{version}-linux.intel.libc6.tar.Z}" ;;
  +        *-sunos*   ) engine="%{SOURCE sav-%{version}-solaris.sparc.tar.Z}" ;;
           * ) echo "Sorry, platform %{l_platform -t} not supported" 1>&2; exit 
1 ;;
       esac
       %{l_gzip} -d -c $engine | %{l_tar} xf -
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to