Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109121 - mod_jk ebuild has bogus dependency on virtual/jdk-1.4
Summary: mod_jk ebuild has bogus dependency on virtual/jdk-1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Jan Brinkmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 04:58 UTC by Mike Morris
Modified: 2015-05-10 09:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to mod_jk-1.2.13.ebuild (diff,297 bytes, patch)
2005-10-13 05:00 UTC, Mike Morris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Morris 2005-10-13 04:58:50 UTC
Attempting to emerge mod_jk results in (attempted) emerge of a java VM
(blackdown by default, but its irrelevant to the problem).

Simply: mod_jk does NOT need any JRE/JDK installed.  Consider the use case where
the machine in question is running Apache, and is connecting to Tomcat which
resides on a /different/ host.  In such a case, there need not be any Java
environment on the Apache host, and there is no reason to install one just
becasue you want to connect Apache through to Tomcat on a different host.

Ebuild patch attached.
Comment 1 Mike Morris 2005-10-13 05:00:58 UTC
Created attachment 70555 [details, diff]
Proposed patch to mod_jk-1.2.13.ebuild

Not sure if I've done this "right" - is it OK to just delete the DEPEND line or
should I have done something else.   (Insufficient experience with ebuilds!)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-10-17 11:16:09 UTC
DEPEND="" would be the right way to go. Fixed in portage, thanks for reporting.
Comment 3 Michael Sobremonte 2009-08-06 09:55:44 UTC
(In reply to comment #2)
> DEPEND="" would be the right way to go. Fixed in portage, thanks for reporting.
> 

Any idea why this dependency was reintroduced in mod_jk-1.2.27?

>= mod_jk-1.2.27 ebuilds now contain:

DEPEND=">=virtual/jdk-1.4"
Comment 4 Sebastian Schwardt 2015-05-10 09:51:57 UTC
The dpendency still exists in 2015 and forces users who want to avoid a jdk on a frontend machine to use apache/mod_proxy.