summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--system/osquery-bin/osquery-bin.SlackBuild6
-rw-r--r--system/osquery-bin/osquery-bin.info8
2 files changed, 9 insertions, 5 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
diff --git a/system/osquery-bin/osquery-bin.info b/system/osquery-bin/osquery-bin.info
index 4d016fdfba..e0ad72c6f6 100644
--- a/system/osquery-bin/osquery-bin.info
+++ b/system/osquery-bin/osquery-bin.info
@@ -1,10 +1,12 @@
PRGNAM="osquery-bin"
-VERSION="5.4.0"
+VERSION="5.5.1"
HOMEPAGE="https://osquery.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/osquery/osquery/releases/download/5.4.0/osquery_5.4.0-1.linux_amd64.deb"
-MD5SUM_x86_64="446e38e2b9204fc04fa8daae04feda27"
+DOWNLOAD_x86_64="https://github.com/osquery/osquery/releases/download/5.5.1/osquery_5.5.1-1.linux_amd64.deb \
+ https://github.com/osquery/osquery/releases/download/5.5.1/osquery_5.5.1-1.linux_arm64.deb"
+MD5SUM_x86_64="df986fa2d66c72dacb8c2fb8921f8606 \
+ fe8c5a46f5d425951e5dc722c01dc105"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"