dspam version 3.8.0 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    dspam  most recent diff


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



      # $Id: Portfile 33384 2008-01-26 02:11:52Z ryandesign macports.org $

      PortSystem 1.0
      Name: dspam
      Version: 3.8.0
      Category: mail net
      Maintainers: yahoo.com:compconsultant
      Description: Scalable, open-source statistical anti-spam filter
      Long Description: Open-source anti-spam filter with multiple algorithms and useful admin tools and cgi quarantine interface.

      Homepage: http://www.nuclearelephant.com/projects/dspam/index.shtml
      Platform: darwin freebsd
      master_sites http://dspam.nuclearelephant.com/sources/

      distname ${name}-${version}
      checksums md5 056b8c8b3ad9415a52c01b22ff1e64cf sha1 d1de7ee2134522adaf52f49167accecf1589fa96 rmd160 e7831e2415e30e819dd9cbc0ba3f269e113e2fb9

      configure.args --sysconfdir='${prefix}/etc' --mandir='${prefix}/share/man' --with-logdir=/opt/local/var/log/dspam --enable-daemon

      destroot.keepdirs ${destroot}${prefix}/var/log/dspam

      Variant: vpopmail {
      configure.args-append --with-dspam-home-owner=vpopmail --with-dspam-home-group=vchkpw --with-dspam-owner=vpopmail --with-dspam-group=vchkpw
      depends_lib port:vpopmail
      }

      Variant: mysql5 conflicts postgres sqlite {
      depends_lib port:mysql5
      configure.args-append --with-storage-driver=mysql_drv --with-mysql-includes=${prefix}/include/mysql5/mysql --with-mysql-libraries=${prefix}/lib/mysql5/mysql --enable-preferences-extension --enable-virtual-users
      }

      Variant: sqlite conflicts postgres mysql5 {
      depends_lib port:sqlite3
      configure.args-append --with-sqlite-libaries=${prefix}/lib
      }
      Variant: postgres conflicts sqlite mysql5 {
      depends_lib port:postgresql80
      configure.args-append --with-storage-driver=pgsql_drv --with-pgsql-includes=${prefix}/include/pgsql8 --with-pgsql-libraries=${prefix}/lib/pgsql8
      }

      post-destroot {
      file mkdir ${destroot}${prefix}/var/dspam/samples
      file mkdir ${destroot}${prefix}/share/doc/dspam
      file mkdir ${destroot}${prefix}/var/dspam/mysql
      file mkdir ${destroot}${prefix}/var/dspam/pgsql
      file mkdir ${destroot}${prefix}/var/dspam/sqlite
      file mkdir ${destroot}${prefix}/var/dspam/webui
      file mkdir ${destroot}${prefix}/var/dspam/webui/cgi-bin
      file mkdir ${destroot}${prefix}/var/dspam/webui/htdocs
      file copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/dspam/
      file copy ${worksrcpath}/UPGRADING ${destroot}${prefix}/share/doc/dspam/
      system "cp -R ${worksrcpath}/webui/cgi-bin/* ${destroot}${prefix}/var/dspam/webui/cgi-bin/"
      system "rm ${destroot}${prefix}/var/dspam/webui/cgi-bin/Make*"
      system "cp -R ${worksrcpath}/webui/htdocs/* ${destroot}${prefix}/var/dspam/webui/htdocs/"
      system "rm ${destroot}${prefix}/var/dspam/webui/htdocs/Make*"
      file copy ${worksrcpath}/scripts/train.pl ${destroot}${prefix}/var/dspam/samples/
      system "cp ${worksrcpath}/txt/*.txt ${destroot}${prefix}/var/dspam/samples/"
      system "cp ${worksrcpath}/doc/*.txt ${destroot}${prefix}/share/doc/dspam/"
      system "cp -R ${worksrcpath}/src/tools.mysql_drv/*sql ${destroot}${prefix}/var/dspam/mysql"
      system "cp -R ${worksrcpath}/src/tools.pgsql_drv/*sql ${destroot}${prefix}/var/dspam/pgsql"
      system "cp -R ${worksrcpath}/src/tools.sqlite_drv/*sql ${destroot}${prefix}/var/dspam/sqlite"
      if {[variant_isset vpopmail]} {
      system "chown -R vpopmail:vchkpw ${destroot}${prefix}/var/dspam"
      system "chown -R vpopmail:vchkpw ${destroot}${prefix}/var/log/dspam"
      }
      }

    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/dspam
      % sudo port install dspam
      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 dspam
      ---> Verifying checksum for dspam
      ---> Extracting dspam
      ---> Configuring dspam
      ---> Building dspam with target all
      ---> Staging dspam into destroot
      ---> Installing dspam
    - 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 dspam with these commands:
      %  man dspam
      % apropos dspam
      % which dspam
      % locate dspam

     Where to find more information:

    Darwin Ports



    image test