Created attachment 257360 [details] astro/astroterm.patch astroterm is a terminal-based star map written in C. It displays the real-time positions of stars, planets, constellations, and more, all within your terminal and no telescope required! Configure sky views by date, time, and location with precise ASCII-rendered visuals. WWW: https://github.com/da-luce/astroterm Thanks in advance!
Poudriere tests do pass on amd64 14.2-R/latest.
Created attachment 257361 [details] astro/astroterm.patch I noticed that astroterm actually does not depend on ftp/curl. Pet port{clippy,fmt,lint}.
Created attachment 257362 [details] astro/astroterm.patch Just added "New port:" to git commit message, no actual change.
Created attachment 257463 [details] Revised patch There is fetch error here, I upload a revised patch.
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
Created attachment 257465 [details] astro/astroterm.patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f84754e16bd3d8b03acdcae27c9f89f5e814adcf commit f84754e16bd3d8b03acdcae27c9f89f5e814adcf Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2025-02-13 07:26:23 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2025-02-13 07:26:23 +0000 astro/astroterm: New port astroterm is a terminal-based star map written in C. It displays the real-time positions of stars, planets, constellations, and more, all within your terminal and no telescope required! Configure sky views by date, time, and location with precise ASCII-rendered visuals. PR: 284690 Reported by: nxjoseph@protonmail.com astro/Makefile | 1 + astro/astroterm/Makefile (new) | 30 +++++++++++++++++++++++ astro/astroterm/distinfo (new) | 5 ++++ astro/astroterm/files/patch-src_stopwatch.c (new) | 20 +++++++++++++++ astro/astroterm/pkg-descr (new) | 4 +++ 5 files changed, 60 insertions(+)
Thanks!