aboutsummaryrefslogtreecommitdiff
path: root/system/sysdig/sysdig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/sysdig/sysdig.SlackBuild')
-rw-r--r--system/sysdig/sysdig.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/sysdig/sysdig.SlackBuild b/system/sysdig/sysdig.SlackBuild
index e95098c2722a..bb0d7af4b489 100644
--- a/system/sysdig/sysdig.SlackBuild
+++ b/system/sysdig/sysdig.SlackBuild
@@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,15 +73,18 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+FALCO_HASH=${FALCO_HASH:-2160111cd088aea9ae2235d3385ecb0b1ab6623c}
+
mkdir -p build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src
-cp $CWD/2160111cd088aea9ae2235d3385ecb0b1ab6623c.tar.gz build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/
+cp $CWD/libs-$FALCO_HASH.tar.gz \
+ build/falcosecurity-libs-repo/falcosecurity-libs-prefix/src/$FALCO_HASH.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix manpage location
sed -i 's|share/||' userspace/sysdig/man/CMakeLists.txt