strongswan: apply patch for Monterey
While we're here, make sure the patches are applied only to `stable`, and sort the allowlist alphabetically. Closes #89022. Closes #89633. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
acfa4b1aac
commit
5b67af264f
|
@ -1,9 +1,26 @@
|
|||
class Strongswan < Formula
|
||||
desc "VPN based on IPsec"
|
||||
homepage "https://www.strongswan.org"
|
||||
url "https://download.strongswan.org/strongswan-5.9.4.tar.bz2"
|
||||
sha256 "45fdf1a4c2af086d8ff5b76fd7b21d3b6f0890f365f83bf4c9a75dda26887518"
|
||||
license "GPL-2.0-or-later"
|
||||
revision 1
|
||||
|
||||
stable do
|
||||
url "https://download.strongswan.org/strongswan-5.9.4.tar.bz2"
|
||||
sha256 "45fdf1a4c2af086d8ff5b76fd7b21d3b6f0890f365f83bf4c9a75dda26887518"
|
||||
|
||||
# Fix -flat_namespace being used on Big Sur and later.
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
|
||||
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
|
||||
end
|
||||
|
||||
# Fix Installation of virtual IPs in strongSwan failing on macOS Monterey
|
||||
# Remove from `not_a_binary_url_prefix_allowlist.json` when this patch is removed.
|
||||
patch do
|
||||
url "https://github.com/Homebrew/homebrew-core/files/7503555/macos-12-tun-fix.txt"
|
||||
sha256 "733a6868f18d7e28ad90d41fde4dfedd2b975ccaf9bb98ede31eac00685a697a"
|
||||
end
|
||||
end
|
||||
|
||||
livecheck do
|
||||
url "https://download.strongswan.org/"
|
||||
|
@ -31,12 +48,6 @@ class Strongswan < Formula
|
|||
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
# Fix -flat_namespace being used on Big Sur and later.
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
|
||||
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
|
||||
end
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--disable-dependency-tracking
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
[
|
||||
"archey",
|
||||
"astyle",
|
||||
"bittwist",
|
||||
"cspice",
|
||||
"folderify",
|
||||
"gcore",
|
||||
"launch4j",
|
||||
"organize-tool",
|
||||
"reattach-to-user-namespace",
|
||||
"archey",
|
||||
"wallpaper",
|
||||
"strongswan",
|
||||
"term",
|
||||
"gcore",
|
||||
"cspice",
|
||||
"x264",
|
||||
"vifm"
|
||||
"vifm",
|
||||
"wallpaper",
|
||||
"x264"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue