Building NSIS on FreeBSD
Requires scons to build:
cd /usr/ports/devel/scons && make install cleanrehash
Download the NSIS source code
cd /root/ && fetch http://superb-west.dl.sourceforge.net/sourceforge/nsis/nsis-2.36-src.tar.bz2bzip2 -d nsis-2.36-src.tar.bz2
tar xvf nsis-2.36-src.tar
Downlooad the Windows installer source:
fetch http://openvpn.se/files/install_packages_source/openvpn_install_source-2.0.9-gui-1.0.3.zipInstall unzip:
pkg_add -r unzip (or cd /usr/ports/archivers/unzip && make install clean)Unzip the windows client installer:
unzip openvpn_install_source-2.0.9-gui-1.0.3.zipbuild with:
cd nsis-2.36-srcscons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no APPEND_LIBPATH="/usr/local/lib" APPEND_CPPPATH="/usr/local/include"
install with:
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no APPEND_LIBPATH="/usr/local/lib" APPEND_CPPPATH="/usr/local/include" installInstall Misc Files
Download latest windows openvpn installer, install to a machine. Grab the Stubs directory and copy to /usr/local/Stubs on the builder machine.Creating OpenVPN installer
makensis openvpn-gu.nsiLinux NSIS Install howto
http://cho.hapgoods.com/wordpress/?p=138POSIX Install from NSIS docs
http://nsis.sourceforge.net/Docs/AppendixG.html#G.3NSIS with OpenVPN Info
http://openvpn.se/files/howto/openvpn-howto_roll_your_own_installation_package.html