Commit Graph

1350 Commits

Author SHA1 Message Date
Alex Dupre
4667b2bc85 Fix compilation using Firefox (adjust headers/libraries locations).
Approved by:	nork
2004-11-14 09:17:14 +00:00
Greg Lewis
59fc5151e6 . javavmwrapper uses PATH to make sure it gets the system version of
utilities.  Unfortunately this overrides any PATH that may have been
  set by the user and hence affects the ability of java to execute
  external programmes.  So, save the PATH before setting it and then
  restore it immediately before executing java.
. Bump PORTREVISION for this fix.

Reported by:	Christian Laursen <xi@borderworlds.dk>
2004-11-12 16:12:48 +00:00
Norikatsu Shigemura
972424ab32 Update to 1.0.1.1.
Pointed out by:	pointyhat via kris
Submitted by:	Jeremy Faulkner	<gldisater@gldis.ca>
2004-11-12 15:47:44 +00:00
Greg Lewis
280df4e4ce . Usher in javavmwrapper 2.0, a rewrite of the wrapper scripts designed to
allow the simple use of multiple VMs.  Brief detail of the main changes:
  . When a VM is registered, symbolic links for its executables are
    created in ${LOCALBASE}/bin.  This allows people to just type
    'java', 'javac', etc. without having to add the VM installation
    directory to their PATH.
  . The actual 'java' that is executed via one of these symlinks is
    determined by the order of the (sorted) configuration file
    ${LOCALBASE}/etc/javavms and by the environment variables
    JAVA_VERSION, JAVA_OS and JAVA_VENDOR which function to select
    a VM as they do in the ports framework.
. There is a new command, checkvms, to sanity check the configuration
  and symlinks.
. The "javavm" executable is currently retained in its original capacity
  as a synonym for Java for backward compatibility.  However, its use
  is deprecated.
. Temporarily set MAINTAINER to myself to make monitoring any initial
  bug reports easier.  The intent is to convert it to java@ at a later
  date.

This is built on the ideas of znerd, hq and Shelton C. Johnson Jr., with
hq and Shelton contributing code and reviews.

PR:		27079, 39080
Reviewed by:	hq, Shelton C. Johnson Jr. <shelton_c_j@yahoo.com>
2004-11-11 19:17:37 +00:00
Norikatsu Shigemura
46b1396666 Fix install error on pointyhat.
This was found implicitly dependency on unzip by
	pointyhat.  In almost environment, this is not a
	problem and isn't regist installed package
	database.  So I don't bump PORTREVISION.

Pointed out by:	pointyhat via kris
2004-11-08 16:55:45 +00:00
Joe Marcus Clarke
46a4d69571 Bump PORTREVISIONS for all ports that depend on atk or pango to ease in the
big upgrade.
2004-11-07 22:37:47 +00:00
Volker Stolz
0656250a3a Unbreak: Update to 1.01 2004-11-05 15:44:22 +00:00
Herve Quiroz
6a0b0e2f0a - Update to 3.0 [1]
- Unbreak on 5.x [1]
- Use PORTDOCS
- Some minor cosmetic improvements

Submitted by:	Roman Kennke <roman@ontographics.com> [1]
2004-11-03 12:39:23 +00:00
Herve Quiroz
c63b5ec7fa - Update to bsd.java.mk 2.0
- Use USE_ANT
- Variable cleanup
- "CP -r" -> "FIND | CPIO"
- Dynamic plist

Reviewed by:	glewis
2004-11-03 03:13:28 +00:00
Herve Quiroz
b4150e64e3 - Remove unneeded JAVA_RUN statement
- Remove redundant port name in COMMENT
- Use CPIO to make docs install stage more simple
- Use %%JAVAJARDIR%%
- Use INSTALL_DATA for JAR file
2004-11-03 01:29:32 +00:00
Greg Lewis
1816314216 . Take into account that pthread_mutex_trylock() can return EDEADLK as
well as EBUSY with libkse on FreeBSD 5.x.

Inspired by:	green
2004-11-02 05:24:05 +00:00
Archie Cobbs
ccdd4e45cd Update to version 1.22. 2004-11-02 01:12:38 +00:00
Herve Quiroz
ea9b4cd0c6 - Update to version 2.5.1 [1]
- Update to bsd.java.mk 2.0

PR:		72794 [1]
Submitted by:	maintainer [1]
2004-11-02 01:04:56 +00:00
Herve Quiroz
17f4a27d8e Fix file name for size in distinfo
PR:		72454
Submitted by:	Linh Pham <question+freebsdpr@closedsrc.org>
2004-10-29 00:43:00 +00:00
Norikatsu Shigemura
c7d81b3b6e Add eclipse-uml 1.0.1, a framework creating UML
diagrams in Eclipse.

PR:		ports/73227
Submitted by:	gldisater@gldis.ca
2004-10-28 15:21:04 +00:00
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