Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4012 - tomcat-4.0.4.ebuild (Update)
Summary: tomcat-4.0.4.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-22 01:24 UTC by Sean E Russell
Modified: 2003-01-28 00:30 UTC (History)
1 user (show)

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


Attachments
ebuild updates for the net-www/tomcat package (tomcat.tar.bz2,1.18 KB, application/x-tbz)
2002-06-22 01:26 UTC, Sean E Russell
Details
Adds init.d support to net-www/tomcat (tomcat-4.0.4-r2.tar.bz2,1.69 KB, application/octet-stream)
2002-06-22 03:27 UTC, Sean E Russell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean E Russell 2002-06-22 01:24:29 UTC
Hello.  I'm new to Gentoo (as of today); in the process of configuring my  
server, I've generated some new Portage ebuilds; the first is an update for the  
new Tomcat 4.0.4, which I needed because 4.0.3 had some problems with some  
common servlets (Cocoon, most notably).  
  
Attached is a tarball containing updates for the net-www/tomcat ebuild:  
  
	ChangeLog 
	files/digest-tomcat-4.0.4 
	tomcat-4.0.4.ebuild 
 
The ebuild file is basically a clone of 4.0.3.
Comment 1 Sean E Russell 2002-06-22 01:26:33 UTC
Created attachment 1683 [details]
ebuild updates for the net-www/tomcat package
Comment 2 Sean E Russell 2002-06-22 03:23:34 UTC
Whoa, nelly! 
 
Ok, the previous archive (a) contains files that aren't in a containing 
directory, (b) and is superceded by the attached file.  I really hate archives 
that spew files into pwd; I must have been asleep when I built the tarball. 
 
In any case, I discovered that the existing ebuild didn't do anything with the 
init.d rc file, so I patched it so that it did.  Then I discovered that the 
reason the rc file wasn't being installed was because it was only partially 
complete, and didn't work at all.  I've fixed both problems -- both start() and 
stop() in the rc file work. 
 
Contained in this archive, along with the ubiquitous changelog and digest, are 
a working init.d script and an ebuild that installs it.  I've also added -r2 to 
the package name, to be consistent with the Portage naming conventions.  Also, 
all files in this archive are properly encapsulated in tomcat/. 
 
This unpacks into net-www, where tomcat currently lives. 
 
NOTE: this does /not/ patch the Apache config files to create the hook; the 
Apache->Tomcat hook is a moving target, AFAIK; in any case, it doesn't 
currently exist for Apache 2, which is what I'm using.  This doesn't stop 
tomcat from being useful; you just have to hit :8080 directly to get servlets. 
Comment 3 Sean E Russell 2002-06-22 03:27:13 UTC
Created attachment 1685 [details]
Adds init.d support to net-www/tomcat

This obsoletes the 1693 attachment, but I'm not authorized to do the
obsoletion, so there it is.
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-24 15:10:23 UTC
A stop-gap 4.0.4 version is already in CVS. Scripts and other goodies will be
fixed as we rewrite the ebuild to start building tomcat from sources.