summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/spamassassin/Makefile2
-rw-r--r--mail/spamassassin/Makefile2
-rw-r--r--mail/spamassassin/files/patch-DnsResolver.pm12
3 files changed, 14 insertions, 2 deletions
diff --git a/japanese/spamassassin/Makefile b/japanese/spamassassin/Makefile
index ac413ec1a61b..dae8e33d7609 100644
--- a/japanese/spamassassin/Makefile
+++ b/japanese/spamassassin/Makefile
@@ -1,7 +1,7 @@
# Created by: TAOKA Fumiyoshi
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= japanese mail perl5
PKGNAMEPREFIX= ja-
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 5b8ee16200ea..d16ca91ecae9 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spamassassin
PORTVERSION= 3.4.1
-PORTREVISION?= 1 # also bump japanese/spamassassin
+PORTREVISION?= 2 # also bump japanese/spamassassin
CATEGORIES?= mail perl5
MASTER_SITES= APACHE/spamassassin/source CPAN/Mail
DISTNAME= Mail-SpamAssassin-${PORTVERSION}
diff --git a/mail/spamassassin/files/patch-DnsResolver.pm b/mail/spamassassin/files/patch-DnsResolver.pm
new file mode 100644
index 000000000000..f72975de63b7
--- /dev/null
+++ b/mail/spamassassin/files/patch-DnsResolver.pm
@@ -0,0 +1,12 @@
+--- lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:23:18 1691991
++++ lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:24:48 1691992
+@@ -592,6 +592,9 @@
+ };
+
+ if ($packet) {
++ # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223
++ $packet->header->rd(1);
++
+ # my $udp_payload_size = $self->{res}->udppacketsize;
+ my $udp_payload_size = $self->{conf}->{dns_options}->{edns};
+ if ($udp_payload_size && $udp_payload_size > 512) {