Stunnel version 4.27 - How to Download and Install on Mac OS X
Thursday the 9th of September, 2010

    stunnel  most recent diff


    version 4.27

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The stunnel Portfile 59971 2009-10-28 06:56:05Z pguyot kallisys.net $

      PortSystem 1.0

      Name: stunnel
      Version: 4.27
      Category: security net
      Maintainers: nomaintainer
      Description: SSL tunneling program
      Long Description: Stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer) available on both Unix and Windows. Stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide the encryption, requiring no changes to the daemon's code.
      Platform: darwin
      Homepage: http://www.stunnel.org/
      Master Sites: ${homepage}download/stunnel/src/ ftp://stunnel.mirt.net/stunnel/
      Checksums: md5 3c655d815576f50046a1c28744b88681 sha1 2daf52fb0906de9fc5bd6a270e620e9316034fd4 rmd160 a0beb4dffbc40c5c4452af767840d6fa703868c9
      depends_lib bin:openssl:openssl
      Patch Files: patch-configure patch-tools-stunnel.cnf
      configure.args --mandir=${prefix}/share/man --disable-libwrap
      default_variants +libwrap

      post-destroot {
      # Create the ${prefix}/var/lib/stunnel directory.
      xinstall -d -m 770 "${destroot}${prefix}/var/lib/stunnel/"
      system "touch ${destroot}${prefix}/var/lib/stunnel/.turd"

      # Tell the user about the stupid fake certificate that we provide.
      ui_msg "A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem"
      }

      # This (default) variant will include libwrap feature.
      # libwrap has been reported to introduce some problems with stunnel 4.18.
      # See: http://svn.macosforge.org/projects/macports/ticket/11028
      Variant: libwrap {
      configure.args-delete "--disable-libwrap"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.