diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-08-26 17:59:49 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-26 19:07:04 +0700 |
commit | ff572ff2fcb99b4ed3724b6c9efd8251ecdd3ea9 (patch) | |
tree | f5bdae5f237110572495202e16883d8ed94fe282 /system | |
parent | 66810cdacd2fae5854d7602b9b309a7cd2bcc303 (diff) |
system/osquery-bin: Updated for version 5.9.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/osquery-bin/osquery-bin.SlackBuild | 21 | ||||
-rw-r--r-- | system/osquery-bin/osquery-bin.info | 10 |
2 files changed, 11 insertions, 20 deletions
diff --git a/system/osquery-bin/osquery-bin.SlackBuild b/system/osquery-bin/osquery-bin.SlackBuild index 47cd6a521c57a..c9de0e0565ae2 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.8.2} +VERSION=${VERSION:-5.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -86,6 +72,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 {} \; +if [ "$ARCH" = "aarch64" ] ; then + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 2> /dev/null || true +fi + mkdir etc/rc.d mv etc/init.d/osqueryd etc/rc.d/rc.osqueryd.new rm -rf etc/init.d diff --git a/system/osquery-bin/osquery-bin.info b/system/osquery-bin/osquery-bin.info index e0d19e8f27595..4f7431692f1d2 100644 --- a/system/osquery-bin/osquery-bin.info +++ b/system/osquery-bin/osquery-bin.info @@ -1,12 +1,12 @@ PRGNAM="osquery-bin" -VERSION="5.8.2" +VERSION="5.9.1" HOMEPAGE="https://osquery.io/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/osquery/osquery/releases/download/5.8.2/osquery_5.8.2-1.linux_amd64.deb \ - https://github.com/osquery/osquery/releases/download/5.8.2/osquery_5.8.2-1.linux_arm64.deb" -MD5SUM_x86_64="1f94cd05b0fd9100ef45ad5dbe205ca5 \ - c786d945eeae6fdaa80d96fee6234ff5" +DOWNLOAD_x86_64="https://github.com/osquery/osquery/releases/download/5.9.1/osquery_5.9.1-1.linux_amd64.deb \ + https://github.com/osquery/osquery/releases/download/5.9.1/osquery_5.9.1-1.linux_arm64.deb" +MD5SUM_x86_64="38b79e69dda1ddd085befa2ceaa598ca \ + fd00b7aa55c556beb9546315725bc492" REQUIRES="" MAINTAINER="Andrew Clemons" EMAIL="andrew.clemons@gmail.com" |