From unknown Sun Jun 15 08:38:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#62212] [PATCH] gnu: thc-ipv6: Update to 3.8. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Mar 2023 22:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62212 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62212@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167892024918375 (code B ref -1); Wed, 15 Mar 2023 22:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2023 22:44:09 +0000 Received: from localhost ([127.0.0.1]:40686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcZqr-0004mI-7x for submit@debbugs.gnu.org; Wed, 15 Mar 2023 18:44:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:51934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcZqo-0004m9-Pv for submit@debbugs.gnu.org; Wed, 15 Mar 2023 18:44:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcZqo-0007gV-JL for guix-patches@gnu.org; Wed, 15 Mar 2023 18:44:06 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcZqm-0004KS-JB for guix-patches@gnu.org; Wed, 15 Mar 2023 18:44:06 -0400 Received: by mail-wr1-x436.google.com with SMTP id j2so18667769wrh.9 for ; Wed, 15 Mar 2023 15:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678920243; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FEiVhFEnlgwG0yS7xe1JaNtk40qEcWcoBOdn1E8szqc=; b=iTuOXQSnziaV2+iD8dQJwT4ngJ+APLOA0ShvkahfGDdRyO5hFEBHc1YmjqaFliYQ4K uwm2kFukWUvk8XvVaZUkLq0R9UojdbVH8VWVF8gqEjxrdXOKdVloJlFbTJBo5GnREv2j AuoYG0IWaVZUfqD20fdpcduRBcOurtlDbpcpQ1kj/AD0eu5Oi4Ty6mJYjmyVjrUPjkfB xRDZup+/DIV5Q0h9mJWeZMNm/hZ6avCzlyMUVC4c/J9VUGye4J9eplFMAD/UDmZmCUev GFU2WbUejx/aZSH+KQBP+XxLvD3ZEQcKZXCy+4vioHfnJPbc+LV9kzhZBffMdLN8n4Ew vUFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678920243; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FEiVhFEnlgwG0yS7xe1JaNtk40qEcWcoBOdn1E8szqc=; b=lTX9SwROVe+41EoGPOJKh7W34UP/0NIxv9HGK/BvGpahEhmCyKlM9pP+2l/VElt5DC PDnpOtR4r04Hg+qMER+08SG/bSU9K83uYFJPoO5e1FARMCssgz9YyAcNSjbx2/MAh1Nw gDvPkFuA+dKzuWLHXLUgsuOx/VE9A+f7Ttmt14yEXTNyvaZ7LRZSgVlxrRwdsQJOWD3x vPgNyTmAEWPQAr+xYJRHyxLEPv8ono534cIXVaxEF+771NIhJAa5l/yytUNq1CFAUzjS 1ehlwjCTL+3cJl1H6U96g6dfEjTH2vs6OSgcPpAJu3lRFewCo1mwr0L+/xISqfT7RiUn 3bHg== X-Gm-Message-State: AO0yUKWlxDRdRDTmj7cf1j7uBKUySYvxYopylSjX5iLjfWkD6yLFOlF5 UpswJ9csG0riA+3O0IfBfsqEUVpj0EU= X-Google-Smtp-Source: AK7set/xHvN4VCz0RZCKFJKrhxjuoPM/AeQN/nZpqtjPy1Y+2RVgTtijGWWDsVbNMgbu0Q/r5zmlBA== X-Received: by 2002:a5d:448c:0:b0:2d0:bba8:3901 with SMTP id j12-20020a5d448c000000b002d0bba83901mr2601927wrq.62.1678920242828; Wed, 15 Mar 2023 15:44:02 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id w7-20020adfd4c7000000b002c557f82e27sm5813421wrk.99.2023.03.15.15.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 15:44:02 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 15 Mar 2023 22:43:59 +0000 Message-Id: <20230315224359.6875-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/networking.scm (thc-ipv6): Update to 3.8. Use latest version tag in stead of commit, simplify package. [arguments]: Use Gexp. [arguments]{make-flags}: Use cc-for-target as it's commented out in Makefile. [arguments]{phases}: Merge use-source-date-epoch-in-manpages with patch-paths phases into patch-makefile. Simplify install-more-docs phase. [inputs]: Add libnetfilter-queue, libnfnetlink. --- gnu/packages/networking.scm | 95 ++++++++++++++++++------------------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index acf2e87d89..bf5f7ad2e7 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Reza Alizadeh Majd ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2023 Andreas Enge +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -3057,56 +3058,54 @@ (define-public bgpq3 license:bsd-2)))) ; everything else, but missing headers (define-public thc-ipv6 - (let ((revision "0") - (commit "4bb72573e0950ce6f8ca2800a10748477020029e")) - (package - (name "thc-ipv6") - (version (git-version "3.4" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vanhauser-thc/thc-ipv6") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1x5i6vbsddqc2yks7r1a2fw2fk16qxvd6hpzh1lykjfpkal8fdir")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f ; No test suite. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'use-source-date-epoch-in-manpages - ;; For reproducible builds - (lambda _ - (substitute* "Makefile" - (("date --iso-8601") - "date --iso-8601 --utc --date=@$(SOURCE_DATE_EPOCH)")))) - (delete 'configure) ; No ./configure script. - (add-before 'build 'patch-paths - (lambda _ - (substitute* "Makefile" - (("/bin/echo") "echo")) - #t)) - (add-after 'install 'install-more-docs - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/thc-ipv6/doc"))) - (install-file "README" doc) - (install-file "HOWTO-INJECT" doc) - #t)))))) - ;; TODO Add libnetfilter-queue once packaged. - (inputs - (list libpcap openssl perl)) - (home-page "https://github.com/vanhauser-thc/thc-ipv6") - (synopsis "IPv6 security research toolkit") - (description "The THC IPv6 Toolkit provides command-line tools and a library + (package + (name "thc-ipv6") + (version "3.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vanhauser-thc/thc-ipv6") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; No test suite. + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* "Makefile" + ;; For reproducible builds + (("date --iso-8601") + "date --iso-8601 --utc --date=@$(SOURCE_DATE_EPOCH)") + (("/bin/echo") "echo")))) + (delete 'configure) ; No ./configure script. + (add-after 'install 'install-more-docs + (lambda _ + (let ((doc (string-append #$output "/share/thc-ipv6/doc"))) + (install-file "README" doc) + (install-file "HOWTO-INJECT" doc))))))) + (inputs + (list libnetfilter-queue + libnfnetlink + libpcap + openssl + perl)) + (home-page "https://github.com/vanhauser-thc/thc-ipv6") + (synopsis "IPv6 security research toolkit") + (description "The THC IPv6 Toolkit provides command-line tools and a library for researching IPv6 implementations and deployments. It requires Linux 2.6 or 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)))) + ;; 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 -- 2.39.2 From unknown Sun Jun 15 08:38:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Sharlatan Hellseher Subject: bug#62212: closed (Re: [bug#62212] [PATCH] gnu: thc-ipv6: Update to 3.8.) Message-ID: References: <20230315224359.6875-1-sharlatanus@gmail.com> X-Gnu-PR-Message: they-closed 62212 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 62212@debbugs.gnu.org Date: Thu, 16 Mar 2023 01:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1678929602-1261-1" This is a multi-part message in MIME format... ------------=_1678929602-1261-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62212: [PATCH] gnu: thc-ipv6: Update to 3.8. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62212@debbugs.gnu.org. --=20 62212: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62212 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1678929602-1261-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62212-done) by debbugs.gnu.org; 16 Mar 2023 01:19:29 +0000 Received: from localhost ([127.0.0.1]:40828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pccHB-0000JO-I8 for submit@debbugs.gnu.org; Wed, 15 Mar 2023 21:19:29 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:49353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pccH8-0000JB-NV for 62212-done@debbugs.gnu.org; Wed, 15 Mar 2023 21:19:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 833993200645; Wed, 15 Mar 2023 21:19:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 15 Mar 2023 21:19:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; t=1678929560; x=1679015960; bh=aytsF02gTVkBUSVfwRB/8r5Rddb0fQR5InAXj4RJFKc=; b= KIrUHelmC1nagN5MHDTbV6vhchNjGGNZlhKPglGy0HkH+9nU2ycZ4Ty0fW6wnGD+ jiz24JAvJc7Q+8SepmV15o5BxlHmCnOZw5l0K22fFHPSeGHSp6PB+ubiq77Y62dn Vced5L3fH+vU1J4Y6QMa5Fuy12r4gG7/+MX+9V/Dofc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1678929560; x=1679015960; bh=aytsF02gTVkBU SVfwRB/8r5Rddb0fQR5InAXj4RJFKc=; b=HI2FWTapP8DD0E1i3Pb+TsbmT1JuK uSR9AkAEi5VohHEl5qaaQ40rfjvDLx67FKVIa3wo9swa7UFSvz2kz2QfXObFuOui d4GapdCd9VJASxCstbqjiVVk0fSPuuzevE47kJi0h0cu19xj3YetQC8/c1DSkt83 cG5hGl2gl/mIWeTLsMafHQUvzaBDWdU0u7O0oHwdYKKGporwHuSZ3F7GGYdRsaQP esBJDEmOqDIxs+Anu1s00EMhBThKfWuvHK2QqF8mSaUP3EU3jTHxNjpWs2lMLlEp BpOk+c98SRad/fpKH9oMmKgHF0frvna8SJVeA8gKjl0FR3gu/8vP10QHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvledgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttd ortddttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefggeeuieeihfelieeutdduffejfe duffekleeggeetleejgedvheetffdtvdetkeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Mar 2023 21:19:19 -0400 (EDT) Date: Wed, 15 Mar 2023 21:19:17 -0400 From: Leo Famulari To: Sharlatan Hellseher Subject: Re: [bug#62212] [PATCH] gnu: thc-ipv6: Update to 3.8. Message-ID: References: <20230315224359.6875-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230315224359.6875-1-sharlatanus@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62212-done Cc: 62212-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Mar 15, 2023 at 10:43:59PM +0000, Sharlatan Hellseher wrote: > * gnu/packages/networking.scm (thc-ipv6): Update to 3.8. > Use latest version tag in stead of commit, simplify package. > [arguments]: Use Gexp. > [arguments]{make-flags}: Use cc-for-target as it's commented out in Makefile. > [arguments]{phases}: Merge use-source-date-epoch-in-manpages with > patch-paths phases into patch-makefile. Simplify install-more-docs phase. > [inputs]: Add libnetfilter-queue, libnfnetlink. Thanks! I tweaked the commit message and pushed as 9f3a929828930c3e5dfc6f6e7a3516da6bb7cd00 ------------=_1678929602-1261-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Mar 2023 22:44:09 +0000 Received: from localhost ([127.0.0.1]:40686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcZqr-0004mI-7x for submit@debbugs.gnu.org; Wed, 15 Mar 2023 18:44:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:51934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcZqo-0004m9-Pv for submit@debbugs.gnu.org; Wed, 15 Mar 2023 18:44:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcZqo-0007gV-JL for guix-patches@gnu.org; Wed, 15 Mar 2023 18:44:06 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcZqm-0004KS-JB for guix-patches@gnu.org; Wed, 15 Mar 2023 18:44:06 -0400 Received: by mail-wr1-x436.google.com with SMTP id j2so18667769wrh.9 for ; Wed, 15 Mar 2023 15:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678920243; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FEiVhFEnlgwG0yS7xe1JaNtk40qEcWcoBOdn1E8szqc=; b=iTuOXQSnziaV2+iD8dQJwT4ngJ+APLOA0ShvkahfGDdRyO5hFEBHc1YmjqaFliYQ4K uwm2kFukWUvk8XvVaZUkLq0R9UojdbVH8VWVF8gqEjxrdXOKdVloJlFbTJBo5GnREv2j AuoYG0IWaVZUfqD20fdpcduRBcOurtlDbpcpQ1kj/AD0eu5Oi4Ty6mJYjmyVjrUPjkfB xRDZup+/DIV5Q0h9mJWeZMNm/hZ6avCzlyMUVC4c/J9VUGye4J9eplFMAD/UDmZmCUev GFU2WbUejx/aZSH+KQBP+XxLvD3ZEQcKZXCy+4vioHfnJPbc+LV9kzhZBffMdLN8n4Ew vUFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678920243; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FEiVhFEnlgwG0yS7xe1JaNtk40qEcWcoBOdn1E8szqc=; b=lTX9SwROVe+41EoGPOJKh7W34UP/0NIxv9HGK/BvGpahEhmCyKlM9pP+2l/VElt5DC PDnpOtR4r04Hg+qMER+08SG/bSU9K83uYFJPoO5e1FARMCssgz9YyAcNSjbx2/MAh1Nw gDvPkFuA+dKzuWLHXLUgsuOx/VE9A+f7Ttmt14yEXTNyvaZ7LRZSgVlxrRwdsQJOWD3x vPgNyTmAEWPQAr+xYJRHyxLEPv8ono534cIXVaxEF+771NIhJAa5l/yytUNq1CFAUzjS 1ehlwjCTL+3cJl1H6U96g6dfEjTH2vs6OSgcPpAJu3lRFewCo1mwr0L+/xISqfT7RiUn 3bHg== X-Gm-Message-State: AO0yUKWlxDRdRDTmj7cf1j7uBKUySYvxYopylSjX5iLjfWkD6yLFOlF5 UpswJ9csG0riA+3O0IfBfsqEUVpj0EU= X-Google-Smtp-Source: AK7set/xHvN4VCz0RZCKFJKrhxjuoPM/AeQN/nZpqtjPy1Y+2RVgTtijGWWDsVbNMgbu0Q/r5zmlBA== X-Received: by 2002:a5d:448c:0:b0:2d0:bba8:3901 with SMTP id j12-20020a5d448c000000b002d0bba83901mr2601927wrq.62.1678920242828; Wed, 15 Mar 2023 15:44:02 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id w7-20020adfd4c7000000b002c557f82e27sm5813421wrk.99.2023.03.15.15.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 15:44:02 -0700 (PDT) From: Sharlatan Hellseher To: guix-patches@gnu.org Subject: [PATCH] gnu: thc-ipv6: Update to 3.8. Date: Wed, 15 Mar 2023 22:43:59 +0000 Message-Id: <20230315224359.6875-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/networking.scm (thc-ipv6): Update to 3.8. Use latest version tag in stead of commit, simplify package. [arguments]: Use Gexp. [arguments]{make-flags}: Use cc-for-target as it's commented out in Makefile. [arguments]{phases}: Merge use-source-date-epoch-in-manpages with patch-paths phases into patch-makefile. Simplify install-more-docs phase. [inputs]: Add libnetfilter-queue, libnfnetlink. --- gnu/packages/networking.scm | 95 ++++++++++++++++++------------------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index acf2e87d89..bf5f7ad2e7 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Reza Alizadeh Majd ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2023 Andreas Enge +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -3057,56 +3058,54 @@ (define-public bgpq3 license:bsd-2)))) ; everything else, but missing headers (define-public thc-ipv6 - (let ((revision "0") - (commit "4bb72573e0950ce6f8ca2800a10748477020029e")) - (package - (name "thc-ipv6") - (version (git-version "3.4" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vanhauser-thc/thc-ipv6") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1x5i6vbsddqc2yks7r1a2fw2fk16qxvd6hpzh1lykjfpkal8fdir")))) - (build-system gnu-build-system) - (arguments - `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f ; No test suite. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'use-source-date-epoch-in-manpages - ;; For reproducible builds - (lambda _ - (substitute* "Makefile" - (("date --iso-8601") - "date --iso-8601 --utc --date=@$(SOURCE_DATE_EPOCH)")))) - (delete 'configure) ; No ./configure script. - (add-before 'build 'patch-paths - (lambda _ - (substitute* "Makefile" - (("/bin/echo") "echo")) - #t)) - (add-after 'install 'install-more-docs - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/thc-ipv6/doc"))) - (install-file "README" doc) - (install-file "HOWTO-INJECT" doc) - #t)))))) - ;; TODO Add libnetfilter-queue once packaged. - (inputs - (list libpcap openssl perl)) - (home-page "https://github.com/vanhauser-thc/thc-ipv6") - (synopsis "IPv6 security research toolkit") - (description "The THC IPv6 Toolkit provides command-line tools and a library + (package + (name "thc-ipv6") + (version "3.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vanhauser-thc/thc-ipv6") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07kwika1zdq62s5p5z94xznm77dxjxdg8k0hrg7wygz50151nzmx")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; No test suite. + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda _ + (substitute* "Makefile" + ;; For reproducible builds + (("date --iso-8601") + "date --iso-8601 --utc --date=@$(SOURCE_DATE_EPOCH)") + (("/bin/echo") "echo")))) + (delete 'configure) ; No ./configure script. + (add-after 'install 'install-more-docs + (lambda _ + (let ((doc (string-append #$output "/share/thc-ipv6/doc"))) + (install-file "README" doc) + (install-file "HOWTO-INJECT" doc))))))) + (inputs + (list libnetfilter-queue + libnfnetlink + libpcap + openssl + perl)) + (home-page "https://github.com/vanhauser-thc/thc-ipv6") + (synopsis "IPv6 security research toolkit") + (description "The THC IPv6 Toolkit provides command-line tools and a library for researching IPv6 implementations and deployments. It requires Linux 2.6 or 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)))) + ;; 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 -- 2.39.2 ------------=_1678929602-1261-1--