diff options
author | orbea <orbea@riseup.net> | 2020-12-30 07:03:27 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-02 10:48:37 +0700 |
commit | 81abf6d266e9010aa10d9535c73ef0a59ef4de73 (patch) | |
tree | 87e551b8bbb9de4da68c08185ce7520456566429 /system/tpm | |
parent | 8bffd3262cdce8b5793bde4dbddc3d76ccf24d03 (diff) |
system/tpm: Update script.
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/README | 17 | ||||
-rw-r--r-- | system/tpm/tpm.SlackBuild | 7 |
2 files changed, 10 insertions, 14 deletions
diff --git a/system/tpm/README b/system/tpm/README index c306fc218ffc..0cdc92131644 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 2c985eb7d43f..d6cd6a2979e0 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 |