The following are the minimum software package requirements

    Apache (any version)
    PHP 4.3 or greater
    Pear (usually installed with PHP)
    Smarty
    OpenSSL must be at least version 0.9.7


    sharutils


On Debian based systems (such as Ubuntu)

    tofrodos (at least the file /usr/bin/todos)

CentOS and Fedora already have /usr/bin/unix2dos


If you are going to be doing bridging:

     bridge-utils

If you are going to make Windows installation executables:

1. NSIS installer (makensis) installed and configured. On debian use
   'apt-get install nsis'. Also it is possible to compile it from source, see
   http://www.xdevsoftware.com/blog/post/How-to-Install-the-Nullsoft-Installer---NSIS-on-Linux-.aspx
   for more  information.  On CentOS and others, you may need to install it by
   hand.  See  the  notes  at  the  end of  this  file  for  CentoS  and  NSIS
   installation notes
       
2. Installer source package of the openvpn gui project. 
   See http://openvpn.se/files/install_packages_source/ for the latest version,
   i`m using openvpn_install_source-2.0.9-gui-1.0.3.zip file. Unpack it 
   somewhere, e.g. to the /opt/openvpn-gui folder. Please, make sure that this 
   folder is readable by web server.

3. The system must be set up to be able to send mail.  Mutt (www.mutt.org)
   also  needs  to be  installed,  since  that  is  used  to  send  mail  with
   attachments
   
4. Either dig or nslookup are required to lookup domains. 

============================================================================

CentOS Notes

You may need to add the following repository to install scons:

    RPMForge:
        http://rpmrepo.org/RPMforge/Using

============================================================================

Windows Installer Notes

You will need to download the latest installer source package from the
OpenVPN GUI project.  You can get the latest at the following location:

http://www.secure-computing.net/wiki/index.php/File:Openvpn-2.1.1._prebuild4noinc.7z

Download and unpack the file.  Currently the file is in 7z format, so you
may need to download and install the 7z package.

The file should unpack into a directory called openvpn-2.1.1.  Put the 
unpacked directory in the win32installer/src directory.

============================================================================

NSIS Installation Notes

You need to install the following packages:

    scons
    A full development environment.  On CentOS, use:
        yum groupinstall "Development Tools"
        glibc-devel-2.5-42.el5_4.3.i386
        zlib-devel.i386
        zlib-devel.x86_64 (if on a 64 bit system)
        
If you are  installing  NSIS on a 64 bit  system,  you may need to change  the
following line in the file SConstruct:

    At or around line 157:
    
    Change the following line:
    
        opts.Add(('APPEND_LINKFLAGS', 'Additional linker flags'))
        
    to:
    
        opts.Add(('APPEND_LINKFLAGS', 'Additional linker flags','-mtune=i686'))

For NSIS version 2.46 (current as of 2/18/2010), the command to build is:

    scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=/usr/local/nsis/nsis-2.34 install-compiler


============================================================================


PAM notes

        On Centos use:   yum install pam-devel
        On Ubuntu use:   apt-get install libpam0g-dev

        /etc/pam.d/check_user:
            # check authorization
            # 
            # Used for OpenVPN Certificate Management authentication
            #
            auth       required     pam_unix.so audit 
            account    required     pam_unix.so audit

~                                    
