Subject: pkg/17360: Fixed mail/courier-auth to work with new getopt
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/22/2002 16:14:45
>Number:         17360
>Category:       pkg
>Synopsis:       Fixed mail/courier-auth to work with new getopt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 22 07:14:00 PDT 2002
>Originator:     Julio Merino
>Release:        NetBSD 1.6B
System: NetBSD darkstar.local 1.6B NetBSD 1.6B (DARKSTAR) #1: Fri Jun 21 13:22:23 CEST 2002 root@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
	The rc.d startup file of the package mail/courier-auth has a problem
	with the env command. It invokes 'env -' which does not work with
	the new getopt. Even if it is reverted to old behavior, this way of
	working is deprecated, according to env(1), so I've fixed the script
	to use -i instead of -

Index: files/
RCS file: /cvsroot/pkgsrc/mail/courier-auth/files/,v
retrieving revision 1.3
diff -u -u -r1.3
---	2002/02/05 06:04:37	1.3
+++	2002/06/22 14:08:34
@@ -48,7 +48,7 @@
         stop)   echo "Stopping ${name}." ;;
-        @SETENV@ - ${daemon} ${action}
+        @SETENV@ -i ${daemon} ${action}
 if [ -f /etc/rc.subr ]