Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions net/miniupnpc/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name miniupnpc
epoch 2
version 2.2.8
version 2.3.3
revision 0
categories net
platforms darwin freebsd
Expand All @@ -17,9 +17,9 @@ long_description ${description}
homepage http://miniupnp.free.fr/
master_sites http://miniupnp.free.fr/files/

checksums rmd160 ea2704c9af2d90c443fa4c255c9ea877159fd44f \
sha256 05b929679091b9921b6b6c1f25e39e4c8d1f4d46c8feb55a412aa697aee03a93 \
size 104603
checksums rmd160 0fcb12388a508cfc0d5eac69e769ff03bf1d9365 \
sha256 d52a0afa614ad6c088cc9ddff1ae7d29c8c595ac5fdd321170a05f41e634bd1a \
Comment on lines +20 to +21
Copy link
Contributor

@edilmedeiros edilmedeiros Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you getting these checksums?

Just manually downloaded the file and this is what I get.

❯ openssl dgst -sha256 miniupnpc-2.3.3.tar.gz
SHA256(miniupnpc-2.3.3.tar.gz)= 534e9366ccdbc5b3a7acaeaf781f0c607b20d32b8fa478350b6352cbdb5e805f
❯ openssl dgst -rmd160 miniupnpc-2.3.3.tar.gz
RIPEMD160(miniupnpc-2.3.3.tar.gz)= c2741a6497bccd99d1131bcda2b69a862138414c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkout the branch and try it:

 $ sudo port checksum -d
...

UG: fetch phase started at Sat Dec  6 19:09:02 CET 2025
--->  Fetching distfiles for miniupnpc
DEBUG: Executing org.macports.fetch (miniupnpc)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Sat Dec  6 19:09:02 CET 2025
--->  Verifying checksums for miniupnpc
DEBUG: Executing org.macports.checksum (miniupnpc)
--->  Checksumming miniupnpc-2.3.3.tar.gz
DEBUG: Calculated (rmd160) is 0fcb12388a508cfc0d5eac69e769ff03bf1d9365
DEBUG: Correct (rmd160) checksum for miniupnpc-2.3.3.tar.gz
DEBUG: Calculated (sha256) is d52a0afa614ad6c088cc9ddff1ae7d29c8c595ac5fdd321170a05f41e634bd1a
DEBUG: Correct (sha256) checksum for miniupnpc-2.3.3.tar.gz
DEBUG: Calculated (size) is 141281
DEBUG: Correct (size) checksum for miniupnpc-2.3.3.tar.gz

Copy link
Contributor

@edilmedeiros edilmedeiros Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sure. But when you get the source file from the website, it comes with a different hash. Am I doing something wrong?

Copy link
Contributor Author

@trustbyte trustbyte Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Behind proxy? Something that messes with your file?!

$ sha256sum miniupnpc-2.3.3.tar.gz
d52a0afa614ad6c088cc9ddff1ae7d29c8c595ac5fdd321170a05f41e634bd1a  miniupnpc-2.3.3.tar.gz

$ openssl dgst -sha256 miniupnpc-2.3.3.tar.gz
SHA2-256(miniupnpc-2.3.3.tar.gz)= d52a0afa614ad6c088cc9ddff1ae7d29c8c595ac5fdd321170a05f41e634bd1a

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edilmedeiros I believe, checksums are correct, I have the same: macos-powerpc/powerpc-ports@de734b5
Try sudo port clean --all miniupnpc and fetch again.

size 141281

variant universal {}
use_configure no
Expand Down