Add mod_chroot 0.2, the mod_chroot makes running Apache in a chroot

easy.

PR:		ports/66789
Submitted by:	Alexey A.Ukhov <auk@startext.de>
This commit is contained in:
Clement Laforet 2004-05-19 15:09:20 +00:00
parent d52d7e7a29
commit 667b124c5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109509
5 changed files with 41 additions and 0 deletions

View file

@ -228,6 +228,7 @@
SUBDIR += mod_bunzip2
SUBDIR += mod_cfg_ldap
SUBDIR += mod_cgi_debug
SUBDIR += mod_chroot
SUBDIR += mod_clamav
SUBDIR += mod_color
SUBDIR += mod_csacek

28
www/mod_chroot/Makefile Normal file
View file

@ -0,0 +1,28 @@
# Ports collection makefile for: mod_chroot
# Date created: May 18, 2004
# Whom: Alexey A.Ukhov <auk@startext.de>
#
# $FreeBSD$
#
PORTNAME= mod_chroot
PORTVERSION= 0.2
CATEGORIES= www
MASTER_SITES= http://core.segfault.pl/~hobbit/mod_chroot/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= The mod_chroot makes running Apache in a chroot easy
PORTDOCS= INSTALL EAPI CAVEATS
WANT_APACHE= 13
AP_FAST_BUILD= YES
AP_GENPLIST= YES
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>

2
www/mod_chroot/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (mod_chroot-0.2.tar.gz) = 85211cd8cafcfe64258e02291ea6439e
SIZE (mod_chroot-0.2.tar.gz) = 10540

View file

@ -0,0 +1,2 @@
Running Apache (and CGI/Perl/PHP) inside a chroot jail can be tricky.
Read CAVEATS for known problems and solutions.

8
www/mod_chroot/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
mod_chroot makes running Apache in a secure chroot environment easy.
You don't need to create a special directory hierarchy containing
/dev, /lib, /etc...
mod_chroot allows you to run Apache in a chroot jail with no additional files.
The chroot() system call is performed at the end of startup procedure - when
all libraries are loaded and log files open.
WWW: http://core.segfault.pl/~hobbit/mod_chroot/