pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/p5-Net-Telnet Update to 3.0.3, patch provided by A...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/614ca20b11c5
branches:  trunk
changeset: 460416:614ca20b11c5
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Aug 30 13:36:24 2003 +0000

description:
Update to 3.0.3, patch provided by Adrian Portelli in PR pkg/22322.

Changes:

* Telnet.pm (getlines): Changed behavior so it works like
IO::Handle::getlines().  Instead of returning just the lines
currently available for reading, it now returns all lines until
end-of-file.  To get the old behavior, use "All => ''" named
parameter.
* Telnet.pm (put): New method put() is like print(), except that
it doesn't write the trailing output_record_separator ("\n").  It
also takes named parameters.
* Telnet.pm (last_prompt): New method last_prompt() provides the
last prompt matched by cmd() or login().
* Telnet.pm (rs): New method rs() is synonymous with
input_record_separator().
* Telnet.pm (ors): New method ors() is synonymous with
output_record_separator.
* Telnet.pm (ofs): New method ofs() is synonymous with
output_field_separator().
* Telnet.pm (input_log, output_log, option_log): Fixed so they
always return the filehandle of the logfile or "" if logging
turned-off.
* Telnet.pm (dump_log, input_log, option_log, output_log): Fixed
so they work with an unblessed or tied filehandle.
* Telnet.pm (cmd_remove_mode, errmode, input_record_separator)
(max_buffer_length, option_callback, port, prompt, timeout): These
attribute methods now ignore an invalid argument and print a
warning to stderr.  This also applies to a named parameter used to
override one of these attributes.
* Telnet.pm (cmd): Added named parameters to override Errmode, and
Input_record_separator.
* Telnet.pm (get, waitfor): Added named parameters to override
Binmode, Errmode, and Telnetmode.
* Telnet.pm (getline, getlines): Added named parameters to
override Binmode, Errmode, Input_record_separator, and Telnetmode.
* Telnet.pm (login, open): Added named parameter to override
Errmode.
* Telnet.pm (login): Added two 0.01 second delays to workaround
bug in Linux login program.
* Telnet.pm (break): Fixed to properly send TELNET break command.
* Telnet.pm (open): Fixed to properly handle an absolute timeout
value.
* Telnet.pm: Squelched the warning "isn't numeric" caused by
deficiency in ActiveState perl and MS-Windows.
* t/select.t: Fixed test #3 so it passes when running on Linux 2.4
or greater.

diffstat:

 net/p5-Net-Telnet/Makefile |  4 ++--
 net/p5-Net-Telnet/distinfo |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 67e018a32d04 -r 614ca20b11c5 net/p5-Net-Telnet/Makefile
--- a/net/p5-Net-Telnet/Makefile        Sat Aug 30 11:33:42 2003 +0000
+++ b/net/p5-Net-Telnet/Makefile        Sat Aug 30 13:36:24 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 17:11:03 martti Exp $
+# $NetBSD: Makefile,v 1.11 2003/08/30 13:36:24 xtraeme Exp $
 #
 
-DISTNAME=      Net-Telnet-3.02
+DISTNAME=      Net-Telnet-3.03
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5nte
 CATEGORIES=    net perl5
diff -r 67e018a32d04 -r 614ca20b11c5 net/p5-Net-Telnet/distinfo
--- a/net/p5-Net-Telnet/distinfo        Sat Aug 30 11:33:42 2003 +0000
+++ b/net/p5-Net-Telnet/distinfo        Sat Aug 30 13:36:24 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:27 wiz Exp $
+$NetBSD: distinfo,v 1.3 2003/08/30 13:36:24 xtraeme Exp $
 
-SHA1 (Net-Telnet-3.02.tar.gz) = a219bc2d4f522fe5180901b96b3ae9bd24841d9a
-Size (Net-Telnet-3.02.tar.gz) = 30946 bytes
+SHA1 (Net-Telnet-3.03.tar.gz) = dcab09df5872ed995918bcf03797aac86c78cd02
+Size (Net-Telnet-3.03.tar.gz) = 35641 bytes



Home | Main Index | Thread Index | Old Index