summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2017-06-10 16:28:22 +0000
committertaca <taca@pkgsrc.org>2017-06-10 16:28:22 +0000
commit246ebeed95c3d319b4b8b1e870eb1fc66dbd0ef3 (patch)
tree64b40a06ff107c592c7ae2df5c7b43d66d42ead8 /net
parent1ce1804ef469e1af529594de51c68632795a4866 (diff)
downloadpkgsrc-246ebeed95c3d319b4b8b1e870eb1fc66dbd0ef3.tar.gz
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 (limited to 'net')
-rw-r--r--net/ruby-net-telnet/DESCR11
-rw-r--r--net/ruby-net-telnet/Makefile12
-rw-r--r--net/ruby-net-telnet/PLIST15
-rw-r--r--net/ruby-net-telnet/distinfo6
4 files changed, 44 insertions, 0 deletions
diff --git a/net/ruby-net-telnet/DESCR b/net/ruby-net-telnet/DESCR
new file mode 100644
index 00000000000..1f5ed07c61a
--- /dev/null
+++ b/net/ruby-net-telnet/DESCR
@@ -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 --git a/net/ruby-net-telnet/Makefile b/net/ruby-net-telnet/Makefile
new file mode 100644
index 00000000000..23dc4bc4dce
--- /dev/null
+++ b/net/ruby-net-telnet/Makefile
@@ -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
+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 --git a/net/ruby-net-telnet/PLIST b/net/ruby-net-telnet/PLIST
new file mode 100644
index 00000000000..8ab1de1844b
--- /dev/null
+++ b/net/ruby-net-telnet/PLIST
@@ -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 --git a/net/ruby-net-telnet/distinfo b/net/ruby-net-telnet/distinfo
new file mode 100644
index 00000000000..675a89c1987
--- /dev/null
+++ b/net/ruby-net-telnet/distinfo
@@ -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