From unknown Sun Jun 22 17:12:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31230 <31230@debbugs.gnu.org> To: bug#31230 <31230@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add ocproxy. Reply-To: bug#31230 <31230@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:12:10 +0000 retitle 31230 [PATCH] gnu: Add ocproxy. reassign 31230 guix-patches submitter 31230 Pierre Langlois severity 31230 normal tag 31230 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 05:42:31 2018 Received: (at submit) by debbugs.gnu.org; 21 Apr 2018 09:42:31 +0000 Received: from localhost ([127.0.0.1]:34576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9p2H-0007k3-80 for submit@debbugs.gnu.org; Sat, 21 Apr 2018 05:42:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9p2E-0007jp-UM for submit@debbugs.gnu.org; Sat, 21 Apr 2018 05:42:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9p28-0007E7-Cy for submit@debbugs.gnu.org; Sat, 21 Apr 2018 05:42:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLACK autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f9p28-0007Dr-9C for submit@debbugs.gnu.org; Sat, 21 Apr 2018 05:42:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9p26-0000Z4-UJ for guix-patches@gnu.org; Sat, 21 Apr 2018 05:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9p23-0007AN-Os for guix-patches@gnu.org; Sat, 21 Apr 2018 05:42:14 -0400 Received: from mout.gmx.net ([212.227.17.20]:60083) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9p23-00079b-D4 for guix-patches@gnu.org; Sat, 21 Apr 2018 05:42:11 -0400 Received: from labiere ([80.229.147.137]) by mail.gmx.com (mrgmx101 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MV1wf-1evN4X3wJJ-00YSFd; Sat, 21 Apr 2018 11:42:09 +0200 User-agent: mu4e 1.0; emacs 25.3.1 From: Pierre Langlois To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ocproxy. Date: Sat, 21 Apr 2018 10:42:08 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:4QgPQai5WMxgaZeeBZYfyqNh8gVZRe5GC5MNsrTOXzFHbxwthWy pEdwkoBCKZMUcnd6xbX7rljekdAKaMxUxTJHMZgk/taVChR2pBDUscqVV9usboZSIV+7OOy 1ys/CaB3ko1QxYfYy0tQ1W46yyH39Nv3iEGXP7xHBBdNFlBx5sv2axNHQphJGNJTaADOqTj y2MBzTy/OkSN9B0uw26xA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1DFybW0OsQQ=:q5hd0Rb9InUBFIoAZJu7fA O8nRjFAgS+EZEnyKIvAOuNg6ZGPx7VUDomg5d4KuzrmUsO+CPeJzv4/E+NBaKwNd0kOJi60p3 Q7Ic3Dw7nbzzSlrR9N+sSWF7rqDQglTXYWur6X7YXpAxnE8Tta2O2kFDh9MnmEy9n0RlORJ+7 4yRnPe2usqM9zz2b296WLslj3pfXwLxWHW0s2U6Xx6/YzgQsIM2ozA00LQCt6J9zf9feOyf2l k49U9BBvlaM1tkCWrKu7OLAaT+63JFv7aQNZu4jksAgVjC5Wy4TR536Jp2o651mixqm8aXs2X JhgeAbRkJoeHRACcFBLlHRw4XnVQ8DklNfD/68Owf1bo8/ssWhUYEO2hQVNbSzrLgleN0wPFB Wevl5r/fRJUfQ+a587UfQX1hJ6T3UQ4a5GvASep3ujsVBD3XDjeUU2ZjMDiMHuJz1Mmub5uLD xL0I2+2p5k1Uk3b4rseJpRsCNPSoFIAH5y6ttl4U6nr4rPFh579skqxDldZbk0LihLkpxUSLf 72hMUlIlTM6k5vu/AP3fNR97gByIm/rqNZ+t+v4XOoAN5ruCLLLhiOuqI0YtuIeWaPe2OxcAA koj281+iTqcyQOvfErK9UyXxhDTY0lNvKSUz+zWypP23+8PJRAc4oHTZjUbsykmFjr4dBMPdw OD/cQw1TBzmdqMTztp2LSUcqbAEJ0fKx3cMQ2eMfHqNx+cxP7k12+d5sDT4gjKR4ayeZwBwMX 8WHjz6sg6J+iGKoGIznoVWQ8fhbXGH3IB9zrd8XbLqTI8JtM3qVplxYuPcpCFkvTuuTQrD5Tg hpyQamPag2QaNVMUm6qAkXkfEl2Bw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit Cc: Pierre Langlois X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Guix! Here's a patch to add ocproxy, a SOCKS proxy for OpenConnect (https://github.com/cernekee/ocproxy). Thanks! Pierre [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [208.118.235.92 listed in wl.mailspike.net] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=pierre.langlois%40gmx.com;ip=208.118.235.92;r=debbugs.gnu.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pierre.langlois[at]gmx.com) -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Hi Guix! Here's a patch to add ocproxy, a SOCKS proxy for OpenConnect (https://github.com/cernekee/ocproxy). Thanks! Pierre --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-ocproxy.patch Content-Transfer-Encoding: 8bit >From 695844d61261c699852a9cf311cb807e358f792a Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sat, 21 Apr 2018 10:37:20 +0100 Subject: [PATCH] gnu: Add ocproxy. * gnu/packages/vpn.scm (ocproxy): New variable. --- gnu/packages/vpn.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 070b69565..6ba3677a9 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016, 2017 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Julien Lepiller +;;; Copyright © 2018 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,9 +33,11 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages check) + #:use-module (gnu packages autotools) #:use-module (gnu packages compression) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) + #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -206,6 +209,39 @@ example for writing your own. For example, @command{vpnc-script-sshd} contains the entire VPN in a network namespace accessible only through SSH.") (license license:gpl2+)))) +(define-public ocproxy + (package + (name "ocproxy") + (version "1.60") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/cernekee/ocproxy/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b4rg3xq5jnrp2l14sw0msan8kqhdxmsd7gpw9lkiwvxy13pcdm7")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("libevent" ,libevent))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ (invoke "sh" "autogen.sh")))))) + (home-page "https://github.com/cernekee/ocproxy") + (synopsis "OpenConnect proxy") + (description + "User-level @dfn{SOCKS} and port forwarding proxy for OpenConnect based +on LwIP. When using ocproxy, OpenConnect only handles network activity that +the user specifically asks to proxy, so the @dfn{VPN} interface no longer +\"hijacks\" all network traffic on the host.") + (license license:bsd-3))) + (define-public openconnect (package (name "openconnect") -- 2.17.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 22 17:49:38 2018 Received: (at 31230-done) by debbugs.gnu.org; 22 Apr 2018 21:49:39 +0000 Received: from localhost ([127.0.0.1]:36174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAMra-0000FM-Nu for submit@debbugs.gnu.org; Sun, 22 Apr 2018 17:49:38 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAMrZ-0000FE-1L for 31230-done@debbugs.gnu.org; Sun, 22 Apr 2018 17:49:37 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 823D912FC8; Sun, 22 Apr 2018 23:49:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3qWttdFwLfJ; Sun, 22 Apr 2018 23:49:33 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 62C7F12A31; Sun, 22 Apr 2018 23:49:33 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pierre Langlois Subject: Re: [bug#31230] [PATCH] gnu: Add ocproxy. References: Date: Sun, 22 Apr 2018 23:49:32 +0200 In-Reply-To: (Pierre Langlois's message of "Sat, 21 Apr 2018 10:42:08 +0100") Message-ID: <87h8o2gbdf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 31230-done Cc: 31230-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello Pierre, Pierre Langlois skribis: >>>From 695844d61261c699852a9cf311cb807e358f792a Mon Sep 17 00:00:00 2001 > From: Pierre Langlois > Date: Sat, 21 Apr 2018 10:37:20 +0100 > Subject: [PATCH] gnu: Add ocproxy. > > * gnu/packages/vpn.scm (ocproxy): New variable. Applied, thanks! Ludo=E2=80=99. From unknown Sun Jun 22 17:12:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 May 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator