diff options
author | pyllyukko <pyllyukko@maimed.org> | 2022-02-05 22:18:22 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-06 12:59:29 +0700 |
commit | d4548cf3dacda40a1cfd5b063d844e2ee69c8285 (patch) | |
tree | 5a21131f19cbffd2e05824db83cc9031d5fd7ed1 /system/chipsec | |
parent | 0f222a339e0732b74ee32a58c84dfc4c2499ac06 (diff) |
system/chipsec: Updated for version 1.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/chipsec')
-rw-r--r-- | system/chipsec/chipsec.SlackBuild | 10 | ||||
-rw-r--r-- | system/chipsec/chipsec.info | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/system/chipsec/chipsec.SlackBuild b/system/chipsec/chipsec.SlackBuild index 63e82b61aade..a612bc06c27c 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.3.6} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,7 +83,8 @@ 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 {} \; -python setup.py install --root=$PKG +mkdir -pv build/lib/chipsec/helper/linux +python3 setup.py build_ext install --root=$PKG # Sign the kernel module (if available) if [ -f /proc/config.gz ] @@ -99,7 +100,7 @@ then ${CONFIG_MODULE_SIG_HASH} \ $KERNSRC/certs/signing_key.pem \ $KERNSRC/certs/signing_key.x509 \ - ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages/chipsec/helper/linux/chipsec.ko + ${PKG}/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/chipsec/helper/linux/chipsec.ko fi fi @@ -110,8 +111,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING LICENSE README README.md \ $PKG/usr/doc/$PRGNAM-$VERSION -mv -v ${PKG}/usr/share/doc/chipsec/chipsec-manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION -rmdir ${PKG}/usr/share/doc/chipsec ${PKG}/usr/share/doc ${PKG}/usr/share +mv -v ${PKG}/usr/chipsec-manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/chipsec/chipsec.info b/system/chipsec/chipsec.info index 0ee49438ce8d..6b444b1787f5 100644 --- a/system/chipsec/chipsec.info +++ b/system/chipsec/chipsec.info @@ -1,8 +1,8 @@ PRGNAM="chipsec" -VERSION="1.3.6" +VERSION="1.8.1" HOMEPAGE="https://github.com/chipsec/chipsec" -DOWNLOAD="https://github.com/chipsec/chipsec/archive/v1.3.6/chipsec-1.3.6.tar.gz" -MD5SUM="2761761eb5bd236aca00aaa8da29f8ad" +DOWNLOAD="https://github.com/chipsec/chipsec/archive/1.8.1/chipsec-1.8.1.tar.gz" +MD5SUM="eafe098a2efa8d318adee28a4c42739b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |