diff --git a/Formula/socat.rb b/Formula/socat.rb index e5ed776396..715c049888 100644 --- a/Formula/socat.rb +++ b/Formula/socat.rb @@ -2,22 +2,19 @@ require 'formula' class Socat < Formula homepage 'http://www.dest-unreach.org/socat/' - url 'http://www.dest-unreach.org/socat/download/socat-1.7.2.2.tar.bz2' - sha1 'ba270b85b0d16a6b300159f9b0d88653a9f5d9da' + url 'http://www.dest-unreach.org/socat/download/socat-1.7.2.4.tar.bz2' + mirror 'http://ftp.de.debian.org/debian/pool/main/s/socat/socat_1.7.2.4.orig.tar.bz2' + sha1 '55650f3c4c1a5cdc323b2e6eece416b6303d39b5' devel do - url 'http://www.dest-unreach.org/socat/download/socat-2.0.0-b6.tar.bz2' - sha1 '8873c8ab721bc301bfd5026872bace9e01e7bfac' + url 'http://www.dest-unreach.org/socat/download/socat-2.0.0-b7.tar.gz' + mirror 'http://fossies.org/linux/privat/socat-2.0.0-b7.tar.gz' + sha1 'b9ce176ab1ad974a0f01810b517d404214f40288' patch :DATA end depends_on 'readline' - - # Socat devs are aware; see: https://trac.macports.org/ticket/32044 - patch :p0 do - url "https://trac.macports.org/export/90442/trunk/dports/sysutils/socat/files/patch-xioexit.c.diff" - sha1 "e555d20551f44cddc2613687ff31ec7f0ef09f79" - end + depends_on 'openssl' def install ENV.enable_warnings # -w causes build to fail