diff options
Diffstat (limited to 'system/osquery-bin/osquery-bin.SlackBuild')
-rw-r--r-- | system/osquery-bin/osquery-bin.SlackBuild | 6 |
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 |