Skip to content

Commit ea6161d

Browse files
authored
Merge pull request #205068 from kidonng/acme.sh
acme.sh 3.1.0 (new formula)
2 parents a70b4ec + d1994f8 commit ea6161d

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/autobump.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ abseil
55
abyss
66
ack
77
acl2
8+
acme.sh
89
acronym
910
act
1011
action-validator

Formula/a/acme.sh.rb

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
class AcmeSh < Formula
2+
desc "ACME client"
3+
homepage "https://github.com/acmesh-official/acme.sh"
4+
url "https://github.com/acmesh-official/acme.sh/archive/refs/tags/3.1.0.tar.gz"
5+
sha256 "5bc8a72095e16a1a177d1a516728bbd3436abf8060232d5d36b462fce74447aa"
6+
license "GPL-3.0-only"
7+
8+
bottle do
9+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
10+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
11+
sha256 cellar: :any_skip_relocation, arm64_ventura: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
12+
sha256 cellar: :any_skip_relocation, sonoma: "45d864aacf2a2e4d2eb4ec6b2eea0f8d1f65fc2f533d549d780f7e03f54afc4c"
13+
sha256 cellar: :any_skip_relocation, ventura: "45d864aacf2a2e4d2eb4ec6b2eea0f8d1f65fc2f533d549d780f7e03f54afc4c"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
15+
end
16+
17+
def install
18+
libexec.install [
19+
"acme.sh",
20+
"deploy",
21+
"dnsapi",
22+
"notify",
23+
]
24+
25+
bin.install_symlink libexec/"acme.sh"
26+
end
27+
28+
test do
29+
assert_match version.to_s, shell_output("#{bin}/acme.sh --version")
30+
31+
expected = if OS.mac?
32+
"Main_Domain KeyLength SAN_Domains CA Created Renew\n"
33+
else
34+
"Main_Domain\tKeyLength\tSAN_Domains\tCA\tCreated\tRenew\n"
35+
end
36+
assert_match expected, shell_output("#{bin}/acme.sh --list")
37+
end
38+
end

0 commit comments

Comments
 (0)