aboutsummaryrefslogtreecommitdiffstats
path: root/security/opensc
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2018-10-08 16:30:57 +0800
committerale <ale@FreeBSD.org>2018-10-08 16:30:57 +0800
commit6925d9004d56a9f2d5109f1397be7247e1c9c5e0 (patch)
tree408de089e4e004cd0bac6b92988adb3ff9d0da75 /security/opensc
parent04b2e21115298ba8a1ad7df63b6317e0364bbc93 (diff)
downloadfreebsd-ports-gnome-6925d9004d56a9f2d5109f1397be7247e1c9c5e0.tar.gz
freebsd-ports-gnome-6925d9004d56a9f2d5109f1397be7247e1c9c5e0.tar.zst
freebsd-ports-gnome-6925d9004d56a9f2d5109f1397be7247e1c9c5e0.zip
Update to 0.19.0 release.
Diffstat (limited to 'security/opensc')
-rw-r--r--security/opensc/Makefile4
-rw-r--r--security/opensc/distinfo10
-rw-r--r--security/opensc/files/patch-etc_Makefile.in16
-rw-r--r--security/opensc/files/patch-src_libopensc_reader-tr03119.c4
-rw-r--r--security/opensc/pkg-message4
-rw-r--r--security/opensc/pkg-plist5
6 files changed, 22 insertions, 21 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index 1883d9e0f907..c0551827f9ac 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opensc
-PORTVERSION= 0.18.0
+PORTVERSION= 0.19.0
CATEGORIES= security devel
MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/${PORTVERSION}/
@@ -33,6 +33,7 @@ INSTALL_TARGET= install-strip
CONFIGURE_ENV= \
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
+CONFIGURE_ARGS= --with-completiondir=${PREFIX}/etc/bash_completion.d
PORTDOCS= *
@@ -48,6 +49,7 @@ CTAPI_CONFIGURE_ENABLE= ctapi
SM_CONFIGURE_ENABLE= sm
+NOTIFY_USES= gnome
NOTIFY_USE= GNOME=glib20
NOTIFY_CONFIGURE_ENABLE= notify
diff --git a/security/opensc/distinfo b/security/opensc/distinfo
index 0a21d9a096df..4c28c6e4a67b 100644
--- a/security/opensc/distinfo
+++ b/security/opensc/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1530000626
-SHA256 (opensc-0.18.0.tar.gz) = 9bc0ff030dd1c10f646d54415eae1bb2b1c72dda710378343f027e17cd8c3757
-SIZE (opensc-0.18.0.tar.gz) = 2037073
-SHA256 (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 50cbf9fcb75755407bf4bca01d143e85f3f8df1888ac7c9557a48935d6332573
-SIZE (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 15954
-SHA256 (def06389bfeec4eabfb88801c388ae30a6f7b693.patch) = e9e413d9d11d65531d114354c40961e8420efd18704eb5dfa0c38d776df77573
-SIZE (def06389bfeec4eabfb88801c388ae30a6f7b693.patch) = 3577
+TIMESTAMP = 1538984930
+SHA256 (opensc-0.19.0.tar.gz) = 2c5a0e4df9027635290b9c0f3addbbf0d651db5ddb0ab789cb0e978f02fd5826
+SIZE (opensc-0.19.0.tar.gz) = 2080320
diff --git a/security/opensc/files/patch-etc_Makefile.in b/security/opensc/files/patch-etc_Makefile.in
index 99c3b4821d85..1d9680e55d8b 100644
--- a/security/opensc/files/patch-etc_Makefile.in
+++ b/security/opensc/files/patch-etc_Makefile.in
@@ -1,15 +1,17 @@
---- etc/Makefile.in.orig 2017-07-19 07:30:34 UTC
+--- etc/Makefile.in.orig 2018-09-13 11:56:07 UTC
+++ etc/Makefile.in
-@@ -548,11 +548,7 @@ opensc.conf: opensc.conf.in force
+@@ -558,13 +558,7 @@ opensc.conf.example: opensc.conf.example
- install-exec-hook: opensc.conf
+ install-exec-hook: opensc.conf.example
$(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
- if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
-- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
+- $(INSTALL_DATA) $(srcdir)/opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
- else \
-- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
+- $(INSTALL_DATA) $(srcdir)/opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
- fi
-+ $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.sample"
+- $(MKDIR_P) "$(DESTDIR)$(docdir)"
+- $(INSTALL_DATA) opensc.conf.example "$(DESTDIR)$(docdir)/opensc.conf";
++ $(INSTALL_DATA) opensc.conf.example "$(DESTDIR)$(sysconfdir)/opensc.conf.sample";
- uninstall-hook: opensc.conf
+ uninstall-hook: opensc.conf.example
rm -f "$(DESTDIR)$(sysconfdir)/opensc.conf.new" "$(DESTDIR)$(sysconfdir)/opensc.conf"
diff --git a/security/opensc/files/patch-src_libopensc_reader-tr03119.c b/security/opensc/files/patch-src_libopensc_reader-tr03119.c
index 4491a3e4718b..8914a6c0f36c 100644
--- a/security/opensc/files/patch-src_libopensc_reader-tr03119.c
+++ b/security/opensc/files/patch-src_libopensc_reader-tr03119.c
@@ -1,4 +1,4 @@
---- src/libopensc/reader-tr03119.c.orig 2017-10-26 14:16:19 UTC
+--- src/libopensc/reader-tr03119.c.orig 2018-09-13 11:52:42 UTC
+++ src/libopensc/reader-tr03119.c
@@ -40,7 +40,7 @@
#ifndef _BSD_SOURCE
@@ -8,4 +8,4 @@
+#include <sys/endian.h>
#endif
- static const u8 escape_cla = 0xff;
+ int get_pace_capabilities(u8 *bitmap)
diff --git a/security/opensc/pkg-message b/security/opensc/pkg-message
deleted file mode 100644
index cb54276772ca..000000000000
--- a/security/opensc/pkg-message
+++ /dev/null
@@ -1,4 +0,0 @@
-********************************************************
-Before using OpenSC, you should create the configuration
-file, by copying the installed sample.
-********************************************************
diff --git a/security/opensc/pkg-plist b/security/opensc/pkg-plist
index edc2db5af019..5add7f6c2e8c 100644
--- a/security/opensc/pkg-plist
+++ b/security/opensc/pkg-plist
@@ -22,12 +22,16 @@ bin/westcos-tool
etc/bash_completion.d/cardos-tool
etc/bash_completion.d/cryptoflex-tool
etc/bash_completion.d/dnie-tool
+etc/bash_completion.d/egk-tool
etc/bash_completion.d/eidenv
etc/bash_completion.d/gids-tool
etc/bash_completion.d/iasecc-tool
etc/bash_completion.d/netkey-tool
+etc/bash_completion.d/npa-tool
+etc/bash_completion.d/opensc-asn1
etc/bash_completion.d/openpgp-tool
etc/bash_completion.d/opensc-explorer
+etc/bash_completion.d/opensc-notify
etc/bash_completion.d/opensc-tool
etc/bash_completion.d/piv-tool
etc/bash_completion.d/pkcs11-tool
@@ -104,4 +108,5 @@ share/applications/org.opensc.notify.desktop
%%MANPAGES%%man/man1/pkcs15-tool.1.gz
%%MANPAGES%%man/man1/sc-hsm-tool.1.gz
%%MANPAGES%%man/man1/westcos-tool.1.gz
+%%MANPAGES%%man/man5/opensc.conf.5.gz
%%MANPAGES%%man/man5/pkcs15-profile.5.gz