kumquat-buildroot/package/apparmor
Adam Duskett 515751036c package/apparmor: fix compatibility with busybox grep
The following regex string in rc.apparmor.functions
"^/.*[ \t]+flags[ \t]*=[ \t]*\([ \t]*complain[ \t]*\)[ \t]+{" is broken due to
the unescaped { at the end of the regex pattern.
GNU grep ignors the error. However, the Busybox grep does not and throws the
error "unescaped character {"

Escape the "{" character to fix this issue.

Note: Upstream has rewritten large sections of the rc.apparmor.functions file
and the function this patch fixes will no longer be necessary after the next
version is released. However, it is not possible to easily backport the
upstream patches as the rewrite comes with new features that would not be
possible with a simple patch such as this one.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-05-08 09:58:28 +02:00
..
0001-parser-binutils-fix-compilation-with-libintl.patch package/apparmor: fix compilation with libintl 2020-04-27 22:52:01 +02:00
0002-replace-deprecated-egrep-with-grep-e.patch package/apparmor: replace deprecated egrep with grep -E 2020-05-08 09:58:22 +02:00
0003-fix-regex-in-rc.apparmor.functions-to-work-with-busy.patch package/apparmor: fix compatibility with busybox grep 2020-05-08 09:58:28 +02:00
apparmor.hash package/{apparmor,libapparmor}: bump to version 2.13.4 2020-04-25 15:30:58 +02:00
apparmor.mk package/apparmor: skip docs building 2020-05-07 22:47:16 +02:00
Config.in package/apparmor: add option to install generic profiles 2020-04-20 09:55:48 +02:00