summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 22:00:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 22:00:36 +0700
commitaddafc4f1ef46984ed29ea738f9cd416da68b759 (patch)
tree66bb58df74391066a628d96ed6c892698e7ce482
parentca69e17804c5375c5967604897e8529230e2d6bd (diff)
downloadslackbuilds-addafc4f1ef46984ed29ea738f9cd416da68b759.tar.gz
system/sysdig: Fix offline build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/sysdig/sysdig.SlackBuild5
-rw-r--r--system/sysdig/sysdig.info6
2 files changed, 8 insertions, 3 deletions
diff --git a/system/sysdig/sysdig.SlackBuild b/system/sysdig/sysdig.SlackBuild
index e92e403c78..e95098c272 100644
--- a/system/sysdig/sysdig.SlackBuild
+++ b/system/sysdig/sysdig.SlackBuild
@@ -75,6 +75,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+mkdir -p build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src
+cp $CWD/2160111cd088aea9ae2235d3385ecb0b1ab6623c.tar.gz build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -93,7 +97,6 @@ else
sed -i '/sysdig-probe-loader/,$d' scripts/CMakeLists.txt
fi
-mkdir build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
diff --git a/system/sysdig/sysdig.info b/system/sysdig/sysdig.info
index af7428b231..d034a60cc2 100644
--- a/system/sysdig/sysdig.info
+++ b/system/sysdig/sysdig.info
@@ -1,8 +1,10 @@
PRGNAM="sysdig"
VERSION="0.28.0"
HOMEPAGE="https://www.sysdig.org"
-DOWNLOAD="https://github.com/draios/sysdig/archive/0.28.0/sysdig-0.28.0.tar.gz"
-MD5SUM="b0a25f902d6d520380f03a1f39177033"
+DOWNLOAD="https://github.com/draios/sysdig/archive/0.28.0/sysdig-0.28.0.tar.gz \
+ https://github.com/falcosecurity/libs/archive/2160111cd088aea9ae2235d3385ecb0b1ab6623c.tar.gz"
+MD5SUM="b0a25f902d6d520380f03a1f39177033 \
+ 52ff63dc35604d0a37aa780a4472a114"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jsoncpp lua libb64 jq tbb grpc gtest"