Commit graph

144 commits

Author SHA1 Message Date
Greg Lewis
3a144c14ed . Update to 1.5.0_14 and patchset 8.
. Allow bootstrapping with jdk 1.6.
2008-02-14 16:30:24 +00:00
Greg Lewis
920e8b7f80 . Install the PKCS#11 JAR and build and install the PKCS#11 native library.
Prompted by:	ale, Havard Eidnes <he@uninett.no>
2008-01-14 06:08:08 +00:00
Greg Lewis
8e526cc01f . Update to tzupdater 1.3.3. 2008-01-12 23:25:35 +00:00
Greg Lewis
898de35926 . Implement or fix more of the OS specific statistics gathering functions.
This allows jconsole to show valid statistics for the following
  OperatingSystem MBean statistics (some of these statistics are also shown
  in the Summary and VM tab of jconsole):

  TotalSwapSpaceSize, FreeSwapSpaceSize, FreePhysicalMemorySize and
  TotalPhysicalMemorySize.

  Note that MaxFileDescriptorCount has always been correct as far as I
  can tell.
. Also, implement the function for ProcessCpuTime using a non-deprecated
  function (getrusage(2) rather than times(3)).

  These changes are restricted to 6.x and higher and have only been tested
  on 6.x (where they appear to work correctly).  The changes are not valid
  for 4.x.  Their validity on 5.x and 7.x is unknown (testing welcome).

  The PR is not fully addressed by these changes since
  CommittedVirtualMemorySize and OpenFileDescriptorCount remain bogus.
  Suggestions on how to get these without using kvm(3) would be appreciated.

PR:		118735
2008-01-01 16:49:11 +00:00
Greg Lewis
cd96d8f0fb . Update to tzupdater 1.3.0 to fix the default build (the previous version
of tzupdater is no longer available).

Approved by:	portmgr (linimon)
2007-11-15 17:45:00 +00:00
Greg Lewis
911a2d991e . Update to patchset 7, based on 1.5.0 Update 13. 2007-10-23 19:56:23 +00:00
Greg Lewis
0ccbbfa705 . Explicitly pull in X dependencies instead of depending on the open-motif
dependency to implicitly pull in the X libraries we need.
2007-10-21 14:57:14 +00:00
Greg Lewis
221cb1efb2 . Temporarily alter the download location until the patchset for u13
is released.
2007-10-18 15:55:03 +00:00
Greg Lewis
260ffa12c0 . Default UseThreadPriorities to false on BSD. This can be toggled by
passing -XX:+UseThreadPriorities.
. Remove the os_sleep hack which was used on FreeBSD to make sure lower
  priority threads got time slices.  Instead, just call pthread_yield().
  On FreeBSD 7.x with libthr, this will still give lower priority threads
  some time (with the above flag turned on), although such behaviour is
  not guaranteed by POSIX.  This boosts FreeBSD performance by 7-fold on
  an 8 core system, putting it on a par with Solaris (benchmarks by kris@).

  The Java standard and the JCK tests are somewhat contradictory on thread
  priority being guaranteed to work, and in this case the performance
  benefits appear to outweigh any possible side effects.
. Pick up DEFAULT_LD_LIBRARY_PATH from the build environment rather than
  patching it into a file at build time.  This simplifies the Makefile.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2007-09-20 03:35:30 +00:00
Greg Lewis
d6b547767b . Update to tzupdater 1.2.2. 2007-09-07 20:41:52 +00:00
Greg Lewis
8d991a0856 . Split the JRL agreement out into a separate script that is only run
during the port build and not during the package install.

Requested by:	kris
2007-08-13 04:57:47 +00:00
Greg Lewis
ae88842a8c . Default bootstrapping to Diablo JDK. It runs at least as well as the
Linux JDK on all supported FreeBSD versions and doesn't require Linux
  emulation to be installed.

Inspired by:	scf
2007-08-07 15:17:16 +00:00
Jung-uk Kim
aef79f3a9b Add browser plugin support for amd64. It is turned off by default as it is
still experimental.

Approved by:	glewis (maintainer)
2007-07-30 15:30:36 +00:00
Greg Lewis
18107c8853 . Fix the description of the link for the policy files.
PR:		114958
Submitted by:	Olivier Smedts <olivier@gid0.org>
2007-07-27 15:07:41 +00:00
Greg Lewis
5afca6d0e7 . Update 12 is current, so the download isn't in the archive section yet
(oops).  Also, its index page appears broken, so just show the main
  download page for now.

PR:		114958 (kinda)
2007-07-27 14:44:02 +00:00
Greg Lewis
a4adb6665f . Update to patchset 6, based on 1.5.0 Update 12.
. Use the -bc (backwards compatible) flag when doing time zone updates.
2007-07-27 03:48:46 +00:00
Greg Lewis
fb8bbd5974 . Update the download location for the unlimited strength policy files.
Submitted by:	Olivier SMEDTS <olivier@gid0.org>
PR:		114592
2007-07-22 06:23:23 +00:00
Greg Lewis
01790521d1 . Update to patchset 5, based on the 1.5.0_11 JRL source code. 2007-06-09 05:14:56 +00:00
Greg Lewis
b700222ac1 . Update to tzupdater 1.2.1.
PR:	113248
2007-06-03 00:42:33 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Greg Lewis
eb2c74404e . Fix the sense of a WITH_JAIL check to match that in the jdk14 port -
we _don't_ want to check for linprocfs in a jail.

PR:		110019
2007-03-07 18:34:00 +00:00
Greg Lewis
3ec4b06827 . Update to tzupdater 1.1.0-2007c. 2007-03-07 16:13:32 +00:00
Greg Lewis
cf9cd6b666 . When we update the time zone data, delete the temporary copy of the old
data created by the update tool.
2007-03-06 04:33:14 +00:00
Greg Lewis
f6636087f5 . Whitespace nit. 2007-02-26 00:22:20 +00:00
Greg Lewis
2379a2fa51 . Add a TZUPDATE option, defaulting to on, which will update the time zone
data for the JDK using Sun's tzupdater. [1]
. Some simplification of the convoluted logic around telling the user
  which files to download.  In particular, don't care if we've already
  told them to download a file.
. Bump PORTREVISION since many North American users will need to pick up
  the time zone changes.

Collaboration with:	Tim Zingelman <zingelman@fnal.gov> [1]
2007-02-24 15:38:12 +00:00
Greg Lewis
2234164093 . Update to patchset 4. 2007-01-22 16:50:22 +00:00
Greg Lewis
1bb6af069e . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace some hardwired /usr/local instances with LOCALBASE.
. Small Makefile restructure to keep related variables in one place.
. Add ipv6 to CATEGORIES if its enabled. [2]

PR:             106130 [2]
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> [2]
Pointed out by: pointyhat (via kris) [1]
2006-12-11 17:10:52 +00:00
Greg Lewis
47f62ec7e7 . Fix a problem with os_sleep returning early without raising an exception
when its called with interruptible set to false.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-11-06 19:54:00 +00:00
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Greg Lewis
92035cfdf1 . Diablo is no longer restricted to i386, so allow it to be a possible
native bootstrap JDK on all (supported) architectures.

  This is a slightly different change than the submitters.

PR:		103227
Submitted by:	Pat Lashley <patl+freebsd@volant.org>
2006-09-13 16:44:38 +00:00
Greg Lewis
6a41bf13e8 . Prevent problems opening RandomAccessFile with "rws" as the mode by
defining O_SYNC and O_DSYNC if they aren't defined.  In particular we
  were previously defining O_SYNC bogusly to the same value as O_EXCL.

  PR not closed as this fixes jdk15, not diablo-jdk15.

PR:		102888
2006-09-09 02:10:02 +00:00
Greg Lewis
44bf342005 . Fix a segfault caused by fonts with illegal glyph names or glyph names
which begin with an underscore (although the patch doesn't handle these).
. Bump PORTREVISION.

Submitted by:	 Kurt Miller <kurt@intricatesoftware.com>
2006-08-01 18:38:25 +00:00
Greg Lewis
2f9818eb94 . Space out the arguments to OPTIONS with tabs rather than spaces.
. Add a JAIL which allows the port to be built in a jail. [1]

Submitted by:	anders@ [1]
2006-08-01 18:30:37 +00:00
Greg Lewis
ae02b0e8be . Bump PORTREVISION. 2006-07-18 23:27:22 +00:00
Greg Lewis
7c58e0c63e . Convert to using OPTIONS.
. Add support for unrestricted policy files.
. Use bsd.gecko.mk for plugin support and limit it to Mozilla.
. Make portlint happier.

Submitted by:	ale@ (with some minor tweaks by me)
2006-07-18 22:50:37 +00:00
Greg Lewis
6eff26b8a9 . Bump PORTREVISION for the last three changes. 2006-06-16 21:31:02 +00:00
Edwin Groothuis
8f4ccb0a04 Remove USE_REINPLACE from categories starting with a J 2006-05-09 00:18:07 +00:00
Greg Lewis
5d84a580d8 . Make diablo-jdk15 the default bootstrap JDK for i386.
Suggested by:	"Nikolas Britton" <nikolas.britton@gmail.com>
2006-04-25 20:44:28 +00:00
Greg Lewis
e81e856fc6 . Update to 1.5.0 patchset 3. 2006-04-07 03:27:34 +00:00
Mark Linimon
cdda1e9d10 Reassign these ports from inactive maintainer to glewis, who has been doing
most of the work over the past year.

Hat:	portmgr
2006-03-31 08:47:17 +00:00
Greg Lewis
bc1fa829db . Set the REX bits correctly on amd64. Fixes possible segfaults with
Eclipse on that platform.

  See https://bugs.eclipse.org/bugs/show_bug.cgi?id=71987

. Bump PORTREVISION.

Submitted by:	Sean McNeil <sean@mcneil.com>
2006-02-12 20:47:21 +00:00
Greg Lewis
1fd0bf2541 . Tweak the fix for linking with the system's version of zlib to just
ignore the internal zlib source files rather than having to rm them.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-02-12 20:45:18 +00:00
Greg Lewis
25e9cfb388 . Enable parallel compilation during the build of HotSpot. Note that we
can't use -j in general since the build of the other bits is almost
  certainly not -j safe.  If set, this will speed up the build for those
  with an SMP box. [1]
. Install the cacerts file from Sun's JDK 1.5.0_06 release rather than
  using the almost empty one that comes with the SCSL source. [2]
. Bump PORTREVISION for the second change.

PR:		87552 [1]
Submitted by:	leafy <leafy@leafy.idv.tw> [1]
Prompted by:	Panagiotis Astithas <past@ebs.gr> [2]
2006-02-02 16:27:44 +00:00
Greg Lewis
b80b742e3f . Install a desktop icon for the java/jdk15 Control Panel. [1]
. Bump PORTREVISION for this and (mostly) the previous change.

PR:		86804
Submitted by:	Panagiotis Astithas <past@ebs.gr>
2006-01-29 21:24:59 +00:00
Greg Lewis
5817b9bf96 . Link with the system libz instead of building the our own internal
copy.  This should have the following effects:

  . Fix problems experienced by programmes that dynamically create their
    own copy of the JVM and are linked against the system's zlib (e.g.,
    eclipse).
  . Reduce the potential for zlib based security problems affecting the
    JDK.

Submitted by:	mi@
2006-01-28 23:41:24 +00:00
Greg Lewis
f14fd9fdfd . USE_ICONV is required whether we're building the web parts or not.
PR:		89512
Submitted by:	girgen
2005-12-17 16:14:48 +00:00
Greg Lewis
6f887ea63e . Tell the user all the files they will need up front, instead of telling
lies about what they have and prompting them one file at a time.  This
  is a slight rewording of the submitted patch.

PR:		84644
Submitted by:	fenner
2005-12-14 16:52:32 +00:00
Greg Lewis
6f57346425 . "Privatise" the symbols in libzip.so to avoid conflicting with those
in the systems libz.so.  This conflict broke applications such as
  Eclipse which is linked with libz.so (via gtk+ I believe).

  This is a slightly modified version of the submitter's patch.

  A better solution may be to link with the system's libz.so and remove
  the JDK's internal zlib code altogether, but I'd like to test that a
  little more first.  Until then this solves the problem.
. Bump PORTREVISION since Eclipse seems to be quite widely used.

Submitted by:	"Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
2005-12-02 22:24:01 +00:00
Greg Lewis
e141d58fe8 . Make pkg-install install a symbolic link for the browser plugin if a
valid one doesn't currently exist.
. Add a pkg-deinstall which removes the symbolic link if this port owns it.
. Produce pkg-install and pkg-deinstall with SUB_FILES and SUB_LIST rather
  than manually using ${SED} ourselves.

Approved by:	maintainer timeout
2005-11-23 10:12:33 +00:00
Joe Marcus Clarke
235c907ae5 Bump PORTREVISION to chase the glib20 shared library update. 2005-11-05 05:22:06 +00:00