git: aadf19a6d7f9 - main - devel/pcsc-lite: Add support for passing flags to the rc script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 14:56:29 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aadf19a6d7f902ce9a45f42190b8b7616fccae09
commit aadf19a6d7f902ce9a45f42190b8b7616fccae09
Author: Stéphane Rochoy <stephane.rochoy@pm.me>
AuthorDate: 2026-10-10 14:48:30 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-10 14:49:21 +0000
devel/pcsc-lite: Add support for passing flags to the rc script
This might be useful to make the daemon run in the non-polkit mode.
---
devel/pcsc-lite/Makefile | 1 +
devel/pcsc-lite/files/pcscd.in | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile
index 9ffeb6714626..5d3b14b3ff3b 100644
--- a/devel/pcsc-lite/Makefile
+++ b/devel/pcsc-lite/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pcsc-lite
DISTVERSION= 2.5.2
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= devel security
MASTER_SITES= https://pcsclite.apdu.fr/files/
diff --git a/devel/pcsc-lite/files/pcscd.in b/devel/pcsc-lite/files/pcscd.in
index f4eabdadefc1..f2029cb43e9b 100644
--- a/devel/pcsc-lite/files/pcscd.in
+++ b/devel/pcsc-lite/files/pcscd.in
@@ -17,5 +17,6 @@ command="%%PREFIX%%/sbin/pcscd"
load_rc_config "$name"
: ${pcscd_enable="NO"}
+: ${pcscd_flags=""}
-run_rc_command "$1"
+run_rc_command "$1" ${pcscd_flags}