Summary: | >=dev-lang/php-5.6[fpm] automagic on libapparmor | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | coyote <viking-coyote> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/php/php-src/pull/2989 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
coyote
2017-11-13 20:46:24 UTC
Confirmed, but only on fpm. Unfortunately, there is no autotools flag to flip without a patch to sapi/fpm/config.m4 I opened a pull request upstream that adds the necessary configure flag. We can finally fix this in php-8.x: https://bugs.php.net/bug.php?id=75519 Something like apparmor? ( sys-libs/libapparmor ) in *DEPEND and $(use_with apparmor fpm-apparmor) in econf should do it. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba7f8228328b339b8f6090406c26fc14d4e39d9 commit cba7f8228328b339b8f6090406c26fc14d4e39d9 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2021-07-15 19:06:24 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2021-07-15 20:21:52 +0000 dev-lang/php: support USE=apparmor in php-8.x. Earlier versions of dev-lang/php[fpm] have an "automagic" dependency on libapparmor when the latter is installed. The 8.x versions of PHP, however support a --with-fpm-apparmor flag that determines whether or not php-fpm makes use of libapparmor. This commit adds USE=apparmor to the php-8.x series to control that behavior. When USE=fpm is unset, the new USE=apparmor flag is a no-op. That seems slightly less annoying for users than forcing them to make the "fpm" and "apparmor" USE flags consistent. Closes: https://bugs.gentoo.org/637402 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-lang/php/metadata.xml | 1 + dev-lang/php/{php-8.0.8-r1.ebuild => php-8.0.8-r2.ebuild} | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) |