From 561c9a36db20ad213751dcbeb13828ee527173c7 Mon Sep 17 00:00:00 2001 From: dgalbraith Date: Tue, 20 Apr 2021 08:04:19 +0100 Subject: [PATCH] Remove rsync package --- packages/rsync/rsync.nuspec | 27 -------------------- packages/rsync/tools/chocolateyInstall.ps1 | 23 ----------------- packages/rsync/tools/chocolateyUninstall.ps1 | 6 ----- packages/rsync/tools/rsync.bat | 8 ------ 4 files changed, 64 deletions(-) delete mode 100644 packages/rsync/rsync.nuspec delete mode 100644 packages/rsync/tools/chocolateyInstall.ps1 delete mode 100644 packages/rsync/tools/chocolateyUninstall.ps1 delete mode 100644 packages/rsync/tools/rsync.bat diff --git a/packages/rsync/rsync.nuspec b/packages/rsync/rsync.nuspec deleted file mode 100644 index d01be72f..00000000 --- a/packages/rsync/rsync.nuspec +++ /dev/null @@ -1,27 +0,0 @@ - - - - rsync - cwRsync (Free Edition) - 5.5.0.20190204 - Itefix - Anthony Mastrean - Rsync is a fast and extraordinarily versatile file copying tool for both remote and local files. - -Rsync uses a delta-transfer algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files. - ---- - -This package now provides only `rsync`. The shims for `ssh` and `ssh-keygen` have been removed since these are included by default in the latest versions of Windows 10. - - https://www.itefix.net/content/cwrsync-free-edition - https://www.itefix.net/content/cwrsync-rsync-312 - https://github.com/AnthonyMastrean/chocolateypackages - rsync ssh ssh-keygen - https://www.itefix.net/content/cwrsync-licenseversion - false - https://www.itefix.net/forum - https://www.itefix.net/support - https://www.itefix.net/cwrsync - - diff --git a/packages/rsync/tools/chocolateyInstall.ps1 b/packages/rsync/tools/chocolateyInstall.ps1 deleted file mode 100644 index 5154fbe5..00000000 --- a/packages/rsync/tools/chocolateyInstall.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -$tools = Split-Path $MyInvocation.MyCommand.Definition -$package = Split-Path $tools -$content = Join-Path $package 'cwrsync_5.5.0_x86_free' - -Install-ChocolateyZipPackage ` - -PackageName 'rsync' ` - -Url 'https://web.archive.org/web/20160613105413/https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip' ` - -Checksum '37E8EF21AC975D4EE86C9D3BE40C8935E8B9D0BA84E9302FC106B9452296CB85' ` - -ChecksumType 'SHA256' ` - -UnzipLocation $package - -Install-ChocolateyEnvironmentVariable ` - -VariableName 'CWRSYNC_HOME' ` - -VariableValue $content ` - -VariableType 'Machine' - -# This package requires the CWRSYNC_HOME directory on the PATH and a HOME -# environment variable. This cannot be provided with Chocolatey's automatic -# shimming. I have to shim custom batch files. -Get-ChildItem $tools\*.bat | %{ Install-BinFile -Name $_.BaseName -Path $_ } -Get-ChildItem $content\bin\*.exe | %{ New-Item -Type 'File' -Path "$_.ignore" -Force | Out-Null } - -Update-SessionEnvironment diff --git a/packages/rsync/tools/chocolateyUninstall.ps1 b/packages/rsync/tools/chocolateyUninstall.ps1 deleted file mode 100644 index f331d7b3..00000000 --- a/packages/rsync/tools/chocolateyUninstall.ps1 +++ /dev/null @@ -1,6 +0,0 @@ -$tools = Split-Path $MyInvocation.MyCommand.Definition - -# This package requires the CWRSYNC_HOME directory on the PATH and a HOME -# environment variable. This cannot be provided with Chocolatey's automatic -# shimming. I have to shim custom batch files. -Get-ChildItem $tools\*.bat | %{ Uninstall-BinFile -Name $_.BaseName -Path $_ } diff --git a/packages/rsync/tools/rsync.bat b/packages/rsync/tools/rsync.bat deleted file mode 100644 index cb76e9c9..00000000 --- a/packages/rsync/tools/rsync.bat +++ /dev/null @@ -1,8 +0,0 @@ -@ECHO OFF - -SETLOCAL - -SET PATH=%CWRSYNC_HOME%\bin;%PATH% -IF NOT DEFINED HOME SET HOME=%USERPROFILE% - -rsync %*