aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-16 21:09:08 -0700
committerAdam Vandenberg2013-06-16 21:09:08 -0700
commitccb315922d6baccc011c7d0dc548dcbbb6633852 (patch)
tree7ba5c86a8e3e88941bf1fea67202aaa14ec6f1f2 /Library
parent7e184fb6d8ed392019e4ed7ceb99372d85bcaee3 (diff)
downloadhomebrew-ccb315922d6baccc011c7d0dc548dcbbb6633852.tar.bz2
Redact gnutls2
Wireshark accepts gnutls3, so nothing else in core needs version 2.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnutls2.rb38
1 files changed, 0 insertions, 38 deletions
diff --git a/Library/Formula/gnutls2.rb b/Library/Formula/gnutls2.rb
deleted file mode 100644
index 8184fd82d..000000000
--- a/Library/Formula/gnutls2.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-require 'formula'
-
-# Gnutls3 changes the API, but also changes the license, which makes it
-# unlikely for many projects to update.
-class Gnutls2 < Formula
- homepage 'http://www.gnu.org/software/gnutls/gnutls.html'
- url 'http://ftpmirror.gnu.org/gnutls/gnutls-2.12.21.tar.bz2'
- mirror 'http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.21.tar.bz2'
- sha256 '2bd020665951f38a230d6b6d98630f8c47ca6977d7d86977d356ccf17756fbf3'
-
- keg_only "GnuTLS 2 is provided for software that doesn't compile against newer versions."
-
- depends_on 'pkg-config' => :build
- depends_on 'libgcrypt'
- depends_on 'libtasn1'
- depends_on 'p11-kit'
-
- fails_with :llvm do
- build 2326
- cause "Undefined symbols when linking"
- end
-
- def install
- ENV.append 'LDFLAGS', '-ltasn1' # find external libtasn1
-
- system "./configure", "--disable-debug",
- "--disable-dependency-tracking",
- "--disable-guile",
- "--disable-static",
- "--prefix=#{prefix}",
- "--with-libgcrypt"
- system "make install"
-
- # certtool shadows the OS X certtool utility
- mv bin/'certtool', bin/'gnutls-certtool'
- mv man1/'certtool.1', man1/'gnutls-certtool.1'
- end
-end