[MacPorts] #42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update?
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: dirvish ---------------------+-------------------------------- It says this: {{{ DEBUG: checksum phase started at Sun Mar 9 17:27:10 EDT 2014 ---> Verifying checksums for dirvish DEBUG: Executing org.macports.checksum (dirvish) ---> Checksumming dirvish-1.2.1.tgz Error: Checksum (md5) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz md5 f3a127525dd2ef94bf79cd5614f6e147 Distfile checksum: dirvish-1.2.1.tgz md5 9035fdff055527882ea180c16c2f1bec Error: Checksum (sha1) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz sha1 804a8ef09e47ac63499571db0c05fe2be9fd6b15 Distfile checksum: dirvish-1.2.1.tgz sha1 b79ec8e3d8a1efe11ea4e487dea2b46d1070f3ea Error: Checksum (rmd160) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz rmd160 2942ca7bba1d4957ba66d88b341df605df7b2112 Distfile checksum: dirvish-1.2.1.tgz rmd160 7af67f7e04142da885a9ce3c5596e9960f192c39 The correct checksum line may be: checksums md5 9035fdff055527882ea180c16c2f1bec \ sha1 b79ec8e3d8a1efe11ea4e487dea2b46d1070f3ea \ rmd160 7af67f7e04142da885a9ce3c5596e9960f192c39 }}} I tried checking with livecheck to see if there was a real update we could update to instead of dealing with this stealth update, but the livecheck seems broken: {{{ Local-Admins-MacBook-Pro:dlcompat-20030629 ericgallager$ port -v livecheck dirvish dirvish seems to have been updated (port version: 1.2.1, new version: 0.2p1.16) }}} (dirvish's homepage lists no such version) -- Ticket URL: <https://trac.macports.org/ticket/42780> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Changes (by ryandesign@…): * cc: chris@… (removed) * cc: ryandesign@… (added) * keywords: => haspatch * owner: macports-tickets@… => chris@… Comment: Replying to [ticket:42780 egall@…]:
It says this: {{{ DEBUG: checksum phase started at Sun Mar 9 17:27:10 EDT 2014 ---> Verifying checksums for dirvish DEBUG: Executing org.macports.checksum (dirvish) ---> Checksumming dirvish-1.2.1.tgz Error: Checksum (md5) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz md5 f3a127525dd2ef94bf79cd5614f6e147 Distfile checksum: dirvish-1.2.1.tgz md5 9035fdff055527882ea180c16c2f1bec Error: Checksum (sha1) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz sha1 804a8ef09e47ac63499571db0c05fe2be9fd6b15 Distfile checksum: dirvish-1.2.1.tgz sha1 b79ec8e3d8a1efe11ea4e487dea2b46d1070f3ea Error: Checksum (rmd160) mismatch for dirvish-1.2.1.tgz Portfile checksum: dirvish-1.2.1.tgz rmd160 2942ca7bba1d4957ba66d88b341df605df7b2112 Distfile checksum: dirvish-1.2.1.tgz rmd160 7af67f7e04142da885a9ce3c5596e9960f192c39 The correct checksum line may be: checksums md5 9035fdff055527882ea180c16c2f1bec \ sha1 b79ec8e3d8a1efe11ea4e487dea2b46d1070f3ea \ rmd160 7af67f7e04142da885a9ce3c5596e9960f192c39 }}}
Yes, a stealth update has occurred. The difference between the old distfile available on distfiles.macports.org and the new one is that an enclosing directory now exists (so `extract.mkdir yes` is no longer needed in the Portfile), and this change was made to the dirvish.conf manpage: {{{ --- dirvish.conf.5 2008-03-25 10:35:43.000000000 -0500 +++ dirvish.conf.5 2012-01-06 21:26:00.000000000 -0600 @@ -786,7 +786,7 @@ .ta +.5i +36m wd { sun } +3 months wd { sun } md { 1\-7 } +1 year - wd { 1 } md { 1\-7 } mo { 1,4,7,10 } never + wd { 1 } md { 1\-7 } mo { 1 4 7 10 } never hr { 10\-20 } +10 days .ft R .fi }}}
I tried checking with livecheck to see if there was a real update we could update to instead of dealing with this stealth update, but the livecheck seems broken: {{{ Local-Admins-MacBook-Pro:dlcompat-20030629 ericgallager$ port -v livecheck dirvish dirvish seems to have been updated (port version: 1.2.1, new version: 0.2p1.16) }}} (dirvish's homepage lists no such version)
1.2.1, from 2005, is the latest version. Presumably the software is dead and the livecheck could be disabled. See patch, which also includes the fixes from #42782 and #42783, and adds the standard modeline. If you have no objections, I'd be happy to commit it for you. -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Comment (by egall@…): Replying to [comment:1 ryandesign@…]:
See patch, which also includes the fixes from #42782 and #42783, and adds the standard modeline. If you have no objections, I'd be happy to commit it for you. Tried the patch, it worked (well except the modeline part failed to apply, but I was able to fix that manually), and dirvish installed successfully for me. I guess if we are fixing other issues besides the checksum here, the only thing that remains is the license: {{{ Local-Admins-MacBook-Pro:~ ericgallager$ port -v lint --nitpick dirvish ---> Verifying Portfile for dirvish OK: Line 1 has emacs/vim Mode OK: Line 2 has RCS tag ($Id$) OK: Found PortSystem 1.0 OK: Found required variable: name OK: Found required variable: version OK: Found required variable: description OK: Found required variable: long_description OK: Found required variable: categories OK: Found required variable: maintainers OK: Found required variable: platforms OK: Found required variable: homepage OK: Found required variable: master_sites OK: Found required variable: checksums OK: Found required variable: license OK: Found optional variable: epoch OK: Found optional variable: revision OK: Found platform: darwin OK: Found platform: freebsd OK: Found primary category: sysutils OK: Found dependency: perl5.16 OK: Found dependency: p5.16-time-modules OK: Found dependency: p5.16-timedate OK: Found dependency: p5.16-time-period OK: Found dependency: rsync OK: Found dependency: bsdmake Warning: no license set OK: Portfile parent directory matches primary category OK: Portfile directory matches port name ---> 0 errors and 1 warnings found. }}} According to the Dirvish FAQ, the license is "OSL", whatever that is: [http://www.dirvish.org/FAQ.html#what_does_dirvish_cost_and_how_is_it_license...] [[BR]] Looking through the [browser:trunk/base/portmgr/jobs/port_binary_distributable.tcl list of licenses], "OSL" seems to be currently unrecognized by MacPorts...
Anyways, now just to hear back from the maintainer... -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Comment (by larryv@…): Replying to [comment:2 egall@…]:
According to the Dirvish FAQ, the license is "OSL", whatever that is
Probably the [http://opensource.org/licenses/OSL-3.0 Open Software License]. -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Comment (by egall@…): Replying to [comment:3 larryv@…]:
Replying to [comment:2 egall@…]:
According to the Dirvish FAQ, the license is "OSL", whatever that is
Probably the [http://opensource.org/licenses/OSL-3.0 Open Software License].
OK, but what would we put for that for the license field in the Portfile? -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:1 ryandesign@…]:
Yes, a stealth update has occurred.
1.2.1, from 2005, is the latest version. Presumably the software is dead and the livecheck could be disabled.
See patch, which also includes the fixes from #42782 and #42783, and adds the standard modeline. If you have no objections, I'd be happy to commit it for you.
r122682 -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42780: dirvish @1.2.1_1: checksum mismatch, possible stealth update? ----------------------+---------------------- Reporter: egall@… | Owner: chris@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: dirvish | ----------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:4 egall@…]:
Replying to [comment:3 larryv@…]:
Replying to [comment:2 egall@…]:
According to the Dirvish FAQ, the license is "OSL", whatever that is
Probably the [http://opensource.org/licenses/OSL-3.0 Open Software License].
OK, but what would we put for that for the license field in the Portfile?
I've set the license to "OSL-2" in r122683. I haven't reviewed the text of the license. If the license is permissive, we should add it to port_binary_distributable.tcl. -- Ticket URL: <https://trac.macports.org/ticket/42780#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts