- 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.
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 ...
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.
- Remove post-install information from DESCR's.
- Replace /usr/local with ${PREFIX} in DESCR's and MESSAGE's.
- Remove unnecessary whitespace.
Pointed out by: portlint
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)
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