Sync chroot instructions with perl version.

From: Lawrence Teo <lcteo@uncc.edu>
This commit is contained in:
naddy 2005-05-24 00:05:55 +00:00
parent 4e6cd36676
commit ccd96803bb
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2004/02/01 19:47:27 naddy Exp $ # $OpenBSD: Makefile,v 1.31 2005/05/24 00:05:55 naddy Exp $
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu 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" COMMENT= "WWW CGI script to browse CVS repository trees"
DISTNAME= cvsweb-2.0.6 DISTNAME= cvsweb-2.0.6
PKGNAME= ${DISTNAME}p0 PKGNAME= ${DISTNAME}p1
CATEGORIES= devel www CATEGORIES= devel www
HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html

View File

@ -1,4 +1,4 @@
# $OpenBSD: README.chroot,v 1.2 2004/08/09 18:20:59 xsa Exp $ # $OpenBSD: README.chroot,v 1.3 2005/05/24 00:05:56 naddy Exp $
# Author: Jolan Luff <jolan@openbsd.org> # Author: Jolan Luff <jolan@openbsd.org>
In order to make CVSweb operate in a chroot environment, it is In order to make CVSweb operate in a chroot environment, it is
@ -15,7 +15,7 @@ $ cd /var/www/usr
# mkdir -p {bin,lib,libdata/perl5,libexec} # mkdir -p {bin,lib,libdata/perl5,libexec}
$ cd /var/www/usr/libdata/perl5 $ cd /var/www/usr/libdata/perl5
# mkdir -p {File,IPC,Time,warnings,`machine`-openbsd/5.8.5} # mkdir -p {File,IPC,Time,warnings,`machine`-openbsd/5.8.6}
Now, the required binaries: Now, the required binaries:
@ -45,8 +45,8 @@ $ cd /var/www/usr/libdata/perl5
# cp -p /usr/libdata/perl5/Time/Local.pm ./Time/ # cp -p /usr/libdata/perl5/Time/Local.pm ./Time/
# cp -p /usr/libdata/perl5/warnings/register.pm ./warnings/ # cp -p /usr/libdata/perl5/warnings/register.pm ./warnings/
$ cd /var/www/usr/libdata/perl5/`machine`-openbsd/5.8.5 $ cd /var/www/usr/libdata/perl5/`machine`-openbsd/5.8.6
# cp -p /usr/libdata/perl5/`machine`-openbsd/5.8.5/{Config,Cwd}.pm . # cp -p /usr/libdata/perl5/`machine`-openbsd/5.8.6/{Config,Cwd}.pm .
Editing cvsweb and cvsweb.conf Editing cvsweb and cvsweb.conf
------------------------------ ------------------------------