aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/osquery-bin/osquery-bin.SlackBuild9
-rw-r--r--system/osquery-bin/osquery-bin.info6
2 files changed, 6 insertions, 9 deletions
diff --git a/system/osquery-bin/osquery-bin.SlackBuild b/system/osquery-bin/osquery-bin.SlackBuild
index a8a00b846bc49..1de5831e9453f 100644
--- a/system/osquery-bin/osquery-bin.SlackBuild
+++ b/system/osquery-bin/osquery-bin.SlackBuild
@@ -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
diff --git a/system/osquery-bin/osquery-bin.info b/system/osquery-bin/osquery-bin.info
index 35e8a50d0d49a..ab0d8f4b62c91 100644
--- a/system/osquery-bin/osquery-bin.info
+++ b/system/osquery-bin/osquery-bin.info
@@ -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"