Libmilter version ${major_version}.3 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    libmilter  most recent diff


    version ${major_version}.3

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


      The libmilter Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0

      Name: libmilter
      set major_version 8.14
      Version: ${major_version}.3
      Category: mail
      Maintainers: geeklair.net:dluke
      Platform: darwin
      Description: libmilter library from Sendmail
      Long Description: Sendmail's Content Management API (milter) provides third-party programs to access mail messages as they are being processed by the Mail Transfer Agent (MTA), allowing them to examine and modify message content and meta-information. Filtering policies implemented by Milter-conformant filters may then be centrally configured and composed in an end-user's MTA configuration file

      Homepage: http://www.sendmail.org/doc/sendmail-current/libmilter/docs/
      Master Sites: ftp://ftp.sendmail.org/pub/sendmail/
      distname sendmail.${version}

      Checksums: md5 a5ee5d26e1f546a2da5fb9a513bd6bce sha1 814c54c3917aa6b0981b5ea99fb34e0c02f31489 rmd160 5423360ce908c985827cf6524a6de87e3451c27a

      worksrcdir sendmail-${version}

      use_configure no

      build {
      system "cd ${worksrcpath}/${name} && ./Build -O ${worksrcpath}/macports"

      close [open ${worksrcpath}/include/sm_os.h a]

      system "cd ${worksrcpath}/macports/*/${name} && ${configure.compiler} ${configure.cflags} -fno-common -Dsm_snprintf=snprintf -DXP_MT -I${worksrcpath}/include -I${worksrcpath}/sendmail -c *.c"

      set x {}
      fs-traverse object ${worksrcpath}/macports {
      if {[file isfile ${object}] && [regexp ".o$" ${object}]} {
      lappend x ${object}
      }
      }

      set objects [join ${x} " "]

      system "${configure.compiler} ${configure.cflags} -dynamiclib -install_name ${prefix}/lib/${name}.dylib -compatibility_version ${major_version} -current_version ${version} -o ${worksrcpath}/macports/libmilter.dylib ${objects}"
      }

      destroot {
      file copy "${worksrcpath}/macports/libmilter.dylib" "${destroot}${prefix}/lib/"
      file copy "${worksrcpath}/include/${name}" "${destroot}${prefix}/include/"
      file delete "${destroot}${prefix}/include/${name}/milter.h"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.