Bug#301186: suggestions about packaging tomcat5

Arturas K. "Arturas K." <rgb@soften.ktu.lt>, 301186@bugs.debian.org
Thu Mar 24 11:10:05 2005


Package: tomcat4
Version: 4.1.31-2
Severity: wishlist
Tags: patch

hi,

I guess the reason there is no tomcat5 in debian is the one requires 
jdk1.5 to compile, and as there is no one packaged in debian too... am I 
right?

if so, maybe my suggestion will be handy:

I suggest to package tomcat5 source code into package tomcat5-src, add 
debianized build scripts and package the ones into tomcat5-package or 
into the same tomcat5-src. add to both or only tomcat5-package 
dependency to sun-jdk1.5 and there we go :)

installation procedure could be:
1) apt-get install java-package
2) download sun's binary jdk1.5 java distribution, build sun-jdk1.5 
package, and install the one
3) apt-get install tomcat5-src tomcat5-package
4) build tomcat5 and all other packages, and install the ones we need

tomcat5-src package can have some scripts to suggest user rebuild 
tomcat5 packages upon upgrade, if tomcat5 packages are found to be 
installed...

---
ArturasK.