Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92304 - www-servers/jetty-4.2.x built from source
Summary: www-servers/jetty-4.2.x built from source
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 94450 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-11 14:41 UTC by Thomas Matthijs (RETIRED)
Modified: 2007-01-29 22:51 UTC (History)
2 users (show)

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


Attachments
jetty-4.2.19-r1.ebuild (jetty-4.2.19-r1.ebuild,4.11 KB, text/plain)
2005-05-12 19:49 UTC, Josh Nichols (RETIRED)
Details
jetty-4.2.19-jikes.patch (jetty-4.2.19-jikes.patch,12.72 KB, patch)
2005-05-12 19:51 UTC, Josh Nichols (RETIRED)
Details | Diff
jetty-4.2.19-gentoo.patch (jetty-4.2.19-gentoo.patch,4.04 KB, patch)
2005-05-12 19:52 UTC, Josh Nichols (RETIRED)
Details | Diff
jetty-4.2.24-jikes.patch (jetty-4.2.24-jikes.patch,14.40 KB, text/plain)
2005-05-12 19:56 UTC, Josh Nichols (RETIRED)
Details
jetty-4.2.24.ebuild (jetty-4.2.24.ebuild,4.07 KB, text/plain)
2005-05-12 19:57 UTC, Josh Nichols (RETIRED)
Details
jetty-4.2.24.ebuild (jetty-4.2.24.ebuild,4.83 KB, text/plain)
2005-05-13 02:41 UTC, Josh Nichols (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Matthijs (RETIRED) gentoo-dev 2005-05-11 14:41:04 UTC
- compiles in src_install
- doesn't do error checking
- doesn't use dojar
- chown's /etc/{init.d,conf.d}/jetty and /etc/jetty to jetty:jetty
i was slapped by security when it was like that in tomcat
(only user has write premissions tho, not the group)
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-05-12 19:49:52 UTC
Created attachment 58795 [details]
jetty-4.2.19-r1.ebuild

* Declares and uses MY_PN and MY_P
* Added dependencies to java packages that jetty uses (that are in portage)
* Added RDEPEND of jre (but it may need the java packages too)
* Now uses jikes and doc
* Included a patch for jikes, and to gentooification
* Uses external jars through a build.properties
* Now uses java-pkg_dojar
* Cleaned up the install, using PN and JETTYHOME where they could be, fixed
permissions and owernship of /etc files
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2005-05-12 19:51:05 UTC
Created attachment 58796 [details, diff]
jetty-4.2.19-jikes.patch

Fixes all errors and some warnings caused by using jikes.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2005-05-12 19:52:29 UTC
Created attachment 58797 [details, diff]
jetty-4.2.19-gentoo.patch

Cleans up the build.xml, and allows us to use build.properties to define where
jar files are located.
Also a minor fix in ${S}/bin/jetty.sh... changes head -1 (which is deprecated
and causes output to stderr) to head -n 1
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2005-05-12 19:56:02 UTC
Created attachment 58798 [details]
jetty-4.2.24-jikes.patch

Version bump for the 4.2 series of jetty. There also seems to be a 5.1 release
as well which they have marked 'stable'.

Note: it is necessary to cp -r ${FILESDIR}/4.2.19 ${FILESDIR}/4.2.24

jetty-4.2.19-gentoo.patch applies cleanly, but a different patch is needed for
jikes.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2005-05-12 19:57:21 UTC
Created attachment 58799 [details]
jetty-4.2.24.ebuild

Accidentally attached the jikes patch when I meant to attach the ebuild...
Sorry for the confusion.
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2005-05-13 02:41:16 UTC
Created attachment 58804 [details]
jetty-4.2.24.ebuild

* Added use flags: source, junit, and extra (the extra webapps)
* Removed jars from ${S}/ext. Patched jetty.sh to reflect this
* Cleans out ${S} before it is copied to ${D}/${JETTY_HOME} (ie, removes src if
!source, classes, and so on)
Comment 7 Josh Nichols (RETIRED) gentoo-dev 2005-05-14 19:07:34 UTC
I think I may have broken the most recent ebuild by deleting ${S}/ext, seeing as jasper-compiler.jar and jasper-runtime.jar aren't provided by a package in portage (yet).

I had posted the jikes patches I made to project's sourceforge page, and the response I got from a developer was:
"I think both of these have been fixed in Jetty 5.   If you
are doing a new package, then I really think that Jetty 5
(the stable release) should be the target."

So that being said, perhaps this bug should be closed in favor of #68082 which is working on jetty-5.1.1.
Comment 8 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-01-29 22:39:32 UTC
*** Bug 94450 has been marked as a duplicate of this bug. ***
Comment 9 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-01-29 22:51:07 UTC
While its good this is a compile from source version. It's for an older version and pretty sure any focus these days would go to 5.x or 6.x. Going to close this bug as wontfix for now. If someone needs this version we can re-open.

There are bugs open already for 5.x bug 68082 and 6.x bug 147469