maintainer-feedback requested: [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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 260928: www/apache24: Install from ports fails because pkg-static complains
of unknown keywords
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260928



--- Description ---
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?