Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 11:33:27 +0800 (IRKT)
From:      "Ivanchenko V. I." <webmaster@asiamusic.ru>
To:        freebsd-ports-bugs@FreeBSD.org
Cc:        edwin@FreeBSD.org
Subject:   Fixes for security/cyrus-sasl/files/pwcheck.sh script
Message-ID:  <200303270333.h2R3XRM80581@atlant.asiamusic.ru>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Ivanchenko V. I.
>Confidential:	no
>Synopsis:	Fixes for security/cyrus-sasl/files/pwcheck.sh script
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		maintainer-update
>Release:	FreeBSD 4.7-RELEASE-p9 i386
>Environment:	System: FreeBSD topaz.dhs.net.ru 4.7-RELEASE-p9 FreeBSD 4.7-RELEASE-p9 #0: Mon Mar 24 14:23:00 IRKT 2003 root@topaz.dhs.net.ru:/usr/obj/usr/src/sys/K20020714 i386
>Description:	Fix pwcheck.sh script.
>Fix:
--- pwcheck.sh.diff begins here ---
--- pwcheck.sh.bak	Fri Mar  7 11:04:19 2003
+++ pwcheck.sh	Fri Mar  7 11:05:08 2003
@@ -61,8 +61,8 @@
 		fi
 	fi
 
-	if [ -f ${prefix}/etc/rc.conf.d/cyrus_pwcheck" ]; then
-		. ${prefix}/etc/rc.conf.d/cyrus_pwcheck}"
+	if [ -f "${prefix}/etc/rc.conf.d/cyrus_pwcheck" ]; then
+		. ${prefix}/etc/rc.conf.d/cyrus_pwcheck
 	fi
 
 	if [ -z "${cyrus_pwcheck_enable}" ] ; then
@@ -77,7 +77,7 @@
 
 	case "${cyrus_pwcheck_enable}" in
 	    [Yy][Ee][Ss])
-		case "${action}" in
+		case "$1" in
 
 		    start)
 			if [ -x ${cyrus_pwcheck_program} ] ; then
--- pwcheck.sh.diff ends here ---



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303270333.h2R3XRM80581>