aboutsummaryrefslogtreecommitdiff
path: root/system/tpm
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-06-08 15:58:59 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-14 17:45:54 +0700
commita12586fdb9fd28b04f0352e892b2abdd353b269b (patch)
tree89ad9488b69163f925655e47817e50f78b8c0b77 /system/tpm
parent5c08794178090a8d248a70c368e0dfe3fdbc4881 (diff)
system/tpm: Updated for version 1.3.3.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tpm')
-rw-r--r--system/tpm/tpm.SlackBuild11
-rw-r--r--system/tpm/tpm.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild
index b0d689f9d9bc..2c985eb7d43f 100644
--- a/system/tpm/tpm.SlackBuild
+++ b/system/tpm/tpm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tpm
-# Copyright 2015-2016 Hunter Sezen California, USA
+# Copyright 2015-2016, 2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tpm
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -50,13 +50,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
+
make install \
PREFIX=/usr \
MANDIR=/usr/man \
DESTDIR=$PKG
-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
+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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/tpm/tpm.info b/system/tpm/tpm.info
index 09f3c3f3a3f5..4b0f8ba3209c 100644
--- a/system/tpm/tpm.info
+++ b/system/tpm/tpm.info
@@ -1,8 +1,8 @@
PRGNAM="tpm"
-VERSION="1.3.2"
+VERSION="1.3.3"
HOMEPAGE="https://github.com/nmeum/tpm"
-DOWNLOAD="https://github.com/nmeum/tpm/archive/1.3.2/tpm-1.3.2.tar.gz"
-MD5SUM="d86118c38e908663c8d1422c79f6ce1d"
+DOWNLOAD="https://github.com/nmeum/tpm/archive/1.3.3/tpm-1.3.3.tar.gz"
+MD5SUM="9a5244e8f5e5bf0ba491ab7a029e79c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""