diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-11-16 23:39:27 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-11-16 23:39:27 +0000 |
commit | be4ce5b92f4c2b2764e26e89fc42d339aaac6b3f (patch) | |
tree | 783aa8d2fd2cbe9b75f34f79f0faa4a139d3c597 /net-mail | |
parent | Version bump. (diff) | |
download | gentoo-2-be4ce5b92f4c2b2764e26e89fc42d339aaac6b3f.tar.gz gentoo-2-be4ce5b92f4c2b2764e26e89fc42d339aaac6b3f.tar.bz2 gentoo-2-be4ce5b92f4c2b2764e26e89fc42d339aaac6b3f.zip |
Add patch to be able to parse postfix-2.3 logs. Suggested by crywolf at kyndimarion.net in bug #144236.
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/pflogsumm/ChangeLog | 11 | ||||
-rw-r--r-- | net-mail/pflogsumm/files/1.1.0-postfix-2.3-logs.patch | 11 | ||||
-rw-r--r-- | net-mail/pflogsumm/files/digest-pflogsumm-1.1.0 | 2 | ||||
-rw-r--r-- | net-mail/pflogsumm/files/digest-pflogsumm-1.1.0-r1 | 3 | ||||
-rw-r--r-- | net-mail/pflogsumm/pflogsumm-1.1.0-r1.ebuild | 29 |
5 files changed, 54 insertions, 2 deletions
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 <ticho@gentoo.org> + +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 <ticho@gentoo.org> pflogsumm-1.1.0.ebuild: Stable on amd64. 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 +} |