Opened 15 years ago

Closed 14 years ago

#22795 closed defect (fixed)

cacti-0.8.7e +plugins checksum error

Reported by: lancelakey@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: cacti

Description

Mac OS X 10.6.2 Xcode 3.2

sudo port install cacti +plugins
--->  Computing dependencies for cacti
--->  Fetching cacti
--->  Verifying checksum(s) for cacti
Error: Checksum (md5) mismatch for cacti-plugin-0.8.7e-PA-v2.5.zip
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.
sudo port -v checksum cacti +plugins
--->  Computing dependencies for cacti.
--->  Verifying checksum(s) for cacti
--->  Checksumming cacti-0.8.7e.zip
--->  Checksumming cacti-plugin-0.8.7e-PA-v2.5.zip
Error: Checksum (md5) mismatch for cacti-plugin-0.8.7e-PA-v2.5.zip
Portfile checksum: cacti-plugin-0.8.7e-PA-v2.5.zip md5 e171374af8c5267b9fb0d144ac817f86
Distfile checksum: cacti-plugin-0.8.7e-PA-v2.5.zip md5 9eaa32a64d073cb86ec13a98af1db4a4
The correct checksum line may be:
checksums           cacti-0.8.7e.zip \
                    md5     b5eb2f5c512959417d51535f37d4e97c \
                    sha1    61535af362c2b044a140c6149d78eee9cda1183c \
                    rmd160  d7583dab84ff8fd119d37e4910147e450511db64 \
                    cacti-plugin-0.8.7e-PA-v2.5.zip \
                    md5     9eaa32a64d073cb86ec13a98af1db4a4 \
                    sha1    af6adbe6d2ee83b0ea5a21fdd005ffa518a1e4f5 \
                    rmd160  b9cee4dcfea1c6e344f6068b5b92babef23433c1
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for cacti): org.macports.checksum
Error: Status 1 encountered during processing.
--- Portfile.orig	2009-12-05 19:16:49.000000000 -0600
+++ Portfile	2009-12-05 19:41:08.000000000 -0600
@@ -37,7 +37,7 @@
 variant plugins description {The Plugin Architecture for Cacti} {
 	master_sites-append http://mirror.cactiusers.org/downloads/plugins:plugins
 	distfiles-append cacti-plugin-${cactiversion}-PA-v${pluginversion}${extract.suffix}:plugins
-	checksums-append cacti-plugin-${version}-PA-v${pluginversion}${extract.suffix} md5 e171374af8c5267b9fb0d144ac817f86
+	checksums-append cacti-plugin-${cactiversion}-PA-v${pluginversion}${extract.suffix} md5 9eaa32a64d073cb86ec13a98af1db4a4
 }
 
 destroot {

It looks like perhaps the plugins file/checksum changed at some point after the Portfile was created. I edited the Portfile to reflect the checksum of the current plugins file and created a diff/patch. Patch attached.

This resolved my issue.

Attachments (1)

Portfile-cacti.diff (617 bytes) - added by lancelakey@… 15 years ago.
cacti-0.8.7e +plugins checksum corrected

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by lancelakey@…

Attachment: Portfile-cacti.diff added

cacti-0.8.7e +plugins checksum corrected

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to markd@…

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Current version seems fine.

Note: See TracTickets for help on using tickets.