pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ruby-proxifier Add ruby-proxifier package version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a505a5cb08e9
branches:  trunk
changeset: 363291:a505a5cb08e9
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jun 05 14:52:55 2017 +0000

description:
Add ruby-proxifier package version 1.0.3.

Proxifier is a gem to force ruby to use a proxy.

This gem was created for 2 purposes.

First is to enable ruby programmers to use HTTP or SOCKS proxies
interchangeably when using TCPSockets. Either manually with
Proxifier::Proxy#open or by require "proxifier/env".

The second purpose is to use ruby code that doesn't user proxies for users
that have to use proxies.

The pruby and pirb executables are simple wrappers for their respective ruby
executables that support proxies from environment variables.

diffstat:

 net/ruby-proxifier/ALTERNATIVES |   2 ++
 net/ruby-proxifier/DESCR        |  13 +++++++++++++
 net/ruby-proxifier/Makefile     |  14 ++++++++++++++
 net/ruby-proxifier/PLIST        |  19 +++++++++++++++++++
 net/ruby-proxifier/distinfo     |   6 ++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 287557459246 -r a505a5cb08e9 net/ruby-proxifier/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-proxifier/ALTERNATIVES   Mon Jun 05 14:52:55 2017 +0000
@@ -0,0 +1,2 @@
+bin/pirb @PREFIX@/bin/pirb@RUBY_SUFFIX@
+bin/pruby @PREFIX@/bin/pruby@RUBY_SUFFIX@
diff -r 287557459246 -r a505a5cb08e9 net/ruby-proxifier/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-proxifier/DESCR  Mon Jun 05 14:52:55 2017 +0000
@@ -0,0 +1,13 @@
+Proxifier is a gem to force ruby to use a proxy.
+
+This gem was created for 2 purposes.
+
+First is to enable ruby programmers to use HTTP or SOCKS proxies
+interchangeably when using TCPSockets. Either manually with
+Proxifier::Proxy#open or by require "proxifier/env".
+
+The second purpose is to use ruby code that doesn't user proxies for users
+that have to use proxies.
+
+The pruby and pirb executables are simple wrappers for their respective ruby
+executables that support proxies from environment variables.
diff -r 287557459246 -r a505a5cb08e9 net/ruby-proxifier/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-proxifier/Makefile       Mon Jun 05 14:52:55 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/06/05 14:52:55 taca Exp $
+
+DISTNAME=      proxifier-1.0.3
+CATEGORIES=    net
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/samuelkadolph/ruby-proxifier
+COMMENT=       Proxifier is a gem to force ruby to use a proxy
+LICENSE=       mit
+
+RUBYGEM_OPTIONS+=      --format-executable
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 287557459246 -r a505a5cb08e9 net/ruby-proxifier/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-proxifier/PLIST  Mon Jun 05 14:52:55 2017 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/05 14:52:55 taca Exp $
+bin/pirb${RUBY_SUFFIX}
+bin/pruby${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/bin/pirb
+${GEM_LIBDIR}/bin/pruby
+${GEM_LIBDIR}/lib/proxifier.rb
+${GEM_LIBDIR}/lib/proxifier/env.rb
+${GEM_LIBDIR}/lib/proxifier/errors.rb
+${GEM_LIBDIR}/lib/proxifier/proxies/http.rb
+${GEM_LIBDIR}/lib/proxifier/proxies/socks.rb
+${GEM_LIBDIR}/lib/proxifier/proxies/socks4.rb
+${GEM_LIBDIR}/lib/proxifier/proxies/socks4a.rb
+${GEM_LIBDIR}/lib/proxifier/proxy.rb
+${GEM_LIBDIR}/lib/proxifier/version.rb
+${GEM_LIBDIR}/lib/uri/socks.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 287557459246 -r a505a5cb08e9 net/ruby-proxifier/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-proxifier/distinfo       Mon Jun 05 14:52:55 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/05 14:52:55 taca Exp $
+
+SHA1 (proxifier-1.0.3.gem) = ce5b229a0b8aa9df5f299c5fc2978522f086aaf2
+RMD160 (proxifier-1.0.3.gem) = 70a381344864575a68ca8a3f5e40465fe1113141
+SHA512 (proxifier-1.0.3.gem) = 7663c1a0ed670f5dbcfc5aa771c5ec101099f06bd7490ad6895c09d0b243d47f7c96ec78b9e24729a64cf6fb0dccb67ed9d6e5d69790fdbfdc2ec766d7e0752b
+Size (proxifier-1.0.3.gem) = 8192 bytes



Home | Main Index | Thread Index | Old Index