From 15c0249c47efb0ad57e5a707991c04a7394f0fa0 Mon Sep 17 00:00:00 2001 From: Reinaldo Junior Date: Thu, 3 Apr 2014 17:10:44 -0300 Subject: [PATCH 1/4] sysdig 0.1.72 (new formula) --- Library/Formula/sysdig.rb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Library/Formula/sysdig.rb diff --git a/Library/Formula/sysdig.rb b/Library/Formula/sysdig.rb new file mode 100644 index 000000000000..c109e271484a --- /dev/null +++ b/Library/Formula/sysdig.rb @@ -0,0 +1,25 @@ +require "formula" + +class Sysdig < Formula + homepage "http://www.sysdig.org/" + url 'https://github.com/draios/sysdig/archive/0.1.72.tar.gz' + sha1 'c735c37da82022d22f77490b94f178ad98a1e6f6' + + head 'https://github.com/draios/sysdig.git', :branch => 'development' + + depends_on :macos => :mavericks # depends on clang + depends_on "cmake" => :build + + def install + ENV.deparallelize + + mkdir "build" do + system "cmake", "..", *std_cmake_args + system "make", "install" + end + end + + test do + system "#{bin}/sysdig", "-h" + end +end From 5ef4308d5334172e2949a22f3416228b8c9dc24c Mon Sep 17 00:00:00 2001 From: Reinaldo Junior Date: Fri, 4 Apr 2014 21:08:42 -0300 Subject: [PATCH 2/4] that was my original formula --- Library/Formula/sysdig.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Library/Formula/sysdig.rb b/Library/Formula/sysdig.rb index c109e271484a..e72ff70cfcca 100644 --- a/Library/Formula/sysdig.rb +++ b/Library/Formula/sysdig.rb @@ -5,14 +5,11 @@ class Sysdig < Formula url 'https://github.com/draios/sysdig/archive/0.1.72.tar.gz' sha1 'c735c37da82022d22f77490b94f178ad98a1e6f6' - head 'https://github.com/draios/sysdig.git', :branch => 'development' + head 'https://github.com/draios/sysdig.git', :branch => 'master' - depends_on :macos => :mavericks # depends on clang depends_on "cmake" => :build def install - ENV.deparallelize - mkdir "build" do system "cmake", "..", *std_cmake_args system "make", "install" From a73931ee0ea1d85bfa04d96359d185a4f80569eb Mon Sep 17 00:00:00 2001 From: Reinaldo Junior Date: Fri, 4 Apr 2014 21:59:44 -0300 Subject: [PATCH 3/4] enables c++11 features --- Library/Formula/sysdig.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Formula/sysdig.rb b/Library/Formula/sysdig.rb index e72ff70cfcca..6da0b68faad1 100644 --- a/Library/Formula/sysdig.rb +++ b/Library/Formula/sysdig.rb @@ -10,6 +10,8 @@ class Sysdig < Formula depends_on "cmake" => :build def install + ENV.libcxx if MacOS.version < :mavericks + mkdir "build" do system "cmake", "..", *std_cmake_args system "make", "install" From c2782194e44623c442f66ab434c9250686f86e98 Mon Sep 17 00:00:00 2001 From: Reinaldo Junior Date: Fri, 4 Apr 2014 23:09:52 -0300 Subject: [PATCH 4/4] trying 0.1.73 - fixes parallel build --- Library/Formula/sysdig.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Formula/sysdig.rb b/Library/Formula/sysdig.rb index 6da0b68faad1..cc47516284e8 100644 --- a/Library/Formula/sysdig.rb +++ b/Library/Formula/sysdig.rb @@ -2,8 +2,8 @@ class Sysdig < Formula homepage "http://www.sysdig.org/" - url 'https://github.com/draios/sysdig/archive/0.1.72.tar.gz' - sha1 'c735c37da82022d22f77490b94f178ad98a1e6f6' + url 'https://github.com/draios/sysdig/archive/0.1.73.tar.gz' + sha1 '2f1133da0256c21c2642dbda57e047a3ae69765f' head 'https://github.com/draios/sysdig.git', :branch => 'master'