From 2e5ab3abe64eff517bb785889cf786605746035e Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 29 Apr 2017 07:20:28 -0700 Subject: [PATCH] osquery 2.4.2 depend on libarchive bump vendored aws-sdk-cpp to 1.0.107 Closes #13034. Signed-off-by: ilovezfs --- Formula/osquery.rb | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Formula/osquery.rb b/Formula/osquery.rb index 634a9894f4..2763504993 100644 --- a/Formula/osquery.rb +++ b/Formula/osquery.rb @@ -3,9 +3,8 @@ class Osquery < Formula homepage "https://osquery.io" # pull from git tag to get submodules url "https://github.com/facebook/osquery.git", - :tag => "2.4.0", - :revision => "76fe5d748cbcf41a4c3f40193bde05739cf7d83f" - revision 1 + :tag => "2.4.2", + :revision => "62dda71321e4fe492595298c3300c270c4888f8f" bottle do cellar :any @@ -26,6 +25,7 @@ class Osquery < Formula depends_on "snappy" depends_on "gflags" depends_on "glog" + depends_on "libarchive" depends_on "libmagic" depends_on "lldpd" depends_on "lz4" @@ -51,8 +51,8 @@ class Osquery < Formula end resource "aws-sdk-cpp" do - url "https://github.com/aws/aws-sdk-cpp/archive/0.14.4.tar.gz" - sha256 "2e935275c6f7eb25e7d850b354344c92cacb7c193b708ec64ffce10ec6afa7f4" + url "https://github.com/aws/aws-sdk-cpp/archive/1.0.107.tar.gz" + sha256 "0560918ef2a4b660e49981378af42d999b91482a31e720be2d9c427f21ac8ad0" end resource "cpp-netlib" do @@ -82,9 +82,6 @@ class Osquery < Formula vendor = buildpath/"brew_vendor" resource("aws-sdk-cpp").stage do - inreplace "CMakeLists.txt", "${CMAKE_CXX_FLAGS_RELEASE} -s", - "${CMAKE_CXX_FLAGS_RELEASE}" - args = std_cmake_args + %W[ -DSTATIC_LINKING=1 -DNO_HTTP_CLIENT=1