config root man

Current Path : /usr/local/share/doc/stunnel/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/doc/stunnel/INSTALL.W32

stunnel Windows install notes


Building stunnel from source (optional):

 1) Install mingw32 cross-compiler o a Unix/Linux machine.
    In Debian all you need is:
      apt-get install gcc-mingw-w64-i686
    Native compilation on a Windows machine is possible, but not supported.

 2) Download the recent zlib from http://www.zlib.net/
    Update the following definitions in win32/Makefile.gcc file:
      SHARED_MODE=1
      PREFIX = i686-w64-mingw32-
    then build zlib with:
      make -f win32/Makefile.gcc
    and install it in mingw32 tree:
      sudo BINARY_PATH=~/ \
        INCLUDE_PATH=/usr/i686-w64-mingw32/include/ \
        LIBRARY_PATH=/usr/i686-w64-mingw32/lib/ \
        make -f win32/Makefile.gcc install

 3) Download the recent OpenSSL in unpack it to /usr/src/ directory.
      cd /usr/src
      tar zvxf ~/openssl-(version).tar.gz
      mv openssl-(version) openssl-(version)-i686

 4) Build OpenSSL.
      ./Configure --cross-compile-prefix=i686-w64-mingw32- mingw shared zlib-dynamic
      make

 5) Download and unpack stunnel-(version).tar.gz.

 6) Configure stunnel.
      cd stunnel-(version)
      ./configure --with-ssl=/path/to/openssl-(version)

 7) Build windows executable.
      cd src
      make stunnel.exe


Installing stunnel:

 1) run installer to install precompiled binaries or copy stunnel.exe and
    OpenSSL DLLs into a directory

 2) read the manual (stunnel.html)

 3) create/edit stunnel.conf configuration file


Man Man