Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2006 15:46:28 -0600
From:      "Frank J. Laszlo" <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104135: [NEW PORT]: www/mod_jail: An Alternative to mod_chroot.
Message-ID:  <E1GWK04-000Arz-Uv@main.vonostingroup.com>
Resent-Message-ID: <200610072150.k97LoLF7016421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104135
>Category:       ports
>Synopsis:       [NEW PORT]: www/mod_jail: An Alternative to mod_chroot.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 21:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 5.4-RELEASE-p18 i386
>Organization:
>Environment:
System: FreeBSD main.vonostingroup.com 5.4-RELEASE-p18 FreeBSD 5.4-RELEASE-p18 #1: Sat Sep 16 18:56:42 UTC 2006 laszlof@main.vonostingroup.com:/usr/obj/usr/src/sys/MAIN i386


	
>Description:
	This is a new port for mod_jail. mod_jail is a simple replacement for mod_chroot,
	while still using the native jail syscall found in freebsd.

>How-To-Repeat:
	
>Fix:



--- mod_jail-0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_jail
#	mod_jail/Makefile
#	mod_jail/distinfo
#	mod_jail/pkg-descr
#
echo c - mod_jail
mkdir -p mod_jail > /dev/null 2>&1
echo x - mod_jail/Makefile
sed 's/^X//' >mod_jail/Makefile << 'END-of-mod_jail/Makefile'
X# New ports collection makefile for:		mod_jail
X# Date created:				Oct 7 2005
X# Whom:					Frank Laszlo <laszlof@vonostingroup.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_jail
XPORTVERSION=	0.1
XCATEGORIES=	www
XMASTER_SITES=	http://igorpopov.newmail.ru/
X
XMAINTAINER=	laszlof@vonostingroup.com
XCOMMENT=	Apache 1.3.x module to enable an easy alternative to mod_chroot
X
XWRKSRC=		${WRKDIR}/mod_jail
XUSE_APACHE=	13
XAP_GENPLIST=	YES
X
XPORTDOCS=	changelog.html documentation.html download.html \
X		index.html
X
X.include <bsd.port.pre.mk>
X
Xpost-extract:
X	@${REINPLACE_CMD} -e "s|= apxs|= ${APXS}|" ${WRKSRC}/Makefile
X
X.if defined(WITH_APACHE2)
XBROKEN=		This module only works on apache 1.3.x.
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC}/doc && \
X		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-mod_jail/Makefile
echo x - mod_jail/distinfo
sed 's/^X//' >mod_jail/distinfo << 'END-of-mod_jail/distinfo'
XMD5 (mod_jail-0.1.tar.gz) = be4605b172f69fcea7f6a9d43182b51c
XSHA256 (mod_jail-0.1.tar.gz) = 145c119db0c17d524ab7ee061f8b8221bb8aa472924066e2814d5e6d860d7f1c
XSIZE (mod_jail-0.1.tar.gz) = 12906
END-of-mod_jail/distinfo
echo x - mod_jail/pkg-descr
sed 's/^X//' >mod_jail/pkg-descr << 'END-of-mod_jail/pkg-descr'
Xmod_jail is Apache 1.3.xx module, that makes running Apache in a secure jail
Xprison easy, so it is intended to run on FreeBSD only. It is similar to
Xmod_chroot, but uses FreeBSD's specific system call - jail. Also mod_jail make
Xit possible to change securelevel into jail prison.
X
XWWW: http://igorpopov.newmail.ru/mod_jail/
END-of-mod_jail/pkg-descr
exit
--- mod_jail-0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GWK04-000Arz-Uv>