diff options
| author | Tobias Brunner | 2014-04-25 14:05:05 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-04-25 10:41:16 -0500 |
| commit | 79576f80ae89224fbc5631ab3137e3aafed10139 (patch) | |
| tree | bb4f8f15db7909e1adf6c9d19797525b0f7c4cf6 /Library/Formula | |
| parent | 7f184995d33e77ed19791cdc9d38eb55cd865bc1 (diff) | |
| download | homebrew-79576f80ae89224fbc5631ab3137e3aafed10139.tar.bz2 | |
strongswan 5.1.3
Closes #28707.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/strongswan.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/strongswan.rb b/Library/Formula/strongswan.rb index bc965460a..ac82153be 100644 --- a/Library/Formula/strongswan.rb +++ b/Library/Formula/strongswan.rb @@ -2,8 +2,8 @@ require 'formula' class Strongswan < Formula homepage 'http://www.strongswan.org' - url 'http://download.strongswan.org/strongswan-5.1.2.tar.bz2' - sha1 '414569a95faeddacd99d23562be6f5a57b63f700' + url 'http://download.strongswan.org/strongswan-5.1.3.tar.bz2' + sha1 '6f8898308999b8fc293812ea5812a12c9ddbedc7' bottle do sha1 "2ab86079317c1639a765917d20fb6fa1666f1e2f" => :mavericks @@ -55,6 +55,12 @@ class Strongswan < Formula args << "--enable-kernel-pfkey" if build.without? 'suite-b' args << "--enable-kernel-libipsec" if build.with? 'suite-b' + # problem with weak reference, will be fixed in the next release + inreplace "src/libstrongswan/utils/test.c" do |s| + s.gsub! /__attribute__.+$/, "{}" + s.gsub! /!testable_functions_create/, "TRUE" + end + system "./configure", *args system "make", "install" end |
