From patchwork Mon Sep 27 22:32:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33370 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 6331027BBE3; Mon, 27 Sep 2021 23:33:10 +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 1047A27BBE1 for ; Mon, 27 Sep 2021 23:33:10 +0100 (BST) Received: from localhost ([::1]:38320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUzBN-0007t8-6K for patchwork@mira.cbaines.net; Mon, 27 Sep 2021 18:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUzBG-0007so-UW for guix-patches@gnu.org; Mon, 27 Sep 2021 18:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUzBG-0001dK-Mk for guix-patches@gnu.org; Mon, 27 Sep 2021 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUzBG-0000TO-JN for guix-patches@gnu.org; Mon, 27 Sep 2021 18:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50657] [PATCH v2] gnu: Add vpn-slice. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50657 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 50657@debbugs.gnu.org Received: via spool by 50657-submit@debbugs.gnu.org id=B50657.16327819761805 (code B ref 50657); Mon, 27 Sep 2021 22:33:02 +0000 Received: (at 50657) by debbugs.gnu.org; 27 Sep 2021 22:32:56 +0000 Received: from localhost ([127.0.0.1]:43060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUzB9-0000T3-Mb for submit@debbugs.gnu.org; Mon, 27 Sep 2021 18:32:55 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:42512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUzB7-0000Sq-J7 for 50657@debbugs.gnu.org; Mon, 27 Sep 2021 18:32:54 -0400 Date: Mon, 27 Sep 2021 22:32:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632781966; bh=vAE5tvLxM7w1htIykpzsRF3tAoDMRD1o5coakdzK+pg=; h=Date:To:From:Cc:Reply-To:Subject:From; b=Is9+ZxbSIrJe0Vw4SL3DDPW9Ux43mkL/nQFuEea1VfDaIAG85eO6j54S8/3jafx95 KsxvMA2mHdSjIFOZj08kzjKrRPIzJF2Huym22YiMqxnpSTOqcJzRK8zB6slBakV/qN hgHESe7f/GzA6tq/ig1v0lv3iNsGmQdUQRGkZFPY= Message-ID: MIME-Version: 1.0 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 Hi Xinglu, I checked the /etc/hosts and seems that on Guix System there aren't symlink to the /gnu/store. $ readlink -f /etc/hostname /etc/hostname --8<---------------cut here---------------start------------->8--- * 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..cf79bc07f8 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,29 @@ 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 "This package allows you to 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")