Copy LICENCE to bin folder (#514)

This commit is contained in:
vthiebaut10 2021-05-26 18:19:48 -04:00 committed by GitHub
parent 46688b7bc0
commit 75835a2462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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') {

View File

@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>
@ -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)"</Command>
<Message>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</Message>
</PostBuildEvent>