excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / z / zenmap.rb
blob9ec1d6d51969ebbb84e8c9b89fc28e1607d7d868
1 cask "zenmap" do
2   version "7.95"
3   sha256 "fc069b88f6b64cbb56b02a644075d78df603d9417d3947ff32acc0566439de3c"
5   url "https://nmap.org/dist/nmap-#{version}.dmg"
6   name "Zenmap"
7   desc "Multi-platform graphical interface for official Nmap Security Scanner"
8   homepage "https://nmap.org/zenmap/"
10   livecheck do
11     url "https://nmap.org/dist/?C=M;O=D"
12     regex(/href=.*?nmap[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
13   end
15   conflicts_with formula: "nmap"
17   pkg "nmap-#{version}.mpkg"
19   uninstall pkgutil: [
20               "org.insecure.nmap",
21               "org.insecure.nmap.ncat",
22               "org.insecure.nmap.ndiff",
23               "org.insecure.nmap.nping",
24               "org.insecure.nmap.zenmap",
25             ],
26             delete:  "/Applications/Zenmap.app"
28   zap trash: [
29     "~/.zenmap",
30     "~/Library/Saved Application State/org.insecure.Zenmap.savedState",
31   ]
32 end