From 514b8406dc2e34bf8071ff6a707eafa54bff2674 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 16 Sep 2014 19:24:18 -0500 Subject: sleuthkit: apply upstream build fix Fixes #32340. --- Library/Formula/sleuthkit.rb | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Formula/sleuthkit.rb b/Library/Formula/sleuthkit.rb index 3cd16516d..eae7109af 100644 --- a/Library/Formula/sleuthkit.rb +++ b/Library/Formula/sleuthkit.rb @@ -2,15 +2,24 @@ require 'formula' class Sleuthkit < Formula homepage 'http://www.sleuthkit.org/' - url 'https://downloads.sourceforge.net/project/sleuthkit/sleuthkit/4.1.3/sleuthkit-4.1.3.tar.gz' - sha1 '9350bb59bb5fbe41d6e29a8d0494460b937749ef' + + stable do + url "https://downloads.sourceforge.net/project/sleuthkit/sleuthkit/4.1.3/sleuthkit-4.1.3.tar.gz" + sha1 "9350bb59bb5fbe41d6e29a8d0494460b937749ef" + + # Upstream fix for https://github.com/sleuthkit/sleuthkit/issues/345 + patch do + url "https://github.com/sleuthkit/sleuthkit/commit/39c62d6d169f8723c821ca7decdb8e124e126782.diff" + sha1 "9da053e839ef8c4a454ac2f4f80b368884ff959c" + end + end head do - url 'https://github.com/sleuthkit/sleuthkit.git' + url "https://github.com/sleuthkit/sleuthkit.git" - depends_on :autoconf - depends_on :automake - depends_on :libtool + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build end conflicts_with 'irods', :because => 'both install `ils`' -- cgit v1.2.3