all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Milkey Mouse <milkeymouse@meme.institute>
To: 50310@debbugs.gnu.org
Subject: [bug#50310] [PATCH 22/22] gnu: Add sniffglue.
Date: Tue, 31 Aug 2021 20:54:21 -0700	[thread overview]
Message-ID: <20210901035421.964348-22-milkeymouse@meme.institute> (raw)
In-Reply-To: <20210901035421.964348-1-milkeymouse@meme.institute>

* gnu/packages/rust-apps.scm (sniffglue): New variable.
---
 gnu/packages/rust-apps.scm | 56 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 24e002493a..e81c7d8748 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -34,6 +34,7 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix packages)
+  #:use-module (gnu packages admin)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-graphics)
@@ -42,6 +43,7 @@
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages jemalloc)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
@@ -645,6 +647,60 @@ gitignore rules.")
          (base32
           "13jzbmjz1bmmfr0i80hw6ar484mgabx3hbpb2ynhk0ddqi0yr58m"))))))
 
+(define-public sniffglue
+  (package
+    (name "sniffglue")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sniffglue" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1q1kwkw1hq38qgvc6j4b5l9m85a6lpn1jls4bm27c5kha9cg8l24"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-anyhow" ,rust-anyhow-1)
+        ("rust-atty" ,rust-atty-0.2)
+        ("rust-base64" ,rust-base64-0.13)
+        ("rust-dhcp4r" ,rust-dhcp4r-0.2)
+        ("rust-dirs-next" ,rust-dirs-next-2)
+        ("rust-dns-parser" ,rust-dns-parser-0.8)
+        ("rust-env-logger" ,rust-env-logger-0.8)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nix" ,rust-nix-0.20)
+        ("rust-nom" ,rust-nom-6)
+        ("rust-num-cpus" ,rust-num-cpus-1)
+        ("rust-pcap-sys" ,rust-pcap-sys-0.1)
+        ("rust-pktparse" ,rust-pktparse-0.5)
+        ("rust-reduce" ,rust-reduce-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-sha2" ,rust-sha2-0.9)
+        ("rust-structopt" ,rust-structopt-0.3)
+        ("rust-syscallz" ,rust-syscallz-0.15)
+        ("rust-tls-parser" ,rust-tls-parser-0.10)
+        ("rust-toml" ,rust-toml-0.5)
+        ("rust-users" ,rust-users-0.11))
+       #:cargo-development-inputs
+       (("rust-boxxy" ,rust-boxxy-0.11))))
+    (inputs
+     `(("libpcap" ,libpcap)
+       ("libseccomp" ,libseccomp)))
+    (home-page "https://github.com/kpcyrd/sniffglue")
+    (synopsis "Secure multithreaded packet sniffer")
+    (description
+     "This package provides a network sniffer written in Rust.  Packets
+are parsed concurrently using a thread pool to utilize all cpu cores.  A goal
+of the project is to be runnable on untrusted networks without crashing.")
+    (license license:gpl3)))
+
 (define-public tectonic
   (package
     (name "tectonic")
-- 
2.33.0





  parent reply	other threads:[~2021-09-01  3:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01  3:50 [bug#50310] [PATCH 00/22] gnu: Add sniffglue Milkey Mouse
2021-09-01  3:54 ` [bug#50310] [PATCH 01/22] gnu: Add rust-rustyline-derive-0.2 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 02/22] gnu: Add rust-rustyline-5 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 03/22] gnu: Add rust-pledge-0.3 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 04/22] gnu: Add rust-bufstream-0.1 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 05/22] gnu: Add rust-elf-0.0.10 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 06/22] gnu: Add rust-boxxy-0.11 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 07/22] gnu: Add rust-rusticata-macros-3 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 08/22] gnu: Add rust-pretty-assertions-0.7 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 09/22] gnu: Add rust-nom-derive-0.7 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 10/22] gnu: Add rust-cookie-factory-0.3 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 11/22] gnu: Add rust-hex-literal-0.3 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 12/22] gnu: Add rust-tls-parser-0.10 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 13/22] gnu: Add rust-strum-macros-0.19 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 14/22] gnu: Add rust-strum-0.19 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 15/22] gnu: Add rust-seccomp-sys-0.1 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 16/22] gnu: Add rust-syscallz-0.15 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 17/22] gnu: Add rust-reduce-0.1 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 18/22] gnu: Add rust-pktparse-0.5 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 19/22] gnu: Add rust-pcap-sys-0.1 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 20/22] gnu: Add rust-enum-primitive-derive-0.2 Milkey Mouse
2021-09-01  3:54   ` [bug#50310] [PATCH 21/22] gnu: Add rust-dhcp4r-0.2 Milkey Mouse
2021-09-01  3:54   ` Milkey Mouse [this message]
2021-09-07 20:04 ` bug#50310: [PATCH 00/22] gnu: Add sniffglue Nicolas Goaziou

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=20210901035421.964348-22-milkeymouse@meme.institute \
    --to=milkeymouse@meme.institute \
    --cc=50310@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.