Re: Package a second port (gitlab-ee instead of gitlab-ce)

From: Matthias Fechner <mfechner_at_freebsd.org>
Date: Fri, 12 Apr 2024 07:56:16 UTC
Am 12.04.2024 um 09:17 schrieb Gleb Popov:
> - GL_PROJECT= gitlab-foos
> + GL_PROJECT= gitlab
>
> part makes it use a completely different distfile.
>
> The problem is best solved by using FLAVORS, I guess. See
> https://docs.freebsd.org/en/books/porters-handbook/book/#flavors

thanks a lot for this.
I have here a first draft.
The idea is to rename www/gitlab-ce to www/gitlab and apply this:
https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c6e569cdcd2862fdffa05a73c9ebd8a5a78fa7a7

(if I rebase, the branch is here: 
https://gitlab.fechner.net/mfechner/Gitlab/-/commits/gitlab-ee)

But if I execute poudriere with e.g.:
poudriere bulk -t -p gitlab -j 132amd64 www/gitlab

It is only building a package for the CE version and not for the EE version.
Does the FreeBSD cluster would generate both package or must I modify 
there something else?


Thanks a lot.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook