[MacPorts] #47287: dumpasn1 checksum mismatch
#47287: dumpasn1 checksum mismatch ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: dumpasn1 ------------------------+-------------------------------- :error:checksum Checksum (sha256) mismatch for dumpasn1.c :info:checksum Portfile checksum: dumpasn1.c sha256 514e3b49adb0b2e49f8bcfc47c20c5f4202bc7e9f7b1e90bcd4d4cf592d469f4 :info:checksum Distfile checksum: dumpasn1.c sha256 d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c wget https://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c dumpasn1.c upstream seems to have silently 'upgraded' -- Ticket URL: <https://trac.macports.org/ticket/47287> MacPorts <https://www.macports.org/> Ports system for OS X
#47287: dumpasn1 checksum mismatch -------------------------+------------------- Reporter: macports@… | Owner: cjr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dumpasn1 | -------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => cjr@… Old description:
:error:checksum Checksum (sha256) mismatch for dumpasn1.c :info:checksum Portfile checksum: dumpasn1.c sha256 514e3b49adb0b2e49f8bcfc47c20c5f4202bc7e9f7b1e90bcd4d4cf592d469f4 :info:checksum Distfile checksum: dumpasn1.c sha256 d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c
wget https://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c dumpasn1.c
upstream seems to have silently 'upgraded'
New description: {{{ :error:checksum Checksum (sha256) mismatch for dumpasn1.c :info:checksum Portfile checksum: dumpasn1.c sha256 514e3b49adb0b2e49f8bcfc47c20c5f4202bc7e9f7b1e90bcd4d4cf592d469f4 :info:checksum Distfile checksum: dumpasn1.c sha256 d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c }}} {{{ wget https://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c dumpasn1.c }}} upstream seems to have silently 'upgraded' -- Comment: The [wiki:FAQ#checksums checksum mismatch FAQ entry] should be consulted. If this really was a silent upstream update, the [wiki:PortfileRecipes #stealth-updates stealth update recipe] should be followed. -- Ticket URL: <https://trac.macports.org/ticket/47287#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47287: dumpasn1 checksum mismatch -------------------------+------------------- Reporter: macports@… | Owner: cjr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dumpasn1 | -------------------------+------------------- Comment (by macports@…): https://web.archive.org/web/20120203134243/http://www.cs.auckland.ac.nz/~pgu... has the sha256 hash: 514e3b49adb0b2e49f8bcfc47c20c5f4202bc7e9f7b1e90bcd4d4cf592d469f4 dumpasn1.c which matches the portfile checksum. The diff from this version to today is massive, but the header is clear: < /* ASN.1 object dumping code, copyright Peter Gutmann ---
/* ASN.1 data display code, copyright Peter Gutmann 10c10 < updated 12 November 2010 (version 20101112, if you prefer it that way).
updated 19 December 2014 (version 20141219, if you prefer it that way).
So yes, the source files were clearly 'stealth upgraded' by the upstream author. -- Ticket URL: <https://trac.macports.org/ticket/47287#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47287: dumpasn1 checksum mismatch -------------------------+------------------- Reporter: macports@… | Owner: cjr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dumpasn1 | -------------------------+------------------- Comment (by leo@…): Don't fetch and don't check. " Available from http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c. Last updated 8 August 2015 (version 20150808, if you prefer it that way). " Workaround: {{{ $ sudo port edit dumpasn1 }}} Change: {{{ homepage https://www.cs.auckland.ac.nz/~pgut001/ checksums dumpasn1.c \ sha256 6e3942e1f61f309358837c4b69972b80267e3fe881b1c1f064425bbb145a5c74 \ dumpasn1.cfg \ sha256 cae4ec2cca1d22e7ac0e95d87d9e806e1e2629eb226147a050312b450e8daab6 }}} -- Ticket URL: <https://trac.macports.org/ticket/47287#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47287: dumpasn1 checksum mismatch -------------------------+------------------- Reporter: macports@… | Owner: cjr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dumpasn1 | -------------------------+------------------- Comment (by macports@…): leo, thanks for adding that patch, I assumed it was the responsibility of the package owner to fix the issue. -- Ticket URL: <https://trac.macports.org/ticket/47287#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts