[Bug 284690] [new port] astro/astroterm: Explore stars, planets, constellations, and more in your terminal!

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Feb 2025 05:14:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284690

--- Comment #6 from Yusuf Yaman <nxjoseph@protonmail.com> ---
Hmm, I never got fetch error in either my system or poudriere but I made the
change you provided. Thanks.

By the way, astroterm checks checksum of downloaded BSC5 file so I think that
we should use web.archive.org here instead of downloading it directly from the
source site because source site may update it and checksum verification may
fail.

FILE: work/astroterm-1.0.7/data/meson.build

# Verify bsc5 downloaded correctly
bsc5_bin_path = 'bsc5'
bsc5_bin_hash =
'e471d02eaf4eecb61c12f879a1cb6432ba9d7b68a9a8c5654a1eb42a0c8cc340'
bsc5_ascii_path = 'ybsc5'
bsc5_ascii_hash =
'69797549cc1605aad7ff94e9325e29a1661f2a253917faaa056d9bf20b809afd'

computed_hash = fs.hash(bsc5_path, 'sha256')
if computed_hash != expected_hash
  error(bsc5_path + ' SHA-256 hash mismatch! Build halted.' +
        '\nExpected:\t' + expected_hash +
        '\nGot:\t\t' + computed_hash)
else
  message(bsc5_path + ' SHA-256 hash verified successfully: ' + computed_hash)
endif

-- 
You are receiving this mail because:
You are the assignee for the bug.