GNU bug report logs - #30002
[PATCH 1/2] gnu: Add darkstat.

Previous Next

Package: guix-patches;

Reported by: 宋文武 <iyzsong <at> member.fsf.org>

Date: Sat, 6 Jan 2018 08:46:01 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: iyzsong <at> member.fsf.org (宋文武)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30002: closed ([PATCH 1/2] gnu: Add darkstat.)
Date: Mon, 08 Jan 2018 13:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 08 Jan 2018 20:59:53 +0800
with message-id <87lgh8ijzq.fsf <at> member.fsf.org>
and subject line Re: [bug#30002] [PATCH 1/2] gnu: Add darkstat.
has caused the debbugs.gnu.org bug report #30002,
regarding [PATCH 1/2] gnu: Add darkstat.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30002
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> member.fsf.org>
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 1/2] gnu: Add darkstat.
Date: Sat,  6 Jan 2018 16:45:22 +0800
* 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 <at> gnu.org>
+;;; Copyright © 2018 Sou Bunnbu <iyzsong <at> 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



[Message part 3 (message/rfc822, inline)]
From: iyzsong <at> member.fsf.org (宋文武)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 30002-done <at> debbugs.gnu.org
Subject: Re: [bug#30002] [PATCH 1/2] gnu: Add darkstat.
Date: Mon, 08 Jan 2018 20:59:53 +0800
ludo <at> gnu.org (Ludovic Courtès) writes:

> 宋文武 <iyzsong <at> member.fsf.org> skribis:
>
>> * gnu/packages/monitoring.scm (darkstat): New variable.
>
> LGTM, thanks!
>

Pushed, thank you!


This bug report was last modified 7 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.