From nobody@FreeBSD.org  Fri May 25 17:36:04 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5480116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 May 2007 17:36:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 2BB0C13C458
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 May 2007 17:36:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4PHa4CH074441
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 May 2007 17:36:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4PHa37R074440;
	Fri, 25 May 2007 17:36:03 GMT
	(envelope-from nobody)
Message-Id: <200705251736.l4PHa37R074440@www.freebsd.org>
Date: Fri, 25 May 2007 17:36:03 GMT
From: Peter Kieser<Peter.Kieser@Sun.COM>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update www/mod_jail to latest revision (0.4) to support Apache 1.3/2.0
X-Send-Pr-Version: www-3.0

>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:    laszlof
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 25 17:40:04 GMT 2007
>Closed-Date:    Mon Jul 09 02:52:49 GMT 2007
>Last-Modified:  Mon Jul 09 02:52:49 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->laszlof 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 25 17:40:11 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113000 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113000: commit references a PR
Date: Mon,  9 Jul 2007 02:05:06 +0000 (UTC)

 laszlof     2007-07-09 02:05:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/mod_jail         Makefile distinfo pkg-descr 
   Log:
   - Update to latest version (0.4)
   - Add support for apache 2.x in addition to apache 1.3.x.
   
   PR:             ports/113000
   Submitted by:   Peter Kieser <Peter.Kieser@Sun.COM>
   
   Revision  Changes    Path
   1.3       +3 -7      ports/www/mod_jail/Makefile
   1.2       +3 -3      ports/www/mod_jail/distinfo
   1.2       +1 -1      ports/www/mod_jail/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: laszlof 
State-Changed-When: Mon Jul 9 02:52:47 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113000 
>Unformatted:
