From 6416a5191317317308f07cb362d3805fe48ceac7 Mon Sep 17 00:00:00 2001 From: poorndm Date: Wed, 20 Sep 2023 18:01:20 +0530 Subject: [PATCH 1/3] copy missing dll to chef-bin Signed-off-by: poorndm --- config/software/ruby-windows-devkit.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/software/ruby-windows-devkit.rb b/config/software/ruby-windows-devkit.rb index b6d0fbfb5..37494e178 100644 --- a/config/software/ruby-windows-devkit.rb +++ b/config/software/ruby-windows-devkit.rb @@ -62,8 +62,12 @@ "liblzma-1.dll" => "liblzma-1.dll", "libbz2-2.dll" => "libbz2-2.dll", "libz-1.dll" => "libz-1.dll", + "libssp-0.dll" => "libssp-0.dll", }.each do |target, to| copy "#{install_dir}/embedded/mingw/bin/#{to}", "#{install_dir}/bin/#{target}" + + copy "#{install_dir}/embedded/mingw/bin/x64-msvcrt-ruby300.dll", "#{install_dir}/bin/x64-msvcrt-ruby300.dll" + copy "#{install_dir}/embedded/mingw/include/ansidecl.h", "#{install_dir}/embedded/mingw/x86_64-w64-mingw32\includeansidecl.h" end # IIS 8.5 Server STIG finding V-76717 warns on this file because it ends with From a8c1547c238a3ef34f5883ce723a7624e7039cf4 Mon Sep 17 00:00:00 2001 From: poorndm Date: Mon, 25 Sep 2023 19:10:58 +0530 Subject: [PATCH 2/3] corrected the path Signed-off-by: poorndm --- config/software/ruby-windows-devkit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/software/ruby-windows-devkit.rb b/config/software/ruby-windows-devkit.rb index 37494e178..b9d594a8a 100644 --- a/config/software/ruby-windows-devkit.rb +++ b/config/software/ruby-windows-devkit.rb @@ -67,7 +67,7 @@ copy "#{install_dir}/embedded/mingw/bin/#{to}", "#{install_dir}/bin/#{target}" copy "#{install_dir}/embedded/mingw/bin/x64-msvcrt-ruby300.dll", "#{install_dir}/bin/x64-msvcrt-ruby300.dll" - copy "#{install_dir}/embedded/mingw/include/ansidecl.h", "#{install_dir}/embedded/mingw/x86_64-w64-mingw32\includeansidecl.h" + copy "#{install_dir}/embedded/mingw/include/ansidecl.h", "#{install_dir}/embedded/mingw/x86_64-w64-mingw32/include/ansidecl.h" end # IIS 8.5 Server STIG finding V-76717 warns on this file because it ends with From e6a9c2682956243202e0f4f2775316afcb41d1e8 Mon Sep 17 00:00:00 2001 From: Poornima <94897054+poorndm@users.noreply.github.com> Date: Fri, 6 Oct 2023 15:40:21 +0530 Subject: [PATCH 3/3] Update dll path Signed-off-by: poorndm --- config/software/ruby-windows-devkit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/software/ruby-windows-devkit.rb b/config/software/ruby-windows-devkit.rb index b9d594a8a..713fcc0e0 100644 --- a/config/software/ruby-windows-devkit.rb +++ b/config/software/ruby-windows-devkit.rb @@ -66,7 +66,7 @@ }.each do |target, to| copy "#{install_dir}/embedded/mingw/bin/#{to}", "#{install_dir}/bin/#{target}" - copy "#{install_dir}/embedded/mingw/bin/x64-msvcrt-ruby300.dll", "#{install_dir}/bin/x64-msvcrt-ruby300.dll" + copy "#{install_dir}/embedded/bin/x64-msvcrt-ruby300.dll", "#{install_dir}/bin/x64-msvcrt-ruby300.dll" copy "#{install_dir}/embedded/mingw/include/ansidecl.h", "#{install_dir}/embedded/mingw/x86_64-w64-mingw32/include/ansidecl.h" end