[Rt-commit] rtir branch, 4.2/update-whois-ripe, updated. 4.0.1rc1-143-gbd99de4a

Aaron Trevena ast at bestpractical.com
Mon Jun 1 15:28:12 EDT 2020


The branch, 4.2/update-whois-ripe has been updated
       via  bd99de4acbd1208e27c1a61bfbd45db73bbeb6ec (commit)
       via  bf1d7178c9856bcd14ffaeb24027fdcbbc81de7e (commit)
      from  3a469c9ad7b30c0785e2e92a009aa551941b4158 (commit)

Summary of changes:
 META.yml     | 1 +
 Makefile.PL  | 1 +
 lib/RT/IR.pm | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit bf1d7178c9856bcd14ffaeb24027fdcbbc81de7e
Author: Aaron Trevena <ast at bestpractical.com>
Date:   Mon Jun 1 20:01:51 2020 +0100

    Update Net::Whois::Ripe dependancy

diff --git a/META.yml b/META.yml
index dc5089b4..7e75d1a6 100644
--- a/META.yml
+++ b/META.yml
@@ -29,6 +29,7 @@ requires:
   DBIx::SearchBuilder: 1.61
   Parse::BooleanLogic: 0
   Regexp::Common: 0
+  Net::Whois::RIPE: 2.006001
   perl: 5.10.1
 resources:
   license: http://opensource.org/licenses/gpl-license.php
diff --git a/Makefile.PL b/Makefile.PL
index 9f3f91e8..12c0f058 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -25,6 +25,7 @@ if ($^O ne 'VMS') {
 
 # RTIR needs this version of SB because of cud-from-select
 requires('DBIx::SearchBuilder', 1.61);
+requires('Net::Whois::RIPE', 2.006001);
 
 # IP searching
 requires('Regexp::Common');

commit bd99de4acbd1208e27c1a61bfbd45db73bbeb6ec
Author: Aaron Trevena <ast at bestpractical.com>
Date:   Mon Jun 1 20:27:59 2020 +0100

    Fix extra argument passed to whois queries in lookups

diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index f79d2ea6..fa8261d2 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -656,7 +656,7 @@ sub WhoisLookup {
         }
     }
 
-    my $whois = Net::Whois::RIPE->new( hostname => $host, port => $port );
+    my $whois = Net::Whois::RIPE->new( hostname => $host, port => $port, recursive => 1 );
     my $iterator;
     $iterator = $whois->query( $args{'Query'} )
         if $whois;

-----------------------------------------------------------------------


More information about the rt-commit mailing list