Browse Source

l/tpm2-tss: Upgraded to tpm2-tss-2.4.1.

current-20191101
Damien Goutte-Gattat 7 months ago
parent
commit
cf94469923
4 changed files with 13 additions and 4 deletions
  1. +5
    -1
      l/tpm2-tss/doinst.sh
  2. +0
    -1
      l/tpm2-tss/tpm2-tss-2.3.2.tar.gz.sha256
  3. +1
    -0
      l/tpm2-tss/tpm2-tss-2.4.1.tar.gz.sha256
  4. +7
    -2
      l/tpm2-tss/tpm2-tss.SlackBuild

+ 5
- 1
l/tpm2-tss/doinst.sh View File

@ -6,9 +6,13 @@ if ! grep ^tss: /etc/group > dev/null ; then
fi
if ! grep ^tss: /etc/passwd > /dev/null ; then
/usr/sbin/useradd -u 282 -c "TPM2 Software Stack" -d / -g tss tss
/usr/sbin/useradd -u 282 -c "TPM2 Software Stack" -d /var/lib/tpm2-tss -g tss tss
fi
# Set ownership and permissions
chown -R tss:tss /var/lib/tpm2-tss /var/run/tpm2-tss
chmod -R 755 /var/lib/tpm2-tss /var/run/tpm2-tss
# Reload and apply udev rules
udevadm control --reload-rules
udevadm trigger

+ 0
- 1
l/tpm2-tss/tpm2-tss-2.3.2.tar.gz.sha256 View File

@ -1 +0,0 @@
82929a0611f39246e09202702a61b54c980ab694626c1f5823520ddf75024fa6 tpm2-tss-2.3.2.tar.gz

+ 1
- 0
l/tpm2-tss/tpm2-tss-2.4.1.tar.gz.sha256 View File

@ -0,0 +1 @@
58d7afcab9ff3daaafb5316e57d2c211118334b470d5a5bc6ceace6f89a1e60d tpm2-tss-2.4.1.tar.gz

+ 7
- 2
l/tpm2-tss/tpm2-tss.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-tpm2-tss}
VERSION=${VERSION:-2.3.2}
VERSION=${VERSION:-2.4.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/tpm2-software/tpm2-tss/releases/download/$VERSION/$ARCHIVE}
@ -91,7 +91,9 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--mandir=/usr/man \
--localstatedir=/var \
--with-udevrulesdir=/lib/udev/rules.d \
--with-udevrulesprefix=50- \
--disable-static \
--disable-weakcrypto \
--disable-dependency-tracking \
@ -106,6 +108,9 @@ for manpage in $(find $PKG/usr/man -type l); do
rm -f $manpage
done
# We don't need those on Slackware
rm -rf $PKG/etc/{sysusers,tmpfiles}.d
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS CHANGELOG.md CONTRIBUTING.md LICENSE MAINTAINERS \


Loading…
Cancel
Save