ports/128256: www/tomcat-native rewrites APR library distributed with www/apache*
vassily ragosin
vr at vrgraphics.ru
Mon Oct 20 23:20:02 UTC 2008
>Number: 128256
>Category: ports
>Synopsis: www/tomcat-native rewrites APR library distributed with www/apache*
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 20 23:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list