aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2022-12-11 03:16:11 +0000
committerXin LI <delphij@FreeBSD.org>2022-12-11 03:16:11 +0000
commitc3af3c2c178846307153b25f2b0a4f9eef80603c (patch)
treedb88cab94928605a1a22e6df06b7d1ccd9a623c7
parent574f16e9ab68972cfae438a1b2e7448d1f34ff46 (diff)
downloadports-c3af3c2c178846307153b25f2b0a4f9eef80603c.tar.gz
ports-c3af3c2c178846307153b25f2b0a4f9eef80603c.zip
devel/pcsc-lite: update to 1.9.9.
-rw-r--r--devel/pcsc-lite/Makefile2
-rw-r--r--devel/pcsc-lite/distinfo6
-rw-r--r--devel/pcsc-lite/files/patch-src_spy_install__spy.sh20
-rw-r--r--devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh11
-rw-r--r--devel/pcsc-lite/pkg-plist2
5 files changed, 37 insertions, 4 deletions
diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile
index 380eebfcf678..bf014b8f821f 100644
--- a/devel/pcsc-lite/Makefile
+++ b/devel/pcsc-lite/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pcsc-lite
-PORTVERSION= 1.9.5
+PORTVERSION= 1.9.9
PORTEPOCH= 2
CATEGORIES= devel security
MASTER_SITES= https://pcsclite.apdu.fr/files/
diff --git a/devel/pcsc-lite/distinfo b/devel/pcsc-lite/distinfo
index bc5588114bb4..7e10abcb4055 100644
--- a/devel/pcsc-lite/distinfo
+++ b/devel/pcsc-lite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652415928
-SHA256 (pcsc-lite-1.9.5.tar.bz2) = 9ee3f9b333537562177893559ad4f7b8d5c23ebe828eef53056c02db14049d08
-SIZE (pcsc-lite-1.9.5.tar.bz2) = 775736
+TIMESTAMP = 1670727707
+SHA256 (pcsc-lite-1.9.9.tar.bz2) = cbcc3b34c61f53291cecc0d831423c94d437b188eb2b97b7febc08de1c914e8a
+SIZE (pcsc-lite-1.9.9.tar.bz2) = 789914
diff --git a/devel/pcsc-lite/files/patch-src_spy_install__spy.sh b/devel/pcsc-lite/files/patch-src_spy_install__spy.sh
new file mode 100644
index 000000000000..acfc10ad71a0
--- /dev/null
+++ b/devel/pcsc-lite/files/patch-src_spy_install__spy.sh
@@ -0,0 +1,20 @@
+--- src/spy/install_spy.sh.orig 2020-08-05 11:01:32 UTC
++++ src/spy/install_spy.sh
+@@ -5,7 +5,7 @@ set -e
+
+ # ldconfig --print-cache will return something like
+ # libpcsclite.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
+-DIR=$(ldconfig --print-cache | grep libpcsclite.so.1)
++DIR=$(ldconfig -r | grep libpcsclite.so.1)
+
+ # get the right part only: /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
+ DIR=$(echo $DIR | cut -d'=' -f2 | cut -d' ' -f2)
+@@ -14,7 +14,7 @@ DIR=$(dirname $DIR)
+ DIR=$(dirname $DIR)
+
+ # find the spying library
+-SPY=$(ldconfig --print-cache | grep libpcscspy.so)
++SPY=$(ldconfig -r | grep libpcscspy.so)
+ SPY=$(echo $SPY | cut -d'=' -f2 | cut -d' ' -f2)
+
+ echo "Using directory:" $DIR
diff --git a/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh b/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh
new file mode 100644
index 000000000000..bfdb94466e46
--- /dev/null
+++ b/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh
@@ -0,0 +1,11 @@
+--- src/spy/uninstall_spy.sh.orig 2020-08-05 11:01:32 UTC
++++ src/spy/uninstall_spy.sh
+@@ -5,7 +5,7 @@ set -e
+
+ # ldconfig --print-cache will return something like
+ # libpcsclite.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
+-DIR=$(ldconfig --print-cache | grep libpcsclite.so.1)
++DIR=$(ldconfig -r | grep libpcsclite.so.1)
+
+ # get the right part only: /usr/lib/x86_64-linux-gnu/libpcsclite.so.1
+ DIR=$(echo $DIR | cut -d'=' -f2 | cut -d' ' -f2)
diff --git a/devel/pcsc-lite/pkg-plist b/devel/pcsc-lite/pkg-plist
index 42dd13ba58c8..1f83a96db952 100644
--- a/devel/pcsc-lite/pkg-plist
+++ b/devel/pcsc-lite/pkg-plist
@@ -14,6 +14,8 @@ lib/libpcscspy.so.0.0.0
libdata/pkgconfig/libpcsclite.pc
sbin/pcscd
%%PORTDOCS%%%%DOCSDIR%%/README.polkit
+%%PORTDOCS%%%%DOCSDIR%%/install_spy.sh
+%%PORTDOCS%%%%DOCSDIR%%/uninstall_spy.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcsc_demo.c