Skip to content

Commit 9fd3c47

Browse files
committed
gsan 5.0.0 (new formula)
Signed-off-by: Rui Chen <[email protected]>
1 parent a4c21d5 commit 9fd3c47

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ groovysdk
12431243
grpc
12441244
grpc-swift
12451245
grype
1246+
gsan
12461247
gsettings-desktop-schemas
12471248
gsl
12481249
gsmartcontrol

Formula/g/gsan.rb

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
class Gsan < Formula
2+
include Language::Python::Virtualenv
3+
4+
desc "Extract subdomains from SSL certificates in HTTPS sites"
5+
homepage "https://franccesco.github.io/getaltname/"
6+
url "https://files.pythonhosted.org/packages/73/0c/1fc5a29ae79fd74f0fd54d2c4d487b8cf7b21ede08efe99a6c39977816c6/gsan-5.0.0.tar.gz"
7+
sha256 "2418a6897b0eb1c6eb44c3521ccc5c69a811071f864b8001fd9699a4d2f4c9e3"
8+
license "MIT"
9+
10+
depends_on "cryptography"
11+
depends_on "[email protected]"
12+
13+
resource "click" do
14+
url "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz"
15+
sha256 "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
16+
end
17+
18+
resource "markdown-it-py" do
19+
url "https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz"
20+
sha256 "e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"
21+
end
22+
23+
resource "mdurl" do
24+
url "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz"
25+
sha256 "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
26+
end
27+
28+
resource "pyasn1" do
29+
url "https://files.pythonhosted.org/packages/ba/e9/01f1a64245b89f039897cb0130016d79f77d52669aae6ee7b159a6c4c018/pyasn1-0.6.1.tar.gz"
30+
sha256 "6f580d2bdd84365380830acf45550f2511469f673cb4a5ae3857a3170128b034"
31+
end
32+
33+
resource "pygments" do
34+
url "https://files.pythonhosted.org/packages/8e/62/8336eff65bcbc8e4cb5d05b55faf041285951b6e80f33e2bff2024788f31/pygments-2.18.0.tar.gz"
35+
sha256 "786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"
36+
end
37+
38+
resource "pyopenssl" do
39+
url "https://files.pythonhosted.org/packages/c1/d4/1067b82c4fc674d6f6e9e8d26b3dff978da46d351ca3bac171544693e085/pyopenssl-24.3.0.tar.gz"
40+
sha256 "49f7a019577d834746bc55c5fce6ecbcec0f2b4ec5ce1cf43a9a173b8138bb36"
41+
end
42+
43+
resource "rich" do
44+
url "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz"
45+
sha256 "439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098"
46+
end
47+
48+
resource "shellingham" do
49+
url "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz"
50+
sha256 "8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de"
51+
end
52+
53+
resource "typer" do
54+
url "https://files.pythonhosted.org/packages/cb/ce/dca7b219718afd37a0068f4f2530a727c2b74a8b6e8e0c0080a4c0de4fcd/typer-0.15.1.tar.gz"
55+
sha256 "a0588c0a7fa68a1978a069818657778f86abe6ff5ea6abf472f940a08bfe4f0a"
56+
end
57+
58+
resource "typing-extensions" do
59+
url "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz"
60+
sha256 "1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"
61+
end
62+
63+
def install
64+
virtualenv_install_with_resources
65+
end
66+
67+
test do
68+
output = shell_output("#{bin}/gsan example.com")
69+
assert_match "example.com [4]", output
70+
assert_match "example.org", output
71+
end
72+
end

pypi_formula_mappings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@
402402
"grokmirror": {
403403
"exclude_packages": ["certifi"]
404404
},
405+
"gsan": {
406+
"exclude_packages": ["cryptography"]
407+
},
405408
"gyb": {
406409
"package_name": "",
407410
"exclude_packages": ["certifi"],

0 commit comments

Comments
 (0)