From: 宋文武 <iyzsong@member.fsf.org>
To: 30002@debbugs.gnu.org
Subject: [bug#30002] [PATCH 1/2] gnu: Add darkstat.
Date: Sat, 6 Jan 2018 16:45:22 +0800 [thread overview]
Message-ID: <20180106084523.29095-1-iyzsong@member.fsf.org> (raw)
* gnu/packages/monitoring.scm (darkstat): New variable.
---
gnu/packages/monitoring.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index c136265c5..f178232cc 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +23,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system perl)
#:use-module (guix build-system gnu)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gd)
@@ -122,3 +124,35 @@ etc. via a Web interface. Features include:
notification and problem history, log file, etc.
@end itemize\n")
(license license:gpl2)))
+
+(define-public darkstat
+ (package
+ (name "darkstat")
+ (version "3.0.719")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://unix4lyfe.org/darkstat/darkstat-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "1mzddlim6dhd7jhr4smh0n2fa511nvyjhlx76b03vx7phnar1bxf"))))
+ (build-system gnu-build-system)
+ (arguments '(#:tests? #f)) ; no tests
+ (inputs
+ `(("libpcap" ,libpcap)
+ ("zlib" ,zlib)))
+ (home-page "https://unix4lyfe.org/darkstat/")
+ (synopsis "Network statistics gatherer")
+ (description
+ "@command{darkstat} is a packet sniffer that runs as a background process,
+gathers all sorts of statistics about network usage, and serves them over
+HTTP. Features:
+
+@itemize
+@item Traffic graphs, reports per host, shows ports for each host.
+@item Embedded web-server with deflate compression.
+@item Asynchronous reverse DNS resolution using a child process.
+@item Small. Portable. Single-threaded. Efficient.
+@item Supports IPv6.
+@end itemize")
+ (license license:gpl2)))
--
2.13.3
next reply other threads:[~2018-01-06 8:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-06 8:45 宋文武 [this message]
2018-01-06 8:45 ` [bug#30003] [PATCH 2/2] gnu: services: Add darkstat service 宋文武
2018-01-07 13:21 ` Ludovic Courtès
2018-01-08 12:59 ` bug#30003: " 宋文武
2018-01-07 11:52 ` [bug#30002] [PATCH 1/2] gnu: Add darkstat Ludovic Courtès
2018-01-08 12:59 ` bug#30002: " 宋文武
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180106084523.29095-1-iyzsong@member.fsf.org \
--to=iyzsong@member.fsf.org \
--cc=30002@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.