Download and Install clamav version 0.93.1 on Mac OS X
Friday the 25th of July, 2008

    clamav  most recent diff


      View the most recent changes for the clamav port at: clamav.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for clamav.
      The raw portfile for clamav 0.93.1 is located here:
      http://clamav.darwinports.com/dports/sysutils/clamav/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/clamav
      Google
      Web Darwinports.com



      # $Id: Portfile 37474 2008-06-09 13:11:12Z dluke macports.org $

      PortSystem 1.0

      Name: clamav
      Version: 0.93.1
      Category: sysutils
      Maintainers: dluke geeklair.net
      Description: clamav antivirus software

      Long Description: Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning).

      Homepage: http://www.clamav.net
      master_sites sourceforge
      checksums md5 64468e54624e51994e171a7f76e6c243 sha1 3306f3cd289aac3793962c9834cd1bd500abfb0c rmd160 22296401b3ce96a268f0db224e72c31e69090895
      Platform: darwin
      configure.args --disable-clamav --mandir=${prefix}/share/man --with-zlib=${prefix}

      use_parallel_build yes

      depends_lib port:gmp port:libiconv port:zlib port:bzip2

      #workaround gcc bug 28045 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
      configure.cflags {-fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants -fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns2 -fsched-spec -fregmove -fdelete-null-pointer-checks -freorder-functions -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -ftree-pre}

      platform darwin i386 {
      #The gcc on intel macs crashes when using the above cflags
      configure.cflags {-O0}
      }

      platform darwin 7 {
      #The gcc on 10.3.9 doesn't like the above cflags either
      configure.cflags {-O0}
      }

      post-destroot {
      system "cd '${destroot}${prefix}/etc/'
      mv freshclam.conf example-freshclam.conf
      mv clamd.conf example-clamd.conf"
      }

      post-install { ui_msg "\nYou need to add a new clamav user and clamav group to your system if you want to use clamav in superuser mode.\n"
      }

      # There's currently no sendmail or libmilter port to depend on
      Variant: clamav_milter description {build with libmilter support} {
      configure.args-append --enable-milter
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/clamav
      % sudo port install clamav
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching clamav
      ---> Verifying checksum for clamav
      ---> Extracting clamav
      ---> Configuring clamav
      ---> Building clamav with target all
      ---> Staging clamav into destroot
      ---> Installing clamav
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using clamav with these commands:
      %  man clamav
      % apropos clamav
      % which clamav
      % locate clamav

     Where to find more information:

    Darwin Ports



    image test