Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2022 06:11:35 +0100
From:      Stefan Blachmann <sblachmann@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   pkg 1.17 and later: What's the recommended way to fix problems due to removed keywords?
Message-ID:  <CACc-My37w0tmuHOFfAsQ9G3ThvbP5Xkd5LXdGbURpgZ5Ar15qQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

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?

Thank you all for your help!
Stefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACc-My37w0tmuHOFfAsQ9G3ThvbP5Xkd5LXdGbURpgZ5Ar15qQ>