Friday, October 05, 2018

[UPDATE] security/ccid 1.4.30

Hi,

This patch updates the port of the chip/smart card interface driver port
security/ccid to 1.4.30, released 19 September 2018. It adds support for
additional card readers, updates reader names for common Yubikey models,
and has a few bug fixes.

I've also updated the HOMEPAGE and MASTER_SITES since it seems the
original domain no longer resolves to an active website. The author has
migrated their projects (like pcsc-lite) to another domain.

Inline patch follows.

-Dave

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/ccid/Makefile,v
retrieving revision 1.27
diff -u -p -u -r1.27 Makefile
--- Makefile 6 Jun 2017 14:58:58 -0000 1.27
+++ Makefile 6 Oct 2018 03:23:34 -0000
@@ -2,13 +2,13 @@

COMMENT = USB Chip/Smart Card Interface Devices driver

-DISTNAME = ccid-1.4.27
+DISTNAME = ccid-1.4.30

CATEGORIES = security

-HOMEPAGE = http://pcsclite.alioth.debian.org/ccid.html
+HOMEPAGE = https://ccid.apdu.fr

-MASTER_SITES = https://alioth.debian.org/frs/download.php/latestfile/112/
+MASTER_SITES = https://ccid.apdu.fr/files/

EXTRACT_SUFX = .tar.bz2

Index: distinfo
===================================================================
RCS file: /cvs/ports/security/ccid/distinfo,v
retrieving revision 1.20
diff -u -p -u -r1.20 distinfo
--- distinfo 6 Jun 2017 14:58:58 -0000 1.20
+++ distinfo 6 Oct 2018 03:23:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (ccid-1.4.27.tar.bz2) = pmDiaWBphsuUhArVuoAv+wzSPdErmPaaNQNeDeud0Tc=
-SIZE (ccid-1.4.27.tar.bz2) = 632817
+SHA256 (ccid-1.4.30.tar.bz2) = rBcIe+CIgKDN+ZqKJ5mk7wBNxv+gi02bCtmV85pT/3w=
+SIZE (ccid-1.4.30.tar.bz2) = 642342
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/security/ccid/patches/patch-src_Makefile_in,v
retrieving revision 1.10
diff -u -p -u -r1.10 patch-src_Makefile_in
--- patches/patch-src_Makefile_in 6 Jun 2017 14:58:58 -0000 1.10
+++ patches/patch-src_Makefile_in 6 Oct 2018 03:23:34 -0000
@@ -1,4 +1,5 @@
-$OpenBSD: patch-src_Makefile_in,v 1.10 2017/06/06 14:58:58 dcoppa Exp $
+$OpenBSD$
+
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -11,18 +12,18 @@ Index: src/Makefile.in
all: all-am

@@ -1193,13 +1192,12 @@ install_ccid: libccid.la Info.plist
- $(mkinstalldirs) $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/
- cp Info.plist $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/
- cp .libs/$(CCID_LIB) $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/$(CCID_LIB)
+ $(mkinstalldirs) "$(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/"
+ cp Info.plist "$(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/"
+ cp .libs/$(CCID_LIB) "$(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/$(CCID_LIB)"
- $(INSTALL_UDEV_RULE_FILE)

install_ccidtwin: libccidtwin.la
- $(mkinstalldirs) $(DESTDIR)$(ccidtwindir)
- cp .libs/$(CCIDTWIN_LIB) $(DESTDIR)$(ccidtwindir)/$(CCIDTWIN_LIB)
-- $(mkinstalldirs) $(DESTDIR)/$(serialconfdir) ; \
-- perl -ne "s|TARGET|$(ccidtwindir)/$(CCIDTWIN_LIB)| ; print" $(srcdir)/reader.conf.in > $(DESTDIR)/$(serialconfdir)/libccidtwin
-+ $(mkinstalldirs) $(DESTDIR)$(datadir)/examples/ccid ; \
-+ perl -ne "s|TARGET|$(ccidtwindir)/$(CCIDTWIN_LIB)| ; print" $(srcdir)/reader.conf.in > $(DESTDIR)$(datadir)/examples/ccid/libccidtwin
+ $(mkinstalldirs) "$(DESTDIR)$(ccidtwindir)"
+ cp .libs/$(CCIDTWIN_LIB) "$(DESTDIR)$(ccidtwindir)/$(CCIDTWIN_LIB)"
+- $(mkinstalldirs) "$(DESTDIR)/$(serialconfdir)" ; \
+- perl -ne "s|TARGET|$(ccidtwindir)/$(CCIDTWIN_LIB)| ; print" $(srcdir)/reader.conf.in > "$(DESTDIR)/$(serialconfdir)/libccidtwin"
++ $(mkinstalldirs) "$(DESTDIR)$(datadir)/examples/ccid" ; \
++ perl -ne "s|TARGET|$(ccidtwindir)/$(CCIDTWIN_LIB)| ; print" $(srcdir)/reader.conf.in > "$(DESTDIR)$(datadir)/examples/ccid/libccidtwin"

# do not uninstall the serial driver by default
# use explicitely 'make uninstall_ccidtwin'

No comments:

Post a Comment