update chroot instructions; ok jasper@, landry@
This commit is contained in:
parent
079a210677
commit
b2433a0793
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.37 2009/10/29 08:19:06 giovanni Exp $
|
||||
# $OpenBSD: Makefile,v 1.38 2009/11/25 19:54:19 naddy Exp $
|
||||
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: README.chroot,v 1.7 2009/10/29 08:19:07 giovanni Exp $
|
||||
# $OpenBSD: README.chroot,v 1.8 2009/11/25 19:54:19 naddy Exp $
|
||||
# Author: Jolan Luff <jolan@openbsd.org>
|
||||
|
||||
In order to make CVSweb operate in a chroot environment, it is
|
||||
@ -8,7 +8,7 @@ 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)
|
||||
|
||||
$ cd /var/www/usr
|
||||
@ -17,6 +17,15 @@ $ cd /var/www/usr
|
||||
$ cd /var/www/usr/libdata/perl5
|
||||
# mkdir -p {File,IPC,Time,warnings,`machine`-openbsd/5.10.1}
|
||||
|
||||
The "annotate" function requires this empty file:
|
||||
|
||||
NOTE: You can create an actual null device instead, but that will
|
||||
not work if the filesystem is mounted with the nodev option, and
|
||||
it is not required for cvsweb.
|
||||
|
||||
$ cd /var/www/dev
|
||||
# touch null
|
||||
|
||||
Now, the required binaries:
|
||||
|
||||
$ cd /var/www/usr/bin
|
||||
@ -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
|
||||
------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user