After update to grep-3.8 rkhunter produces a couple of grep warnings in output: grep: warning: stray \ before - grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before + grep: warning: stray \ before ! grep: warning: stray \ before ! grep: warning: stray \ before ! System checks summary ===================== File properties checks... Files checked: 145 Suspect files: 0 Seems to be reported upstream - and a patch which seems to fix it is in this thread (also attached here) https://sourceforge.net/p/rkhunter/bugs/176/ Reproducible: Always
Created attachment 852348 [details, diff] rkhunter-GNUgrep3.8 patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e55a7602c27f57bc63effb38b4b7716e1ad738 commit b3e55a7602c27f57bc63effb38b4b7716e1ad738 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-14 00:42:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-14 01:59:49 +0000 app-forensics/rkhunter: fix warnings w/ grep-3.8 Closes: https://bugs.gentoo.org/895176 Signed-off-by: Sam James <sam@gentoo.org> .../rkhunter/files/rkhunter-1.4.6-grep-3.8.patch | 735 +++++++++++++++++++++ app-forensics/rkhunter/rkhunter-1.4.6-r2.ebuild | 64 ++ 2 files changed, 799 insertions(+)