X-Loop: help-debbugs@HIDDEN Subject: [bug#73606] [PATCH] gnu: Add nettop. Resent-From: Greg Hogan <code@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 02 Oct 2024 20:48:02 +0000 Resent-Message-ID: <handler.73606.B.1727902080405 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 73606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73606 <at> debbugs.gnu.org Cc: Greg Hogan <code@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.1727902080405 (code B ref -1); Wed, 02 Oct 2024 20:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2024 20:48:00 +0000 Received: from localhost ([127.0.0.1]:59377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sw6GN-00006S-M6 for submit <at> debbugs.gnu.org; Wed, 02 Oct 2024 16:47:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:51614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <code@HIDDEN>) id 1sw6GM-00006K-Nz for submit <at> debbugs.gnu.org; Wed, 02 Oct 2024 16:47:59 -0400 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 <code@HIDDEN>) id 1sw6G8-0003s1-CC for guix-patches@HIDDEN; Wed, 02 Oct 2024 16:47:51 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <code@HIDDEN>) id 1sw6G4-0000uA-OR for guix-patches@HIDDEN; Wed, 02 Oct 2024 16:47:43 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6cb2e136da3so1976966d6.1 for <guix-patches@HIDDEN>; Wed, 02 Oct 2024 13:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1727902058; x=1728506858; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uU+NxHsfsRzRNck93RwQ9kIeWNFGO7VWpvgGuVECp/o=; b=SlORsCGzI+QO3iVLMplkWiERQd8H1rOyG8LhRIHIQq61UnarSKJdwdhjK6LdU0SQm5 HV5+FsfCDhag61cpVnZ7+bete6G0XIawdR1TPo5I4kHc01y6qbbEGbImuHyWAh3KO8Ye LBt+OdLXfU8GUn7jOoy2k6BI65ouaHDW+Glo4bccbXt8mnB7/AHfC40q4de2DLufR6el kJpfrNsTxFF+7estTWwZ+/JAw9iaKK0NWge16NUFl3FVCFmAWTeuUbWWj0mE8do3FYG6 h+V8g7LqwZr6C5r8lHpFBuZ4KQiwG5NVqCjYvnTxxTqYiK2dZozBhWBFPct468+m60GI UCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727902058; x=1728506858; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uU+NxHsfsRzRNck93RwQ9kIeWNFGO7VWpvgGuVECp/o=; b=vPSgOecJbQAUOseLmu165sMKv5f8G2NEqcR76DkTNUOV5r7NeVYqXXnowU5HWRbPC5 uF8OlKzfKR/Ws0f5npfAyJ/9W6dD6lQIlz2wunGS0r/dqiE5J3yTkEbmPO4DlVfca9mu AV2UfTPFutC40u1cURlDmr3nEolB4NeNOo1HhDPEuM4oiC3SLxbq3YLM0Yabe0PDoKNO jJ/RiSFxp4lN0PXsqqXsXdGVeuosfpOqKiAFGGwuk+qYMIw95q416VWsLgcHfmywCFIG 15QNo3olNpeFhveiyN10zybpzC2dwtW4IGF54fFfcK/bP/rhCya0mmZkuU0wuEGzMq9Y 3Z1g== X-Gm-Message-State: AOJu0Yww+0gWQBiM4CrlvKKs/DVAUiLgcuELhTQPRDeYoIzmdeW0V6Or D02BLseB35221R3AF5mZyWOr+IDndPWkMvxby6jwHUc8d82tF2r66uGemxT+1JEzNffGv83XDiE y X-Google-Smtp-Source: AGHT+IGySCT5ioLBu6guRBJX0RG2fRKxiIMSO5IWiCayNnu662pKTvi0QhjpBnSquYuuxT8ssPAswQ== X-Received: by 2002:ad4:4e0b:0:b0:6cb:8267:e285 with SMTP id 6a1803df08f44-6cb8267e36cmr51540136d6.0.1727902057981; Wed, 02 Oct 2024 13:47:37 -0700 (PDT) Received: from ip-10-114-89-186.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cb3b68009esm64868286d6.114.2024.10.02.13.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 13:47:36 -0700 (PDT) From: Greg Hogan <code@HIDDEN> Date: Wed, 2 Oct 2024 20:47:14 +0000 Message-ID: <b80401d5d9b9ad8ba87924876ec7e90e23e985c7.1727901727.git.code@HIDDEN> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::f2d; envelope-from=code@HIDDEN; helo=mail-qv1-xf2d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) * gnu/packages/admin.scm (nettop): New variable. Change-Id: If4d39d89265dfb568ccf98033ac8e4195bc4c025 --- gnu/packages/admin.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5c1b063d26..41abd5cd33 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3309,6 +3309,45 @@ (define-public iftop (home-page "http://www.ex-parrot.com/~pdw/iftop/") (license license:gpl2+))) +(define-public nettop + (let ((revision "0") + (commit "689d6557196e9fcc92cffba82e00fac0386419e5")) + (package + (name "nettop") + (version (git-version "0.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Emanem/nettop") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0f6qkj4p4c0gap16ncnhkm802vi6dr7z9rjfz7gzvzhm7jg08aj8")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "Makefile" + (("-lcurses" _) "-lncurses")))))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no make check + #:make-flags #~(list "release") + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install ; no install target + (lambda _ + (let ((out (string-append #$output "/bin"))) + (install-file "nettop" out))))))) + (inputs (list libpcap ncurses)) + (synopsis "Monitor network usage by process and host") + (description "nettop is a traffic visualizer for the terminal that +summarizes network bandwidth by process and remote host.") + (home-page "https://github.com/Emanem/nettop") + (license license:gpl3+)))) + (define-public munge (package (name "munge") base-commit: 6590f5c5cd30c4dcdb4309b1a7884cd9d0a4ae4d -- 2.46.1
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Greg Hogan <code@HIDDEN> Subject: bug#73606: Acknowledgement ([PATCH] gnu: Add nettop.) Message-ID: <handler.73606.B.1727902080405.ack <at> debbugs.gnu.org> References: <b80401d5d9b9ad8ba87924876ec7e90e23e985c7.1727901727.git.code@HIDDEN> X-Gnu-PR-Message: ack 73606 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73606 <at> debbugs.gnu.org Date: Wed, 02 Oct 2024 20:48:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 73606 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 73606: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73606 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.