cvswebWWW CGI script to browse CVS repository trees
2.0.6_2develΣ=34 2.0.6_2Version of this port present on the latest quarterly branch.upstream: 3.0.6A newer version was found upstream by portscout, first on 2012-08-18.
FreeBSD-CVSweb is a WWW CGI script that allows remote users to browse
a CVS repository tree via web. It can display the revision history of
a file, as well as diffs between revisions and downloading the whole
file.
The cvsweb script has been written by Bill Fenner <fenner@FreeBSD.org>
for the FreeBSD project, improved visually and functionally by Henner
Zeller <zeller@think.de>, Henrik Nordstrom <hno@hem.passagen.se>, and
Ken Coar <Ken.Coar@Golux.Com>, then Akinori MUSHA <knu@FreeBSD.org>
brought it back to the FreeBSD community and made further
improvements.
===> The following configuration options are available for cvsweb-2.0.6_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Quickstart:
cd /usr/local/etc/cvsweb
cp cvsweb.conf.dist cvsweb.conf
and you can browse your CVS repository via web if you set up
your web server correctly. The URL to get to the cvsweb
will be like `http://localhost/cgi-bin/cvsweb.cgi/'.
To configure its appearance and repository entries to
browse, edit cvsweb.conf* as you like.
For further information, please look into the directory
`/usr/local/share/doc/cvsweb'.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/cvsweb: Do not set SUB_LIST after bsd.port.pre.mk
The framework already adds PREFIX and DOCSDIR to it, so drop it
entirely. Move variables that do not need to be after bsd.port.pre.mk
up.
Remove support for variables that have been deprecated for a while.
variables deprecation revision
WITHOUT_NLS 2013-12-13 r336337
WITH_/WITHOUT_ 2014-02-24 r345870
NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587
WITH_BDB_VER 2016-05-02 r414444
OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387
WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965
While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.
Cleanup bsd.sanity.mk a bit.
Fix fallout.
PR: 224613
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13490
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
Use bsd.port.pre.mk to allow the port to actually find the correct cgi-bindir
without falling through to the last case every time.
PR: ports/163099
Submitted by: crees
Approved by: maintainer timeout (2w+)
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target. Its usage must preceed generate-plist.
This problem needs to be revisited either in a rework of bsd.port.mk or
each of these Makefiles.
Hat: portmgr
Pointy hat: edwin`
Change the maintainer to myself, adding a note that issues that are
not specific to this port/package should go to the freebsd-cvsweb
mailing list.
Requested by: scop
Remove -l from the default cvs(1) options.
PR: ports/69854
Submitted by: Marco Trentini <mark@remotelab.org>
Suggested by: scop
Replace a hardcoded /usr/local with $PREFIX.
Turn off perl's -T flag for the moment, for CVSweb 2.0.6's code does
not pass Perl 5.8's stricter taint checks. The flag will be turned on
again when the port is updated to the next release.
PR: ports/62650, ports/62743
Submitted by: naddy, Palle Girgensohn <girgen@pingpong.net>
Update to FreeBSD-cvsweb 2.0.3.
2002-05-22 Akinori MUSHA <knu@iDaemons.org>
* cvsweb.cgi: Previous fixes against cross-site scripting
vulnerabilities were insufficient and buggy (error messages were
messed up). Revamp fatal() to HTML-quote automatically and fix
error message output.
Update to FreeBSD-cvsweb 2.0.2 and unmark FORBIDDEN.
2002-05-22 Akinori MUSHA <knu@iDaemons.org>
* cvsweb.cgi: Read configuration files with `do' instead of
`require' to unbreak mod_perl support.
[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]
* cvsweb.cgi: Cosmetic fixes. Use and/or rather than &&/|| to
connect sentences.
* cvsweb.cgi: Exit with -1 if exec() fails.
* cvsweb.cgi: Do not print a redundant `Diff' for rev.1.1.
[Submitted by: Ville Skytt?,Ad?(B <ville.skytta@iki.fi>]
(Only the first 15 lines of the commit message are shown above )
Update to FreeBSD-cvsweb 2.0.1.
2002-04-11 Akinori MUSHA <knu@iDaemons.org>
* cvsweb.cgi, cvsweb.conf: Perform an HTML cleanup.
[Submitted by: Ville Skytt?,Ad?(B <ville.skytta@iki.fi>]
* cvsweb.cgi: Call this version FreeBSD-cvsweb 2.0.1.
2002-04-05 Akinori MUSHA <knu@iDaemons.org>
* INSTALL: Somehow description configuration doesn't work if you
put trailing /'s in module names, so fix the document for the
moment.
[Submitted by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>]
2002-02-06 Akinori MUSHA <knu@iDaemons.org>
* cvsweb.cgi: Use TMPDIR instead of the hardcoded /tmp.
* cvsweb.cgi: Never pass 'MAIN' to cvs(1). 'HEAD' is the valid
tag.
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO
macro is set to "echo" by default, but it is set to "true" if make(1) is
invoked with the -s option while ECHO_CMD is always set to the echo command.