homebrew-core/Formula/dirmngr.rb

43 lines
1.5 KiB
Ruby
Raw Normal View History

class Dirmngr < Formula
desc "Server for managing certificate revocation lists"
homepage "https://www.gnupg.org"
2014-12-27 16:00:14 +00:00
url "ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-1.1.1.tar.bz2"
2015-08-03 18:39:46 +00:00
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/d/dirmngr/dirmngr_1.1.1.orig.tar.bz2"
sha256 "d2280b8c314db80cdaf101211a47826734443436f5c3545cc1b614c50eaae6ff"
revision 1
2014-07-01 10:48:03 +00:00
bottle do
2015-04-19 09:37:46 +00:00
revision 2
2015-09-21 18:49:29 +00:00
sha256 "a07f99c0a38b6bb454d2c596562717d651779a1f189ab15809e21c3047079e79" => :el_capitan
2015-04-19 09:37:46 +00:00
sha256 "ca8d166e23d655deb6fba0f22b675482791bcfe1008ec07bdef8bfdc5f7240ec" => :yosemite
sha256 "ce5b93c43cf4d15a6510782663583683a1fa0582f4f2a270230c91b081ae2ba8" => :mavericks
sha256 "5b4f0faf48899220e39b649aed3d3a772393bfa02f066dcfb8b6d47cc832165d" => :mountain_lion
2014-07-01 10:48:03 +00:00
end
2014-12-27 16:00:14 +00:00
depends_on "libassuan"
depends_on "libgpg-error"
depends_on "libgcrypt"
depends_on "libksba"
depends_on "pth"
patch :p0 do
# patch by upstream developer to fix an API incompatibility with libgcrypt >=1.6.0
# causing immediate segfault in dirmngr. see http://bugs.g10code.com/gnupg/issue1590
url "http://bugs.g10code.com/gnupg/file419/dirmngr-pth-fix.patch"
sha256 "0efbcf1e44177b3546fe318761c3386a11310a01c58a170ef60df366e5160beb"
end
def install
system "./configure", "--disable-dependency-tracking",
2013-01-27 22:16:08 +00:00
"--prefix=#{prefix}",
"--sysconfdir=#{etc}"
system "make"
2014-12-27 16:00:14 +00:00
system "make", "install"
end
test do
system "dirmngr-client", "--help"
system "dirmngr", "--help"
end
end