View | Details | Raw Unified | Return to bug 221925 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	logcheck
4
PORTNAME=	logcheck
5
PORTVERSION=	1.3.18
5
PORTVERSION=	1.3.18
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES=	DEBIAN_POOL
8
MASTER_SITES=	DEBIAN_POOL
8
DISTNAME=	${PORTNAME}_${PORTVERSION}
9
DISTNAME=	${PORTNAME}_${PORTVERSION}
(-)files/patch-docs_logcheck-test.1 (+18 lines)
Lines 1-5 Link Here
1
--- docs/logcheck-test.1.orig	2017-01-25 21:08:04 UTC
1
--- docs/logcheck-test.1.orig	2017-01-25 21:08:04 UTC
2
+++ docs/logcheck-test.1
2
+++ docs/logcheck-test.1
3
@@ -4,7 +4,7 @@ logcheck-test \- test new logcheck rules
4
 .SH SYNOPSIS
5
 .B logcheck\-test
6
 .RB [ \-q | \-i ]
7
-.RB [ \-a | \-s | \-l
8
+.RB [ \-a | \-m | \-l
9
 .IR FILE ]
10
 .RB [ \-e ]
11
 .RB [ \-P
12
@@ -15,7 +15,7 @@ logcheck-test \- test new logcheck rules
13
 .br
14
 .B logcheck\-test
15
 .RB [ \-q | \-i ]
16
-.RB [ \-a | \-s | \-l
17
+.RB [ \-a | \-m | \-l
18
 .IR FILE ]
19
 .B \-r
20
 .I RULEFILE
3
@@ -38,8 +38,8 @@ Show usage information
21
@@ -38,8 +38,8 @@ Show usage information
4
 .B \-a, \-\-auth.log
22
 .B \-a, \-\-auth.log
5
 Parse /var/log/auth.log for matching lines
23
 Parse /var/log/auth.log for matching lines
(-)files/patch-src_logcheck-test (-2 / +14 lines)
Lines 9-15 Link Here
9
 -l|--log-file LOGFILE       : Parse LOGFILE
9
 -l|--log-file LOGFILE       : Parse LOGFILE
10
 -i|--invert-match           : Show lines that don't match the RULE or RULEFILE
10
 -i|--invert-match           : Show lines that don't match the RULE or RULEFILE
11
 -q|--quiet                  : Suppress rule summary
11
 -q|--quiet                  : Suppress rule summary
12
@@ -103,9 +103,9 @@ while [ -n "${1:-}" ]; do
12
@@ -103,11 +103,11 @@ while [ -n "${1:-}" ]; do
13
                 warn "option -a ignored"
13
                 warn "option -a ignored"
14
             fi
14
             fi
15
         ;;
15
         ;;
Lines 19-23 Link Here
19
-                FILE="/var/log/syslog"
19
-                FILE="/var/log/syslog"
20
+                FILE="/var/log/messages"
20
+                FILE="/var/log/messages"
21
             else
21
             else
22
                 warn "option -s ignored"
22
-                warn "option -s ignored"
23
+                warn "option -m ignored"
23
             fi
24
             fi
25
         ;;
26
         -q|--quiet)
27
@@ -169,7 +169,7 @@ while [ -n "${1:-}" ]; do
28
 done
29
 
30
 if [ -z "$FILE" ] ; then
31
-    err "no log file specified, please choose -a or -s or -l LOGFILE"
32
+    err "no log file specified, please choose -a or -m or -l LOGFILE"
33
     exit 2
34
 elif ! [ -r "$FILE" ] ; then
35
     err "'$FILE' permission denied"

Return to bug 221925