./net/p5-Net-FTPSSL, Perl FTP over SSL/TLS class

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.39, Package name: p5-Net-FTPSSL-0.39, Maintainer: pkgsrc-users

Net::FTPSSL is an object oriented Perl module which implements a
simple FTP client over a Secure Shell Layer (SSL) connection written
following the directives described in RFC959 and RFC2228.

Required to run:
[lang/perl5] [security/p5-IO-Socket-SSL] [security/p5-Net-SSLeay]

Master sites: (Expand)

SHA1: 9e4c2aeff450fa04ee16e776d24ca8eea7007f41
RMD160: 4e5cf553824e87ce6e4cd4abcb8d4e03fa486c1a
Filesize: 105.216 KB

Version history: (Expand)

CVS history: (Expand)

   2017-11-08 21:58:28 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Net-FTPSSL: update to 0.39.

0.39 2017/10/23 08:30:00
  - Updated the LISCENSE file to 2017 (from 2015)
  - Changed default from TLS v1.0 to TLS v1.2 and rearranged the POD a bit.
  - Started depreciating useSSL.  Now prints out warning if used!  Warning
    says to use option "SSL_version" instead.
   2017-09-17 22:36:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Net-FTPSSL: update to 0.38.

0.38 2017/03/30 08:30:00
  - Bug Id: 120802.  PreserveTimestamp bugs with _mfmt() & _mdtm().  I pulled
    the arguments off the stack in the wrong order.  Corrected this.
  - Added instructions on how to install this module in an alternate location
    to the README file.

0.37 2017/03/27 08:30:00
  - Found an issue with size() function when it gets the file size via \ 
    Found a server where "STAT" returned the results in a different format.
  - Removed duplicate setting of {help_cmds_no_syntax_available} key in _help().
  - Bug Id: 120623.  Missed the 2nd half of the ticket.  When Croak=>1 is turned
    on to not treat the failure of "SITE HELP" as a fatal error!

0.36 2017/03/20 08:30:00
  - Updated the copyright & version number.
  - Added additional module versions to the logs in BEGIN.
  - Bug Id: 120341.  Turns out the latest release of IO-Socket-SSL broke
    this module.  (v2.046 broken, v2.012 worked)  Looks like the start_SSL()
    call is removing my "_FTPSSL_arguments" hash entry.
  - Bug Id: 120623.  The OverrideHELP option had issues.  Shouldn't have called
    _feat() or _site_help() for =>1 or =>\@lst.  So removed in _help()!
  - Bug Id: 120621.  Request for a new feature of allowing objects that inherit
    from IO::Handle wherever it asks for a GLOB!  put/get/DebugLogFile/etc ...
    Implemented via new helper function _isa_glob().  Also updated POD.
  - Updated README section on using client certificates.
  - Updated t/20-certificate.t to use a callback & updated the %certificate
   2017-09-03 10:37:04 by Thomas Klausner | Files touched by this commit (182)
Log message:
Comment out dead MASTER_SITES/HOMEPAGEs.
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-11-09 14:43:32 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated net/p5-Net-FTPSSL to 0.35
0.35 2016/11/03 08:30:00
  - Minor POD updates.
  - Added catastrophic failure protection to _croak_or_return() by adding
    local $SIG{PIPE} = "IGNORE"; before connection termination logic.  \ 
    the scope to just this one code block.

0.34 2016/07/27 08:30:00
  - BEHAVIOR CHANGE - Added fix_supported() as a way to make corrections to
    supported().  Editing the returned hash reference of _help() no longer
    works!  This new method does both additions & removals.
  - BEHAVIOUR CHANGE - Modified _mfmt() & _mdtm() to be able to handle localtime
    vs gmtime based on changes to how PreserveTimestamp work.  As an alternate
    way, the behavior can be overriden by a new $local_flag option.  The
    default behavior is still GMT time.  See the POD for a description of how
    PreserveTimestamp now works.
  - Made POD clarification & other comment updates.
  - Increased TRACE_MOD from 5 to 10 blocks.
  - Added BEGIN block to detect if IPv6 support is possible.  It does this by
    asking IO::Socket::SSL instead of reinventing the wheel.
  - Moved the generation of the Debug log header info for CPAN support to BEGIN
    as well so that this info gets centralized instead of repeated.
  - Added Domain/Family as a new option for choosing IPv4 vs IPv6.
  - Added OverrideHELP => -1 option to use FEAT instead, when HELP is broken!
  - Updated quot() to recognize that MLSD also requires a data channel.
    Also improved the disable HELP logic used here.
  - Broke up _feat() into _feat() & feat().  Also added feat() to the POD.
    Done since under some circumstances the feature list can be dynamic!
    Also changed logic on how to tell if OPTS is supported or not.
    Finally drops HELP from the list of FEAT commands returned if OverrideHELP
    was used.
  - Rewrote _help() to make it less confusing.  Adding OverrideHELP=>-1 made it
    clear it was too messy to support ongoing.  Much more understandable now.
    Also made it more reliable to get the list of site commands supported.
  - Fixed PreserveTimestamp bug in transfer() & xtransfer().
  - Added new option xWait for use by xput() & xtransfer().  Some servers won't
    honor the rename of the scratch file to it's final name without instituting
    a delay.  So this option allows you to specify one.
  - README - Added more notes about turning on/off SSL logging.  Newer
    versions allow for dynamic turning on/off.  Also updated comments on the
    naming of the trace logs.
  - t/10-complex.t - Changes to the main test script!
    * Now uses fix_supported() in it's is_file() tests since these test cases
      hit some lies told by some servers!
    * Fixed so it's main logs are named after this test program like the other
      test cases do.
    * Added new test to verify if the MDTM command correctly uses GMT time
      instead of local time.  (Assumes MFMT will use the same time zone!) Did
      this test early enough so that the last connection used the correct
      PreserveTimestamp settings for tests depending on it!
    * Added xWait of 1 second to deal with problem FTP/S servers that require
      a wait for the xput & xtransfer tests to work.
  - t/05-readonly.t - Renamed 05-simple to 05-readonly to more acurately
    describe the types of tests this test script does!  Updated in MANIFEST &
    README as well.
   2016-08-01 14:47:49 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated net/p5-Net-FTPSSL 0.26 to 0.33
0.33 2016/07/06 08:30:00
  - BEHAVIOUR CHANGE - Since many openssl libraries are tightening their
    security, I'm adding a new option to preserve backwards compatibility.
    By default this module now reuses the context of the command channel
    when opening a data channel.  If you need to revert back to the previous
    default of not reusing the context for data channels, you must now use
    option "DisableContext => 1" to do so.  But hopefully the need \ 
for this
    option will be rare.  See the POD for more details.
  - BEHAVIOUR CHANGE - Added support for SNI in the SSL handshake.
  - Changed logic on how to detect if a default "SSL_verify_mode" \ 
value needed
    to be set to VERIFY_NONE() for the caller in new().
  - Can now pass SSL options directly to new().  You no longer need to use the
    "SSL_Client_Certificate" option to pass the hash reference of SSL \ 
    Currently only recognises IO::Socket::SSL options that start with SSL_.
    If any start with something else, I'll address in a future release.
  - Clarified some POD information on a few methods.
  - Enhanced "size" function to use STAT if SIZE wasn't available!
  - Fixed case where sometimes the login account used wasn't being masked in
    the response in the logs.
  - Now prints the INET version in the log file.
  - Resets $ERRSTR gets reset in new() in case previous call had errors!
  - Fixed t/10-complex.t func run_stat_test() to test the "is_file" \ 
& "is_dir()"
    functions.  Some tests disable the "SIZE" command so it can test \ 
the new
    alternate size logic as well.
  - New test program t/05-simple.t that does a simple read only test against
    the FTPS server.  Added so that you can run a simple test against servers
    you don't want to upload anything to during the tests.  These tests are
    not as robust as the t/10-complex.t tests so failures here are not as
    meaningfull.  So run t/10-complex if you encounter any issues for more
  - Added t/05-simple.t to the MANIFEST.
  - Updated the Copyright in the README file.  And reworded a few sections.
  - Updated all t/*.t files to add a retry the 1st time they try to connect
    to a server via new().  Added a hard coded "SSL_cipher_list" value if
    the defaults don't work.  This kludge might not work for everyone.
  - Modified t/20-certificate.t to be a bit more robust.
  NOTE: Found a server where supported() doesn't completely work.  That server
        fails to put a "*" after some of the commands it didn't implement.

0.32 2016/06/14 08:30:00
  - Clarified some POD information on a few methods.
  - Bug ID: 115296 - Changed the use_ssl test when providing custom SSL_Version
    settings via the SSL_Client_Certificate option.  Now does a positive test
    for SSL instead of a negative test.
  - Modified t/10-complex.t to do a better uput test.  Put into its own test
    function so that I could also validate the filename returned instead of just
    assuming it was correct!
  - Added additional test cases for files with spaces in their names.
  - Added run_stat_test() for future tests for "is_..." functions.

0.31 2016/03/30 08:30:00
  - Updated the Copyright.
  - Fixed issue where "uput" cmd generated "Invalid number of \ 
parameters" error.
    Fix is to call STOU a 2nd time with no file name.  But if this happens and
    the server doesn't return the file name, uput now returns "?" \ 
instead of
    making what it knows is a very flawed guess! (since it doesn't use the hint)
  - Implemented mdtm() server bug fix.  Some rare servers do (19xxx) instead of
    (20xx) for the year part of the timestamp returned.  So implemented
    autodetection & fix for this server issue!
  - Added undocumented Debug value to supress printing out the HELP information
    during login.  It got in the way of debugging via add-hock perl scripts.
  - Added is_file() to validate if the given name is a regular file!
  - Added is_dir() to validate if the given name is a directory!
  - Fixed bug in t/10-complex.t that made it look like "make test" \ 
    when in fact it encountered a fatal error forcing it to skip over all the
    other deeper tests.  Affected call to config func: check_for_pasv_issue()
  - Fixed some undef warnings in "uput() test" in t/10-complex.t when \ 
    to buggy windows FTPS servers that says it supports "uput" but \ 
handles it
    really strangely or not at all.  Now also handles new "?" return \ 
value in
    the strange case.
  - Fixed bug in t/10-complex.t in test_log_redirection() failing a EPSV test
    when the destination server didn't support this functionality.
  - Modified t/10-complex.t to print the "OK" results to the log file.
    Makes it a bit easier to associate failures to what's in the log file!
  - Fixed some typoes in the POD.

0.30 2015/08/13 08:30:00
  - INCOMPATIBILITY WARNING!  If you've been hacking internal undocumented
    variables referenced by my module, your code is most likely broken with this
    release!  If you've been doing "$ftps = new (...);  $x = \ 
    it's now "$x = ${*$ftps}{_FTPSSL_arguments}->{abc};" for a lot \ 
of them.
    This change was made to make it less likely I'll accidentaly step on a
    IO::Socket::SSL variable in a future release of either module.  It also
    helps me with error log traces & some future plans if they ever happen.
  - Changed t/00-basic.t so it no longer needs to call uc().  Also now uses
    __PACKAGE__ keyword instead of hard coded text.
  - Fixed error message bug in _get_data_channel().  Got SSL_version from wrong
  - Reorganized the order of some functions in the POD.
  - Fixed minor bug in the masking of the user id when writing to a log file!
  - Looks like the sysread() call in response() is sometimes spurriously setting
    the special variable "$!" for Perl 5.10.1 on AIX 7.1.  So if the \ 
    looks complete I'm going to ignore the error message returned in "$!".
    I'm probably going to have to figure out a better test for this later on!
  - EXPERIMENTAL: Added 2 new functions set_dc_from_hash() and copy_cc_to_dc().
    They provide two different ways to micro manage the SSL options used to
    manage the Data Channel without the need to hack the code base.  There are
    more SSL options than I know what to do with so hopefully this will help
    with managing the data channel.

0.29 2015/07/06 08:30:00
  - Fixed typo that broke reuse session.  Bug was overwriting key value!
  - Fixed uc() warning in t/00-basic.t for Perl 12 & above.

0.28 2015/07/01 08:30:00
  - Updated README file with info on how to turn on SSL tracing so that I can
    more easily find that information again.
  - Fixed log display issue if there was no username and/or password passed
    to login().
  - In quot() fixed pattern match bug when setting $cmd2.  (\S* to \S+)
  - Added LICENSE file to my package (+ Manifest).   Kwaltiee Experimental # 3.
  - Rewrote Makefile.PL to support optional parameters so I could add
    conditional Kwaltiee Score variables.
  - Added MIN_PERL_VERSION tag to Makefile.PL   Extra Kwaltiee Metric # 1.
    Enforced Ver. 5.6.1, since that is the earliest perl my module was tested
    against by the smoke testers.  But it was last tested that way with v0.11.
    Version 5.8.8 is the oldest version of Perl I test against regularly.
  - Added LICENSE tag to Makefile.PL            Extra Kwaltiee Metric # 2.
  - Added Net::SSLeay as a fake dependancy to Makefile.PL & as a test case in
    t/00-basic.t for the benifit of some Smoke Testers who fail my module due
    to this indirect dependancy not working.  I don't use this module, but it's
    obviously a dependancy of IO::Socket::SSL.  But it looks like it might
    not be a declared dependancy since it's failing to load for a smoke tester
    while he's testing my module.
  - Fixed _print_LOG() to support multiple arguments.  So no longer have to
    concatinate everything before using.
  - Rewrote _debug_print_hash() to be able to handle hashes of any depth.
    It's now recursive with infinite loop detection.
  - Added logic to support reusing the session instead of just the context.
    This is via the new option "ReuseSession=>1".
    Thanks Forrest Tiffany for your patch!  (Bug Ids 76108 & 105507)

0.27 2015/03/28 08:30:00
  - Fixed Bug Id # 102680.  Bad "supported" test in xput/xtransfer with
    regard to OverrideHELP=>1.  (All other OverrideHELP options worked fine.)
  - Added "all_supported()" to assist fixing the above bug & put \ 
into the POD.
  - Some minor POD corrections.
  - Added check to quot("HELP") to see if HELP was overriden.  Required
    a minor change in new() to support this logic.  We know help is broken if
    OverrideHELP was used!
  - Added the INTERPRETING THE LOGS section in the POD text.
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-04 01:35:47 by Alistair G. Crooks | Files touched by this commit (748)
Log message:
Add SHA512 digests for distfiles for net category

Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.