Commit graph

495 commits

Author SHA1 Message Date
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
Akinori MUSHA
75f62cd3e4 Merge from knu-cvsweb 1.104.1.45.
2000-12-18 13:25  knu

	* TODO.knu, cvsweb.cgi: Revert MFZ: 1.103 -> 1.104 which introduced
	a bogus bug.  As noone seems to need to use 0.X revisions, I'd just
	drop it.  This should fix the "show only tags" feature.

2000-12-18 12:47  knu

	* cvsweb.cgi: Silence the warnings.

2000-12-18 11:48  knu

	* cvsweb.cgi: Add meta tags to prevent WWW robots from crawling
	over the cvsweb.

	Submitted by:	Wolfram Schneider <wolfram@schneider.org>
2000-12-18 04:39:52 +00:00
Akinori MUSHA
dd9378510a Merge from knu-cvsweb 1.104.1.42.
2000-12-08 00:11  knu

	* cvsweb.cgi: Silence `Use of uninitialized value' warnings.
	(again)

2000-12-07 03:20  knu

	* TODO.knu: Mention "show only tags" feature breakage.

2000-12-07 03:19  knu

	* cvsweb.cgi: Emit a rather better error message when a user
	requests to check out a deleted file.

	Pointed out by: Chris Faulhaber <jedgar@fxp.org>

	Cut an out-of-date error message. (adding -R and -l options to the
	cvs command line should have obsoleted it)

	Optimize, clean up.

2000-11-23 04:26  knu

	* cvsweb.cgi, cvsweb.conf: Add a new variable $charset to specify
	the charset for HTML output.

	Submitted by:	SADA Kenji <sada@bsdclub.org>
2000-12-07 15:21:06 +00:00
Paul Saab
3c593c95f5 Terminate subsitution introduced in rev 1.22. 2000-12-06 07:16:59 +00:00
Akinori MUSHA
c28360b875 Plug up a big security hole; never ever pass meta characters to shell!
Submitted by:	Anthony Rubin <tonyr@generalsearch.net>
2000-12-05 16:22:14 +00:00
Wolfram Schneider
a94af5d84e added new releases FreeBSD 4.2-RELEASE 2000-12-03 18:35:54 +00:00
Wolfram Schneider
123080699b Mail archive are always plain text files. 2000-11-29 22:10:24 +00:00
Wolfram Schneider
dc8b5031ef accept digits an multiple dashes in mailing list name for the archive 2000-11-29 22:05:34 +00:00
Wolfram Schneider
d52b336596 perl typo
Submitted by:	Chris Costello <chris@calldei.com>
2000-11-29 13:59:24 +00:00
Wolfram Schneider
f39b1e916c typo in last commit 2000-11-29 13:48:17 +00:00
Wolfram Schneider
1b334d6405 better argument checking 2000-11-29 13:39:37 +00:00
Wolfram Schneider
5e5e613f90 fix spaces in full text search 2000-11-07 21:43:02 +00:00
Jun Kuriyama
dd4f2e8d8f Switch web.mk to share/mk/web.site.mk in English version. 2000-11-07 04:05:37 +00:00
Wolfram Schneider
54d266b890 Add database pkgdescr for full text search in ports/<category>/port>/pkg-descr 2000-11-05 19:05:43 +00:00
Wolfram Schneider
c71248d604 evil hack to support full text search in ports/<category>/<port>/pkg-descr 2000-11-05 19:04:36 +00:00
Wolfram Schneider
cedb2f22f4 Create a hyperlink to cvsweb.cgi in cvs log mails. 2000-11-05 10:18:10 +00:00
Akinori MUSHA
4c28e66686 Merge from knu-cvsweb 1.104.1.39.
2000-11-05 00:32  knu

	* cvsweb.cgi: Silence `Use of uninitialized value' warnings.

2000-11-03 02:36  knu

	* README.knu: Mention cat.1 is hyperlinked as well as cat(1).

2000-11-03 02:34  knu

	* cvsweb.cgi: MFZ: 1.104:

	2000-11-02 07:05  hnordstrom

		* cvsweb.cgi: Allow for 0.X versions. CVS accepts such
		version numbers in import -b even if not strictly legal...

2000-11-03 02:33  knu

	* cvsweb.conf: Set the default diff type to unidiff for all
	browsers, not only text-based ones.
2000-11-04 19:23:25 +00:00
Wolfram Schneider
ead0572613 accept digits an multiple dashes in mailing list name 2000-11-01 09:52:06 +00:00
Steve Price
ca1a828d71 Add two new classes of problem reports: update and maintainer-update for
non-maintainer and maintainer submitted updates to ports.  Also remove
the support class so this list matches that of send-pr(1).
2000-10-29 22:16:41 +00:00
Jonathan M. Bresler
aecc5899ee getmsg.cgi used a "\n^From " pattern to find the end of
one email message and the start of another.  this hueristic
	failed on lines like "\n^From Ushant to Scilly is 35
	leagues".

	the new pattern relies upon our From line ending in the
	four digits of the year.  which is also an hueristic that
	will from fail from time to time.  For example "\n^From
	2000 substract 1 to get 1999$".

PR:	docs/21762
2000-10-29 16:29:45 +00:00
Wolfram Schneider
1b587bb8cf Fix year up to year 2899 2000-10-28 18:20:39 +00:00
Akinori MUSHA
6b2537ebd8 Set unidiff as the default diff format for non-textbased browsers too.
Requested by:	eivind, and some other people
2000-10-27 16:09:25 +00:00
Alexey Zelkin
dc5ac39672 Do not use not allowed characters in manualy built href's
PR:		misc/22191 (report)
Submitted by:	Patrick Seal <patseal@hyperhost.net>
2000-10-22 14:25:07 +00:00
Akinori MUSHA
77b9acfdc4 Merge from knu-cvsweb 1.103.1.37.
2000-10-21 00:46  knu

	* cvsweb.cgi: Always give options to click on a non-colored diff
	_and_ a colored diff.

	Requested by:	SO many people :>

2000-10-20 22:59  knu

	* TODO.knu: Hyperlinking was properly fixed.

2000-10-20 21:28  knu

	* TODO.knu, cvsweb.cgi: Fix htmllify so that <A href="...">...</A>
	won't nest. :)

	Do not show additional "(colored)" diff links when long colored
	diff is the default.

	Reduce the use of `.' operator that is known to be expensive.  Fix
	indent, clean up.

2000-10-11 06:14  knu

	* cvsweb.cgi: Introduce a new function: htmlquote().

	Clean up hyperlink tags.
	    - Use &link() instead of <a	href="...">...</a>.
	    - Do urlencode() or htmlquote() as appropriate.

2000-10-11 03:48  knu

	* cvsweb.cgi:
	  - Recognize "links" as another text mode browser.
	  - Fix the revision links in the annotation view of a file.

	Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2000-10-20 16:00:29 +00:00
Wolfram Schneider
9347c454c0 Support search in recent mail index (year 1999 and 2000).
Reset date variables so search.cgi will not print
the date of the previous mail if the date format in the
index is wrong.
2000-10-10 19:40:43 +00:00
Alexey Zelkin
0698a1f883 Fix this script to understand "new ports layout"
Noticed by: many on -www
2000-10-09 12:27:01 +00:00
Akinori MUSHA
ca00c6412c Merge from knu-cvsweb 1.103.1.33.
2000-10-07 16:44  knu

	* cvsweb.cgi: Fix &link() not to put a redundant trailing LF.

	Improve manpage linking to support "foo.1" as well as "foo(1)".

2000-10-07 16:35  knu

	* cvsweb.cgi: Fix screwups in the last commit.

	Parse rlog's output explicitly.  Recognize 77 ='s as a file
	separator, and 28 -'s as revision separator.

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

2000-10-03 04:07  knu

	* cvsweb.cgi: Cleanup $barequery generation.  Undefine "my"
	variables when they are done.
2000-10-07 07:57:33 +00:00
Wolfram Schneider
3b3e44cc3f improve HTML escaping (CSS vulnerablility)
Submitted by: Dan Rench <drench@i-works.com>
2000-10-03 19:50:16 +00:00
Akinori MUSHA
01d258dd09 Merge from knu-cvsweb 1.103.1.30.
2000-10-01 05:10  knu

	* cvsweb.cgi: Fix annotation bugs.
	  - Do not pass gzip'ed directives to cvs. (it never worked, sigh)
	  - Fix mis-spacing.  Now it should look pretty well.
2000-09-30 20:21:04 +00:00
Akinori MUSHA
a15211c2a5 Merge from knu-cvsweb 1.103.1.29.
2000-10-01 03:48  knu

	* INSTALL, cvsweb.cgi: Specify -R (Read-only mode) and -l (Do not
	log in history) flags when doing a cvs annotation so that one does
	not need to turn on the write permission on CVSROOT/history for the
	user which httpd runs cvsweb.cgi as. (typically "nobody")

2000-10-01 03:27  knu

	* cvsweb.cgi: Fix the comment to make how to set $config clear.

	Inspired by:	"Dan Langille" <dan@langille.org>

2000-09-29 03:06  knu

	* cvsweb.cgi: Trap errors in the configuration files on loading and
	show error messages.  (Previously it failed silently)

	Submitted by:	Sean Scarff <sean@pavilion.net>
2000-09-30 18:57:41 +00:00
Will Andrews
a5910766d1 Add Hungary mirror.
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2000-09-24 09:13:35 +00:00
Akinori MUSHA
e26451d78d Add the Portuguese server back to the mirror list, which was
mistakenly lost when I upgraded cvsweb.

Noticed by:	Joao Pedras <jpedras@webvolution.net>

Merge from knu-cvsweb 1.103.1.26.

2000-09-22 20:13  knu

	* cvsweb.cgi, cvsweb.conf: Remove $backcolor and introduce
	$body_tag_for_src to allow to set the foreground color.

	Noticed by:	dcs@FreeBSD.org

2000-09-22 00:30  knu

	* cvsweb.cgi: MFZ: 1.103.
2000-09-23 20:37:58 +00:00
Will Andrews
ffd7603fc8 Update list of FTP mirrors in WWW: Add ftp[7-9].FreeBSD.org, and introduce
new Lithuanian FTP mirror category.

Submitted by:	phantom
2000-09-23 13:47:27 +00:00
Akinori MUSHA
89147eaeac Merge from knu-cvsweb 1.101.1.24.
2000-09-20 05:07  knu

	* cvsweb.cgi: Follow tab-width/tabstop/ts directives when expanding
	tabs into spaces.  Currently, only first 10 lines are scanned for
	the directives.

2000-09-20 04:57  knu

	* cvsweb.cgi: MFZ: 1.101.
	    - Fix a few bugs under mod_perl.
	    - Use the Compress::Zlib module if available.
	    - Embed PDF files inside the cvs markup view.

2000-09-20 03:35  knu

        * cvsweb.cgi: s/ts/tabstop/ that I forgot to substitute in the last
        update.

2000-09-12 02:11  knu

        * cvsweb.cgi: Allow one to set the default diff type.

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

2000-09-10 20:54  knu

        * cvsweb.cgi: Clean up spacedHtmlText().
2000-09-19 20:20:06 +00:00
Akinori MUSHA
48f5a91e42 Merge from knu-cvsweb 1.94.1.19.
2000-09-05 00:53  knu

	* cvsweb.cgi: Get the revision numbers in annotation available as
	hyperlinks.

	Requested by:	Josef Karthauser <joe@pavilion.net>

2000-09-04 23:50  knu

	* cvsweb.cgi: Fix previously introduced incorrect fix.
	s/\s+\n$//; --> s/\s+$/\n/;

	FreeBSD PR:	misc/20989
	Submitted by:	Tony Finch <dot@dotat.at>
2000-09-04 16:05:40 +00:00
Akinori MUSHA
f7f9f8ce43 Since www.flame.org seems to have a complete and newer set of NetBSD
manpages, use www.flame.org's service instead of www.FreeBSD.org's.
2000-09-03 19:44:19 +00:00
Akinori MUSHA
97b4252dad Introduce manpage hyperlinking. 2000-09-03 18:46:25 +00:00
Akinori MUSHA
24f331a226 Merge from knu-cvsweb 1.94.1.17.
2000-09-04 03:25  knu

	* README.knu, cvsweb.cgi, cvsweb.conf: Introduce manpage
	hyperlinking.

2000-09-04 02:33  knu

	* cvsweb.cgi: Get all mail URLs and addresses as hyperlinks, not
	just the first one.  (s/// --> s///g)
2000-09-03 18:45:10 +00:00
Wolfram Schneider
8a3329ab84 Update ports package releases: 4.0 -> 4.1, 3.4 -> 3.5, added 2.2.8 2000-09-03 16:30:26 +00:00
Wolfram Schneider
f8c235934c added FreeBSD 3.5.1-RELEASE 2000-08-28 06:36:03 +00:00
Akinori MUSHA
0d12a1fb75 Merge from knu-cvsweb 1.94.1.15.
2000-08-25 18:01  knu

	* cvsweb.cgi: Get side-by-side diff working when $showfunc is true,
	noting that `-p' option of diff(1) can only be used with context
	and unified diffs.

	Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>

	Allow to specify CVS tags or branch names (including `.' and
	`HEAD') on cvs checkout.

	e.g.    http://foo/cvsweb.cgi/bar/dood.c?rev=.
	http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4
	http://foo/cvsweb.cgi/bar/dood.c?rev=RELENG_4_1_0_RELEASE

	Not for diff currently, as rcsdiff does not grok CVS tags.

	Inspired by:	Folks at the FreeBSD cvs-all list.

	Specify `-R' (turn on read-only repository mode) and `-l' (do not
	log in the command history) on cvs checkout, so that one does not
	need a write permission with the repository.

2000-08-25 00:53  knu

	* cvsweb.cgi: MFZ 1.94.	(Fix a typo in JavaScript code)
2000-08-25 09:21:00 +00:00
Wolfram Schneider
31a84c223b added FreeBSD 4.1-RELEASE 2000-08-24 16:57:22 +00:00
Akinori MUSHA
b42dbe4639 Fix a typo: Russian -> Russia
I overlooked this when I merged our changes into Zeller's version.
Sorry.

Submitted by:	Daniel Harris <dannyboy@hub.freebsd.org>

--

Turn $hr_ignwhite off.  Whitespace changes are important and should
never be ignored on taking a diff.

Reported by:	Archie Cobbs <archie@whistle.com>
2000-08-15 20:16:37 +00:00
Akinori MUSHA
9f073d3c62 Merge conflicts.
Declare function prototypes to shut up run-time warnings.
Whitespace cleanup.
2000-08-15 08:47:40 +00:00
Akinori MUSHA
70cace3e6c Add cvsweb.conf* files to DATA. 2000-08-14 04:57:27 +00:00
Akinori MUSHA
ee63a4ae51 Resolve conflicts.
Add $FreeBSD$ tags.

Configure cvsweb.conf and add some extra confs for freefall.
2000-08-14 04:55:19 +00:00
Akinori MUSHA
10aa3ca319 Initial import of knu-cvsweb 1.93.1.11, which is based on cvsweb-zeller 1.93. 2000-08-14 04:35:13 +00:00
Michael Haro
360a035769 "not fond" -> "not found" 2000-08-08 06:04:10 +00:00
Akinori MUSHA
52499edf94 Add a link to get the PR in raw text format.
This would help get a PR via web to extract patches/shars in it handily. :)
2000-07-28 21:21:20 +00:00
Akinori MUSHA
73e3135673 Fix it so perl4 can grok.
I had carelessly used Perl5 specific syntax everywhere in my previous
changes as I wasn't aware that there were those mirror sites that
still use perl4.

Pointed out by:	wosch
2000-07-18 18:27:14 +00:00
Akinori MUSHA
ddfafe77ac Fix a security hole: Do not pass the input from a user to the shell
without checking!

Approved by:	kris (as a security officer)
2000-07-13 09:01:10 +00:00
John Polstra
3d5a60681e s/Russian/Russia/ to be consistent with the way the other mirrors are listed. 2000-07-12 05:25:50 +00:00
John Polstra
b85d64b4ad Add Portugese mirror. 2000-07-12 05:23:33 +00:00
Wolfram Schneider
151703e1f5 added some workarounds due lost sources on hub (disk crash) 2000-06-18 16:15:33 +00:00
Wolfram Schneider
8e5370c02a added RedHat 6.1 and 6.2 man pages 2000-06-18 13:41:37 +00:00
Wolfram Schneider
ee67905b45 New manpages: FreeBSD 4.0-RELEASE/Ports (Release + Ports)
also now the default  release
2000-06-18 13:29:14 +00:00
Tim Vanderhoek
e1ed6f3799 Modify the PR-matching regexp to know about the new sparc, advocacy,
and alpha categories.
2000-05-22 08:52:43 +00:00
Wolfram Schneider
e4c9030535 4.0-STABLE/i386 is now the default release for ports. 2000-04-23 09:54:35 +00:00
Alexey Zelkin
7a0331e1d5 Add information about Russian version of FreeBSD's cvsweb.cgi. 2000-04-19 17:07:09 +00:00
Steve Price
32a78360cb Add a new class of problem reports, 'wish', as a catch-all for things
that really belong on a wishlist.

Requested by:	sheldonh
2000-04-17 16:09:37 +00:00
Alexey Zelkin
92406f371c Learn ports.cgi about 5.0-CURRENT, 4.0-RELEASE and 4.0-STABLE 2000-04-03 08:50:23 +00:00
Alexey Zelkin
9f7d42817c Remove duplicate $FreeBSD$ tag 2000-04-03 08:49:39 +00:00
Alexey Zelkin
895ee8fab9 Sync with handbook information. Add $FreeBSD$ tags. 2000-04-03 08:48:31 +00:00
Alexey Zelkin
4ab24069fa Add $FreeBSD$ tags 2000-04-03 08:45:51 +00:00
Wolfram Schneider
864398c66a Added 4.0-RELEASE and FreeBSD 5.0-current 2000-04-02 10:11:16 +00:00