From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kImfI4OV+GMWagEAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 11:46:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WP2pI4OV+GPT+QAA9RJhRA (envelope-from ) for ; Fri, 24 Feb 2023 11:46:27 +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 3D81330B9A for ; Fri, 24 Feb 2023 11:46:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVVaa-0003pp-LI; Fri, 24 Feb 2023 05:46:08 -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 1pVVaW-0003oh-2f for guix-patches@gnu.org; Fri, 24 Feb 2023 05:46:04 -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 1pVVaU-0007Xv-3V for guix-patches@gnu.org; Fri, 24 Feb 2023 05:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVVaT-00005k-W8 for guix-patches@gnu.org; Fri, 24 Feb 2023 05:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61686] [PATCH] gnu: Add dropwatch. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Feb 2023 10:46: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: Bruno Victal Cc: me@tobias.gr, 61686@debbugs.gnu.org Received: via spool by 61686-submit@debbugs.gnu.org id=B61686.167723551032748 (code B ref 61686); Fri, 24 Feb 2023 10:46:01 +0000 Received: (at 61686) by debbugs.gnu.org; 24 Feb 2023 10:45:10 +0000 Received: from localhost ([127.0.0.1]:36027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVVZd-0008W7-MS for submit@debbugs.gnu.org; Fri, 24 Feb 2023 05:45:10 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:47089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVVZa-0008Ul-Uv for 61686@debbugs.gnu.org; Fri, 24 Feb 2023 05:45:07 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6202C24000D; Fri, 24 Feb 2023 10:44:57 +0000 (UTC) From: Nicolas Goaziou References: <43b683614e136e70894ba395a6759dc714fe2faf.1677006911.git.mirai@makinata.eu> Date: Fri, 24 Feb 2023 11:44:50 +0100 In-Reply-To: <43b683614e136e70894ba395a6759dc714fe2faf.1677006911.git.mirai@makinata.eu> (Bruno Victal's message of "Tue, 21 Feb 2023 19:19:55 +0000") Message-ID: <87cz5znxzx.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677235587; 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=4mtCjO5MDBtlacU3jUFoPzAO/y3iPwdDBpppM6ZPU6c=; b=hvpHOpnGwRtLA1fh3CKT+zk4y7WGXm9tD2NAySesqgT8OecNii5RhvNkJLJ1d+h/RLc0qP gi+4LcOMe5t968TW7hUFBIIpf/7I/hdM+vGeHFFtaLmRggWBVYc6jXc9s4rqDiYDKdGVkE j8O3VKuH2T2N4CTjDSXQV+FWIRyu6EjhbrByiR2nwju5PqBqB05XICQoRXidBFR9LHgFZZ k4biuC6t+qHPedN02Y3xKgmcIm8VL+Pf4yXyZRJCbHewwrOybS+/c/+TnSSCFwbSRX662u eZhYfBID2m+iX/vn3qHE/sCscujsUC+fENbWKvRaotMtupHJXJIjVk9bsiUkAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677235587; a=rsa-sha256; cv=none; b=av1ES37mrR26kiqKXhFbDD3VSdiwp0YVXHv63Y/OZi97o7ZZ2ZZ80PIc7eS2SxwZ8b2Ka5 Tz5WNHNb1ut4MRwhvCVXIKLHesyg3IHtD/7isbJMI6t6GICml7GU6NQPFIoG9c0AKu57Fj Fi+CX/bCTcMPwm06M/sqUA3uom7uhYzGyuFzq7TQoV7tx/C3k2JmwE8PH0aCkmfCdVDuAU TbwRYVY3+BYyrr+R8rpEus20dy2yFQChSbgP5n8lUIIOLQ9l+Q0BxxaHrkzlnjh4X4PV+h QnHk2h8LtMkLiJdL+yYtZSlre6q/CxVesbNxN4zWZ4eNcv00RhCxCLlXp1aF7A== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.28 X-Spam-Score: -3.28 X-Migadu-Queue-Id: 3D81330B9A X-TUID: ZfYevkiWUDOF Hello, Bruno Victal writes: > * gnu/packages/networking.scm (dropwatch): New variable. Thanks. > --- > Note: the kernel option NET_DROP_MONITOR must be set for this package > to work. Do you think it is worth mentioning in the description? AFAICT, Guix does not set this option by default. > +(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") You can drop the ".git" suffix here. > + (commit (string-append "v" version)))) You also need to add (file-name (git-file-name name version)) for proper naming in the store. > + (sha256 > + (base32 > + "1r653y7bx763fpxl1vrflx8bzcrbds98zk4z7yhfikjngrqn1f2d"))= )) > + (build-system gnu-build-system) > + ;; XXX: bfd support isn't finished. > + ;; https://github.com/nhorman/dropwatch/issues/76#issuecomment-13283= 45444 > + (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 "Kernel dropped packet monitor") > + (description > + "dropwatch is an interactive utility for monitoring and Nicpick: dropwatch =E2=80=94> Dropwatch > +recording packets that are dropped by the kernel. It provides the comman= ds You need separate sentences with two spaces, per Texinfo syntax. > +@command{dropwatch} and @command{dwdump}.") > + (license license:gpl2+))) Regards, --=20 Nicolas Goaziou