2016-07-21 09:50:40 +00:00
|
|
|
class WireguardTools < Formula
|
|
|
|
desc "Tools for the WireGuard secure network tunnel"
|
|
|
|
homepage "https://www.wireguard.io/"
|
2016-07-26 00:38:04 +00:00
|
|
|
# Despite the experimental tag the tools themselves are stable.
|
|
|
|
# Please only update version when the tools have been modified/updated.
|
|
|
|
url "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-0.0.20160722.tar.xz"
|
|
|
|
sha256 "0dcda97b6bb4e962f731a863df9b4291c1c453b01f4faba78be4aaa13a594242"
|
2016-09-24 15:45:48 +00:00
|
|
|
head "https://git.zx2c4.com/WireGuard", :using => :git
|
2016-07-26 00:38:04 +00:00
|
|
|
|
2016-07-24 10:55:26 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-10-01 18:11:55 +00:00
|
|
|
sha256 "d04cd0490f4242203deb64266b961c129830fea59b3293dc7cca184010cbaf4a" => :sierra
|
2016-07-24 10:55:26 +00:00
|
|
|
sha256 "23d88bb47ff2aa10cdc9add6fc326b60f7f1a60b9a419249bca20b1843bbaf1f" => :el_capitan
|
|
|
|
sha256 "6cee2c9452178aba10e5b118ed5c8d705467c5e25437cc6d587822a5d199a9c0" => :yosemite
|
|
|
|
sha256 "81110c65982e178495f38d39f5d2f1f3e5a9ada37b22bc44260cdd92ffe806b6" => :mavericks
|
|
|
|
end
|
|
|
|
|
2016-07-21 09:50:40 +00:00
|
|
|
def install
|
|
|
|
system "make", "PREFIX=#{prefix}", "-C", "src/tools", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/wg", "help"
|
|
|
|
end
|
|
|
|
end
|