GNU bug report logs - #27495
[PATCH] gnu: Add thc-ipv6.

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Mon, 26 Jun 2017 02:43:01 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27495 in the body.
You can then email your comments to 27495 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27495; Package guix-patches. (Mon, 26 Jun 2017 02:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 26 Jun 2017 02:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add thc-ipv6.
Date: Sun, 25 Jun 2017 22:42:09 -0400
* gnu/packages/networking.scm (thc-ipv6): New variable.
---
 gnu/packages/networking.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 06a2c8be6..454b42825 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1308,3 +1308,32 @@ transparently have a connection established to another address (e.g., a UNIX
 socket on a different system).  This is similar to 'ssh -L' functionality, but
 does not use SSH and requires a pre-shared symmetric key.")
     (license license:bsd-2)))
+
+(define-public thc-ipv6
+  (package
+    (name "thc-ipv6")
+    (version "3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/vanhauser-thc/thc-ipv6/"
+                                  "archive/" version ".tar.gz"))
+              (sha256
+               (base32
+                "0yh2lpsazmm0pgbmh0dx023w6fss1kdfyr4cq7yw0fac8vkw32d3"))))
+    (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
+         (delete 'configure)))) ; No ./configure script.
+    ;; TODO Add libnetfilter-queue once packaged.
+    (inputs
+     `(("libpcap" ,libpcap)
+       ("openssl" ,openssl)))
+    (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.")
+    (license license:agpl3))) ; TODO
-- 
2.13.1





Information forwarded to guix-patches <at> gnu.org:
bug#27495; Package guix-patches. (Mon, 26 Jun 2017 03:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 27495 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 27495 <at> debbugs.gnu.org
Subject: [v2 1/1] gnu: Add thc-ipv6.
Date: Sun, 25 Jun 2017 23:05:14 -0400
* gnu/packages/networking.scm (thc-ipv6): New variable.
---
 gnu/packages/networking.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 06a2c8be6..faf94f994 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1308,3 +1308,46 @@ transparently have a connection established to another address (e.g., a UNIX
 socket on a different system).  This is similar to 'ssh -L' functionality, but
 does not use SSH and requires a pre-shared symmetric key.")
     (license license:bsd-2)))
+
+(define-public thc-ipv6
+  (package
+    (name "thc-ipv6")
+    (version "3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/vanhauser-thc/thc-ipv6/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0yh2lpsazmm0pgbmh0dx023w6fss1kdfyr4cq7yw0fac8vkw32d3"))))
+    (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
+         (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
+     `(("libpcap" ,libpcap)
+       ("openssl" ,openssl)
+       ("perl" ,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.")
+    (license license:agpl3))) ; TODO
-- 
2.13.1





Information forwarded to guix-patches <at> gnu.org:
bug#27495; Package guix-patches. (Mon, 26 Jun 2017 03:06:02 GMT) Full text and rfc822 format available.

Message #11 received at 27495 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 27495 <at> debbugs.gnu.org
Subject: [v2 0/1] Revised patch for thc-ipv6
Date: Sun, 25 Jun 2017 23:05:13 -0400
I looked more closely and found some things missing from the first
patch. Here is a revised patch.

Leo Famulari (1):
  gnu: Add thc-ipv6.

 gnu/packages/networking.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

-- 
2.13.1





Information forwarded to guix-patches <at> gnu.org:
bug#27495; Package guix-patches. (Mon, 26 Jun 2017 18:31:02 GMT) Full text and rfc822 format available.

Message #14 received at 27495 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>, 27495 <at> debbugs.gnu.org
Subject: Re: [bug#27495] [v2 1/1] gnu: Add thc-ipv6.
Date: Mon, 26 Jun 2017 20:30:11 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> * gnu/packages/networking.scm (thc-ipv6): New variable.

The patch LGTM...

> +    (license license:agpl3))) ; TODO

...however this should be resolved before committing :-)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27495; Package guix-patches. (Mon, 26 Jun 2017 18:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 27495 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 27495 <at> debbugs.gnu.org
Subject: Re: [bug#27495] [v2 1/1] gnu: Add thc-ipv6.
Date: Mon, 26 Jun 2017 14:34:41 -0400
[Message part 1 (text/plain, inline)]
On Mon, Jun 26, 2017 at 08:30:11PM +0200, Marius Bakke wrote:
> Leo Famulari <leo <at> famulari.name> writes:
> 
> > * gnu/packages/networking.scm (thc-ipv6): New variable.
> 
> The patch LGTM...
> 
> > +    (license license:agpl3))) ; TODO
> 
> ...however this should be resolved before committing :-)

Oops :) As always, thank you for your review!
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 27495 <at> debbugs.gnu.org and Leo Famulari <leo <at> famulari.name> Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Mon, 26 Jun 2017 18:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.