Skip to content

Commit

Permalink
siege 3.0.7
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#33134.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
stianeikeland authored and jacknagel committed Oct 14, 2014
1 parent 1ba6391 commit 69a88b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Formula/siege.rb
Expand Up @@ -2,10 +2,8 @@

class Siege < Formula
homepage 'http://www.joedog.org/index/siege-home'
# The primary download site is (incorrectly) serving the content decompressed
# url 'http://www.joedog.org/pub/siege/siege-3.0.5.tar.gz'
url 'http://ftp.de.debian.org/debian/pool/main/s/siege/siege_3.0.5.orig.tar.gz'
sha256 '283e624fd802775bf6eb8832c4f76dad6692aa1f3efa98db1ae2ddaba651ca99'
url 'http://download.joedog.org/siege/siege-3.0.7.tar.gz'
sha256 'c651e2ae871cc680eb375f128b4809e97ceecf367f6bd65c3df00603fbceed4e'

def install
# To avoid unnecessary warning due to hardcoded path, create the folder first
Expand Down Expand Up @@ -34,4 +32,8 @@ def caveats; <<-EOS.undent
Run siege.config to create the ~/.siegerc config file.
EOS
end

test do
system "#{bin}/siege", "--concurrent=1", "--reps=1", "http://google.com/"
end
end

0 comments on commit 69a88b3

Please sign in to comment.