summaryrefslogtreecommitdiff
path: root/system/tpm
diff options
context:
space:
mode:
Diffstat (limited to 'system/tpm')
-rw-r--r--system/tpm/README17
-rw-r--r--system/tpm/tpm.SlackBuild7
2 files changed, 10 insertions, 14 deletions
diff --git a/system/tpm/README b/system/tpm/README
index c306fc218f..0cdc921316 100644
--- a/system/tpm/README
+++ b/system/tpm/README
@@ -1,10 +1,11 @@
tpm is a tiny shell script which is heavily inspired and largely
-compatible with pass. Just like pass it uses gpg2 to securely store your
-passwords, the major difference between pass and tpm is that the latter is
-a lot more minimal. Furthermore, tpm is written entirely in POSIX shell.
+compatible with pass. Just like pass it uses gpg2 to securely store
+your passwords, the major difference between pass and tpm is that the
+latter is a lot more minimal. Furthermore, tpm is written entirely
+in POSIX shell.
-Invoking tpm consists of specifying a command either insert or show and
-supplying one entry as a target. If insert is specified as a command,
-tpm will create a new entry and prompt for the corresponding password. If
-you specify show as a command, tpm will write the password for the given
-entry to standard output.
+Invoking tpm consists of specifying a command either insert or show
+and supplying one entry as a target. If insert is specified as a
+command, tpm will create a new entry and prompt for the corresponding
+password. If you specify show as a command, tpm will write the password
+for the given entry to standard output.
diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild
index 2c985eb7d4..d6cd6a2979 100644
--- a/system/tpm/tpm.SlackBuild
+++ b/system/tpm/tpm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=tpm
VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -49,16 +49,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 {} \;
-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/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