From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oJb8MPZ1+mOMNgEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 21:56:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IJIiMPZ1+mMQYAEAG6o9tA (envelope-from ) for ; Sat, 25 Feb 2023 21:56:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8E6885B8B for ; Sat, 25 Feb 2023 21:56:22 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677358582; a=rsa-sha256; cv=none; b=aiclOvPx3kY5qHoO/8FVBqg1r6EQ8CBUlWulW6sYiM+H79e2PhOyo82UJDo6xUWLIOgYJ0 9RcYNH/sjRYQikMdFuTBBrpV+Cc02BzX4i1Cxs+cYY/aAQNGsRPKKVeHoC5rUllPriVpLT 0qegl9SeaW72rkBWNk22/GI+ZJTTJZ++YoTh8b1qT2H8RsTZ0VXt9WxF1qd7mEqBlykxmP Rh2NsaPgJD1rZkWh4s/eU/p05n7f/8leuUFEY4qHrscWQUjOIfhm24llr9EIPb1CuspVHN KUpIJ0f08QcQl0Cp9a8Apq+gURm7fbhUqlzD6Sb0H67UqwwQByrgIqyj9u5G5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677358582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=4xkehxP5cEbHqsAu/GWdloVCdfgF/3U5+uJOrzKKtos=; b=lfs2V1HeUAR9tYLlxBeMCe1zHFVQFHhFcuFyRELUiv3aDWsz4bspMm7NerYJNOYKQDwut0 LW2u6uRppN2x19ljpWMll4Y9pPH60qy1LI9GQ//rIEejHhFT27x0SkERyy3028IIvnqog0 aDjxAjjqZ5g/lYU4MccbJ48C4DK36dQj1X2P73uiVyvBQ38+49/nfpkhaCd/BCVDu3rBJh Vxnh6217jvFDp5zuP/zfXlrwGuLzIgVhee9lYD1DOYFKzCL2ekeIY+Yhw1hYV60b4EAu6f E8aQhM08PahuTR/ozKTrz6WfI8snBvocgfPuA5/PKvXibp+iOApxq2HfryWSGg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pW1aP-0002Lx-9v; Sat, 25 Feb 2023 15:56:05 -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 1pW1aM-0002La-Tr for guix-patches@gnu.org; Sat, 25 Feb 2023 15:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pW1aM-0000FE-BL for guix-patches@gnu.org; Sat, 25 Feb 2023 15:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pW1aL-0005A1-QH for guix-patches@gnu.org; Sat, 25 Feb 2023 15:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61686] [PATCH v2] gnu: Add dropwatch. References: <43b683614e136e70894ba395a6759dc714fe2faf.1677006911.git.mirai@makinata.eu> In-Reply-To: <43b683614e136e70894ba395a6759dc714fe2faf.1677006911.git.mirai@makinata.eu> Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Feb 2023 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61686@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 61686-submit@debbugs.gnu.org id=B61686.167735851519757 (code B ref 61686); Sat, 25 Feb 2023 20:56:01 +0000 Received: (at 61686) by debbugs.gnu.org; 25 Feb 2023 20:55:15 +0000 Received: from localhost ([127.0.0.1]:41710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW1Zb-00058b-GE for submit@debbugs.gnu.org; Sat, 25 Feb 2023 15:55:15 -0500 Received: from smtpm1.myservices.hosting ([185.26.105.232]:37632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW1ZW-00058N-DN for 61686@debbugs.gnu.org; Sat, 25 Feb 2023 15:55:14 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id F0B7C208FC for <61686@debbugs.gnu.org>; Sat, 25 Feb 2023 21:55:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 8455E80098; Sat, 25 Feb 2023 21:55:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vGPufwExGd3R; Sat, 25 Feb 2023 21:55:05 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id CAF9580097; Sat, 25 Feb 2023 21:55:04 +0100 (CET) From: Bruno Victal Date: Sat, 25 Feb 2023 20:55:02 +0000 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: 8E6885B8B X-Spam-Score: -3.48 X-Migadu-Spam-Score: -3.48 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: Yuy7ufe6ezkd * gnu/packages/networking.scm (dropwatch): New variable. --- gnu/packages/networking.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index b5e8afc728..ede0b37bec 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Reza Alizadeh Majd ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2023 Andreas Enge +;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -4619,3 +4620,31 @@ (define-public vnstat that vnStat won't actually be sniffing any traffic and also ensures light use of system resources regardless of network traffic rate.") (license license:gpl2+))) + +(define-public dropwatch + (package + (name "dropwatch") + (version "1.5.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nhorman/dropwatch.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r653y7bx763fpxl1vrflx8bzcrbds98zk4z7yhfikjngrqn1f2d")))) + (build-system gnu-build-system) + ;; XXX: bfd support isn't finished. + ;; https://github.com/nhorman/dropwatch/issues/76#issuecomment-1328345444 + (arguments + (list #:configure-flags #~(list "--without-bfd"))) + (native-inputs (list autoconf automake pkg-config)) + (inputs (list libnl libpcap readline)) + (home-page "https://github.com/nhorman/dropwatch") + (synopsis "Monitor for network packets dropped by the kernel") + (description + "Dropwatch is an interactive utility for monitoring and +recording packets that are dropped by the kernel. It provides the commands +@command{dropwatch} and @command{dwdump}.") + (license license:gpl2+))) -- 2.39.1