From patchwork Sat Sep 18 10:23:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33111 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E1C5227BBE3; Sat, 18 Sep 2021 11:24:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9A8AD27BBE1 for ; Sat, 18 Sep 2021 11:24:09 +0100 (BST) Received: from localhost ([::1]:36056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRXVw-0002HO-P9 for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 06:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRXVq-0002HG-CV for guix-patches@gnu.org; Sat, 18 Sep 2021 06:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRXVq-0006Ag-5L for guix-patches@gnu.org; Sat, 18 Sep 2021 06:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRXVp-0006qB-Tp for guix-patches@gnu.org; Sat, 18 Sep 2021 06:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50657] [PATCH] gnu: Add vpn-slice. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 10:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50657 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50657@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163196062526264 (code B ref -1); Sat, 18 Sep 2021 10:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2021 10:23:45 +0000 Received: from localhost ([127.0.0.1]:33611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXVY-0006pY-NX for submit@debbugs.gnu.org; Sat, 18 Sep 2021 06:23:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:39454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXVV-0006pM-3w for submit@debbugs.gnu.org; Sat, 18 Sep 2021 06:23:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRXVU-0002Gn-UZ for guix-patches@gnu.org; Sat, 18 Sep 2021 06:23:40 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]:18904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRXVP-0005mp-S4 for guix-patches@gnu.org; Sat, 18 Sep 2021 06:23:40 -0400 Date: Sat, 18 Sep 2021 10:23:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631960612; bh=HrFruJogHz352Lnbe4HZq/7ePeGKV/kQisZMLHKiwdI=; h=Date:To:From:Reply-To:Subject:From; b=v1L2zOFqLWpnepD5kxkMG9KxY7Lxm0m6IuOL8NB90eDqJLj63fwm5bspyJZiLh7Ok 03ZCaXwRyUIV8947ySl/4MoEj6dyNkJ8guACOP2guTe9S4GvflEVJQUt21X+Eh5TsZ sHLJLz9+IM/HMVDjvz48iikd3FwvNsmOOvbys/ss= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.17; envelope-from=phodina@protonmail.com; helo=mail-4317.protonmail.ch X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vpn.scm (vpn-slice): New variable. --- 2.32.0 diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 330a3271b4..4d49597564 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Domagoj Stolfa ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 jgart +;;; Copyright © 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -432,6 +433,31 @@ file for more details.") ;; src/libstrongswan/plugins/des/des_crypter.c license:bsd-4)))) +(define-public vpn-slice + (package + (name "vpn-slice") + (version "0.15") + (source + (origin + (method url-fetch) + (uri (pypi-uri "vpn-slice" version)) + (sha256 + (base32 + "0lv3g1bq6ssz6fn6zlzn12dahc4d7nf7kjwxsnb5d7gdrfp36lbx")))) + (build-system python-build-system) + (native-inputs `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-dnspython" ,python-dnspython) + ("python-setproctitle" ,python-setproctitle))) + (home-page + "https://github.com/dlenski/vpn-slice") + (synopsis + "Easy and secure split-tunnel VPN setup") + (description + "Minimize your contact with an intrusive VPN - split your traffic +between the VPN tunnel and your normal network interfaces") + (license license:gpl3))) + (define-public vpnc (package (name "vpnc")