Notes On Updating An External

TJ's notes on updating externals

Steps for Updating OpenSSL to 1.0.1j for Windows using VC11

  • openssl 1.0.1j downloaded from here
  • unpacked into a work directory, I used d:\scratch\condor\update_externals\openssl-1.0.1j
  • download nasm from here
  • unpack into c:\tools\nasm
  • start a VS2012 command prompt and add nasm to the path
    • set PATH=c:\tools\nasm;%PATH%
    • cd d:\scratch\condor\update_externals\openssl-1.0.1j
  • verify that perl is in the path
    • perl -v
  • follow the instructions in INSTALL.W32 from this directory
    • perl Configure VC-WIN32 --prefix=%CD%\openssl-1.0.1j
    • ms\do_nasm.bat
    • nmake -f ms\ntdll.mak
    • nmake -f ms\ntdll.mak install
  • tar up the full build output, just in case
    • tar czf openssl-1.0.1j-VC11-Win32-full.tgz openssl-1.0.1j
  • remove unneeded pieces from the build output
    • pushd openssl-1.0.1j
    • move bin\*.dll .
    • move lib\*.lib .
    • move include\openssl .
    • rd /s/q bin lib ssl include
    • popd
  • tar up the condor external
    • tar czf openssl-1.0.1j-VC11-Win32.tar.gz openssl-1.0.1j