ports/69854: Bug fix devel/cvsweb
Marco Trentini
mark at remotelab.org
Sat Jul 31 20:30:21 UTC 2004
>Number: 69854
>Category: ports
>Synopsis: Bug fix devel/cvsweb
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 31 20:30:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Marco Trentini
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD 194-185-53-242.f5.ngi.it 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Jul 20 22:50:24 CEST 2004 mark at 194-185-53-242.f5.ngi.it:/usr/obj/usr/src/sys/SERVER i386
>Description:
Surfing in the my cvs repository by devel/cvsweb I've noted
when I download something I get this error from httpd:
.....
Error: Unexpected output from cvs co: /usr/bin/cvs: invalid
option -- l Usage: cvs [cvs-options] command
[command-options-and-arguments] where cvs-options are -q, -n,
etc.
[...]
I realize "cvs co" doesn't accept the -l option.
root at remotelab # cvs -v
Concurrent Versions System (CVS) '1.11.17'-FreeBSD (client/server)
>How-To-Repeat:
Install devel/cvsweb port and use it.
>Fix:
--- cvsweb.conf.dist.diff begins here ---
--- cvsweb.conf.dist.old Sat Jul 31 22:03:34 2004
+++ cvsweb.conf.dist Sat Jul 31 22:03:45 2004
@@ -495,7 +495,7 @@
# For cvs versions prior to 1.11, the '-l' option doesn't work; If you want
# working checkouts with an older cvs version, you'll have to make sure that
# the cvsweb user can read and write to CVSROOT/history.
- at cvs_options = qw(-lf);
+ at cvs_options = qw(-f);
push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
push @cvs_options, '-u' if ($uname eq 'NetBSD');
--- cvsweb.conf.dist.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list