From nobody Sat May 27 23:51:02 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTJTL4L7jz4WyG1; Sat, 27 May 2023 23:51:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTJTL38Fdz3Mvl; Sat, 27 May 2023 23:51:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GRrZ3an1uFw2B3BO1Wg8Ljau9eEcLODssJylox59eDE=; b=OYg+P8Mr7eFCjG4maB9QjEa2yVfhbkqdy3jqD18BXRCulgTJFei7Fetj2MtqIqptgnQBcQ aphosqMcPwKKeHF+VrZGpUs1+F75xbSvgge5Lxh4jjglRgPfSPpNSn6SEsoxbo6GA0a0Ao MMWkz7hX2NAO+6eUxt+/EggHRy0mH6GGlD/zaQ+z89BMD5132W9UheBfJ3Eqw2zBI98nZt tM/HtfkiB55meZK3d2g7q80cCtPG/kkqiV7Zur2w7Oy2kBYiZWRmoHhPJB/Bz0qG3P3ziY OlIfZ/jTs78m/lswG9FgwMybAy4g5i3yO6JbgFQ8G2NGFWp8m3ynZ6KD4tBZHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GRrZ3an1uFw2B3BO1Wg8Ljau9eEcLODssJylox59eDE=; b=jBTc17wY5g64C7cFjdKyGZUx387sxDq5Pc9kxNj/K+6GWxi7LPZLr0ZzZ+Gwrl2Ae3rqel YU5KVUsfhObFZ7aqC0/tYteL7nwrlMvsl4iPeCUGq8Avt0kH3nPlkJfmAAQYfRczruiqct 0s3PlAKDzlBNpgXKOnYcJ4ovW/NiTSCvWoTYPDKfiK6Wxs+/EfyZ1kRNImra9Z8oVy3K8h EO4VsGmex3XPVDK/4mEL1YLw1qL9mMe4+zbqkz7y5SHQsMWx9ETtIyS7va1bDvA4I8424I F0AQ1mhSMkMqYATzkxhDD7i9aEc1C8EpYLgCTfz31ZS9Xs+Yky3Tu5Lo3ue5Aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685231462; a=rsa-sha256; cv=none; b=JNBXIaN7FckbjQXffrz/hKPjb5kgXn+FoXY2i8bvaE+Q9bMGMYdfTdI9H1Jza8ABykTAgy gAPotE2EejYOohzk7xuyR/7vkum0jOLs2OMXUzTWXH5fVdAylj0zwmHQE+8xk5+uNrILUB LRj9KYH1qxB8+u6XsWePc5v2nBwheHxnLXIMcTHzLgyhwIvAw/NWxAIX6gnRhu1d4oihW1 dUoj2A5F5hIPUHVZyxERmrWGKX4hd+2f4XuQaTWFpvQKPa0za6qgqIvH1OFphZO0twRFNj pzEsvSvgQWRHLpPfG7WjPK21Osz3tGLe8VXConDpNO246kvmHewvmyn+Ublwfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTJTL23Rnz17Y2; Sat, 27 May 2023 23:51:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34RNp2pg053516; Sat, 27 May 2023 23:51:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34RNp2Eh053515; Sat, 27 May 2023 23:51:02 GMT (envelope-from git) Date: Sat, 27 May 2023 23:51:02 GMT Message-Id: <202305272351.34RNp2Eh053515@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0c9d7b447d7b - main - net/rubygem-proxifier2: Add rubygem-proxifier2 1.1.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd commit 0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 23:18:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-05-27 23:43:37 +0000 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. --- net/Makefile | 1 + net/rubygem-proxifier2/Makefile | 21 +++++++++++++++++++++ net/rubygem-proxifier2/distinfo | 3 +++ net/rubygem-proxifier2/pkg-descr | 10 ++++++++++ 4 files changed, 35 insertions(+) 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 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.