Hi, Please find attached jboss.tar.gz containint jboss-3.0.1.ebuild, files/README.gentoo, files/conf.d/jboss, files/init.d/jboss and files/log4j.xml. JBoss is the open source J2EE application server. I was surprised to find it missing from the portage tree, so I thought I'd contribute my 2 cents. The package probably belongs under dev-java. The ebuild depends on >=virtual/jdk1.3 and dev-java/ant which are already in the portage tree.
Created attachment 2136 [details] ebuild files for JBoss
Hi, thanks for this great ebuild. There are a few points to discuss though. You have a non standard header for you ebuild. I'm not a lawer or anything, but I believe the gentoo policy is that the header must be the three line header in /usr/portage/skel.ebuild exactly (including copyright). Would you consider re-submitting the ebuild with skel.ebuild's header? Also, I notice your ebuild installs into /opt even though you went to the trouble of compiling it (as opposed to just installing binary .jars directly). Since you compiled it, you get to make it a first-class package in the /usr/lib/ file system hierarchy! Congratz! :) So if you would like to change from /opt to /usr/lib/jboss-3.0.1, then that would be great too. Matt
Created attachment 2187 [details] Updated ebuild files jboss-3.0.1.ebuild updated according to Matt's comments files/conf.d/jboss updated to reflect new JBOSS_HOME files/README.conf updated with clarifications are some corrections
Hi, Thanks for the feedback. Yes, I was a bit unsure whether to place JBoss under /opt or not. Due to JBoss' somewhat eclectic file hierarchy I found it impractical to install it under /usr as I would with any other package. I probably didn't read the FHS thoroughly, because I didn't know we could install packages under /usr/lib. Now I know, and the ebuild has been updated. JBoss now installs under /usr/lib/jboss-3.0.1. The configuration files are updated to reflect this change. The ebuild's copyright information has been corrected according to the gentoo standard. As the README.gentoo file is slightly modified, I've chosen to resubmit the entire tgz. Cheers, Thomas
Thomas, Thanks for this great ebuild. It has been added to portage under "net-www/jboss" (yeah, net-www is weird, but that's where other application servers such as tomcat and zope live currently). Matt
*** Bug 1918 has been marked as a duplicate of this bug. ***