[MacPorts] howto/Upgrade modified
MacPorts Wiki
noreply at macports.org
Tue Sep 18 09:50:52 UTC 2018
Page "howto/Upgrade" was changed by p-bro
Diff URL: <https://trac.macports.org/wiki/howto/Upgrade?action=diff&version=15>
Revision 15
Comment: Checksum now also prints the size.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Upgrade
=========================================================================
--- howto/Upgrade (version: 14)
+++ howto/Upgrade (version: 15)
@@ -63,11 +63,12 @@
This will fetch the new version you've specified then run a checksum against the downloaded file. This will fail and since the debug (-d) flag was used, specify the checksums from the new file (among other lines):
{{{
...
-checksums rmd160 29488b09cc6d8013716c8a7d190fe6bc9625e568 \
- sha256 2766d858b15d5d76da61e096fa6ffeb55b0469fb488ae614cba8c3419038223d
+checksums rmd160 1799d0d28adaaae58063d387b4d6f36d4aedadcf \
+ sha256 fb3a1109cbe888fb0920bf13e910265d8be17048e17555ee323fa9cf85cdd9f2 \
+ size 66351584
...
}}}
-Copy this section (both lines), use {{{sudo port edit <portname>}}} again, and change the checksum lines to be what you just copied.
+Copy this section (all three lines), use {{{sudo port edit <portname>}}} again, and change the checksum lines to be what you just copied.
Similarly, if the Portfile has a livecheck section which uses {{{livecheck.check md5}}}, run:
{{{
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/Upgrade>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'howto/Upgrade' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list