aboutsummaryrefslogtreecommitdiffstats
path: root/community/syslog-summary
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-04-02 15:37:04 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-04-05 00:34:26 +0200
commit38e8b3d3bb24ef725a1773dc849c974075d1a8e1 (patch)
tree72d713684720a9f1374cdcb72ed7f74184db8f44 /community/syslog-summary
parente7679d170f5af1d7e1b345018b73d14215198284 (diff)
downloadaports-38e8b3d3bb24ef725a1773dc849c974075d1a8e1.tar.bz2
aports-38e8b3d3bb24ef725a1773dc849c974075d1a8e1.tar.xz
community/syslog-summary: fix numeric date regex for php error logs
Diffstat (limited to 'community/syslog-summary')
-rw-r--r--community/syslog-summary/03-socklog-compat.patch2
-rw-r--r--community/syslog-summary/APKBUILD16
2 files changed, 3 insertions, 15 deletions
diff --git a/community/syslog-summary/03-socklog-compat.patch b/community/syslog-summary/03-socklog-compat.patch
index 288fb8ce9d..03a1993e28 100644
--- a/community/syslog-summary/03-socklog-compat.patch
+++ b/community/syslog-summary/03-socklog-compat.patch
@@ -7,7 +7,7 @@
+ # 1st => runit / svlogd || svlogd -t || -tt || -ttt
+ re.compile(r"^[\@\.\-\:\_ A-Za-z0-9]{0,26}?(\w+[.]\w+): \w+[ :0-9]{12} "),
+ # 2nd & 3rd => digit dates / mysql error logs
-+ re.compile(r"^([- 0-9]{10} {1,2}[:0-9]{7,8})([ 0-9]{16})? "),
++ re.compile(r"^([-/ 0-9]{10} {1,2}[:0-9]{7,8})([ 0-9]{16})? "),
+ re.compile(r"^(InnoDB:|Tcp|Time.*Argument|Version:|mysqld,) "),
re.compile(r"^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [ 0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] "),
re.compile(r"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [ 0-9][0-9][0-9][0-9]:[0-9][0-9] "),
diff --git a/community/syslog-summary/APKBUILD b/community/syslog-summary/APKBUILD
index 5564155d08..46057cfae6 100644
--- a/community/syslog-summary/APKBUILD
+++ b/community/syslog-summary/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=syslog-summary
pkgver=1.14
-pkgrel=0
+pkgrel=1
pkgdesc="Summarize the contents of a syslog log file / useful with logcheck"
url="https://github.com/dpaleino/syslog-summary"
arch="noarch"
@@ -23,21 +23,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="fd812eaf4897b1b4a6e55ad920137cc0 syslog-summary-1.14.tar.gz
-a4826943cfbeabe1313e57d9010032f6 00-fix_Makefile.patch
-0b873e4f86bea34c0f2318e3efa55322 01-fix_Shebang.patch
-04e2e6e3aab70ad858d59a2a9c058223 02-new-python-magic.patch
-69ed13b784d4fc8f09e65c70587e673c 03-socklog-compat.patch
-4b458c0f73d3bfca01c1f837d53148c1 04-rm-whitespace.patch"
-sha256sums="ff9b43c26a494b84b780146e6f8bc0fd61c74158725a1666e5d84bf93d90e04d syslog-summary-1.14.tar.gz
-82faaa6ee87e8a33a14b85287520724130e9d923352370a4b16f70d788982e73 00-fix_Makefile.patch
-90d9e8699fba9db3efacd3c4a808b7a2e95667df1c50d6913b9b233c9fb929f8 01-fix_Shebang.patch
-44f5bf029b79b877d1df616cd9fcbaa028f3aebd03b6d9dc267e770026b00e44 02-new-python-magic.patch
-4c877e2b9e77581ca68e328c7ae574a098eacb5fbd1fb4fa1c276682cfd69100 03-socklog-compat.patch
-a542f169d04de1ea2c1ce5ce4715c3bf55a62c385815bfd493fd21d8fb9b7970 04-rm-whitespace.patch"
sha512sums="dab82f9d5e0e452d880e7e503c1de148d902c461abaf6fc1a0768516bd010c6a4e5cdbb61fd1d6e0283d55c8de9a11d02bd5828fab31cae98b59ca336a7f1a73 syslog-summary-1.14.tar.gz
752914623deb2a9c4aec9de3bf3a8c61e2086a40d47445ea775eba44e3e23b12fe9145afb3bdbef1d7b28604c023985a8d9c34c1914e7dfe178de65ffbfb2c49 00-fix_Makefile.patch
6d4705bae4e095a7a877ae71525df3f8bda8daa27cdd0e534fba21cfc221c130b1567e32a64f0f4327273023f9d5e890d3365b292fa3a54e508abd8fea6332d2 01-fix_Shebang.patch
fa6be5429ca0f72cc8e1686933f956cedf89e6476cc9a25dda066be50aa05a79be8a81ff164aa3becac9f59e9948ef203c3f6d5c3889f921471e674dfc3d5098 02-new-python-magic.patch
-480d817ed9acb79e71ad173aaa691d9894cdbd3fb5bf8bd04640d3e88e1419e8338ab8e2c4be7f587afec5ee5e5651e1f472b031401787453ea9ca8a73107652 03-socklog-compat.patch
+f7cd09e31c24f00d867e844fc53d4f607f8b8c3642cd60c40c28dcbfbe76c787ef657f38be1372eafa22027876ae8adef9b8f471f6b557c5b1ea95554efeac50 03-socklog-compat.patch
84394c7cb364ac1df0456bcacdb68db66827000329e874aab0f1867a6d860499f04eee7701cfcdce79ec13f341a69196d95d3505f811c8f35fbe974e364030ed 04-rm-whitespace.patch"