summaryrefslogtreecommitdiffstats
path: root/system/intelmas
diff options
context:
space:
mode:
author Alexander Verbovetsky <alik@ejik.org>2022-07-02 01:33:33 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:42:31 +0700
commit9e73d463ee181b68c8a5a781db6ac4c60602b952 (patch)
treee71593620c057dc2d9e4a1da975605b5ee8906f8 /system/intelmas
parent8a91ab6cfa6db5cefbb2d736630e960c430ea560 (diff)
downloadslackbuilds-9e73d463ee181b68c8a5a781db6ac4c60602b952.tar.gz
slackbuilds-9e73d463ee181b68c8a5a781db6ac4c60602b952.tar.xz
system/intelmas: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/intelmas')
-rw-r--r--system/intelmas/README18
-rw-r--r--system/intelmas/intelmas.SlackBuild14
-rw-r--r--system/intelmas/intelmas.info8
-rw-r--r--system/intelmas/slack-desc10
4 files changed, 21 insertions, 29 deletions
diff --git a/system/intelmas/README b/system/intelmas/README
index 2b3a4f8d60..1665518f10 100644
--- a/system/intelmas/README
+++ b/system/intelmas/README
@@ -1,13 +1,7 @@
-intelmas (Intel Memory And Storage Tool)
+intelmas (Intel Memory And Storage Tool) is a proprietary command-line
+tool to manage Optane SSDs and memory devices. It provides firmware
+update capability as well as reading and setting many configuration
+settings.
-The intelmas is a proprietary command-line tool to manage Intel SSDs and
-Optane memory devices. It provides firmware update capability as well as
-reading and setting many configuration settings.
-
-The intelmas unifies functionality of several Intel programs including
-the isdct (Intel SSD Data Center Tool), which was previously available
-on SBo. The intelmas is a drop-in replacement for the isdct.
-
-To work with SATA drives intelmas requires the sg kernel module. To have
-this module loaded on boot, please uncomment the corresponding line in
-/etc/rc.d/rc.modules.local
+Before version 2.0 intelmas supported also Intel NAND SSDs. Now these
+devices supported by sst (available on SBo).
diff --git a/system/intelmas/intelmas.SlackBuild b/system/intelmas/intelmas.SlackBuild
index 8fd9527a18..6c24d37b85 100644
--- a/system/intelmas/intelmas.SlackBuild
+++ b/system/intelmas/intelmas.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for intelmas
-# Copyright 2020-2021, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=intelmas
-VERSION=${VERSION:-1.12}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,9 +45,6 @@ case "$ARCH" in
exit 1 ;;
esac
-# 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-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -66,8 +63,8 @@ rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip "$CWD/Intel*MAS_CLI_Tool_*Linux*.zip"
-rpm2cpio intelmas-${VERSION}*.$RPMARCH.rpm | cpio -imdv
+unzip "$CWD/Intel*MAS_CLI_Tool_*Linux*${VERSION}.zip"
+rpm2cpio ${PRGNAM}-${VERSION}*.$RPMARCH.rpm | cpio -imdv
chown -R root:root .
find -L . \
@@ -79,12 +76,13 @@ find -L . \
# The library path is hard-coded, so we stick with /usr/lib
cp -a usr $PKG
mv $PKG/usr/bin $PKG/usr/sbin
+rm -rf $PKG/usr/lib/.build-id
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.pdf *.PDF $PKG/usr/doc/$PRGNAM-$VERSION 2>/dev/null || :
+cp -a *.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/intelmas/intelmas.info b/system/intelmas/intelmas.info
index fbe940b3c8..660d733f72 100644
--- a/system/intelmas/intelmas.info
+++ b/system/intelmas/intelmas.info
@@ -1,8 +1,8 @@
PRGNAM="intelmas"
-VERSION="1.12"
-HOMEPAGE="https://downloadcenter.intel.com/download/690882"
-DOWNLOAD="https://downloadmirror.intel.com/690882/Intel_MAS_CLI_Tool_Linux_1.12.zip"
-MD5SUM="e21c87a20c5267d8bb2a90238d366085"
+VERSION="2.0"
+HOMEPAGE="https://www.intel.com/content/www/us/en/download/19520/"
+DOWNLOAD="https://downloadmirror.intel.com/690882/Intel_MAS_CLI_Tool_Linux_2.0.zip"
+MD5SUM="772fda07692ff0c33252ffd338714c2c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/intelmas/slack-desc b/system/intelmas/slack-desc
index 8591c17410..8d6a2ebb62 100644
--- a/system/intelmas/slack-desc
+++ b/system/intelmas/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
intelmas: intelmas (Intel Memory And Storage Tool)
intelmas:
-intelmas: The intelmas is a proprietary command-line tool to manage Intel SSDs
-intelmas: and Optane memory devices. It provides firmware update capability as
-intelmas: well as reading and setting many configuration settings.
+intelmas: intelmas (Intel Memory And Storage Tool) is a proprietary
+intelmas: command-line tool to manage Optane SSDs and memory devices. It
+intelmas: provides firmware update capability as well as reading and setting
+intelmas: many configuration settings.
intelmas:
-intelmas:
-intelmas: Homepage: https://downloadcenter.intel.com/download/30379
+intelmas: Homepage: https://www.intel.com/content/www/us/en/download/19520/
intelmas:
intelmas:
intelmas: