From 8a44bdde72f5a1e81d899d90458fa250c42e6e9d Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 26 Jun 2021 14:54:05 +1200 Subject: system/osquery-bin: Updated for version 4.9.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/osquery-bin/osquery-bin.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'system/osquery-bin/osquery-bin.SlackBuild') diff --git a/system/osquery-bin/osquery-bin.SlackBuild b/system/osquery-bin/osquery-bin.SlackBuild index a8a00b846b..1de5831e94 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 -- cgit v1.2.3