From patchwork Mon Jan 11 16:32:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 26317 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 47EF427BC10; Mon, 11 Jan 2021 16:33:58 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D40B127BC0F for ; Mon, 11 Jan 2021 16:33:57 +0000 (GMT) Received: from localhost ([::1]:49658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz08j-00031W-1Z for patchwork@mira.cbaines.net; Mon, 11 Jan 2021 11:33:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz07u-0002gS-O1 for guix-patches@gnu.org; Mon, 11 Jan 2021 11:33:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz07q-0007wQ-DE for guix-patches@gnu.org; Mon, 11 Jan 2021 11:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz07q-0007Dr-Ah for guix-patches@gnu.org; Mon, 11 Jan 2021 11:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39961] [PATCH] gnu: Add traceroute. References: In-Reply-To: Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39961@debbugs.gnu.org Received: via spool by 39961-submit@debbugs.gnu.org id=B39961.161038277627752 (code B ref 39961); Mon, 11 Jan 2021 16:33:02 +0000 Received: (at 39961) by debbugs.gnu.org; 11 Jan 2021 16:32:56 +0000 Received: from localhost ([127.0.0.1]:58111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz07k-0007DY-Eu for submit@debbugs.gnu.org; Mon, 11 Jan 2021 11:32:56 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:41828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz07i-0007DK-CX for 39961@debbugs.gnu.org; Mon, 11 Jan 2021 11:32:55 -0500 Received: by mail-wr1-f47.google.com with SMTP id a12so394137wrv.8 for <39961@debbugs.gnu.org>; Mon, 11 Jan 2021 08:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aqEvJ2xWLABlnRNCHV5IxYpWB+hwBeZhXFZ3m8fSKEE=; b=I8lupwJbv3a8MyyhQpBZIROQZFnxuqTf2+1ycfcjnLROedHGj4UAiKdQxj/z4D5m42 GaelgB28J8bnSpEs+IFRq4CqJQxeYhetvz99U/czmh+mhiILC+4LOpn8cYj+EknxTAp5 pMfi1K8tBRpAJQZaOQ2Fr0j89IAz3eePt+imQcAZnilZx0NBnwvECfA2Ocmg8R2bZBe9 0ib1laP9OnEA03SX5wzoTglH1mgl6dQW1+N/1sWdO4I0oIviFcPYvC6oD2C0BwPqNHNs gtdssET1EwkVYkqUaCBWjKd0NLBtsbeiJCS8+oJ5RpiKZgT1jubGBrqmSFd8x0FHf6u+ SH4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aqEvJ2xWLABlnRNCHV5IxYpWB+hwBeZhXFZ3m8fSKEE=; b=XMLQpTgjBIvH9YNRiOPTh/qjlPtRA5J8ybiKoPbUMCXspB8PjC4PH5xUxRj/SHC5pw OC+f9NNV+iLrY85a8JHeGTCocAdRZSZu2toNsDfReeawOoBWubEXxfeI5nCsykjR5DCb SOPQ7xstm85X4C6svmYy2RsqJtsFIMAIM8uGUz9onj1wfrKIyr8LH/FWJTvBSVxqCKZJ +4JHQYRMn04LGJTgYTrFpqawMj7yRDz3wIwDRTJixSGuRBzQcKkLDQ6zYYQoRQ2LqwCr FZAuHBJdQ29+/Tj5Whyk7jz7Ha6NQBQqXEJLKeIMN27xrtQwALBBGlt3CIUHaOltRGGm LmOA== X-Gm-Message-State: AOAM532YBmT330fsHvI6OhspRfGyzAItmmgVJWjmizE9KNdFc55J+E6c A8+1Z52AKgSlZ+knMZMHHJv5AG2qfPU= X-Google-Smtp-Source: ABdhPJyG19/kQAerrsHh3zECFtJoyhtHx9U4QsSc+3HMNCn1qKNuU9BwYQPHH0zjcBFdZ5OAljSazQ== X-Received: by 2002:adf:9d82:: with SMTP id p2mr16973560wre.330.1610382768818; Mon, 11 Jan 2021 08:32:48 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id o13sm153408wrh.88.2021.01.11.08.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 08:32:48 -0800 (PST) From: Vincent Legoll Date: Mon, 11 Jan 2021 17:32:40 +0100 Message-Id: <20210111163240.20986-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/networking.scm (traceroute): New variable. --- gnu/packages/networking.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 83a99ded72..4c3faaa578 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3680,6 +3680,45 @@ simulation, and a number of other applications.") network. This must be enabled on the target host, usually in the BIOS.") (license license:gpl2))) +(define-public traceroute + (package + (name "traceroute") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/traceroute/traceroute/" + "traceroute-" version "/traceroute-" version ".tar.gz")) + (sha256 + (base32 "1dh32vcfawkl1p9g4ral1p0camds4paqr8db1kaqxwyk6hmd4s9n")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No tests. + #:make-flags + (list (string-append "LIBRARY_PATH=" + (assoc-ref %build-inputs "libc") "/lib") + (string-append "CFLAGS=-I" + (assoc-ref %build-inputs "kernel-headers") "/include") + "LDFLAGS=-lm -L../libsupp" + (string-append "prefix=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-make + (lambda _ + (substitute* "default.rules" + ((" \\$\\(LIBDEPS\\)") "$(filter-out -l%,$(LIBDEPS))")) + #t)) + (delete 'bootstrap) ; there is no configure.ac file + (delete 'configure)))) ; there is no configure script + (home-page "http://traceroute.sourceforge.net/") + (synopsis "Tracks the route taken by packets over an IP network") + (description "Traceroute tracks the route packets taken from an IP network +on their way to a given host. It utilizes the IP protocol's time to live (TTL) +field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway +along the path to the host.") + (license '(license:gpl2+ + license:lgpl2.1+)))) ; for the libsupp subdirectory + (define-public vde2 (package (name "vde2")