From da5089c838604c1fe2277ff2511bd541c0b75928 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Fri, 5 Dec 2014 16:32:11 +0000 Subject: [PATCH] owamp 3.4-10 Note: owamp now depends on separate i2util package, which the "aespasswd" and "pfstore" utilities have moved to. Closes Homebrew/homebrew#34706. Signed-off-by: Mike McQuaid --- Formula/owamp.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Formula/owamp.rb b/Formula/owamp.rb index 4611442eb85..40dedf23237 100644 --- a/Formula/owamp.rb +++ b/Formula/owamp.rb @@ -1,9 +1,9 @@ -require 'formula' +require "formula" class Owamp < Formula - homepage 'http://www.internet2.edu/performance/owamp/' - url 'http://software.internet2.edu/sources/owamp/owamp-3.3.tar.gz' - sha1 'ac3b77294ee30d41924b01fc009de0b2605a753c' + homepage "http://www.internet2.edu/performance/owamp/" + url "http://software.internet2.edu/sources/owamp/owamp-3.4-10.tar.gz" + sha1 "acf7502eef15fc0ac14d1b1d86e28759b4bc39fe" bottle do cellar :any @@ -12,6 +12,8 @@ class Owamp < Formula sha1 "34531c931ad6b22e4328b3823f2c2f38027db2c6" => :mountain_lion end + depends_on "i2util" + # Fix to prevent tests hanging under certain circumstances. # Provided by Aaron Brown via perfsonar-user mailing list: # https://lists.internet2.edu/sympa/arc/perfsonar-user/2014-11/msg00131.html @@ -25,6 +27,10 @@ class Owamp < Formula "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/owping", "-h" end end