Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37904160
en ru br
ALT Linux repos
S:1.4.7-alt0_git_0_7b287f4
5.0: 1.3.4-alt0.M50.1
4.1: 1.3.4-alt0.M41.1
4.0: 1.2.7-alt1
3.0: 1.2.7-alt1

Group :: Monitoring
RPM: rkhunter

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-lang-update-grep.patch
Download


diff -uNrBb rkhunter-new/files/rkhunter rkhunter/files/rkhunter
--- rkhunter-new/files/rkhunter	2022-04-19 08:46:54.255374045 +0300
+++ rkhunter/files/rkhunter	2022-04-19 08:46:35.000000000 +0300
@@ -8246,7 +8246,7 @@
 			fi
 
 			if [ -s "${DB_PATH}/i18n/${LANGFILE}" ]; then
-				PROG_VERS=`grep ${GREP_OPT} '^Version:20[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$' "${DB_PATH}/i18n/${LANGFILE}" 2>/dev/null | head ${HEAD_OPT}1 | cut -d: -f2`
+				PROG_VERS=`grep ${GREP_OPT} -a '^Version:20[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$' "${DB_PATH}/i18n/${LANGFILE}" 2>/dev/null | head ${HEAD_OPT}1 | cut -d: -f2`
 
 				if [ -z "${PROG_VERS}" ]; then
 					PROG_VERS=0
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin