[arch-commits] Commit in tang/repos/community-x86_64 (4 files)

Jonas Witschel diabonas at gemini.archlinux.org
Tue Dec 14 12:35:17 UTC 2021


    Date: Tuesday, December 14, 2021 @ 12:35:17
  Author: diabonas
Revision: 1072748

archrelease: copy trunk to community-x86_64

Added:
  tang/repos/community-x86_64/PKGBUILD
    (from rev 1072747, tang/trunk/PKGBUILD)
  tang/repos/community-x86_64/tang.sysusers.conf
    (from rev 1072747, tang/trunk/tang.sysusers.conf)
  tang/repos/community-x86_64/tang.tmpfiles.conf
    (from rev 1072747, tang/trunk/tang.tmpfiles.conf)
Deleted:
  tang/repos/community-x86_64/PKGBUILD

--------------------+
 PKGBUILD           |   79 +++++++++++++++++++++++++++------------------------
 tang.sysusers.conf |    1 
 tang.tmpfiles.conf |    3 +
 3 files changed, 46 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-14 12:35:05 UTC (rev 1072747)
+++ PKGBUILD	2021-12-14 12:35:17 UTC (rev 1072748)
@@ -1,37 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=tang
-pkgver=10
-_commit=d2c08fba8f0296a4e4458a7aac8a63133f71ed51 # git rev-parse "v$pkgver^{}"
-pkgrel=1
-pkgdesc='Server for binding data to network presence'
-arch=('x86_64')
-url='https://github.com/latchset/tang'
-license=('GPL3')
-depends=('http-parser' 'jose')
-makedepends=('git' 'asciidoc' 'meson')
-checkdepends=('systemd')
-source=("git+$url.git?signed#commit=$_commit")
-sha512sums=('SKIP')
-validpgpkeys=('7CE2CB3D2AF59FE1EA22F551D0D219ED1F7E762C') # Sergio Correia <scorreia at redhat.com>
-
-pkgver() {
-	cd "$pkgname"
-	git describe --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
-}
-
-build() {
-	cd "$pkgname"
-	meson --libexecdir=/usr/lib --buildtype=plain build
-	meson compile -C build
-}
-
-check() {
-	cd "$pkgname"
-	meson test -C build
-}
-
-package() {
-	cd "$pkgname"
-	DESTDIR="$pkgdir" meson install -C build
-	mkdir -pm700 "$pkgdir/var/db/tang"
-}

Copied: tang/repos/community-x86_64/PKGBUILD (from rev 1072747, tang/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-14 12:35:17 UTC (rev 1072748)
@@ -0,0 +1,42 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=tang
+pkgver=11
+_commit=e2059ee1109510a7c14b099af7dcd8631e598270 # git rev-parse "v$pkgver^{}"
+pkgrel=1
+pkgdesc='Server for binding data to network presence'
+arch=('x86_64')
+url='https://github.com/latchset/tang'
+license=('GPL3')
+depends=('http-parser' 'jose')
+makedepends=('git' 'asciidoc' 'meson')
+checkdepends=('systemd')
+source=("git+$url.git?signed#commit=$_commit"
+        'tang.sysusers.conf'
+        'tang.tmpfiles.conf')
+sha512sums=('SKIP'
+            '08b5abb5ff5195a96c1196e7336eefeabad36a82ef8862881689e3c9cfa8aebc5679e14c4aacc3fa80793fe42ffa591e6ec0ec07bf98f6e0d783e23b2f06218a'
+            '48c3026b37ce3fe180633facb99a194e1fcb0ff860f6dff33541b6216b441572c1de0620102ce25e36c06f3c769b3149cb595f5aa4e355416c680b1c6f73e957')
+validpgpkeys=('7CE2CB3D2AF59FE1EA22F551D0D219ED1F7E762C') # Sergio Correia <scorreia at redhat.com>
+
+pkgver() {
+	cd "$pkgname"
+	git describe --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+build() {
+	cd "$pkgname"
+	meson --libexecdir=/usr/lib --buildtype=plain build
+	meson compile -C build
+}
+
+check() {
+	cd "$pkgname"
+	meson test -C build
+}
+
+package() {
+	cd "$pkgname"
+	DESTDIR="$pkgdir" meson install -C build
+	install -Dm644 "$srcdir/tang.sysusers.conf" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+	install -Dm644 "$srcdir/tang.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}

Copied: tang/repos/community-x86_64/tang.sysusers.conf (from rev 1072747, tang/trunk/tang.sysusers.conf)
===================================================================
--- tang.sysusers.conf	                        (rev 0)
+++ tang.sysusers.conf	2021-12-14 12:35:17 UTC (rev 1072748)
@@ -0,0 +1 @@
+u tang - "unprivileged user for tang operations"

Copied: tang/repos/community-x86_64/tang.tmpfiles.conf (from rev 1072747, tang/trunk/tang.tmpfiles.conf)
===================================================================
--- tang.tmpfiles.conf	                        (rev 0)
+++ tang.tmpfiles.conf	2021-12-14 12:35:17 UTC (rev 1072748)
@@ -0,0 +1,3 @@
+Z /var/db/tang 0700 tang tang
+z /var/db/tang/*.jwk 0440 tang tang
+z /var/db/tang/.*.jwk 0440 tang tang



More information about the arch-commits mailing list