summaryrefslogtreecommitdiffstats
path: root/system/osquery-bin/osquery-bin.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2022-09-23 02:15:03 +0200
committer Willy Sudiarto Raharjo2022-09-25 08:59:49 +0200
commit8d6b092ebc3eb5c2fd96b601ddf0159feeabc9ca (patch)
treeb3443413ba47f09f2c288d1ccfdddda2014cc173 /system/osquery-bin/osquery-bin.SlackBuild
parent8d56541472bcfb3ae2a30967befc2d9a7bf4447e (diff)
downloadslackbuilds-8d6b092ebc3eb5c2fd96b601ddf0159feeabc9ca.tar.gz
system/osquery-bin: Updated for version 5.5.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/osquery-bin/osquery-bin.SlackBuild')
-rw-r--r--system/osquery-bin/osquery-bin.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/osquery-bin/osquery-bin.SlackBuild b/system/osquery-bin/osquery-bin.SlackBuild
index 335c85844f..69c03fd04f 100644
--- a/system/osquery-bin/osquery-bin.SlackBuild
+++ b/system/osquery-bin/osquery-bin.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=osquery-bin
SRCNAM=${PRGNAM%-bin}
-VERSION=${VERSION:-5.4.0}
+VERSION=${VERSION:-5.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,7 +56,7 @@ if [ "$ARCH" = "i586" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -72,6 +72,8 @@ cd $PKG
if [ "$ARCH" = "x86_64" ]; then
ar p "$CWD/$SRCNAM"_"$VERSION-$DEBBUILD.linux_amd64.deb" data.tar.gz | tar xzv
+elif [ "$ARCH" = "aarch64" ]; then
+ ar p "$CWD/$SRCNAM"_"$VERSION-$DEBBUILD.linux_arm64.deb" data.tar.gz | tar xzv
else
printf "$ARCH is not supported...\n"
exit 1