[arch-commits] Commit in pinentry/repos (5 files)
Levente Polyak
anthraxx at gemini.archlinux.org
Mon Aug 29 21:52:17 UTC 2022
Date: Monday, August 29, 2022 @ 21:52:17
Author: anthraxx
Revision: 454750
archrelease: copy trunk to testing-x86_64
Added:
pinentry/repos/testing-x86_64/
pinentry/repos/testing-x86_64/PKGBUILD
(from rev 454749, pinentry/trunk/PKGBUILD)
pinentry/repos/testing-x86_64/keys/
pinentry/repos/testing-x86_64/pinentry
(from rev 454749, pinentry/trunk/pinentry)
pinentry/repos/testing-x86_64/preexec
(from rev 454749, pinentry/trunk/preexec)
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pinentry | 14 ++++++++++++++
preexec | 5 +++++
3 files changed, 78 insertions(+)
Copied: pinentry/repos/testing-x86_64/PKGBUILD (from rev 454749, pinentry/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-29 21:52:17 UTC (rev 454750)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pinentry
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol'
+url='https://gnupg.org/related_software/pinentry/'
+arch=('x86_64')
+license=('GPL')
+depends=(
+ 'glibc' 'ncurses' 'libcap' 'libassuan' 'libsecret' 'glib2'
+ libsecret-1.so libcap.so libncursesw.so libassuan.so libglib-2.0.so)
+makedepends=('gtk2' 'qt5-base' 'gcr')
+optdepends=(
+ 'gtk2: gtk2 backend'
+ 'qt5-base: qt backend'
+ 'gcr: gnome3 backend'
+)
+backup=('etc/pinentry/preexec')
+source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
+ 'pinentry'
+ 'preexec')
+sha256sums=('457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067'
+ 'SKIP'
+ 'af7c27139b20a7f1b9a227f3663abb21bb2b954523352b7844da27db1b0c1c86'
+ 'f428f08d77f1f7830eadb8435af282a833fc13d8b623b122eefd9d3b628bef90')
+validpgpkeys=(
+ 'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig)
+ '6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
+ 'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD' # Niibe Yutaka (GnuPG Release Key)
+)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --enable-pinentry-tty \
+ --enable-pinentry-curses \
+ --enable-fallback-curses \
+ --enable-pinentry-emacs \
+ --enable-pinentry-gtk2 \
+ --enable-pinentry-gnome3 \
+ --enable-pinentry-qt \
+ --enable-libsecret \
+
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm 755 ../pinentry -t "${pkgdir}/usr/bin"
+ install -Dm 755 ../preexec -t "${pkgdir}/etc/pinentry"
+}
+
+# vim: ts=2 sw=2 et:
Copied: pinentry/repos/testing-x86_64/pinentry (from rev 454749, pinentry/trunk/pinentry)
===================================================================
--- testing-x86_64/pinentry (rev 0)
+++ testing-x86_64/pinentry 2022-08-29 21:52:17 UTC (rev 454750)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# user-defined pre-exec hook
+test -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec &&
+ . "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec
+
+# site-defined pre-exec hook
+test -r /etc/pinentry/preexec &&
+ . /etc/pinentry/preexec
+
+test -e /usr/lib/libgtk-x11-2.0.so.0 &&
+ exec /usr/bin/pinentry-gtk-2 "$@"
+
+exec /usr/bin/pinentry-curses "$@"
Copied: pinentry/repos/testing-x86_64/preexec (from rev 454749, pinentry/trunk/preexec)
===================================================================
--- testing-x86_64/preexec (rev 0)
+++ testing-x86_64/preexec 2022-08-29 21:52:17 UTC (rev 454750)
@@ -0,0 +1,5 @@
+#!/hint/sh
+
+# Define additional functionality for pinentry. For example
+#test -e /usr/lib/libgcr-base-3.so.1 && exec /usr/bin/pinentry-gnome3 "$@"
+#test -e /usr/lib/libQt5Widgets.so.5 && exec /usr/bin/pinentry-qt "$@"
More information about the arch-commits
mailing list