Building NSIS on FreeBSD


Requires scons to build:
cd /usr/ports/devel/scons && make install clean
rehash

Download the NSIS source code
cd /root/ && fetch http://superb-west.dl.sourceforge.net/sourceforge/nsis/nsis-2.36-src.tar.bz2
bzip2 -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.zip

Install 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.zip

build with:
cd nsis-2.36-src
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"

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" install

Install 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.nsi

Linux NSIS Install howto
http://cho.hapgoods.com/wordpress/?p=138

POSIX Install from NSIS docs
http://nsis.sourceforge.net/Docs/AppendixG.html#G.3

NSIS with OpenVPN Info

http://openvpn.se/files/howto/openvpn-howto_roll_your_own_installation_package.html
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki