aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-05-26 20:42:59 +0800
committererwin <erwin@FreeBSD.org>2005-05-26 20:42:59 +0800
commit1e8409a83d31fef4d6e283652de7c5ac8fc3d67d (patch)
treea74a03c6853a1875946c7e5482b4e7a638e5b58d /mail
parent5803e5bed96f827fe208a6a3a40bc79bcfca6bd0 (diff)
downloadfreebsd-ports-gnome-1e8409a83d31fef4d6e283652de7c5ac8fc3d67d.tar.gz
freebsd-ports-gnome-1e8409a83d31fef4d6e283652de7c5ac8fc3d67d.tar.zst
freebsd-ports-gnome-1e8409a83d31fef4d6e283652de7c5ac8fc3d67d.zip
Add a patch to make pflogsumm work with postfix > 2.3
While I feel this should be added upstream, I've had no response from the author for two weeks. PR: 80894 Submitted by: Stefan `Sec` Zehl <sec@42.org>
Diffstat (limited to 'mail')
-rw-r--r--mail/pflogsumm/Makefile1
-rw-r--r--mail/pflogsumm/files/patch-pflogsumm12
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/pflogsumm/Makefile b/mail/pflogsumm/Makefile
index c57630184ba7..6ee9844fcf0b 100644
--- a/mail/pflogsumm/Makefile
+++ b/mail/pflogsumm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pflogsumm
PORTVERSION= 1.1.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://jimsun.LinxNet.com/downloads/ \
diff --git a/mail/pflogsumm/files/patch-pflogsumm b/mail/pflogsumm/files/patch-pflogsumm
new file mode 100644
index 000000000000..573ae6dedacb
--- /dev/null
+++ b/mail/pflogsumm/files/patch-pflogsumm
@@ -0,0 +1,12 @@
+--- pflogsumm.original 2005-04-09 12:54:44.000000000 +0200
++++ pflogsumm.pl 2005-04-12 09:30:00.364436187 +0200
+@@ -696,7 +696,7 @@
+ }
+ }
+ elsif((($addr, $relay, $delay, $status, $toRmdr) = $logRmdr =~
+- /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), delay=([^,]+), status=(\S+)(.*)$/o) >= 4)
++ /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), delay=([^,]+), (?:dsn=\d\.\d{1,3}\.\d{1,3}, )?status=(\S+)(.*)$/o) >= 4)
+ {
+
+ if($opts{'m'} && $addr =~ /^(.*!)*([^!]+)!([^!@]+)@([^\.]+)$/o) {
+