[arch-commits] Commit in archlinux-keyring/repos (3 files)

Christian Hesse eworm at archlinux.org
Mon Nov 26 15:44:05 UTC 2018


    Date: Monday, November 26, 2018 @ 15:44:04
  Author: eworm
Revision: 340409

archrelease: copy trunk to testing-any

Added:
  archlinux-keyring/repos/testing-any/
  archlinux-keyring/repos/testing-any/PKGBUILD
    (from rev 340408, archlinux-keyring/trunk/PKGBUILD)
  archlinux-keyring/repos/testing-any/archlinux-keyring.install
    (from rev 340408, archlinux-keyring/trunk/archlinux-keyring.install)

---------------------------+
 PKGBUILD                  |   26 ++++++++++++++++++++++++++
 archlinux-keyring.install |   22 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)

Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 340408, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-11-26 15:44:04 UTC (rev 340409)
@@ -0,0 +1,26 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=archlinux-keyring
+pkgver=20181126
+pkgrel=1
+pkgdesc='Arch Linux PGP keyring'
+arch=(any)
+url='https://projects.archlinux.org/archlinux-keyring.git/'
+license=(GPL)
+install=$pkgname.install
+source=(https://sources.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha256sums=('8576f80bf9cc8066de89fa9751ada9cc491191c682e299e564513cb2b4a86c41'
+            'SKIP')
+validpgpkeys=('4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC'  # Pierre Schmitz <pierre at archlinux.de>
+              'A314827C4E4250A204CE6E13284FC34C8E4B1A25'  # Thomas Bächler <thomas at bchlr.de>
+              '86CFFCA918CF3AF47147588051E8B148A9999C34'  # Evangelos Foutras <evangelos at foutrelis.com>
+              'F3691687D867B81B51CE07D9BBE43771487328A9'  # Bartlomiej Piotrowski <bpiotrowski at archlinux.org>
+              'BD84DE71F493DF6814B0167254EDC91609BC9183'  # Christian Hesse <Christi at n-Hes.se>
+              'CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E'  # Florian Pritz <bluewind at xinu.at>
+              'E499C79F53C96A54E572FEE1C06086337C50773E')  # Jelle van der Waa <jelle at archlinux.org>
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+}

Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 340408, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install	                        (rev 0)
+++ testing-any/archlinux-keyring.install	2018-11-26 15:44:04 UTC (rev 340409)
@@ -0,0 +1,22 @@
+post_upgrade() {
+	if usr/bin/pacman-key -l >/dev/null 2>&1; then
+		usr/bin/pacman-key --populate archlinux
+
+		# Re-enable key of alad
+		# See https://bugs.archlinux.org/task/35478
+		if [[ -z "$2" ]] || [[ "$(vercmp "$2" "20181018-1")" -lt 0 ]]; then
+			printf 'enable\nquit\n' | LANG=C \
+				gpg --homedir /etc/pacman.d/gnupg \
+				--no-permission-warning --command-fd 0 \
+				--quiet --batch --edit-key \
+				DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A \
+				2>/dev/null
+		fi
+	fi
+}
+
+post_install() {
+	if [ -x usr/bin/pacman-key ]; then
+		post_upgrade
+	fi
+}


More information about the arch-commits mailing list