From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mGulM9x9/F8iVgAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 16:33:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eJyTL9x9/F/CHwAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 16:33:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 831279402D4 for ; Mon, 11 Jan 2021 16:33:32 +0000 (UTC) Received: from localhost ([::1]:49086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz08J-0002kT-1E for larch@yhetil.org; Mon, 11 Jan 2021 11:33:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz06v-00026V-5L for guix-patches@gnu.org; Mon, 11 Jan 2021 11:32:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz06s-0007n1-VT for guix-patches@gnu.org; Mon, 11 Jan 2021 11:32:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz06s-0007CJ-Rw for guix-patches@gnu.org; Mon, 11 Jan 2021 11:32: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:32: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.161038269827629 (code B ref 39961); Mon, 11 Jan 2021 16:32:02 +0000 Received: (at 39961) by debbugs.gnu.org; 11 Jan 2021 16:31:38 +0000 Received: from localhost ([127.0.0.1]:58106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz06U-0007BZ-0A for submit@debbugs.gnu.org; Mon, 11 Jan 2021 11:31:38 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:46267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz06P-0007B5-1h for 39961@debbugs.gnu.org; Mon, 11 Jan 2021 11:31:36 -0500 Received: by mail-wr1-f48.google.com with SMTP id d13so350810wrc.13 for <39961@debbugs.gnu.org>; Mon, 11 Jan 2021 08:31:32 -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=bXHmDCW5KxYNXoPUObEq3oJTGB2hiKBRFfJHogNTDi8=; b=iPQXGI1aU2gqZwLo8jpCN0z3DyPELXuxLWZtQkdkGwcv2jOy19b0pCLog1d6aKhhUJ R3zVffQEoOZFUxNIPn1WUj1skC5W1HL6QgiezetYW37ILFN+MSmyG0juOZaO/zGpz0qs fW/C18aSdV3xl1mLVNIF7wuK+z0pgSbP9mKXtoUo6PizbnwY8iEgjrgbKoLL+BJ1AlqJ +bqIWPFJuGBoEEm80kgX7g2ezg657XHR//8onJE9bqgN+YFDK2UY0IH6r1GDxHY4DD9G 1piwCreT3L7X8KZxo36B+2Eeh5kTy2MwO8BGnpD1DLpHM6mfDnFKX8nlwPNBZe/JEE+H t4zA== 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=bXHmDCW5KxYNXoPUObEq3oJTGB2hiKBRFfJHogNTDi8=; b=SK4jkAqSnAArPRIJVcMmePAMnadBdFDiJurjGT/LzzWN3dL53MBB36ilVre+KIMWGU yqskxHgKl2yx54iZbgvUikF4LBg07BH5heucml3xUZVYrQ/xWFQ4kUNO/+EefYr7/IxO mE8Jbm8zofVwP9JX4gV3n3RxsrfO/sB/E9B3eoRRhPI5nCigOc23bXj5SrSeGCnoehpP vhf4iAi7sKoxNVEpC8Hr1Z3X6h3mOwaqayuVqSkOeM+7AB94JHkF7JxQ5fdec6wNn9Ck MTZaCO1lZy1L6JuZ7h+I4CUUTbQ9BD665jsFABfmma6mvKQCi89K1Bno3drGwnn3ArVG Lp5A== X-Gm-Message-State: AOAM532pS4t8Rb6fbRmOZRyl87C9b2TnkCMWOm5llBkzsF+KbK5HHlU4 vYpJk1G/WV/qB4jpq7IEl6RL4NbFd8c= X-Google-Smtp-Source: ABdhPJy23nFydrGLMnUFUV6md8qsxCgecdVPQex9RCmf99VVNhv2Q3fuCvlw8ocg7IoMofheLysJtQ== X-Received: by 2002:a5d:6845:: with SMTP id o5mr16801922wrw.421.1610382687175; Mon, 11 Jan 2021 08:31:27 -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 g5sm149961wro.60.2021.01.11.08.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 08:31:26 -0800 (PST) From: Vincent Legoll Date: Mon, 11 Jan 2021 17:31:17 +0100 Message-Id: <20210111163117.20895-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.75 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=iPQXGI1a; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 831279402D4 X-Spam-Score: 2.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4Z8dyDleS+rJ * gnu/packages/networking.scm (traceroute): New variable. --- gnu/packages/networking.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 83a99ded72..5055cf399d 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3680,6 +3680,51 @@ 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. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-make + (lambda _ + (substitute* "Make.rules" + ((" -lm ") " ")) + #t)) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (let* ((libglibc (assoc-ref inputs "glibc")) + (headers (assoc-ref inputs "linux-libre-headers"))) + (invoke "make" "LDFLAGS=-lm -L../libsupp" + (string-append "LIBRARY_PATH=" libglibc "/lib") + (string-append "CFLAGS=-I" headers "/include"))))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "make" (string-append "prefix=" out) "install")))) + (delete 'bootstrap) ;there is no configure.ac file + (delete 'configure)))) ;there is no configure script + (native-inputs + `(("glibc" ,glibc) + ("linux-libre-headers" ,linux-libre-headers))) + (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))) + (define-public vde2 (package (name "vde2") -- 2.30.0