Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pcsc-lite pcsc-lite: updated to 1.9.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a94e74131ef
branches: trunk
changeset: 434704:1a94e74131ef
user: adam <adam%pkgsrc.org@localhost>
date: Sat Jun 20 19:03:37 2020 +0000
description:
pcsc-lite: updated to 1.9.0:
1.9.0:
- SCardEndTransaction(): greatly improve performances (x300)
- tokenparser: accept any Unicode character in a reader name
- Use /run instead of /var/run by default
- Fix a memory leak from a polkit call
- Some other minor improvements
1.8.26:
- Use poll() instead of select() to allow file descriptor higher than FD_SETSIZE
- Enable reader filtering by default
- pcsc-spy:
. Do not read output buffer after error
. Adjust code to handle autoallocated buffers
. fix year-2038 issue by using long instead of int
- Android: fix compilation
- if client/server protocol mismatch:
. log an explicit message
. SCardEstablishContext() returns SCARD_E_SERVICE_STOPPED
- polkit: log the error message if polkit_authority_get_sync() fails
- Exit with EXIT_SUCCESS on shutdown to please systemd
- Doxygen: fix minor issues in the documentation
- Add --disable-documentation option
- Fix a minor memory leak
1.8.25:
- Fix a socket issue when pcscd is used inside LXC container
- pcsc-spy: always provide a total time of execution
- Fix resource leak if SCardEstablishContext() fails
- Fix realloc(3) error handling (possible memory leak)
- Remove usage of function chmod(2) to use fchmod(2) (fix race condition)
1.8.24:
- the project moved to https://pcsclite.apdu.fr/
- SCardGetStatusChange(): Fix a rare race condition
- SCardReleaseContext(): do not release a lock owned by another context
- SCardReconnect(): suspend card auto power off
- Allow "=" in serial driver filenames
- Add the thread id in the pcscd log lines
- pcsc-spy: correctly handle incomplete log file
- Simclist: avoid to divide by zero in list_findpos()
- Some other minor improvements
diffstat:
security/pcsc-lite/Makefile | 20 ++++++-----------
security/pcsc-lite/PLIST | 5 +---
security/pcsc-lite/distinfo | 19 ++++++++---------
security/pcsc-lite/patches/patch-configure | 4 +-
security/pcsc-lite/patches/patch-src_Makefile.in | 13 +++++------
security/pcsc-lite/patches/patch-src_libpcsclite.pc.in | 14 ++++++++++++
security/pcsc-lite/patches/patch-src_libpscslite.pc.in | 14 ------------
security/pcsc-lite/patches/patch-src_spy_Makefile.in | 14 ------------
security/pcsc-lite/patches/patch-src_utils.c | 4 +-
9 files changed, 41 insertions(+), 66 deletions(-)
diffs (205 lines):
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/Makefile
--- a/security/pcsc-lite/Makefile Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/Makefile Sat Jun 20 19:03:37 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2019/11/04 21:12:57 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2020/06/20 19:03:37 adam Exp $
-DISTNAME= pcsc-lite-1.8.24
-PKGREVISION= 1
+DISTNAME= pcsc-lite-1.9.0
CATEGORIES= security
# Note that the MASTER_SITES URL is not stable with version changes,
# and one can end up with an old version if DISTNAME is changed but
@@ -12,24 +11,19 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://pcsclite.apdu.fr/
-
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
LICENSE= modified-bsd
-GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
-USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS+= spy
-#REPLACE_PYTHON= src/spy/pcsc-spy
-#.include "../../lang/python/application.mk"
-
-CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR:Q}/reader.conf.d
+CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR}/reader.conf.d
CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
CONFIGURE_ARGS+= --disable-libudev
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/PLIST
--- a/security/pcsc-lite/PLIST Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/PLIST Sat Jun 20 19:03:37 2020 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2015/01/15 20:56:03 wiz Exp $
-${PLIST.spy}bin/pcsc-spy
+@comment $NetBSD: PLIST,v 1.8 2020/06/20 19:03:37 adam Exp $
include/PCSC/debuglog.h
include/PCSC/ifdhandler.h
include/PCSC/pcsclite.h
@@ -7,9 +6,7 @@
include/PCSC/winscard.h
include/PCSC/wintypes.h
lib/libpcsclite.la
-${PLIST.spy}lib/libpcscspy.la
lib/pkgconfig/libpcsclite.pc
-${PLIST.spy}man/man1/pcsc-spy.1
man/man5/reader.conf.5
man/man8/pcscd.8
sbin/pcscd
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/distinfo
--- a/security/pcsc-lite/distinfo Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/distinfo Sat Jun 20 19:03:37 2020 +0000
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.21 2018/10/13 10:52:35 mlelstv Exp $
+$NetBSD: distinfo,v 1.22 2020/06/20 19:03:37 adam Exp $
-SHA1 (pcsc-lite-1.8.24.tar.bz2) = a5d48615cddb2b7050b4dc195e938a5d39ef62c4
-RMD160 (pcsc-lite-1.8.24.tar.bz2) = 58fa45643f0348456d5b32a61f188849515f82c4
-SHA512 (pcsc-lite-1.8.24.tar.bz2) = df2e6a7a8179563a6dbf654ab75cf78a4b297b0562214a081d7d2b5d00fd4adf92fd892bd16aacf9d5e2867f3ad46c88a88e5834e311011f37556dd7e8936a0c
-Size (pcsc-lite-1.8.24.tar.bz2) = 755670 bytes
-SHA1 (patch-configure) = 2b0e0065c14d7625469c85e29ce3a47806a1cf55
-SHA1 (patch-src_Makefile.in) = 5ada9cc404927ac9f44824bce1c4a815832a2ac1
+SHA1 (pcsc-lite-1.9.0.tar.bz2) = 15d0ef0282deceae5c0061e11bdc9d18691483c4
+RMD160 (pcsc-lite-1.9.0.tar.bz2) = 62ada092b76a8c512ad67a138b1446c53f746f5d
+SHA512 (pcsc-lite-1.9.0.tar.bz2) = 35c85b15ab54c14403a080d6671b3d986910372651d46a5477111172d42c6d2cf58f4a3ce95427e7a84f6b4d3bee30ea57bf69b855f753160a3c6e72f93e34f3
+Size (pcsc-lite-1.9.0.tar.bz2) = 755963 bytes
+SHA1 (patch-configure) = d421ffddf787a01c8655c34dda0e4708978c1c6c
+SHA1 (patch-src_Makefile.in) = 077837434e4cf503b9556e45102603c408ccb0cb
SHA1 (patch-src_PCSC_reader.h) = 8ea2b7be9b3bae56cdae64b950373c8eeda2813a
-SHA1 (patch-src_libpscslite.pc.in) = ba1c8ed98ce81f1fc40ecc8af1b44d0cff8537df
-SHA1 (patch-src_spy_Makefile.in) = b50d3d0365409a2f718ac61f698a97e6e2e834db
-SHA1 (patch-src_utils.c) = 39c9126fb4f4b67a96328ba5abd448bf007cbbea
+SHA1 (patch-src_libpcsclite.pc.in) = ba1c8ed98ce81f1fc40ecc8af1b44d0cff8537df
+SHA1 (patch-src_utils.c) = 7bfca2b5a097c6a3d4b7736933b670d1d0d63f76
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-configure
--- a/security/pcsc-lite/patches/patch-configure Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/patches/patch-configure Sat Jun 20 19:03:37 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-configure,v 1.4 2014/10/01 16:27:03 gdt Exp $
+$NetBSD: patch-configure,v 1.5 2020/06/20 19:03:37 adam Exp $
-Make sure libpscslite.so is not linked against -lphtread on NetBSD, as
+Make sure libpcsclite.so is not linked against -lphtread on NetBSD, as
loading libpthread.so through dlopen() is now forbidden
--- configure.orig 2014-09-24 13:04:46.000000000 +0000
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-src_Makefile.in
--- a/security/pcsc-lite/patches/patch-src_Makefile.in Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/patches/patch-src_Makefile.in Sat Jun 20 19:03:37 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_Makefile.in,v 1.6 2014/10/01 16:27:03 gdt Exp $
+$NetBSD: patch-src_Makefile.in,v 1.7 2020/06/20 19:03:37 adam Exp $
-Make sure libpscslite.so is not linked against -lpthread on NetBSD, as
+Make sure libpcsclite.so is not linked against -lpthread on NetBSD, as
loading libpthread.so through dlopen() is now forbidden.
Disable installation of pcsc-spy
---- src/Makefile.in.orig 2014-09-24 13:04:47.000000000 +0000
+--- src/Makefile.in.orig 2020-06-14 13:43:23.000000000 +0000
+++ src/Makefile.in
-@@ -396,6 +396,8 @@ POLKIT_LIBS = @POLKIT_LIBS@
+@@ -436,6 +436,8 @@ POLKIT_LIBS = @POLKIT_LIBS@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
@@ -15,16 +15,15 @@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
-@@ -466,7 +468,7 @@ top_builddir = @top_builddir@
+@@ -507,7 +509,6 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
usbdropdir = @usbdropdir@
usbdropdir_exp = @usbdropdir_exp@
-SUBDIRS = spy
-+#SUBDIRS = spy
AM_CPPFLAGS = -I$(top_srcdir)/src/PCSC -I$(top_builddir)/src/PCSC \
$(SYMBOL_VISIBILITY)
-@@ -490,8 +492,8 @@ libpcsclite_la_SOURCES = \
+@@ -529,8 +530,8 @@ libpcsclite_la_SOURCES = \
winscard_msg.c
libpcsclite_la_LDFLAGS = -version-info 1:0:0
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-src_libpcsclite.pc.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/patches/patch-src_libpcsclite.pc.in Sat Jun 20 19:03:37 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_libpcsclite.pc.in,v 1.1 2020/06/20 19:03:37 adam Exp $
+
+Make sure dependencies (opensc) do not get -pthread.
+
+--- src/libpcsclite.pc.in.orig 2013-07-31 17:13:56.000000000 +0000
++++ src/libpcsclite.pc.in
+@@ -9,5 +9,5 @@ Name: PCSC Lite
+ Description: PC/SC smart card interface
+ Version: @VERSION@
+ Libs: -L${libdir} -lpcsclite
+-Libs.private: @PTHREAD_LIBS@
+-Cflags: -I${includedir} @PTHREAD_CFLAGS@
++Libs.private:
++Cflags: -I${includedir}
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-src_libpscslite.pc.in
--- a/security/pcsc-lite/patches/patch-src_libpscslite.pc.in Sat Jun 20 18:38:34 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_libpscslite.pc.in,v 1.2 2014/10/01 16:27:03 gdt Exp $
-
-Make sure dependencies (opensc) do not get -pthread.
-
---- src/libpcsclite.pc.in.orig 2013-07-31 17:13:56.000000000 +0000
-+++ src/libpcsclite.pc.in
-@@ -9,5 +9,5 @@ Name: PCSC Lite
- Description: PC/SC smart card interface
- Version: @VERSION@
- Libs: -L${libdir} -lpcsclite
--Libs.private: @PTHREAD_LIBS@
--Cflags: -I${includedir} @PTHREAD_CFLAGS@
-+Libs.private:
-+Cflags: -I${includedir}
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-src_spy_Makefile.in
--- a/security/pcsc-lite/patches/patch-src_spy_Makefile.in Sat Jun 20 18:38:34 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_spy_Makefile.in,v 1.3 2014/10/01 16:27:03 gdt Exp $
-
-Build fix for dlopen() on NetBSD
-
---- src/spy/Makefile.in.orig 2014-09-24 13:04:47.000000000 +0000
-+++ src/spy/Makefile.in
-@@ -124,6 +124,7 @@ am__uninstall_files_from_dir = { \
- am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
- "$(DESTDIR)$(man1dir)"
- LTLIBRARIES = $(lib_LTLIBRARIES)
-+# In earlier versions, pkgsrc patched -ldl to ${DL_LIBS}
- libpcscspy_la_LIBADD =
- am_libpcscspy_la_OBJECTS = libpcscspy.lo
- libpcscspy_la_OBJECTS = $(am_libpcscspy_la_OBJECTS)
diff -r 05c12a1fcaa3 -r 1a94e74131ef security/pcsc-lite/patches/patch-src_utils.c
--- a/security/pcsc-lite/patches/patch-src_utils.c Sat Jun 20 18:38:34 2020 +0000
+++ b/security/pcsc-lite/patches/patch-src_utils.c Sat Jun 20 19:03:37 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_utils.c,v 1.2 2014/10/01 16:27:03 gdt Exp $
+$NetBSD: patch-src_utils.c,v 1.3 2020/06/20 19:03:37 adam Exp $
-Make sure libpscslite.so is not linked against -lpthread on NetBSD, as
+Make sure libpcsclite.so is not linked against -lpthread on NetBSD, as
loading libpthread.so through dlopen() is now forbidden.
--- src/utils.c.orig 2014-08-08 16:57:27.000000000 +0000
Home |
Main Index |
Thread Index |
Old Index