diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-27 23:18:27 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-05-27 23:43:37 +0000 |
commit | 0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd (patch) | |
tree | d3588d515a7298813d39526a8ad68af07227413a | |
parent | 107627bbc7b1de4e9e3871104b3cee4531bf34d9 (diff) | |
download | ports-0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd.tar.gz ports-0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd.zip |
net/rubygem-proxifier2: Add rubygem-proxifier2 1.1.0
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 use 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.
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/rubygem-proxifier2/Makefile | 21 | ||||
-rw-r--r-- | net/rubygem-proxifier2/distinfo | 3 | ||||
-rw-r--r-- | net/rubygem-proxifier2/pkg-descr | 10 |
4 files changed, 35 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index d342021f1f09..bc6a40446598 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1369,6 +1369,7 @@ SUBDIR += rubygem-pcaprub SUBDIR += rubygem-private_address_check SUBDIR += rubygem-proxifier + SUBDIR += rubygem-proxifier2 SUBDIR += rubygem-qiniu SUBDIR += rubygem-rabbiter SUBDIR += rubygem-rbvmomi diff --git a/net/rubygem-proxifier2/Makefile b/net/rubygem-proxifier2/Makefile new file mode 100644 index 000000000000..6c1843b30d65 --- /dev/null +++ b/net/rubygem-proxifier2/Makefile @@ -0,0 +1,21 @@ +PORTNAME= proxifier2 +PORTVERSION= 1.1.0 +CATEGORIES= net rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Add HTTP or SOCKS proxies support and force TCPSocket to use proxies +WWW= https://github.com/chef/ruby-proxifier + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/pirb bin/pruby + +CONFLICTS_INSTALL= rubygem-proxifier + +.include <bsd.port.mk> diff --git a/net/rubygem-proxifier2/distinfo b/net/rubygem-proxifier2/distinfo new file mode 100644 index 000000000000..bc8060ae84c3 --- /dev/null +++ b/net/rubygem-proxifier2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685162020 +SHA256 (rubygem/proxifier2-1.1.0.gem) = 030ed248a649c77f2ad640195f5c57c9f76e5c56a5c9fc0c52ca8ed97000b332 +SIZE (rubygem/proxifier2-1.1.0.gem) = 9728 diff --git a/net/rubygem-proxifier2/pkg-descr b/net/rubygem-proxifier2/pkg-descr new file mode 100644 index 000000000000..2fb2eccfd43c --- /dev/null +++ b/net/rubygem-proxifier2/pkg-descr @@ -0,0 +1,10 @@ +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 use 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. |