pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/fpdns fpdns: update to 0.10.0-20190131.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7353845a91f
branches:  trunk
changeset: 426536:d7353845a91f
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Thu Apr 02 09:46:52 2020 +0000

description:
fpdns: update to 0.10.0-20190131.

pkgsrc changes:

- Remove redundant PERL5_CONFIGURE directive
- Remove empty PLIST and now unneeded patches

ChangeLog:

- fpdns-rails implementation upgraded to 3.2.11 to fix security vulnerability
- Do not set header counters unless changed
- Knot DNS capture from response_collector
- Hack to work around an old problem in Net::DNS.  Up to Net::DNS 0.68
  the notify opcode was coded as NS_NOTIFY_OP.  That was changed in version
  0.69 through 0.71 with no backwards compatibility.  This hack
  tests for the new NOTIFY and falls back to NS_NOTIFY_OP if necessary.
- Don't pass an undef value to Net::DNS::Resolver::srcaddr()
- Existing unbound rules match up to 1.6.0

  Versions between 1.6.1 and 1.6.8 are misidentified as Raiden DNSD.
  Versions later than that are not recognized.

  This was verified on versions 1.5.10 and 1.6.0; versions prior to 1.5.10
  wasn't as easy to build due to openssl api changes.
- Identify Unbound 1.7.x to 1.9.x

  All Unbound releases between 1.7.0 and 1.9.6 were tested and verified to
  match these new rules. Prior to this change, none of them matched a
  signature. The old rules matched up to 1.6.0, but for 1.6.1 to 1.6.8,
  fpdns misidentifies Unbound as "Raiden DNSD" (and still does, even after
  this change).
- Update signatures for Unbound

diffstat:

 net/fpdns/Makefile                                 |   8 +-
 net/fpdns/PLIST                                    |   1 -
 net/fpdns/distinfo                                 |  11 +-
 net/fpdns/patches/patch-lib_Net_DNS_Fingerprint.pm |  80 ----------------------
 4 files changed, 8 insertions(+), 92 deletions(-)

diffs (128 lines):

diff -r 893d943df96a -r d7353845a91f net/fpdns/Makefile
--- a/net/fpdns/Makefile        Thu Apr 02 09:40:03 2020 +0000
+++ b/net/fpdns/Makefile        Thu Apr 02 09:46:52 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2019/08/11 13:22:08 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2020/04/02 09:46:52 fcambus Exp $
 
-VERSION=       20130404
-DISTNAME=      20130404
-PKGREVISION=   6
+VERSION=       20190131
+DISTNAME=      20190131
 PKGNAME=       fpdns-0.10.0pre${VERSION}
 CATEGORIES=    net
 MASTER_SITES=  https://github.com/kirei/fpdns/archive/
@@ -19,7 +18,6 @@
 USE_TOOLS+=    perl
 USE_LANGUAGES= # none
 
-PERL5_CONFIGURE=       yes
 PERL5_PACKLIST=                auto/Net/DNS/Fingerprint/.packlist
 
 .include "../../lang/perl5/module.mk"
diff -r 893d943df96a -r d7353845a91f net/fpdns/PLIST
--- a/net/fpdns/PLIST   Thu Apr 02 09:40:03 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2013/07/31 10:23:17 he Exp $
diff -r 893d943df96a -r d7353845a91f net/fpdns/distinfo
--- a/net/fpdns/distinfo        Thu Apr 02 09:40:03 2020 +0000
+++ b/net/fpdns/distinfo        Thu Apr 02 09:46:52 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:00 agc Exp $
+$NetBSD: distinfo,v 1.5 2020/04/02 09:46:52 fcambus Exp $
 
-SHA1 (20130404.tar.gz) = 3c3b33df1861a1a9901601d6c2252b2427ba8763
-RMD160 (20130404.tar.gz) = a2e8113c53533c813d81b01223f8b2e5b2407d12
-SHA512 (20130404.tar.gz) = 1a4d9c1cb666efa3f48dcca2b5cd04793e92727359652095572b17479f5343479c57d2937f1fff8070c071a2698eda5c4dff981caf86436f184f0b076b0fa0b3
-Size (20130404.tar.gz) = 931723 bytes
-SHA1 (patch-lib_Net_DNS_Fingerprint.pm) = aa48ba2e8e0752762448d4fc71bd378d308ac364
+SHA1 (20190131.tar.gz) = 6ba94733b4f1f8ace76acc691d255ad46d13985b
+RMD160 (20190131.tar.gz) = ac2213ab7443d676cbcd8444811ee98cb654944c
+SHA512 (20190131.tar.gz) = cde6e3ae9661b82456b65e1b309c1190b63b83406fcc75971b2903d7b38a16cf46b2e2c3d9b3f577c20a8f7ffc077243414fc5e53bed962c85512e2ea6aec15b
+Size (20190131.tar.gz) = 933415 bytes
diff -r 893d943df96a -r d7353845a91f net/fpdns/patches/patch-lib_Net_DNS_Fingerprint.pm
--- a/net/fpdns/patches/patch-lib_Net_DNS_Fingerprint.pm        Thu Apr 02 09:40:03 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-$NetBSD: patch-lib_Net_DNS_Fingerprint.pm,v 1.1 2013/07/31 10:23:17 he Exp $
-
-Change NS_NOTIFY_OP to just NOTIFY, to allow this to work
-with p5-Net-DNS 0.69.
-
---- lib/Net/DNS/Fingerprint.pm.orig    2012-10-19 08:54:24.000000000 +0000
-+++ lib/Net/DNS/Fingerprint.pm
-@@ -52,7 +52,7 @@ my $ignore_recurse = 0;
- my @qy = (
-     "0,QUERY,0,0,0,0,0,0,NOERROR,0,0,0,0",          #qy0
-     "0,QUERY,0,0,0,1,0,1,NOERROR,0,0,0,0",          #qy1
--    "0,NS_NOTIFY_OP,0,1,1,0,1,1,NOTIMP,0,0,0,0",    #qy2
-+    "0,NOTIFY,0,1,1,0,1,1,NOTIMP,0,0,0,0",    #qy2
-     "0,IQUERY,0,0,0,1,1,1,NOERROR,0,0,0,0",         #qy3
-     "0,QUERY,0,0,1,0,0,0,NOERROR,0,0,0,0",          #qy4
-     "0,QUERY,0,0,1,0,0,0,NOERROR,0,0,0,0",          #qy5
-@@ -85,15 +85,15 @@ my @iq = (
-     "1,QUERY,0,0,0,0,0,0,NXDOMAIN,1,0,0,0",           #iq1
-     "1,QUERY,0,0,0,0,0,0,NOERROR,1,0,0,0",            #iq2
-     "1,QUERY,0,0,0,1,0,0,NOERROR,.+,.+,.+,.+",        #iq3
--    "1,NS_NOTIFY_OP,0,0,1,1,0,1,FORMERR,1,0,0,0",     #iq4
--    "1,NS_NOTIFY_OP,0,0,1,1,0,0,FORMERR,1,0,0,0",     #iq5
--    "1,NS_NOTIFY_OP,0,0,1,1,0,0,REFUSED,1,0,0,0",     #iq6
--    "0,NS_NOTIFY_OP,0,1,1,0,1,1,NOTIMP,1,0,0,0",      #iq7
-+    "1,NOTIFY,0,0,1,1,0,1,FORMERR,1,0,0,0",     #iq4
-+    "1,NOTIFY,0,0,1,1,0,0,FORMERR,1,0,0,0",     #iq5
-+    "1,NOTIFY,0,0,1,1,0,0,REFUSED,1,0,0,0",     #iq6
-+    "0,NOTIFY,0,1,1,0,1,1,NOTIMP,1,0,0,0",      #iq7
-     "1,IQUERY,0,0,0,1,0,0,NOTIMP,1,0,0,0",            #iq8
-     "0,IQUERY,0,0,0,1,1,1,NOERROR,1,0,0,0",           #iq9
-     "1,QUERY,0,0,1,0,0,0,NOTIMP,1,0,0,0",             #iq10
-     "0,QUERY,0,0,1,0,0,0,NOERROR,1,0,0,0",            #iq11
--    "1,NS_NOTIFY_OP,0,0,1,1,0,0,SERVFAIL,1,0,0,0",    #iq12
-+    "1,NOTIFY,0,0,1,1,0,0,SERVFAIL,1,0,0,0",    #iq12
-     "1,IQUERY,0,0,1,1,0,0,SERVFAIL,1,0,0,0",          #iq13
-     "1,IQUERY,0,0,1,1,0,0,NOTIMP,0,0,0,0",            #iq14
-     "1,QUERY,0,0,0,1,0,0,NOTIMP,.+,.+,.+,.+",         #iq15
-@@ -406,7 +406,7 @@ my @ruleset = (
- 
- my @qy_old = (
-     "0,IQUERY,0,0,1,0,0,0,NOERROR,0,0,0,0",
--    "0,NS_NOTIFY_OP,0,0,0,0,0,0,NOERROR,0,0,0,0",
-+    "0,NOTIFY,0,0,0,0,0,0,NOERROR,0,0,0,0",
-     "0,QUERY,0,0,0,0,0,0,NOERROR,0,0,0,0",
-     "0,IQUERY,0,0,0,0,1,1,NOERROR,0,0,0,0",
-     "0,QUERY,0,0,0,0,0,0,NOTIMP,0,0,0,0",
-@@ -430,20 +430,20 @@ my @iq_old = (
-     "1,QUERY,1,0,1,0,0,0,NOTIMP,1,0,0,0",
-     "1,QUERY,0,0,0,0,0,0,NOTIMP,0,0,0,0",
-     "1,IQUERY,0,0,1,1,0,0,FORMERR,1,0,0,0",    # iq_old10
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,FORMERR,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,NOTIMP,0,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,NOTIMP,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,NXDOMAIN,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,REFUSED,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,0,0,0,SERVFAIL,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,1,0,0,FORMERR,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,1,0,0,NOTIMP,0,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,1,0,0,NOTIMP,1,0,0,0",
--    "1,NS_NOTIFY_OP,0,0,0,1,0,0,REFUSED,1,0,0,0",    # iq_old20
--    "1,NS_NOTIFY_OP,0,0,0,1,0,0,SERVFAIL,1,0,0,0",
--    "1,NS_NOTIFY_OP,1,0,0,0,0,0,NOTIMP,1,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,FORMERR,1,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,NOTIMP,0,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,NOTIMP,1,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,NXDOMAIN,1,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,REFUSED,1,0,0,0",
-+    "1,NOTIFY,0,0,0,0,0,0,SERVFAIL,1,0,0,0",
-+    "1,NOTIFY,0,0,0,1,0,0,FORMERR,1,0,0,0",
-+    "1,NOTIFY,0,0,0,1,0,0,NOTIMP,0,0,0,0",
-+    "1,NOTIFY,0,0,0,1,0,0,NOTIMP,1,0,0,0",
-+    "1,NOTIFY,0,0,0,1,0,0,REFUSED,1,0,0,0",    # iq_old20
-+    "1,NOTIFY,0,0,0,1,0,0,SERVFAIL,1,0,0,0",
-+    "1,NOTIFY,1,0,0,0,0,0,NOTIMP,1,0,0,0",
-     "1,QUERY,1,0,0,0,0,0,NOTIMP,1,0,0,0",
--    "1,NS_NOTIFY_OP,1,0,0,0,0,0,SERVFAIL,1,0,0,0",
-+    "1,NOTIFY,1,0,0,0,0,0,SERVFAIL,1,0,0,0",
-     "1,IQUERY,0,0,0,0,1,1,NOTIMP,0,0,0,0",
-     "1,IQUERY,0,0,0,0,0,0,NOTIMP,0,0,0,0",
-     "1,IQUERY,0,0,1,1,1,1,FORMERR,0,0,0,0",



Home | Main Index | Thread Index | Old Index