From owner-freebsd-cvsweb@FreeBSD.ORG Tue Dec 7 16:02:43 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02BD816A4CE for ; Tue, 7 Dec 2004 16:02:43 +0000 (GMT) Received: from mail01.ljextra.com (mail01.amlaw.com [204.97.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5531943D45 for ; Tue, 7 Dec 2004 16:02:42 +0000 (GMT) (envelope-from mwhitman@amlaw.com) Received: from Satellite ([10.0.248.49]) by mail01.ljextra.com (8.12.10/8.12.10) with ESMTP id iB7G24iU025827; Tue, 7 Dec 2004 11:02:05 -0500 (EST) From: "Michael Whitman" To: Date: Tue, 7 Dec 2004 11:03:04 -0500 Message-ID: <000c01c4dc76$3c5fa7d0$2501a8c0@Satellite> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: 'Emmanuel Szabados' Subject: cvsweb on solaris 9 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 16:02:43 -0000 Running cvsweb Not sure what version it is but this looks pertinent # $FreeBSD: projects/cvsweb/cvsweb.cgi,v 1.259 2004/05/08 14:13:40 scop Exp $ # $Id: cvsweb.cgi,v 1.112 2001/07/24 13:03:16 hzeller Exp $ # $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ on Solaris 9 with perl 5.6.1 and I am getting this error when I download or view text (or view anything) of any file in a cvs archive Error: Checkout failure (exit status -1), output: ' -f -d /data/repository co -p -r1.3 LawCatalog/www.dev.lawcatalog.com/default.cfm' failed: Command '' not found in at /usr/local/apache/cgi-bin/cvsweb.cgi line 4370 line 4370 (I put in some debugging code originally it was line 4366) is $h = IPC::Run::start(@_) or die("return code: $?"); I have googled around and am not finding anything helpful. Suggestions? Thanks, Michael Whitman Developer, Web Services American Lawyer Media ph. 302.529.0573 From owner-freebsd-cvsweb@FreeBSD.ORG Tue Dec 7 16:10:12 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FC3416A4CE for ; Tue, 7 Dec 2004 16:10:12 +0000 (GMT) Received: from mail01.ljextra.com (mail01.amlaw.com [204.97.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A62743D68 for ; Tue, 7 Dec 2004 16:10:12 +0000 (GMT) (envelope-from mwhitman@amlaw.com) Received: from Satellite ([10.0.248.49]) by mail01.ljextra.com (8.12.10/8.12.10) with ESMTP id iB7G9ZiU027798 for ; Tue, 7 Dec 2004 11:09:36 -0500 (EST) From: "Michael Whitman" To: Date: Tue, 7 Dec 2004 11:10:35 -0500 Message-ID: <001301c4dc77$49137f50$2501a8c0@Satellite> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <000c01c4dc76$3c5fa7d0$2501a8c0@Satellite> Importance: Normal Subject: RE: cvsweb on solaris 9 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 16:10:12 -0000 Forgot Version of cvs is: Concurrent Versions System (CVS) 1.11.13 (client/server) Michael Whitman Developer, Web Services American Lawyer Media ph. 302.529.0573 -----Original Message----- From: owner-freebsd-cvsweb@freebsd.org [mailto:owner-freebsd-cvsweb@freebsd.org] On Behalf Of Michael Whitman Sent: Tuesday, December 07, 2004 11:03 AM To: freebsd-cvsweb@freebsd.org Cc: 'Emmanuel Szabados' Subject: cvsweb on solaris 9 Running cvsweb Not sure what version it is but this looks pertinent # $FreeBSD: projects/cvsweb/cvsweb.cgi,v 1.259 2004/05/08 14:13:40 scop Exp $ # $Id: cvsweb.cgi,v 1.112 2001/07/24 13:03:16 hzeller Exp $ # $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $ on Solaris 9 with perl 5.6.1 and I am getting this error when I download or view text (or view anything) of any file in a cvs archive Error: Checkout failure (exit status -1), output: ' -f -d /data/repository co -p -r1.3 LawCatalog/www.dev.lawcatalog.com/default.cfm' failed: Command '' not found in at /usr/local/apache/cgi-bin/cvsweb.cgi line 4370 line 4370 (I put in some debugging code originally it was line 4366) is $h = IPC::Run::start(@_) or die("return code: $?"); I have googled around and am not finding anything helpful. Suggestions? Thanks, Michael Whitman Developer, Web Services American Lawyer Media ph. 302.529.0573 _______________________________________________ freebsd-cvsweb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb To unsubscribe, send any mail to "freebsd-cvsweb-unsubscribe@freebsd.org" From owner-freebsd-cvsweb@FreeBSD.ORG Tue Dec 7 21:03:25 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AE2316A4CE for ; Tue, 7 Dec 2004 21:03:25 +0000 (GMT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25A7943D55 for ; Tue, 7 Dec 2004 21:03:25 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from cs78134122.pp.htv.fi (cs78134122.pp.htv.fi [62.78.134.122]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 901C7296DA6; Tue, 7 Dec 2004 23:03:23 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: Michael Whitman In-Reply-To: <000c01c4dc76$3c5fa7d0$2501a8c0@Satellite> References: <000c01c4dc76$3c5fa7d0$2501a8c0@Satellite> Content-Type: text/plain Organization: FreeBSD Date: Tue, 07 Dec 2004 23:03:23 +0200 Message-Id: <1102453403.30268.34.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit cc: freebsd-cvsweb@freebsd.org cc: 'Emmanuel Szabados' Subject: Re: cvsweb on solaris 9 X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 21:03:25 -0000 On Tue, 2004-12-07 at 11:03 -0500, Michael Whitman wrote: > Error: Checkout failure (exit status -1), output: > > ' -f -d /data/repository co -p -r1.3 > LawCatalog/www.dev.lawcatalog.com/default.cfm' failed: Command '' not > found in at /usr/local/apache/cgi-bin/cvsweb.cgi line 4370 That command lacks the actual "cvs" executable. Check your @command_path parameter and related commentary in cvsweb.conf; ie. verify that the "cvs" binary is found in one of those paths. From owner-freebsd-cvsweb@FreeBSD.ORG Wed Dec 8 07:01:40 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86DBF16A4CE for ; Wed, 8 Dec 2004 07:01:40 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 896B943D41 for ; Wed, 8 Dec 2004 07:01:39 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: (qmail 18971 invoked by uid 65534); 8 Dec 2004 07:01:38 -0000 Received: from pD9EB381B.dip0.t-ipconnect.de (EHLO leidi) (217.235.56.27) by mail.gmx.net (mp019) with SMTP; 08 Dec 2004 08:01:38 +0100 X-Authenticated: #17381962 Received: from localhost ([127.0.0.1] ident=dl) by leidi with esmtp (Exim 3.36 #1 (Debian)) id 1CbvrU-0004Pb-00 for ; Wed, 08 Dec 2004 08:03:44 +0100 From: Daniel Leidert To: freebsd-cvsweb@freebsd.org Content-Type: text/plain Organization: TU Dresden Date: Wed, 08 Dec 2004 08:03:43 +0100 Message-Id: <1102489423.16627.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Subject: hidecvsroot=1 is ignored (cvsweb 3.0.2) X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 07:01:40 -0000 Hello, I'm using cvsweb 3.0.2-2 from the Debian distribution and I obtain a bug (see also the bug-report at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281826). The setting hidecvsroot=1, which should hide the CVSROOT directory is ignored. You can directly call this directory from the address-line in the browser and it is also possible to get access, by clicking on the button "Change options" in the web-interface[1]. Then CVSROOT is also shown. I don't know, if this bug was fixed in a newer version, so I hope for your response. If you need more info, please let me know. Regards, Daniel Leidert From owner-freebsd-cvsweb@FreeBSD.ORG Wed Dec 8 08:35:37 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92C3316A4CE for ; Wed, 8 Dec 2004 08:35:37 +0000 (GMT) Received: from shodan.ibl.sk (shodan.ibl.sk [62.168.111.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EDC243D48 for ; Wed, 8 Dec 2004 08:35:37 +0000 (GMT) (envelope-from Jozef.Matula@iblsoft.com) Received: from shodan.ibl.sk (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nod32.ibl.sk (Postfix) with ESMTP id 8FEC2282BF0; Wed, 8 Dec 2004 09:35:34 +0100 (CET) Received: by shodan.ibl.sk (Postfix, from userid 111) id 3701B282C3D; Wed, 8 Dec 2004 09:35:34 +0100 (CET) Received: from jimi.ibl.sk (jimi.ibl.sk [192.168.1.35]) by shodan.ibl.sk (Postfix) with ESMTP id 0AD28282BF0; Wed, 8 Dec 2004 09:35:32 +0100 (CET) From: Jozef Matula Organization: IBL Software Engineering To: FreeBSD-CVSweb , James Bromberger Date: Wed, 8 Dec 2004 09:35:30 +0100 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412080935.30700.Jozef.Matula@iblsoft.com> X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on shodan X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 Subject: BUGREPORT: Tab to space expanding bug X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 08:35:37 -0000 Hello, We use CVSweb version 3:3.0.2-2 under Debian Linux unstable distribution. We found a bug in algorithm of expanding tabs into spaces in main CGI Perl script: - $1 was not in expansiong so, after multiple tab expansions text before tabs was discarded - expanding with less than $ts spaces was also incorrect, because $1 as (.*) was matching longest string, including any previous NOT EXPANDED tabs. I think, this patch is fixing it. --- cvsweb 2004-11-17 02:23:53.000000000 +0100 +++ /usr/lib/cgi-bin/cvsweb 2004-12-08 09:22:33.000000000 +0100 @@ -1579,7 +1579,7 @@ if (defined($ts)) { # Expand tabs - 1 while s/(.*)(\t+)/' ' x (length($2) * $ts - length($1) % $ts)/e; + 1 while s/(.*?)(\t+)/$1 . ' ' x (length($2) * $ts - length($1) % $ts)/e; } # replace and (\001 is to protect us from htmlify) Best regards, Jozef Matula -- Jozef MATULA (Jozef.Matula@iblsoft.com) IBL Software Engineering, http://www.iblsoft.com Mierova 103, 82105 Bratislava, Slovakia Tel: +421-2-43427227, fax: +421-2-43427214 From owner-freebsd-cvsweb@FreeBSD.ORG Wed Dec 8 16:18:57 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BD116A4CE for ; Wed, 8 Dec 2004 16:18:57 +0000 (GMT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id E457243D5A for ; Wed, 8 Dec 2004 16:18:56 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from cs78134122.pp.htv.fi (cs78134122.pp.htv.fi [62.78.134.122]) by smtp2.pp.htv.fi (Postfix) with ESMTP id B9A6F2970FC; Wed, 8 Dec 2004 18:18:55 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: Jozef Matula In-Reply-To: <200412080935.30700.Jozef.Matula@iblsoft.com> References: <200412080935.30700.Jozef.Matula@iblsoft.com> Content-Type: text/plain Organization: FreeBSD Date: Wed, 08 Dec 2004 18:18:55 +0200 Message-Id: <1102522735.7026.9.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit cc: James Bromberger cc: FreeBSD-CVSweb Subject: Re: BUGREPORT: Tab to space expanding bug X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 16:18:57 -0000 On Wed, 2004-12-08 at 09:35 +0100, Jozef Matula wrote: > We use CVSweb version 3:3.0.2-2 under Debian Linux unstable distribution. > > We found a bug in algorithm of expanding tabs into spaces in main CGI Perl > script: > - $1 was not in expansiong so, after multiple tab expansions text before > tabs was discarded > - expanding with less than $ts spaces was also incorrect, because $1 as (.*) > was matching longest string, including any previous NOT EXPANDED tabs. This should be fixed in FreeBSD-CVSweb 3.0.4. From owner-freebsd-cvsweb@FreeBSD.ORG Wed Dec 8 16:40:46 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF4216A4CE for ; Wed, 8 Dec 2004 16:40:46 +0000 (GMT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A388343D45 for ; Wed, 8 Dec 2004 16:40:46 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from cs78134122.pp.htv.fi (cs78134122.pp.htv.fi [62.78.134.122]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 08E1A7FC38; Wed, 8 Dec 2004 18:40:45 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: Daniel Leidert In-Reply-To: <1102489423.16627.19.camel@localhost> References: <1102489423.16627.19.camel@localhost> Content-Type: text/plain Organization: FreeBSD Date: Wed, 08 Dec 2004 18:40:44 +0200 Message-Id: <1102524044.7026.24.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit cc: freebsd-cvsweb@freebsd.org Subject: Re: hidecvsroot=1 is ignored (cvsweb 3.0.2) X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 16:40:47 -0000 On Wed, 2004-12-08 at 08:03 +0100, Daniel Leidert wrote: > The setting > hidecvsroot=1, which should hide the CVSROOT directory is ignored. You > can directly call this directory from the address-line in the browser If I understand you correctly (and I assume that it isn't really ignored, but it just doesn't do what you think it should), this is not a bug. hidecvsroot is a user setting; it can be changed in the URL to 0/1, IIRC there's no user interface for doing that, and the default value for it can be configured in cvsweb.conf. If you want to really restrict access to CVSROOT/ instead of just not generating links to it in dir views by default, see @ForbiddenFiles in cvsweb.conf. > and it is also possible to get access, by clicking on the button "Change > options" in the web-interface[1]. Then CVSROOT is also shown. That, on the other hand, is a bug still present in 3.0.4; changing (or not) values in the options form should not affect whether CVSROOT is shown or not. I'll look into it. Thanks.