parent
545a765549
commit
a1f28c0f44
|
@ -1,9 +1,9 @@
|
|||
require 'formula'
|
||||
|
||||
class Stunnel < Formula
|
||||
url 'ftp://ftp.stunnel.org/stunnel/obsolete/4.x/stunnel-4.37.tar.gz'
|
||||
url 'ftp://ftp.stunnel.org/stunnel/stunnel-4.41.tar.gz'
|
||||
homepage 'http://www.stunnel.org/'
|
||||
md5 '8d4e2cefbef6638da95986a3d44c1b4a'
|
||||
md5 '1ce3c7c491cabbda713af6ed6caf13f0'
|
||||
|
||||
# This patch installs a bogus .pem in lieu of interactive cert generation.
|
||||
def patches
|
||||
|
@ -35,14 +35,14 @@ end
|
|||
|
||||
__END__
|
||||
diff --git a/tools/stunnel.cnf b/tools/stunnel.cnf
|
||||
index 274f9a0..d5d7cc0 100644
|
||||
index 0c00347..f53668f 100644
|
||||
--- a/tools/stunnel.cnf
|
||||
+++ b/tools/stunnel.cnf
|
||||
@@ -7,6 +7,7 @@ default_bits = 1024
|
||||
encrypt_key = yes
|
||||
distinguished_name = req_dn
|
||||
x509_extensions = cert_type
|
||||
+prompt = no
|
||||
|
||||
@@ -5,6 +5,7 @@ default_bits = 2048
|
||||
encrypt_key = no
|
||||
distinguished_name = req_dn
|
||||
x509_extensions = cert_type
|
||||
+prompt = no
|
||||
|
||||
[ req_dn ]
|
||||
countryName = Country Name (2 letter code)
|
||||
|
|
Loading…
Reference in New Issue