[freeside-commits] branch FREESIDE_3_BRANCH updated. 57290f5ec7acdfd413cbd6c24026ce153efd9f14

Ivan ivan at 420.am
Wed Aug 2 11:55:51 PDT 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  57290f5ec7acdfd413cbd6c24026ce153efd9f14 (commit)
      from  47ceec17a0b069a16686c93eca4bd227fc045625 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 57290f5ec7acdfd413cbd6c24026ce153efd9f14
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Aug 2 11:55:49 2017 -0700

    VoIP innovations CDR import using SSL, RT#76784

diff --git a/FS/bin/freeside-voipinnovations-cdrimport b/FS/bin/freeside-voipinnovations-cdrimport
index 23ea6bb..10c4bca 100644
--- a/FS/bin/freeside-voipinnovations-cdrimport
+++ b/FS/bin/freeside-voipinnovations-cdrimport
@@ -4,7 +4,8 @@ use strict;
 use Getopt::Std;
 use Date::Format;
 use File::Temp 'tempdir';
-use Net::FTP;
+use Net::SSLGlue::FTP; #at least until the Deb 9 transition is done, then
+                       # regular Net::FTP has SSL support
 use FS::UID qw(adminsuidsetup datasrc dbh);
 use FS::cdr;
 use FS::cdr_batch;
@@ -42,8 +43,11 @@ my $hostname = 'customercdr.voipinnovations.com';
 my $ftp = Net::FTP->new($hostname, Debug => $opt_d)
   or die "Can't connect to $hostname: $@\n";
 
+$ftp->starttls()
+  or die "TLS initialization failed: ". $ftp->message. "\n";
+
 $ftp->login($login, $password)
-  or die "Login failed: ".$ftp->message."\n";
+  or die "Login failed: ". $ftp->message. "\n";
 
 ###
 # get the file list
diff --git a/debian/control b/debian/control
index 4c9d771..c4144e1 100644
--- a/debian/control
+++ b/debian/control
@@ -88,8 +88,9 @@ Depends: aspell-en,gnupg,ghostscript,gsfonts,gzip,latex-xcolor,
  libparams-classify-perl (>= 0.013-5.1), libarchive-zip-perl,
  libtry-tiny-perl, libnumber-phone-perl, libxml-libxml-simple-perl,
  libxml-writer-perl, libio-socket-ssl-perl,
- libmap-splat-perl,
- libdatetime-format-ical-perl
+ libmap-splat-perl, libdatetime-format-ical-perl, librest-client-perl,
+ libbusiness-onlinepayment-perl,
+ libnet-vitelity-perl (>= 0.05), libnet-sslglue-perl
 Suggests: libbusiness-onlinepayment-perl
 Description: Libraries for Freeside billing and trouble ticketing
  Freeside is a web-based billing and trouble ticketing application.

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

Summary of changes:
 FS/bin/freeside-voipinnovations-cdrimport |    8 ++++++--
 debian/control                            |    5 +++--
 2 files changed, 9 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list