From patchwork Tue Jun 7 07:41:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 39772 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 58D8827BBEA; Tue, 7 Jun 2022 08:42:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_CSS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C5EFF27BBE9 for ; Tue, 7 Jun 2022 08:42:16 +0100 (BST) Received: from localhost ([::1]:59170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyTqx-0001q7-W2 for patchwork@mira.cbaines.net; Tue, 07 Jun 2022 03:42:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyTqk-0001pl-S5 for guix-patches@gnu.org; Tue, 07 Jun 2022 03:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyTqk-0007Mm-Ia for guix-patches@gnu.org; Tue, 07 Jun 2022 03:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyTqk-0001Lo-Hd for guix-patches@gnu.org; Tue, 07 Jun 2022 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55827] [PATCH] gnu: Add kismet. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jun 2022 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55827@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.16545876935143 (code B ref -1); Tue, 07 Jun 2022 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2022 07:41:33 +0000 Received: from localhost ([127.0.0.1]:37460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyTqB-0001Kn-QU for submit@debbugs.gnu.org; Tue, 07 Jun 2022 03:41:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:38404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyTq6-0001Kc-Dq for submit@debbugs.gnu.org; Tue, 07 Jun 2022 03:41:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyTq3-0001mQ-5s for guix-patches@gnu.org; Tue, 07 Jun 2022 03:41:21 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:15339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyTq0-0007CY-36 for guix-patches@gnu.org; Tue, 07 Jun 2022 03:41:18 -0400 Date: Tue, 07 Jun 2022 07:41:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654587673; x=1654846873; bh=Y/LKXmgHTdYkuqJSS9NTxxSFdEz0epLxm7lzvdoRrQU=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=q0kP36czPPr4TSybXSBBAPEWAzaDQgn374lcLBvMm/E4M2fgUd9LTU1ZeIEXdlwW3 XLdGAI6iOqNVKzoBuwc1lQMlQics6hmp00VI6RowSbyjj9D7af1H1xlPzIGnR9Aeam ICVVxOtSCHcMgqseg2ErCMhVirm+Kk1Brl13r7fNEEkFEfppoHRmtmf11iA3wDFaB2 dgnKe9f18Bj0LVdMqpj6DXbRgycvwyUOXtNIjzBgR6bRec7T160K4c7fBBc66lrdmW aFyT+RY93Bho2N5uKhTydaZXsMYNSAo3dyUmJ6cP0t4NBRHeoV8zrNTBI2KkfZjFB+ p2Psq3KerzE4g== Message-ID: Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_CSS=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, this patch adds Kismet package. ---- Petr From 65af6af99389899c53ea57d5d15548b7a2bf3014 Mon Sep 17 00:00:00 2001 From: Petr Hodina 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 ;;; Copyright © 2022 Simon South ;;; Copyright © 2022 Pierre Langlois +;;; Copyright © 2022 Petr Hodina ;;; ;;; 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