[arch-commits] Commit in ibm-sw-tpm2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Thu May 28 20:33:18 UTC 2020


    Date: Thursday, May 28, 2020 @ 20:33:17
  Author: diabonas
Revision: 636678

archrelease: copy trunk to community-x86_64

Added:
  ibm-sw-tpm2/repos/community-x86_64/PKGBUILD
    (from rev 636676, ibm-sw-tpm2/trunk/PKGBUILD)
Deleted:
  ibm-sw-tpm2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-28 20:33:16 UTC (rev 636677)
+++ PKGBUILD	2020-05-28 20:33:17 UTC (rev 636678)
@@ -1,29 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-# Contributor: Bruno Pagani <archange at archlinux.org>
-pkgname=ibm-sw-tpm2
-pkgver=1628
-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")
-sha512sums=('ab47caa4406ba57c0afc6fadae304fc9ef5e3e125be0f2fb1955a419cf93cd5e9176e103f0b566825abc16cca00b795f98d2b407f0a2bf7b141ef4b025d907d0')
-
-prepare() {
-	sed -e 's|$(CCFLAGS)|& $(CFLAGS)|' \
-	    -e 's|$(LNFLAGS)|& $(LDFLAGS)|' \
-	    -e 's|-Werror ||' -e 's|-ggdb -O0||' \
-	    -i src/makefile
-}
-
-build() {
-	cd src
-	make
-}
-
-package() {
-	install -Dm755 src/tpm_server -t "$pkgdir/usr/bin"
-	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: ibm-sw-tpm2/repos/community-x86_64/PKGBUILD (from rev 636676, ibm-sw-tpm2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-28 20:33:17 UTC (rev 636678)
@@ -0,0 +1,34 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+# Contributor: Bruno Pagani <archange at archlinux.org>
+pkgname=ibm-sw-tpm2
+pkgver=1628
+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"
+        "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)|' \
+	    -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() {
+	cd src
+	make
+}
+
+package() {
+	install -Dm755 src/tpm_server -t "$pkgdir/usr/bin"
+	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list