Skip to content

Commit

Permalink
Merge pull request #205068 from kidonng/acme.sh
Browse files Browse the repository at this point in the history
acme.sh 3.1.0 (new formula)
  • Loading branch information
BrewTestBot authored Jan 24, 2025
2 parents a70b4ec + d1994f8 commit ea6161d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ abseil
abyss
ack
acl2
acme.sh
acronym
act
action-validator
Expand Down
38 changes: 38 additions & 0 deletions Formula/a/acme.sh.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class AcmeSh < Formula
desc "ACME client"
homepage "https://github.com/acmesh-official/acme.sh"
url "https://github.com/acmesh-official/acme.sh/archive/refs/tags/3.1.0.tar.gz"
sha256 "5bc8a72095e16a1a177d1a516728bbd3436abf8060232d5d36b462fce74447aa"
license "GPL-3.0-only"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
sha256 cellar: :any_skip_relocation, arm64_ventura: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
sha256 cellar: :any_skip_relocation, sonoma: "45d864aacf2a2e4d2eb4ec6b2eea0f8d1f65fc2f533d549d780f7e03f54afc4c"
sha256 cellar: :any_skip_relocation, ventura: "45d864aacf2a2e4d2eb4ec6b2eea0f8d1f65fc2f533d549d780f7e03f54afc4c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3ed468ee7ca382405545a7c022fcf28f45e8cdbc0feb87e0e4c5e64018600f74"
end

def install
libexec.install [
"acme.sh",
"deploy",
"dnsapi",
"notify",
]

bin.install_symlink libexec/"acme.sh"
end

test do
assert_match version.to_s, shell_output("#{bin}/acme.sh --version")

expected = if OS.mac?
"Main_Domain KeyLength SAN_Domains CA Created Renew\n"
else
"Main_Domain\tKeyLength\tSAN_Domains\tCA\tCreated\tRenew\n"
end
assert_match expected, shell_output("#{bin}/acme.sh --list")
end
end

0 comments on commit ea6161d

Please sign in to comment.