ports/123822: [patch] [trivial] devel/pcsc-lite: Fix bogus warning in rc script

Daniel Roethlisberger daniel at roe.ch
Mon May 19 19:30:04 UTC 2008


>Number:         123822
>Category:       ports
>Synopsis:       [patch] [trivial] devel/pcsc-lite: Fix bogus warning in rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 19:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD marvin.ustcor.roe.ch 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The current rc script of pcscd complains about $pcscd_enable being configured
improperly if pcscd_enable is not set in rc.conf or rc.conf.local.  Setting a
default of "NO" in the rc script fixes this bogus warning.  I cowardly leave
it up to the maintainer to decide whether such a minor fix warrants a
PORTREVISION bump or not.
>How-To-Repeat:
>Fix:
--- pcsc-lite-enable.diff begins here ---
diff -ruN pcsc-lite.orig/files/pcscd.in pcsc-lite/files/pcscd.in
--- pcsc-lite.orig/files/pcscd.in	2007-01-22 17:56:16.000000000 +0100
+++ pcsc-lite/files/pcscd.in	2008-05-19 21:04:48.000000000 +0200
@@ -17,4 +17,5 @@
 command="%%PREFIX%%/sbin/pcscd"
 
 load_rc_config "$name"
+: ${pcscd_enable="NO"}
 run_rc_command "$1"
--- pcsc-lite-enable.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list