system/osquery-bin: Updated for version 4.9.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2021-06-26 14:54:05 +12:00 committed by Willy Sudiarto Raharjo
parent 4110ff671d
commit 8a44bdde72
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 9 deletions

View File

@ -24,7 +24,7 @@
PRGNAM=osquery-bin
SRCNAM=${PRGNAM%-bin}
VERSION=${VERSION:-4.8.0}
VERSION=${VERSION:-4.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -62,7 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
if [ "$ARCH" = "x86_64" ]; then
tar xvf $CWD/$SRCNAM-$VERSION"_1.linux_x86_64.tar.gz"
ar p "$CWD/$SRCNAM"_"$VERSION-1.linux_amd64.deb" data.tar.gz | tar xzv
else
printf "$ARCH is not supported...\n"
exit 1
@ -75,14 +75,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -rf .scripts
mkdir etc/rc.d
mv etc/init.d/osqueryd etc/rc.d/rc.osqueryd.new
rm -rf etc/init.d
mv usr/local/* usr/
rm -rf usr/lib usr/local
rm -rf usr/lib
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,10 +1,10 @@
PRGNAM="osquery-bin"
VERSION="4.8.0"
VERSION="4.9.0"
HOMEPAGE="https://osquery.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://pkg.osquery.io/linux/osquery-4.8.0_1.linux_x86_64.tar.gz"
MD5SUM_x86_64="0397eeb1c4150fa10641cd6c69465a11"
DOWNLOAD_x86_64="https://github.com/osquery/osquery/releases/download/4.9.0/osquery_4.9.0-1.linux_amd64.deb"
MD5SUM_x86_64="d2b99bf61a676a411babc79ff2655014"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"