From patchwork Sun Feb 9 22:50:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 20205 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 4C48A17AF9; Sun, 9 Feb 2020 22:51:11 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 ESMTP id BD54217A2F for ; Sun, 9 Feb 2020 22:51:10 +0000 (GMT) Received: from localhost ([::1]:54948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0vPy-0007dP-BM for patchwork@mira.cbaines.net; Sun, 09 Feb 2020 17:51:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50626) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0vPr-0007dJ-L9 for guix-patches@gnu.org; Sun, 09 Feb 2020 17:51:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0vPq-0004Ng-BE for guix-patches@gnu.org; Sun, 09 Feb 2020 17:51:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0vPq-0004NU-74 for guix-patches@gnu.org; Sun, 09 Feb 2020 17:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0vPq-0001LC-5m for guix-patches@gnu.org; Sun, 09 Feb 2020 17:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39528] [PATCH v3] Add tunctl References: In-Reply-To: Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Feb 2020 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39528 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39528@debbugs.gnu.org Received: via spool by 39528-submit@debbugs.gnu.org id=B39528.15812886405124 (code B ref 39528); Sun, 09 Feb 2020 22:51:02 +0000 Received: (at 39528) by debbugs.gnu.org; 9 Feb 2020 22:50:40 +0000 Received: from localhost ([127.0.0.1]:53367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0vPQ-0001KX-SA for submit@debbugs.gnu.org; Sun, 09 Feb 2020 17:50:40 -0500 Received: from mail-io1-f41.google.com ([209.85.166.41]:44848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0vPP-0001KL-RE for 39528@debbugs.gnu.org; Sun, 09 Feb 2020 17:50:36 -0500 Received: by mail-io1-f41.google.com with SMTP id z16so5470159iod.11 for <39528@debbugs.gnu.org>; Sun, 09 Feb 2020 14:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fwt38xX3NYG6ePA5Q7K141Y/Kuzy+UehwPKi+fLPPlQ=; b=Vd/WN1cD/duZZgWAbOTSm8a1lHa2lhVcoWy0Ia1f02uVncAZUJBQ7ge2mtWwxVj0HM MWz2p5E6I/+uUVvcTZEmGWBLzPa00ubpXK2SRj0DLPEoE/JaqBdnnhcc8OLkbIZkcNMS xG5xcwQOVL3HHT2uT5ld64DNiFSBEg4Cf7j0jF/v5g4+i2ysmL2XPDN7TnsqTQM+sdaN UNeW0fTqjPd4z40YJQPkotsRyobRdZtQ9YmnA3RMcbGvD+K9rJsMuV/WjcWZsjls2KYb p/DYZ+PiCgLX/bwiz13nUcYayBLZa2q+4vSHGUd0kVUcGM5h67UpaHmXTn9QE6iFNcGS p+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fwt38xX3NYG6ePA5Q7K141Y/Kuzy+UehwPKi+fLPPlQ=; b=c3I3r6wk+I8EqxLaFXYAJVMKdw4bRxR66t959tS4BcXw4TOlYjo6R6BYpVoia3xygN mrkFFvZzCxmqqXqigdxdY/RylvqTa5efuaRaWMzELgWcZg3ysk+eHhPpBu9AE6V8PC5/ Nq6BhQoVvi8pcoqmkNGOdOTO3Npu1BxQVMqS60fEtG6yuKvQ2qD2UNJQNsn1NgKv6FsC eliVf/Lia2tJKZTjKlcNxEkHdIBuKeATyQWqvV3wqZXmVM0rpu66aC+rqL6FRXnuyMv4 fAi8VX5c4yVEu+InHGsffPrtOmZeC7n2zHrEAYYsnKyUoQJEHU+oi41P2U95+QnTdmAG epLA== X-Gm-Message-State: APjAAAUMDEBPCmoMY9AF07exPKQYEynYwdQFyI40ITGhOqBzlfO2cgM2 XVgdyVIvB8VhDptm72Rgqtysc3Vc6r7RX+nMEhc+Bw== X-Google-Smtp-Source: APXvYqzTYy7aUbZupY66pq3IhXQ3Ta2Q9eLdXb9NSJn/15bH/Dva8QFI2yVo0MEqq7E0NVxOnLa8OKQBnx+TQIHJytA= X-Received: by 2002:a6b:fd18:: with SMTP id c24mr6731313ioi.189.1581288630189; Sun, 09 Feb 2020 14:50:30 -0800 (PST) MIME-Version: 1.0 From: Vincent Legoll Date: Sun, 9 Feb 2020 23:50:19 +0100 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches with a better commit msg this time From 0f0407f746a6447898b34ba0116801f8fe5db216 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sun, 9 Feb 2020 16:34:23 +0100 Subject: [PATCH] gnu: networking: Add tunctl * gnu/packages/networking.scm (tunctl): New variable. --- gnu/packages/networking.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index ed339524c0..fc6ab6349d 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2019 Jan Wielkiewicz ;;; Copyright © 2019 Daniel Schaefer ;;; Copyright © 2019 Diego N. Barbato +;;; Copyright © 2020 Vincent Legoll ;;; ;;; This file is part of GNU Guix. ;;; @@ -2824,6 +2825,42 @@ easy-to-understand binary values.") (home-page "http://jodies.de/ipcalc") (license license:gpl2+))) +(define-public tunctl + (package + (name "tunctl") + (version "1.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/tunctl/tunctl-" + version ".tar.gz")) + (sha256 + (base32 + "1zsgn7w6l2zh2q0j6qaw8wsx981qcr536qlz1lgb3b5zqr66qama")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'bootstrap) ; there is no configure.ac file + (delete 'configure) ; there is no configure script + (delete 'check) ; there are no tests + (replace 'build + (lambda _ + (setenv "CC" "gcc") + (invoke "make" "tunctl"))) + ;; TODO: Requires docbook2x to generate man page from SGML + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (copy-file "tunctl" + (string-append bin "/tunctl"))) + #t))))) + (home-page "http://tunctl.sourceforge.net") + (synopsis "Utility to set up and maintain TUN/TAP network interfaces") + (description "Utility to set up and maintain TUN/TAP network interfaces") + (license license:gpl2))) + (define-public vde2 (package (name "vde2") -- 2.25.0