From unknown Fri Jun 20 05:36:12 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#68683 <68683@debbugs.gnu.org> To: bug#68683 <68683@debbugs.gnu.org> Subject: Status: [PATCH] gnu: vpn-slice: Include required inputs "iproute" and "iptables". Reply-To: bug#68683 <68683@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:36:12 +0000 retitle 68683 [PATCH] gnu: vpn-slice: Include required inputs "iproute" and= "iptables". reassign 68683 guix-patches submitter 68683 Allan Adair severity 68683 normal tag 68683 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 24 04:19:53 2024 Received: (at submit) by debbugs.gnu.org; 24 Jan 2024 09:19:53 +0000 Received: from localhost ([127.0.0.1]:44461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSZQH-0002y3-7S for submit@debbugs.gnu.org; Wed, 24 Jan 2024 04:19:53 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSZQE-0002xq-Jr for submit@debbugs.gnu.org; Wed, 24 Jan 2024 04:19:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSZQ3-0004SE-Ht for guix-patches@gnu.org; Wed, 24 Jan 2024 04:19:39 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSZQ1-000260-QN for guix-patches@gnu.org; Wed, 24 Jan 2024 04:19:39 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0685F6000C; Wed, 24 Jan 2024 09:19:32 +0000 (UTC) From: Allan Adair To: guix-patches@gnu.org Subject: [PATCH] gnu: vpn-slice: Include required inputs "iproute" and "iptables". Date: Wed, 24 Jan 2024 10:18:39 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: allan@adair.no Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=allan@adair.no; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) 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: vpn-slice expects commands "ip" and "iptables" to be found according to FHS paths. * gnu/packages/vpn.scm (vpn-slice)[arguments]: Include inputs "iproute" and "iptables" and patch "vpn_slice/linux.py" to use correct locations in the store. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: jeandudey.tech] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: jeandudey.tech] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit Cc: Allan Adair 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.4 (/) vpn-slice expects commands "ip" and "iptables" to be found according to FHS paths. * gnu/packages/vpn.scm (vpn-slice)[arguments]: Include inputs "iproute" and "iptables" and patch "vpn_slice/linux.py" to use correct locations in the store. Change-Id: Ia06e2bb99f060108cc0758e89174294bcbb2848d --- gnu/packages/vpn.scm | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 02c1ee1043..a6a83c9145 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Arun Isaac +;;; Copyright © 2024 Allan Adair ;;; ;;; This file is part of GNU Guix. ;;; @@ -1245,17 +1246,28 @@ (define-public vpn-slice (package (name "vpn-slice") (version "0.16.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "vpn-slice" version)) - (sha256 - (base32 - "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18")))) + (source + (origin + (method url-fetch) + (uri (pypi-uri "vpn-slice" version)) + (sha256 + (base32 "1anfx4hn2ggm6sbwqmqx68s3l2rjcy4z4l038xqb440jnk8jvl18")))) (build-system python-build-system) - (inputs (list python-dnspython python-setproctitle)) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-FHS-file-names + (lambda _ + (substitute* "vpn_slice/linux.py" + (("/sbin/iptables") + (which "iptables"))) + (substitute* "vpn_slice/linux.py" + (("/sbin/ip") + (which "ip")))))))) + (inputs (list python-dnspython python-setproctitle iproute iptables)) (home-page "https://github.com/dlenski/vpn-slice") (synopsis "Split tunneling replacement for vpnc-script") - (description "vpn-slice is a replacement for @command{vpnc-script} used by + (description + "vpn-slice is a replacement for @command{vpnc-script} used by @code{openconnect} and @code{vpnc}. Instead of trying to copy the behavior of standard corporate VPN clients, which normally reroute all your network traffic through the VPN, vpn-slice tries to minimize your contact with an base-commit: 3419c216b485532dd3c3ed7959553d7900eb1fea -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 03:11:42 2024 Received: (at 68683-done) by debbugs.gnu.org; 12 Feb 2024 08:11:42 +0000 Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZRPi-0000U2-1F for submit@debbugs.gnu.org; Mon, 12 Feb 2024 03:11:42 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZRPf-0000Tm-KJ for 68683-done@debbugs.gnu.org; Mon, 12 Feb 2024 03:11:40 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1707725480; cv=none; d=zohomail.com; s=zohoarc; b=lMmvXRcDarqNgqQwxosdnOd3b76h53KKPzsfaExkhqxxMyDup7ankT27y0q9XxxNC49tIqnpre3fnGoTvup6PFqyZ3nSIvZoylpjJ7HeF1VgtjxE+gEm2FvLazs3WEh4XQQOKSNqOEiWfG89YtIigy83kEeuMdrdZE6gGl1wKDo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707725480; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=EANvC5QQ78Mz8/ffDHiIQ8zDYj2ae+C8yyQEmzE2l3U=; b=l4aRSmBIMP2r8YjgmZVqlaCFg6Mxi6s/8kdWHuiq/4J6FxeEVh2+gq84/MxyfpOZDQ6oeCq5LQnVvjLCSIJf4sM7He76a6NqV6La5cObApGh3z4cYsz3w/qx2yr8mXZlzxg60nS0nODyIqtyg/UC9F4m3vD6ggAtxq6QA+rt+Mo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1707725480; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=EANvC5QQ78Mz8/ffDHiIQ8zDYj2ae+C8yyQEmzE2l3U=; b=VB9cRzsHxKTCNypM6+FC/pc3638fh2gOB2rmguDmCS6COEVCgXIz44fIcUSqD95s DKs1h2FJ2o485N9ikqc33rUGd8UfqOeRPYfP91apD9hsTLsFvcb2CmAFUZMcSunVPUE ir1tX/z7JntJidDVE+fKuxE9Sq59o3kieip398pY= Received: from localhost (36-109-142-46.pool.kielnet.net [46.142.109.36]) by mx.zohomail.com with SMTPS id 1707725477940862.2263443516173; Mon, 12 Feb 2024 00:11:17 -0800 (PST) User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: 68683-done@debbugs.gnu.org Subject: [PATCH] gnu: vpn-slice: Include required inputs "iproute" and "iptables". Date: Mon, 12 Feb 2024 09:10:43 +0100 Message-ID: <878r3qrtjx.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68683-done 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.0 (-) Thanks for the patch! I simplified it just a bit and pushed it with commit bd9da702123ab746bd43de5b0fc0c129874b15aa. -- Ricardo From unknown Fri Jun 20 05:36:12 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, 11 Mar 2024 11:24:12 +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