homebrew-core/Formula/fetch-crl.rb
2018-08-21 11:47:19 +02:00

22 lines
882 B
Ruby

class FetchCrl < Formula
desc "Retrieve certificate revocation lists (CRLs)"
homepage "https://wiki.nikhef.nl/grid/FetchCRL3"
url "https://dist.eugridpma.info/distribution/util/fetch-crl3/fetch-crl-3.0.20.tar.gz"
sha256 "cf2e145fd8855a3811b7dfeb82ed416e46ac0852dbfaa73d915cef9bd245d30d"
bottle do
cellar :any_skip_relocation
sha256 "b29839aecb3c2baccaea03af66504fe993fa590dda06d608b40ffb64697d0125" => :mojave
sha256 "d267b22108f0174da30e56d8d1346b9d581c0ab98a48885c1c5e668368c47598" => :high_sierra
sha256 "d267b22108f0174da30e56d8d1346b9d581c0ab98a48885c1c5e668368c47598" => :sierra
sha256 "d267b22108f0174da30e56d8d1346b9d581c0ab98a48885c1c5e668368c47598" => :el_capitan
end
def install
system "make", "install", "PREFIX=#{prefix}", "ETC=#{etc}", "CACHE=#{var}/cache"
end
test do
system sbin/"fetch-crl", "-l", testpath
end
end