Date: Mon, 19 May 2008 21:22:46 +0200 (CEST) From: Daniel Roethlisberger <daniel@roe.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: daniel@roe.ch Subject: ports/123822: [patch] [trivial] devel/pcsc-lite: Fix bogus warning in rc script Message-ID: <200805191922.m4JJMkbM069559@marvin.ustcor.roe.ch> Resent-Message-ID: <200805191930.m4JJU39N058645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805191922.m4JJMkbM069559>