From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jan 10 15:43:29 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 3ED3D16A41F for ; Tue, 10 Jan 2006 15:43:29 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id E80B643D45 for ; Tue, 10 Jan 2006 15:43:27 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: (qmail invoked by alias); 10 Jan 2006 15:43:26 -0000 Received: from unknown (EHLO test.wgdd.de) [195.227.105.180] by mail.gmx.net (mp034) with SMTP; 10 Jan 2006 16:43:26 +0100 X-Authenticated: #17381962 Received: from localhost ([127.0.0.1] ident=dl) by test.wgdd.de with esmtp (Exim 3.36 #1 (Debian)) id 1EwLea-0005jc-00 for ; Tue, 10 Jan 2006 16:43:20 +0100 From: Daniel Leidert To: ml_cvsweb Content-Type: text/plain Organization: TU Dresden Date: Tue, 10 Jan 2006 16:43:20 +0100 Message-Id: <1136907800.19778.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Bug in cvsweb? X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 15:43:29 -0000 Hello, Short question: The diff in cvsweb produces a different output than the 'cvs diff' command on console in the case of using self defined local keywords or the CVSHeader keyword. A sample: > cvs diff -u -r 1.5 -r 1.6 test2 > Index: test2 > =================================================================== > RCS file: /cvs/private/test/test2,v > retrieving revision 1.5 > retrieving revision 1.6 > diff -u -r1.5 -r1.6 > --- test2 10 Jan 2006 15:36:03 -0000 1.5 > +++ test2 10 Jan 2006 15:36:24 -0000 1.6 > @@ -1,4 +1,4 @@ > -$WgDD: test/test2,v 1.5 2006/01/10 15:36:03 dleidert Exp $ > +$WgDD: test/test2,v 1.6 2006/01/10 15:36:24 dleidert Exp $ > > -old 1.4 > -new 1.5 > +old 1.5 > +new 1.6 This looks ok. Now the same shown in cvsweb: http://cvs.wgdd.de/cgi-bin/cvsweb/test/test2.diff?r1=1.5;r2=1.6 > --- /var/lib/cvsd/cvs/private/test/test2 2006/01/10 15:36:03 1.5 > +++ /var/lib/cvsd/cvs/private/test/test2 2006/01/10 15:36:24 1.6 > @@ -1,4 +1,4 @@ > -$WgDD: test/test2,v 1.4 2006/01/02 21:22:17 dleidert Exp $ > +$WgDD: test/test2,v 1.5 2006/01/10 15:36:03 dleidert Exp $ > > -old 1.4 > -new 1.5 > +old 1.5 > +new 1.6 Do you see the difference in the diffs showing the changes for the local keyword? Is it a bug or "feature" in cvsweb? Or do I have to search the reason for this issue in another package? Regards, Daniel From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jan 10 15:52:23 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 49A3D16A42C for ; Tue, 10 Jan 2006 15:52:23 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 00E3843D49 for ; Tue, 10 Jan 2006 15:52:21 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: (qmail invoked by alias); 10 Jan 2006 15:52:20 -0000 Received: from unknown (EHLO test.wgdd.de) [195.227.105.180] by mail.gmx.net (mp019) with SMTP; 10 Jan 2006 16:52:20 +0100 X-Authenticated: #17381962 Received: from localhost ([127.0.0.1] ident=dl) by test.wgdd.de with esmtp (Exim 3.36 #1 (Debian)) id 1EwLnI-0005lV-00 for ; Tue, 10 Jan 2006 16:52:20 +0100 From: Daniel Leidert To: freebsd-cvsweb@freebsd.org In-Reply-To: <1136907800.19778.19.camel@localhost> References: <1136907800.19778.19.camel@localhost> Content-Type: text/plain Organization: TU Dresden Date: Tue, 10 Jan 2006 16:52:20 +0100 Message-Id: <1136908340.19778.22.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Bug in cvsweb? X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 15:52:23 -0000 Am Dienstag, den 10.01.2006, 16:43 +0100 schrieb Daniel Leidert: > Hello, > > Short question: The diff in cvsweb produces a different output than the > 'cvs diff' command on console in the case of using self defined local > keywords or the CVSHeader keyword. A sample: [..] Is it a limitation by the rcsdiff command? Regards, Daniel From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jan 10 17:04:38 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 ED9E616A41F for ; Tue, 10 Jan 2006 17:04:38 +0000 (GMT) (envelope-from jerry.nairn@microchip.com) Received: from microchip.com (f5out.Microchip.COM [198.175.253.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFE5943D48 for ; Tue, 10 Jan 2006 17:04:37 +0000 (GMT) (envelope-from jerry.nairn@microchip.com) Received: from ([172.16.250.22]) by mailgw.microchip.com with ESMTP id KP-CAW94.33296020; Tue, 10 Jan 2006 10:10:25 -0700 To: freebsd-cvsweb@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: Jerry.Nairn@microchip.com Date: Tue, 10 Jan 2006 10:04:50 -0700 X-MIMETrack: Serialize by Router on USMail1/US/Microchip(Release 5.0.11 |July 24, 2002) at 01/10/2006 10:04:17 AM, Serialize complete at 01/10/2006 10:04:17 AM Content-Type: text/plain; charset="us-ascii" Subject: Re: Bug in cvsweb? X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2006 17:04:39 -0000 You can add '-zLT' to rcsdiff_options in cvsweb.conf to get the local date/time in keyword expansion. Jerry Nairn From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jan 11 17:55:46 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 1599E16A422 for ; Wed, 11 Jan 2006 17:55:46 +0000 (GMT) (envelope-from jrousell@ptc.com) Received: from relay2.ptc.com (relay2.ptc.com [12.11.148.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35B9643D4C for ; Wed, 11 Jan 2006 17:55:39 +0000 (GMT) (envelope-from jrousell@ptc.com) Received: from hq-ex3fe2.ptcnet.ptc.com ([132.253.201.63]) by relay2.ptc.com with ESMTP; 11 Jan 2006 12:55:33 -0500 X-IronPort-AV: i="3.99,356,1131339600"; d="scan'208,217"; a="117560913:sNHT24362192" Received: from HQ-MAIL3.ptcnet.ptc.com ([132.253.202.90]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 11 Jan 2006 12:55:33 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 11 Jan 2006 12:55:32 -0500 Message-ID: <88CB0762D6EE6A4DAEA3A343AA39B2FD6BC21E@HQ-MAIL3.ptcnet.ptc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unable to get any DIffs to work Thread-Index: AcYW2DebR9Lts9RAR2e8vr3gsPR9PA== From: "Rousell, Jeff" To: X-OriginalArrivalTime: 11 Jan 2006 17:55:33.0315 (UTC) FILETIME=[37E52930:01C616D8] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Unable to get any DIffs to work X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 17:55:46 -0000 I am unable to get any diff outputs to work with a new CVSWeb installation. =20 I am NOT a newbie who is posting here without first trying to solve this myself. =20 The installation works perfectly for browsing and doing annotation outputs but not for any diffs. rcsdiff and rlog ( 5.7) is installed and has been confirmed to work fine from the command line. I am not getting not getting any 500 errors nor server error log info about the problem. =20 For the human readable diff I basically get a blank diff -- the page looks fine with all eth header and footer prettiness- but the actual "meat" of the page says:=20 " - No viewable change - " =20 If I try a unified or side-by-side I get something like below printed to the browser( no header or footer prettiness): /bin/diff: illegal option -- - usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 diff [-bitw] [-C number] file1 file2 diff [-bitw] [-D string] file1 file2 diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2 rcsdiff: /web-content/cvsroot/SCM/bin/jadd: diff failed I am able to use rcsdiff from the command line just fine. And it appears as though cvsweb.cgi has the access to run rcsdiff and knows where it is etc...=20 =20 Is there a debug flag that I cna sue so that it prints out the full diff command that it is trying to perform so thhat I could verify that fomr teh command line? =20 =20 Any advice? =20 =20 ____________________________________ Jeff Rousell Principal Web Architect PTC =20 =20 =20 From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jan 11 19:05:37 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 A3FE916A41F for ; Wed, 11 Jan 2006 19:05:37 +0000 (GMT) (envelope-from israel.becker@libertyseguros.cl) Received: from lm-gateway-01.lmig.com (lm-gateway-01.lmig.com [143.115.171.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3915443D45 for ; Wed, 11 Jan 2006 19:05:36 +0000 (GMT) (envelope-from israel.becker@libertyseguros.cl) Received: from unknown (HELO sntbdc1stexc.agf.cl) ([10.129.192.15]) by lm-gateway-01.lmig.com with ESMTP; 11 Jan 2006 14:05:35 -0500 x-lm-sbrs: [None] X-IronPort-AV: i="3.99,356,1131339600"; d="scan'208"; a="182787221:sNHT20626052" Received: by correo.libertyseguros.cl with Internet Mail Service (5.5.2657.72) id ; Wed, 11 Jan 2006 16:01:48 -0400 Message-ID: <6387F062B77CB944AEEC112C1597180FC02149@lchexcmsg01.libertyseguros.cl> From: Becker Israel To: "'freebsd-cvsweb@freebsd.org'" Date: Wed, 11 Jan 2006 16:01:44 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Error: Failed to spawn GNU rlog X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 19:05:37 -0000 hello, I also have this problem. did your solve it?=20 what is the problem?=20 thank a lot for your help.=20 atte. Israel Becker Administrador Base Datos anexo 3972831 Error: Failed to spawn GNU rlog Bernd Groh bgroh at redhat.com Tue May 20 16:07:00 PDT 2003=20 * Previous message: Error: Failed to spawn GNU rlog <000023.html> * Next message: cvsweb and binary files <000027.html> * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] =20 Rogerio, > Error: Failed to spawn GNU rlog on=20 > "/usr/local/cvs/JBlog//.classpath,v, = /usr/local/cvs/JBlog//.project,v". > > Did you set the $command_path in your configuration file correctly ?=20 > (Currently "/bin:/usr/bin:/usr/local/bin" As Ville said, this is most likely due to you not having=20 read-permissions on the files in that directory. Since it's not = entirely=20 clear as what user CVSweb is running and since you do not necessarily=20 want to give that user all permissions the group has, I suggest to=20 simply allow everyone read-permissions on any files (all directories to = be executable for everyone). This should fix it. Cheers, Bernd --=20 Disclaimer: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Este mensaje puede contener informaci=F3n privilegiada o confidencial = cuyo difusi=F3n se encuentre legalmente prohibida. Este mensaje esta = dirigido =FAnicamente a la persona destinataria. Cualquier acceso , uso , = propagaci=F3n, retransmisi=F3n o reproducci=F3n ( total o parcial) de este mensaje o = de la informaci=F3n contenida en =E9ste queda estrictamente prohibida sin = previa autorizaci=F3n. Cualquier mensaje electr=F3nico puede ser alterado y no = se puede garantizar su integridad. Liberty Seguros Chile declina cualquier responsabilidad por este mensaje en caso de alteraci=F3n o = falsificaci=F3n. Si Ud. no es el destinatario previsto, por favor b=F3rrelo de todos los computadores y contacte al emisor para informarlo del error de reparto = y de la eliminaci=F3n del mensaje. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This message may contain privilege or confidential information whose disclosure is prohibited by law. This message is intended solely for = the attention of the addressee. Any disclosure, use, dissemination, retransmission or reproduction (either whole or partial) of this = message or the information contained herein is strictly prohibited without prior consent. Any electronic message is susceptible to alteration and its integrity can not be assured. Liberty Seguros Chile declines any responsibility for this message in the event of alteration or = falsification. If you are not the intended recipient, please destroy it immediately = from any computer and notify the sender of the wrong delivery and the mail deletion. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jan 11 19:43:18 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 4688D16A420 for ; Wed, 11 Jan 2006 19:43:18 +0000 (GMT) (envelope-from mlemos@acm.org) Received: from phpclasses.org (phpclasses.org [69.55.226.116]) by mx1.FreeBSD.org (Postfix) with SMTP id AAE7F43D4C for ; Wed, 11 Jan 2006 19:43:16 +0000 (GMT) (envelope-from mlemos@acm.org) Received: (qmail 28041 invoked from network); 11 Jan 2006 19:46:03 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 11 Jan 2006 19:46:03 -0000 Message-ID: <43C55FD2.5080500@acm.org> Date: Wed, 11 Jan 2006 17:43:14 -0200 From: Manuel Lemos User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050715) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-cvsweb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 19:43:18 -0000 Hello, Is there a way to hide some directories besides CVSROOT? I could not find any options to achieve that. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jan 11 20:35:08 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 4C40C16A41F for ; Wed, 11 Jan 2006 20:35:08 +0000 (GMT) (envelope-from jerry.nairn@microchip.com) Received: from microchip.com (f5out.Microchip.COM [198.175.253.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D63E43D45 for ; Wed, 11 Jan 2006 20:35:06 +0000 (GMT) (envelope-from jerry.nairn@microchip.com) Received: from ([172.16.250.22]) by mailgw.microchip.com with ESMTP id KP-CAW94.33349901; Wed, 11 Jan 2006 13:40:55 -0700 To: freebsd-cvsweb@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: Jerry.Nairn@microchip.com Date: Wed, 11 Jan 2006 13:35:15 -0700 X-MIMETrack: Serialize by Router on USMail1/US/Microchip(Release 5.0.11 |July 24, 2002) at 01/11/2006 01:34:39 PM, Serialize complete at 01/11/2006 01:34:39 PM Content-Type: text/plain; charset="us-ascii" Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 20:35:08 -0000 > Is there a way to hide some directories besides CVSROOT? See the @ForbiddenFiles array in cvsweb.conf. Jerry Nairn Microchip Technology From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 03:32:53 2006 Return-Path: X-Original-To: freebsd-cvsweb@FreeBSD.org 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 69AA216A41F for ; Thu, 12 Jan 2006 03:32:53 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D4B643D66 for ; Thu, 12 Jan 2006 03:32:48 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 49560 invoked from network); 12 Jan 2006 03:32:47 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp105.biz.mail.re2.yahoo.com with SMTP; 12 Jan 2006 03:32:47 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id B1BBE60D4; Wed, 11 Jan 2006 22:32:46 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04616-01; Wed, 11 Jan 2006 22:32:45 -0500 (EST) Received: from [192.168.1.9] (bastion.noacks.org [192.168.1.9]) by optimator.noacks.org (Postfix) with ESMTP id 5F52D60CE; Wed, 11 Jan 2006 22:32:45 -0500 (EST) Message-ID: <43C5CDDB.2040809@alumni.rice.edu> Date: Wed, 11 Jan 2006 22:32:43 -0500 From: Jonathan Noack User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Rousell, Jeff" References: <88CB0762D6EE6A4DAEA3A343AA39B2FD6BC21E@HQ-MAIL3.ptcnet.ptc.com> In-Reply-To: <88CB0762D6EE6A4DAEA3A343AA39B2FD6BC21E@HQ-MAIL3.ptcnet.ptc.com> Content-Type: multipart/mixed; boundary="------------000408030105050702090708" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Unable to get any DIffs to work X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 03:32:53 -0000 This is a multi-part message in MIME format. --------------000408030105050702090708 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Rousell, Jeff wrote: > I am unable to get any diff outputs to work with a new CVSWeb > installation. > > I am NOT a newbie who is posting here without first trying to solve > this myself. > > The installation works perfectly for browsing and doing annotation > outputs but not for any diffs. > rcsdiff and rlog ( 5.7) is installed and has been confirmed to work > fine from the command line. > I am not getting not getting any 500 errors nor server error log info > about the problem. > > For the human readable diff I basically get a blank diff -- the page > looks fine with all eth header and footer prettiness- but the actual > "meat" of the page says: > " - No viewable change - " > > If I try a unified or side-by-side I get something like below printed to > the browser( no header or footer prettiness): > /bin/diff: illegal option -- - > usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 > diff [-bitw] [-C number] file1 file2 > diff [-bitw] [-D string] file1 file2 > diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] > directory1 directory2 > rcsdiff: /web-content/cvsroot/SCM/bin/jadd: diff failed > I am able to use rcsdiff from the command line just fine. And it > appears as though cvsweb.cgi has the access to run rcsdiff and knows > where it is etc... > > Is there a debug flag that I cna sue so that it prints out the full diff > command that it is trying to perform so thhat I could verify that fomr > teh command line? Which OS? Which version of CVSweb? Can you post of a diff between cvsweb.conf.dist and your cvsweb.conf? Uncommenting '$DEBUG = 1;' in cvsweb.conf will cause STDERR to be sent to your web server error log instead of /dev/null. However, for the rcsdiff command STDERR is sent to STDOUT by default so you are already seeing any errors in your web browser. Attached is a patch for CVSweb 3.0.6 which will print out the rcsdiff command used. It should print out at the top of the diff output. One final note: When testing from the command-line be sure to run the command as the web server user (i.e., 'sudo -u www rcsdiff ...'). -Jonathan --------------000408030105050702090708 Content-Type: text/plain; name="print_command.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="print_command.patch" --- cvsweb.cgi.old Wed Jan 11 22:12:42 2006 +++ cvsweb.cgi Wed Jan 11 22:16:09 2006 @@ -2336,6 +2336,8 @@ if (!open($fh, "-|")) { # child open(STDERR, ">&STDOUT"); # Redirect stderr to stdout openOutputFilter(); + print(join(' ', $CMD{rcsdiff}, @rcsdiff_options, @difftype, "-r$rev1", + "-r$rev2", $fullname, "\n")); exec($CMD{rcsdiff}, @rcsdiff_options, @difftype, "-r$rev1", "-r$rev2", $fullname) or exit -1; } --------------000408030105050702090708-- From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 03:36:36 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 AEF1F16A41F for ; Thu, 12 Jan 2006 03:36:36 +0000 (GMT) (envelope-from mlemos@acm.org) Received: from phpclasses.org (phpclasses.org [69.55.226.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 60E3F43D62 for ; Thu, 12 Jan 2006 03:36:30 +0000 (GMT) (envelope-from mlemos@acm.org) Received: (qmail 2237 invoked from network); 12 Jan 2006 03:39:18 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 12 Jan 2006 03:39:18 -0000 Message-ID: <43C5CEBC.6070908@acm.org> Date: Thu, 12 Jan 2006 01:36:28 -0200 From: Manuel Lemos User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050715) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerry.Nairn@microchip.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 03:36:36 -0000 Hello, on 01/11/2006 06:35 PM Jerry.Nairn@microchip.com said the following: >> Is there a way to hide some directories besides CVSROOT? > > See the @ForbiddenFiles array in cvsweb.conf. Thanks, that is what I am looking for. BTW, I am not familiar enough with Perl. Although I was able to configure that array to forbid all directories that I did not want, I wonder if is there a way to specify in that array just a few top level directories that I want. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 04:33:38 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 2A70E16A41F for ; Thu, 12 Jan 2006 04:33:38 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp104.biz.mail.re2.yahoo.com (smtp104.biz.mail.re2.yahoo.com [206.190.52.173]) by mx1.FreeBSD.org (Postfix) with SMTP id 8234A43D45 for ; Thu, 12 Jan 2006 04:33:37 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 79934 invoked from network); 12 Jan 2006 04:33:36 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp104.biz.mail.re2.yahoo.com with SMTP; 12 Jan 2006 04:33:36 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 05A5A60D4; Wed, 11 Jan 2006 23:33:36 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05045-01; Wed, 11 Jan 2006 23:33:34 -0500 (EST) Received: from [192.168.1.9] (bastion.noacks.org [192.168.1.9]) by optimator.noacks.org (Postfix) with ESMTP id A560060CE; Wed, 11 Jan 2006 23:33:34 -0500 (EST) Message-ID: <43C5DC1C.9040209@alumni.rice.edu> Date: Wed, 11 Jan 2006 23:33:32 -0500 From: Jonathan Noack User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Manuel Lemos References: <43C5CEBC.6070908@acm.org> In-Reply-To: <43C5CEBC.6070908@acm.org> Content-Type: multipart/mixed; boundary="------------040608050106060802090807" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 04:33:38 -0000 This is a multi-part message in MIME format. --------------040608050106060802090807 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Manuel Lemos wrote: > on 01/11/2006 06:35 PM Jerry.Nairn@microchip.com said the following: > >> Is there a way to hide some directories besides CVSROOT? > > > > See the @ForbiddenFiles array in cvsweb.conf. > > Thanks, that is what I am looking for. > > BTW, I am not familiar enough with Perl. Although I was able to > configure that array to forbid all directories that I did not want, I > wonder if is there a way to specify in that array just a few top level > directories that I want. How about an @AllowedFiles list that only displays files and directories that match? See attached patches for cvsweb.cgi and cvsweb.conf. -Jonathan --------------040608050106060802090807 Content-Type: text/plain; name="cvsweb.cgi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cvsweb.cgi.diff" --- cvsweb.cgi.old Wed Jan 11 22:12:42 2006 +++ cvsweb.cgi Wed Jan 11 23:15:30 2006 @@ -82,7 +82,7 @@ $allow_log_extra $allow_dir_extra $allow_source_extra $allow_cvsgraph $cvsgraph_config $use_java_script $edit_option_form $show_subdir_lastmod $show_log_in_markup $preformat_in_markup - $tabstop $state $annTable $sel @ForbiddenFiles + $tabstop $state $annTable $sel @ForbiddenFiles @AllowedFiles $use_descriptions %descriptions @mytz $dwhere $use_moddate $gzip_open $file_list_len $allow_tar @tar_options @gzip_options @zip_options @cvs_options @@ -4339,7 +4339,10 @@ # -# See if a file/dir is listed in the config file's @ForbiddenFiles list. +# If a file/dir is listed in the config file's @ForbiddenFiles list, +# forbid access to it. If the @AllowedFiles list is defined in the config +# file then a file/dir must be listed for access to be granted. +# @ForbiddenFiles takes precedence over @AllowedFiles. # Takes a full file system path or one relative to $cvsroot, and strips the # trailing ",v" if present, then compares. Returns 1 if forbidden, else 0. # @@ -4349,6 +4352,12 @@ $path =~ s|^$cvsroot/+||; for my $forbidden_re (@ForbiddenFiles) { return 1 if ($path =~ $forbidden_re); + } + if (($cvsroot ne $path) && (defined(@AllowedFiles))) { + for my $allowed_re (@AllowedFiles) { + return 0 if ($path =~ $allowed_re); + } + return 1; } return 0; } --------------040608050106060802090807 Content-Type: text/plain; name="cvsweb.conf.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cvsweb.conf.diff" --- cvsweb.conf.dist Thu Dec 1 23:10:10 2005 +++ cvsweb.conf Wed Jan 11 23:24:16 2006 @@ -266,6 +266,17 @@ #qr|^my/+secret/+dir|o, ); +# Regular expressions for files and directories which should be shown. +# Each regexp is compared against a path relative to a CVS root, after +# stripping the trailing ",v" if present. Only matching files and +# directories are displayed. +# @ForbiddenFiles takes precedence over @AllowedFiles. +# If @AllowedFiles is not defined, only @ForbiddenFiles is enforced. +# +#@AllowedFiles = ( + #qr|^my/+public/+dir|o, +#); + # Use CVSROOT/descriptions for describing the directories/modules? # See INSTALL, section 9. # --------------040608050106060802090807-- From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 18:07:51 2006 Return-Path: X-Original-To: freebsd-cvsweb@FreeBSD.org 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 B397716A41F for ; Thu, 12 Jan 2006 18:07:51 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by mx1.FreeBSD.org (Postfix) with SMTP id 4322E43D45 for ; Thu, 12 Jan 2006 18:07:49 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 60581 invoked from network); 12 Jan 2006 18:07:49 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp101.biz.mail.re2.yahoo.com with SMTP; 12 Jan 2006 18:07:49 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 10AE56143; Thu, 12 Jan 2006 13:07:49 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13284-16-2; Thu, 12 Jan 2006 13:07:47 -0500 (EST) Received: from [127.0.0.1] (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 8661060CE; Thu, 12 Jan 2006 13:07:47 -0500 (EST) Message-ID: <43C69AEF.1070202@alumni.rice.edu> Date: Thu, 12 Jan 2006 13:07:43 -0500 From: Jonathan Noack User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Rousell, Jeff" References: <88CB0762D6EE6A4DAEA3A343AA39B2FD6BC21E@HQ-MAIL3.ptcnet.ptc.com> <43C5CDDB.2040809@alumni.rice.edu> In-Reply-To: <43C5CDDB.2040809@alumni.rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Unable to get any DIffs to work X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 18:07:51 -0000 Jonathan Noack wrote: > Rousell, Jeff wrote: >> I am unable to get any diff outputs to work with a new CVSWeb >> installation. >> >> I am NOT a newbie who is posting here without first trying to solve >> this myself. >> >> The installation works perfectly for browsing and doing annotation >> outputs but not for any diffs. >> rcsdiff and rlog ( 5.7) is installed and has been confirmed to work >> fine from the command line. >> I am not getting not getting any 500 errors nor server error log info >> about the problem. >> >> For the human readable diff I basically get a blank diff -- the page >> looks fine with all eth header and footer prettiness- but the actual >> "meat" of the page says: " - No viewable change - " >> >> If I try a unified or side-by-side I get something like below printed to >> the browser( no header or footer prettiness): >> /bin/diff: illegal option -- - >> usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 >> diff [-bitw] [-C number] file1 file2 >> diff [-bitw] [-D string] file1 file2 >> diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] >> directory1 directory2 >> rcsdiff: /web-content/cvsroot/SCM/bin/jadd: diff failed >> I am able to use rcsdiff from the command line just fine. And it >> appears as though cvsweb.cgi has the access to run rcsdiff and knows >> where it is etc... >> Is there a debug flag that I cna sue so that it prints out the full diff >> command that it is trying to perform so thhat I could verify that fomr >> teh command line? > > Which OS? Which version of CVSweb? Can you post of a diff between > cvsweb.conf.dist and your cvsweb.conf? > > Uncommenting '$DEBUG = 1;' in cvsweb.conf will cause STDERR to be sent > to your web server error log instead of /dev/null. However, for the > rcsdiff command STDERR is sent to STDOUT by default so you are already > seeing any errors in your web browser. > > Attached is a patch for CVSweb 3.0.6 which will print out the rcsdiff > command used. It should print out at the top of the diff output. > > One final note: > When testing from the command-line be sure to run the command as the web > server user (i.e., 'sudo -u www rcsdiff ...'). Jeff sent me a message off-list that said he found that the problem was with an older Solaris version of diff (rcsdiff runs diff to perform the actual comparison). Everything worked fine once he started using the GNU diffutils. Jeff, What version of Solaris are you running? Ville, Should we make a recommendation/requirement to use the GNU diffutils? -Jonathan From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 20:25:15 2006 Return-Path: X-Original-To: freebsd-cvsweb@FreeBSD.org 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 64EC716A420 for ; Thu, 12 Jan 2006 20:25:15 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C72CF43D48 for ; Thu, 12 Jan 2006 20:25:14 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from [192.168.2.4] (cs181056070.pp.htv.fi [82.181.56.70]) by smtp2.pp.htv.fi (Postfix) with ESMTP id C1A02296BA8 for ; Thu, 12 Jan 2006 22:25:13 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <43C69AEF.1070202@alumni.rice.edu> References: <88CB0762D6EE6A4DAEA3A343AA39B2FD6BC21E@HQ-MAIL3.ptcnet.ptc.com> <43C5CDDB.2040809@alumni.rice.edu> <43C69AEF.1070202@alumni.rice.edu> Content-Type: text/plain Organization: FreeBSD Date: Thu, 12 Jan 2006 22:25:13 +0200 Message-Id: <1137097513.19680.41.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Cc: Subject: Re: Unable to get any DIffs to work X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 20:25:15 -0000 On Thu, 2006-01-12 at 13:07 -0500, Jonathan Noack wrote: > Ville, > Should we make a recommendation/requirement to use the GNU diffutils? I thought this was documented somewhere, but apparently it isn't. I also think that GNU diff is not _really_ a hard dependency, but some diff types just won't work with for example the Solaris native ones (it doesn't even seem to have -u!), so things will need some configuration, eg. disabling some diff types in cvsweb.conf. So yes, I think it would be a good idea to document this somehow. I'm not sure exactly how, though... but at least "use GNU diff" involves building the rcs utils so that they'll use the GNU stuff, diff is not invoked directly by cvsweb. BTW, I have access to a Solaris 8 box where I can do limited testing; no chance to install cvsweb there though. From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 20:30:10 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 B49E216A41F; Thu, 12 Jan 2006 20:30:10 +0000 (GMT) (envelope-from jrousell@ptc.com) Received: from relay2.ptc.com (relay2.ptc.com [12.11.148.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B3C43D45; Thu, 12 Jan 2006 20:30:10 +0000 (GMT) (envelope-from jrousell@ptc.com) Received: from hq-ex3fe2.ptcnet.ptc.com ([132.253.201.63]) by relay2.ptc.com with ESMTP; 12 Jan 2006 15:30:08 -0500 X-IronPort-AV: i="3.99,360,1131339600"; d="scan'208"; a="117747523:sNHT24694388" Received: from HQ-MAIL3.ptcnet.ptc.com ([132.253.202.90]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Jan 2006 15:30:07 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Jan 2006 15:30:06 -0500 Message-ID: <88CB0762D6EE6A4DAEA3A343AA39B2FD016A73A5@HQ-MAIL3.ptcnet.ptc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unable to get any DIffs to work Thread-Index: AcYXoxwOHYGN6q2YRuOezSZz2zVZbgAE64hA From: "Rousell, Jeff" To: X-OriginalArrivalTime: 12 Jan 2006 20:30:07.0324 (UTC) FILETIME=[FA0C61C0:01C617B6] Cc: freebsd-cvsweb@FreeBSD.org Subject: RE: Unable to get any DIffs to work X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 20:30:10 -0000 Solaris 8. Adding GNU diffutils is an easy enough thing, but learning that you need to wasn't all that simple, I can imagine a quick mention of that in the INSTALL doc might help some. Thanks again for your time! Jeff -----Original Message----- From: Jonathan Noack [mailto:noackjr@alumni.rice.edu]=20 Sent: Thursday, January 12, 2006 1:08 PM To: Rousell, Jeff Cc: freebsd-cvsweb@FreeBSD.org; scop@freebsd.org Subject: Re: Unable to get any DIffs to work Jonathan Noack wrote: > Rousell, Jeff wrote: >> I am unable to get any diff outputs to work with a new CVSWeb=20 >> installation. >> =20 >> I am NOT a newbie who is posting here without first trying to solve=20 >> this myself. >> =20 >> The installation works perfectly for browsing and doing annotation=20 >> outputs but not for any diffs. rcsdiff and rlog ( 5.7) is installed=20 >> and has been confirmed to work fine from the command line. >> I am not getting not getting any 500 errors nor server error log info >> about the problem. >> =20 >> For the human readable diff I basically get a blank diff -- the page=20 >> looks fine with all eth header and footer prettiness- but the actual=20 >> "meat" of the page says: " - No viewable change - " >> =20 >> If I try a unified or side-by-side I get something like below printed >> to the browser( no header or footer prettiness): >> /bin/diff: illegal option -- - >> usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 >> diff [-bitw] [-C number] file1 file2 >> diff [-bitw] [-D string] file1 file2 >> diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] >> directory1 directory2 >> rcsdiff: /web-content/cvsroot/SCM/bin/jadd: diff failed >> I am able to use rcsdiff from the command line just fine. And it=20 >> appears as though cvsweb.cgi has the access to run rcsdiff and=20 >> knows where it is etc... >> Is there a debug flag that I cna sue so that it prints out the full diff >> command that it is trying to perform so thhat I could verify that fomr >> teh command line? >=20 > Which OS? Which version of CVSweb? Can you post of a diff between > cvsweb.conf.dist and your cvsweb.conf? >=20 > Uncommenting '$DEBUG =3D 1;' in cvsweb.conf will cause STDERR to be = sent > to your web server error log instead of /dev/null. However, for the=20 > rcsdiff command STDERR is sent to STDOUT by default so you are already > seeing any errors in your web browser. >=20 > Attached is a patch for CVSweb 3.0.6 which will print out the rcsdiff > command used. It should print out at the top of the diff output. >=20 > One final note: > When testing from the command-line be sure to run the command as the=20 > web > server user (i.e., 'sudo -u www rcsdiff ...'). Jeff sent me a message off-list that said he found that the problem was=20 with an older Solaris version of diff (rcsdiff runs diff to perform the=20 actual comparison). Everything worked fine once he started using the=20 GNU diffutils. Jeff, What version of Solaris are you running? Ville, Should we make a recommendation/requirement to use the GNU diffutils? -Jonathan From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 20:35:44 2006 Return-Path: X-Original-To: freebsd-cvsweb@FreeBSD.org 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 47A0916A41F for ; Thu, 12 Jan 2006 20:35:44 +0000 (GMT) (envelope-from bezgin_gleb@yahoo.com) Received: from web36314.mail.mud.yahoo.com (web36314.mail.mud.yahoo.com [209.191.84.244]) by mx1.FreeBSD.org (Postfix) with SMTP id C1D5843D64 for ; Thu, 12 Jan 2006 20:35:32 +0000 (GMT) (envelope-from bezgin_gleb@yahoo.com) Received: (qmail 72193 invoked by uid 60001); 12 Jan 2006 20:35:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cY1BlY3a/IXudktLknMJvxIpfPwwaH6OdSVK1lV0juqgx4PBWlRf9L94O59Z07RtYzWO7nzvCBlfcAobkBYEQKA1qC6vdx5L9iQgUhO6EtYEiE1cQhm1n0rsus/adluRBHEv1+RIJlPgHxH9us0+A170isyzRr+Z/4YUjCUpbxs= ; Message-ID: <20060112203531.72191.qmail@web36314.mail.mud.yahoo.com> Received: from [134.99.144.10] by web36314.mail.mud.yahoo.com via HTTP; Thu, 12 Jan 2006 12:35:31 PST Date: Thu, 12 Jan 2006 12:35:31 -0800 (PST) From: Gleb Bezgin To: freebsd-cvsweb@FreeBSD.org In-Reply-To: MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 12 Jan 2006 20:57:12 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: From Paxinos3d User X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 20:35:44 -0000 Dear Sir or Madam, I'm Gleb Bezgin, I have a practice at Prof. Kötter's laboratory (University of Düsseldorf, Germany). In order to download the source code for Paxinos3d project I received access to NeuroGEMS repository and followed the link http://cvs.inf.ed.ac.uk/cgi-bin/cvsweb.cgi/?cvsroot=neuroGEMS#dirlist where had trouble with downloading the necessary modules (nbbuild, java3d_handler, morphml_handler and paxinos3d) - the following error occurs: > Error > Error: Export failure (exit status 1), output: > > cvs export: failed to create lock directory for > `/disk/cvs/neuroGEMS/nbbuild/main' > (/disk/cvs/neuroGEMS/nbbuild/main/#cvs.lock): Permission denied > cvs export: failed to obtain dir lock in repository > `/disk/cvs/neuroGEMS/nbbuild/main' > cvs [export aborted]: read lock failed - giving up > > FreeBSD-CVSweb Could you please let me know what should I do? Sincerely Yours, Gleb Bezgin --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jan 12 21:26:31 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 A180416A41F for ; Thu, 12 Jan 2006 21:26:31 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344EE43D72 for ; Thu, 12 Jan 2006 21:26:31 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from [192.168.2.4] (cs181056070.pp.htv.fi [82.181.56.70]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 33CF3296C36; Thu, 12 Jan 2006 23:26:29 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: noackjr@alumni.rice.edu In-Reply-To: <43C5DC1C.9040209@alumni.rice.edu> References: <43C5CEBC.6070908@acm.org> <43C5DC1C.9040209@alumni.rice.edu> Content-Type: text/plain Organization: FreeBSD Date: Thu, 12 Jan 2006 23:26:29 +0200 Message-Id: <1137101189.19680.54.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 21:26:31 -0000 On Wed, 2006-01-11 at 23:33 -0500, Jonathan Noack wrote: > > BTW, I am not familiar enough with Perl. Although I was able to > > configure that array to forbid all directories that I did not want, I > > wonder if is there a way to specify in that array just a few top level > > directories that I want. > > How about an @AllowedFiles list that only displays files and directories > that match? See attached patches for cvsweb.cgi and cvsweb.conf. No strong opinions nor objections if this is really needed, but couldn't some extended patterns be used for that, and some commented out examples of those be added to cvsweb.conf? Maybe negative look-behind (see "man perlre")? It could get somewhat hairy though. From owner-freebsd-cvsweb@FreeBSD.ORG Fri Jan 13 00:59:32 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 BC82916A420 for ; Fri, 13 Jan 2006 00:59:32 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp107.biz.mail.re2.yahoo.com (smtp107.biz.mail.re2.yahoo.com [206.190.52.176]) by mx1.FreeBSD.org (Postfix) with SMTP id BFB7743D45 for ; Fri, 13 Jan 2006 00:59:29 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 51981 invoked from network); 13 Jan 2006 00:59:25 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp107.biz.mail.re2.yahoo.com with SMTP; 13 Jan 2006 00:59:24 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 388D56145; Thu, 12 Jan 2006 19:59:24 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15929-08-2; Thu, 12 Jan 2006 19:59:23 -0500 (EST) Received: from [127.0.0.1] (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id DAC8E60CE; Thu, 12 Jan 2006 19:59:22 -0500 (EST) Message-ID: <43C6FB6A.70905@alumni.rice.edu> Date: Thu, 12 Jan 2006 19:59:22 -0500 From: Jonathan Noack User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ville_Skytt=E4?= References: <43C5CEBC.6070908@acm.org> <43C5DC1C.9040209@alumni.rice.edu> <1137101189.19680.54.camel@bobcat.mine.nu> In-Reply-To: <1137101189.19680.54.camel@bobcat.mine.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 00:59:32 -0000 Ville Skyttä wrote: > On Wed, 2006-01-11 at 23:33 -0500, Jonathan Noack wrote: >>> BTW, I am not familiar enough with Perl. Although I was able to >>> configure that array to forbid all directories that I did not want, I >>> wonder if is there a way to specify in that array just a few top level >>> directories that I want. >> How about an @AllowedFiles list that only displays files and directories >> that match? See attached patches for cvsweb.cgi and cvsweb.conf. > > No strong opinions nor objections if this is really needed, but couldn't > some extended patterns be used for that, and some commented out examples > of those be added to cvsweb.conf? Maybe negative look-behind (see "man > perlre")? It could get somewhat hairy though. It probably could be done with some extended patterns but few of our users would understand them (I certainly wouldn't!). Having @AllowedFiles means that we can give our users 2 options: 1) Allow all with @ForbiddenFiles override (This is the default). 2) Forbid all with @AllowedFiles override (which in turn is overridden by @ForbiddenFiles). This is quite powerful AND easy to configure. Consider a repository with this directory structure: $ pwd /usr/home/cvsroot $ find . -type d ./CVSROOT ./dir1 ./dir2 ./dir3 ./dir3/sub1 ./dir3/sub2 ./dir3/sub3 ./dir4 ... ./dir9 If I only wanted to allow dir3 and dir4 but forbid dir3/sub2, the configuration is simple: @ForbiddenFiles = ( qr|^dir3/sub2|o, ); @AllowedFiles = ( qr|^dir[34]/|o, ); This is much easier than the way it would be done currently (and what if we added more directories that needed to be forbidden?): @ForbiddenFiles = ( qr|^CVSROOT|o, qr|^dir1|o, qr|^dir2|o, qr|^dir3/sub2|o, qr|^dir5|o, qr|^dir6|o, qr|^dir7|o, qr|^dir8|o, qr|^dir9|o, ); As we don't want to allow more than we intend, we must be more careful with @AllowedFiles then with @ForbiddenFiles. Here are some best practices for @AllowedFiles: 1) Patterns should begin with '^' to match the beginning of the relative path in the repository and should contain as much path information as possible. For example: Use 'qr|^dir/sub/|o' instead of 'qr|sub|o'. The latter could erroneously match 'yellow_submarine.mp3' or 'folder/sub'. 2) Patterns for specific directories should have a trailing slash. For example: Use 'qr|^dir/|o' instead of 'qr|^dir|o'. The latter could erroneously match 'dir.txt' or 'dirty'. 3) Patterns for specific files should end with '$' to match the end of filename. For example: Use 'qr|^dir/file.txt$|o' instead of 'qr|^dir/file.txt|o'. The latter could erroneously match dir/file.txt.old or dir/file.txt/real_file.txt. Why did I write that much?!? Off to dinner, -Jonathan From owner-freebsd-cvsweb@FreeBSD.ORG Fri Jan 13 07:33:47 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 496CD16A420 for ; Fri, 13 Jan 2006 07:33:47 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A844D43D45 for ; Fri, 13 Jan 2006 07:33:46 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from [192.168.2.4] (cs181056070.pp.htv.fi [82.181.56.70]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 4C98B7FC35; Fri, 13 Jan 2006 09:33:45 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: noackjr@alumni.rice.edu In-Reply-To: <43C6FB6A.70905@alumni.rice.edu> References: <43C5CEBC.6070908@acm.org> <43C5DC1C.9040209@alumni.rice.edu> <1137101189.19680.54.camel@bobcat.mine.nu> <43C6FB6A.70905@alumni.rice.edu> Content-Type: text/plain; charset=utf-8 Organization: FreeBSD Date: Fri, 13 Jan 2006 09:33:44 +0200 Message-Id: <1137137624.19680.91.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 8bit Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 07:33:47 -0000 On Thu, 2006-01-12 at 19:59 -0500, Jonathan Noack wrote: > Ville Skyttä wrote: > > > > No strong opinions nor objections if this is really needed, but couldn't > > some extended patterns be used for that, and some commented out examples > > of those be added to cvsweb.conf? Maybe negative look-behind (see "man > > perlre")? It could get somewhat hairy though. > > It probably could be done with some extended patterns but few of our > users would understand them (I certainly wouldn't!). Having > @AllowedFiles means that we can give our users 2 options: > 1) Allow all with @ForbiddenFiles override (This is the default). > 2) Forbid all with @AllowedFiles override (which in turn is overridden > by @ForbiddenFiles). > > This is quite powerful AND easy to configure. Okay, fair enough. > As we don't want to allow more than we intend, we must be more careful > with @AllowedFiles then with @ForbiddenFiles. Here are some best > practices for @AllowedFiles: This information would be an useful addition somewhere. Maybe it's a bit too much for a comment in cvsweb.conf though. INSTALL? > 3) Patterns for specific files should end with '$' to match the end of > filename. For example: Use 'qr|^dir/file.txt$|o' instead of > 'qr|^dir/file.txt|o'. The latter could erroneously match > dir/file.txt.old or dir/file.txt/real_file.txt. "." should be replaced by "\." in the example regexps above. > Why did I write that much?!? :) Some comments about the patch: +# file then a file/dir must be listed for access to be granted. s/listed for/listed in it for/ + if (($cvsroot ne $path) && (defined(@AllowedFiles))) { Why the first test? Also, using defined() on an array is deprecated (see perldoc -f defined). I think this line could be reduced to "if (@AllowedFiles) {". +# If @AllowedFiles is not defined, only @ForbiddenFiles is enforced. s/is not defined/is empty/ +#@AllowedFiles = ( + #qr|^my/+public/+dir|o, +#); The first and third lines don't need to be commented out. Could you post a revised patch along with a ChangeLog entry? Also, all configuration changes should be documented in the INSTALL file's "Upgrade instructions" section. From owner-freebsd-cvsweb@FreeBSD.ORG Sat Jan 14 14:17:50 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 30E3916A424 for ; Sat, 14 Jan 2006 14:17:50 +0000 (GMT) (envelope-from bmr333@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D54743D45 for ; Sat, 14 Jan 2006 14:17:49 +0000 (GMT) (envelope-from bmr333@gmail.com) Received: by uproxy.gmail.com with SMTP id j3so119731ugf for ; Sat, 14 Jan 2006 06:17:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Wppje4ld9oMOaUJeuuhp11atnfI4C2Po+nwQyvopBBqYLjMlkMSw2h7mViGw2jaV5wwt++JL2X/x4uLcB7WQl309Feugs9nJSnuhbh4aFDTE8syLrkV3Inb40UbYcKHFhBla6D9YtaJ1dgHzidmgJguJDz7APQgMmJmWp5Mn6gM= Received: by 10.49.91.4 with SMTP id t4mr127131nfl; Sat, 14 Jan 2006 06:17:48 -0800 (PST) Received: by 10.48.204.20 with HTTP; Sat, 14 Jan 2006 06:17:48 -0800 (PST) Message-ID: Date: Sat, 14 Jan 2006 23:17:48 +0900 From: munkhbayar batkhuu To: freebsd-cvsweb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: authentication with cvsweb X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 14:17:50 -0000 hi all. Im so new to this list. If i am asking already answered question, please point me. My cvsweb is working great. But I want to add some authentication mechanism like digest when some one opens the cvs.xxx.xxx/cgi-bin/cvsweb.cgi bmr. From owner-freebsd-cvsweb@FreeBSD.ORG Sat Jan 14 15:19:19 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 CCDFA16A41F for ; Sat, 14 Jan 2006 15:19:19 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [213.243.153.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF4B643D62 for ; Sat, 14 Jan 2006 15:19:14 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from [192.168.2.4] (cs181056070.pp.htv.fi [82.181.56.70]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 285F07FC6D for ; Sat, 14 Jan 2006 17:19:12 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: FreeBSD-CVSweb In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Sat, 14 Jan 2006 17:19:11 +0200 Message-Id: <1137251951.11457.84.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Subject: Re: authentication with cvsweb X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 15:19:19 -0000 On Sat, 2006-01-14 at 23:17 +0900, munkhbayar batkhuu wrote: > But I want to add some authentication mechanism like digest when some > one opens the > cvs.xxx.xxx/cgi-bin/cvsweb.cgi Use your web server's features for that. For example Apache 2.2: http://httpd.apache.org/docs/2.2/howto/auth.html From owner-freebsd-cvsweb@FreeBSD.ORG Sat Jan 14 15:44:44 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 962EF16A422 for ; Sat, 14 Jan 2006 15:44:44 +0000 (GMT) (envelope-from bmr333@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF4243D46 for ; Sat, 14 Jan 2006 15:44:41 +0000 (GMT) (envelope-from bmr333@gmail.com) Received: by uproxy.gmail.com with SMTP id j3so137746ugf for ; Sat, 14 Jan 2006 07:44:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TII0wyfGX+RQbwwFrP3bkA/5PZHw7ZwsUIG4d2ZJ0+MAYDIca0hlM952dZuWsMI366FNbuYrMVh+cOml8ylXy4ixBkyerbZuxZfFwVeO/bhFXN6vGZEU98o2H1NlTnlyPvTgBTognvjn49y1U8zc66IHnGmZeDpgtSiT5/hvG/k= Received: by 10.48.248.9 with SMTP id v9mr132653nfh; Sat, 14 Jan 2006 07:44:37 -0800 (PST) Received: by 10.48.204.20 with HTTP; Sat, 14 Jan 2006 07:44:37 -0800 (PST) Message-ID: Date: Sun, 15 Jan 2006 00:44:37 +0900 From: munkhbayar batkhuu To: =?ISO-8859-1?Q?Ville_Skytt=E4?= In-Reply-To: <1137251951.11457.84.camel@bobcat.mine.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1137251951.11457.84.camel@bobcat.mine.nu> Cc: FreeBSD-CVSweb Subject: Re: authentication with cvsweb X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 15:44:44 -0000 Thank you Ville. Successfully implemented. Auth Digest on Apache22. bmr. On 1/15/06, Ville Skytt=E4 wrote: > On Sat, 2006-01-14 at 23:17 +0900, munkhbayar batkhuu wrote: > > > But I want to add some authentication mechanism like digest when some > > one opens the > > cvs.xxx.xxx/cgi-bin/cvsweb.cgi > > Use your web server's features for that. For example Apache 2.2: > http://httpd.apache.org/docs/2.2/howto/auth.html > > > _______________________________________________ > 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 Sat Jan 14 15:52:03 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 58C5216A41F for ; Sat, 14 Jan 2006 15:52:03 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id BB7A543D49 for ; Sat, 14 Jan 2006 15:52:01 +0000 (GMT) (envelope-from daniel.leidert.spam@gmx.net) Received: (qmail invoked by alias); 14 Jan 2006 15:51:58 -0000 Received: from unknown (EHLO test.wgdd.de) [195.227.105.180] by mail.gmx.net (mp028) with SMTP; 14 Jan 2006 16:51:58 +0100 X-Authenticated: #17381962 Received: from localhost ([127.0.0.1] ident=dl) by test.wgdd.de with esmtp (Exim 3.36 #1 (Debian)) id 1Exnh7-0002Zl-00 for ; Sat, 14 Jan 2006 16:51:57 +0100 From: Daniel Leidert To: freebsd-cvsweb@freebsd.org In-Reply-To: References: Content-Type: text/plain Organization: TU Dresden Date: Sat, 14 Jan 2006 16:51:57 +0100 Message-Id: <1137253917.6140.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Bug in cvsweb? X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 15:52:03 -0000 Am Dienstag, den 10.01.2006, 10:04 -0700 schrieb Jerry.Nairn@microchip.com: > You can add '-zLT' to rcsdiff_options in cvsweb.conf to get the local > date/time in keyword expansion. That does not solve my "problem". Only the diffs do not correctly expand local keywords and the $CVSHeader$ keyword. Everything else is handled correctly. I tried several rcsdiff options to see, if it solves the problem, but it doesn't work. I guess, it is really a limitation by rcsdiff. Regards, Daniel From owner-freebsd-cvsweb@FreeBSD.ORG Sat Jan 14 23:52:41 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org 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 E0B4C16A41F for ; Sat, 14 Jan 2006 23:52:41 +0000 (GMT) (envelope-from mlemos@acm.org) Received: from phpclasses.org (phpclasses.org [69.55.226.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 8440643D46 for ; Sat, 14 Jan 2006 23:52:41 +0000 (GMT) (envelope-from mlemos@acm.org) Received: (qmail 31773 invoked from network); 14 Jan 2006 23:55:39 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 14 Jan 2006 23:55:39 -0000 Message-ID: <43C988BF.4000509@acm.org> Date: Sat, 14 Jan 2006 21:26:55 -0200 From: Manuel Lemos User-Agent: Thunderbird 1.5 (X11/20060111) MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <43C5CEBC.6070908@acm.org> <43C5DC1C.9040209@alumni.rice.edu> In-Reply-To: <43C5DC1C.9040209@alumni.rice.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-cvsweb@freebsd.org Subject: Re: Hiding some directories X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 23:52:42 -0000 Hello, on 01/12/2006 02:33 AM Jonathan Noack said the following: >> >> Is there a way to hide some directories besides CVSROOT? >> > >> > See the @ForbiddenFiles array in cvsweb.conf. >> >> Thanks, that is what I am looking for. >> >> BTW, I am not familiar enough with Perl. Although I was able to >> configure that array to forbid all directories that I did not want, I >> wonder if is there a way to specify in that array just a few top level >> directories that I want. > > How about an @AllowedFiles list that only displays files and directories > that match? See attached patches for cvsweb.cgi and cvsweb.conf. Great it works as intended. I had to use an entry like qr|^x(/\|$)|o so directory x and its contents are accepted but not xy directory . It is a bit cryptic but it works. Thank you again. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/