Commit graph

335 commits

Author SHA1 Message Date
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