Commit graph

1721 commits

Author SHA1 Message Date
Greg Lewis
83be817c30 . Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
Also, respect the setting of CXX and CXXFLAGS.
2004-11-27 05:48:46 +00:00
Greg Lewis
3883849c28 . Fix the build with gcc 3.4 part 2/2. Don't use the flag
-fmemoize-lookups as gcc 3.4 doesn't understand it. [1]
. Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
  Also, respect the setting of CXX and CXXFLAGS.

PR:		71516 [1]
Submitted by:	Damir Kiramov <damirycha@damirycha.net.ru> [1]
2004-11-27 05:48:23 +00:00
Greg Lewis
0614155d8e . Fix the HotSpot build for gcc 3.4 part 1/2. Make some methods public
where previously they defaulted to protected.  gcc 3.4 seems to pick
  this up where earlier versions didn't.

PR:		71516
Submitted by:	Damir Kiramov <damirycha@damirycha.net.ru>
2004-11-27 05:44:12 +00:00
OKAZAKI Tetsurou
97ef2ff1dc Apparently the host for the eclipse UML2 packages changed.
Reported by: pointyhat via Kris

PR:		ports/74393
Submitted by:	maintainer
2004-11-26 23:47:20 +00:00
Greg Lewis
bf19526506 . Mark FORBIDDEN due to the browser plugin vulnerability. If IBM
don't release an update this could be addressed by not installing the
  plugin.
2004-11-25 19:28:43 +00:00
Greg Lewis
959f362515 . Mark FORBIDDEN due to the browser plugin vulnerability. If Blackdown
don't release an update this could be addressed by not installing the
  plugin.
2004-11-25 18:34:12 +00:00
Greg Lewis
6adedbc052 . Update to 1.3.1.13. This contains the fix for the plugin vulnerability. 2004-11-25 18:31:58 +00:00
Greg Lewis
fe9948f039 . Fix SIZE. 2004-11-25 18:16:23 +00:00
Herve Quiroz
919b68563f - Removed pkg-plist by building a dynamic one for APP_HOME installed files and
PLIST_FILES for scripts [1]
- Use FIND | INSTALL_DATA to install documentation rather than CP -r
- Added a missing SETENV macro in pre-install target
- Put JAVA_HOME/bin in front of PATH as the new javavmwrapper version would
  otherwise cause trouble (see UPDATING for further information)
- ECHO_CMD -> ECHO_MSG
- Tweaked the comment: the name of the port is redundant here

PR:		72900
Requested by:	linimon [1]
2004-11-25 03:48:53 +00:00
Herve Quiroz
aa70f494e3 - Install 'checkstyle' launcher shell script [1]
- Update to bsd.java.mk 2.0
- Use USE_ANT
- Cleanup unused variables
- Do not try to remove JAVAJARDIR
- Remove some sed magic in dynamic plist process (make will perform most of
  these substitutions)
- Use PLIST_FILES and %%JAVAJARDIR%% to reduce plist build process
- Bumped PORTREVISION as a new file is installed

PR:		ports/73284, java/43947 [1]
Suggested by:	znerd [1]
Submitted by:	me
Approved by:	maintainer
2004-11-25 03:28:11 +00:00
Herve Quiroz
2cd9652a15 - Fixed download location [1]
- Update to bsd.java.mk 2.0
- Use JAVAJARDIR
- Removed patch, added a launcher script file
- Use javavmwrapper to run Java in the launcher script
- Honor hier(7): docs in DOCSDIR and samples in EXAMPLESDIR
- Honor NOPORTDOCS
- Dynamic plist
- do-build -> do-configure (and NO_BUILD=yes)
- ECHO -> ECHO_MSG
- Bumped PORTREVISION as many file locations has changed and the use of
  javavmwrapper will allow user to use different JVMs

PR:		72883 [1]
Submitted by:	Aaron Dalton <aaron@daltons.ca> [1]
Approved by:	maintainer timeout
2004-11-25 03:07:24 +00:00
Greg Lewis
47a98f79e6 . Update to 1.4.2-01. This addresses
http://www.blackdown.org/java-linux/java2-status/security/Blackdown-SA-2004-01.txt

  Unfortunately this version seems to have problems on 4.x.
2004-11-25 00:13:38 +00:00
Greg Lewis
9b1f3ccd02 . Mark FORBIDDEN when building with the browser plugin due to the
vulnerabilities discussed in:

  http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1029
2004-11-24 15:16:38 +00:00
Greg Lewis
472f4a4216 . Update to 1.4.2_06. 2004-11-24 08:21:40 +00:00
Herve Quiroz
ee80063991 - Update to bsd.java.mk 2.0
- Use USE_ANT (and set USE_JIKES=no)
- Use JAVAJARDIR
- Dynamic plist
- Various minor improvements
2004-11-23 11:13:16 +00:00
Norikatsu Shigemura
705b179af6 Use exec.
Submitted by:	bland
2004-11-22 16:17:22 +00:00
Herve Quiroz
e31627b68b - Update to 2.6.0 [1]
- Honor hier(7): install docs in DOCSDIR and examples in EXAMPLESDIR [1]
- Use FIND | INSTALL_DATA to install docs, samples and data files
- Fix distfile location for "Community Edition" and add some more
  MASTER_SITES [1]
- Dynamic plist
- Minimal required JDK version is now 1.3 [1]
- Merge patches

PR:		74119 [1]
Submitted by:	maintainer [1]
2004-11-22 02:19:50 +00:00
Anders Nordby
ccc1551c00 Add Westhawk SNMP, a lightweight SNMP stack for the Java development
environment.

Sponsored by:	University of Tromsø
2004-11-20 17:02:41 +00:00
Mark Linimon
6f239f01a7 Update after repocopy. Note that the port is not yet hooked up to the
build -- the pkg-plist has not yet caught up.

PR:		ports/72900
Submitted by:	Nick Sayer <nsayer at kfu dot com>
Reviewed by:	Jonathan Chen <jonc at chen dot org dot nz>, Herve Quiroz <herve dot quiroz at esil dot univ-mrs dot fr>
2004-11-17 06:10:20 +00:00
Mark Linimon
9e7bf03be4 Update to 4.0.0 after repocopy.
PR:		ports/72900
Submitted by:	Nick Sayer <nsayer at kfu dot com>
Reviewed by:	Jonathan Chen <jonc at chen dot org dot nz>, Herve Quiroz <herve dot quiroz at esil dot univ-mrs dot fr>
2004-11-17 05:21:13 +00:00
Norikatsu Shigemura
7157967e3c Remove an unnecessary 'if' statement.
PR:		ports/73994
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca>
2004-11-16 17:06:17 +00:00
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