unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55827] [PATCH] gnu: Add kismet.
@ 2022-06-07  7:41 phodina via Guix-patches via
  2022-06-07  7:50 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: phodina via Guix-patches via @ 2022-06-07  7:41 UTC (permalink / raw)
  To: 55827


[-- Attachment #1.1: Type: text/plain, Size: 47 bytes --]

Hi,

this patch adds Kismet package.

----
Petr

[-- Attachment #1.2: Type: text/html, Size: 146 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-kismet.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-kismet.patch, Size: 2956 bytes --]

From 65af6af99389899c53ea57d5d15548b7a2bf3014 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 7 Jun 2022 08:11:33 +0200
Subject: [PATCH] gnu: Add kismet.

* gnu/packages/networking.scm (kismet): New variable.

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index bfa956149d..3e8d3e1a08 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022 Simon South <simon@simonsouth.net>
 ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -114,6 +115,7 @@ (define-module (gnu packages networking)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages kerberos)
@@ -129,6 +131,7 @@ (define-module (gnu packages networking)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
   #:use-module (gnu packages pretty-print)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-crypto)
@@ -547,6 +550,42 @@ (define-public python-pysctp
 SCTP-aware kernel (most are).")
     (license license:lgpl2.1+)))
 
+(define-public kismet
+  (package
+    (name "kismet")
+    (version "2022-02")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+	   (url "https://github.com/kismetwireless/kismet")
+	   (commit (string-append "kismet-" version "-R1"))))
+       (sha256
+        (base32
+         "01q86hrgpai433sc65dlnqy91qd26w5dwyp37adszqxfb6d2an1r"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+       #:tests? #f                      ; no test suite
+       #:phases
+       #~(modify-phases %standard-phases
+         (add-after 'unpack 'fix-install
+		 (lambda* _
+		 (substitute* "Makefile.in"
+		 (("-o \\$\\(INSTUSR\\) -g \\$\\(SUIDGROUP\\)") "")
+		 (("-o \\$\\(INSTUSR\\) -g \\$\\(INSTGRP\\)") "")))))))
+    (home-page "https://www.kismetwireless.net/")
+	(native-inputs (list pkg-config python python-2 perl))
+	(inputs (list openssl libpcap libusb protobuf protobuf-c libwebsockets sqlite zlib))
+    (synopsis "Wireless network and device detector")
+    (description
+     "This package provides a wireless network and device detector, sniffer,
+wardriving tool, and WIDS (wireless intrusion detection) framework.  Kismet
+works with Wi-Fi interfaces, Bluetooth interfaces, some SDR
+(software defined radio) hardware like the RTLSDR, and other specialized
+capture hardware")
+    (license license:gpl2+)))
+
 (define-public knockd
   (package
     (name "knockd")
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-15 20:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07  7:41 [bug#55827] [PATCH] gnu: Add kismet phodina via Guix-patches via
2022-06-07  7:50 ` Maxime Devos
2022-06-07  8:06 ` Maxime Devos
2022-06-07  9:57   ` [bug#55827] [PATCH v2] " phodina via Guix-patches via
2022-06-07 11:04     ` Maxime Devos
2022-06-10  8:44       ` phodina via Guix-patches via
2022-06-15 20:19         ` bug#55827: [PATCH] " Ludovic Courtès
2022-06-10 15:30 ` [bug#55827] " Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).