[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Monday, July 27, 2020 @ 17:39:47 Author: diabonas Revision: 665499 upgpkg: ibm-sw-tpm2 1637-1: upstream release Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-27 17:22:27 UTC (rev 665498) +++ PKGBUILD2020-07-27 17:39:47 UTC (rev 665499) @@ -1,7 +1,7 @@ # Maintainer: Jonas Witschel # Contributor: Bruno Pagani pkgname=ibm-sw-tpm2 -pkgver=1636 +pkgver=1637 pkgrel=1 pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification' arch=('x86_64') @@ -8,11 +8,11 @@ url='https://sourceforge.net/projects/ibmswtpm2/' license=('BSD') depends=('openssl') -source=("$pkgname-$pkgver.tar.gz::https://github.com/kgoldman/ibmswtpm2/archive/rev$pkgver.tar.gz;) -sha512sums=('3540486b21ade92a50fc1e2b41b23f6afefe23e1de05dd009e0ade021bac2f6ca0d61d4b61af9466f3c70327047ebf9b8d6891c100b1949a0d9c0c81335cbb10') +source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz;) +sha512sums=('007aa415cccf19a2bcf789c426727dc4032dcb04cc9d11eedc231d2add708c1134d3d5ee5cfbe7de68307c95fff7a30bd306fbd8d53c198a5ef348440440a6ed') prepare() { - cd "${pkgname//-}-rev$pkgver/src" + cd src sed -e 's/$(CCFLAGS)/$(CPPFLAGS) & $(CFLAGS)/' \ -e 's/$(LNFLAGS)/& $(LDFLAGS)/' \ -e 's/-ggdb//' -e 's/-O0//' -e 's/-Werror//' \ @@ -20,12 +20,12 @@ } build() { - cd "${pkgname//-}-rev$pkgver/src" + cd src make } package() { - cd "${pkgname//-}-rev$pkgver/src" + cd src make DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" }
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Saturday, June 20, 2020 @ 22:48:26 Author: diabonas Revision: 648680 upgpkg: ibm-sw-tpm2 1636-1: upstream release Also respect the makepkg CPPFLAGS and use the installation rule provided by the Makefile. Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-20 22:45:32 UTC (rev 648679) +++ PKGBUILD2020-06-20 22:48:26 UTC (rev 648680) @@ -1,34 +1,31 @@ # Maintainer: Jonas Witschel # Contributor: Bruno Pagani pkgname=ibm-sw-tpm2 -pkgver=1628 -pkgrel=2 +pkgver=1636 +pkgrel=1 pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification' arch=('x86_64') url='https://sourceforge.net/projects/ibmswtpm2/' license=('BSD') depends=('openssl') -source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz; - "ibm-sw-tpm2-1628-increase-nv-memory.patch::https://github.com/kgoldman/ibmswtpm2/commit/3e535e65e307ef9ce02d87993e98ec5dbf7e6dc2.patch;) -sha512sums=('ab47caa4406ba57c0afc6fadae304fc9ef5e3e125be0f2fb1955a419cf93cd5e9176e103f0b566825abc16cca00b795f98d2b407f0a2bf7b141ef4b025d907d0' - '6fd3319f7f3a1aa56af1964a8e4ccb211240232035910c4cdc1738b3c9787ba619dcbdffdae4a9dda1c853de734a176fb87c9b51b076b9c89e253f2ce2adf355') +source=("$pkgname-$pkgver.tar.gz::https://github.com/kgoldman/ibmswtpm2/archive/rev$pkgver.tar.gz;) +sha512sums=('3540486b21ade92a50fc1e2b41b23f6afefe23e1de05dd009e0ade021bac2f6ca0d61d4b61af9466f3c70327047ebf9b8d6891c100b1949a0d9c0c81335cbb10') prepare() { - sed -e 's|$(CCFLAGS)|& $(CFLAGS)|' \ - -e 's|$(LNFLAGS)|& $(LDFLAGS)|' \ - -e 's|-Werror ||' -e 's|-ggdb -O0||' \ - -i src/makefile - - # Increase NV memory (https://github.com/kgoldman/ibmswtpm2/pull/4) - patch --strip=1 --input="$srcdir/ibm-sw-tpm2-1628-increase-nv-memory.patch" + cd "${pkgname//-}-rev$pkgver/src" + sed -e 's/$(CCFLAGS)/$(CPPFLAGS) & $(CFLAGS)/' \ + -e 's/$(LNFLAGS)/& $(LDFLAGS)/' \ + -e 's/-ggdb//' -e 's/-O0//' -e 's/-Werror//' \ + -i makefile } build() { - cd src + cd "${pkgname//-}-rev$pkgver/src" make } package() { - install -Dm755 src/tpm_server -t "$pkgdir/usr/bin" + cd "${pkgname//-}-rev$pkgver/src" + make DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" }
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Thursday, May 28, 2020 @ 20:33:11 Author: diabonas Revision: 636676 upgpkg: ibm-sw-tpm2 1628-2: increase NV memory Version 1628 enabled RSA 3072 objects, which need more storage space, without increasing the available memory. As a result, only three objects can be persisted (the previous version 1563 could store up to five objects), which causes issues with the current master branch of the tpm2-pkcs11 test suite. The memory size is a configurable option that must be set a compile time. Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-28 20:32:27 UTC (rev 636675) +++ PKGBUILD2020-05-28 20:33:11 UTC (rev 636676) @@ -2,14 +2,16 @@ # Contributor: Bruno Pagani pkgname=ibm-sw-tpm2 pkgver=1628 -pkgrel=1 +pkgrel=2 pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification' arch=('x86_64') url='https://sourceforge.net/projects/ibmswtpm2/' license=('BSD') depends=('openssl') -source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz;) -sha512sums=('ab47caa4406ba57c0afc6fadae304fc9ef5e3e125be0f2fb1955a419cf93cd5e9176e103f0b566825abc16cca00b795f98d2b407f0a2bf7b141ef4b025d907d0') +source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz; + "ibm-sw-tpm2-1628-increase-nv-memory.patch::https://github.com/kgoldman/ibmswtpm2/commit/3e535e65e307ef9ce02d87993e98ec5dbf7e6dc2.patch;) +sha512sums=('ab47caa4406ba57c0afc6fadae304fc9ef5e3e125be0f2fb1955a419cf93cd5e9176e103f0b566825abc16cca00b795f98d2b407f0a2bf7b141ef4b025d907d0' + '6fd3319f7f3a1aa56af1964a8e4ccb211240232035910c4cdc1738b3c9787ba619dcbdffdae4a9dda1c853de734a176fb87c9b51b076b9c89e253f2ce2adf355') prepare() { sed -e 's|$(CCFLAGS)|& $(CFLAGS)|' \ @@ -16,6 +18,9 @@ -e 's|$(LNFLAGS)|& $(LDFLAGS)|' \ -e 's|-Werror ||' -e 's|-ggdb -O0||' \ -i src/makefile + + # Increase NV memory (https://github.com/kgoldman/ibmswtpm2/pull/4) + patch --strip=1 --input="$srcdir/ibm-sw-tpm2-1628-increase-nv-memory.patch" } build() {
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Wednesday, May 27, 2020 @ 22:56:46 Author: diabonas Revision: 636098 upgpkg: ibm-sw-tpm2 1628-1: upstream release Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-27 22:35:28 UTC (rev 636097) +++ PKGBUILD2020-05-27 22:56:46 UTC (rev 636098) @@ -1,17 +1,15 @@ # Maintainer: Jonas Witschel # Contributor: Bruno Pagani pkgname=ibm-sw-tpm2 -pkgver=1563 +pkgver=1628 pkgrel=1 -pkgdesc='An implementation of the TCG TPM 2.0 specification by IBM' +pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification' arch=('x86_64') url='https://sourceforge.net/projects/ibmswtpm2/' license=('BSD') depends=('openssl') -source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz; - 'ibm-sw-tpm2-1563_gcc-10-fix.patch::https://github.com/kgoldman/ibmswtpm2/commit/9bd2926c0f359f143141c32c2b261ca100d804c8.patch') -sha512sums=('ff0b9e5f0d0070eb572b23641f7a0e70a8bc65cbf4b59dca1778be3bb014124011221a492147d4c492584e87af23e2f842ca6307641b3919f67a3f27f09312c0' - '476cba6e66da9c88804c16ce961c4d25a64ece27242336b2fdaf3a32d4cf4d72c2cad48cbe8357607c3b6a67e507918400c0611472b23cf5d00057a392f278ef') +source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz;) +sha512sums=('ab47caa4406ba57c0afc6fadae304fc9ef5e3e125be0f2fb1955a419cf93cd5e9176e103f0b566825abc16cca00b795f98d2b407f0a2bf7b141ef4b025d907d0') prepare() { sed -e 's|$(CCFLAGS)|& $(CFLAGS)|' \ @@ -18,9 +16,6 @@ -e 's|$(LNFLAGS)|& $(LDFLAGS)|' \ -e 's|-Werror ||' -e 's|-ggdb -O0||' \ -i src/makefile - - # Fix compilation with GCC 10 (https://github.com/kgoldman/ibmswtpm2/pull/3) - patch --strip=1 --input="$srcdir/ibm-sw-tpm2-1563_gcc-10-fix.patch" } build() {
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Wednesday, May 13, 2020 @ 09:13:59 Author: diabonas Revision: 627539 Fix compilation with GCC 10 Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-13 09:13:33 UTC (rev 627538) +++ PKGBUILD2020-05-13 09:13:59 UTC (rev 627539) @@ -8,8 +8,10 @@ url='https://sourceforge.net/projects/ibmswtpm2/' license=('BSD') depends=('openssl') -source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz;) -sha512sums=('ff0b9e5f0d0070eb572b23641f7a0e70a8bc65cbf4b59dca1778be3bb014124011221a492147d4c492584e87af23e2f842ca6307641b3919f67a3f27f09312c0') +source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz; + 'ibm-sw-tpm2-1563_gcc-10-fix.patch::https://github.com/kgoldman/ibmswtpm2/commit/9bd2926c0f359f143141c32c2b261ca100d804c8.patch') +sha512sums=('ff0b9e5f0d0070eb572b23641f7a0e70a8bc65cbf4b59dca1778be3bb014124011221a492147d4c492584e87af23e2f842ca6307641b3919f67a3f27f09312c0' + '476cba6e66da9c88804c16ce961c4d25a64ece27242336b2fdaf3a32d4cf4d72c2cad48cbe8357607c3b6a67e507918400c0611472b23cf5d00057a392f278ef') prepare() { sed -e 's|$(CCFLAGS)|& $(CFLAGS)|' \ @@ -16,6 +18,9 @@ -e 's|$(LNFLAGS)|& $(LDFLAGS)|' \ -e 's|-Werror ||' -e 's|-ggdb -O0||' \ -i src/makefile + + # Fix compilation with GCC 10 (https://github.com/kgoldman/ibmswtpm2/pull/3) + patch --strip=1 --input="$srcdir/ibm-sw-tpm2-1563_gcc-10-fix.patch" } build() {
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Thursday, February 20, 2020 @ 23:44:07 Author: diabonas Revision: 577432 Readd erroneously removed previous maintainer Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD |1 + 1 file changed, 1 insertion(+) Modified: PKGBUILD === --- PKGBUILD2020-02-20 23:43:34 UTC (rev 577431) +++ PKGBUILD2020-02-20 23:44:07 UTC (rev 577432) @@ -1,4 +1,5 @@ # Maintainer: Jonas Witschel +# Contributor: Bruno Pagani pkgname=ibm-sw-tpm2 pkgver=1563
[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Date: Monday, December 30, 2019 @ 20:26:40 Author: diabonas Revision: 544975 upgpkg: ibm-sw-tpm2 1563-1 upstream release Modified: ibm-sw-tpm2/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-30 20:24:37 UTC (rev 544974) +++ PKGBUILD2019-12-30 20:26:40 UTC (rev 544975) @@ -1,7 +1,7 @@ -# Maintainer: Bruno Pagani +# Maintainer: Jonas Witschel pkgname=ibm-sw-tpm2 -pkgver=1332 +pkgver=1563 pkgrel=1 pkgdesc="An implementation of the TCG TPM 2.0 specification by IBM" arch=(x86_64) @@ -9,7 +9,7 @@ license=('BSD') depends=('openssl') source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm${pkgver}.tar.gz;) -sha256sums=('8e8193af3d11d9ff6a951dda8cd1f4693cb01934a8ad7876b84e92c6148ab0fd') +sha512sums=('ff0b9e5f0d0070eb572b23641f7a0e70a8bc65cbf4b59dca1778be3bb014124011221a492147d4c492584e87af23e2f842ca6307641b3919f67a3f27f09312c0') prepare() { sed -e 's:$(CCFLAGS):& $(CFLAGS):' \