Re: git: a5496b3c364c - main - textproc/caps-log: NEW PORT Small TUI journaling tool

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 24 Jan 2026 08:23:31 UTC
On 2026-01-23 16:46, Dave Cottlehuber wrote:
> The branch main has been updated by dch:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=a5496b3c364c84646b05e24f0b3461f1d7ecf9d8
>
> commit a5496b3c364c84646b05e24f0b3461f1d7ecf9d8
> Author:     Varinka <varinka@FreeBSD.am>
> AuthorDate: 2026-01-23 15:40:17 +0000
> Commit:     Dave Cottlehuber <dch@FreeBSD.org>
> CommitDate: 2026-01-23 15:45:43 +0000
>
>      textproc/caps-log: NEW PORT Small TUI journaling tool
>      
>      Sponsored by:   SkunkWerks, GmbH
> ---
>   textproc/Makefile             |  1 +
>   textproc/caps-log/Makefile    | 24 ++++++++++++++++++++++++
>   textproc/caps-log/distinfo    |  3 +++
>   textproc/caps-log/pkg-descr   |  1 +
>   textproc/caps-log/pkg-message | 16 ++++++++++++++++
>   5 files changed, 45 insertions(+)
Hi,

While optional please define USES= compiler accordingly to requirements 
of the port
https://docs.freebsd.org/en/books/porters-handbook/book/#uses-compiler
https://cgit.freebsd.org/ports/tree/Mk/Uses/compiler.mk

It should not call git during build to determine version and version is 
as in the previous port incorrectly determined.

Captain's Log (caps-log)! A CLI journalig tool.
Version: commit-NOT_FOUND

LICENSE_FILE definition is missing in port Makefile
https://docs.freebsd.org/en/books/porters-handbook/book/#licenses-license

OpenSSL should not be statically linked, this also seems to be the case 
with libgit2

GH_TAGNAME should not use a full hash
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github

Best regards
Daniel