diff options
Diffstat (limited to 'net-mail/pflogsumm')
-rw-r--r-- | net-mail/pflogsumm/Manifest | 2 | ||||
-rw-r--r-- | net-mail/pflogsumm/files/pflogsumm-bdat.patch | 13 | ||||
-rw-r--r-- | net-mail/pflogsumm/pflogsumm-1.1.5-r2.ebuild | 24 |
3 files changed, 39 insertions, 0 deletions
diff --git a/net-mail/pflogsumm/Manifest b/net-mail/pflogsumm/Manifest index 05ee14888368..c3c02029a1f0 100644 --- a/net-mail/pflogsumm/Manifest +++ b/net-mail/pflogsumm/Manifest @@ -1,3 +1,5 @@ +AUX pflogsumm-bdat.patch 691 BLAKE2B d7d9fef9d668a4f58387ada96505c9174cd1ee0137883969c817357f8c2875c226c44d3f464f7f37b6519104f7b3cdf9a22c5e7c9670732e83663847b3892b12 SHA512 a87606d6b37cfdadb4b6035a941a21d71d7e729fbbdec20df4bbfb9d671baeedef944b2946428979dcfba614929e2556b34e49a931e16903c6c238904c79b66d DIST pflogsumm-1.1.5.tar.gz 47130 BLAKE2B ef28092aeee7bdd478c697c58b4e8cc085f47fcd1b59713a3ed1288a646881809177edd5c1711c3dc0e19299dcf2c0d3f7f7eb9623011aa3a1995c8eae4c4f47 SHA512 994d660692dfea38a1dd9866d15f15035657e85131c1f5a2cd82baa5bd4ad987a00939cb5233f316d2090014c52ae68ef20db0c893f8634969484e0e74678f4d EBUILD pflogsumm-1.1.5-r1.ebuild 506 BLAKE2B cf4902bf5a79cbf8647e048790d69d65bc323f17ea07c1847ee2b036eb8b27e21fbe01027a1af0b64a7b0e3fc976f196a0cc09aa7d544cc4352b8050005921ee SHA512 ab35cdca59a5b63a9b2db06e3b9d57453e967a82af2290bec8486b7681b28e5a276e2cf7bbb8d1ded777355189d776ff70fe2426c9e3ae531b4e1c1fbaabdaf2 +EBUILD pflogsumm-1.1.5-r2.ebuild 565 BLAKE2B d3001db0d38c04accd780d08d02009bc73d68281c24c0d7080a90bb5f9d5c10163aaa55e8a778b8d8960954ac3f3807b128970a97d9ec469203e0b844e9dd6dc SHA512 b6bac8d1fbcababf5002a6ea893b0f8e730b09822475c22bb3b85a35a76fd3860ae7483b73dc3630f58477ca924c82ade7267a24a6da24fd73cc8060c97b0c5e MISC metadata.xml 379 BLAKE2B 8e9441d2b290b2055894f11d940424ead756cc408b91b5eecd413f6ed4476de9e025fac57b71d8b92ec655787ba8c6e4ec7565f40c2ab22fc0d96051a56faefb SHA512 f39a4765eca2676d25bd98ad9f17c85e528a31ccc1b06e6327203ddfca981363a5eac870fd4f856f4d11926f689dd5b2ea45297055625e2f7089a7b9aec3f975 diff --git a/net-mail/pflogsumm/files/pflogsumm-bdat.patch b/net-mail/pflogsumm/files/pflogsumm-bdat.patch new file mode 100644 index 000000000000..fa27b260ac89 --- /dev/null +++ b/net-mail/pflogsumm/files/pflogsumm-bdat.patch @@ -0,0 +1,13 @@ +diff --git a/pflogsumm.pl b/pflogsumm.pl +index 31de5bd..b3bedf9 100755 +--- a/pflogsumm.pl ++++ b/pflogsumm.pl +@@ -1650,7 +1650,7 @@ sub proc_smtpd_reject { + # Next: get the reject "reason" + $rejReas = $rejRmdr; + unless(defined($opts{'verbMsgDetail'})) { +- if($rejTyp eq "RCPT" || $rejTyp eq "DATA" || $rejTyp eq "CONNECT") { # special treatment :-( ++ if($rejTyp eq "RCPT" || $rejTyp eq "DATA" || $rejTyp eq "BDAT" || $rejTyp eq "CONNECT") { # special treatment :-( + # If there are "<>"s immediately following the reject code, that's + # an email address or HELO string. There can be *anything* in + # those--incl. stuff that'll screw up subsequent parsing. So just diff --git a/net-mail/pflogsumm/pflogsumm-1.1.5-r2.ebuild b/net-mail/pflogsumm/pflogsumm-1.1.5-r2.ebuild new file mode 100644 index 000000000000..8f70f3e92a53 --- /dev/null +++ b/net-mail/pflogsumm/pflogsumm-1.1.5-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Pflogsumm is a log analyzer for Postfix logs" +HOMEPAGE="https://jimsun.linxnet.com/postfix_contrib.html" +SRC_URI="https://jimsun.linxnet.com/downloads/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" + +RDEPEND="dev-lang/perl + dev-perl/Date-Calc" + +DOCS=( ChangeLog pflogsumm-faq.txt README ToDo ) +PATCHES=( "${FILESDIR}/${PN}-bdat.patch" ) # Bug 699976 + +src_install() { + default + doman pflogsumm.1 + dobin pflogsumm.pl +} |