* update libtpms to 0.10.0-1
This commit is contained in:
parent
266cf0277e
commit
119370b34d
@ -1,19 +1,20 @@
|
|||||||
pkgbase = libtpms
|
pkgbase = libtpms
|
||||||
pkgdesc = Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)
|
pkgdesc = Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)
|
||||||
pkgver = 0.9.6
|
pkgver = 0.10.0
|
||||||
pkgrel = 1.1
|
pkgrel = 1
|
||||||
url = https://github.com/stefanberger/libtpms
|
url = https://github.com/stefanberger/libtpms
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = powerpc64le
|
arch = powerpc64le
|
||||||
arch = powerpc64
|
arch = powerpc64
|
||||||
arch = powerpc
|
arch = powerpc
|
||||||
arch = riscv64
|
arch = riscv64
|
||||||
license = BSD
|
license = BSD-3-Clause
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
depends = glibc
|
||||||
depends = openssl
|
depends = openssl
|
||||||
options = !lto
|
options = !lto
|
||||||
source = git+https://github.com/stefanberger/libtpms.git?signed#tag=fccd9f0ec5febf75ccec2742e75889cdfa329e53
|
source = git+https://github.com/stefanberger/libtpms.git?signed#tag=v0.10.0
|
||||||
validpgpkeys = B818B9CADF9089C2D5CEC66B75AD65802A0B4211
|
validpgpkeys = B818B9CADF9089C2D5CEC66B75AD65802A0B4211
|
||||||
sha512sums = SKIP
|
sha512sums = 67ad9bf751730896fc0386db502466b2b5a3d2e859caf59a2aeff01e869c971cf8bf3cf50e376bbab436aef5ec4c17fc882a08630dd46438f9dfeec4ae831ec0
|
||||||
|
|
||||||
pkgname = libtpms
|
pkgname = libtpms
|
||||||
|
5
libtpms/.nvchecker.toml
Normal file
5
libtpms/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[libtpms]
|
||||||
|
source = "git"
|
||||||
|
git = "https://github.com/stefanberger/libtpms.git"
|
||||||
|
prefix = "v"
|
||||||
|
include_regex = '^v\d+\.\d+\.\d+$'
|
@ -1,25 +1,32 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: Jonas Witschel <diabonas@archlinux.org>
|
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||||
|
# Contributor: Jonas Witschel <diabonas@archlinux.org>
|
||||||
|
|
||||||
pkgname=libtpms
|
pkgname=libtpms
|
||||||
pkgver=0.9.6
|
pkgver=0.10.0
|
||||||
_tag=fccd9f0ec5febf75ccec2742e75889cdfa329e53 # git rev-parse "v$pkgver"
|
pkgrel=1
|
||||||
pkgrel=1.1
|
|
||||||
pkgdesc='Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)'
|
pkgdesc='Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://github.com/stefanberger/libtpms'
|
url='https://github.com/stefanberger/libtpms'
|
||||||
license=('BSD')
|
license=('BSD-3-Clause')
|
||||||
depends=('openssl')
|
depends=(
|
||||||
|
'glibc'
|
||||||
|
'openssl'
|
||||||
|
)
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
options=(!lto)
|
# Fails to build with LTO enabled due to:
|
||||||
source=("git+$url.git?signed#tag=$_tag")
|
# tpm2/crypto/openssl/CryptCmac.c: In function 'CryptCmacEnd':
|
||||||
sha512sums=('SKIP')
|
# tpm2/crypto/openssl/CryptCmac.c:194:48: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
|
||||||
|
# 194 | subkey.t.buffer[subkey.t.size - 1] ^= xorVal;
|
||||||
|
# | ^
|
||||||
|
# tpm2/TpmTypes.h:1477:33: note: at offset -1 into destination object 'buffer' of size 16
|
||||||
|
# 1477 | BYTE buffer[MAX_SYM_BLOCK_SIZE];
|
||||||
|
# |
|
||||||
|
options=('!lto')
|
||||||
|
source=("git+$url.git?signed#tag=v$pkgver")
|
||||||
|
sha512sums=('67ad9bf751730896fc0386db502466b2b5a3d2e859caf59a2aeff01e869c971cf8bf3cf50e376bbab436aef5ec4c17fc882a08630dd46438f9dfeec4ae831ec0')
|
||||||
validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger <stefanb@linux.vnet.ibm.com>
|
validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger <stefanb@linux.vnet.ibm.com>
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$pkgname"
|
|
||||||
git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
autoreconf --install --force
|
autoreconf --install --force
|
||||||
@ -27,7 +34,10 @@ prepare() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
./configure --prefix=/usr --with-openssl --with-tpm2
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--with-openssl \
|
||||||
|
--with-tpm2
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,5 +49,5 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user