diff --git a/contrib/win32/openssh/OpenSSHBuildHelper.psm1 b/contrib/win32/openssh/OpenSSHBuildHelper.psm1 index 41351253b..5c9f2f165 100644 --- a/contrib/win32/openssh/OpenSSHBuildHelper.psm1 +++ b/contrib/win32/openssh/OpenSSHBuildHelper.psm1 @@ -322,7 +322,7 @@ function Start-OpenSSHPackage $payload += "sftp-server.exe", "scp.exe", "ssh-shellhost.exe", "ssh-keygen.exe", "ssh-keyscan.exe" $payload += "sshd_config_default", "install-sshd.ps1", "uninstall-sshd.ps1" $payload += "FixHostFilePermissions.ps1", "FixUserFilePermissions.ps1", "OpenSSHUtils.psm1", "OpenSSHUtils.psd1" - $payload += "openssh-events.man", "moduli" + $payload += "openssh-events.man", "moduli", "LICENSE.txt" $packageName = "OpenSSH-Win64" if ($NativeHostArch -ieq 'x86') { diff --git a/contrib/win32/openssh/config.vcxproj b/contrib/win32/openssh/config.vcxproj index 076947a7c..8b4f291a5 100644 --- a/contrib/win32/openssh/config.vcxproj +++ b/contrib/win32/openssh/config.vcxproj @@ -200,6 +200,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -236,6 +237,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -272,6 +274,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -308,6 +311,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -348,6 +352,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -388,6 +393,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -428,6 +434,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory @@ -468,6 +475,7 @@ copy /Y "$(SolutionDir)OpenSSHUtils.ps*1" "$(OutDir)" copy /Y "$(SolutionDir)Fix*FilePermissions.ps1" "$(OutDir)" copy /Y "$(SolutionDir)sshd_config" "$(OutDir)sshd_config_default" copy /Y "$(OpenSSH-Src-Path)moduli" "$(OutDir)moduli" +copy /Y "$(OpenSSH-Src-Path)LICENCE" "$(OutDir)LICENSE.txt" copy /Y "$(SolutionDir)openssh-events.man" "$(OutDir)" Copy install-sshd.ps1, uninstall-sshd.ps1, OpenSSHUtils.psm1, OpenSSHUtils.psd1, FixHostFilePermissions.ps1, FixUserFilePermissions.ps1, ssh-add-hostkey.ps1, sshd_config (as sshd_config_default), openssh-events.man, moduli to build directory