From d41556c82d7af6d68d9d659bd486be775f82295d Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Tue, 28 Feb 2023 09:29:46 +0000 Subject: [PATCH] fix gen_usdb_data.pl --- Changes | 2 ++ perl/gen_usdb_data.pl | 17 +++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Changes b/Changes index 40981234..a6815aec 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ 28Feb23======================================================================= 1. Default ip addresses ON in PC92 C records, disable PC92 A D record output. 2. Add CTY-3308 prefixes. +3. Fix gen_usdb_data.pl (add missing use DXUtil), update current location of + official FCC databases. 14Feb23======================================================================= 1. Attempt to be more M$ Windows compatible. This basically is to do with the unfortunate fact that most of the Windows perl cannot do, or simulate diff --git a/perl/gen_usdb_data.pl b/perl/gen_usdb_data.pl index 7857a5c5..e8ced1f0 100755 --- a/perl/gen_usdb_data.pl +++ b/perl/gen_usdb_data.pl @@ -6,17 +6,17 @@ # # You can get the main database from: # -# http://wireless.fcc.gov/uls/data/complete/l_amat.zip +# https://data.fcc.gov/download/pub/uls/complete/l_amat.zip # # The daily data bases are available as a set of seven from here:- # -# http://wireless.fcc.gov/uls/data/daily/l_am_sat.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_sun.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_mon.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_tue.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_wed.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_thu.zip -# http://wireless.fcc.gov/uls/data/daily/l_am_fri.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_sat.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_sun.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_mon.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_tue.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_wed.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_thu.zip +# https://data.fcc.gov/download/pub/uls/daily/l_am_fri.zip # # this program expects one or more zip files containing the call book # data as arguments. @@ -48,6 +48,7 @@ use Archive::Zip qw(:ERROR_CODES); use Archive::Zip::MemberRead; use IO::File; use Compress::Zlib; +use DXUtil; my $blksize = 1024 * 1024; -- 2.43.0