[Bug 279003] [NEW PORT] sysutils/kleene-daemon Kleene backend component for managing containers on FreeBSD.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Jul 2024 08:45:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279003

Lasse Andersen <lasse@philomath.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250675|0                           |1
        is obsolete|                            |

--- Comment #1 from Lasse Andersen <lasse@philomath.dk> ---
Created attachment 251860
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251860&action=edit
Update

After some help/review on IRC, the port has been updated with the following:
- Removed '@' prefix on commands in do-install
- Removed hardcoding of the path to the dependency 'mix' binary
- Removed unnecessary usage of ${FIND} in do-install

Atm. the package file list is dynamically generated. The reason for this is
because the erlang runtime contains internal packages in versioned folders such
as 'lib/asn1-<version>', 'lib/crypto-<another version>' etc.
These folders basically change everytime the erlang-port is updated and
this would in turn break this port.

An alternative to a dynamically generated package list would be
to use the PLIST_SUB sub mechanism and then manually define
CRYPTO_VERSION variable etc. in the Makefile that can be changed manually. The
drawback of this solution, however, is that a new port-update (updating
CRYPTO_VERSION etc.) needs to be made every time this happens, which in my
experience has been quite often. As I understand it, this would require a new
review here every time, which would be time consuming for some very busy
reviewers.

I am unsure which would make sense to the reviewers so let me know if the
present solution should be changed.

Cheers!

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