pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ruby-net-telnet Add ruby-net-telnet package versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7482221f6f9
branches:  trunk
changeset: 363494:a7482221f6f9
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jun 10 16:28:22 2017 +0000

description:
Add ruby-net-telnet package version 0.1.1.


Provides telnet client functionality.

This class also has, through delegation, all the methods of a socket object
(by default, a TCPSocket, but can be set by the Proxy option to new()).

This provides methods such as close() to end the session and sysread() to read
data directly from the host, instead of via the waitfor() mechanism.

Note that if you do use sysread() directly when in telnet mode, you should
probably pass the output through preprocess() to extract telnet command
sequences.

diffstat:

 net/ruby-net-telnet/DESCR    |  11 +++++++++++
 net/ruby-net-telnet/Makefile |  12 ++++++++++++
 net/ruby-net-telnet/PLIST    |  15 +++++++++++++++
 net/ruby-net-telnet/distinfo |   6 ++++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r 06f4ef45cb9a -r a7482221f6f9 net/ruby-net-telnet/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-net-telnet/DESCR Sat Jun 10 16:28:22 2017 +0000
@@ -0,0 +1,11 @@
+Provides telnet client functionality.
+
+This class also has, through delegation, all the methods of a socket object
+(by default, a TCPSocket, but can be set by the Proxy option to new()).
+
+This provides methods such as close() to end the session and sysread() to read
+data directly from the host, instead of via the waitfor() mechanism.
+
+Note that if you do use sysread() directly when in telnet mode, you should
+probably pass the output through preprocess() to extract telnet command
+sequences.
diff -r 06f4ef45cb9a -r a7482221f6f9 net/ruby-net-telnet/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-net-telnet/Makefile      Sat Jun 10 16:28:22 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2017/06/10 16:28:22 taca Exp $
+
+DISTNAME=      net-telnet-0.1.1
+CATEGORIES=    net
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ruby/net-telnet
+COMMENT=       Provides telnet client functionality
+LICENSE=       ruby-license OR 2-clause-bsd
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 06f4ef45cb9a -r a7482221f6f9 net/ruby-net-telnet/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-net-telnet/PLIST Sat Jun 10 16:28:22 2017 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/10 16:28:22 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/console
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/lib/net-telnet.rb
+${GEM_LIBDIR}/lib/net/telnet.rb
+${GEM_LIBDIR}/lib/net/telnet/version.rb
+${GEM_LIBDIR}/net-telnet.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 06f4ef45cb9a -r a7482221f6f9 net/ruby-net-telnet/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-net-telnet/distinfo      Sat Jun 10 16:28:22 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/10 16:28:22 taca Exp $
+
+SHA1 (net-telnet-0.1.1.gem) = c03ff1049fa135da019959d488c612ed754e6380
+RMD160 (net-telnet-0.1.1.gem) = b9243098fc72081cfcbad5afc9d2cd302960ae96
+SHA512 (net-telnet-0.1.1.gem) = d3b80e296a530173bf4741bbc98c03b89b920833b9254714bfb013f532106feb4cd82b81316fdc557b027cd3a0514a6be95a9d0a22d5dea340e801f7628edce2
+Size (net-telnet-0.1.1.gem) = 16896 bytes



Home | Main Index | Thread Index | Old Index