Summary: | forrest-1.5.1.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leon Widdershoven <qaz> |
Component: | New packages | Assignee: | Java team <java> |
Status: | RESOLVED REMIND | ||
Severity: | enhancement | CC: | axxo, tlk |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
forrest-0.5.1.ebuild new Ebuild file, new Package
ebuild patch |
Description
Leon Widdershoven
2004-02-14 03:28:19 UTC
Created attachment 25587 [details]
forrest-0.5.1.ebuild new Ebuild file, new Package
This is the Ebuild file for Apache-forrest. This Ebuild
file should be tested before emerging into the Portage tree.
I suggest to place this package in net-www, which is were cocoon
is found (and forrest incorporates parts of cocoon).
Probably best for our java team to look at this one. Best regards, Stu Created attachment 31494 [details, diff] ebuild patch Hi Leon, I have made some changes to your ebuild. I will try to describe what I changed and why I did so: 1) removed javac from the IUSE variable as the ebuild does not use it. 2) split up the DEPEND variable into RDEPEND and DEPEND, as I'm quite confident that forrest doesn't need jdk when it is installed. Please correct me if I'm wrong :) 3) changed the installation destination from /usr/local to /usr/share as it seems this is the common location in Gentoo Linux. In addition, now a) build.sh installs directly into $D. b) forrest-bin directory is added to global PATH. c) forrest release notes is added during install. There is a section in the handbook about global variables: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=6#doc_chap2 By the way, I'm using sun-jdk-1.4.2.04. regards, Thomas forgot to mention: In its current version the "forrest" script needs to be placed inside the forrest installation, so it is not possible to move or symlink the script into e.g. /usr/bin. This is why I added the forrest-bin directory to the global PATH. I haven't tested the forrest-bot script. *** Bug 64650 has been marked as a duplicate of this bug. *** I've looked at this ebuild finally, and can see the following problems that need to be fixed before it's included: 1) The SRC_URI is wrong. The source drop no longer exists upstream. In fact, I can't find any source drops from this project anymore. They must resume releasing source tarballs before we can include it. 2) MYDIR must go. Use a local env var in src_install instead. 3) All bundled .jar files must be replaced with our own packages, using the java-pkg_jar-from, or a build.properties file. 4) All compiled .jar files must be installed using java_pkg-dojar 5) The 'forrest' script should be patched so that it can be installed in /usr/bin 6) The JRE/JDK dependences must probably be updated to 1.3 or 1.4, for the 1.6 (most recent) forrest release. We don't have the time to fix this at the present time, but if any kind benefactor wants to help out, please submit and updated ebuild, and we'll include it ASAP. Closing as REMIND so that it'll show up on the orphaned ebuilds list in the wiki. Upstream now only releases complete bundles with source, documentation and pre-built code. It seems silly to have to download the pre-built code in order to get the source code, but if it's not very big, I think we can live with it. |