unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65163] [PATCH] gnu: Add dnstracer.
@ 2023-08-09  0:50 Maxim Cournoyer
  2023-08-12 21:04 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-08-09  0:50 UTC (permalink / raw)
  To: 65163, maxim.cournoyer

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

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 542e93891c..2088f9108f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4617,6 +4617,42 @@ (define-public vnstat
 of system resources regardless of network traffic rate.")
    (license license:gpl2+)))
 
+(define-public dnstracer
+  (package
+    (name "dnstracer")
+    (version "1.10")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.mavetju.org/download/"
+                                  name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "089bmrjnmsga2n0r4xgw4bwbf41xdqsnmabjxhw8lngg2pns1kb4"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:tests? #f                  ;no test suite
+           #:make-flags #~(list (string-append "PREFIX=" #$output)
+                                (string-append "CC=" #$(cc-for-target)))
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'patch-makefile
+                          (lambda _
+                            (substitute* "Makefile"
+                              (("\\$\\{PREFIX}/man")
+                               "${PREFIX}/share/man")
+                              (("^install:.*" all)
+                               (string-append
+                                all
+                                "\tinstall -d ${BINPREFIX}\n"
+                                "\tinstall -d ${MANPREFIX}\n")))))
+                        (delete 'configure))))
+    (native-inputs (list perl))         ;for pod2man
+    (home-page "http://www.mavetju.org/unix/dnstracer.php")
+    (synopsis "Trace a chain of DNS servers to the source")
+    (description "@command{dnstracer} determines where a given Domain Name
+Server (DNS) gets its information from, and follows the chain of DNS servers
+back to the servers which know the data.")
+    (license license:bsd-2)))
+
 (define-public dropwatch
   (package
     (name "dropwatch")

base-commit: 782ef67a59f4b564f16101cf23c30a3777b3f734
-- 
2.41.0





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

* [bug#65163] [PATCH] gnu: Add dnstracer.
  2023-08-09  0:50 [bug#65163] [PATCH] gnu: Add dnstracer Maxim Cournoyer
@ 2023-08-12 21:04 ` Ludovic Courtès
  2023-08-15 13:52   ` bug#65163: " Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2023-08-12 21:04 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 65163

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

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

Hi, LGTM!

Ludo’.




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

* bug#65163: [PATCH] gnu: Add dnstracer.
  2023-08-12 21:04 ` Ludovic Courtès
@ 2023-08-15 13:52   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-08-15 13:52 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 65163-done

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> * gnu/packages/networking.scm (dnstracer): New variable.
>
> Hi, LGTM!
>
> Ludo’.

Installed, thank you!

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-08-15 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-09  0:50 [bug#65163] [PATCH] gnu: Add dnstracer Maxim Cournoyer
2023-08-12 21:04 ` Ludovic Courtès
2023-08-15 13:52   ` bug#65163: " Maxim Cournoyer

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).