[packages/exim-surbl] - rel 4; proper ns list
arekm
arekm at pld-linux.org
Wed Jun 26 12:46:18 CEST 2019
commit d8b30f792f21955a6693bcf260bca0c718823a2b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jun 26 12:46:11 2019 +0200
- rel 4; proper ns list
exim-surbl.spec | 2 +-
public_resolvers.patch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/exim-surbl.spec b/exim-surbl.spec
index c59e667..f597378 100644
--- a/exim-surbl.spec
+++ b/exim-surbl.spec
@@ -2,7 +2,7 @@
Summary: Blocking Spam in Exim with URI Block Lists
Name: exim-surbl
Version: 2.3
-Release: 2
+Release: 4
License: GPL
Group: Networking/Daemons/SMTP
Source0: https://www.teuton.org/~ejm/exim_surbl/exim_surbl-%{version}.tar.gz
diff --git a/public_resolvers.patch b/public_resolvers.patch
index de16632..5a9f2e8 100644
--- a/public_resolvers.patch
+++ b/public_resolvers.patch
@@ -16,7 +16,7 @@ diff -urN exim_surbl-2.3.org/exim_surbl.pl exim_surbl-2.3/exim_surbl.pl
my $surbldomain = ".multi.surbl.org";
- @dnsbladdr=gethostbyname($params[0].$surbldomain);
+ my $res = Net::DNS::Resolver->new(
-+ nameservers => [qw(8.8.8.8 8.8.4.4, 1.1.1.1, 1.0.0.1)],
++ nameservers => ['8.8.8.8', '8.8.4.4', '1.1.1.1', '1.0.0.1'],
+ );
+ my $reply = $res->search(@params[0].$surbldomain);
+ if ($reply) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exim-surbl.git/commitdiff/d8b30f792f21955a6693bcf260bca0c718823a2b
More information about the pld-cvs-commit
mailing list