![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package perl-Net-Telnet for openSUSE:Factory checked in at 2013-06-13 18:18:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Net-Telnet (Old) and /work/SRC/openSUSE:Factory/.perl-Net-Telnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Net-Telnet" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Net-Telnet/perl-Net-Telnet.changes 2013-03-01 08:03:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Net-Telnet.new/perl-Net-Telnet.changes 2013-06-13 18:18:56.000000000 +0200 @@ -1,0 +2,29 @@ +Sat Jun 8 07:20:48 UTC 2013 - coolo@suse.com + +- updated to 3.04 + * Telnet.pm (open family sockfamily): Added IPv6 + support. It is enabled using the method/parameter + family() and the installed Socket package version is + 1.94+ (which corresponds with perl 5.14+). + + * Telnet.pm (peerhost peerport sockhost sockport): + New methods to support IPv6, because the inherited + ones from IO::Socket::INET don't. + + * Telnet.pm (open localhost localfamily): New + methods and open() parameters for binding to a local + network interface. + + * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed + so they turn off logging when passed an empty string arg. + + * Telnet.pm (_fillbuf _put): Fixed to use + Errno::EINTR, when possible, to test for an + interrupted select(), sysread(), or syswrite(). The + test for $! =~ /^interrupted doesn't work when LANG + is not English. + + * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed + so they take a bare filehandle. + +------------------------------------------------------------------- Old: ---- Net-Telnet-3.03.tar.gz New: ---- Net-Telnet-3.04.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Net-Telnet.spec ++++++ --- /var/tmp/diff_new_pack.xwRwx0/_old 2013-06-13 18:18:56.000000000 +0200 +++ /var/tmp/diff_new_pack.xwRwx0/_new 2013-06-13 18:18:56.000000000 +0200 @@ -17,54 +17,83 @@ Name: perl-Net-Telnet -Version: 3.03 +Version: 3.04 Release: 0 -Url: http://cpan.org/modules/by-module/Net/ -Summary: Net::Telnet - interact with TELNET port or other TCP ports -License: Artistic-1.0 or GPL-2.0+ +%define cpan_name Net-Telnet +Summary: interact with TELNET port or other TCP ports +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Source: Net-Telnet-%{version}.tar.gz +Url: http://search.cpan.org/dist/Net-Telnet/ +Source: http://www.cpan.org/authors/id/J/JR/JROGERS/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description Net::Telnet allows you to make client connections to a TCP port and do -network I/O, especially to a port using the TELNET protocol. Simple -I/O methods such as print, get, and getline are provided. More -sophisticated interactive features are provided because connecting to a -TELNET port ultimately means communicating with a program designed for -human interaction. These interactive features include the ability to -specify a time-out and to wait for patterns to appear in the input -stream, such as the prompt from a shell. +network I/O, especially to a port using the TELNET protocol. Simple I/O +methods such as print, get, and getline are provided. More sophisticated +interactive features are provided because connecting to a TELNET port +ultimately means communicating with a program designed for human +interaction. These interactive features include the ability to specify a +time-out and to wait for patterns to appear in the input stream, such as +the prompt from a shell. IPv6 support is available when using perl 5.14 or +later (see 'family()'. + +Other reasons to use this module than strictly with a TELNET port are: + +* * + + You're not familiar with sockets and you want a simple way to make client + connections to TCP services. + +* * + You want to be able to specify your own time-out while connecting, + reading, or writing. +* * -Authors: --------- - Jay Rogers <jay@rgrs.com> + You're communicating with an interactive program at the other end of some + socket or pipe and you want to wait for certain patterns to appear. + +Here's an example that prints who's logged-on to a remote host. In addition +to a username and password, you must also know the user's shell prompt, +which for this example is '"bash$ "' + + use Net::Telnet (); + $t = new Net::Telnet (Timeout => 10, + Prompt => '/bash\$ $/'); + $t->open($host); + $t->login($username, $passwd); + @lines = $t->cmd("who"); + print @lines; + +See the *EXAMPLES* section below for more examples. + +Usage questions should be directed to the perlmonks.org discussion group. +Bugs can be viewed or reported at cpan.org on the Net::Telnet page. %prep -%setup -n Net-Telnet-%{version} +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -perl Makefile.PL -make %{?_smp_mflags} -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-, root, root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc ChangeLog README -%doc %{_mandir}/man?/* -%{perl_vendorarch}/auto/Net -%{perl_vendorlib}/Net %changelog ++++++ Net-Telnet-3.03.tar.gz -> Net-Telnet-3.04.tar.gz ++++++ ++++ 2848 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org