Browse Source

n/gnupg: Upgraded to gnupg-2.2.25.

current-20200608
Damien Goutte-Gattat 5 months ago
parent
commit
247740c966
4 changed files with 3 additions and 40 deletions
  1. +0
    -34
      n/gnupg/gnupg-2.2.24-fix-issue-5065.diff
  2. +0
    -1
      n/gnupg/gnupg-2.2.24.tar.bz2.sha256
  3. +1
    -0
      n/gnupg/gnupg-2.2.25.tar.bz2.sha256
  4. +2
    -5
      n/gnupg/gnupg.SlackBuild

+ 0
- 34
n/gnupg/gnupg-2.2.24-fix-issue-5065.diff View File

@ -1,34 +0,0 @@
commit 84020385be19556800b22cc5b0ce098acd424298
Author: NIIBE Yutaka <gniibe@fsij.org>
Date: Thu Nov 19 13:49:08 2020 +0900
scd:openpgp: Public keys should be available for check_keyidstr.
* scd/app-openpgp.c (check_keyidstr): Call get_public_key.
--
GnuPG-bug-id: 5065
Fixes-commit: 1049f06c6d2e1a833af4c73ea67a05417bbd0967
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 6245a5331..ec60db2e6 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -4392,10 +4392,15 @@ check_keyidstr (app_t app, const char *keyidstr, int keyno, int *r_use_auth)
const char *s;
int n;
const char *fpr = NULL;
+ int i;
if (r_use_auth)
*r_use_auth = 0;
+ /* Make sure we have load the public keys. */
+ for (i = 0; i < 3; i++)
+ get_public_key (app, i);
+
if (strlen (keyidstr) < 32)
return gpg_error (GPG_ERR_INV_ID);
else

+ 0
- 1
n/gnupg/gnupg-2.2.24.tar.bz2.sha256 View File

@ -1 +0,0 @@
9090b400faae34f08469d78000cfec1cee5b9c553ce11347cc96ef16eab98c46 gnupg-2.2.24.tar.bz2

+ 1
- 0
n/gnupg/gnupg-2.2.25.tar.bz2.sha256 View File

@ -0,0 +1 @@
c55307b247af4b6f44d2916a25ffd1fb64ce2e509c3c3d028dbe7fbf309dc30a gnupg-2.2.25.tar.bz2

+ 2
- 5
n/gnupg/gnupg.SlackBuild View File

@ -30,14 +30,14 @@
# Source package infos
NAMESRC=${NAMESRC:-gnupg}
VERSION=${VERSION:-2.2.24}
VERSION=${VERSION:-2.2.25}
PKGVERSION=${VERSION/-beta/b}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://gnupg.org/ftp/gcrypt/gnupg/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-gnupg}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -88,9 +88,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Fix problem with the scdaemon
# <https://dev.gnupg.org/rG84020385be19556800b22cc5b0ce098acd424298>
patch -p 1 < $CWD/gnupg-2.2.24-fix-issue-5065.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \


Loading…
Cancel
Save