pinentry/1.3.0-2: new package
This commit is contained in:
parent
11747ce5bc
commit
7ea8da1e17
43
packages/pinentry/.SRCINFO
Normal file
43
packages/pinentry/.SRCINFO
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
pkgbase = pinentry
|
||||||
|
pkgdesc = Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol
|
||||||
|
pkgver = 1.3.0
|
||||||
|
pkgrel = 2
|
||||||
|
url = https://gnupg.org/related_software/pinentry/
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL-2.0-or-later
|
||||||
|
makedepends = gtk2
|
||||||
|
makedepends = qt6-base
|
||||||
|
makedepends = qt5-x11extras
|
||||||
|
makedepends = kwayland5
|
||||||
|
makedepends = gcr-4
|
||||||
|
makedepends = kguiaddons
|
||||||
|
makedepends = kwindowsystem
|
||||||
|
depends = glibc
|
||||||
|
depends = ncurses
|
||||||
|
depends = libassuan
|
||||||
|
depends = libsecret
|
||||||
|
depends = glib2
|
||||||
|
depends = libsecret-1.so
|
||||||
|
depends = libncursesw.so
|
||||||
|
depends = libassuan.so
|
||||||
|
depends = libglib-2.0.so
|
||||||
|
optdepends = gtk2: gtk2 backend
|
||||||
|
optdepends = qt5-x11extras: Qt5 backend
|
||||||
|
optdepends = kwayland5: Qt5 backend
|
||||||
|
optdepends = kguiaddons: Qt6 backend
|
||||||
|
optdepends = kwindowsystem: Qt6 backend
|
||||||
|
optdepends = gcr-4: GNOME backend
|
||||||
|
backup = etc/pinentry/preexec
|
||||||
|
source = https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.3.0.tar.bz2
|
||||||
|
source = https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.3.0.tar.bz2.sig
|
||||||
|
source = pinentry
|
||||||
|
source = preexec
|
||||||
|
validpgpkeys = D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
|
||||||
|
validpgpkeys = 6DAA6E64A76D2840571B4902528897B826403ADA
|
||||||
|
validpgpkeys = AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD
|
||||||
|
sha256sums = 9b3cd5226e7597f2fded399a3bc659923351536559e9db0826981bca316494de
|
||||||
|
sha256sums = SKIP
|
||||||
|
sha256sums = af7c27139b20a7f1b9a227f3663abb21bb2b954523352b7844da27db1b0c1c86
|
||||||
|
sha256sums = 8e403819433468327a7039a2d7afa7db520375eec2143258f8884d8b24585685
|
||||||
|
|
||||||
|
pkgname = pinentry
|
62
packages/pinentry/PKGBUILD
Normal file
62
packages/pinentry/PKGBUILD
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||||
|
# Contributor: Gaetan Bisson <bisson@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=pinentry
|
||||||
|
pkgver=1.3.0
|
||||||
|
pkgrel=2
|
||||||
|
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-2.0-or-later')
|
||||||
|
depends=(
|
||||||
|
'glibc' 'ncurses' 'libassuan' 'libsecret' 'glib2'
|
||||||
|
libsecret-1.so libncursesw.so libassuan.so libglib-2.0.so)
|
||||||
|
makedepends=('gtk2' 'qt6-base' 'qt5-x11extras' 'kwayland5' 'gcr-4' 'kguiaddons' 'kwindowsystem')
|
||||||
|
optdepends=(
|
||||||
|
'gtk2: gtk2 backend'
|
||||||
|
'qt5-x11extras: Qt5 backend'
|
||||||
|
'kwayland5: Qt5 backend'
|
||||||
|
'kguiaddons: Qt6 backend'
|
||||||
|
'kwindowsystem: Qt6 backend'
|
||||||
|
'gcr-4: GNOME backend'
|
||||||
|
)
|
||||||
|
backup=('etc/pinentry/preexec')
|
||||||
|
source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||||
|
'pinentry'
|
||||||
|
'preexec')
|
||||||
|
sha256sums=('9b3cd5226e7597f2fded399a3bc659923351536559e9db0826981bca316494de'
|
||||||
|
'SKIP'
|
||||||
|
'af7c27139b20a7f1b9a227f3663abb21bb2b954523352b7844da27db1b0c1c86'
|
||||||
|
'8e403819433468327a7039a2d7afa7db520375eec2143258f8884d8b24585685')
|
||||||
|
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:
|
@ -0,0 +1,10 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mDMEX0PliRYJKwYBBAHaRw8BAQdAz75Hlekc16JhhfI0MKdEVxLdkxhcMCO0ZG6W
|
||||||
|
MBAmNpe0H1dlcm5lciBLb2NoIChkaXN0IHNpZ25pbmcgMjAyMCmImgQTFgoAQhYh
|
||||||
|
BG2qbmSnbShAVxtJAlKIl7gmQDraBQJfQ+w1AhsDBQkShccRBQsJCAcCAyICAQYV
|
||||||
|
CgkICwIEFgIDAQIeBwIXgAAKCRBSiJe4JkA62nmuAP9uL/HOdB0gvwWrH+FpURJL
|
||||||
|
s4bnaZaPIk9ARrU0EXRgJgD/YCGfHQXpIPT0ZaXuwJexK04Z+qMFR/bM1q1Leo5C
|
||||||
|
jgY=
|
||||||
|
=ukul
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,10 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mDMEYKSChxYJKwYBBAHaRw8BAQdAmZ1/CnyMQ3k/d4SOFCJaTrNCLy62+A69gPnt
|
||||||
|
eYT4fz60IE5paWJlIFl1dGFrYSAoR251UEcgUmVsZWFzZSBLZXkpiJoEExYKAEIW
|
||||||
|
IQSsjhFb9z4tjUf6mQjpjpstGcbIvQUCYKSChwIbAwUJCw0GmQULCQgHAgMiAgEG
|
||||||
|
FQoJCAsCBBYCAwECHgcCF4AACgkQ6Y6bLRnGyL3/ggD/Wu9KvcxT5K/iOE0PMP4J
|
||||||
|
4LeCYeQ97DqmL1UcSwTB2CYBAPYG2JfvDWwkv8IHKUZa/mPGPjfjmY/1h9mbRGyD
|
||||||
|
M+MM
|
||||||
|
=nU8p
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,18 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQENBE0ti4EBCACqGtKlX9jI/enhlBdy2cyQP6Q7JoyxtaG6/ckAKWHYrqFTQk3I
|
||||||
|
Ue8TuDrGT742XFncG9PoMBfJDUNltIPgKFn8E9tYQqAOlpSA25bOb30cA2ADkrjg
|
||||||
|
jvDAH8cZ+fkIayWtObTxwqLfPivjFxEM//IdShFFVQj+QHmXYBJggWyEIil8Bje7
|
||||||
|
KRw6B5ucs4qSzp5VH4CqDr9PDnLD8lBGHk0x8jpwh4V/yEODJKATY0Vj00793L8u
|
||||||
|
qA35ZiyczUvvJSLYvf7STO943GswkxdAfqxXbYifiK2gjE/7SAmB+2jFxsonUDOB
|
||||||
|
1BAY5s3FKqrkaxZr3BBjeuGGoCuiSX/cXRIhABEBAAG0Fldlcm5lciBLb2NoIChk
|
||||||
|
aXN0IHNpZymJAWwEEwEIAD8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAFiEE
|
||||||
|
2GkhI8QGXepeDzq1JJs50k8l47YFAl4MxBkFCRShVzYAIQkQJJs50k8l47YWIQTY
|
||||||
|
aSEjxAZd6l4POrUkmznSTyXjtgiZB/0dqodaiv5pKZoTBCdoA3TNFriQ9sBbJrXz
|
||||||
|
Zom2wXMtkl/oFtLRqiIyHC1EQ38My8GPPEBEp6n9wQtoz6ZzugMriYTCpJf+7oET
|
||||||
|
wPsVo0D2y63w/7jGOmgs9T5TMgsyDb23Wt6aPJP2uzqxu7wGq58jG54CuSOiLhYI
|
||||||
|
5JGJVN3D5gN3zy+iU+ReU99LyGD1Fy3BnyQQQPLBr42vGIvH6QOAM1M12Tc8l19y
|
||||||
|
d6x/xLVr4otRM1F2zn7EZNjPQlJD0FntD2vhVD80vnma5BmLlbuVXF2ncfFAVQ2M
|
||||||
|
fPMF8a2SlLjGpmkm82NbnRaHlWLlFhktnczUS4gdceZGJjh2aqpy
|
||||||
|
=lFNg
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
14
packages/pinentry/pinentry
Executable file
14
packages/pinentry/pinentry
Executable file
@ -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 "$@"
|
5
packages/pinentry/preexec
Executable file
5
packages/pinentry/preexec
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/hint/sh
|
||||||
|
|
||||||
|
# Define additional functionality for pinentry. For example
|
||||||
|
#test -e /usr/lib/libgcr-4.so.4 && exec /usr/bin/pinentry-gnome3 "$@"
|
||||||
|
#test -e /usr/lib/libQt6Widgets.so.6 && exec /usr/bin/pinentry-qt "$@"
|
Loading…
x
Reference in New Issue
Block a user