Summary: | www-servers/apache-2.4.32 - /usr/sbin/apache2ctl: line 20: [: =~: binary operator expected | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Josh G <joshin> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Josh G
2018-03-17 05:43:10 UTC
(In reply to Josh G from comment #0) > There's an error in the apache-2.4.32 /usr/sbin/apache2ctl shell script. The > if statement on line 20 is broken > > Current: if [ "${RC_VERBS}" =~ "${1}" ] ; then > > Fixed version: if [[ "${RC_VERBS}" =~ "${1}" ]] ; then > No this is as broken as the current implementation for POSIX shells. I am working on a better fix... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d843c623b4d478dc4c78cd9c1a47bd67a4b1bcfd commit d843c623b4d478dc4c78cd9c1a47bd67a4b1bcfd Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-03-23 16:32:04 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-03-23 16:32:34 +0000 www-servers/apache: Bump to version 2.4.33. Removed old. Changes/Enhancements: - Start apache daemon after entropy daemon if available (#470018) - Fixed "bashism" in apache2ctl file (#650678) Closes: https://bugs.gentoo.org/470018 Closes: https://bugs.gentoo.org/650678 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-servers/apache/Manifest | 4 ++-- www-servers/apache/{apache-2.4.32.ebuild => apache-2.4.33.ebuild} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) Thanks for fixing it Lars! I appreciate you. |