diff --git a/system/chipsec/chipsec.SlackBuild b/system/chipsec/chipsec.SlackBuild index dc9bbc4bde..5d3ef5e222 100644 --- a/system/chipsec/chipsec.SlackBuild +++ b/system/chipsec/chipsec.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=chipsec -VERSION=${VERSION:-1.9.0} +VERSION=${VERSION:-1.13.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -82,7 +79,9 @@ 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 {} \; -mkdir -pv build/lib/chipsec/helper/linux +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages +mkdir -pv build/lib.linux-${ARCH/i?86/i686}-cpython-${PYVER//./}/chipsec/helper/linux env -u ARCH python3 setup.py build_ext install --root=$PKG # Sign the kernel module (if available) diff --git a/system/chipsec/chipsec.info b/system/chipsec/chipsec.info index f1fb6627e0..eda736ac62 100644 --- a/system/chipsec/chipsec.info +++ b/system/chipsec/chipsec.info @@ -1,10 +1,10 @@ PRGNAM="chipsec" -VERSION="1.9.0" +VERSION="1.13.1" HOMEPAGE="https://github.com/chipsec/chipsec" -DOWNLOAD="https://github.com/chipsec/chipsec/archive/1.9.0/chipsec-1.9.0.tar.gz" -MD5SUM="c9a9ea26c05ef4eb2a7ac525b13c2530" +DOWNLOAD="https://github.com/chipsec/chipsec/archive/1.13.1/chipsec-1.13.1.tar.gz" +MD5SUM="66018d4cf53b82d6cd5f2b4c4ea477ef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="pyllyukko" EMAIL="pyllyukko@maimed.org"