Created
November 8, 2020 15:23
-
-
Save tlatsas/b6e78e55d60f42a5df978665a5b253e4 to your computer and use it in GitHub Desktop.
homebrew-kismet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Kismet < Formula | |
desc "Wireless network and device detector, sniffer, wardriving tool, and WIDS framework." | |
homepage "https://www.kismetwireless.net/" | |
url "https://github.com/kismetwireless/kismet/archive/kismet-2020-09-R4.tar.gz" | |
sha256 "c9044b60f5efc2a83c024d51ea16dd549ec158c3bb8b36019513d91cd5b2f94c" | |
version "2020-09-R4" | |
head "https://github.com/kismetwireless/kismet.git" | |
license "GPL-2.0-only" | |
depends_on "pkg-config" => :build | |
depends_on "[email protected]" | |
depends_on "libpcap" | |
depends_on "protobuf" | |
depends_on "protobuf-c" | |
depends_on "pcre" | |
depends_on "librtlsdr" | |
depends_on "libbtbb" | |
depends_on "ubertooth" | |
depends_on "libusb" | |
depends_on "libwebsockets" | |
def install | |
inreplace "Makefile.in" do |s| | |
s.gsub! "-o $(INSTUSR) -g $(SUIDGROUP)", "" | |
s.gsub! "-o $(INSTUSR) -g $(INSTGRP)", "" | |
end | |
system "./configure", "--prefix=#{prefix}" | |
system "make", "install" | |
end | |
test do | |
assert_match "Kismet 2020-00-GIT", shell_output("#{bin}/kismet --version") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool. Have you considered creating a pull request in https://github.com/Homebrew/homebrew-core?
For the time being, I added an updated version to my tap: https://github.com/easybe/homebrew-tap/