aboutsummaryrefslogtreecommitdiff
path: root/security/logcheck
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-11-23 15:38:54 +0000
committerSteve Wills <swills@FreeBSD.org>2018-11-23 15:38:54 +0000
commit1c6bd6b2f7b6995735bd4c39da3b9e7a325844df (patch)
tree74bbd72bf3894354fca93bbd00383f22b1b837ed /security/logcheck
parentfb2b28c4d88335b452d87de2176d90246cf501be (diff)
downloadports-1c6bd6b2f7b6995735bd4c39da3b9e7a325844df.tar.gz
ports-1c6bd6b2f7b6995735bd4c39da3b9e7a325844df.zip
security/logcheck: Add patch to update rule for postfix
PR: 233144 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
Notes
Notes: svn path=/head/; revision=485679
Diffstat (limited to 'security/logcheck')
-rw-r--r--security/logcheck/Makefile2
-rw-r--r--security/logcheck/files/patch-rulefiles_linux_ignore.d.server_postfix11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index 12adcf355ef5..4a349e2ac031 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -3,7 +3,7 @@
PORTNAME= logcheck
PORTVERSION= 1.3.19
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/security/logcheck/files/patch-rulefiles_linux_ignore.d.server_postfix b/security/logcheck/files/patch-rulefiles_linux_ignore.d.server_postfix
new file mode 100644
index 000000000000..05364c2d4aa3
--- /dev/null
+++ b/security/logcheck/files/patch-rulefiles_linux_ignore.d.server_postfix
@@ -0,0 +1,11 @@
+--- rulefiles/linux/ignore.d.server/postfix.orig 2018-05-30 21:59:13 UTC
++++ rulefiles/linux/ignore.d.server/postfix
+@@ -60,7 +60,7 @@
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtp\[[[:digit:]]+\]: warning: [^[:space:]]+ offered null AUTH mechanism list$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtp\[[[:digit:]]+\]: warning: mailer loop: best MX for [^[:space:]]+ is local$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtp\[[[:digit:]]+\]: warning: no MX host for [^[:space:]]+ has a valid (A|address) record$
+-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: ((Anonymous|Trusted|Verified) )?TLS connection established (to|from) [^[:space:]]+: (TLSv1|SSLv[23]) with cipher [^[:space:]]+ \([/[:digit:]]+ bits\)$
++^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: ((Anonymous|Trusted|Verified) )?TLS connection established (to|from) [^[:space:]]+: (TLSv1(\.[[:digit:]])?|SSLv[23]) with cipher [^[:space:]]+ \([/[:digit:]]+ bits\)$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: (Peer|Server) certificate could not be verified$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: Unverified: subject_CN=.*$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: Verified: subject_CN=.*, issuer=.*$