Skip to content

Commit

Permalink
From Chocolatey-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jul 5, 2024
1 parent b453cef commit a24077a
Show file tree
Hide file tree
Showing 25 changed files with 516 additions and 4 deletions.
1 change: 1 addition & 0 deletions au/update_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ $Options = [ordered]@{
$global:au_Root = "$PSScriptRoot/../automatic" #Path to the AU packages
$info = updateall -Name $Name -Options $Options

if(1 -eq 2) { $info}
#Uncomment to fail the build on AppVeyor on any package error
#if (($null -ne $Env:APPVEYOR_PULL_REQUEST_NUMBER) -and ($Env:APPVEYOR_PULL_REQUEST_NUMBER -ne '')) {
# Write-Information "On Appveyor"
Expand Down
3 changes: 2 additions & 1 deletion automatic/brave-nightly/brave-nightly.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ advances and it’s not ready for daily use. Brave Beta automatically sends cras
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano)
Expand All @@ -39,7 +40,7 @@ Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunis

#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)</releaseNotes>
<tags>foss nightly cross-platform admin brave brave-browser bravebrowser web browser web-browser chromium adblock adblocker privacy</tags>
<projectSourceUrl>https://github.com/brave/brave-browser</projectSourceUrl>
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/brave-nightly</packageSourceUrl>
Expand Down
11 changes: 11 additions & 0 deletions automatic/db-visualizer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[![](https://img.shields.io/chocolatey/v/db-visualizer?color=green&label=db-visualizer)](https://chocolatey.org/packages/db-visualizer) [![](https://img.shields.io/chocolatey/dt/db-visualizer)](https://chocolatey.org/packages/db-visualizer)

## DB Visualizer
dbVisualizer is the universal database tool for developers, DBAs and analysts. It is the perfect
solution since the same tool can be used on all major operating systems accessing a wide range of
databases.

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano)
37 changes: 37 additions & 0 deletions automatic/db-visualizer/db-visualizer.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.-->
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>db-visualizer</id>
<title>DbVisualizer</title>
<version>24.2</version>
<authors>DbVis Software</authors>
<owners>tunisiano</owners>
<summary>DbVisualizer is the universal database tool for developers, DBAs and analysts.</summary>
<description><![CDATA[## DB Visualizer
dbVisualizer is the universal database tool for developers, DBAs and analysts. It is the perfect
solution since the same tool can be used on all major operating systems accessing a wide range of
databases.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/db-visualizer</packageSourceUrl>
<projectUrl>http://www.dbvis.com/</projectUrl>
<tags>Java DB DbVis DBVisualizer</tags>
<licenseUrl>http://www.dbvis.com/eula/</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@25f08b310b1c1c995b3bcb73088e15ec5b24e7dc/icons/db-visualizer.png</iconUrl>
<releaseNotes>#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)</releaseNotes>
<dependencies>
<dependency id="corretto17jdk"></dependency>
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
23 changes: 23 additions & 0 deletions automatic/db-visualizer/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64 = 'https://www.dbvis.com/product_download/dbvis-24.2/media/dbvis_windows-x64_24_2.exe'
$checksum64 = '690a743b98a84befd6f55a23f01e21e6967b0928f9cbbdc07f2f4be5db83c5a6'
$checksumType64 = 'sha256'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url = $url64

softwareName = 'DbVisualizer*'

checksum = $checksum64
checksumType = $checksumType64

silentArgs = "-q"

validExitCodes = @(0)
}

Install-ChocolateyPackage @packageArgs
41 changes: 41 additions & 0 deletions automatic/db-visualizer/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
$ErrorActionPreference = 'Stop'
import-module Chocolatey-AU
Import-Module ..\..\scripts\au_extensions.psm1

$releases = 'https://www.dbvis.com/download'

function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url64\s*=\s*)('.*')" = "`$1'$($Latest.URL64)'"
"(^[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'"
"(^[$]checksumType64\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType64)'"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}



function global:au_GetLatest {
Write-Output 'Check Folder'
$links = $(((Invoke-WebRequest -Uri $releases -UseBasicParsing).Links | Where-Object {$_.href -match 'dbvis_windows'} | Where-Object {$_.href -match 'exe'} | Where-Object {$_.href -notMatch '_jre'})).href | Select-Object -First 1

if($links -notcontains "https") {
$links = "https://www.dbvis.com$links"
}
$version = $links.split('-')[-1].replace('x64_','').replace('.exe','').replace('_','.')
if($version -eq '23.2.5') {
$version = '23.2.5.2023112601'
}

$url64 = $links

$Latest = @{ URL64 = $url64; Version = $version }
return $Latest
}

update -ChecksumFor 64 -NoCheckChocoVersion
6 changes: 3 additions & 3 deletions automatic/deepl/deepl.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ any other service. In blind tests pitting DeepL Translator against the competiti
results by a factor of 3:1. DeepL also achieves record-breaking performance according to scientific benchmarks.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>Deepl Traductor</summary>
<copyright>© Deepl</copyright>
Expand All @@ -29,7 +29,7 @@ Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunis
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/deepl</packageSourceUrl>
<releaseNotes>#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)</releaseNotes>
<dependencies>
<dependency id="dotnetfx" version="4.5" />
</dependencies>
Expand Down
15 changes: 15 additions & 0 deletions automatic/pinginfoview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[![](https://img.shields.io/chocolatey/v/pinginfoview?color=green&label=pinginfoview)](https://chocolatey.org/packages/pinginfoview) [![](https://img.shields.io/chocolatey/dt/pinginfoview)](https://chocolatey.org/packages/pinginfoview)

## pinginfoview
PingInfoView is a small utility that allows you to easily ping multiple host names and IP addresses, and
watch the result in one table.

It automatically ping to all hosts every number of seconds that you specify, and displays the number of
succeed and failed pings, as well as the average ping time.

You can also save the ping result into text/html/xml file, or copy it to the clipboard.

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano)
3 changes: 3 additions & 0 deletions automatic/pinginfoview/legal/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
License
This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility,
you must include all files in the distribution package, without any modification !
26 changes: 26 additions & 0 deletions automatic/pinginfoview/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software has been downloaded from the listed download
location on <https://github.com/LADSoft/OrangeC/releases/tag/Orange-C-v6.73.1>
and can be verified by doing the following:

1. Download the following:

url: <https://github.com/LADSoft/OrangeC/releases/download/Orange-C-v6.73.1/WindowsInstaller6738.exe>

2. You can obtain the checksum using one of the following methods:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum type: sha256
checksum: 107B6C28562B090211CA999F9CD64B059948064D4DC282A8AF1A5A0869465833

Using AU:

Get-RemoteChecksum

The file 'license.txt' is obtained from:
License: <https://www.nirsoft.net/utils/multiple_ping_tool.html>
41 changes: 41 additions & 0 deletions automatic/pinginfoview/pinginfoview.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.-->
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>pinginfoview</id>
<title>PingInfoView</title>
<version>3.10.0</version>
<authors>Nir Sofer</authors>
<owners>tunisiano</owners>
<summary>Ping to multiple host names/IP addresses</summary>
<description><![CDATA[## pinginfoview
PingInfoView is a small utility that allows you to easily ping multiple host names and IP addresses, and
watch the result in one table.
It automatically ping to all hosts every number of seconds that you specify, and displays the number of
succeed and failed pings, as well as the average ping time.
You can also save the ping result into text/html/xml file, or copy it to the clipboard.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/pinginfoview</packageSourceUrl>
<projectUrl>http://www.nirsoft.net/utils/multiple_ping_tool.html</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@49796edd6656666be6777786f68d1ca40be93809/icons/pinginfoview.png</iconUrl>
<tags>ping ip address host</tags>
<copyright>© 2008 NirSoft</copyright>
<licenseUrl>http://www.nirsoft.net/utils/multiple_ping_tool.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
<file src="tools\**" target="tools" />
</files>
</package>
15 changes: 15 additions & 0 deletions automatic/pinginfoview/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$ErrorActionPreference = 'Stop'
$packageName = $env:ChocolateyPackageName
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$File = "$toolsDir/pinginfoview.zip"
$installFile = Join-Path $toolsDir "$($packageName).exe"

$packageArgs = @{
FileFullPath = $File
UnzipLocation = $toolsDir
}

Get-ChocolateyUnzip @packageArgs

Set-Content -Path ("$installFile.gui") `
-Value $null
42 changes: 42 additions & 0 deletions automatic/pinginfoview/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'
import-module Chocolatey-AU
Import-Module ..\..\scripts\au_extensions.psm1

$url32 = 'https://www.nirsoft.net/utils/pinginfoview.zip'

Add-Type -AssemblyName System.IO.Compression.FileSystem
function Unzip
{
param([string]$zipfile, [string]$outpath)

[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
}

function global:au_SearchReplace {
@{
".\legal\VERIFICATION.txt" = @{
"(?i)(^\s*location on\:?\s*)\<.*\>" = "`${1}<$($Latest.URL32)>"
"(?i)(^\s*url(32)?\:\s*).*" = "`${1}<$($Latest.URL32)>"
"(?i)(^\s*checksum(32)?\:\s*).*" = "`${1}$($Latest.Checksum32)"
"(?i)(^\s*checksum\s*type\:\s*).*" = "`${1}$($Latest.ChecksumType32)"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$File = "tools/pinginfoview.zip"
Invoke-WebRequest -Uri $url32 -OutFile $File -UseBasicParsing
Expand-Archive $File -DestinationPath .\piv
$checksum = (Get-FileHash -Path $File -Algorithm $env:ChocolateyChecksumType)

$version=$(Get-Content .\piv\readme.txt | Where-Object {$_ -match '\* Version'})[0].split(' ')[2]

$Latest = @{ URL32 = $url32; Version = $version; Checksum32 = $checksum; ChecksumType32 = $env:ChocolateyChecksumType }
return $Latest
}

update -ChecksumFor none -NoCheckChocoVersion
16 changes: 16 additions & 0 deletions automatic/pngquant/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[![](https://img.shields.io/chocolatey/v/pngquant?color=green&label=pngquant)](https://chocolatey.org/packages/pngquant) [![](https://img.shields.io/chocolatey/dt/pngquant)](https://chocolatey.org/packages/pngquant)

## pngquant
pngquant is a command-line conversion utility and library to quantize (lossy compression) and
dither truecolor PNG images, especially those with a full alpha channel, down to 8-bit (or smaller)
RGBA-palette PNGs. Such images are usually two to four times smaller than the full 32-bit versions, and
partial transparency is preserved quite nicely. This makes pngquant especially useful both for Web sites
and for PlayStation 2 development, where one of the texture formats is RGBA-palette-based (though not
PNG-compressed). This is the same technique used for many of the images on the Miscellaneous Transparent
PNGs page (http://www.libpng.org/pub/png/pngs-img.html), and the results are often indistinguishable from
the original, truecolor PNG images.

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano)
45 changes: 45 additions & 0 deletions automatic/pngquant/pngquant.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>pngquant</id>
<version>3.0.3</version>
<title>pngquant</title>
<authors>Kornel Lesiński</authors>
<owners>tunisiano</owners>
<licenseUrl>https://github.com/pornel/pngquant/blob/master/COPYRIGHT</licenseUrl>
<projectUrl>https://pngquant.org/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@cf55c5a8e8a9a3aa227f9c26c8328d5cccd31c20/icons/pngquant.png</iconUrl>
<description><![CDATA[## pngquant
pngquant is a command-line conversion utility and library to quantize (lossy compression) and
dither truecolor PNG images, especially those with a full alpha channel, down to 8-bit (or smaller)
RGBA-palette PNGs. Such images are usually two to four times smaller than the full 32-bit versions, and
partial transparency is preserved quite nicely. This makes pngquant especially useful both for Web sites
and for PlayStation 2 development, where one of the texture formats is RGBA-palette-based (though not
PNG-compressed). This is the same technique used for many of the images on the Miscellaneous Transparent
PNGs page (http://www.libpng.org/pub/png/pngs-img.html), and the results are often indistinguishable from
the original, truecolor PNG images.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>Lossy PNG compressor</summary>
<releaseNotes>#### Program
* [Changelog](https://raw.githubusercontent.com/pornel/pngquant/master/CHANGELOG)
* [Old homepage](http://www.libpng.org/pub/png/apps/pngquant.html)

#### Package
* Automatically built and uploaded by [dtgm](https://chocolatey.org/profiles/dtgm)</releaseNotes>
<copyright>© 2009-Current Kornel Lesiński, 1997-2002 Greg Roelofs, 1989,1991 Jef Poskanzer</copyright>
<tags>png compress cli</tags>
<projectSourceUrl>https://github.com/pornel/pngquant</projectSourceUrl>
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/pngquant</packageSourceUrl>
<docsUrl>https://pngquant.org/#manual</docsUrl>
<bugTrackerUrl>https://github.com/pornel/pngquant/issues</bugTrackerUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
18 changes: 18 additions & 0 deletions automatic/pngquant/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$packageName = 'pngquant'
$url = 'https://pngquant.org/pngquant-windows.zip'
$checksum = 'bd0257aeeccfe446a4cd764927e26f8af6051796f28abed104307284107b120d'
$checksumType = 'sha256'
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

Install-ChocolateyZipPackage -PackageName $packageName `
-Url $url `
-UnzipLocation $toolsDir `
-Checksum $checksum `
-ChecksumType $checksumType

Write-Verbose "Creating .ignore sidecar files for .bat filetype to prevent shims"
$files = Get-ChildItem $toolsDir -Include *.bat -Recurse
foreach ($file in $files) {
New-Item "$file.ignore" -ItemType file -Force | Out-Null
}

Loading

0 comments on commit a24077a

Please sign in to comment.