Browse Source

ap/opensc: Upgraded to opensc-0.20.0.

slackware-15.0
parent
commit
411486ccd7
  1. 12
      ap/opensc/opensc-0.19.0-fix-debug-format-string.patch
  2. 1
      ap/opensc/opensc-0.19.0.tar.gz.sha256
  3. 1
      ap/opensc/opensc-0.20.0.tar.gz.sha256
  4. 5
      ap/opensc/opensc.SlackBuild

12
ap/opensc/opensc-0.19.0-fix-debug-format-string.patch

@ -1,12 +0,0 @@
diff -Naur opensc-0.19.0.orig/src/pkcs15init/pkcs15-oberthur.c opensc-0.19.0/src/pkcs15init/pkcs15-oberthur.c
--- opensc-0.19.0.orig/src/pkcs15init/pkcs15-oberthur.c 2018-09-13 12:52:42.000000000 +0100
+++ opensc-0.19.0/src/pkcs15init/pkcs15-oberthur.c 2019-11-30 22:09:35.207173090 +0000
@@ -70,7 +70,7 @@
ctx = p15card->card->ctx;
SC_FUNC_CALLED(ctx, SC_LOG_DEBUG_VERBOSE);
- sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "cosm_write_tokeninfo() label '%s'; flags 0x%X", label, flags);
+ sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "cosm_write_tokeninfo() label '%s'; flags 0x%X", label ? label : "", flags);
if (sc_profile_get_file(profile, COSM_TITLE"-token-info", &file)) {
rv = SC_ERROR_INCONSISTENT_PROFILE;
SC_TEST_GOTO_ERR(ctx, SC_LOG_DEBUG_NORMAL, rv, "Cannot find "COSM_TITLE"-token-info");

1
ap/opensc/opensc-0.19.0.tar.gz.sha256

@ -1 +0,0 @@
2c5a0e4df9027635290b9c0f3addbbf0d651db5ddb0ab789cb0e978f02fd5826 opensc-0.19.0.tar.gz

1
ap/opensc/opensc-0.20.0.tar.gz.sha256

@ -0,0 +1 @@
bbf4b4f4a44463645c90a525e820a8059b2f742a53b7b944f941de3c97ba4863 opensc-0.20.0.tar.gz

5
ap/opensc/opensc.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2015,2016,2019 Damien Goutte-Gattat
# Copyright (C) 2013,2015,2016,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-opensc}
VERSION=${VERSION:-0.19.0}
VERSION=${VERSION:-0.20.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/OpenSC/OpenSC/releases/download/$VERSION/$ARCHIVE}
@ -86,7 +86,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/opensc-0.19.0-fix-debug-format-string.patch
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \

Loading…
Cancel
Save