File seccheck-2.0_fix-ls-output-local.diff of Package seccheck.968

diff -ur seccheck-2.0.bak/security-weekly.sh seccheck-2.0/security-weekly.sh
--- seccheck-2.0.bak/security-weekly.sh	2005-08-08 11:15:26.000000000 +0200
+++ seccheck-2.0/security-weekly.sh	2005-08-08 11:21:46.000000000 +0200
@@ -131,8 +131,8 @@
 # device check
 # warning: bug #51004 ls output depends on root's locale and may be less
 # then 10 tokens!
-( nice -n 1 find $MNT -type c -or -type b -mount | xargs ls -cdl -- | \
-	awk '{print $1 " \t" $3 " \t" $4 " \t" $5 " \t" $6 " \t" $10}' | sort +5 \
+( nice -n 1 find $MNT -type c -or -type b -mount | xargs ls -cdl --time-style=long-iso -- | \
+	awk '{print $1 " \t" $3 " \t" $4 " \t" $5 " \t" $6 " \t" $9}' | sort +5 \
 	> "$SEC_DATA/devices.new" ) 2> /dev/null
 diff -uw "$SEC_DATA/devices" "$SEC_DATA/devices.new" | \
 	egrep -v '^\+\+\+ |^--- |^$|^@@' | sed 's/^[+-]/& /' > "$OUT"
openSUSE Build Service is sponsored by