Commit graph

493 commits

Author SHA1 Message Date
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
Alexey Zelkin
bcf99e12c8 Replace Id string at output with "Last modified: $date $time" 2000-04-01 09:39:35 +00:00
Alexey Zelkin
ff0d2817c2 Welcome to 21th century. 2000-04-01 09:27:40 +00:00
Wolfram Schneider
c73351592d cuerrnt FreeBSD version' of cvsweb.cgi is pointed to old one
PR:	 docs/16814
Submitted by: haro@tk.kubota.co.jp
2000-02-19 13:58:12 +00:00
Wolfram Schneider
e892fe3c4d Off by one error.
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
2000-02-01 14:52:38 +00:00
Wolfram Schneider
4b1b1e1f3a Remove (redundant) Browse link. 2000-01-29 17:19:51 +00:00
Wolfram Schneider
f0bae0dd03 Support 4.0-CURRENT/alpha packages. 2000-01-23 15:18:47 +00:00
Wolfram Schneider
74be7ad1a5 Copyright++ 2000-01-22 22:24:23 +00:00
Chris Costello
8d4363944d Add '<' and '>' symbols around email addresses in the originator line.
It used to look like:

Originator:
	Joe Blow joe@blow.net

and now looks like:

Originator:
	Joe Blow <joe@blow.net>

with the email address being a hypertext link in both cases.
2000-01-16 02:46:36 +00:00
Wolfram Schneider
5ddd4f9c97 Check for an empty 'Search for' field. 2000-01-09 16:24:07 +00:00
Wolfram Schneider
51e584b2aa Better error handling. 2000-01-08 10:37:37 +00:00
Wolfram Schneider
35e3256513 Use a shorter URL for url.cgi 2000-01-08 10:36:28 +00:00
Wolfram Schneider
699dcc5213 Fix broken freebsd.org -> FreeBSD.org commit. 2000-01-08 10:20:08 +00:00
Wolfram Schneider
d0301965c4 Y2K
Submitted by:	Sergey Potapov <sp@alkor.ru>
2000-01-06 08:34:05 +00:00
Alexey Zelkin
39224ae67a freebsd.org -> FreeBSD.org 2000-01-05 15:47:46 +00:00
Wolfram Schneider
3ef7d65119 Include 'strict' perl module.
Use perl option -T
Improve comments.
Added link to ports source - was lost in previous commits.
Added link to category.
Indent.
1999-12-25 21:33:55 +00:00
Wolfram Schneider
bae952e06b Added FreeBSD 3.4 RELEASE
Make 3.4-STABLE the default release
1999-12-25 17:44:14 +00:00
Wolfram Schneider
212cc7bd4c update my homepage URL 1999-12-25 13:21:05 +00:00
Wolfram Schneider
9778a3e3fe Added FreeBSD 3.4-RELEASE
make FreeBSD 3.4-RELEASE the default release
1999-12-25 13:17:36 +00:00
Alexey Zelkin
5ded76c097 s/freebsd/FreeBSD 1999-12-21 17:34:21 +00:00
Alexey Zelkin
ab73757f85 Use /usr/bin/perl instead of /usr/local/bin/perl
PR:		docs/13959
1999-12-17 14:24:21 +00:00
Wolfram Schneider
2caf4ad962 update copyright year 1999-12-13 22:35:10 +00:00
Wolfram Schneider
6e96cb78aa OpenBSD 2.6 is default openbsd releases 1999-12-12 18:51:41 +00:00
Wolfram Schneider
88198bd0c6 Added OpenBSD 2.6 manpages 1999-12-12 18:47:23 +00:00
Wolfram Schneider
9651e1d561 character entities mit ; abschliessen
Submitted by: c. weisgerber
1999-12-12 14:56:35 +00:00
Wolfram Schneider
247d1f768a FreeBSD 3.3 is the default REleases 1999-12-12 14:55:17 +00:00
Peter Wemm
33cf1c50a1 Fix (?) the so-called P10k problem in the weekly PR summary mailouts.
For future reference, the weekly mailouts are done from a trivial script
which merely calls this script in plaintext (rather than in html) mode.
1999-10-26 21:49:29 +00:00
Wolfram Schneider
34419c2f2d Workaround for old URL pub/FreeBSD/FreeBSD-current
until the web mirrors are up to date
1999-10-20 09:13:21 +00:00
Wolfram Schneider
efa0026c20 Update FTP link: FreeBSD-current -> branches/-current/ 1999-10-19 12:24:26 +00:00
Wolfram Schneider
d912b87287 Update to 3.3-RELEASE
Update some FTP links to ftp.freebsd.org
1999-10-16 10:24:30 +00:00
Wolfram Schneider
77b8b76970 Undo revision revision 1.34: Set up for FreeBSD repo options ($FreeBSD$)
in /usr/local/etc/cvsweb-freebsd. The repo options are only valid for
the FreeBSD CVS tree.

BTW, the cvsweb.cgi mirror sites should update their
/usr/local/etc/cvsweb-freebsd too if possible.

Submitted by: peter
1999-09-19 10:55:19 +00:00
Wolfram Schneider
8044939abb Undo revision 1.31. The FreeBSD Web server www.freebsd.org support
more than one CVS tree and FreeBSD.org E-mail hyperlinks will not work
for the other trees (e.g. NetBSD, learn etc.).

Pointed out by: Wolfgang Solfrank <ws@tools.de>
1999-09-17 18:56:44 +00:00
Chris Costello
ddc3878af0 Improve grammar in error messages.
Reviewed by:	wosch
1999-09-09 12:58:56 +00:00
Peter Wemm
c82d2e0e66 Take a shot at getting $FreeBSD$ expanded by cvsweb. 1999-09-08 13:04:09 +00:00
Peter Wemm
af9d2cf095 $Date$ -> $FreeBSD$ in a comment 1999-09-06 07:16:52 +00:00
Peter Wemm
01a61279be $Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
1999-09-06 07:03:31 +00:00
Nik Clayton
f2dcd0ad3f Update the list of mirrors (~ 35 new sites added) and do the
freebsd -> FreeBSD tango at the same time.

PR:             docs/12773
Submitted by:   Alexey Zelkin <phantom@scorpion.crimea.ua>
1999-08-11 22:30:58 +00:00
Tim Vanderhoek
90816a2088 When creating the "Submit Followup" link, be more aggressive about
url-encoding unsafe characters.  Instead of a comparing against a list
of unsafe characters, compare against an inverted list of safe characters.
Specifically fixes " " spaces in urls, but probably others, too.

Make the url-encoding that did already exist work.
1999-08-06 05:58:14 +00:00
Wolfram Schneider
2857b98ed4 Use absolute URL for query-pr.cgi CGI script so the link
will works  for the cvsweb.cgi mirrors.

PR:		 misc/12813
1999-07-26 21:41:06 +00:00
Sheldon Hearn
f2fdf271ae Always show closed reports if the requested State is 'closed'.
PR:	12049
Submitted by:	n_hibma (who is still nhibma in authors.ent)
1999-07-20 14:26:21 +00:00
Wolfram Schneider
63e263481f Fix outdated version references in port search
Submitted by:	 Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1999-07-07 14:12:14 +00:00
Wolfram Schneider
21bb47f2ae handle SunOS manpages
NetBSD 1.4 is empty, fall back to NetBSD 1.3
1999-07-03 09:23:24 +00:00
Bill Fumerola
5da6fa1886 Add an e-mail hyperlink for the author of each commit.
Approved By:	fenner
1999-06-01 15:23:51 +00:00
Wolfram Schneider
bb92f6e981 Added forgotten open <head> tag
Added robots meta tag "nofollow"
1999-05-30 10:56:57 +00:00
nsj
5876ede535 Fixed to elimate extra step in gallery process (to remove the space in
"nonprofit").  This is an internal change only, and should not affect
gallery entry submitters in any way.
1999-05-18 02:15:06 +00:00
Wolfram Schneider
a3ae1d9ada Initial revision 1999-05-09 14:05:46 +00:00
Wolfram Schneider
ec37a00fe2 Added spanish mirror and the main script in California. 1999-04-17 16:57:56 +00:00
Wolfram Schneider
65fdaf4000 Fix mailindex path. 1999-04-04 20:39:39 +00:00
Wolfram Schneider
c78cb4550d perl4 -> Perl5 migration fixes. 1999-04-03 12:32:38 +00:00
Masafumi Max NAKANE
28f4dba4f1 Add appropriate alt text to the MAP/AREA elements. 1999-03-24 17:29:55 +00:00
Wolfram Schneider
efe75d2590 Handle one letter port 'v'. 1999-02-27 22:32:44 +00:00
Bill Fenner
0ee8170354 Make the header a little nicer. 1999-02-27 01:59:48 +00:00
Bill Fumerola
0855a82e72 Fix previous coommit 1999-02-26 22:05:58 +00:00
Bill Fumerola
265086c525 Hopefully fix for the last time the ports/XXXXXusername run-on.
PR:		docs/10241
Submitted by:	wosch
1999-02-25 20:08:04 +00:00
Bill Fumerola
e8d28c7ddb Add another non-graphic character (AKA space) after the word 'Tracker'.
Now that we have 5-number PRs and a 5 letter category, we also had run-on words.

o [1999/02/12] ports/10036billf    New port - fltk
is now
o [1999/02/12] ports/10036 billf    New port - fltk
1999-02-24 23:10:07 +00:00
Wolfram Schneider
472727c3ba spelling mistake: Last-Modiified (two i's)
Reviewed by:	"Jon T. Erichsen" <web28@staff.web.dk>
1999-02-01 21:07:42 +00:00
Wolfram Schneider
c62a541970 Handle parent directories links, e.g.:
ports/japanese/ppxp/../../net/ppxp/pkg/DESCR
     -> ports/net/ppxp/pkg/DESCR
1999-02-01 14:27:03 +00:00
Wolfram Schneider
cb2fe4fde4 New location for the mailing list archive at the FTP server. 1999-01-29 17:25:13 +00:00
Wolfram Schneider
de5352928d Better heuristic for finding URLs in plain text. 1999-01-22 23:57:55 +00:00
Wolfram Schneider
8a84663e49 Indent.
Update Copyright.
1999-01-19 17:07:03 +00:00
Wolfram Schneider
100e4f3109 Delete dead code. 1999-01-19 17:00:49 +00:00
Wolfram Schneider
885bd01e95 Change package paths according to new layout.
Forgotten by: asami
1999-01-18 13:19:19 +00:00
Wolfram Schneider
a8bc295dc2 Delete debug code. 1999-01-15 19:39:06 +00:00
Wolfram Schneider
0e528dd5d6 A CGI front end to the mailindex program. 1999-01-15 19:31:26 +00:00
Bill Fenner
afe8f59585 Clean up a couple of error messages.
Change "make -I /home/fenner/mk" to "make -m /home/fenner/mk"; this
 makes certain ports much much happier.
1999-01-13 04:00:26 +00:00
Bill Fenner
b34092da33 Allow "rev=." to check out HEAD 1999-01-13 03:59:04 +00:00
Tim Vanderhoek
900fd1e326 Correct more aggressive PR# matching (aka. an "I can write better
regexp's than that....really" commit).
1999-01-01 02:42:36 +00:00
Tim Vanderhoek
1655b7abb9 More aggressive PR-number url'ifying. Grammar gnit. 1998-12-30 19:31:43 +00:00
Wolfram Schneider
0759d6e5a5 Fix last commit. 1998-12-28 01:38:30 +00:00
Wolfram Schneider
705f877686 Added link to weekly mail index. 1998-12-28 01:24:55 +00:00
Wolfram Schneider
47a2549020 Define alias 'archive' for '/usr/local/www/db/text/' in
cgi variable fetch. Save space in URLs...
1998-12-28 00:16:31 +00:00
Wolfram Schneider
e26523a1f6 Current Archive -> Archive
Support to read the current mail archive from hub
1998-12-26 18:17:44 +00:00
Wolfram Schneider
f0f990c2ba Support diff by revsion too, not only by date. This is a workaround
if the ports/INDEX file was not updated regularly.

To select a revsion, replace the value for the cgi variable
'time' with rev<revsion>, e.g.:

	/cgi/ports.cgi?type=new&time=rev1.200&sektion=all

print a diff for all new ports since rev 1.200
1998-12-26 17:03:44 +00:00
Wolfram Schneider
d52a8a2a93 Move the links 'Sources' and 'Package' after 'Description'.
Old:
Description : Browse : Download : Package : Changes : Sources

New:
Description : Sources : Package : Changes : Browse : Download
1998-12-18 17:30:39 +00:00
Wolfram Schneider
4c86a9b6a2 Delete release 2.2.6
Added release 2.2.8
1998-12-16 20:45:11 +00:00
Bill Fenner
2261a9f662 Fix what I thought I fixed in rev 1.13:
Quote arguments to query-pr so that multi-word arguments
can be used in the query.
1998-12-15 00:35:52 +00:00
Wolfram Schneider
5bd3311185 Dots a vaild parts of a port name (shudder).
E.g.: ports/russian/elm.language

Submitted by:  Igor Roshchin <igor@physics.uiuc.edu>
1998-12-06 11:47:43 +00:00
Motoyuki Konno
d77b8e56b6 Change URL of CVSweb Japanese mirror.
http://www.jp.freebsd.org/www.freebsd.org/cgi/cvsweb.cgi
    -> http://www.jp.freebsd.org/cgi/cvsweb.cgi

Requested by: root@www.jp.freebsd.org
1998-11-10 19:26:16 +00:00
Wolfram Schneider
dbe851680a Disable LWP::UserAgent perl package
Allow `+' in port names, e.g. for mgetty+sendfax
Print a better warning if a port does not exists
or contain untrusted characters in port name.
1998-11-03 11:47:27 +00:00
Wolfram Schneider
4b4e30ec63 A dash (-) is a valid charcter in port section name (e.g. x11-clock) 1998-09-29 11:20:02 +00:00
Wolfram Schneider
b3a8bf87a0 A dash (-) is a valid charcter in port name. 1998-09-24 16:10:42 +00:00
Wolfram Schneider
7f78c722d2 Delete dead mozilla cvs tree. 1998-08-24 16:41:42 +00:00
Wolfram Schneider
8224542f19 Packages for 2.1.7 are no longer available. 1998-08-18 17:31:08 +00:00
Wolfram Schneider
42154281ca Support search by dependencies. For example, you can now search for
ports which requires the library 'xforms' for building or
running.
1998-08-18 17:03:29 +00:00
nsj
28303961af Fixed variable name spelling error that resulted in unwanted ' ''s. 1998-08-18 01:11:50 +00:00
Wolfram Schneider
ad20be4d1f Added cvsweb mirrors. 1998-08-16 13:45:12 +00:00
Wolfram Schneider
d49cfdcd87 Sort CVS trees by (internal) name. 1998-08-15 09:59:11 +00:00
Wolfram Schneider
0d88a0eb49 Always print the name of the current CVS tree. 1998-08-13 10:35:26 +00:00
Wolfram Schneider
fc6094e38b Remove the quotes from exists("filename"). Make(1) considered the
quotes as part of the filename.

Submitted by: volf@oasis.IAEhv.nl
1998-08-11 11:43:53 +00:00
Wolfram Schneider
c5a454b594 Include ../Makefile.conf if exists 1998-08-11 01:18:41 +00:00
Wolfram Schneider
4530f71b3e Added 2.2.7 Release. 1998-08-07 19:33:24 +00:00
Bill Fenner
a78046db14 Add "Show closed reports too" / "Don't show closed reports" links to the
top-level summary page.
1998-08-07 15:05:55 +00:00
Wolfram Schneider
86585fef72 Fix links due repository copy. 1998-08-03 15:37:48 +00:00
Wolfram Schneider
06b32c224c Workaround to work without the dead web server ftp.freebsd.org. 1998-08-02 18:15:32 +00:00
Wolfram Schneider
8f4dde9d2d http://ftp.freebsd.org is dead, switch to ftp service. 1998-08-02 17:40:29 +00:00
Wolfram Schneider
b576cd5301 Print 'Package' link only if there is a package for the port at the
main ftp server ftp.freebsd.org. Note: this works only for packages-stable
packages.
1998-07-23 12:36:11 +00:00
Wolfram Schneider
ee0af6538a Insert BSD copyright. 1998-07-23 09:42:40 +00:00
Wolfram Schneider
0361431614 Delete OpenBSD tree from the cgi script and move the OpenBSD
configuration to the extern config file /usr/local/etc/cvsweb.
OpenBSD is not a standard part of FreeBSD ;-) and I doubt that
FreeBSD mirror site will support OpenBSD.
1998-07-23 08:50:52 +00:00
Wolfram Schneider
e57600a034 Catch i386/* PR's too.
Pointed out by: Carl Mascott <cmascott@world.std.com>
1998-07-01 10:30:47 +00:00
Wolfram Schneider
4b1d6726ae Add a 'return to search page' link. The link is for users which does
not come from the search page, e.g. from an other simpler menu.
1998-06-24 15:05:12 +00:00
Bill Fenner
a223c13022 Fix a typo causing the "src/" cvsweb referencer to kick in when it
shouldn't.
Save a copy of the un-HTML-ified synopsis for use in the mailto: HREF,
 otherwise you end up with odd things like "%26lt;" instead of "<".
1998-06-24 05:48:30 +00:00
Wolfram Schneider
7b5cd11cf5 Fix bad partial reference. 1998-06-16 18:17:54 +00:00
Wolfram Schneider
26b386a89d Delete white spaces before and after the search string.
Ignore empty queries.
1998-06-16 18:07:52 +00:00