Downloads:

53

Downloads of v 1.2.2:

53

Last Update:

29 Dec 2019

Package Maintainer(s):

Software Author(s):

  • Jason White

Tags:

cli build tools

ducible

1.2.2 | Updated: 29 Dec 2019

Downloads:

53

Downloads of v 1.2.2:

53

Maintainer(s):

Software Author(s):

  • Jason White

Tags:

cli build tools

ducible 1.2.2

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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

>

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

>

To uninstall ducible, 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 ducible -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 ducible -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 ducible installed
  win_chocolatey:
    name: ducible
    state: present
    version: 1.2.2
    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 'ducible' do
  action    :install
  version  '1.2.2'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: ducible,
    Version: 1.2.2,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller ducible
{
   Name     = 'ducible'
   Ensure   = 'Present'
   Version  = '1.2.2'
   Source   = 'STEP 3 URL'
}

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


package { 'ducible':
  provider => 'chocolatey',
  ensure   => '1.2.2',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install ducible version="1.2.2" 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.

This package was approved by moderator mwallner on 05 Jan 2020.

Description

This is a tool to make builds of Portable Executables (PEs) and PDBs reproducible.

Timestamps and other non-deterministic data are embedded in DLLs, EXEs, and PDBs. If some source is compiled and linked twice without changing any source, the binary and PDB will not be bit-for-bit identical both times. This tool fixes that by modifying DLLs/EXEs in-place and rewriting PDBs.

Don't worry, Ducible won't mess with the functionality of your executable. All changes have no functional effect. It merely transforms one perfectly good executable into another perfectly good, yet reproducible(!), executable.


ducible.exe
md5: 539A6018173C8FFEBAD9BC630CD657A7 | sha1: 61F44814252F2BFF40541E96E01E347A1F471A13 | sha256: 2FAC32663794EC543B9304FC9A499F7280069448B58ABA4B6BF4EC5976F6806E | sha512: BBDEC7FF3477CBB8EDF5C2C0F46E194515F48A33EB78EA1E53E3F70088836CC156B4C334B6CD14D34EC8C7455B136F8716FA1A66B29578B96690832FD5A4F315
LICENSE.txt
Copyright (c) 2016 Jason White

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
pdbdump.exe
md5: 14F6F95BB44DE68204261A5EB16133D7 | sha1: 2459DD5D307C7091F01791B73546BF44ADBFE2DE | sha256: ADA9B75216788EF539FF9F715341A58E768C2E5F9A987D09229B90DE9740949D | sha512: C705E26CBF8E3BDD4F5A679A5715E9938B08C6CDBFAD7F848FCABFCE0E225ABE3F5F8E9A768474296FDD910AD3CDCF15CE0D5F5232FFDAF34D29384E463276D5
VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

---

LICENSE.txt is taken directly from <https://github.com/jasonwhite/ducible/blob/v1.2.2/LICENSE>.
The files ducible.exe and pdbdump.exe were extracted from ducible-windows-Win32-Release.zip at <https://github.com/jasonwhite/ducible/releases>.

 File        | Sha256
-------------|-------------------
 LICENSE.txt | 9EBDDEBCA8831B83780B9C9903283FA7768FCEFC70D1B3AAD67C5FFEB66F51B6
 ducible.exe | 2FAC32663794EC543B9304FC9A499F7280069448B58ABA4B6BF4EC5976F6806E
 pdbdump.exe | ADA9B75216788EF539FF9F715341A58E768C2E5F9A987D09229B90DE9740949D

For your convenience, the following PowerShell command line can be used to download, extract, and validate the SHA256 of every file.

```powershell
mkdir ducible
cd ducible

# Download ducible.zip
Invoke-WebRequest https://github.com/jasonwhite/ducible/releases/download/v1.2.2/ducible-windows-Win32-Release.zip -OutFile ducible.zip

# Validate ducible.zip
$ZipSha256 = (get-filehash -path ducible.zip -algorithm sha256).Hash
if ($ZipSha256 -Ne "B90D636B6EE08768CD198E00F007A25B91BC1BE279D417BDD3D476296060B7DA") { throw "ducible.zip changed!" }

# Download LICENSE.txt
Invoke-WebRequest https://github.com/jasonwhite/ducible/raw/v1.2.2/LICENSE -OutFile LICENSE.txt

# Validate LICENSE.txt
$LicenseSha256 = (get-filehash -path LICENSE.txt -algorithm sha256).Hash
if ($LicenseSha256 -Ne "9EBDDEBCA8831B83780B9C9903283FA7768FCEFC70D1B3AAD67C5FFEB66F51B6") { throw "LICENSE.txt changed!" }

# Extract ducible.zip
$shell = New-Object -Com shell.application
$zip = $shell.NameSpace("$PWD\ducible.zip")
foreach ($item in $zip.items()) { $shell.NameSpace("$PWD").CopyHere($item) }

# Validate zip file contents
$DucibleExeSha256 = (get-filehash -path ducible.exe -algorithm sha256).Hash
$PdbdumpExeSha256 = (get-filehash -path pdbdump.exe -algorithm sha256).Hash
if ($DucibleExeSha256 -Ne "2FAC32663794EC543B9304FC9A499F7280069448B58ABA4B6BF4EC5976F6806E") { throw "ducible.exe changed!" }
if ($PdbdumpExeSha256 -Ne "ADA9B75216788EF539FF9F715341A58E768C2E5F9A987D09229B90DE9740949D") { throw "pdbdump.exe changed!" }
```

Log in or click on link to see number of positives.

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

This package has no dependencies.

Discussion for the ducible Package

Ground Rules:

  • This discussion is only about ducible and the ducible 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 ducible, 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