[Bug 260928] www/apache24: Install from ports fails because pkg-static complains of unknown keywords

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 04 Jan 2022 17:26:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260928

            Bug ID: 260928
           Summary: www/apache24: Install from ports fails because
                    pkg-static complains of unknown keywords
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache@FreeBSD.org
          Reporter: sblachmann@gmail.com
          Assignee: apache@FreeBSD.org
             Flags: maintainer-feedback?(apache@FreeBSD.org)

Using FreeBSD 13.0-RELEASE-p4, I am stuck trying to get apache24 from
ports built and installed.
There are two problems:

1. complaints about the correct setting of DISABLE_VULNERABILITIES option:
the first build stopped, telling me I'd have to set
'DISABLE_VULNERABILITIES=yes'.
The next build complained that the variable would have to be set to a
"boolean" value.
What would be a "correct" value if 'yes' isn't accepted?
Anyway, the build proceeded.

2. Using the command line "make -DBATCH -DDISABLE_VULNERABILITIES
install" the build part seems to work.
But, after the build pkg-static complained that it does not know
keywords "preunexec" and "postexec" and aborted.
Searching the web led me to the porters handbook:
https://docs.freebsd.org/en/books/porters-handbook/plist/#plist-keywords
(see section 8.6.13.2.)
Searching further, I read that a lot of keywords have been removed
with pkg 1.17. (See
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257384#c1 )
However, the porters' handbook doesn't mention the keywords as being
deprecated.

My questions:
a) what could be the reason why pkg does not install Apache24, instead
putting out these complaints? Have more keywords been removed than the
porters' handbook states as "deprecated"?
b) what would be the correct way to get installed apache24, and maybe
other ports that fail the same way?

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