Downloads:

589

Downloads of v 1.7.0:

589

Last Update:

08 Feb 2015

Package Maintainer(s):

Software Author(s):

  • Johann N. Löfflmann

Tags:

file checksum java commandline

Jacksum

1.7.0 | Updated: 08 Feb 2015

Downloads:

589

Downloads of v 1.7.0:

589

Maintainer(s):

Software Author(s):

  • Johann N. Löfflmann

Jacksum 1.7.0

Some Checks Have Failed or Are Not Yet Complete

1 Test Unknown and 1 Passing Test


Validation Testing Unknown


Verification Testing Passed

Details

To install Jacksum, run the following command from the command line or from PowerShell:

>

To upgrade Jacksum, run the following command from the command line or from PowerShell:

>

To uninstall Jacksum, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade jacksum -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade jacksum -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure jacksum installed
  win_chocolatey:
    name: jacksum
    state: present
    version: 1.7.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'jacksum' do
  action    :install
  version  '1.7.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: jacksum,
    Version: 1.7.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller jacksum
{
   Name     = 'jacksum'
   Ensure   = 'Present'
   Version  = '1.7.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'jacksum':
  provider => 'chocolatey',
  ensure   => '1.7.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install jacksum version="1.7.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator purity on 02 Mar 2015.

Description

Jacksum is a free and platform independent software for computing and verifying checksums, CRCs and message digests (known as hash values and fingerprints). "Jacksum" is a synthetic word made of JAva and ChecKSUM.

Jacksum supports 58 popular standard algorithms (Adler32, BSD sum, Bzip2's CRC-32, POSIX cksum, CRC-8, CRC-16, CRC-24, CRC-32 (FCS-32), CRC-64, ELF-32, eMule/eDonkey, FCS-16, GOST R 34.11-94, HAS-160, HAVAL (3/4/5 passes, 128/160/192/224/256 bits), MD2, MD4, MD5, MPEG-2's CRC-32, RIPEMD-128, RIPEMD-160, RIPEMD-256, RIPEMD-320, SHA-0, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, Tiger-128, Tiger-160, Tiger, Tiger2, Tiger Tree Hash, Tiger2 Tree Hash, Unix System V sum, sum8, sum16, sum24, sum32, Whirlpool-0, Whirlpool-1, Whirlpool and xor8).

Jacksum supports the "Rocksoft (tm) Model CRC Algorithm", it can calculate customized CRC algorithms (all from 8 bit to 64 bit) and it supports the combination of multiple algorithms. Due to those features, millions of different new algorithms are possible.

Jacksum has opened it's source code and it is released under the terms of the GNU GPL. Jacksum is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative.

Jacksum is platform independent, because it is written entirely in the Java programming language, the software runs on any platform having a Java Runtime Environment.

Jacksum has multiple interfaces. It can be used on the command line, at your file browser/manager, and it can be found as engine also in many other software projects.

Features
Frequently Asked Questions (FAQ)
Manual
Source code repository


tools\chocolateyInstall.ps1
$packageName = "jacksum"
$url = "http://prdownloads.sourceforge.net/jacksum/jacksum-1.7.0.zip?download"
$url64 = "$url"
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$checksum = "e3d840fa7b9949003ca731c7ce3e0281c350d821"
$checksumType = 'sha1'
$checksum64 = "e3d840fa7b9949003ca731c7ce3e0281c350d821"
$checksumType64 = 'sha1'
Install-ChocolateyZipPackage -PackageName "$packageName" -Url "$url" -UnzipLocation "$toolsDir" -Url64bit "$url64" -Checksum "$checksum" -ChecksumType "$checksumType" -Checksum64 "$checksum64" -ChecksumType64 "$checksumType64"
try {
  $chocoBinPath = Join-Path "$Env:ChocolateyInstall" 'bin'
	$batPath = Join-Path $toolsDir 'windows'
	$batName = "$packageName.bat"
	Get-Content (Join-Path $batPath "$batName") | foreach-object { $_ -replace '(^java.*?")(.*?:\\.*?)(\\jacksum.jar)(".*?)',"`$1$toolsDir`$3`$4" } | Set-Content (Join-Path $chocoBinPath "$batName")
	#Cleanup
	Remove-Item -Recurse (Join-Path "$toolsDir" 'unix')
	Write-ChocolateySuccess "$packageName"
} catch {
	Write-ChocolateyFailure $packageName $($_.Exception.Message)
	throw
}
tools\chocolateyUninstall.ps1
try {
	$packageName = 'jacksum'
  $chocoBinPath = Join-Path "$Env:ChocolateyInstall" 'bin'
	$batName = "$packageName.bat"	
	Remove-Item (Join-Path "$chocoBinPath" "$batName") -Force
  Write-ChocolateySuccess "$packageName"
} catch {
  Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
  throw 
}

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Discussion for the Jacksum Package

Ground Rules:

  • This discussion is only about Jacksum and the Jacksum package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Jacksum, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus