GNU bug report logs -
#27671
[PATCH] gnu: Add bmon.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Wed, 12 Jul 2017 15:45:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27671 in the body.
You can then email your comments to 27671 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#27671
; Package
guix-patches
.
(Wed, 12 Jul 2017 15:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 12 Jul 2017 15:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (bmon): New variable.
---
gnu/packages/networking.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d4b9a3d12..c6a47f924 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2016 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;; Copyright © 2016 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2016, 2017 ng0 <ng0 <at> libertad.pw>
-;;; Copyright © 2016 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2016, 2017 Arun Isaac <arunisaac <at> systemreboot.net>
;;; Copyright © 2016 Benz Schenk <benz.schenk <at> uzh.ch>
;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix <at> thebird.nl>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe <at> gmail.com>
@@ -70,6 +70,7 @@
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
+ #:use-module (gnu packages wm)
#:use-module (gnu packages xml)
#:use-module (ice-9 match))
@@ -1387,3 +1388,30 @@ newer and only works on Ethernet network interfaces.")
;; AGPL 3 with exception for linking with OpenSSL. See the 'LICENSE' file in
;; the source distribution for more information.
(license license:agpl3)))
+
+(define-public bmon
+ (package
+ (name "bmon")
+ (version "4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0ylzriv4pwh76344abzl1w219x188gshbycbna35gsyfp09c7z82"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libconfuse" ,libconfuse)
+ ("libnl" ,libnl)
+ ("ncurses" ,ncurses)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (synopsis "Bandwidth monitor")
+ (description "bmon is a monitoring and debugging tool to capture
+networking related statistics and prepare them visually in a human friendly
+way. It features various output methods including an interactive curses user
+interface and a programmable text output for scripting.")
+ (home-page "https://github.com/tgraf/bmon")
+ (license (list license:bsd-2
+ license:expat))))
--
2.12.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27671
; Package
guix-patches
.
(Wed, 12 Jul 2017 17:05:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 27671 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun,
Thanks! Just a few comments:
On 12/07/17 17:43, Arun Isaac wrote:
> +(define-public bmon
> + (package
> + (name "bmon")
> + (version "4.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-"
Use ‘version’ instead of "4.0" here, as well.
> + version ".tar.gz"))
> + (sha256
> + (base32
> + "0ylzriv4pwh76344abzl1w219x188gshbycbna35gsyfp09c7z82"))))
> + (build-system gnu-build-system)
> + (inputs
> + `(("libconfuse" ,libconfuse)
> + ("libnl" ,libnl)
> + ("ncurses" ,ncurses)))
> + (native-inputs `(("pkg-config" ,pkg-config)))
I'd write this as two lines for consistency and aesthetics.
> + (synopsis "Bandwidth monitor")
> + (description "bmon is a monitoring and debugging tool to capture
> +networking related statistics and prepare them visually in a human friendly
‘networking-related’, ‘human-friendly’.
> +way. It features various output methods including an interactive curses user
> +interface and a programmable text output for scripting.")
> + (home-page "https://github.com/tgraf/bmon")
> + (license (list license:bsd-2
> + license:expat))))
Hm. Do you know which files are BSD-licenced? Quite a few have an
expat-style header, but only ‘README.md’ mentions BSD (while saying
nothing of use).
Kind regards,
T G-R
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27671
; Package
guix-patches
.
(Wed, 12 Jul 2017 17:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 27671 <at> debbugs.gnu.org (full text, mbox):
Tobias Geerinckx-Rice writes:
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append "https://github.com/tgraf/bmon/releases/download/v4.0/bmon-"
>
> Use ‘version’ instead of "4.0" here, as well.
Noted.
>> + (native-inputs `(("pkg-config" ,pkg-config)))
>
> I'd write this as two lines for consistency and aesthetics.
Noted.
>> + (description "bmon is a monitoring and debugging tool to capture
>> +networking related statistics and prepare them visually in a human friendly
>
> ‘networking-related’, ‘human-friendly’.
Noted.
>> + (license (list license:bsd-2
>> + license:expat))))
>
> Hm. Do you know which files are BSD-licenced? Quite a few have an
> expat-style header, but only ‘README.md’ mentions BSD (while saying
> nothing of use).
You are right. All files have expat license headers. I have contacted
the author seeking clarification.
https://github.com/tgraf/bmon/issues/59
Let's wait and see if the author replies in a few days.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27671
; Package
guix-patches
.
(Thu, 20 Jul 2017 15:02:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 27671 <at> debbugs.gnu.org (full text, mbox):
>>> + (license (list license:bsd-2
>>> + license:expat))))
>>
>> Hm. Do you know which files are BSD-licenced? Quite a few have an
>> expat-style header, but only ‘README.md’ mentions BSD (while saying
>> nothing of use).
>
> You are right. All files have expat license headers. I have contacted
> the author seeking clarification.
>
> https://github.com/tgraf/bmon/issues/59
>
> Let's wait and see if the author replies in a few days.
No response from upstream yet. How shall we proceed?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27671
; Package
guix-patches
.
(Thu, 20 Jul 2017 16:01:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 27671 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun,
On 20/07/17 17:00, Arun Isaac wrote:
>>>> + (license (list license:bsd-2
>>>> + license:expat))))
>>>
>>> Hm. Do you know which files are BSD-licenced? Quite a few have an
>>> expat-style header, but only ‘README.md’ mentions BSD (while saying
>>> nothing of use).
>>
>> You are right. All files have expat license headers. I have contacted
>> the author seeking clarification.
>>
>> https://github.com/tgraf/bmon/issues/59
>>
>> Let's wait and see if the author replies in a few days.
>
> No response from upstream yet. How shall we proceed?
Thanks for keeping track of this!
While it's always good to be certain (even authors sometimes get
confused about their own intentions), it's not like we risk omitting a
licence or misrepresenting the author's intent in this case.
I'd say this is fine to push with the above licence list + a short
explanation + link to your issue report. We can always amend it later.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, attachment)]
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Fri, 21 Jul 2017 04:08:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Fri, 21 Jul 2017 04:08:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 27671-done <at> debbugs.gnu.org (full text, mbox):
Pushed!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 18 Aug 2017 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.