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.
2023Q3
Po-Chuan Hsieh 2023-05-28 07:18:27 +08:00
parent 107627bbc7
commit 0c9d7b447d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1685162020
SHA256 (rubygem/proxifier2-1.1.0.gem) = 030ed248a649c77f2ad640195f5c57c9f76e5c56a5c9fc0c52ca8ed97000b332
SIZE (rubygem/proxifier2-1.1.0.gem) = 9728

View File

@ -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.