I followed the instructions in README.chroot to set up cvsweb with chrooted Apache, and it didn't work.
* Config_heavy.pl needs to be added. * While Config_git.pl is not strictly necessary, without it you get a warning (each time cvsweb is invoked). * The "annotate" function requires a null device. I don't consider "annotate" to be optional. ok? Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cvsweb/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- Makefile 29 Oct 2009 08:19:06 -0000 1.37 +++ Makefile 24 Nov 2009 12:26:37 -0000 @@ -4,7 +4,7 @@ COMMENT= WWW CGI script to browse CVS repository trees DISTNAME= cvsweb-2.0.6 -PKGNAME= ${DISTNAME}p6 +PKGNAME= ${DISTNAME}p7 CATEGORIES= devel www HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html Index: files/README.chroot =================================================================== RCS file: /cvs/ports/devel/cvsweb/files/README.chroot,v retrieving revision 1.7 diff -u -p -r1.7 README.chroot --- files/README.chroot 29 Oct 2009 08:19:07 -0000 1.7 +++ files/README.chroot 24 Nov 2009 12:26:37 -0000 @@ -8,9 +8,18 @@ that CVSweb employs into /var/www. First, create the basic directory structure: $ cd /var/www -# mkdir {tmp,usr} +# mkdir tmp usr # chown www:www tmp (needs to be writeable for the www user) +The "annotate" function requires a null device: + +$ cd /var/www/dev +# mknod null c 2 2 (this varies across architectures, see /dev/null) +# chmod 666 null + +NOTE: The null device will not work if the filesystem is mounted +with the nodev option. + $ cd /var/www/usr # mkdir -p {bin,lib,libdata/perl5,libexec} @@ -47,6 +56,7 @@ $ cd /var/www/usr/libdata/perl5 $ cd /var/www/usr/libdata/perl5/`machine`-openbsd/5.10.1 # cp -p /usr/libdata/perl5/`machine`-openbsd/5.10.1/{Config,Cwd}.pm . +# cp -p /usr/libdata/perl5/`machine`-openbsd/5.10.1/Config_{git,heavy}.pl . Editing cvsweb and cvsweb.conf ------------------------------ -- Christian "naddy" Weisgerber na...@mips.inka.de