2
0

bump version

This commit is contained in:
Arti Zirk 2019-07-10 09:29:31 +03:00
parent bf16dad27e
commit 7a2e77ba28
3 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
pkgbase = gnupg-scdaemon-shared-access pkgbase = gnupg-scdaemon-shared-access
pkgdesc = This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access pkgdesc = This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access
pkgver = 2.2.16 pkgver = 2.2.17
pkgrel = 1 pkgrel = 1
url = https://www.gnupg.org/ url = https://www.gnupg.org/
install = install install = install
@ -25,21 +25,21 @@ pkgbase = gnupg-scdaemon-shared-access
optdepends = pcsclite: scdaemon optdepends = pcsclite: scdaemon
provides = gnupg provides = gnupg
provides = dirmngr provides = dirmngr
provides = gnupg=2.2.16 provides = gnupg=2.2.17
provides = gnupg2=2.2.16 provides = gnupg2=2.2.17
conflicts = gnupg conflicts = gnupg
conflicts = dirmngr conflicts = dirmngr
conflicts = gnupg2 conflicts = gnupg2
source = https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.16.tar.bz2 source = https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.17.tar.bz2
source = https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.16.tar.bz2.sig source = https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.17.tar.bz2.sig
source = scdaemon_shared-access.patch source = scdaemon_shared-access.patch
validpgpkeys = D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 validpgpkeys = D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
validpgpkeys = 46CC730865BB5C78EBABADCF04376F3EE0856959 validpgpkeys = 46CC730865BB5C78EBABADCF04376F3EE0856959
validpgpkeys = 031EC2536E580D8EA286A9F22071B08A33BD3F06 validpgpkeys = 031EC2536E580D8EA286A9F22071B08A33BD3F06
validpgpkeys = D238EA65D64C67ED4C3073F28A861B1C7EFD60D9 validpgpkeys = D238EA65D64C67ED4C3073F28A861B1C7EFD60D9
sha256sums = 6cbe8d454bf5dc204621eed3016d721b66298fa95363395bb8eeceb1d2fd14cb sha256sums = afa262868e39b651a2db4c071fba90415154243e83a830ca00516f9a807fd514
sha256sums = SKIP sha256sums = SKIP
sha256sums = 877ca0b8abcb6d1263bf40f3e9aa66b754a9957943ae2de591dfa42a1b21b7cf sha256sums = aa46b372830dd8ed355a86a1677c50c6be8178f847c09b7291f47a1dc3ea02dc
pkgname = gnupg-scdaemon-shared-access pkgname = gnupg-scdaemon-shared-access

View File

@ -6,7 +6,7 @@
_pkgname=gnupg _pkgname=gnupg
pkgname=gnupg-scdaemon-shared-access pkgname=gnupg-scdaemon-shared-access
pkgver=2.2.16 pkgver=2.2.17
pkgrel=1 pkgrel=1
pkgdesc='This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access' pkgdesc='This package adds shared-access option that uses PCSC_SHARE_SHARED for pcsc_connect in scdaemon when using pcsc backend for smartcard access'
url='https://www.gnupg.org/' url='https://www.gnupg.org/'
@ -25,9 +25,9 @@ validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9') 'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9')
source=("https://gnupg.org/ftp/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"{,.sig} source=("https://gnupg.org/ftp/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"{,.sig}
"scdaemon_shared-access.patch") "scdaemon_shared-access.patch")
sha256sums=('6cbe8d454bf5dc204621eed3016d721b66298fa95363395bb8eeceb1d2fd14cb' sha256sums=('afa262868e39b651a2db4c071fba90415154243e83a830ca00516f9a807fd514'
'SKIP' 'SKIP'
'877ca0b8abcb6d1263bf40f3e9aa66b754a9957943ae2de591dfa42a1b21b7cf') 'aa46b372830dd8ed355a86a1677c50c6be8178f847c09b7291f47a1dc3ea02dc')
install=install install=install
@ -37,7 +37,7 @@ provides=('gnupg' 'dirmngr' "gnupg=${pkgver}" "gnupg2=${pkgver}")
prepare() { prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}" cd "${srcdir}/${_pkgname}-${pkgver}"
sed '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' -i tools/Makefile.in sed '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' -i tools/Makefile.in
patch -F3 -p1 -t -N < "${srcdir}/scdaemon_shared-access.patch" patch -p1 -t -N < "${srcdir}/scdaemon_shared-access.patch"
} }
build() { build() {

View File

@ -6,7 +6,7 @@
--- a/scd/apdu.c --- a/scd/apdu.c
+++ b/scd/apdu.c +++ b/scd/apdu.c
@@ -793,7 +793,7 @@ connect_pcsc_card (int slot) @@ -816,7 +816,7 @@ connect_pcsc_card (int slot)
err = pcsc_connect (reader_table[slot].pcsc.context, err = pcsc_connect (reader_table[slot].pcsc.context,
reader_table[slot].rdrname, reader_table[slot].rdrname,
@ -22,28 +22,28 @@
oDisableApplication, oDisableApplication,
oEnablePinpadVarlen, oEnablePinpadVarlen,
+ oSharedAccess, + oSharedAccess,
oListenBacklog oListenBacklog,
};
@@ -157,6 +158,8 @@ static ARGPARSE_OPTS opts[] = { oNoop
N_("use variable length input for pinpad")), @@ -164,6 +165,8 @@ static ARGPARSE_OPTS opts[] = {
ARGPARSE_s_s (oHomedir, "homedir", "@"), /* Stubs for options which are implemented by 2.3 or later. */
ARGPARSE_s_s (oNoop, "application-priority", "@"),
+ ARGPARSE_s_n (oSharedAccess, "shared-access", N_("use PCSC_SHARE_SHARED for pcsc_connect")), + ARGPARSE_s_n (oSharedAccess, "shared-access", N_("use PCSC_SHARE_SHARED for pcsc_connect")),
+ +
ARGPARSE_end () ARGPARSE_end ()
}; };
@@ -597,6 +598,8 @@ main (int argc, char **argv ) @@ -629,6 +632,8 @@ main (int argc, char **argv )
case oEnablePinpadVarlen: opt.enable_pinpad_varlen = 1; break; case oNoop: break;
+ case oSharedAccess: opt.shared_access = 1; break; + case oSharedAccess: opt.shared_access = 1; break;
+ +
default: default:
pargs.err = configfp? ARGPARSE_PRINT_WARNING:ARGPARSE_PRINT_ERROR; pargs.err = configfp? ARGPARSE_PRINT_WARNING:ARGPARSE_PRINT_ERROR;
break; break;
@@ -695,6 +695,7 @@ main (int argc, char **argv ) @@ -727,6 +732,7 @@ main (int argc, char **argv )
es_printf ("disable-pinpad:%lu:\n", GC_OPT_FLAG_NONE ); es_printf ("disable-pinpad:%lu:\n", GC_OPT_FLAG_NONE );
es_printf ("card-timeout:%lu:%d:\n", GC_OPT_FLAG_DEFAULT, 0); es_printf ("card-timeout:%lu:%d:\n", GC_OPT_FLAG_DEFAULT, 0);
es_printf ("enable-pinpad-varlen:%lu:\n", GC_OPT_FLAG_NONE ); es_printf ("enable-pinpad-varlen:%lu:\n", GC_OPT_FLAG_NONE );
@ -64,7 +64,7 @@
--- a/tools/gpgconf-comp.c --- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c
@@ -648,6 +648,9 @@ static gc_option_t gc_options_scdaemon[] = @@ -653,6 +653,9 @@ static gc_option_t gc_options_scdaemon[] =
{ "card-timeout", GC_OPT_FLAG_NONE|GC_OPT_FLAG_RUNTIME, GC_LEVEL_BASIC, { "card-timeout", GC_OPT_FLAG_NONE|GC_OPT_FLAG_RUNTIME, GC_LEVEL_BASIC,
"gnupg", "|N|disconnect the card after N seconds of inactivity", "gnupg", "|N|disconnect the card after N seconds of inactivity",
GC_ARG_TYPE_UINT32, GC_BACKEND_SCDAEMON }, GC_ARG_TYPE_UINT32, GC_BACKEND_SCDAEMON },