system/sysdig: Updated for version 0.12.1

Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
Larry Hajali 2016-11-19 11:49:08 -08:00 committed by Willy Sudiarto Raharjo
parent b5e5ff0630
commit 30f77abdfe
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 4 additions and 39 deletions

View file

@ -1,31 +0,0 @@
Only in sysdig-0.11.0.fix: build
diff -ru sysdig-0.11.0/userspace/libsinsp/json_query.h sysdig-0.11.0.fix/userspace/libsinsp/json_query.h
--- sysdig-0.11.0/userspace/libsinsp/json_query.h 2016-07-14 10:11:40.000000000 +0200
+++ sysdig-0.11.0.fix/userspace/libsinsp/json_query.h 2016-07-21 21:50:23.582406170 +0200
@@ -24,17 +24,9 @@
// jq is not C++-friendly
extern "C"
{
- #include "compile.h"
#include "jv.h"
#include "jq.h"
//+++ jq C++ compile fixes
- #ifndef NDEBUG
- # define NDEBUG
- # include "jv_alloc.h"
- # undef NDEBUG
- #else
- # include "jv_alloc.h"
- #endif // NDEBUG
#ifndef HAVE_MKSTEMP
# include <stdlib.h>
# include <fcntl.h>
@@ -58,8 +50,6 @@
}
# define HAVE_MKSTEMP
#endif // HAVE_MKSTEMP
- //--- jq C++ compile fix
- #include "util.h"
}
#include <string>

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sysdig
VERSION=${VERSION:-0.11.0}
VERSION=${VERSION:-0.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -82,10 +82,6 @@ else
sed -i '/sysdig-probe-loader/,$d' scripts/CMakeLists.txt
fi
# Fix using jq private headers.
# Source: https://github.com/draios/sysdig/issues/626
patch -p1 < $CWD/0.11.0-do-not-use-private-jq-api.patch
mkdir build
cd build
cmake -G "Unix Makefiles" \

View file

@ -1,8 +1,8 @@
PRGNAM="sysdig"
VERSION="0.11.0"
VERSION="0.12.1"
HOMEPAGE="http://www.sysdig.org"
DOWNLOAD="https://github.com/draios/sysdig/archive/0.11.0/sysdig-0.11.0.tar.gz"
MD5SUM="19a42220d97d309744077c38934f9f34"
DOWNLOAD="https://github.com/draios/sysdig/archive/0.12.1/sysdig-0.12.1.tar.gz"
MD5SUM="ba82f255e223f3effaba84a6758ed55b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jsoncpp lua libb64 jq"