head	1.10;
access;
symbols
	pkgsrc-2013Q2:1.10.0.50
	pkgsrc-2013Q2-base:1.10
	pkgsrc-2012Q4:1.10.0.48
	pkgsrc-2012Q4-base:1.10
	pkgsrc-2011Q4:1.10.0.46
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q2:1.10.0.44
	pkgsrc-2011Q2-base:1.10
	pkgsrc-2009Q4:1.10.0.42
	pkgsrc-2009Q4-base:1.10
	pkgsrc-2008Q4:1.10.0.40
	pkgsrc-2008Q4-base:1.10
	pkgsrc-2008Q3:1.10.0.38
	pkgsrc-2008Q3-base:1.10
	cube-native-xorg:1.10.0.36
	cube-native-xorg-base:1.10
	pkgsrc-2008Q2:1.10.0.34
	pkgsrc-2008Q2-base:1.10
	pkgsrc-2008Q1:1.10.0.32
	pkgsrc-2008Q1-base:1.10
	pkgsrc-2007Q4:1.10.0.30
	pkgsrc-2007Q4-base:1.10
	pkgsrc-2007Q3:1.10.0.28
	pkgsrc-2007Q3-base:1.10
	pkgsrc-2007Q2:1.10.0.26
	pkgsrc-2007Q2-base:1.10
	pkgsrc-2007Q1:1.10.0.24
	pkgsrc-2007Q1-base:1.10
	pkgsrc-2006Q4:1.10.0.22
	pkgsrc-2006Q4-base:1.10
	pkgsrc-2006Q3:1.10.0.20
	pkgsrc-2006Q3-base:1.10
	pkgsrc-2006Q2:1.10.0.18
	pkgsrc-2006Q2-base:1.10
	pkgsrc-2006Q1:1.10.0.16
	pkgsrc-2006Q1-base:1.10
	pkgsrc-2005Q4:1.10.0.14
	pkgsrc-2005Q4-base:1.10
	pkgsrc-2005Q3:1.10.0.12
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.10.0.10
	pkgsrc-2005Q2-base:1.10
	pkgsrc-2005Q1:1.10.0.8
	pkgsrc-2005Q1-base:1.10
	pkgsrc-2004Q4:1.10.0.6
	pkgsrc-2004Q4-base:1.10
	pkgsrc-2004Q3:1.10.0.4
	pkgsrc-2004Q3-base:1.10
	pkgsrc-2004Q2:1.10.0.2
	pkgsrc-2004Q2-base:1.10
	pkgsrc-2004Q1:1.7.0.6
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.7.0.4
	pkgsrc-2003Q4-base:1.7
	netbsd-1-6-1:1.7.0.2
	netbsd-1-6-1-base:1.7
	netbsd-1-6:1.5.0.4
	netbsd-1-6-RELEASE-base:1.5
	pkgviews:1.4.0.2
	pkgviews-base:1.4
	buildlink2:1.3.0.2
	buildlink2-base:1.5
	netbsd-1-5-PATCH003:1.3
	netbsd-1-5-PATCH001:1.2;
locks; strict;
comment	@# @;


1.10
date	2004.06.09.18.55.11;	author xtraeme;	state dead;
branches;
next	1.9;

1.9
date	2004.06.09.01.54.16;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.28.01.47.26;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2002.09.29.12.46.41;	author martti;	state Exp;
branches;
next	1.6;

1.6
date	2002.08.25.21.52.07;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.24.11.38.47;	author martti;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.27.03.22.25;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	2001.10.15.17.25.10;	author martti;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2001.04.24.13.25.30;	author kim;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.23.21.20.33;	author kim;	state Exp;
branches;
next	;

1.3.2.1
date	2002.08.25.21.22.25;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.10
log
@pkgsrc'ify cvsweb with the following changes:

	o Use subst.mk to patch the files (so the patches are not needed).
	o Look for cvsweb.conf in ${PKG_SYSCONFDIR} instead of using
	  a harcoded "/usr/pkg/etc/cvsweb".
@
text
@$NetBSD: patch-aa,v 1.9 2004/06/09 01:54:16 lukem Exp $

--- cvsweb.conf.orig	2004-05-05 09:40:50.000000000 +1000
+++ cvsweb.conf
@@@@ -19,7 +19,7 @@@@
 #   cvsgraph (if you enable $allow_graph)
 #   enscript (if you enable $allow_enscript)
 #
-@@command_path = qw(/bin /usr/bin /usr/local/bin);
+@@command_path = qw(/bin /usr/bin /usr/pkg/bin /usr/local/bin);
 
 # Search the above directories for each command (prefer gtar over tar).
 #
@@@@ -344,7 +344,7 @@@@ $inputTextSize = 12;
 # The traditional mime.types file, eg. the one from Apache is fine.
 # See above where this gets used.
 #
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '/usr/pkg/etc/httpd/mime.types';
 
 # Charset appended to the Content-Type HTTP header for text/* MIME types.
 # Note that the web server may default to some charset which may take effect
@


1.9
log
@* Look in /usr/pkg/etc/cvsweb before /usr/local/etc/cvsweb for
  configuration.  Noted by Bartosz Ku?ma in private mail.
* Use /usr/pkg/etc/httpd/mime.types as the default mime.types file.
* Bump PKGREVISION.
@
text
@d1 1
a1 1
$NetBSD$
@


1.8
log
@Update to CVSweb 3.0.1.

Many improvements; see the installed file /usr/pkg/share/doc/cvsweb/NEWS or
  http://www.freebsd.org/cgi/cvsweb.cgi/projects/cvsweb/NEWS?rev=1.26&content-type=text/x-cvsweb-markup
for more info.

Note: whilst (optional) support for CvsGraph 1.4.0, enscript 1.6.3
and CVSHistory 2.0 exists in this version, this package does
not specifically depend upon those products as the features that use
them are optional...
@
text
@d14 9
@


1.7
log
@Updated cvsweb to 2.0.6

* New config variable: annotate_options
* Make annotate work under mod_perl
* Output address only if it's set
* Fix annotate HTML output
* Escape file names in directory listings
* Mention cvs < 1.11 '-l' bug
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.6 2002/08/25 21:52:07 jlam Exp $
d3 5
a7 5
--- cvsweb.cgi.orig	Thu Sep 26 20:56:05 2002
+++ cvsweb.cgi	Sun Sep 29 14:36:06 2002
@@@@ -1,4 +1,4 @@@@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl -w
d9 4
a12 1
 # cvsweb - a CGI interface to CVS trees.
@


1.6
log
@Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.3.2.1 2002/08/25 21:22:25 jlam Exp $
d3 2
a4 2
--- cvsweb.cgi.orig	Tue Jul 23 15:58:32 2002
+++ cvsweb.cgi	Wed Jul 24 11:01:53 2002
a10 8
@@@@ -3631,6 +3631,7 @@@@
 }
 
 sub html_footer() {
+	return if ($address eq "");
 	print "<hr noshade>\n<address>$address</address>\n</body>\n</html>\n";
 }
 
@


1.5
log
@Updated cvsweb to 2.0.5

* Fix diffs between tags
* Fix duplicate accesskeys and id's in the "front" page
* Fix typo in JavaScript download window parameter
* Include query string in JavaScript download links in order to unbreak
  downloads from non-default CVS roots
* Don't display @@ForbiddenFiles in directory listings; also make sure their
  logs are not accessible via direct URLs
* Fix dir sort order breakage when there are rogue files in the repository
  dir and the sort order is not by file name
* Add -f; avoid reading ~/.cvsrc
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.4 2002/06/27 03:22:25 lukem Exp $
@


1.4
log
@+ Update from 1.112 to 2.0.3 (from FreeBSD's cvsweb / local-ports).
  Notable changes:
	- cross site scripting fixes
	- html & perl cleanups
	- add config vars: @@ForbiddenFiles, $allow_log_extra,
	  $allow_dir_extra, $allow_source_extra
+ Add local patches to change location of latest version of cvsweb and
  to not display the address section if $address == "".
@
text
@d1 1
a1 1
$NetBSD$
d3 2
a4 2
--- cvsweb.cgi.orig	Wed May 22 18:10:18 2002
+++ cvsweb.cgi
d11 1
a11 1
@@@@ -3606,6 +3606,7 @@@@
@


1.3
log
@Updated cvsweb to version 1.112. Changes since 1.93:

- Fixed all prototypes
- Add prototypes to work with newer perl version
- By default, thwart access to files named 'passwd' and '.cvspass'
  (configurable in cvsweb.conf). This avoids security problems with
  naive configuration
- diff "Attic" redirect bugfix
- Preset the global variable the stores the per file cvs info to avoid
  accumulating cruft under modperl
- Avoid warning about uninitialized value if displaying a particular
  branch only
- Allow for 0.X versions
- Fix the PRINTF tie method, this messed up the annotate display
- Implement gzip compressed output by using the Compress::Zlib module
- View Adobe Acrobat .pdf files embedded in the cvs markup view
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.2 2001/04/24 13:25:30 kim Exp $
d3 2
a4 2
--- cvsweb.cgi.orig	Mon Oct 15 13:45:06 2001
+++ cvsweb.cgi	Mon Oct 15 13:48:30 2001
d6 2
a7 2
-#!/usr/bin/perl -wsT
+#!/usr/bin/perl -s
d11 8
@


1.3.2.1
log
@Merge changes in the main trunk into the buildlink2 branch for those
packages that have been converted to USE_BUILDLINK2.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.5 2002/07/24 11:38:47 martti Exp $
d3 2
a4 2
--- cvsweb.cgi.orig	Tue Jul 23 15:58:32 2002
+++ cvsweb.cgi	Wed Jul 24 11:01:53 2002
d6 2
a7 2
-#!/usr/bin/perl -wT
+#!/usr/bin/perl -w
a10 8
@@@@ -3631,6 +3631,7 @@@@
 }
 
 sub html_footer() {
+	return if ($address eq "");
 	print "<hr noshade>\n<address>$address</address>\n</body>\n</html>\n";
 }
 
@


1.2
log
@Disable "-w" for perl, as this causes lots and lots of warnings about
uninitialized variables.  Since the script works, this will prevent
the web error log from filling up...
@
text
@d1 1
a1 1
$NetBSD$
d3 2
a4 2
--- cvsweb.cgi.orig	Thu Jul 27 13:42:28 2000
+++ cvsweb.cgi	Tue Apr 24 09:21:42 2001
d6 1
a6 1
-#!/usr/bin/perl -ws
a10 9
@@@@ -2051,7 +2051,7 @@@@
 	print "</SELECT>\n";
 	$diffrev = $revdisplayorder[0];
 	$diffrev = $input{"r2"} if (defined($input{"r2"}));
-	print "<INPUT TYPE=\"TEXT\" SIZE=\"$inputTextSize\" NAME=\"tr2\" VALUE=\"$diffrev\" onChange='docuement.diff_select.r2.selectedIndex=0'>\n";
+	print "<INPUT TYPE=\"TEXT\" SIZE=\"$inputTextSize\" NAME=\"tr2\" VALUE=\"$diffrev\" onChange='document.diff_select.r2.selectedIndex=0'>\n";
         print "<BR>Type of Diff should be a&nbsp;";
 	printDiffSelect();
 	print "<INPUT TYPE=SUBMIT VALUE=\"  Get Diffs  \">\n";
@


1.1
log
@Fix bug in CVS log form.
@
text
@d4 7
a10 1
+++ cvsweb.cgi	Mon Apr 23 17:15:24 2001
@

