From patchwork Sun Feb 9 22:45:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 20204 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 B28C717AF9; Sun, 9 Feb 2020 22:47:14 +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 40A6B17A2F for ; Sun, 9 Feb 2020 22:47:14 +0000 (GMT) Received: from localhost ([::1]:54932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0vM9-0006xh-QQ for patchwork@mira.cbaines.net; Sun, 09 Feb 2020 17:47:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0vLz-0006xZ-TL for guix-patches@gnu.org; Sun, 09 Feb 2020 17:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0vLy-0006y7-Jx for guix-patches@gnu.org; Sun, 09 Feb 2020 17:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0vLy-0006xw-Dw for guix-patches@gnu.org; Sun, 09 Feb 2020 17:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0vLy-0001Fh-Cg for guix-patches@gnu.org; Sun, 09 Feb 2020 17:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39528] [PATCH v2] 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:47: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.15812883624737 (code B ref 39528); Sun, 09 Feb 2020 22:47:02 +0000 Received: (at 39528) by debbugs.gnu.org; 9 Feb 2020 22:46:02 +0000 Received: from localhost ([127.0.0.1]:53363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0vL0-0001E9-1w for submit@debbugs.gnu.org; Sun, 09 Feb 2020 17:46:02 -0500 Received: from mail-il1-f182.google.com ([209.85.166.182]:42992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0vKu-0001Dg-Cs for 39528@debbugs.gnu.org; Sun, 09 Feb 2020 17:46:00 -0500 Received: by mail-il1-f182.google.com with SMTP id x2so4143235ila.9 for <39528@debbugs.gnu.org>; Sun, 09 Feb 2020 14:45:56 -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=Bmo6qBii2RPkGmjUWE6nejorFG4viRAwz3PL9d+GkH8=; b=UxIYLM6o2ysykfdw6IDW/CScaHyC8sJq+7tQyBnBPhVRowJbU4gRraOIDddS7m2kHB chrO+FA0ZFu5TXnyCL9w8bsWm7AxkqH3Mr136liOyKCC4VOFrU4DAJwzHghuyIARy1Ci 7I7MEv41jXO/DSyHzFwrABtKL4hWSWVlVZP+EFCx+bitg7j2ERtOV91Ql5Ebaw9xggAS 6NGRN4nZqlTw8tWypHMNCocRw9TzJwDAL7kneSh3pFVmZZngkw8UHeSbcot82d0tXFJm GiBCGsRCI9ATiOCOElrkk11rUE2yk8IK3ybf5svUiXGifhkQkwHFkO4T5pbckwnBhlPW G8eA== 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=Bmo6qBii2RPkGmjUWE6nejorFG4viRAwz3PL9d+GkH8=; b=c4hx6T585wLrS3PQCFj5l5txlCECU12bW7v2XFDWwDz93a4SjyVPoFAKGGalmXMvUO caH/eSV5rGk5BKiKW+cR681J4mPb470wYUEwpnDmokCLVp14BoJx+SoOGM0Ez/66BLWc jwQaCRZFiUzqQjC/Ax7phQlrlE1IBywSgIn5X/xxhjpfYg1YRnCPY83/zWx6tMWe9SVs bfgRQSbunS0L+F7m42O+bX4IasfHg6M23hS3WL1aL1MrhUxRV1scnnfuj8052NESDVWk G6BW2BfArOO8wlNzQ6wJrMhEdgCqYkbKIJBZJ83usv5KhvHEij+okaQiUyhexqkmFEvH q71w== X-Gm-Message-State: APjAAAXsoVtl6CpisBNlB4FJD5YvObEhZrm8l/zizensdrEir5rMYPw2 gPzUiwQ0P56EbqK3SVWbHdlvXtIePAVxjQEU7HmbbeIF X-Google-Smtp-Source: APXvYqwdYr7uYzwQaVtCpP1XoMMAK/AftTh1jnpc9RO/UXpzY8CrmpCDCfBzbi6O4Hiwtxn05MjkLJdYFcRoHasQ2xw= X-Received: by 2002:a92:51:: with SMTP id 78mr9722173ila.121.1581288350498; Sun, 09 Feb 2020 14:45:50 -0800 (PST) MIME-Version: 1.0 From: Vincent Legoll Date: Sun, 9 Feb 2020 23:45:39 +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 removed the S-O-B From 5644a3ee64ea0b6e99b936f65d4c18b55de0b268 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sun, 9 Feb 2020 16:34:23 +0100 Subject: [PATCH] gnu: 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