[Bug 261201] [PATCH] security/clamav: compilation if _CLAMAVUSER is set in make.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jan 2022 15:06:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261201

            Bug ID: 261201
           Summary: [PATCH] security/clamav: compilation if _CLAMAVUSER is
                    set in make.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yasu@freebsd.org
          Reporter: ml@netfence.it
          Assignee: yasu@freebsd.org
             Flags: maintainer-feedback?(yasu@freebsd.org)

Created attachment 231006
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231006&action=edit
GIT diff

The port supports changing clamav's user, by settings _CLAMAVUSER in make.conf.
However, setting this to an unknown user will make Poudriere fail in the stage
phase, with:

> ===> Creating users
> ** Cannot find any information about user `....' in /usr/ports/UIDs.
> *** Error code 1

This wasn't happening with previous quarterly.
I compared the Makefile with the one from security/clamav-lts and saw it
handles this differently.

Applying the same solution I can compile the new version too.

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