FreeBSD Bugzilla – Attachment 164132 Details for
Bug 205253
postfix-policyd-weight still/again broken with latest version of dns/p5-Net-DNS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix postfix-policyd-weight with latest version of p5-Net-DNS
policyd-weight.diff (text/plain), 1.34 KB, created by
Herbert J. Skuhra
on 2015-12-11 20:57:40 UTC
(
hide
)
Description:
Fix postfix-policyd-weight with latest version of p5-Net-DNS
Filename:
MIME Type:
Creator:
Herbert J. Skuhra
Created:
2015-12-11 20:57:40 UTC
Size:
1.34 KB
patch
obsolete
>Index: mail/postfix-policyd-weight/files/patch-policyd-weight >=================================================================== >--- mail/postfix-policyd-weight/files/patch-policyd-weight (revision 403553) >+++ mail/postfix-policyd-weight/files/patch-policyd-weight (working copy) >@@ -1,5 +1,5 @@ >---- policyd-weight.orig 2015-09-27 11:41:56 UTC >-+++ policyd-weight >+--- policyd-weight.orig 2015-12-11 21:05:56.398519000 +0100 >++++ policyd-weight 2015-12-11 21:12:51.190810000 +0100 > @@ -320,7 +320,7 @@ $SIG{__DIE__} = sub { > > my $DEBUG = 0; # 1 or 0 - don't comment >@@ -134,16 +134,17 @@ > { > mylog(warning=>"cache: couldn't change GID to user $GROUP: $!"); > } >-@@ -3588,7 +3586,7 @@ sub rbl_lookup >+@@ -3588,7 +3586,8 @@ sub rbl_lookup > my ($id, $bf, $qc, $anc, $nsc, $arc, $qb) = > unpack('n n n n n n a*', $buf); > > - my ($dn, $offset) = dn_expand(\$qb, 0); >-+ my ($dn, $offset) = decode Net::DNS::DomainName(\$qb, 0); >++ my ($decoded, $offset) = decode Net::DNS::DomainName(\$qb); >++ my $dn = $decoded->name; > > if(($id && $anc) && ($id == $oid) && ($query eq $dn)) > { >-@@ -3842,7 +3840,7 @@ sub squared_helo >+@@ -3842,7 +3841,7 @@ sub squared_helo > my $helo = shift; > my $ip = shift; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205253
: 164132