Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 17:36:03 GMT
From:      Peter Kieser<Peter.Kieser@Sun.COM>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113000: Update www/mod_jail to latest revision (0.4) to support Apache 1.3/2.0
Message-ID:  <200705251736.l4PHa37R074440@www.freebsd.org>
Resent-Message-ID: <200705251740.l4PHe5P6083978@freefall.freebsd.org>

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

>Number:         113000
>Category:       ports
>Synopsis:       Update www/mod_jail to latest revision (0.4) to support Apache 1.3/2.0
>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:   Fri May 25 17:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Peter Kieser
>Release:        
>Organization:
>Environment:
>Description:
Old version in ports (0.1), new version (0.4) supports both Apache 2.0 and 1.3.
>How-To-Repeat:

>Fix:
Attached patch updates www/mod_jail to latest release from authors site.

cd /usr/ports && patch -p1 < /path/to/patch

Patch attached with submission follows:

diff -rNu www/mod_jail.old/Makefile www/mod_jail/Makefile
--- www/mod_jail.old/Makefile	Tue Nov  7 07:37:06 2006
+++ www/mod_jail/Makefile	Fri May 25 10:21:06 2007
@@ -6,15 +6,15 @@
 #
 
 PORTNAME=	mod_jail
-PORTVERSION=	0.1
+PORTVERSION=	0.4
 CATEGORIES=	www
 MASTER_SITES=	http://igorpopov.newmail.ru/
 
 MAINTAINER=	laszlof@FreeBSD.org
-COMMENT=	Apache 1.3.x module to enable an easy alternative to mod_chroot
+COMMENT=	Apache 1.3.x/2.0.xx module to enable an easy alternative to mod_chroot
 
 WRKSRC=		${WRKDIR}/mod_jail
-USE_APACHE=	1.3
+USE_APACHE=	1.3+
 AP_FAST_BUILD=	YES
 AP_GENPLIST=	YES
 
@@ -25,10 +25,6 @@
 
 post-extract:
 	@${REINPLACE_CMD} -e "s|= apxs|= ${APXS}|" ${WRKSRC}/Makefile
-
-.if defined(WITH_APACHE2)
-IGNORE=		only works on Apache 1.3.x
-.endif
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -rNu www/mod_jail.old/distinfo www/mod_jail/distinfo
--- www/mod_jail.old/distinfo	Sat Oct  7 15:09:32 2006
+++ www/mod_jail/distinfo	Fri May 25 10:22:27 2007
@@ -1,3 +1,3 @@
-MD5 (mod_jail-0.1.tar.gz) = be4605b172f69fcea7f6a9d43182b51c
-SHA256 (mod_jail-0.1.tar.gz) = 145c119db0c17d524ab7ee061f8b8221bb8aa472924066e2814d5e6d860d7f1c
-SIZE (mod_jail-0.1.tar.gz) = 12906
+MD5 (mod_jail-0.4.tar.gz) = 188fb307e67428b05292dd73b9d6db2e
+SHA256 (mod_jail-0.4.tar.gz) = 85291f40c0d5d19a8ac68196c679969c2617858d46839a6400a735e2b4a873eb
+SIZE (mod_jail-0.4.tar.gz) = 14624
diff -rNu www/mod_jail.old/pkg-descr www/mod_jail/pkg-descr
--- www/mod_jail.old/pkg-descr	Sat Oct  7 15:09:32 2006
+++ www/mod_jail/pkg-descr	Fri May 25 10:20:57 2007
@@ -1,4 +1,4 @@
-mod_jail is Apache 1.3.xx module, that makes running Apache in a secure jail
+mod_jail is Apache 1.3.xx/2.0.xx module, that makes running Apache in a secure jail
 prison easy, so it is intended to run on FreeBSD only. It is similar to
 mod_chroot, but uses FreeBSD's specific system call - jail. Also mod_jail make
 it possible to change securelevel into jail prison.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705251736.l4PHa37R074440>