Commit Graph

2485 Commits

Author SHA1 Message Date
Norikatsu Shigemura 9e8d6ec868 Update to 2.0.2.
PR:		ports/73214
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-10-28 14:39:08 +00:00
Norikatsu Shigemura 72bb41bc64 o Update to 1.0 RELEASE.
o Reset MAINTAINER to java@.
o Bump PORTEPOCH accordingly.

PR:		ports/72803
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-10-27 16:58:34 +00:00
Norikatsu Shigemura 70acff40af Update to 3.0.1.
PR:		ports/72989
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-10-27 16:58:22 +00:00
Norikatsu Shigemura e5d036ab84 o Update to 2.0.1 RELEASE.
o Reset MAINTAINER to java@.
o Bump PORTREVISION accordingly.

PR:		ports/72802
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
Approved by:	maintainer no response
2004-10-27 16:58:09 +00:00
Norikatsu Shigemura 9e2dbd4bf1 o Update to 3.0.1. [1]
o Use native JDK rather than linux-sun-jdk. [2]
o Utilize WITH_MOZILLA.  It provies to use mozilla or firefox. [2]
o Fix some port's bugs. [2]
o Add zip to BUILD_DEPENDS and fix build error without zip. [3]

PR:		ports/72990 [1], ports/72475 [2]
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca> [1], [2]
Pointed out by:	pointy via kris [3]
2004-10-27 16:57:48 +00:00
Greg Lewis 01b84a40d6 . Update to 0.44.
PR:		72959
Submitted by:	Ronald Klop <ronald@cs.vu.nl> (maintainer)
2004-10-26 16:51:29 +00:00
Volker Stolz bb902e96d2 - Unbreak: Add missing build-dependency on archivers/zip
- Fix compilation on 4.x
2004-10-25 13:56:34 +00:00
Herve Quiroz 5d95110b7e Use my FreeBSD address in MAINTAINER 2004-10-23 01:56:23 +00:00
Brian Feldman 52602010f0 The BSD patchset for the Sun JDK modeled its thread behavior mostly after
existing the Solaris base, and similarly to what happened with NSPR, made
a bad assumption on undefined behavior.  This broke locking in various
places in Java, for example, causing the the debugging support to be
totally broken.  It is worth someone who knows the Java codebase taking
a look to see what other things could have been broken by this on
FreeBSD 5.x+.

The assumption is that pthread_mutex_trylock(3) on a default-type
mutex will fail with EBUSY.  This assumption is wrong for our
libpthread, which returns EDEADLK if the owner thread is trying to
acquire the mutex again with trylock.  The behavior of performing a
locking operation on a self-locked default-type mutex is explicitly
undefined for pthread_mutex_lock(3).

The POSIX specification is still not very clear.  It defines
pthread_mutex_trylock(3) in terms of pthread_mutex_lock(3) yet
does not say what the defined behavior should be for a self-locked
pthread_mutex_trylock(3) for any of the various mutex types, so it is
ambiguous whether the result is clearly undefined or clearly to return
EBUSY.

It is a one line change whether or not to make libpthread return
EDEADLK in this case, where it seems that most implementations do not.

Reference:	http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_lock.html
2004-10-20 23:22:56 +00:00
Herve Quiroz 9c152ae646 - Upgrade to 1.0.10
- bsd.java.mk 2.0 compliant
- added 'devel' category
- Build from source
- Install documentation

Approved by:	glewis (mentor)
2004-10-20 12:03:41 +00:00
Herve Quiroz 1701946e54 - Update to 1.0 Final (bumped PORTEPOCH in this extend)
- re-enable jikes support
- Dynamic pkg-plist
- Use JAVALIBDIR

Approved by:	glewis (mentor)
2004-10-20 11:56:32 +00:00
Thierry Thomas 12adf818e2 Upgrade to 1.2.4.
PR:		ports/71728
Submitted by:	maintainer.
2004-10-19 22:26:07 +00:00
Alex Dupre 7952dcb847 Add langspec 2.0, the Java Language Specification. 2004-10-18 21:57:27 +00:00
Alex Dupre 95a6bb8fb7 Add jakarta-commons-httpclient 2.0.2, a package implementing the client
side of the HTTP standard.
2004-10-17 13:32:16 +00:00
Greg Lewis c8e6445d77 . Bump PORTREVISION for the recent fixes. 2004-10-16 17:17:09 +00:00
Greg Lewis 7298661664 . Fix the Server VM for gcc 3.4 part 2/2.
The HotSpot code (ab)uses named enums as ints in a number of places.
  The problem with this is that according the the C++ spec, the compiler
  (essentially) only needs to use an integral type wide enough to hold
  the values defined in the enum.  Earlier versions of gcc appear to have
  just used an int whether they could have got away with a narrower type
  or not, hence the code worked as expected.  gcc 3.4 now appears to
  implement this part of the spec, so using an enum blindly as an int
  causes various problems due to overflow.

  In this case the enum, Bytecodes::Code, appears to be a genuine enum,
  its just assumed to be wide enough to hold an arbitrary int in various
  places in the code.  The correct fix would be to track down all those
  places in the code and fix them.  Since there are quite a lot of these
  places and 5.3 is close to release for now we just add a value to the
  enum set to INT_MAX, forcing the compiler to use at least an int for the
  type.

Sleuth work, discussion and code suggestions:	peadar
2004-10-16 17:16:40 +00:00
Greg Lewis 67fad41225 . Fix the Server VM for gcc 3.4 part 1/2.
The HotSpot code (ab)uses named enums as ints in a number of places.
  The problem with this is that according the the C++ spec, the compiler
  (essentially) only needs to use an integral type wide enough to hold
  the values defined in the enum.  Earlier versions of gcc appear to have
  just used an int whether they could have got away with a narrower type
  or not, hence the code worked as expected.  gcc 3.4 now appears to
  implement this part of the spec, so using an enum blindly as an int
  causes various problems due to overflow.

  This case is particularly bogus since the enums are merely to define
  a named integral type within a class (VMReg::Name doesn't even have
  any values enumerated in the declaration).  So, convert these two
  enums to simply be typedef'ed ints.

Sleuth work, discussion and code suggestions:	peadar
2004-10-16 17:12:22 +00:00
Greg Lewis e3262fa4db . In the ReadChunk() function, change an assert() to be a "test for a
condition and return NULL".  Take account of the NULL in the
  appropriate place (which is somewhat worrisome in itself since
  ReadChunk() has always had the possibility of returning NULL).
  This makes loading a font file a little more resilient to specially
  crafted font data which can be used, for example, by an applet to
  crash the browser plugin by triggering the assert().  Such an applet
  was mentioned on Bugtraq:

  http://www.securityfocus.com/archive/1/367331/2004-06-26/2004-07-02/0

  and can be found at

  http://www.illegalaccess.org/cms/?q=node/view/9

  This change stops the browser plugin from crashing.
. Fix some warnings regarding formats in debugging printf's.
2004-10-16 17:00:27 +00:00
Greg Lewis 4e95ec3207 . At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined
(for FreeBSD 4.x neither are defined and for FreeBSD 5.x
  O_DSYNC isn't defined).  This caused them to be defined to
  some bogus values.  In particular, O_SYNC would be defined
  as 0x800, which is O_EXCL (at least on FreeBSD 4.x).  The
  result being that the RandomAccessFile class would fail to
  open an existing file if you specified "s" as part of the mode.
  Fix this by defining O_SYNC and O_DSYNC to O_FSYNC if they
  aren't defined.
2004-10-16 16:58:12 +00:00
Dag-Erling Smørgrav e3d20871bf I haven't used this in ages, and have no interest in maintaining it any
more.  Assign to java@FreeBSD.org.
2004-10-15 18:20:43 +00:00
Greg Lewis 0dd7a4ebd4 . Update to 1.5.0 release. 2004-10-14 22:24:49 +00:00
Jimmy Olgeni cc8bb79250 Remove extra file from pkg-plist. 2004-10-12 08:58:15 +00:00
Kris Kennaway 0dfdc0a8ba Change BROKEN to IGNORE since the package builds but does not run
Approved by:	portmgr (self)
2004-09-29 04:37:50 +00:00
Herve Quiroz ff987ccdc8 - Unbreak port (fixed distfile URL)
Reported by:	pointyhat
Approved by:	portmgr (marcus), glewis (mentor)
2004-09-20 17:47:06 +00:00
Kris Kennaway 7a6f05bb7a BROKEN on 5.x: Does not compile
Approved by:    portmgr (self)
2004-09-18 18:47:46 +00:00
Kris Kennaway 7583312a85 BROKEN: Unfetchable
Approved by:	portmgr (self)
2004-09-18 18:14:38 +00:00
Kris Kennaway e94164afd4 BROKEN: Size mismatch
Approved by:	portmgr (self)
2004-09-18 18:13:49 +00:00
Kris Kennaway c247e4be09 BROKEN on 5.x: Configure fails
Approved by:	portmgr (self)
2004-09-18 07:52:32 +00:00
Mark Linimon 3b6e943450 Clarify the legal status of java/eclipse-clay-core: you must read and
agree to the company's license requirement before downloading (although
the agreement mostly pertains to their software available for purchase).

PR:		ports/71510
Submitted by:	mitsuru at riken dot jp (maintainer)
Approved by:	portmgr (implicit)
2004-09-10 02:25:07 +00:00
Herve Quiroz 527ec1c785 Fix DOWNLOAD_URL.
Reported by:	Ronald Klop <ronald-freebsd8@klop.yi.org>
Approved by:	portmgr, glewis (mentor)
2004-09-09 18:38:25 +00:00
Norikatsu Shigemura 1961e8f62a Add eclipse-clay-core 1.0.5, a database design tool
for the Eclipse development environment.

PR:		ports-jp/14991
Submitted by:	Mitsuru Yoshida <mitsuru@riken.jp>
2004-09-03 21:12:04 +00:00
Norikatsu Shigemura c44aa1025f Add eclipse-log4e 0.7.6, eclipse plugin to use logger easily
in Java projects.

PR:		java/71148
Submitted by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2004-09-03 21:06:27 +00:00
Norikatsu Shigemura ca0b6f741c Add eclipse-sqlexplorer 2.2.2, a visual database query
tool for Eclipse.

PR:		ports/70441
Submitted by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2004-09-03 21:01:46 +00:00
Norikatsu Shigemura 21661e9634 Add eclipse-checkstyle 3.4.1.0, integrates the Checkstyle Java
code auditor into Eclipse.

PR:		ports/70146
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-09-03 20:54:27 +00:00
Norikatsu Shigemura 587a6943ba Add eclipse-quantum 2.4.1, database access and SQL editor
for the Eclipse IDE.

PR:		ports/70145
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-09-03 20:49:39 +00:00
Norikatsu Shigemura 67b40246dd Upgrade eclipse pmd plugin to support eclipse3.
PR:		java/71078
Submitted by:	Bruno Van Den Bossche <brvdboss@spymac.com>
2004-09-03 20:29:33 +00:00
Greg Lewis 6a5d768670 . JAVALIBDIR is more appropriate than JAVAJARDIR now we have it. 2004-09-03 16:23:01 +00:00
Herve Quiroz d8c41246f7 - Fixed DISTNAME [1]
- Use LOCALBASE rather than PREFIX in RUN_DEPENDS
- Now bsd.java.mk 2.0 compliant
- Use CPIO rather than CP
- Use JAVAJARDIR and JAVASHAREDIR
- Removed pkg-plist (use dynamic plist and PORTDOCS)
- Honor NOPORTDOCS
- Honor hier(7): documentation in DOCSDIR and examples in EXAMPLESDIR [2]
- Honor "best practices for a Java library" from Porter's handbook, Java
  section: JARs in JAVAJARDIR. [2]
- SIZEify
- Added 'mail' category

PR:		71235 [1]
Submitted by:	Rainer Duffner <rainer@ultra-secure.de> [1]
Reviewed by:	glewis [2]
Approved by:	glewis (mentor)
2004-09-03 03:34:29 +00:00
Herve Quiroz 980a124186 - Fixed DISTNAME [1]
- Now bsd.java.mk 2.0 compliant
- Use CPIO rather than CP
- Use JAVAJARDIR and JAVASHAREDIR
- Removed pkg-plist (use dynamic plist and PORTDOCS)
- Honor NOPORTDOCS
- Honor hier(7): documentation in DOCSDIR and examples in EXAMPLESDIR
- Honor "best practices for a Java library" from Porter's handbook, Java
  section: JARs in JAVAJARDIR.
- Added 'devel' category
- SIZEify

Pointed out by:	Rainer Duffner <rainer@ultra-secure.de> [1]
Approved by:	glewis (mentor)
2004-09-03 03:29:23 +00:00
Greg Lewis 0d00dd7aa0 . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with it (as comments should be optional).
2004-09-02 02:58:38 +00:00
Greg Lewis df960250af . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 21:53:56 +00:00
Greg Lewis 439bd1fde1 . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 21:43:57 +00:00
Greg Lewis 57b1fa568c . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 21:12:40 +00:00
Greg Lewis cc59f5091e . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 20:54:42 +00:00
Greg Lewis 3586286fad . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Make the comment for the registervm call consistent with the conventional
  naming scheme and the one in Makefile.
. Add missing creation and deletion of %%PREFIX%%/share/doc/java for
  consistency with other JDK pkg-plists.
2004-09-01 19:55:48 +00:00
Greg Lewis 71a7d9476c . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Make the comment for the registervm call consistent with the conventional
  naming scheme and the one in Makefile.
. Add missing creation and deletion of %%PREFIX%%/share/doc/java for
  consistency with other JDK pkg-plists.
2004-09-01 19:36:11 +00:00
Greg Lewis f276d55875 . Update to 1.4.2 GA.
. Make DISTNAME and COMMENT version change resistant.
. Prefix the comment passed to registervm with "Linux-" for consistency.
2004-09-01 19:13:43 +00:00
Greg Lewis a6bed5ffd4 . Consistently prefix the comment in the call to registervm with "Linux-"
for Linux JDKs.
2004-09-01 18:06:07 +00:00
Greg Lewis 88c6789dea . Add missing creation and deletion of %%PREFIX%%/share/doc/java for
consistency with other JDK pkg-plists.
. Add a comment to the registervm call (also for consistency)
2004-09-01 18:01:42 +00:00
Greg Lewis e3a7fa19f0 . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 16:43:48 +00:00