From 7d623d281c8b219a8be3ba99f98ec0d401590e48 Mon Sep 17 00:00:00 2001 From: Chocolatey Date: Sat, 19 Oct 2019 07:28:24 +0000 Subject: [PATCH] AU: 2 updated - gpg4win-light gpg4win-vanilla [skip ci] https://gist.github.com/a14b1e5bfaf70839b338eb1ab7f8226f/f832a144b682ed5b74c1818c7616b764804ba093 --- automatic/gpg4win-light/README.md | 2 +- automatic/gpg4win-light/gpg4win-light.nuspec | 31 +++++++++++-------- .../gpg4win-light/tools/chocolateyInstall.ps1 | 4 +-- .../tools/chocolateyUninstall.ps1 | 4 +-- automatic/gpg4win-vanilla/README.md | 2 +- .../gpg4win-vanilla/gpg4win-vanilla.nuspec | 31 +++++++++++-------- .../tools/chocolateyInstall.ps1 | 4 +-- .../tools/chocolateyUninstall.ps1 | 4 +-- 8 files changed, 46 insertions(+), 36 deletions(-) diff --git a/automatic/gpg4win-light/README.md b/automatic/gpg4win-light/README.md index e2e4f735670..940be6faadf 100644 --- a/automatic/gpg4win-light/README.md +++ b/automatic/gpg4win-light/README.md @@ -1,4 +1,4 @@ -# [gpg4win-light](https://chocolatey.org/packages/gpg4win-light) +# [gpg4win-light](https://chocolatey.org/packages/gpg4win-light) **NOTE**: This GPG distribution is no longer maintained. Instead, use [gnupg](https://chocolatey.org/packages/gnupg) package which provides the modern command line version of GnuPG without any graphical tools. diff --git a/automatic/gpg4win-light/gpg4win-light.nuspec b/automatic/gpg4win-light/gpg4win-light.nuspec index c7ae2dce170..fb15aebc2e5 100644 --- a/automatic/gpg4win-light/gpg4win-light.nuspec +++ b/automatic/gpg4win-light/gpg4win-light.nuspec @@ -2,15 +2,19 @@ gpg4win-light - 2.3.4.20170919 + 2.3.4.20191019 Gpg4win Light g10 Code GmbH chocolatey, dtgm https://www.gpg4win.org/license.html http://www.gpg4win.org/ - https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/f1fbac85edfe6ace114f8ad50023739b2494bb31/icons/gpg4win.png + https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-coreteampackages@f1fbac85edfe6ace114f8ad50023739b2494bb31/icons/gpg4win.png false - Gpg4win-light (GNU Privacy Guard for Windows) is a suite of programs for file encryption and digital signatures, excluding the documentation and Kleopatra, the GUI certificate manager and encryption/signature tool. + + +]]> GNU Privacy Guard suite of programs for encryption and digital signatures http://www.gpg4win.org/change-history.html © 2006 g10 Code GmbH gui cli foss cross-platfrom security signature encryption certificate gpg gnupg gpa gpgol gpgex clawsmail admin http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpg4win.git;a=tree - https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/gpg4win-light + https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/gpg4win-light http://www.gpg4win.org/documentation.html http://www.gpg4win.org/community.html#main https://bugs.gnupg.org/ diff --git a/automatic/gpg4win-light/tools/chocolateyInstall.ps1 b/automatic/gpg4win-light/tools/chocolateyInstall.ps1 index 51841b58888..ae7d14821e0 100644 --- a/automatic/gpg4win-light/tools/chocolateyInstall.ps1 +++ b/automatic/gpg4win-light/tools/chocolateyInstall.ps1 @@ -11,10 +11,10 @@ $toolsPath = Split-Path $MyInvocation.MyCommand.Definition $packageArgs = @{ packageName = 'gpg4win-light' fileType = $fileType - file = gi $toolsPath\*.exe + file = Get-Item $toolsPath\*.exe silentArgs = '/S' validExitCodes = @(0) softwareName = 'Gpg4Win *' } Install-ChocolateyInstallPackage @packageArgs -ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" '' }} +Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" '' }} diff --git a/automatic/gpg4win-light/tools/chocolateyUninstall.ps1 b/automatic/gpg4win-light/tools/chocolateyUninstall.ps1 index 0da3af450cc..488144b8bfc 100644 --- a/automatic/gpg4win-light/tools/chocolateyUninstall.ps1 +++ b/automatic/gpg4win-light/tools/chocolateyUninstall.ps1 @@ -5,7 +5,7 @@ $softwareNamePattern = 'Gpg4win *' [array] $key = Get-UninstallRegistryKey $softwareNamePattern if ($key.Count -eq 1) { - $key | % { + $key | ForEach-Object { $packageArgs = @{ packageName = $packageName silentArgs = "/S" @@ -23,6 +23,6 @@ elseif ($key.Count -gt 1) { Write-Warning "$($key.Count) matches found!" Write-Warning "To prevent accidental data loss, no programs will be uninstalled." Write-Warning "Please alert package maintainer the following keys were matched:" - $key | % {Write-Warning "- $($_.DisplayName)"} + $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"} } diff --git a/automatic/gpg4win-vanilla/README.md b/automatic/gpg4win-vanilla/README.md index 26b61912648..81515557b03 100644 --- a/automatic/gpg4win-vanilla/README.md +++ b/automatic/gpg4win-vanilla/README.md @@ -1,4 +1,4 @@ -# [gpg4win-vanilla](https://chocolatey.org/packages/gpg4win-vanilla) +# [gpg4win-vanilla](https://chocolatey.org/packages/gpg4win-vanilla) **NOTE**: This GPG distribution is no longer maintained. Instead, use [gpg4win](https://chocolatey.org/packages/gpg4win) which is since v3.0 significantly lighter than what it was previously or [gnupg](https://chocolatey.org/packages/gnupg) which provides the modern command line version of GnuPG without any graphical tools. diff --git a/automatic/gpg4win-vanilla/gpg4win-vanilla.nuspec b/automatic/gpg4win-vanilla/gpg4win-vanilla.nuspec index e767bde7542..c83ed2f5aad 100644 --- a/automatic/gpg4win-vanilla/gpg4win-vanilla.nuspec +++ b/automatic/gpg4win-vanilla/gpg4win-vanilla.nuspec @@ -2,15 +2,19 @@ gpg4win-vanilla - 2.3.4.20170919 + 2.3.4.20191019 Gpg4win Vanilla g10 Code GmbH chocolatey, dtgm https://www.gpg4win.org/license.html http://www.gpg4win.org/ - https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/f1fbac85edfe6ace114f8ad50023739b2494bb31/icons/gpg4win.png + https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-coreteampackages@f1fbac85edfe6ace114f8ad50023739b2494bb31/icons/gpg4win.png false - Gpg4win-vanilla (GNU Privacy Guard for Windows) only installs the actual file encryption and digital signature command-line tool gpg.exe. + + +]]> GNU Privacy Guard suite of programs for encryption and digital signatures http://www.gpg4win.org/change-history.html © 2006 g10 Code GmbH gui cli foss cross-platfrom security signature encryption certificate gpg gnupg gpa gpgol gpgex clawsmail admin http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpg4win.git;a=tree - https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/gpg4win-light + https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/gpg4win-vanilla http://www.gpg4win.org/documentation.html http://www.gpg4win.org/community.html#main https://bugs.gnupg.org/ diff --git a/automatic/gpg4win-vanilla/tools/chocolateyInstall.ps1 b/automatic/gpg4win-vanilla/tools/chocolateyInstall.ps1 index 4f02c3fe8ad..fe69daf64e6 100644 --- a/automatic/gpg4win-vanilla/tools/chocolateyInstall.ps1 +++ b/automatic/gpg4win-vanilla/tools/chocolateyInstall.ps1 @@ -11,10 +11,10 @@ $toolsPath = Split-Path $MyInvocation.MyCommand.Definition $packageArgs = @{ packageName = 'gpg4win-vanilla' fileType = $fileType - file = gi $toolsPath\*.exe + file = Get-Item $toolsPath\*.exe silentArgs = '/S' validExitCodes = @(0) softwareName = 'Gpg4Win *' } Install-ChocolateyInstallPackage @packageArgs -ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" '' }} +Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" '' }} diff --git a/automatic/gpg4win-vanilla/tools/chocolateyUninstall.ps1 b/automatic/gpg4win-vanilla/tools/chocolateyUninstall.ps1 index 0da3af450cc..488144b8bfc 100644 --- a/automatic/gpg4win-vanilla/tools/chocolateyUninstall.ps1 +++ b/automatic/gpg4win-vanilla/tools/chocolateyUninstall.ps1 @@ -5,7 +5,7 @@ $softwareNamePattern = 'Gpg4win *' [array] $key = Get-UninstallRegistryKey $softwareNamePattern if ($key.Count -eq 1) { - $key | % { + $key | ForEach-Object { $packageArgs = @{ packageName = $packageName silentArgs = "/S" @@ -23,6 +23,6 @@ elseif ($key.Count -gt 1) { Write-Warning "$($key.Count) matches found!" Write-Warning "To prevent accidental data loss, no programs will be uninstalled." Write-Warning "Please alert package maintainer the following keys were matched:" - $key | % {Write-Warning "- $($_.DisplayName)"} + $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"} }