From nobody Tue Mar 29 09:01:12 2022 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 98A761A3EE10; Tue, 29 Mar 2022 09:01:12 +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 4KSNpJ3xP0z3jXn; Tue, 29 Mar 2022 09:01:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648544472; 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=jSBo4sqjLVEIV01U1mQcDtKPljXLytWgeYj4ZryV0VE=; b=W11DQPcdNVuMM/6anMFqjyunZVOJyT7s2NJzSVgVJJkxQLJ0I2b5rVqC/Wo4YsIm7ZJ6u0 34iJlLT5xJTXfhpfcbQpi6nMQ/EK8rtLIl5ZwB4diQhsQsTR2piiXzCPZYZ2wrqrIW8Nkf h0bdFrUA1PYqN1EDBfMTNG2BpChjWvE+F9q/JUcwfZt6J19ZnsHR+Pi0Y+fpD9WQJOP/6H p3vxwqCLdqsAfi+tMzHAbEYDrPzWbUwnP86KUclb66w+136yz6GddKHfE2wj4H+yqttrK0 8567I8bjA+QGNs2p9t7Iva8hMyJAoZbLf/9P41aOTHNqGWLiOW2MILDszW6dgQ== 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 5D9681B0F7; Tue, 29 Mar 2022 09:01:12 +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 22T91CI7011173; Tue, 29 Mar 2022 09:01:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22T91Ck8011172; Tue, 29 Mar 2022 09:01:12 GMT (envelope-from git) Date: Tue, 29 Mar 2022 09:01:12 GMT Message-Id: <202203290901.22T91Ck8011172@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: b96a774d388f - main - Add net/wireproxy: Wireguard client that exposes itself as a socks5 proxy 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b96a774d388f6c06577b2dafffbbf6441c281ba7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648544472; 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=jSBo4sqjLVEIV01U1mQcDtKPljXLytWgeYj4ZryV0VE=; b=ZodS+R70gOMuaQTLjnkQ5WKB9oJAmyImIg4H7qgSgJMe8w5hl1ni7OTm+QfuWRXtqRRmxa 3Dl1oxmotBE5Bgfg5AosQWYcxWaSMKBpiWAA9hgy/zVZAByTgZlrb87gCuzMqakaRshkUO Wqd2QgWJFrnbVDDX/dgjYK4RHGR4wM3DvvB7ImLjqaS+s9QCcySNQP7upQDYDPK+n2r1LD ODPAF5FoJQLvxvHfY/2wV5iBe6+UkMtFdyQp4oFt018Z1KLJF1QCgW+USoOPWyx0hbFLAn NrDE8UxrrEFQ5HOzfpWVh1NwAbhRx5nyDEkP0aVa61Z78N7y8rW/RSDkgGavyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648544472; a=rsa-sha256; cv=none; b=Ld7T1yCpnTYCdDT0wotvIZa7GI2Vt1cTjPXXUyvxvTNlhPSJAQlV07+YlVy51t2UYezihK zC/RfQdiVNC/U632wkhgmh/etVxp++tpjswaGCdigoZOPTapq6RFltJ2QJU81L3xpY+sSt FiKR5wGcV1TcwbiSsLnJ40vb22bkmaZbiIRQ7ua5HeLMBQjEnXXNSplj0AiltV6ygjs+M1 /Ye8pLaWJByG2YjVyWRiuOep3OJDF0qFIC8lsoqVXdkGXARl3N87yZ8VckyQzAuPEzw2jd CKAhVQu66WweByFZ0n3dEGJ3xEjRjH3e+NjaX8PUYDM9wu033516SF2VmbOttg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=b96a774d388f6c06577b2dafffbbf6441c281ba7 commit b96a774d388f6c06577b2dafffbbf6441c281ba7 Author: Li-Wen Hsu AuthorDate: 2022-03-29 09:00:44 +0000 Commit: Li-Wen Hsu CommitDate: 2022-03-29 09:00:44 +0000 Add net/wireproxy: Wireguard client that exposes itself as a socks5 proxy --- net/Makefile | 1 + net/wireproxy/Makefile | 20 ++++++++++++++++++++ net/wireproxy/distinfo | 5 +++++ net/wireproxy/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/net/Makefile b/net/Makefile index 2d0ca8a3edc5..fd7d58ee9510 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1566,6 +1566,7 @@ SUBDIR += wireguard-go SUBDIR += wireguard-kmod SUBDIR += wireguard-tools + SUBDIR += wireproxy SUBDIR += wireshark SUBDIR += wireshark-lite SUBDIR += wlan2eth diff --git a/net/wireproxy/Makefile b/net/wireproxy/Makefile new file mode 100644 index 000000000000..3545b2d17bfc --- /dev/null +++ b/net/wireproxy/Makefile @@ -0,0 +1,20 @@ +PORTNAME= wireproxy +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.0-20220329034706 +DISTVERSIONSUFFIX= -4a4e7a79ab7f +CATEGORIES= net + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Wireguard client that exposes itself as a socks5 proxy + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/octeep/wireproxy +GO_TARGET= ./cmd/wireproxy + +PLIST_FILES= bin/wireproxy + +.include diff --git a/net/wireproxy/distinfo b/net/wireproxy/distinfo new file mode 100644 index 000000000000..e8089845f821 --- /dev/null +++ b/net/wireproxy/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1648543118 +SHA256 (go/net_wireproxy/wireproxy-v0.0.0-20220329034706-4a4e7a79ab7f/v0.0.0-20220329034706-4a4e7a79ab7f.mod) = ba168f770947b7b24cc560a6efb90ac644ca0d1ce6fc9ab2e91c53d67e8b9403 +SIZE (go/net_wireproxy/wireproxy-v0.0.0-20220329034706-4a4e7a79ab7f/v0.0.0-20220329034706-4a4e7a79ab7f.mod) = 790 +SHA256 (go/net_wireproxy/wireproxy-v0.0.0-20220329034706-4a4e7a79ab7f/v0.0.0-20220329034706-4a4e7a79ab7f.zip) = bab5520168a5477a6f365a46850776eb2fbdf48cad5ea43205dca84fae382ba5 +SIZE (go/net_wireproxy/wireproxy-v0.0.0-20220329034706-4a4e7a79ab7f/v0.0.0-20220329034706-4a4e7a79ab7f.zip) = 45637 diff --git a/net/wireproxy/pkg-descr b/net/wireproxy/pkg-descr new file mode 100644 index 000000000000..aa7c00d23673 --- /dev/null +++ b/net/wireproxy/pkg-descr @@ -0,0 +1,6 @@ +wireproxy is a completely userspace application that connects to a wireguard +peer, and exposes a socks5 proxy or tunnels on the machine. This can be useful +if you need to connect to certain sites via a wireguard peer, but can't be +bothered to setup a new network interface for whatever reasons. + +WWW: https://github.com/octeep/wireproxy