Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Jan 2002 21:11:43 +0100 (CET)
From:      dl@leo.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dl@leo.org
Subject:   gnu/33551: cvs chokes on OpenBSD repositories
Message-ID:  <20020104201143.ACDAF22E10@atleo5.leo.org>

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

>Number:         33551
>Category:       gnu
>Synopsis:       cvs chokes on OpenBSD repositories
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 12:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Lang
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
LEO
>Environment:
System: FreeBSD atleo5.leo.org 4.4-STABLE FreeBSD 4.4-STABLE #1: Thu Dec 13 17:01:50 CET 2001 root@atleo5.leo.org:/usr/obj/usr/src/sys/ATLEO5 i386

>Description:
 I use FreeBSD as a large anoncvs server, that also serves an
 OpenBSD repository. However the OpenBSD extension with their
 tag (with tag beeing an option in the option file of the
 repository) make FreeBSD's cvs (server) choke and don't allow
 access. Here is a little patch by Christian Weisgerber <naddy@mips.inka.de>
 to fix this, i.e. make FreeBSD's cvs ignore these options
 instead of aborting.

>How-To-Repeat:
 Get an OpenBSD CVS repository, set up anoncvs via :pserver:
 and try to log in
>Fix:

Index: parseinfo.c
===================================================================
RCS file: /cvs/src/contrib/cvs/src/parseinfo.c,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 parseinfo.c
--- parseinfo.c	10 Aug 2001 09:43:21 -0000	1.1.1.9
+++ parseinfo.c	13 Nov 2001 17:10:12 -0000
@@ -335,6 +335,18 @@
 		goto error_return;
 	    }
 	}
+	else if (strcmp (line, "tag") == 0)
+	{
+		/* OpenBSD extension, skip silently */
+	}
+	else if (strcmp (line, "umask") == 0)
+	{
+		/* OpenBSD extension, skip silently */
+	}
+	else if (strcmp (line, "dlimit") == 0)
+	{
+		/* OpenBSD extension, skip silently */
+	}
 	else if (strcmp (line, "PreservePermissions") == 0)
 	{
 	    if (strcmp (p, "no") == 0)
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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