File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 5
5
abyss
6
6
ack
7
7
acl2
8
+ acme.sh
8
9
acronym
9
10
act
10
11
action-validator
Original file line number Diff line number Diff line change
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\t KeyLength\t SAN_Domains\t CA\t Created\t Renew\n "
35
+ end
36
+ assert_match expected , shell_output ( "#{ bin } /acme.sh --list" )
37
+ end
38
+ end
You can’t perform that action at this time.
0 commit comments