diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/strongswan.rb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/strongswan.rb b/Library/Formula/strongswan.rb index 404a8f7d7..642e98932 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.3.tar.bz2' - sha1 '6f8898308999b8fc293812ea5812a12c9ddbedc7' + url 'http://download.strongswan.org/strongswan-5.2.0.tar.bz2' + sha1 'f907d4ac9e4353db888bbf856e959a05c08a70fc' bottle do sha1 "7a63c925dde5195c98e3e63dc3fb6eb963eac106" => :mavericks @@ -41,12 +41,13 @@ class Strongswan < Formula --enable-pgp --enable-pkcs1 --enable-pkcs8 + --enable-pki --enable-pubkey --enable-revocation + --enable-scepclient --enable-socket-default --enable-sshkey --enable-stroke - --enable-tools --enable-updown --enable-unity --enable-xauth-generic @@ -55,12 +56,6 @@ 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 |
