From 0a95eea1a4edec84b3b49770c374f1399e247f4e Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Thu, 16 Nov 2006 23:39:27 +0000 Subject: [PATCH] Add patch to be able to parse postfix-2.3 logs. Suggested by crywolf at kyndimarion.net in bug #144236. Package-Manager: portage-2.1.2_rc1-r6 --- net-mail/pflogsumm/ChangeLog | 11 ++++- net-mail/pflogsumm/Manifest | 41 ++++++++++++++++--- .../files/1.1.0-postfix-2.3-logs.patch | 11 +++++ .../pflogsumm/files/digest-pflogsumm-1.1.0 | 2 + .../pflogsumm/files/digest-pflogsumm-1.1.0-r1 | 3 ++ net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild | 29 +++++++++++++ 6 files changed, 89 insertions(+), 8 deletions(-) create mode 100644 net-mail/pflogsumm/files/1.1.0-postfix-2.3-logs.patch create mode 100644 net-mail/pflogsumm/files/digest-pflogsumm-1.1.0-r1 create mode 100644 net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild diff --git a/net-mail/pflogsumm/ChangeLog b/net-mail/pflogsumm/ChangeLog index 46da9df6c801..19692cb01f1f 100644 --- a/net-mail/pflogsumm/ChangeLog +++ b/net-mail/pflogsumm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-mail/pflogsumm -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/pflogsumm/ChangeLog,v 1.5 2005/06/01 18:51:29 ticho Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/pflogsumm/ChangeLog,v 1.6 2006/11/16 23:39:27 ticho Exp $ + +*pflogsumm-1.1.0-r1 (17 Nov 2006) + + 17 Nov 2006; Andrej Kacian + +files/1.1.0-postfix-2.3-logs.patch, +pflogsumm-1.1.0-r1.ebuild: + Add patch to be able to parse postfix-2.3 logs. Suggested by crywolf at + kyndimarion.net in bug #144236. 01 Jun 2005; Andrej Kacian pflogsumm-1.1.0.ebuild: Stable on amd64. diff --git a/net-mail/pflogsumm/Manifest b/net-mail/pflogsumm/Manifest index 4dca21355713..4f5c05fe07d7 100644 --- a/net-mail/pflogsumm/Manifest +++ b/net-mail/pflogsumm/Manifest @@ -1,16 +1,45 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 1.1.0-postfix-2.3-logs.patch 535 RMD160 7fcc511bb3e89c06405c954632172de75dcab345 SHA1 54c2aa36323f225d8542a9d549a72c994a8c121a SHA256 32356614cde3e2332b3c5b1f4a592ddd7ee681b11f91ab97bfeef4a73df0b5bc +MD5 7c55a211f3bed5e1888123ed2af78e78 files/1.1.0-postfix-2.3-logs.patch 535 +RMD160 7fcc511bb3e89c06405c954632172de75dcab345 files/1.1.0-postfix-2.3-logs.patch 535 +SHA256 32356614cde3e2332b3c5b1f4a592ddd7ee681b11f91ab97bfeef4a73df0b5bc files/1.1.0-postfix-2.3-logs.patch 535 +DIST pflogsumm-1.0.11.tar.gz 40228 +DIST pflogsumm-1.1.0.tar.gz 43588 RMD160 ab4af22a3bb993ca3b8e3d1b58052f4e69ae890c SHA1 8e4efaf192573bb14b64ffdc34b3548020a4a218 SHA256 e3ad3d798b9dbfb33af859940b8f4681a8fede45d744336aa68242b5e2c40417 +EBUILD pflogsumm-1.0.11.ebuild 597 RMD160 40b4f30d22522582cf3d3356fd20aad0699be48b SHA1 88b612d2ccf661d3e19cfe1ff7cec27749cacd51 SHA256 cad9f19333bf9a224fbf4cce5c9becb5852830e8979604dd3617e49983235a7f MD5 e973d627bd4089d78e7f71d193a502cb pflogsumm-1.0.11.ebuild 597 +RMD160 40b4f30d22522582cf3d3356fd20aad0699be48b pflogsumm-1.0.11.ebuild 597 +SHA256 cad9f19333bf9a224fbf4cce5c9becb5852830e8979604dd3617e49983235a7f pflogsumm-1.0.11.ebuild 597 +EBUILD pflogsumm-1.1.0-r1.ebuild 710 RMD160 c73ecc63f784c2418261b29b747889b17ff8d3e4 SHA1 bb80ec60567babce6cee558bea373479e03e5626 SHA256 3d5610dd585a14cd97c111c910cdc4e5388442f540b9b5d9d08e89d4bba47ef2 +MD5 e194c0b1f5a3403809e5aa713bc8aa32 pflogsumm-1.1.0-r1.ebuild 710 +RMD160 c73ecc63f784c2418261b29b747889b17ff8d3e4 pflogsumm-1.1.0-r1.ebuild 710 +SHA256 3d5610dd585a14cd97c111c910cdc4e5388442f540b9b5d9d08e89d4bba47ef2 pflogsumm-1.1.0-r1.ebuild 710 +EBUILD pflogsumm-1.1.0.ebuild 602 RMD160 fe9a6c9f1b97ddc40f6f17b43932f4b0711a9cd7 SHA1 c5cc66c2d077b0eb31caab934ae575220341c772 SHA256 5ef2aaeac40b5bb71bb8a11fd6d251aba63e3e4c2c4456343e2b65d14bbc151e MD5 10b885d3ca2c21990e2851d60d7cbd0c pflogsumm-1.1.0.ebuild 602 -MD5 f8a90757c970d54b8d47c9d2c736d5af ChangeLog 918 +RMD160 fe9a6c9f1b97ddc40f6f17b43932f4b0711a9cd7 pflogsumm-1.1.0.ebuild 602 +SHA256 5ef2aaeac40b5bb71bb8a11fd6d251aba63e3e4c2c4456343e2b65d14bbc151e pflogsumm-1.1.0.ebuild 602 +MISC ChangeLog 1177 RMD160 d039d4a342049185e555a24214fe8de67447250e SHA1 b3e83b5f430ade730180390cdbf1b7ac27e933ad SHA256 03938298b2b56883c024de40909cd87c4878668722518f018f1afc27fceeebfc +MD5 c50f6672c53c320374963eca2ac8bbb1 ChangeLog 1177 +RMD160 d039d4a342049185e555a24214fe8de67447250e ChangeLog 1177 +SHA256 03938298b2b56883c024de40909cd87c4878668722518f018f1afc27fceeebfc ChangeLog 1177 +MISC metadata.xml 254 RMD160 86528bcbd49f8acd5b836ca2a21e268878473345 SHA1 5959fc9516dd689a252d4adab15e002295e95306 SHA256 edb0d38cd8c18831d88ecf51d0f36b155527bef06b1e0b0dc290d3bdcf8f0547 MD5 76d3681a949c983c4790bcd7e89d77bc metadata.xml 254 -MD5 1891f17af6cbafb0f6452e73a5d174ab files/digest-pflogsumm-1.1.0 66 +RMD160 86528bcbd49f8acd5b836ca2a21e268878473345 metadata.xml 254 +SHA256 edb0d38cd8c18831d88ecf51d0f36b155527bef06b1e0b0dc290d3bdcf8f0547 metadata.xml 254 MD5 4466d44df635623be63823678a976df7 files/digest-pflogsumm-1.0.11 67 +RMD160 f58330064d1ec8853a4795ee267d02126f510f3e files/digest-pflogsumm-1.0.11 67 +SHA256 7dbd5a4d1233b483284a8755d6782cd74b23dee05d4eede47748a5744550a7f0 files/digest-pflogsumm-1.0.11 67 +MD5 a6543f25073903d2dfa9b33242ea02a0 files/digest-pflogsumm-1.1.0 244 +RMD160 f5e85c275d4dc35edc39b2bed5aa01fe952c26b0 files/digest-pflogsumm-1.1.0 244 +SHA256 5b49de66d5ce450c7aa9f42a1c92eeaa99543ecdec40312647974dfa6d0bda84 files/digest-pflogsumm-1.1.0 244 +MD5 a6543f25073903d2dfa9b33242ea02a0 files/digest-pflogsumm-1.1.0-r1 244 +RMD160 f5e85c275d4dc35edc39b2bed5aa01fe952c26b0 files/digest-pflogsumm-1.1.0-r1 244 +SHA256 5b49de66d5ce450c7aa9f42a1c92eeaa99543ecdec40312647974dfa6d0bda84 files/digest-pflogsumm-1.1.0-r1 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFCngPOQlM6RnzZP+IRAhS9AJ96IQIZd8W1AH4igAAcKcBZRI/CLwCcDwBF -Mbff792c8y1EcvkgAZMtmts= -=jhOB +iD8DBQFFXQTGQlM6RnzZP+IRAvMZAKCHCUZj/kltmMTjq2R/j7LKuvW7egCgp3i8 +kl97b/FoIZc4Ntdrflp1bvk= +=ni0E -----END PGP SIGNATURE----- diff --git a/net-mail/pflogsumm/files/1.1.0-postfix-2.3-logs.patch b/net-mail/pflogsumm/files/1.1.0-postfix-2.3-logs.patch new file mode 100644 index 000000000000..f0cbfc9f61b6 --- /dev/null +++ b/net-mail/pflogsumm/files/1.1.0-postfix-2.3-logs.patch @@ -0,0 +1,11 @@ +--- pflogsumm.pl.orig 2006-11-17 01:33:02.000000000 +0100 ++++ pflogsumm.pl 2006-11-17 01:33:50.000000000 +0100 +@@ -696,7 +696,7 @@ + } + } + elsif((($addr, $relay, $delay, $status, $toRmdr) = $logRmdr =~ +- /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), delay=([^,]+), status=(\S+)(.*)$/o) >= 4) ++ /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), (?:conn_use=[^,]+, )?delay=([^,]+), (?:delays=[^,]+, )?(?:dsn=[^,]+,)?status=(\S+)(.*)$/o) >= 4) + { + + if($opts{'m'} && $addr =~ /^(.*!)*([^!]+)!([^!@]+)@([^\.]+)$/o) { diff --git a/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0 b/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0 index c6cfab405e4d..4d9e8a4b0b85 100644 --- a/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0 +++ b/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0 @@ -1 +1,3 @@ MD5 1f78fcaf2a36ec3520ecff286a45251a pflogsumm-1.1.0.tar.gz 43588 +RMD160 ab4af22a3bb993ca3b8e3d1b58052f4e69ae890c pflogsumm-1.1.0.tar.gz 43588 +SHA256 e3ad3d798b9dbfb33af859940b8f4681a8fede45d744336aa68242b5e2c40417 pflogsumm-1.1.0.tar.gz 43588 diff --git a/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0-r1 b/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0-r1 new file mode 100644 index 000000000000..4d9e8a4b0b85 --- /dev/null +++ b/net-mail/pflogsumm/files/digest-pflogsumm-1.1.0-r1 @@ -0,0 +1,3 @@ +MD5 1f78fcaf2a36ec3520ecff286a45251a pflogsumm-1.1.0.tar.gz 43588 +RMD160 ab4af22a3bb993ca3b8e3d1b58052f4e69ae890c pflogsumm-1.1.0.tar.gz 43588 +SHA256 e3ad3d798b9dbfb33af859940b8f4681a8fede45d744336aa68242b5e2c40417 pflogsumm-1.1.0.tar.gz 43588 diff --git a/net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild b/net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild new file mode 100644 index 000000000000..8f26cfb73b8e --- /dev/null +++ b/net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild,v 1.1 2006/11/16 23:39:27 ticho Exp $ + +inherit eutils + +DESCRIPTION="Pflogsumm is a log analyzer for Postfix logs" +HOMEPAGE="http://jimsun.linxnet.com/postfix_contrib.html" +SRC_URI="http://jimsun.linxnet.com/downloads/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" + +IUSE="" +KEYWORDS="x86 amd64" +DEPEND="dev-lang/perl + dev-perl/Date-Calc" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-postfix-2.3-logs.patch +} + +src_install() { + dodoc README ToDo ChangeLog pflogsumm-faq.txt + doman pflogsumm.1 + dobin pflogsumm.pl +} -- 2.26.2