Date: Tuesday, March 8, 2022 @ 21:46:08
  Author: diabonas
Revision: 1145595

archrelease: copy trunk to community-x86_64

Added:
  swtpm/repos/community-x86_64/PKGBUILD
    (from rev 1145593, swtpm/trunk/PKGBUILD)
Deleted:
  swtpm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-08 21:46:06 UTC (rev 1145594)
+++ PKGBUILD    2022-03-08 21:46:08 UTC (rev 1145595)
@@ -1,50 +0,0 @@
-# Maintainer: Jonas Witschel <diabo...@archlinux.org>
-pkgname=swtpm
-pkgver=0.7.1
-_tag=bbb29e6a0de983bde808006b3a6c2410d883b0a2 # git rev-parse "v$pkgver"
-pkgrel=1
-pkgdesc='Libtpms-based TPM emulator with socket, character device, and Linux 
CUSE interface'
-arch=('x86_64')
-url='https://github.com/stefanberger/swtpm'
-license=('BSD')
-depends=('fuse2' 'glib2' 'gnutls' 'json-glib' 'libseccomp' 'libtpms' 
'libseccomp.so')
-makedepends=('git' 'expect' 'iproute2' 'libtasn1' 'python' 'socat')
-checkdepends=('softhsm')
-options=('debug')
-source=("git+$url.git?signed#tag=$_tag")
-sha512sums=('SKIP')
-validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger 
<stef...@linux.vnet.ibm.com>
-
-pkgver() {
-       cd "$pkgname"
-       git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
-}
-
-prepare() {
-       cd "$pkgname"
-
-       # Remove usage of /usr/bin/env to avoid PATH manipulation attacks
-       sed --in-place 's/env //' samples/swtpm-create-tpmca 
samples/swtpm-create-user-config-files.in
-
-       autoreconf --install --force
-}
-
-build() {
-       cd "$pkgname"
-       ./configure --prefix=/usr --with-cuse --with-gnutls --with-seccomp
-       make
-}
-
-check() {
-       cd "$pkgname"
-       make check
-}
-
-package() {
-       cd "$pkgname"
-       make DESTDIR="$pkgdir" install
-       install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-       echo 'u tss - "tss user for tpm2"' | install -Dm644 /dev/stdin 
"$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-       echo 'z /var/lib/swtpm-localca 0750 tss root' | install -Dm644 
/dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-       chmod 750 "$pkgdir/var/lib/swtpm-localca"
-}

Copied: swtpm/repos/community-x86_64/PKGBUILD (from rev 1145593, 
swtpm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-03-08 21:46:08 UTC (rev 1145595)
@@ -0,0 +1,50 @@
+# Maintainer: Jonas Witschel <diabo...@archlinux.org>
+pkgname=swtpm
+pkgver=0.7.2
+_tag=157f8af3d334b65e66a46e8149b57e18a17084f7 # git rev-parse "v$pkgver"
+pkgrel=1
+pkgdesc='Libtpms-based TPM emulator with socket, character device, and Linux 
CUSE interface'
+arch=('x86_64')
+url='https://github.com/stefanberger/swtpm'
+license=('BSD')
+depends=('fuse2' 'glib2' 'gnutls' 'json-glib' 'libseccomp' 'libtpms' 
'libseccomp.so')
+makedepends=('git' 'expect' 'iproute2' 'libtasn1' 'python' 'socat')
+checkdepends=('softhsm')
+options=('debug')
+source=("git+$url.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger 
<stef...@linux.vnet.ibm.com>
+
+pkgver() {
+       cd "$pkgname"
+       git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+       cd "$pkgname"
+
+       # Remove usage of /usr/bin/env to avoid PATH manipulation attacks
+       sed --in-place 's/env //' samples/swtpm-create-tpmca 
samples/swtpm-create-user-config-files.in
+
+       autoreconf --install --force
+}
+
+build() {
+       cd "$pkgname"
+       ./configure --prefix=/usr --with-cuse --with-gnutls --with-seccomp
+       make
+}
+
+check() {
+       cd "$pkgname"
+       make check
+}
+
+package() {
+       cd "$pkgname"
+       make DESTDIR="$pkgdir" install
+       install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+       echo 'u tss - "tss user for tpm2"' | install -Dm644 /dev/stdin 
"$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+       echo 'z /var/lib/swtpm-localca 0750 tss root' | install -Dm644 
/dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+       chmod 750 "$pkgdir/var/lib/swtpm-localca"
+}

Reply via email to