socat: 1.7.2.4 & 2.0.0-b7
Socat: Updates to the latest available packages. The developer’s website has been unavailable for me on multiple connections, inside & outside of Homebrew multiple times so I’ve added a mirror to both links. One of the patches was out of date, having been written into the source code natively and consequently has been removed. OpenSSL has been a dependency on the various Linux branches for a while now, and given that socat seems to have been built against the newer versions of OpenSSL than Apple ships with OS X I have included that dependency here. Both socat 1.7.2.2 & 2.0.0-b6 were revealed to contain security flaws, [CVE-2014-0019](http://www.openwall.com/lists/oss-security/2014/01/28/7), and the latest versions included have been patched against those. Closes Homebrew/homebrew#30925. Signed-off-by: Jack Nagel <jacknagel@gmail.com> socat 1.7.2.4 & 2.0.0-b7. Added a HTTP mirror to the devel build. Closes Homebrew/homebrew#30925. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
dd39c9a86f
commit
d7e5d6bab7
1 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue