From 44924946c096290c461b6cfe904dc2058dfc6c1a Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 16 Feb 2017 14:47:56 +0000 Subject: Update to 1.4.27 Summary of upstream changelog: bug fixes many new ATRs ATR_analysis: propose to submit the ATR if not known We propose to submit the ATR at http://smartcard-atr.appspot.com/ when the ATR is not found in the list. The message is always displayed for an unknown ATR, not just after the list has been updated. ATR_analysis: correctly use wget to store the ATR list --- security/pcsc-tools/Makefile | 5 ++-- security/pcsc-tools/distinfo | 12 ++++----- security/pcsc-tools/patches/patch-Makefile | 41 ++++++++++++++++++++++++++++++ security/pcsc-tools/patches/patch-aa | 40 ----------------------------- 4 files changed, 49 insertions(+), 49 deletions(-) create mode 100644 security/pcsc-tools/patches/patch-Makefile delete mode 100644 security/pcsc-tools/patches/patch-aa diff --git a/security/pcsc-tools/Makefile b/security/pcsc-tools/Makefile index a9b9ffc57ca..77b038c3feb 100644 --- a/security/pcsc-tools/Makefile +++ b/security/pcsc-tools/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2016/07/09 06:38:56 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2017/02/16 14:47:56 gdt Exp $ -DISTNAME= pcsc-tools-1.4.24 -PKGREVISION= 1 +DISTNAME= pcsc-tools-1.4.27 CATEGORIES= security MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ diff --git a/security/pcsc-tools/distinfo b/security/pcsc-tools/distinfo index 19c28ceefa4..ef3bb621542 100644 --- a/security/pcsc-tools/distinfo +++ b/security/pcsc-tools/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2015/11/04 01:18:00 agc Exp $ +$NetBSD: distinfo,v 1.9 2017/02/16 14:47:56 gdt Exp $ -SHA1 (pcsc-tools-1.4.24.tar.gz) = bac6516b9b68acb8e6f8819999c28812d84ff1a7 -RMD160 (pcsc-tools-1.4.24.tar.gz) = 5ee539a0bf4a09aa7af051c0cb9daae5fad189cf -SHA512 (pcsc-tools-1.4.24.tar.gz) = d333b5e9988d93b1cd889ddfe7271b6cae0713422aa4884d5030f731d1f9de620b53d0857597d4e26508cd8f4db7e94ace07968b34a0c6392c358c38ed1725ae -Size (pcsc-tools-1.4.24.tar.gz) = 180792 bytes -SHA1 (patch-aa) = e993bb146b32eaec52d8feb3da8075bae2fcbca7 +SHA1 (pcsc-tools-1.4.27.tar.gz) = 5c15cb119c827146e4ed2a67a15d50dd5667e978 +RMD160 (pcsc-tools-1.4.27.tar.gz) = eb7f0232eedeccbd9613a1e6c8b14cf02e57400c +SHA512 (pcsc-tools-1.4.27.tar.gz) = f4532e6deab799c96fb344a8b3d07768b4c13d8800a486cf0bfe6200794e2b49dcd1c761dec86dca3c350d88577ec2bba420298c693449fddeeff93672449836 +Size (pcsc-tools-1.4.27.tar.gz) = 192342 bytes +SHA1 (patch-Makefile) = b3e9b4947aa118ace964e09d3f178ed33007a6eb diff --git a/security/pcsc-tools/patches/patch-Makefile b/security/pcsc-tools/patches/patch-Makefile new file mode 100644 index 00000000000..75acf529256 --- /dev/null +++ b/security/pcsc-tools/patches/patch-Makefile @@ -0,0 +1,41 @@ +$NetBSD: patch-Makefile,v 1.1 2017/02/16 14:47:57 gdt Exp $ + +Honor PKGMANDIR. +Avoid gzipping man pages. + +--- Makefile.orig 2015-11-08 17:18:51.000000000 +0000 ++++ Makefile +@@ -16,7 +16,7 @@ LDLIBS := $(PCSC_LDLIBS) + + BIN = pcsc_scan + BIN_SCRIPT = ATR_analysis gscriptor scriptor +-MAN = pcsc_scan.1.gz gscriptor.1p.gz scriptor.1p.gz ATR_analysis.1p.gz ++MAN = pcsc_scan.1 gscriptor.1p scriptor.1p ATR_analysis.1p + + all: $(BIN) $(MAN) + +@@ -31,17 +31,18 @@ install: all + install -d $(DESTDIR)/share/pcsc + install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc + +- install -d $(DESTDIR)/share/man/man1/ +- install -m 644 $(MAN) $(DESTDIR)/share/man/man1/ ++ install -d $(DESTDIR)/${PKGMANDIR}/man1/ ++ install -m 644 $(MAN) $(DESTDIR)/${PKGMANDIR}/man1/ + + clean: + rm -f pcsc_scan.o $(BIN) $(MAN) + +-%.1.gz: %.1 +- gzip --best $^ --to-stdout > $@ ++# Avoid gzip man files. ++$%.1.gz: %.1 ++# gzip --best $^ --to-stdout > $@ + +-%.1p.gz: %.1p +- gzip --best $^ --to-stdout > $@ ++#%.1p.gz: %.1p ++# gzip --best $^ --to-stdout > $@ + + .PHONY: clean all install Changelog + diff --git a/security/pcsc-tools/patches/patch-aa b/security/pcsc-tools/patches/patch-aa deleted file mode 100644 index f33b38abd64..00000000000 --- a/security/pcsc-tools/patches/patch-aa +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-aa,v 1.5 2012/12/15 00:53:26 pettai Exp $ - -honor PKGMANDIR - ---- Makefile.orig 2012-06-16 10:33:32.000000000 +0000 -+++ Makefile -@@ -18,7 +18,7 @@ LDLIBS := $(PCSC_LDLIBS) - - BIN = pcsc_scan - BIN_SCRIPT = ATR_analysis gscriptor scriptor --MAN = pcsc_scan.1.gz gscriptor.1p.gz scriptor.1p.gz ATR_analysis.1p.gz -+MAN = pcsc_scan.1 gscriptor.1p scriptor.1p ATR_analysis.1p - - all: $(BIN) $(MAN) - -@@ -33,17 +33,17 @@ install: all - install -d $(DESTDIR)/share/pcsc - install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc - -- install -d $(DESTDIR)/share/man/man1/ -- install -m 644 $(MAN) $(DESTDIR)/share/man/man1/ -+ install -d $(DESTDIR)/$(PKGMANDIR)/man1/ -+ install -m 644 $(MAN) $(DESTDIR)/$(PKGMANDIR)/man1/ - - clean: - rm -f pcsc_scan.o $(BIN) $(MAN) - --%.1.gz: %.1 -- gzip --best $^ --to-stdout > $@ -- --%.1p.gz: %.1p -- gzip --best $^ --to-stdout > $@ -+#%.1.gz: %.1 -+# gzip --best $^ --to-stdout > $@ -+# -+#%.1p.gz: %.1p -+# gzip --best $^ --to-stdout > $@ - - .PHONY: clean all install - -- cgit v1.2.3