Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63252 - dev-java/log4j can be build from source
Summary: dev-java/log4j can be build from source
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-08 08:18 UTC by Thomas Matthijs (RETIRED)
Modified: 2004-09-21 13:04 UTC (History)
1 user (show)

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


Attachments
tared up ebuild files. (log4j.tar,10.00 KB, application/octet-stream)
2004-09-17 15:02 UTC, Mark Wolfe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Matthijs (RETIRED) gentoo-dev 2004-09-08 08:18:23 UTC
The ebuild needs to be updated to build the packages from source
Comment 1 Mark Wolfe 2004-09-17 15:02:20 UTC
Created attachment 39806 [details]
tared up ebuild files.

I have created an ebuild to build log4j from source code. To aquire the source
for this ebuild you will need to check the source code out from apache. 

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r v1_2-branch
logging-log4j

Once the checkout is complete you will need to mv the directory logging-log4j
to log4j-1.2.8 and  zip that up into a file named log4j-1.2.8.zip. It is
assumed the base folder in the zip file will be /log4j-1.2.8 .

Once this zip file is created it will need to be uploaded to a web server and
the URL in the ebuild will need to be changed.

There are three TODO items mentioned in the ebuild file these are as follows:
 - Incorporate a use flag for java-mail to build the SMTPAppender
 - Incorporate a use flag for JMX to add JMX service support
 - Add jaxp to the build package so it will build on 1.3 vms

I would love some suggestions on how we handle these as I am not sure what to
do  next.
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-18 03:02:59 UTC
Hmm the source is just in the tarball from apache?
commited with 
todo 1 + 2 completed

I can't keep track of what jdk has which api or what they get replaced with
do we have an ebuild for jaxp?
Comment 3 Mark Wolfe 2004-09-18 03:39:43 UTC
jaxp is built into version 1.4 vms. 

Gentoo does NOT have a jaxp (from sun) ebuild for use with 1.3 version vms as far as I know. There is an alternative jaxp-gnu in portage but I have not used it with log4j before.  

So have you added a USE flag for java-mail and jmx ? If you have I can add some code to the ebuild to take advantage of these flags and build the extra modules for log4j.

Thanks mate,
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-21 13:04:04 UTC
fixed, builds from source, yuo'll need a 1.4 unless someone submits an ebuild for jaxp