1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Akinori MUSHA
5c89a45427 Update to knu-cvsweb 1.104.1.59.
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-05 00:13:39 +00:00
Akinori MUSHA
54cfbac643 Update to 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 03:24:08 +00:00
Akinori MUSHA
a9c83761b1 Update to knu-cvsweb 1.104.1.56.
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-02 23:47:41 +00:00
Akinori MUSHA
f46dcf77e6 Update to 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.
2001-01-02 12:39:00 +00:00
Akinori MUSHA
4701f83604 Update to knu-cvsweb 1.104.1.54.
- Install cvsweb.conf* files under ${PREFIX}/etc/cvsweb/.

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>
2001-01-01 23:51:22 +00:00
Akinori MUSHA
173508aba5 Update to knu-cvsweb 1.104.1.52.
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 23:59:35 +00:00
Akinori MUSHA
8360729a69 Update to 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:16:10 +00:00
Akinori MUSHA
29196ffb00 Update to 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)
2000-12-28 18:31:12 +00:00
Akinori MUSHA
85a7d5d4e0 Update to 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:31:26 +00:00
Akinori MUSHA
b0694892f3 Update to 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:24:14 +00:00
Akinori MUSHA
0ec15f352f Update to 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:26:15 +00:00
Akinori MUSHA
3f9eb8e356 Install TODO.knu too.
Install under ${PREFIX}/www when it exists or ${PREFIX}/share/apache
does not exist.

Submitted by:	jeh
2000-10-20 21:31:02 +00:00
Akinori MUSHA
3fd0fe8fb7 Update to 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 15:52:27 +00:00
Akinori MUSHA
6cddb65e13 Update to 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 08:07:34 +00:00
Akinori MUSHA
7915997aa9 Update to 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:13:18 +00:00
Akinori MUSHA
d2361b029e Update to 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:53:24 +00:00
Akinori MUSHA
4e169e9bbe Update to 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:48:46 +00:00
Akinori MUSHA
4b7ac42f7b Update to 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:22:39 +00:00
Akinori MUSHA
99fc22ec60 Update to 1.94.1.19.
2000-09-05 00:55  knu

	* README.knu: Mention revision numbers hyperlinking in annotation.

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:06:40 +00:00
Akinori MUSHA
88ba408405 Update to 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)

Install ChangeLog file.
2000-09-03 19:21:55 +00:00
Akinori MUSHA
4c77fa91d8 Update to 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:39:12 +00:00
Akinori MUSHA
2a69ccf509 Update to knu-cvsweb 1.93.1.13.
- Use cvsweb.conf* in the current directory when they don't exist in
  /usr/local/etc/.

- Declare function prototypes to shut up runtime warnings.

- Remove redundant white space at the end of lines.
2000-08-15 08:54:13 +00:00
Akinori MUSHA
1dceeeac11 Update to 1.93.1.10.
- Nothing but #!/usr/bin/perl -> #!/usr/bin/perl5

Define USE_PERL5 and substitute ${PERL} for /usr/bin/perl5.
2000-08-01 12:53:41 +00:00
Akinori MUSHA
3c1c50d57e Update with my development branch of cvsweb.
PORTVERSION 1.93.1.9 indicates that it's knu's cvsweb rev. 1.9, based
on Zeller's cvsweb rev. 1.93.  I'll keep merging all the changes that
will be made on Zeller's version as well as enhancing it to meet our
needs. :)

Below is an excerpt from README.knu.

----

Added features over Zeller's version:

o Customizable "show functions" option
    You can specify a regexp for each file type to teach rcsdiff(1) to
    recognize function lines.

o Customizable PR categories
o Move $prcgi to cvsweb.conf
    Now each repository can have its own PR categories and
    query-pr.cgi URL, which can be defined in cvsweb.conf-${cvstree}.
    It is useful when you have such as NetBSD and/or OpenBSD
    repositories.

o Improved support for text-based browsers
    Unidiff is the default format for diffs, for text-based browsers.

o Enhance hyperlinking PR # feature.
    The following PR numbers will all be hyperlinked. :)

        PR:     12345, 67890, ..

        PR:     #12345, #67890, ..

        PR#     sparc/12345, i386/67890

        PR:     ports/43210
                kern/98765

        .. is related to bin/4567, which is ...
2000-07-29 13:24:11 +00:00
Akinori MUSHA
aae697a4f6 Browse two repositories by default.
local	=> /home/cvs
	FreeBSD	=> /home/ncvs
2000-07-18 23:47:01 +00:00
Akinori MUSHA
07b3667216 Update to rev. 1.90.
o checkout without revision should default to HEAD
2000-07-18 20:56:08 +00:00
Akinori MUSHA
a8636d5572 Update to rev. 1.89.
Reduce warnings.
Make https URLs clickable as well as ftp and http URLs.
2000-07-12 19:13:51 +00:00
Akinori MUSHA
b51fb0f32b Update to rev.1.86.
This update fixes several SECURITY problems, so PLEASE UPDATE to this
version ASAP.
2000-07-11 02:07:19 +00:00
Satoshi Asami
be6c01ee85 Use ${MASTER_SITE_LOCAL}. 2000-06-29 02:31:42 +00:00
Akinori MUSHA
60f2ecb476 Local distfiles have been moved to:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/
2000-06-07 17:24:38 +00:00
Akinori MUSHA
9eb728a459 Update to the latest CVS snapshot.
- Minor fixes
  - Timezone support
2000-06-07 08:23:11 +00:00
Akinori MUSHA
f386d54c2c Remove subdirectories too. 2000-06-05 06:59:26 +00:00
Akinori MUSHA
86385a8dd1 Satisfy bento by removing the apache directory on package building.
This port does not explicitly depend on a specific version of Apache
nor other www servers but leaves the option for users, since cvsweb
should work on most cgi capable www servers.
2000-06-05 05:47:02 +00:00
Akinori MUSHA
5265cd36e2 Change MAINTAINER addresses from knu@idaemons.org to knu@FreeBSD.org
so as to make it clear that a FreeBSD committer maintains them.
2000-04-24 15:51:20 +00:00
Michael Haro
ed33fb7de0 PORTNAME/PORTVERSION update 2000-04-11 21:30:15 +00:00
Akinori MUSHA
cf6e506a12 Update to Henner Zeller's cvsweb. (Rev. 1.80)
If you prefer as simple view as before, you can easily customize so.  Enjoy it.

PR:		ports/17388
Submitted by:	myself
Approved by:	Bill Fenner <fenner@freebsd.org> (The original author of cvsweb)
2000-03-23 12:02:34 +00:00
Akinori MUSHA
540b845132 Mostly minor changes.
Changes:
  - get to install README
  - change the maintainter

And because Apache isn't the only web server and the configurations may vary;
  - stop trying to check if any web server is installed
  - allow a user to specify a cgi-bin directory to install
  - stop using icons that Apache installs by default
  - rename the script from cvsweb to cvsweb.cgi

Approved by:	sada
2000-03-23 05:00:34 +00:00
Peter Wemm
02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
David E. O'Brien
9a9ac6ba9d Change Id->FreeBSD. 1999-08-25 05:57:29 +00:00
Andreas Klemm
5d88362367 purely cosmetic...
apache paths changed
update port to install script to new location ${PREFIX}/share/apache/cgi-bin/
1999-08-08 17:50:37 +00:00
SADA Kenji
5162aaf419 Misfiled a Makefile line. 1999-07-26 18:21:22 +00:00
SADA Kenji
521370ce36 Move category from net to devel.
Cope with package-build time problem.

Requested by: hoek
1999-07-26 18:17:00 +00:00
SADA Kenji
07aba06f10 Move net/cvsweb's category to ports/devel.
Requested by:	hoek
1999-07-26 18:06:45 +00:00