From nobody@FreeBSD.org  Wed Sep 20 14:37:05 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 94D8E16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Sep 2006 14:37:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E2E3F43D70
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Sep 2006 14:36:56 +0000 (GMT)
	(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 k8KEauHa014780
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Sep 2006 14:36:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k8KEaudu014779;
	Wed, 20 Sep 2006 14:36:56 GMT
	(envelope-from nobody)
Message-Id: <200609201436.k8KEaudu014779@www.freebsd.org>
Date: Wed, 20 Sep 2006 14:36:56 GMT
From: "Sergey Al. Safonov" <spoof@spoofa.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Resin2 doesn't correctly install with WITH_APACHE = YES flag
X-Send-Pr-Version: www-2.3

>Number:         103423
>Category:       ports
>Synopsis:       Resin2 doesn't correctly install with WITH_APACHE = YES flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 14:40:28 GMT 2006
>Closed-Date:    Sat Oct 07 11:26:28 GMT 2006
>Last-Modified:  Sat Oct  7 11:30:30 GMT 2006
>Originator:     Sergey Al. Safonov
>Release:        5.4
>Organization:
none
>Environment:
FreeBSD test 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu May 12 11:44:08 CEST 2005     root@freebsd-5.ispsystem.net:/usr/src/sys/i386/compile/ISPSYSTEM  i386
>Description:
Hello,

I have found a bug in resin2 port when i compile it with 'WITH_APACHE =
YES' flag in Makefile. The 'make' goes ok, but 'make install' fails with
following message:

----------------------------- make install ---------------------------------
/usr/local/sbin/apxs -i -n caucho -a
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so
[activating module `caucho' in /usr/local/etc/apache/httpd.conf]
cp
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so
/usr/local/libexec/apache/mod_caucho.so
cp:
/usr/ports/www/resin2/work/resin-2.1.17/src/c/plugin/apache1/mod_caucho.so:
No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1
----------------------------- make install ---------------------------------

Seems resin-2.1.17/src/c/plugin/ hasn't 'apache1' directory but it has a
'apache'.
>How-To-Repeat:

>Fix:
Patch that fixes this problem:

--- Makefile.old	Mon Sep 18 19:27:09 2006
+++ Makefile	Mon Sep 18 19:50:00 2006
@@ -141,7 +141,7 @@
 	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache2/mod_caucho.so
 .endif
 .if (defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES))
-	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache1/mod_caucho.so
+	${APXS} -i -n caucho -a ${WRKSRC}/src/c/plugin/apache/mod_caucho.so
 .endif
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${ECHO_MSG}
>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Wed Sep 20 21:16:29 UTC 2006 
Class-Changed-Why:  
Fix category (submitter is not maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103423 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Sep 20 21:16:35 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: Jean-Baptiste Quenot <jbq@caraldi.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103423: www/Resin2 doesn't correctly install with WITH_APACHE = YES flag
Date: Fri, 22 Sep 2006 14:27:46 +0200

 Patch approved, thanks for the fix!
 -- 
      Jean-Baptiste Quenot
 aka  John Banana Qwerty
 http://caraldi.com/jbq/

From: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103423: www/Resin2 doesn't correctly install with WITH_APACHE = YES flag
Date: Fri, 22 Sep 2006 14:28:37 +0200

 [Sending with the right email address]
 
 Patch approved, thanks for the fix!
 -- 
      Jean-Baptiste Quenot
 aka  John Banana Qwerty
 http://caraldi.com/jbq/
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Oct 7 11:26:26 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103423: commit references a PR
Date: Sat,  7 Oct 2006 11:26:05 +0000 (UTC)

 miwi        2006-10-07 11:25:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/resin2           Makefile 
   Log:
   - Fix a flag for WITH_APACHE=YES
   
   PR:             ports/103423
   Submitted by:   Sergey Al. Safonov <spoof@spoofa.info>
   Approved by:    Jean-Baptiste Quenot <jbq@caraldi.com> (maintainer)
   Sponsored by:   FreeBSD Bug-a-thon #1
   
   Revision  Changes    Path
   1.13      +1 -1      ports/www/resin2/Makefile
 _______________________________________________
 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"
 
>Unformatted:
