Subject: pkg/6884: www/zope zope-install.py buglet
To: None <gnats-bugs@gnats.netbsd.org>
From: Jarkko Torppa <torppa@tuhnu.cutery.fi>
List: netbsd-bugs
Date: 01/27/1999 03:32:39
>Number: 6884
>Category: pkg
>Synopsis: www/zope zope-install.py buglet
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 26 17:35:00 1999
>Last-Modified:
>Originator: Jarkko Torppa
>Organization:
Yes
>Release: 1.3I
>Environment:
System: NetBSD tuhnu.cutery.fi 1.3I NetBSD 1.3I (TUHNU) #1: Sun Jan 3 08:16:18 EET 1999 torppa@tuhnu.cute.fi:/foo/console/NetBSD/usr/src/sys/arch/i386/compile/TUHNU i386
>Description:
zope-install.py in www/zope/files/ does not match it's own usage summary.
Also usage is incorrect -d mentioned twice
>How-To-Repeat:
try to use -c option in it, and also observe usage message
>Fix:
Patch included
--- files/zope-install.py.orig Wed Jan 27 03:24:33 1999
+++ files/zope-install.py Wed Jan 27 03:25:12 1999
@@ -50,7 +50,7 @@
print '\t-u\tusername to run as, default to Apache\'s user'
print '\t-g\tgroupname to run as, default to Apache\'s group'
print '\t-d\tdirectory for instance, defaults to %s/instancename' % zopedata
- print '\t-d\tdirectory for CGIs, defaults to %s' % cgidir
+ print '\t-c\tdirectory for CGIs, defaults to %s' % cgidir
sys.exit(1)
@@ -110,7 +110,7 @@
f.close()
if __name__ == "__main__":
- optlist, args = getopt.getopt(sys.argv[1:], 'np:u:g:d:')
+ optlist, args = getopt.getopt(sys.argv[1:], 'np:u:g:d:c:')
if len(args) != 1:
usage()
>Audit-Trail:
>Unformatted: