unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add httping.
@ 2016-07-26 20:14 Tobias Geerinckx-Rice
  2016-07-26 20:34 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2016-07-26 20:14 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/networking.scm (httping): New variable.
---
 gnu/packages/networking.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 14ae5c3..4adc329 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -31,11 +31,13 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages adns)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages linux)
@@ -376,3 +378,38 @@ sniffer}, that lets you capture and interactively browse the contents of
 network frames.")
     (license license:gpl2+)
     (home-page "https://www.wireshark.org/")))
+
+(define-public httping
+  (package
+    (name "httping")
+    (version "2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.vanheusden.com/httping/httping-"
+                           version ".tgz"))
+       (sha256
+        (base32
+         "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("gettext" ,gnu-gettext)))
+    (inputs
+     `(("fftw" ,fftw)
+       ("ncurses" ,ncurses)
+       ("openssl" ,openssl)))
+    (arguments
+     `(#:make-flags (list "CC=gcc"
+                          (string-append "DESTDIR=" (assoc-ref %outputs "out"))
+                          "PREFIX=")
+       #:tests? #f)) ; no tests
+    (home-page "https://www.vanheusden.com/httping/")
+    (synopsis "Web server latency and throughput monitor")
+    (description
+     "httping measures how long it takes to connect to a web server, send an
+HTTP(S) request, and receive the reply headers.  It is somewhat similar to
+@command{ping}, but can be used even in cases where ICMP traffic is blocked
+by firewalls or when you want to monitor the response time of the actual web
+application stack itself.")
+    (license (list license:agpl3        ; with permission to link with OpenSSL
+                   license:gpl2))))     ; man pages ('httping*.1')
-- 
2.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add httping.
  2016-07-26 20:14 [PATCH] gnu: Add httping Tobias Geerinckx-Rice
@ 2016-07-26 20:34 ` Ludovic Courtès
  2016-07-26 21:01   ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-07-26 20:34 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: guix-devel

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> * gnu/packages/networking.scm (httping): New variable.

[...]

> +    (license (list license:agpl3        ; with permission to link with OpenSSL
> +                   license:gpl2))))     ; man pages ('httping*.1')

All I see is ‘license.txt’, which says that it’s under GPLv2-only.
Should it be simply ‘license:gpl2’?

The rest looks good to me!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add httping.
  2016-07-26 20:34 ` Ludovic Courtès
@ 2016-07-26 21:01   ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2016-07-26 21:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludo',

On 26/07/2016 22:34, Ludovic Courtès wrote:
> All I see is ‘license.txt’, which says that it’s under GPLv2-only.
> Should it be simply ‘license:gpl2’?

Dammit, you're right. I wrote the expression for my own use, using git,
then changed it back to a release for submission here. I didn't realise
the relicencing was so recent.

However, in my AGPL3 HEAD, license.txt and LICENSE are still GPLv2 —
i.e. wrong. I'll write myself a note to ignore them when updating. I'll
send a note upstream as well.

Thanks,

T G-R

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-26 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 20:14 [PATCH] gnu: Add httping Tobias Geerinckx-Rice
2016-07-26 20:34 ` Ludovic Courtès
2016-07-26 21:01   ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).