diff --git a/Formula/wireguard-tools.rb b/Formula/wireguard-tools.rb index e35bc18d99..aef976fd30 100644 --- a/Formula/wireguard-tools.rb +++ b/Formula/wireguard-tools.rb @@ -1,23 +1,12 @@ class WireguardTools < Formula desc "Tools for the WireGuard secure network tunnel" homepage "https://www.wireguard.com/" + # Please only update version when the tools have been modified/updated, + # since the Linux module aspect isn't of utility for us. + url "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20180218.tar.xz" + sha256 "4ac4c4e4ad4dc2cf9dcb831b0cf347567ccea675ca524528cf5a4d9dccb2fe52" head "https://git.zx2c4.com/WireGuard", :using => :git - stable do - # Please only update version when the tools have been modified/updated, - # since the Linux module aspect isn't of utility for us. - url "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20180202.tar.xz" - sha256 "ee3415b482265ad9e8721aa746aaffdf311058a2d1a4d80e7b6d11bbbf71c722" - - # Fix "fatal error: 'endian.h' file not found" - # Equivalent to upstream commit from 5 Feb 2018 "tools: endian.h is not portable" - # See https://git.zx2c4.com/WireGuard/patch/?id=d99954e0376d50c31f052cd6455e8665d9d9dd66 - patch do - url "https://raw.githubusercontent.com/Homebrew/formula-patches/4e4ca86/wireguard-tools/endian.patch" - sha256 "68d77d13a7fc748f02e4a78eb405599b04d1b99dcbee8af06cf8eb8f0ba9c908" - end - end - bottle do cellar :any_skip_relocation sha256 "7f6e643686eddd744b23b8c1a0434ea74e1047682c73ab402a766db5001534d2" => :high_sierra