formulae: various audit fixes

Closes Homebrew/homebrew#44621.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Andrew Janke 2015-10-05 09:15:35 -04:00 committed by Dominyk Tiller
parent 898500dd8b
commit 64d867e225
5 changed files with 7 additions and 6 deletions

View file

@ -5,8 +5,6 @@ class Dante < Formula
mirror "ftp://ftp.inet.no/pub/socks/dante-1.4.1.tar.gz"
sha256 "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53"
depends_on "miniupnpc" => :optional
bottle do
cellar :any
sha1 "2d75acdb4024c23ea3834eb2f5e95813f93c8b94" => :yosemite
@ -14,6 +12,8 @@ class Dante < Formula
sha1 "d09ccfb1ad49ec06acd1200f43716eb79d71618d" => :mountain_lion
end
depends_on "miniupnpc" => :optional
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",

View file

@ -34,7 +34,7 @@ class Darcs < Formula
end
system "darcs", "get", "my_repo", "my_repo_clone"
Dir.chdir "my_repo_clone" do
assert (Pathname.pwd/"foo").read.include? "hello homebrew!"
assert_match "hello homebrew!", (Pathname.pwd/"foo").read
end
end
end

View file

@ -17,7 +17,7 @@ class Dcraw < Formula
def install
ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include -L#{HOMEBREW_PREFIX}/lib"
system "#{ENV.cc} -o dcraw #{ENV.cflags} dcraw.c -lm -ljpeg -llcms2 -ljasper"
system ENV.cc, "-o", "dcraw", ENV.cflags, "dcraw.c", "-lm", "-ljpeg", "-llcms2", "-ljasper"
bin.install "dcraw"
man1.install "dcraw.1"
end

View file

@ -18,7 +18,8 @@ class Dex < Formula
def install
args = ["prefix=#{prefix}",
"CC=#{ENV.cc}",
"HOST_CC=#{ENV.cc}"]
"HOST_CC=#{ENV.cc}",
]
args << "VERSION=#{version}" if build.head?

View file

@ -1,5 +1,5 @@
class Dex2jar < Formula
desc "Tools to work with and reverse-engineer Android .dex and Java .class files"
desc "Tools to work with Android .dex and Java .class files"
homepage "https://github.com/pxb1988/dex2jar"
url "https://downloads.sourceforge.net/project/dex2jar/dex2jar-2.0.zip"
mirror "https://bitbucket.org/pxb1988/dex2jar/downloads/dex2jar-2.0.zip"