Bug 21930 - Proposed ebuild for Jakarta Struts 1.1-rc1 (binary)
|
Bug#:
21930
|
Product: Gentoo Linux
|
Version: 1.4_rc4
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: java@gentoo.org
|
Reported By: tuinstra@inteo.com
|
|
Component: Ebuilds
|
|
|
URL:
http://jakarta.apache.org/struts
|
|
Summary: Proposed ebuild for Jakarta Struts 1.1-rc1 (binary)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2003-05-29 22:16 0000
|
Here's an ebuild for Jakarta Struts 1.1-rc1 (precompiled). Written from
scratch. It has
conditional dependencies for jdbc drivers, depending on what database the user
has
indicated with USE flags. It extracts documentation from a .war file and
installs it locally
as static html (user can still deploy it as a live webapp; ebuild gives user
pointers on
this). Postinst message gives pointer to gotcha regarding buildtime vs runtime
classpath; Install puts a warning into class description in package.env.
Postinst also
gives pointers to doc file explaining how to start a struts-based webapp
project.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Created an attachment (id=12566) [details]
ebuild file
Suggest "net-www/struts" for ebuild name.
Do I need to submit a file for the MD5 sum and a MANIFEST file as well, or is
this something the committer does (for security/sanity check, perhaps)? This is
my first ebuild and I don't recall seeing this mentioned in the HOW-TO or other
docs.
Created an attachment (id=12567) [details]
corrected ebuild file
Corrected some local paths printed in the postinst messages.
Question: should struts be slotted? Users might have a codebase or (possibly
commercial) tools depending on a certain version, but also want to experiment
with the new version.
In portage now as a bare minimum build. I'd like to take sugesstions on how to
improve it (possibly with a tomcat use flag for the webapps...)
You might want to put it in
a. SLOT="1.1" and
b. have another struts-1.0.
Ciao
ST Lim