From vr@gray.vrgraphics.ru  Mon Oct 20 23:13:59 2008
Return-Path: <vr@gray.vrgraphics.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2AFA9106569A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Oct 2008 23:13:59 +0000 (UTC)
	(envelope-from vr@gray.vrgraphics.ru)
Received: from gray.vrgraphics.ru (gray.vrgraphics.ru [212.67.2.238])
	by mx1.freebsd.org (Postfix) with ESMTP id CC9C08FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Oct 2008 23:13:58 +0000 (UTC)
	(envelope-from vr@gray.vrgraphics.ru)
Received: by gray.vrgraphics.ru (Postfix, from userid 1002)
	id E947B4AC38; Tue, 21 Oct 2008 02:54:39 +0400 (MSD)
Message-Id: <20081020225439.E947B4AC38@gray.vrgraphics.ru>
Date: Tue, 21 Oct 2008 02:54:39 +0400 (MSD)
From: vassily ragosin <vr@vrgraphics.ru>
Reply-To: vassily ragosin <vr@vrgraphics.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/tomcat-native rewrites APR library distributed with www/apache*
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         128256
>Category:       ports
>Synopsis:       www/tomcat-native rewrites APR library distributed with apache* ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 20 23:20:00 UTC 2008
>Closed-Date:    Mon Aug 30 12:12:35 UTC 2010
>Last-Modified:  Mon Aug 30 12:12:35 UTC 2010
>Originator:     vassily ragosin
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
vr graphics
>Environment:
System: FreeBSD 



>Description:
www/tomcat-native is a port, which installs a native library
for optimizing the performance of Apache Tomcat connectors
by taking the advantage of a native compiled Apache Portable
Runtime library (APR). 

APR library can be build by either using a devel/apr port,
but it can also be installed along with the Apache HTTPD server,
as a part of its normal installation process.

Unfortunately, www/tomcat-native port is ignorant of this fact.
Even if there already is APR library on the system, installed
by one of the www/apache* ports, www/tomcat-native overwrites
the library with a fresh install of devel/apr port. This
creates a possible compatibility problem between www/apache* 
and devel/apr, and also makes it impossible to upgrade
www/apache*, because it conflicts with devel/apr (unless
specifically build against port's apr which is discouraged
by the config screen of www/apache*).

Also, I do NOT have any negative experience with running Tomcat
with www/tomcat-native built against APR library included
in www/apache22. 

>How-To-Repeat:

1. Install www/apache22 (don't use port's APR)
2. Install www/tomcat-native
3. Notice that APR library in the system was blindly rewritten.
4. Try to force upgrade www/apache22
5. Notice that build breaks because of a conflict with devel/apr.

>Fix:
Something needs to be done about LIB_DEPENDS for www/tomcat-native.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 20 23:20:11 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128256 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Aug 30 12:12:14 UTC 2010 
State-Changed-Why:  
Not applicable anymore. 

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