Commit graph

559 commits

Author SHA1 Message Date
Wolfram Schneider
03423fca73 Increase the value of maximum PR number from 99999 to 499999.
(the current PR number is around 41300 ;-)
2002-08-05 19:05:29 +00:00
Wolfram Schneider
1a242d0d95 Sleep 0.35 seconds to avoid DoS attacks from broken robots. 2002-08-04 22:24:29 +00:00
Ville Skyttä
b7fa6e497b Merge from FreeBSD-CVSweb 2.0.5. 2002-07-23 16:27:04 +00:00
Wolfram Schneider
b33774ccc7 added NetBSD 1.5.3 manual pages 2002-07-22 09:44:59 +00:00
Ville Skyttä
ed69f4a36b Added new mirror (cvsweb.sm.freebsd.org).
Reordered mirrors alphabetically.
Replaced ', ' with '/' in USA mirror for cleaner output.

PR:             38448
Submitted by:   Alex Dupre <sysadmin@alexdupre.com>
Approved by:    knu (mentor)
2002-07-18 20:01:11 +00:00
Akinori MUSHA
7a8fd215b9 Merge from FreeBSD-CVSweb 2.0.4.
Refer to the project page for details.
2002-07-07 04:46:06 +00:00
Bill Fenner
6bb491d5de Don't allow download, annotate, or diff of CVSROOT/badcommitters.
Log messages are still visible.
2002-07-01 16:22:34 +00:00
Wolfram Schneider
e3d7f7c998 4.5-STABLE -> 4.6-STABLE
add 4.6-RELEASE
remove old FreeBSD releases
2002-06-23 15:54:57 +00:00
Wolfram Schneider
0b06d8cfbf nuke FreeBSD 4.5-stable (replaced by 4.6-stable)
add freebsd-stable alias
2002-06-23 15:19:15 +00:00
Wolfram Schneider
aa56cd41fb > I found the man.cgi was garbled in my IE Browser with default encoding in
> Chinese. and I checked the source of man.cgi output, I think maybe add one
> line:
> <HTML>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>
> will avoid these type of browser auto charset detection error.

submitted by: "Che Dong" <chedong@yeah.net>
2002-06-23 15:15:18 +00:00
Wolfram Schneider
19e2b98eba added OpenBSD 3.1 manpages 2002-06-07 14:14:10 +00:00
Wolfram Schneider
7538ab8363 FreeBSD 4.6-RELEASE is the default release 2002-06-07 14:03:02 +00:00
Wolfram Schneider
867a6b025e Added FreeBSD 4.6-stable and FreeBSD 4.6-RELEASE 2002-06-03 08:31:03 +00:00
Akinori MUSHA
367a12aae4 Remove a debug cruft that was accidentally committed. 2002-05-22 08:33:27 +00:00
Akinori MUSHA
ba1109f417 Merge from FreeBSD-cvsweb 2.0.3.
2002-05-22  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Read configuration files with `do' instead of
	`require' to unbreak mod_perl support.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Cosmetic fixes.  Use and/or rather than &&/|| to
	connect sentences.

	* cvsweb.cgi: Exit with -1 if exec() fails.

	* cvsweb.cgi: Do not print a redundant `Diff' for rev.1.1.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Prevent cross-site scripting.
	[Submitted by: Motoyuki Konno <motoyuki@bsdclub.org> (modified)]

	* cvsweb.cgi: Skip a possible `locked by' clause and extract a
	revision number out of a log entry properly.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Apply some HTML cleanups and use CSS instead of
	ancient HTML 3/4 tags and attributes.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Pass `use' features to import to make it more memory
	efficient.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Add new configuration variables: $allow_log_extra,
	$allow_dir_extra, and $allow_source_extra.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.2.

	* cvsweb.cgi: Previous fixes against cross-site scripting
	vulnerabilities were insufficient and buggy (error messages were
	messed up).  Revamp fatal() to HTML-quote automatically and fix
	error message output.

	* cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.3.

2002-05-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: There are no spaces at EOL in modern rlog output.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

2002-05-08  Motoyuki Konno <motoyuki@FreeBSD.org>

	* cvsweb.cgi: Fix a cross-site scripting vulnerablity.

2002-05-07  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf-netbsd, cvsweb.conf-openbsd: NetBSD and OpenBSD
	don't use $CVSHeader$ but $Id$.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Work around a bug of cvs -p; expand symlinks in a
	cvsroot.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Fix parsing in 'tags' state.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]
2002-05-22 08:31:06 +00:00
Dima Dorfman
0ea6a64950 Be a good web email interface and include the originator's IP address
in the headers.  Although this information can be gleaned from the web
server logs, it should not be necessary to have access to the web
server in order to know who sent in a PR.
2002-05-20 07:14:41 +00:00
Wolfram Schneider
7db050baa8 make links to include file optional. The default is of:
$enable_include_links = 0;
2002-05-13 19:44:09 +00:00
Wolfram Schneider
ca986aa36a test if /usr/include/<file> really exist before open the file 2002-05-13 19:41:01 +00:00
Wolfram Schneider
984966d974 block cross-site scripting attacks (css)
submitted via bugtraq
2002-05-13 07:40:24 +00:00
Wolfram Schneider
0d920b0934 fix link to http://www.freebsd.org/search/ 2002-05-10 19:28:38 +00:00
Motoyuki Konno
b7cf1bf61d Fix cross-site scripting vulnerablity.
This problem was reported at www.jp.FreeBSD.org, which uses the
(almost) same CGI script as www.FreeBSD.org.
2002-05-08 05:42:25 +00:00
Wolfram Schneider
90c02f11cf Add freebsd-doc mailing list for reporting broken links.
Add a search interface.
2002-05-04 18:48:05 +00:00
Wolfram Schneider
4585c04b42 remove trailing spaces for dumb users 2002-05-04 15:58:29 +00:00
Wolfram Schneider
9f6887dea7 use /usr/bin/man as man command 2002-05-04 15:56:24 +00:00
Wolfram Schneider
5d19b3c712 Adjust cvsroot. 2002-05-02 14:21:40 +00:00
Jun Kuriyama
8480081292 Escape sort parameter from request when output HTML. 2002-04-23 17:15:40 +00:00
Jun Kuriyama
bdcf881fcc Escape input from query. 2002-04-22 05:08:41 +00:00
Alexey Zelkin
3823ccc9aa * 4.4-STABLE -> 4.5-STABLE
* Point ftp directory associated to -STABLE to $ftproot/packages-4-stable,
instead of $ftproot/packages-4.?-stable. When this file will be forgoten to be
updated next time it will not cause big problems.

* Remove 3.5-STABLE and 3.5-RELEASE from list of releases in search criteria
since ftp.FreeBSD.org no longer carry packages for this branch

* Add 4.3-RELEASE's INDEX time specification. Now request for 4.3-RELEASE
will return 4.3-RELEASE, not default.

* Also switch default release in search criteria to -STABLE to avoid
confusion of people who usually expect more recent information on
ports available for FreeBSD. Since -RELEASE criteria means using pors/INDEX
associated with exact release people never will see for new things until
manually change -RELEASE to -STABLE.
2002-04-18 18:04:27 +00:00
Jun Kuriyama
f25a592f67 Fix typo in previous commit. 2002-04-17 08:15:39 +00:00
Jun Kuriyama
74fc306920 Temporally bandaid to avoid using %ENV variables literally.
TODO:
  o Clean-up CGI files from scratch. :-)
2002-04-17 05:03:38 +00:00
Bill Fenner
b896f3625f Re-add missing ; 2002-04-11 01:55:34 +00:00
Akinori MUSHA
078fd33429 Update to FreeBSD-cvsweb 2.0.1.
2002-04-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi, cvsweb.conf: Perform an HTML cleanup.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Call this version FreeBSD-cvsweb 2.0.1.

2002-02-06  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Use TMPDIR instead of the hardcoded /tmp.

	* cvsweb.cgi: Never pass 'MAIN' to cvs(1).  'HEAD' is the valid
	tag.
2002-04-10 20:26:27 +00:00
Akinori MUSHA
c54344a6cc Resolve conflicts and remove unuseful CVS tags in comment. 2002-04-10 20:13:19 +00:00
Ceri Davies
855a4223aa - Stop asking people to enter their postal address when we do nothing with it
- Offer to subscribe people to -announce and -security-notifications instead

Approved by:	murray
PR:		docs/35563
2002-04-01 13:39:05 +00:00
Bill Fenner
4418b34dc8 Updated states in header.
Use query-pr --list-foo to get states and classes.
Add headers to &state=summary display.
2002-03-22 15:38:24 +00:00
Peter Wemm
2c9aa1786f Add p4 archives to the allowed-list 2002-03-19 00:53:52 +00:00
Wolfram Schneider
1e7f9c29da the russian cvsweb mirror is located in Ukraine (not Russia!)
Submitted by: "Womchik alexeyeff" <wom@wom.ru>
2002-03-09 20:55:39 +00:00
Wolfram Schneider
1c920853cd Added OSF1 V4.0/alpha and OSF1 V5.1/alpha. Also known als Compaq True64 Unix. 2002-02-26 11:27:26 +00:00
Wolfram Schneider
78a84cd195 Added FreeBSD 4.5 Release.
Make FreeBSD 4.5 the default release until FreeBSD-4.5-stable
packages are available.
2002-02-12 10:48:04 +00:00
Wolfram Schneider
ba68edafc5 FreeBSD 4.5-RELEASE is now the default release 2002-02-09 22:58:17 +00:00
Wolfram Schneider
08998ecc47 Added FreeBSD 4.5-RELEASE
Removed FreeBSD 4.4-stable
2002-02-09 22:55:35 +00:00
Wolfram Schneider
5cd78277fe Aded alias FreeBSD 4.5-RELEASE, pointing to FreeBSD-4.4-stable. 2002-01-21 22:32:19 +00:00
Wolfram Schneider
3c20ab8478 Added FreeBSD 4.5-stable alias (pointing to 4.4-stable) 2002-01-21 18:34:16 +00:00
Wolfram Schneider
425624928e Added XFree86-4.2.0 2002-01-21 18:11:44 +00:00
Alexey Zelkin
b115a243fc Correct preview mode -- close </a> before printing description.
PR:	docs/33641
2002-01-08 13:29:12 +00:00
Wolfram Schneider
8ece919dce alias freebsd point to FreeBSD 4.4-RELEASE 2001-12-30 17:01:54 +00:00
Wolfram Schneider
bc7ef30df0 Added SuSE Linux/i386 7.3 2001-12-30 14:13:52 +00:00
Wolfram Schneider
f121e49efc added Red Hat Linux/i386 7.2 2001-12-30 14:13:07 +00:00
Wolfram Schneider
a3f2cd79bc Added NetBSD 1.5.1 and NetBSD 1.5.2 2001-12-30 11:01:57 +00:00
Wolfram Schneider
a25e4bebe5 Added OpenBSD 3.0 2001-12-30 10:48:38 +00:00
Wolfram Schneider
5c529faba2 catagory -> category
PR: misc/32749
submitted by: Steven Huwig <sjh13@po.cwru.edu>
2001-12-12 15:25:46 +00:00
Wolfram Schneider
4934536b76 Print better warnings to users if the port does not
exists. Print the HTTP_REFERER if available.
2001-12-11 21:37:30 +00:00
Akinori MUSHA
2dd49a11c2 Merge from FreeBSD-cvsweb 2.0.0.
* cvsweb.conf-freebsd: Allow downloading a tarball of a project
  directory as well as a port directory.

* cvsweb.cgi, cvsweb.conf: Introduce optional output filter.
  [Requested by: Shigeyuki Fukushima <shige@FreeBSD.org>]

* cvsweb.cgi: Fix a bug where it produces wrong download links when
  cvsweb.cgi is placed right under the document root.
  [Reported by: Arnaud on EFnet]
2001-11-07 21:25:16 +00:00
Bill Fenner
da9bc4fbe9 Add the ability to query based on GNATS "Release:". There's a new
pull-down box that defaults to "All", but has options for
 "Pre-5.x", "4.x", "5.x", "3.x" and "2.x".

Give query-pr.cgi the full PR path.  This will allow a future
 query-pr.cgi to skip looking through the whole GNATS index to
 display a PR.
2001-11-07 19:38:16 +00:00
Maxim Sobolev
6327a9c186 http://www.FreeBSD.org/cgi/cvsweb.cgi/ --> http://cvsweb.FreeBSD.org/ 2001-11-07 16:32:19 +00:00
Jun Kuriyama
eef8406907 Prevent cross-site-scripting by escaping input text.
Pointed out by:	"Benjamin Krueger" <roo@ufies.org>
Reference:	http://securityfocus.com/cgi-bin/archive.pl?id=1&mid=220101&start=2001-10-09&end=2001-10-15
2001-10-30 07:26:27 +00:00
Murray Stokely
0d8e79bd0c * Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 10:14:33 +00:00
Alexey Zelkin
51f726e6eb note that only english is accepted in gallery submissions 2001-10-24 17:29:39 +00:00
Murray Stokely
289bb9611e Allow ^ and $ as regular expressions in the responsible person field.
This allows us to search for all those PRs assigned to 're' without
adding the ones assigned to 'reg', or 'mi' and 'mike', etc..  Finally
I hope to have PR email that only contains the PRs that were really
meant for me.
2001-10-23 04:28:48 +00:00
Wolfram Schneider
68a0a6aca4 added FreeBSD 4.4 2001-09-29 13:15:32 +00:00
Wolfram Schneider
8c0fe54f75 Update to FreeBSD 4.4R 2001-09-29 13:02:57 +00:00
Wolfram Schneider
cf04997075 FreeBSD 4.3-stable -> FreeBSD 4.4-stable 2001-09-28 17:11:33 +00:00
Bill Fenner
4b75f6a847 Propogate QUERY_STRING properly when redirecting diffs for files in
the Attic.

Requested by:	joe
2001-09-19 15:18:41 +00:00
Wolfram Schneider
414833220b revert to rev 1.29, the main ftp server ftp.freebsd.org is up and running. 2001-09-17 15:40:56 +00:00
Wolfram Schneider
9b43fdca13 fix encode_data which did not delete all .^H 2001-09-02 16:17:08 +00:00
Wolfram Schneider
e1e1b3911f iAdd FreeBSD 4.3-stable 2001-09-02 15:33:10 +00:00
Wolfram Schneider
5dded2dcdd 2.2.8-STABLE/i386 and 2.2.8-RELEASE/i386 packackes are no
longer supported by ftp.freebsd.org.

Submitted by: Kevin Lyons <klyons@corserv.corserv.com>
2001-08-26 18:27:45 +00:00
Wolfram Schneider
1d9cbcf77f Our main ftp server works again: ftp5.FreeBSD.org -> ftp.FreeBSD.org 2001-08-26 18:25:08 +00:00
Wolfram Schneider
5c028757d0 Added SuSE Linux/i386 6.3 2001-08-12 18:03:36 +00:00
Wolfram Schneider
fbb93d1b1b safe unlink 2001-08-12 17:37:35 +00:00
Wolfram Schneider
235eeb4eb8 ADded SuSE Linux/i386 6.4, SuSE Linux/i386 7.0, SuSE Linux/i386 7.2 2001-08-06 18:22:13 +00:00
Wolfram Schneider
e3887a9152 Added alot of linux manpages:
SuSE Linux/i386 5.0
SuSE Linux/i386 5.2
SuSE Linux/i386 5.3
SuSE Linux/i386 6.0
SuSE Linux/i386 6.1
2001-08-05 19:53:03 +00:00
Wolfram Schneider
a27fccf582 added Red Hat Linux/i386 7.1 2001-08-05 19:44:54 +00:00
Wolfram Schneider
7293614a24 sleep 0.8 seconds 2001-08-03 18:07:43 +00:00
Akinori MUSHA
500c71f667 Merge from knu-cvsweb 1.112.1.82.
2001-08-01  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs
	-nasc -ce

	* cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd, cvsweb.conf-ruby: perltidy -i=8 -t -pt=2 -bt=2
	-sbt=2 -ci=4 -noll -sfs -nasc -ce

	* cvsweb.cgi, cvsweb.conf: MFZ 1.111, but introduce @ForbiddenFiles
	instead of @DissallowRead to forbid user to cvs
	checkout/diff/annotate specified files.

	* cvsweb.cgi: MFZ 1.112: A couple of trivial fixes.

2001-07-26  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Chdir to TMPDIR so it works even when the cgi-bin
	directory is unreadable.
	[Submitted by: Dmitry Morozovsky <marck@rinet.ru>]

	* cvsweb.cgi: Let the module/path box appear and work properly
	when there is only one repository.
	[Submitted by: Dmitry Morozovsky <marck@rinet.ru>]
2001-08-01 10:41:47 +00:00
Wolfram Schneider
572f7aafd2 support PDF output. Hurra! 2001-07-31 21:22:48 +00:00
Wolfram Schneider
bb23cc7a89 Add OpenBSD 2.9 2001-07-31 21:12:15 +00:00
Wolfram Schneider
433cf1e9f1 Add manpages SuSE Linux/i386 4.3, XFree86 4.0.2, XFree86 4.1.0 2001-07-31 20:19:14 +00:00
Dima Dorfman
86e1aa729d Remove duplicate $FreeBSD$ line. 2001-07-13 12:49:08 +00:00
Akinori MUSHA
863f739529 Merge from knu-cvsweb 1.110.1.78.
2001-07-06  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi, cvsweb.conf: Support "zip" as an additional
	archiver.

	* cvsweb.cgi: MFZ 1.110.  But the bug had already been fixed in
	knu-cvsweb.

2001-06-22  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Get rid of a potential "uninitialized variable
	usage" warning.
	[Submitted by: Bill Fenner <fenner@FreeBSD.org>]

2001-06-08  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: MFZ 1.109.  Preset the global variable the stores
	the per file cvs info to avoid accumulating cruft under modperl.
2001-07-06 09:58:17 +00:00
Peter Wemm
4b9c3472f1 For some reason cvsweb has decided to expand the /home/ncvs symlink and
this causes the $FreeBSD$ tags to get messed up.  eg:
* $FreeBSD: /c/ncvs/src/sys/i386/include/globals.h,v 1.17 ... $
instead of the correct:
* $FreeBSD: src/sys/i386/include/globals.h,v 1.17 ... $

Change /home/ncvs to /c/ncvs in cvsweb.conf to compensate for this. :-(
This is a temporary hack.  Something changed in cvsweb that broke this.
2001-06-18 22:27:55 +00:00
Dima Dorfman
2a7250b2d0 Put the synopsis in the title for convenience.
PR:		28248
Submitted by:	mikeh
2001-06-18 22:18:11 +00:00
Chris Costello
abaaf7562d Use the `originator' field in the From: line instead of the
`synopsis' field.
2001-06-13 20:36:59 +00:00
Dima Dorfman
0e78c11047 Put the originator's name in the From: field. 2001-06-13 00:04:42 +00:00
Akinori MUSHA
3a30490d56 Merge from knu-cvsweb 1.106.1.74.
2001-06-05  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Change "Previous Directory" to "Parent Directory".

	* cvsweb.cgi: Properly HTML-quote function names in the colored
	diff view.
	[Submitted by: Ian Whalley <ian@whalley.org>]

2001-05-18  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Avoid localizing @_ to make threaded Perl happy.
	[FreeBSD PR: 26851]
	[Submitted by: David Wolfskill <dhw@whistle.com>]
2001-06-05 10:59:20 +00:00
Wolfram Schneider
07d89beec5 add FreeBSD 4.3R
remove FreeBSD 4.2R

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
2001-05-13 17:33:37 +00:00
Wolfram Schneider
54897f6553 no tar on the fly on ftp5.freebsd.org
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
2001-05-13 17:26:12 +00:00
Akinori MUSHA
2a6c99f39f Apply a hot fix to correct a link in the navigation header. 2001-05-10 17:46:04 +00:00
Wolfram Schneider
554ed63bec typo in last commit 2001-05-07 22:32:53 +00:00
Wolfram Schneider
645cca3e6d ftp.FreeBSD.org nightmare workarounds. 2001-05-07 22:14:17 +00:00
Wolfram Schneider
dbd8ba9a85 Disallow GET requests. 2001-05-07 19:28:09 +00:00
Akinori MUSHA
395a58f180 Merge from knu-cvsweb 1.106.1.71.
2001-05-08  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Fix a typo and get diff -F RE to really work.
2001-05-07 17:20:40 +00:00
Wolfram Schneider
2a9648db43 Added FreeBSD 4.3-RELEASE 2001-04-25 18:32:24 +00:00
Wolfram Schneider
64076d13d8 Added Darwin 1.3 ppc manpages - the core of the MacOS X 2001-04-25 18:17:57 +00:00
Akinori MUSHA
0e7b605168 Merge from knu-cvsweb 1.106.1.70b.
2001-04-25  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf: Introduce the new knu-cvsweb site:
	http://www.idaemons.org/~knu/cvsweb/
2001-04-24 16:13:57 +00:00
Akinori MUSHA
065175746d Merge from knu-cvsweb 1.106.1.70.
2001-03-28 02:20  knu

	* cvsweb.cgi: Re-fix the bogus fix for the previous
	colons-in-a-filename problem.

	Noted by:	Yar Tikhiy <yar@freebsd.org>

2001-03-28 01:39  knu

	* cvsweb.cgi: Conform cvsweb-markup pages to HTML 4.0 Transitional.

	Submitted by:	Will Andrews <will@physics.purdue.edu>
	Validated by:	http://validator.w3.org/
2001-03-27 17:26:31 +00:00
Wolfram Schneider
68dc4f8c29 Copyright++ 2001-03-25 20:22:02 +00:00
Wolfram Schneider
ac972121cd the link to yahoo is dead
http://www.yahoo.com/Computers_and_Internet/Information_and_Documentation/Man_Pa
ges/
2001-03-22 20:21:01 +00:00
Akinori MUSHA
2b1e770324 Merge from knu-cvsweb 1.106.1.68.
2001-03-23  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Encode colons in file names properly.

	FreeBSD PR:	25963
	Submitted by:	Marc van Woerkom <3d@FreeBSD.org>

	* cvsweb.cgi: MFZ: 1.106.  Do closedir() properly.

2001-02-01  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Use a fixed-width font in the colored diff view.

	Requested by:	Julian Elischer <julian@elischer.org>

2001-01-29  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Remove an obsolete notice: CVSWEB_CONFIG is disused.
	One leftover substitution: "cvs" -> $CMD{cvs}
2001-03-22 19:55:46 +00:00
Wolfram Schneider
085b9b7afa Sleep 0.35 seconds to avoid DoS attacks from broken robots 2001-03-11 20:45:45 +00:00
Wolfram Schneider
a6564aa742 test 2001-03-11 11:06:23 +00:00
Wolfram Schneider
0c8cf4f8cc fix id again 2001-03-11 11:04:12 +00:00
Wolfram Schneider
333585ea1f fix Id 2001-03-11 11:02:23 +00:00
Wolfram Schneider
ee6ca31658 $Date$ -> $Id$ 2001-03-11 11:00:15 +00:00
Wolfram Schneider
2d89594a56 cleanup faq and copyright page 2001-03-11 10:57:57 +00:00
Wolfram Schneider
63b77fcad0 don't print the revsion of man.cgi in the footer 2001-03-11 10:53:08 +00:00
Wolfram Schneider
3de2d8b973 update copyright 2001-03-11 10:51:53 +00:00
Wolfram Schneider
86241a37d5 print PostScript output, even the manpages was cached as a catman page 2001-03-11 10:50:56 +00:00
Wolfram Schneider
732523ba35 Sleep 0.35 seconds to avoid DoS attacs 2001-03-11 10:32:58 +00:00
Wolfram Schneider
d2a92249e0 add suse alias 2001-02-25 11:57:57 +00:00
Wolfram Schneider
db43e75f61 Add FreeBSD 4.2 2001-02-24 20:43:29 +00:00
Wolfram Schneider
3474a53443 Added Suse 7.1 2001-02-23 18:35:55 +00:00
Wolfram Schneider
8162e20a6a Don't print bogus links in error case (Information on Database ...) 2001-02-22 11:51:39 +00:00
Peter Wemm
f56ae29297 Add '_' to the approved characters in the responsible field - for n_hibma 2001-02-19 19:23:19 +00:00
Wolfram Schneider
55b92cb21c Added Red Hat Linux/i386 7.0 2001-02-07 15:00:47 +00:00
Wolfram Schneider
aabb1e0977 fix some nasty bugs in perl manpages 2001-01-21 15:46:08 +00:00
Akinori MUSHA
cfcc3577b8 s/at here/here/ 2001-01-14 09:03:25 +00:00
Akinori MUSHA
d1ede62772 Merge from knu-cvsweb 1.105.1.64.
2001-01-13  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf: Add some knu-cvsweb info.

	* cvsweb.cgi: MFZ: 1.105.

	* README.knu, TODO.knu, cvsweb.cgi, cvsweb.conf,
	cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd,
	cvsweb.conf-ruby: Change CVS tags: "Id" -> "Idaemons".
2001-01-14 08:59:59 +00:00
Akinori MUSHA
5e71bf1f62 Merge from knu-cvsweb 1.104.1.63.
2001-01-12 08:42  knu

	* cvsweb.cgi, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd: Clean up URI parser.

	Workaround thttpd's buggy SCRIPT_NAME / PATH_INFO parser.

	Requested by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

	Allow downloading a single port/pkgsrc in tarball by default.

2001-01-12 03:17  knu

	* cvsweb.cgi, cvsweb.conf: D'oh, forgot to chomp the result of
	`uname`.

	Submitted by:	Christian Weisgerber <naddy@mips.inka.de>

2001-01-11 11:00  knu

	* cvsweb.cgi, cvsweb.conf: Oops.

2001-01-11 10:52  knu

	* cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd: Run "tar cf - ... | gzip -c" rather than "tar
	zcf - ..." to avoid tar(1)'s automatic padding of nulls to align
	with the block size, which is just garbage for a receiver.

	Noted by:	Katsuyuki Komatsu <komatsu@sarion.co.jp>

	Have $uname variable to hold the OS implementation name.

	Move %CMD's initialization part to the beginning of cvsweb.conf so
	it can use $uname and configure properly for the OS.

	Wrap FreeBSD or OpenBSD specific features in conditional blocks
	using $uname.

	Fix some open() calls in good manners.

2001-01-05 09:00  knu

	* cvsweb.cgi: Delete $ENV{PATH} before everything. (against -T
	paranoia) It's nothing to worry since cvsweb.cgi always invokes
	executables by full paths, though.

	Correct the error messages regarding $command_path.

2001-01-03 17:57  knu

	* cvsweb.cgi, cvsweb.conf: Don't rely on perl's $ENV{PATH} search.
	Search commands for itself and specify them by full paths.
2001-01-12 04:26:10 +00:00
Peter Wemm
a8f823aed0 Do taint checking on command line args. I believe this is correct.
Bill Fenner suggested a simpler fix, but this is my fault if it is broken.
Reactivate -T
2001-01-12 00:19:09 +00:00
Wolfram Schneider
b36262e356 force taint check 2001-01-11 19:58:04 +00:00
Wolfram Schneider
5fe7b2fbcf get the source work now again 2001-01-11 19:56:37 +00:00
Peter Wemm
98d70c3686 Remove -T, this script has not been had the required taint cleaning
of arguments done yet.
2001-01-04 22:22:38 +00:00
Wolfram Schneider
6d3af291c5 The ports collections grows and perl5 seems to become slower ...
Small optimization to make ports.cgi one CPU second faster.
2001-01-04 22:12:42 +00:00
Wolfram Schneider
a18cd087ca Added SunOS 5.8 2001-01-04 19:44:13 +00:00
Akinori MUSHA
7ba234363e Grr... Pass me a pointy hat. Fix bogus flaw in merger and the @INC
problem under -T option.
2001-01-03 07:40:09 +00:00
Akinori MUSHA
7a68490f44 Merge from knu-cvsweb 1.104.1.57.
2001-01-03 11:55  knu

	* README.knu, cvsweb.cgi: Don't forget to add $query to the URL
	when redirecting.  Now module alias redirection and Attic
	redirection work with all sticky variables preserved. (Previously
	they didn't work against a non-default cvsroot)

	Put a text field on each directory view that allows user to jump
	directly to an arbitrary module, which can be specified either by a
	full module/file path or by a module alias.

2001-01-03 08:34  knu

	* README.knu, cvsweb.cgi, cvsweb.conf: List CVS repository entries
	in the specified order, not alphabetical.

	Now /usr/local/etc/cvsweb/ is the default directory for
	configuration files.
2001-01-03 03:46:29 +00:00
Akinori MUSHA
885d6122bd Merge from knu-cvsweb 1.104.1.55.
2001-01-02 21:23  knu

	* cvsweb.cgi, cvsweb.conf: Get cvsweb.cgi to run under perl -T.

	Change perl command line:

	  Change perl5 to perl and just declare `require 5.000'.

	  Remove -s option that was intended for debug use.

	  Add -T option to perform security checks.

	Change search paths for cvsweb.conf:

	  Don't adopt the value of $ENV{CVSWEB_CONFIG} that was intended
	for
	  debug use.

	  Search the same directory that cvsweb.cgi is in instead of the
	  current directory.

	Invoking `last' in `do { ... } while (0);' is wrong.  Change the
	loop to `while (1) { ... last; }'.

	Don't do chdir.  Instead, use tar(1)'s -C option and cvs(1)
	export's -d option.

	Explicitly define $ENV{PATH}.

	Turn $allow_compress off by default so user can debug cvsweb.cgi
	easily. (Still enabled on freefall)
2001-01-02 12:45:29 +00:00
Akinori MUSHA
4484d758cd Merge from knu-cvsweb 1.104.1.54.
2001-01-02 08:15  knu

	* cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd, cvsweb.conf-ruby: Add $prkeyword variable to
	allow user to use (e.g.) `Bug' instead of `PR' as the bug report
	identifier.

	Add cvsweb.conf-{freebsd,openbsd,netbsd,ruby} files, and move
	rather FreeBSD specific configuration values to
	cvsweb.conf-freebsd.

	Add a %funcline_regexp entry for Ruby. (*.rb)

2001-01-02 06:24  knu

	* cvsweb.conf: Add `pending' to the list of PR categories.

2001-01-02 05:57  knu

	* cvsweb.cgi: Reduce 'Use of uninitialized value' warnings.

	Noticed by:	Wolfram Schneider <wosch@schneider.org>

2000-12-30 08:56  knu

	* cvsweb.cgi: Oops, I forgot "cvs export" always need a -r/-D.
	Specify -rHEAD when no tag/branch is defaulted.

2000-12-30 08:35  knu

	* cvsweb.cgi, cvsweb.conf: Add $preformat_in_markup variable and
	turn it off by default.  This option should be turned off when you
	have files in the repository that are in a multibyte encoding which
	uses HTML special characters ([<>&"]) as part of a multi-byte
	character. (such as iso-2022-jp, ShiftJIS, etc.)  Otherwise those
	files will get screwed up in markup.

	Fix for those systems which tar(1)'s are not GNU tar(1).

	- Add @@tar_options variable and make the --ignore-failed-read flag
	optional.

	- Use cvs export instead of cvs checkout, so the --exclude 'CVS'
	flag isn't needed.

	Noticed by:	Christian Weisgerber <naddy@mips.inka.de>

	Fix for those systems which cvs(1)'s don't support -R option.
	(Actually, only FreeBSD's and OpenBSD's cvs(1) support it)

	- Add @@cvs_options and make the -R flag optional.

2000-12-29 22:29  knu

	* cvsweb.cgi: Add charset to all text/* output, including diffs.

	Submitted by:	Alexey Zelkin <phantom@cris.net>

2000-12-29 18:12  knu

	* cvsweb.cgi: The use of `do "file"' is obsolete.  Use require
	instead.

2000-12-29 17:47  knu

	* cvsweb.cgi: Add the prototype declaration for hrefquote().
2001-01-02 00:03:51 +00:00
Akinori MUSHA
9a9d515e23 Add some missing PR categories. 2001-01-01 21:22:48 +00:00
Wolfram Schneider
a2e75245f3 Add link to Site Map and Search page. 2001-01-01 19:46:55 +00:00
Wolfram Schneider
96e348472b strict pr number checking 2000-12-29 12:43:12 +00:00
Wolfram Schneider
e46c9290bb backward compatible with old ports layout 2000-12-29 10:49:45 +00:00
Akinori MUSHA
dc83c91ea5 Add 1;' at EOF so require' won't fail. 2000-12-29 09:24:40 +00:00
Akinori MUSHA
defffe51f5 Merge from knu-cvsweb 1.104.1.49. Tiny fixes.
2000-12-29 18:12  knu

	* cvsweb.cgi: The use of `do "file"' is obsolete.  Use require
	instead.

2000-12-29 17:47  knu

	* cvsweb.cgi: Add the prototype declaration for hrefquote().
2000-12-29 09:22:50 +00:00
Akinori MUSHA
badb97994d Merge from knu-cvsweb 1.104.1.47.
2000-12-29 03:17  knu

	* README.knu: Mention automatic tarball generation feature.

2000-12-29 03:16  knu

	* TODO.knu: Directory sorting was fixed at the same time that "show
	only tags" feature was fixed.

2000-12-29 03:07  knu

	* cvsweb.cgi: Specify --ignore-failed-read on invoking tar(1).

2000-12-29 02:49  knu

	* cvsweb.cgi, cvsweb.conf: Add "automatic tarball generation"
	feature.  You can check out a whole directory in gzipped tarball.

	Obtained from:	Debian package: cvsweb_1.93-1

	Allow space characters in file names. (not tested yet)

Note that automatic tarball generation feature is disabled for the present.
2000-12-28 18:42:21 +00:00
Wolfram Schneider
a0a56a50b1 stricter @INC path
forces "taint" checks to be turned on
2000-12-28 13:43:41 +00:00
Wolfram Schneider
a57ea9886a code clean up
forces "taint" checks to be turned on
2000-12-28 13:26:48 +00:00
Wolfram Schneider
7d2f8c826b forces "taint" checks to be turned on 2000-12-28 13:19:03 +00:00
Wolfram Schneider
489da0c4fa md5 -> distinfo
forces "taint" checks to be turned on
2000-12-28 13:12:50 +00:00
Wolfram Schneider
0c6fc17179 forces "taint" checks to be turned on 2000-12-28 12:35:36 +00:00
Wolfram Schneider
7092f6d2bd Added XFree86 3.3.6, 4.0, 4.0.2 2000-12-27 17:26:20 +00:00
Wolfram Schneider
6898b0d085 Added NetBSD 1.2.1, 1.1, 1.0, 0.9 (outcommented) 2000-12-27 16:43:02 +00:00
Wolfram Schneider
5df96d7683 cleanup aliases 2000-12-27 12:31:39 +00:00
Wolfram Schneider
46b568db67 delete FreeBSD 4.0-RELEASE/Ports 2000-12-27 11:57:41 +00:00
Wolfram Schneider
789bb7ab74 Added 4.1.1 FreeBSD 2000-12-27 11:52:37 +00:00
Wolfram Schneider
5a94b814b9 Added OpenBSD 2.7 and OpenBSD 2.8 2000-12-26 17:34:47 +00:00
Wolfram Schneider
92e3b4401a Added NetBSD 1.3.2, 1.3.3, 1.4.[123], 1.5 2000-12-26 17:04:33 +00:00
Akinori MUSHA
687a203246 Silence the warnings under -ws option. 2000-12-18 04:44:38 +00:00
Akinori MUSHA
8906337490 Silence the false warnings.
Show cvsweb.cgi's modification date in the footer.
2000-12-18 04:43:56 +00:00