From: Leo Famulari <leo@famulari.name>
To: 27495@debbugs.gnu.org
Subject: [bug#27495] [v2 1/1] gnu: Add thc-ipv6.
Date: Sun, 25 Jun 2017 23:05:14 -0400 [thread overview]
Message-ID: <23178ec30e6020c7c739c1b94876aa42c3a10d42.1498446250.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1498446250.git.leo@famulari.name>
In-Reply-To: <cover.1498446250.git.leo@famulari.name>
* 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
next prev parent reply other threads:[~2017-06-26 3:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 2:42 [bug#27495] [PATCH] gnu: Add thc-ipv6 Leo Famulari
2017-06-26 3:05 ` [bug#27495] [v2 0/1] Revised patch for thc-ipv6 Leo Famulari
2017-06-26 3:05 ` Leo Famulari [this message]
2017-06-26 18:30 ` [bug#27495] [v2 1/1] gnu: Add thc-ipv6 Marius Bakke
2017-06-26 18:34 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23178ec30e6020c7c739c1b94876aa42c3a10d42.1498446250.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=27495@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.