aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorYann Hodique2014-04-26 08:25:30 -0700
committerAdam Vandenberg2014-05-23 11:56:36 -0700
commitccc68cba92f385b2c39b5d957511495b8986d26d (patch)
treebbd7993ec736a87722f2ecdc99a2caf7fb500641 /Library
parent9c267370c8063b582087fdc46652443724d4d6c3 (diff)
downloadhomebrew-ccc68cba92f385b2c39b5d957511495b8986d26d.tar.bz2
getmail: enable timeout support for SSL sockets
that support was disabled due to a bug in Python 2.3, which hopefully nobody uses anymore. On the downside, without those timeouts, getmail typically gets stuck forever when hibernation occurs while the socket is being used. Closes #28739. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/getmail.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/getmail.rb b/Library/Formula/getmail.rb
index c9109db37..c0f202c57 100644
--- a/Library/Formula/getmail.rb
+++ b/Library/Formula/getmail.rb
@@ -6,6 +6,11 @@ class Getmail < Formula
mirror 'http://fossies.org/linux/misc/getmail-4.46.0.tar.gz'
sha1 '0e20fcfed6c422e5135304c3728c11c7cee7081a'
+ patch do
+ url "https://gist.githubusercontent.com/sigma/11295734/raw/5a7f39d600fc20d7605d3c9e438257285700b32b/ssl_timeout.patch"
+ sha1 "d7242a07c0d4de1890bb8ebd51b55e01e859b302"
+ end
+
def install
libexec.install %w( getmail getmail_fetch getmail_maildir getmail_mbox )
bin.install_symlink Dir["#{libexec}/*"]